[00:38] *** visinin has quit IRC ("sleep") [02:31] *** heavysixer has joined #arpnetworks [02:31] *** ChanServ sets mode: +o heavysixer [04:24] *** vxp has quit IRC (" brb my dad's eggs are ready") [05:10] *** vxp has joined #arpnetworks [05:58] *** vtoms has joined #arpnetworks [08:00] *** ElectricBill has joined #arpnetworks [08:04] My new VM is frozen solid. Must be too cold in the data center. [08:07] * ElectricBill leaves office for appointment elsewhere [08:14] email support@ a rsa public key so you can control it yourself (aka reset/reboot/soft shutdown/etc) [08:16] *** vtoms has left [09:00] *** ballen has joined #arpnetworks [09:00] *** ChanServ sets mode: +o ballen [10:15] *** vxp has quit IRC (Read error: 60 (Operation timed out)) [10:31] *** ballen is now known as ballen|away [10:56] *** ballen|away is now known as ballen [11:02] *** ballen has quit IRC (Remote closed the connection) [11:14] *** BillinMotion has joined #arpnetworks [11:18] *** ballen has joined #arpnetworks [11:18] *** ChanServ sets mode: +o ballen [11:20] *** ballen has quit IRC (Remote closed the connection) [11:25] *** vtoms has joined #arpnetworks [11:43] ElectricBill: I emailed you the console server info last night, you should be able to hard shudown and then boot your VM [11:49] irons: What's up...I never got the console stuff after sending my key [11:50] Nat_UB: I sent it to ya [11:50] I can do so again... [11:51] Don't recall receiving...must be caught in SPAM filter or something [12:35] anyone got a moment to help with some php [13:10] *** BillinMotion has quit IRC ("Leaving") [13:49] *** vtoms has left [13:51] jeev: what's the trouble? [13:51] omg, cablehead is helping with PHP [13:54] haha [13:54] oh no, how bored am i! [13:54] not much work at slide? i'm gonna tell your boss ;) [13:54] cd $meeting [14:11] up_the_irons: haha [14:45] you still there cablehead [14:47] yeah [14:47] cool [14:47] so i have an sqlite database. site is decent [14:48] i need help with two things [14:48] a) i need it to take $bd_real, which is real date of birth.. and +3 +6 +9 days to it, wrapping on the correct days [14:48] b) i need it if the wrong birthday is selected twice, to update sql under locked.. to add 1 [14:48] to lock the user [14:50] what are you serving this behind, pretty sure sqlite should only be opened by a single process .. [14:51] yea, it's querying just fine [14:51] foreach($result as $row) { [14:51] $locked = $row[locked]; [14:51] ... [14:51] pretty ghetto [14:51] $bd_real = $row[dateofbirth]; //here goes the REAL birthday output [14:51] $bd_fake1 = "05/20/85"; [14:51] $bd_fake2 = "09/13/85"; [14:51] but i dont want to make it static fake birthdays [14:54] jeev: does this help? http://www.php.net/manual/en/datetime.add.php [14:55] jeev: but i'm curious now .. what *are* you serving this behind? :) [14:55] what do you mean serving it behind [14:55] heh [14:55] e.g. apache etc [14:56] yea, apache [14:56] jeev: using threaded workers? [14:57] heh i'm using default apache installation [14:57] i dont know what you mean by that [14:57] i like mpm and workers/ i dunno [14:58] just wondering how you're getting concurrent access to sqlite [14:58] is this gonna be a problem ? [14:58] i never thought of that [15:00] should be ok with mpm [15:01] just discouraged [15:01] http://www.sqlite.org/faq.html#q6 [15:01] thanks i'll look at that [15:02] but do you know what i should do about those two issues [15:02] jeev: ah, the dateadd function doesn't help? [15:02] i'm guessing it does wrapping [15:03] available in 5.3 onwards .. looks like you can use date modify before that [15:03] trying date sub [15:03] date_sub($date, new DateInterval("P5D")); [15:03] echo '
'.$date->format("d-m-Y").' : 5 Days'; [15:03] right [15:03] oh i need ad [15:03] jeev: what's the issue with updating the lock variable? [15:04] let me try the date thing first [15:04] i dunno how to get started for that [15:08] http://expressionengine.com/forums/viewthread/119962/ [15:08] lol [15:08] that doesn't even work [15:08] Today = 2009 11 10 [15:08] Today + 4 months = 2009 09 01 [15:09] eeg [15:09] Still messing with that jeev? [15:10] yea just got back into it [15:10] lets do it! [15:10] fun fun [15:11] ;> [15:11] i'm almost done man [15:11] Cool [15:20] any suggestions [15:39] :< [15:55] cablehead: what do you think of "Go" ? [15:55] up_the_irons: i'm pretty interested .. [15:55] up_the_irons: just messing with it now [15:56] cablehead: how about $bd_fake1 = strtotime(date("mm-dd-yy", strtotime($bd_real)) . " +1 day"); [15:56] up_the_irons: what do you think? [15:56] cablehead: i haven't got passed reading the article [15:56] jeev: does it work? [15:56] cablehead: some of the stuff Pike puts out I can agree with, some is very arcane [15:57] cablehead: oh yeah? [15:57] oops [15:57] up_the_irons: oh yeah? [15:57] cool [15:57] cablehead: ever tried Plan 9? [15:57] up_the_irons: i only know of it by reputation .. you've tried it? [15:57] cablehead: or IO? [15:57] i don't know IO [15:58] cablehead: no, but there was a dude at my last gig that tried to get IO running on Plan 9, or some weird ass shit like that; and he actually got Pike to accept a patch ;) [15:58] damn, the compiler for this thing is 6g on 686 platforms, 8g for 386 platforms, named after the plan 9 c compilers [15:58] and then the linker is 6l or 8l respectively [15:59] nope cablehead [15:59] blank [15:59] haha, sounds like something he'd do [15:59] jeev: haha, then that's no good :) [15:59] up_the_irons: hehe [16:00] there's a package for a working http server .. seeing if i can get that going [16:01] interesting [16:02] cablehead, ahhhh! what do i do [16:04] jeev: really, date_add isn't working? [16:04] that's crazy [16:05] jeev: might be faster to re-implement in go [16:05] http://golang.org/pkg/time/ [16:06] are you serious hehe [16:06] haha [16:06] not using date_add [16:06] nah [16:06] that is painful though if the builtin date add isn't working [16:06] ah shit [16:06] $bd_fake1 = strtotime(date("mm/dd/yyyy", strtotime($bd_real)) . " +1 day"); [16:07] it should be like that [16:33] *** visinin has joined #arpnetworks [17:19] *** visinin has quit IRC ("word") [18:40] cableheaD, THERE? [18:40] woops [19:28] *** vxp has joined #arpnetworks [19:42] *** heavysixer has quit IRC () [19:46] *** ballen has joined #arpnetworks [19:46] *** ChanServ sets mode: +o ballen [19:46] blah [19:47] *** vxp has quit IRC (Read error: 60 (Operation timed out)) [19:48] i got it [19:54] *** vxp has joined #arpnetworks [20:03] got wha [20:03] his master faking birthday php sqlite fuzz to work [20:04] mmk [20:08] 143619 < jeev> anyone got a moment to help with some php [20:08] 164844 < jeev> so i have an sqlite database. site is decent [20:09] 165218 < jeev> pretty ghetto [20:09] 165234 < jeev> but i dont want to make it static fake birthdays [20:09] 171046 < Thorgrimr> Still messing with that jeev? [20:09] 171159 < jeev> i'm almost done man [20:10] 175700 < jeev> cablehead: how about $bd_fake1 = strtotime(date("mm-dd-yy", strtotime($bd_real)) . " +1 day"); [20:10] 180733 < jeev> ah shit [20:10] 180751 < jeev> $bd_fake1 = strtotime(date("mm/dd/yyyy", strtotime($bd_real)) . " +1 day"); [20:10] 180755 < jeev> it should be like that [20:10] 214943 < jeev> i got it [20:10] some funny out of context exerps but you get the idea [20:48] heh yea [22:20] *** ballen has quit IRC () [22:21] *** ballen has joined #arpnetworks [22:21] *** ChanServ sets mode: +o ballen [22:22] testing new os x irc clients [22:22] on to: http://limechat.net/mac/ [22:26] Windows XP is so freakin lame [22:48] xp rules [22:48] ;D [23:13] *** ElectricBill has quit IRC (lindbohm.freenode.net irc.freenode.net)