| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8
Comments:
<0> it's from time of shipment <1> but it shipped today <0> you sure? <1> Items shipped on March 29, 2006: <0> then call and complain <1> eh, it's free.. i don't really care <1> as long as it's here by the 6th <2> They probably pad the estimate by a day, that way if it shows up on friday it looks like it's really early :) <1> heh <1> i'm not having good luck with 2-day deliveries <2> newegg kept me in the dark about my last order. <2> The sent me the tracking numbers for it the day after it was delivered <1> haha, that happens to me occasionally <1> i get the "Your order has shipped" after i get it <1> then again, for some places, it's like same-day delivery if their warehoused in jersey <1> they're
<2> I got the whole "it's been shipped" stuff on time. just no tracking numbers <1> i dunno how on earth people support java <1> it's so damned huge <3> someone wriet me afunction to check (-|+)?([0-9]+|[0-9]+\.|[0-9]+\.[0-9]+|\.[0-9]+)((e|E)?([0-9]+))? <3> :p <1> what are you trying to match? <3> float <3> I mean, a C function =P <3> not a PHP function <3> anyway, gotta go to cl***, bbl. <1> but what's with the regex? <1> [-+]?\d+\.?\d+ or something <4> uh, don't use C, use C++, and use boost::regex <4> Though I'm sure there are C-based regexp libraries out there. <4> if not, hax grep <5> libpcre is C <5> php has a wrapper around it to use it <5> i've used it in C... it's hideous :/ <5> emerge: i've actually written the equivalent of regex in C, i wrote a URI-handling lib <5> i didn't want the extra dependency so i wrote all the regex stuff as functions <5> it was a little ugly, but it was maintainable and readable because the regex was simple <5> as for C, just use strtod() <5> if you're parsing float/double <5> or strtol() for long int <5> or sscanf() <6> dammit <6> http://pastebin.com/630009 <6> any other ideas on profile options? <5> @php foreach(array("1","1.","1.2",".3","+5e2","e5","+5") as $n) echo "$n:".preg_match("/^([+-]?(?:\d+(?:\.(\d+)?)?)(?:[eE](\d+)?)?)$/", $n).", "; <7> Result: 1:1, 1.:1, 1.2:1, .3:0, +5e2:1, e5:0, +5:1, <8> what would cause a mysql date field to return its default? ;\ <5> rmpants: it never got written to, that'd do it <5> like if you INSERTed a record but omitted that field <8> yeah, hm <8> let me double check my query <8> its there though <8> proper variable names too <8> i can print the variables and they're fine <5> so you're just doing one insert and afterwards the field is its default value? <8> im inserting a bunch of stuff at once, i have two date fields, one date field turns out fine, the other isn't...the date fields come from user input and are formatted from year month day in the proper format for mysql <5> mysql probably isn't parsing it right... improper format would be my guess <8> yeah thats what i was thinking but it prints fine...let me try it again <5> do a test in a mysql shell, select date("whatever"); <5> or whatever the proper function is, and make sure it likes the input <8> is it year-month-day or year-day-month? <8> shouldn't matter either way hm <8> it inserted this time around <5> consult the docs <8> yeah <5> @php mysql_query("SELECT 1") or die(mysql_error()); <7> PHP Fatal error: Call to undefined function mysql_query() <5> seems like it likes YYYY-MM-DD <5> | date("2006-03-03") | <5> +--------------------+ <5> | 2006-03-03 | <5> | date("03-29-2004") | <5> +--------------------+ <5> | NULL | <8> hm
<8> something stupid is happening, variable value or something <5> likely <5> try dumping the sql manually, and inserting it by hand and check things, it's likely something dumb <8> seems to be working now <4> DEET DE DUHHHHH <6> ERROR 1101 (42000) at line 1: BLOB/TEXT column 'email' can't have a default value <6> pfft <9> http://www.amazon.com/gp/product/B000EP1IKW/ref=amb_link_681012_2/103-9967203-2766221?n=172282 <9> that's hard to resist buying <10> not for me <10> 'cuz i couldn't even think about affording it <10> it's too much to comprehend <4> *squirt* <9> it'd just about cut my cash savings in half, but i could afford it :P <4> yeah, don't do that <10> evulish is rich <4> S-PVA looks neat though <9> well, cash savings aren't really for anything <9> it's not like a retirement account :P <4> yeah, who needs a retirement account anyway <10> The man who lets himself be bored is even more contemptible than the bore. <10> Samuel Butler <10> i like that quote <10> Man is the only animal that can remain on friendly terms with the victims he intends to eat until he eats them. <10> [info][add][mail] <10> Samuel Butler <10> and that one scares me <10> but true i guess.. in reference to animals we eat ;) <10> at first glance i'm thinking.. wrong <5> reminds me of Hannibal Lechter <11> hmph... how to get swf file resolution ? <9> is it just me or should bash.org switch to a digg.com style of queuing <9> queueing <9> queuing? <9> queueueueing <3> meh <5> hmmm i've never really looked at digg.com before, pretty ***y <9> what's on tv tonight? <4> MahDongg <5> CRAP <9> someone find me a good book about ussr/russian 20th century history <5> nyet comrade <9> i have this one, but it's confusing me because it's switching back and forth between hitler and stalin which throws the timeline off <5> so many dictators to choose from <9> http://www.amazon.com/gp/product/0674403487/ref=wl_it_dp/103-9967203-2766221?%5Fencoding=UTF8&colid=DOUXPGFY91JZ&coliid=ITH2PT2R71GVW&v=glance&n=283155 <9> i think i'll get that <12> is it OK to turn safe mode on ? <9> of course <12> ok, thnx. <5> it's very... safe. <9> pizza_milkshake: why would you say that? <9> :P <12> is it a good idea to always have safe_mode ON ? <9> it's not a bad idea <9> if you don't need safe mode off, then it certainly couldn't hurt anything have it on <5> exactly. <9> it's safe mode.. if it was like dangerous_mode, then it might be bad <9> but that's like asking if walking on pillows is bad <12> ok.. thanks. <12> lol <5> they should add a dangerous_mode <9> haha <9> it randomly adds xss holes to your code <5> fopen() randomly opens /etc/p***wd sometimes <9> haha <9> sometimes it just spits out a shell <12> lol <12> btw.. is it bad that other people see /etc/p***wd except for having the usernames exposed? <9> if you have an older system, p***words were stored in there as well, but that's been changed for ages <5> andersp: not really that dangerous, it's just the canonical example <12> o, k.
Return to
#php or Go to some related
logs:
#worldchat #chat-world r3ver2 #kl #php lithuanian_girl dalnet #allnitecafe #india #allnitecafe #india
|
|