| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Comments:
<0> wtf <1> tis an old picture.. it's gotten better. and then much worse <2> jesus <2> atleasy you fdrink some decent brandy <1> it's that or korbel.. depends on which liquor store i go to <1> but i mostly drink the rum <3> hhuh <4> that's a lot of bottles <4> why the base64 encoding in the filename? <5> lol thats not that many bottles, but a big mess of them ;/ <6> that alotta boooooze <4> I might have two or three drinks over the period of a year <4> so that's a lot of bottles imo :) <7> I'd drink and keep a desk like that too, if I had that fishbowl monitor. <1> it's from the #html desktop fridays we had a while back <1> comcor: no ****
<6> i'm not old enough to drink <6> i'm 21 <6> in octal <8> dang.. like, 4gb down, 1gb up in the last, 12 or so hours... i wonder how that looks to my isp =\ <4> I'm not technically old enough either. <6> 8| <4> I've got access though <1> Stoned4Life: my isp so far doesn't seem to notice such activity <1> thankfully <7> heh <6> Stoned4Life: what are you doing? <8> Prolly doesn't even matter.. what are they going to do? Cap me? I'll beat their *** so hard, they'll be crediting me for years. <4> my new isp apparently doesn't care much about me running a server. <8> fedt: dl'ing leet tunes <2> serving uncensored asian pr0n <8> shh! <4> It's barely even mentioned in the TOS. It's there, but barely. <1> Stoned4Life: actually, they'll prolly shut you down for violation of the TOS <1> or the AUP <6> my isp blocks ports 21, 80, 6667... :( i have to run my irc server on 6666... <8> it's uhh.. noy copyrighted =P <8> not* <1> doesn't matter <8> dang.. your isp ****s fedt <8> Two-Bits: shh <3> does anyone know about injection of phP ??!! <4> Most ISP's have anti-server clauses <1> most isp's specifically disallow running servers of any kind <8> oh.. well, if mine does.. that ****s for them <1> not really. <7> does anyone know about injection of fueL ??!! <1> if it ever became noticable enough to **** for them, they'd make it really **** for you <8> i don't think roadrunner is that harsh =\ .. plus high speed cable should allow for more high speed music downloading!! woot <1> comcor: i stopped mainlining petrol in highschool <7> was probably a good move <4> I don't think most ISP's care what you do so long as it isn't illegle and isn't a threat to their network. <1> the withdrawl was a bitch though. i ended up with the munchies and eating paint chips when i got the shakes <8> lol <4> My last ISP (Charter) only told me to shutdown my server because they didn't have enough bandwidth yet to support the number of people signing up. <0> fun <3> anyone know where i can find free celeb movies ? <3> hehe <1> unless it can be seen as negiligent on the part of the isp (if you're doing something illegal) or if they're having network trouble or complaints (due to over use) it's simply not in their best interest to make a big deal. you're still a customer <5> two-bits: I am generating my bitmask now to store it... now how do i return the binary value of a certain bite of a integer? (say i want to know if bit 64 is on or off) <1> $php $bitmask = 201; bindec(201); <1> $php $bitmask = 201; echo bindec(201); <1> !php $bitmask = 201; echo bindec(201); <1> blah <9> 1 <1> hrm <1> oh <4> I do bitmask stuff in terms of hex <1> !php $bitmask = 201; echo decbin(201); <9> 11001001 <8> lol <1> !php $bitmask = 201; $r = $bitmask & 64; echo decbin($r); <9> 1000000 <1> !php $bitmask = 201; $r = $bitmask & 32; echo decbin($r); <9> 0 <1> see how that works?
<4> !php 1<<63; <4> bleh <1> & the desired bit (or even bit mask) to see which bits are set. 0 means they are NOT set. so you can check individual bits or groups of bits <1> i dont like bit shifting for this <7> hey, no bit shifting without an appropriately signed permit <4> easy way to get the right bit. <5> TWO- so im doing a AND bitwise comparison to it <1> kicken: isn't that shifting the wrong way? <5> the number after & being the bit <5> such as 1 2 4 8 16 <4> Two-Bits depends on if you want the mask or the bit in question <4> 1<<63 would be the proper mask <1> doesn't that shift 1 left 63 bits? <4> yea <4> so you get 1<63 zeros> <1> dont you want to shift 63 right one bit? <1> oh.. um <1> oh you mean to build the bit numeric? <1> yeah, that's better than pow(2, n) <4> $num & (1<<63) <1> take note of that ChillAxen <1> though i still suggest simply using that to define constants <4> 0x8000000000 in hex, I think. <4> dunno. I usually don't go higher than 32 bits <1> !php echo dechex(1<<63); <9> 80000000 <4> does php even support 64 bits? <1> i think it does if the cpu does <1> "The size of an integer is platform-dependent, although a maximum value of about two billion is the usual value (that's 32 bits signed). PHP does not support unsigned integers. " <7> php's still got a nasty bug with strtotime, iirc, on 64bit systems <7> or at least x86_64 <10> php has a bug? <10> you lie <5> Two-Bits ***uming my current was 3 and $id was 1 then if ( ($current & pow(2, $id)) != 0) { should not be 0 right? <7> jedzilla: I know, it's hard to believe. <1> if $id is 1, then the bit you are checking is the second bit, or 2 (decimal) <4> 3 = 11 pow(2,1) = 10 <1> which should not yield 0 for that & operation since 3 (decimal) has the first 2 bits set <4> 11 & 10 = 10 <1> or what kicken just said more clearly <4> :) <5> so my coding if ( ($current & pow(2, $id)) != 0) { is right then <5> it should not be 0 <4> yea <4> You can leave out the != 0 though <1> you can comparet he result to 0 or to the bit you're testing. if you're testing exactly one bit, they are the only two possible values <4> if ($current & pow(2,$id)){ } <10> man, @array = ("one", "two", "three"); $array[0] == "one" <10> that just confuses me to death <1> again, kicken's example of bitshifting to create the bit's to test is better than using pow(2, n) <5> 1 sec, let me get this working then ill take a look at his <4> jedzilla perl? <5> better to fix 1 problem at a time ;] <10> i'm reading "perl in easy steps" <5> but thankyou in advance <10> and i already don't like it <4> perl is so confusing <4> way too many special variables and weird syntaxes <1> !php foreach(range(0, 5) as $i) { echo pow(2, $i+1) . " == " . (1<<$i) . "\n"; } <9> 2 == 1 <9> 4 == 2 <9> 8 == 4 <1> er <9> 16 == 8 <9> 32 == 16 <1> hrm <1> !php foreach(range(0, 5) as $i) { echo pow(2, $i) . " == " . (1<<$i) . "\n"; } <9> 1 == 1 <4> they went a little overboard on the "make it flexable" part <9> 2 == 2 <9> 4 == 4 <9> 8 == 8 <9> 16 == 16 <1> jedzilla: what confuses you about that?
Return to
#php or Go to some related
logs:
#chat-world #php #india #allnitecafe #india #india #india #vb #india #india
|
|