| |
| |
| |
|
Page: 1 2 3 4 5 6
Comments:
<0> http://b***hunter.m0o.eu/anna/index_en.php <1> My form will not p*** the value via $_POST in IE, but it will in Firefox <0> i mean what the hell <0> it's safe for work, guys <2> why are globals unsafe? <0> $result = $db->query("select zoop from my_tbl where uid=$uid"); <0> http://lol/thatscript.php?uid=520812 <0> automatically overwrites $uid unless you set it and know its value <0> just encourages bad practice <3> wtf kinda url is that? <0> b***hunter or lol <3> is there supposed to be video? <0> oh, yes <0> flash maybe <0> dunno
<3> yeah, i only get crappy music <3> :P <0> i was gonna say, lol is valid, lol <0> C:\Documents and Settings\Jed.STINKFINGER>ping lol <0> Pinging lol [10.0.1.03] with 32 bytes of data: <0> Reply from 10.0.1.03: bytes=32 time<1ms TTL=128 <3> spox@somedumbbox:~$ ping lol <3> ping: unknown host lol <3> nothing better than using php to analyze a 20 meg file <0> Pinging stinkfinger [10.0.0.1] with 32 bytes of data: <0> Pinging buttjuice [10.0.0.2] with 32 bytes of data: <0> Pinging lol [10.0.0.03] with 32 bytes of data: <0> Pinging whiteyford [10.0.0.4] with 32 bytes of data: <0> Pinging closetbox [10.0.0.69] with 32 bytes of data: <0> you can tell i'm really creative <3> extremely <0> they were tool albums for a while <3> closetbox is good <3> you should just rename it to lesbian though <0> heather named .4, my 386 <0> she digs everlast <4> all my computers are named after plagues <3> hahaha <3> that's suiting <0> that's awesome <3> Technobabble: how's pfsense going for you? <4> Anthrax, Bubonic, Cholera, Ebola, <0> [14:29:56] -NickServ- Info for comcast: <4> and so on <0> dammit ****er <0> i was waiting for you to change <3> bahahaha <0> and i was gonna snag that <3> too late <3> i'm amazed it wasn't already gone <0> as was i when i infoed it after you changed to it <4> pfsense is going good <0> now you can be witty and /me dies <4> i've gotta get the serial console up <4> and set up new rules, which i'm lost on <0> heather installed "Super SpongeBob Collapse" <0> dare i click <3> well, when you stop being able to get out, you know it's not a good rule <3> dare away! <4> lol, i saw in the FAQ <4> "i deleted the lan -> wan rule and now i can't get on the internet, why? <0> hmmmm <0> i vunnder <4> why doesn't fedora use ftp for it's packages at install like debian? <4> i could install fedora and have it totaly updated <0> If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. <0> Find the sum of all the multiples of 3 or 5 below 1000. <0> hah <0> that's a *challenge*? <0> result = sum([x for x in range(0, 1000) if x % 3 == 0 or x % 5 == 0]) <4> it is on paper <0> no <0> it's a coding contest
<4> oh <3> what do they want? <3> least code, fastest, or both? <0> http://mathschallenge.net/index.php?section=project&ref=view <0> Please note that each problem is designed according to a "one-minute rule", which means that although it may take several hours to design a successful algorithm with more difficult problems, an efficient implementation will allow a solution to be obtained on a modestly powered computer in less than one minute (see note). Of course solving a problem is the ultimate goal, but if you consider yourself a skilled programmer/problem solver you may <3> interesting <0> (Consequently each problem is based on the performance of Visual Basic using a reasonably efficient algorithm.) <0> ick <0> In [15]: go() <0> 0.000000 seconds <0> hm <5> @php $start = microtime(true); $sum = 0; for($i = 0; $result3 < 100; $i++){ $result3 = 3 * $i; $result5 = 5 * $i; $sum += $result3 <= 100?$result3:0; $sum += $result5 <=100?$result5:0;} $end = microtime(true); echo 'Result: '.$sum.' -- Total time: '; echo $end - $start; <6> Result: Result: 2733 -- Total time: 7.20024108887E-05 <0> listcomp > * <0> let me see if i can get python to not lie <5> lol <5> man, this script for parsing up my squid stuff is just ugly as sin <0> what we have hurr is genuine black magic <0> $start = microtime(true); $sum = 0; for($i = 0; $i < 1000; $i++) { if($i % 3 == 0 || $i % 5 == 0) $sum += $i; } $spank = microtime(true) - $start; printf("$sum (in $spank seconds)"); <0> unless modulus is the problem <0> i'm not sure which is right, to be honest <5> @php $start = microtime(true); $sum = 0; for($i = 0; $i < 1000; $i++) { if($i % 3 == 0 || $i % 5 == 0) $sum += $i; } $spank = microtime(true) - $start; printf("$sum (in $spank seconds)"); <6> Result: 233168 (in 0.000512838363647 seconds) <0> same as python <0> quick, too <0> maybe it's modulus, who knows <5> wtf <5> is my logic ****ed up or something? <0> that's what i'm wondering <7> spox: are you not adding in values twice that match both modulus. e.g. 15 ? <5> ah ha! <0> for every i from 0 while result3 less than 1000: result3 = 3i and result5 = 5i; if result3 is less than 1000 add result3 to sum; if result5 is less than 1000 add result5 to sum; return result <8> hm <7> heh, and I've only had one cup of coffee so far this morning :) <5> @php $start = microtime(true); $sum = 0; for($i = 0; $result3 < 1000; $i++){ $result3 = 3 * $i; $result5 = 5 * $i; $sum += $result3 < 1000?$result3:0; $sum += $result5 <1000 && $result3 != $result5?$result5:0;} $end = microtime(true); echo 'Result: '.$sum.' -- Total time: '; echo $end - $start; <6> Result: Result: 266333 -- Total time: 0.000319957733154 <5> heh <8> python, php.. <0> i think you're adding the products instead of the numbers <8> sub{for(1..999){$r+=$_ if($_%3==0 || $_%5==0)}$r} <0> it's seeking the sum of the numbers, not the sum of the products, methinks <0> fuehrer: [14:52:23] <0> In [26]: sum([x for x in range(0, 1000) if x % 3 == 0 or x % 5 == 0]) <0> [14:52:24] <0> Out[26]: 233168 <0> i used your method too <8> ah <0> we're after 233,168, i think <8> jst slapped it together here <0> what language is that <0> smells like...perl? <7> lol, such fun with an easy enough problem. Next I suggest --> Question 12: <7> What is the first triangle number to have over five-hundred divisors? <8> yea, perl <0> i have a hardon for python <0> i don't know why <0> awesome, it's gonna thunderstorm <0> http://www.wunderground.com/radar/radblast.asp?zoommode=zoom&num=6&delay=15&rbscale=0.5108695652173914&scale=1.000&noclutter=0&ID=RTX&type=N0R&lat=44.06486130&lon=-123.01097107&label=Springfield,%20OR&showstorms=5&map.x=371.5&map.y=366¢erx=400¢ery=240&lightning=0 <9> man, i can't tell if my cache is working <9> it's not creating files where i told it to <9> i implemented this cache and performance DEcreased <5> good job! <0> d'oh <0> what's with this new fascination of highlighting keywords i search for on my target page using javascript <0> it's annoying when i search for things like "open source map library" and get "map" highlighted through the entire result <4> ha ha <4> we gave "dawg" to mexico <4> apparently <5> jedzilla: you love it and you know it <5> Technobabble: they had some good pictures of him and his family on the fark thread about it <5> i think i would kill myself if that guy was my dad <5> or him <5> it's a toss up <10> heh
Return to
#php or Go to some related
logs:
64270344
#allnitecafe #india #kl itzika@ sql #php aaron_wong2001 remove duplicates from array in java #kl #india
|
|