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