#arpnetworks 2009-11-10,Tue

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
***visinin has quit IRC ("sleep") [00:38]
....................... (idle for 1h53mn)
heavysixer has joined #arpnetworks
ChanServ sets mode: +o heavysixer
[02:31]
....................... (idle for 1h53mn)
vxp has quit IRC ("<shani> brb my dad's eggs are ready") [04:24]
.......... (idle for 46mn)
vxp has joined #arpnetworks [05:10]
.......... (idle for 48mn)
vtoms has joined #arpnetworks [05:58]
......................... (idle for 2h2mn)
ElectricBill has joined #arpnetworks [08:00]
ElectricBillMy new VM is frozen solid. Must be too cold in the data center.
ElectricBill leaves office for appointment elsewhere
[08:04]
toddfemail support@ a rsa public key so you can control it yourself (aka reset/reboot/soft shutdown/etc) [08:14]
***vtoms has left [08:16]
......... (idle for 44mn)
ballen has joined #arpnetworks
ChanServ sets mode: +o ballen
[09:00]
................ (idle for 1h15mn)
vxp has quit IRC (Read error: 60 (Operation timed out)) [10:15]
.... (idle for 16mn)
ballen is now known as ballen|away [10:31]
...... (idle for 25mn)
ballen|away is now known as ballen [10:56]
ballen has quit IRC (Remote closed the connection) [11:02]
BillinMotion has joined #arpnetworks
ballen has joined #arpnetworks
ChanServ sets mode: +o ballen
ballen has quit IRC (Remote closed the connection)
[11:14]
vtoms has joined #arpnetworks [11:25]
.... (idle for 18mn)
up_the_ironsElectricBill: I emailed you the console server info last night, you should be able to hard shudown and then boot your VM [11:43]
Nat_UBirons: What's up...I never got the console stuff after sending my key [11:49]
up_the_ironsNat_UB: I sent it to ya
I can do so again...
[11:50]
Nat_UBDon't recall receiving...must be caught in SPAM filter or something [11:51]
......... (idle for 44mn)
jeevanyone got a moment to help with some php [12:35]
........ (idle for 35mn)
***BillinMotion has quit IRC ("Leaving") [13:10]
........ (idle for 39mn)
vtoms has left [13:49]
cableheadjeev: what's the trouble? [13:51]
up_the_ironsomg, cablehead is helping with PHP [13:51]
cableheadhaha
oh no, how bored am i!
[13:54]
up_the_ironsnot much work at slide? i'm gonna tell your boss ;)
cd $meeting
[13:54]
.... (idle for 17mn)
cableheadup_the_irons: haha [14:11]
....... (idle for 34mn)
jeevyou still there cablehead [14:45]
cableheadyeah [14:47]
jeevcool
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
[14:47]
cableheadwhat are you serving this behind, pretty sure sqlite should only be opened by a single process .. [14:50]
jeevyea, 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
[14:51]
cableheadjeev: does this help? http://www.php.net/manual/en/datetime.add.php
jeev: but i'm curious now .. what *are* you serving this behind? :)
[14:54]
jeevwhat do you mean serving it behind
heh
[14:55]
cableheade.g. apache etc [14:55]
jeevyea, apache [14:56]
cableheadjeev: using threaded workers? [14:56]
jeevheh i'm using default apache installation
i dont know what you mean by that
i like mpm and workers/ i dunno
[14:57]
cableheadjust wondering how you're getting concurrent access to sqlite [14:58]
jeevis this gonna be a problem ?
i never thought of that
[14:58]
cableheadshould be ok with mpm
just discouraged
http://www.sqlite.org/faq.html#q6
[15:00]
jeevthanks i'll look at that
but do you know what i should do about those two issues
[15:01]
cableheadjeev: 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
[15:02]
jeevtrying date sub
date_sub($date, new DateInterval("P5D"));
echo '<br />'.$date->format("d-m-Y").' : 5 Days';
right
oh i need ad
[15:03]
cableheadjeev: what's the issue with updating the lock variable? [15:03]
jeevlet 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
[15:04]
cableheadeeg [15:09]
ThorgrimrStill messing with that jeev? [15:09]
jeevyea just got back into it
lets do it!
[15:10]
Thorgrimrfun fun [15:10]
jeev;>
i'm almost done man
[15:11]
ThorgrimrCool [15:11]
jeevany suggestions [15:20]
.... (idle for 19mn)
:< [15:39]
.... (idle for 16mn)
up_the_ironscablehead: what do you think of "Go" ? [15:55]
cableheadup_the_irons: i'm pretty interested ..
up_the_irons: just messing with it now
[15:55]
jeevcablehead: how about $bd_fake1 = strtotime(date("mm-dd-yy", strtotime($bd_real)) . " +1 day"); [15:56]
cableheadup_the_irons: what do you think? [15:56]
up_the_ironscablehead: i haven't got passed reading the article [15:56]
cableheadjeev: does it work? [15:56]
up_the_ironscablehead: some of the stuff Pike puts out I can agree with, some is very arcane [15:56]
cableheadcablehead: oh yeah?
oops
up_the_irons: oh yeah?
[15:57]
up_the_ironscool
cablehead: ever tried Plan 9?
[15:57]
cableheadup_the_irons: i only know of it by reputation .. you've tried it? [15:57]
up_the_ironscablehead: or IO? [15:57]
cableheadi don't know IO [15:57]
up_the_ironscablehead: 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]
cableheaddamn, 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
[15:58]
jeevnope cablehead
blank
[15:59]
up_the_ironshaha, sounds like something he'd do [15:59]
cableheadjeev: 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
[15:59]
up_the_ironsinteresting [16:01]
jeevcablehead, ahhhh! what do i do [16:02]
cableheadjeev: really, date_add isn't working?
that's crazy
jeev: might be faster to re-implement in go
http://golang.org/pkg/time/
[16:04]
jeevare you serious hehe [16:06]
cableheadhaha [16:06]
jeevnot using date_add [16:06]
cableheadnah
that is painful though if the builtin date add isn't working
[16:06]
jeevah shit
$bd_fake1 = strtotime(date("mm/dd/yyyy", strtotime($bd_real)) . " +1 day");
it should be like that
[16:06]
...... (idle for 26mn)
***visinin has joined #arpnetworks [16:33]
.......... (idle for 46mn)
visinin has quit IRC ("word") [17:19]
................. (idle for 1h21mn)
jeevcableheaD, THERE?
woops
[18:40]
.......... (idle for 48mn)
***vxp has joined #arpnetworks [19:28]
heavysixer has quit IRC ()
ballen has joined #arpnetworks
ChanServ sets mode: +o ballen
[19:42]
ballenblah [19:46]
***vxp has quit IRC (Read error: 60 (Operation timed out)) [19:47]
jeevi got it [19:48]
***vxp has joined #arpnetworks [19:54]
ballengot wha [20:03]
toddfhis master faking birthday php sqlite fuzz to work [20:03]
ballenmmk [20:04]
toddf143619 < 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
[20:08]
........ (idle for 38mn)
ballenheh yea [20:48]
................... (idle for 1h32mn)
***ballen has quit IRC ()
ballen has joined #arpnetworks
ChanServ sets mode: +o ballen
[22:20]
ballentesting new os x irc clients
on to: http://limechat.net/mac/
Windows XP is so freakin lame
[22:22]
..... (idle for 22mn)
jeevxp rules
;D
[22:48]
...... (idle for 25mn)
***ElectricBill has quit IRC (lindbohm.freenode.net irc.freenode.net) [23:13]

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)