« first day (1403 days earlier)      last day (3545 days later) » 

user895378
7:06 PM
Found a solution to "having a hard time being motivated to work today" ...
 
user895378
 
@AndreaFaulds Does point #4 only apply to floats < PHP_INT_MIN or > PHP_INT_MAX ?
 
@DaveRandom both ends
 
@AndreaFaulds No I mean it doesn't apply when val is within that range?
Sorry, question not totally clear
 
It won't error, sure
Oh crap I misworded that
 
7:08 PM
It's just that the summary in the numbered list doesn't make that clear
 
there's a whole clause missing
nice catch ;)
 
@rdlowrey eiw
 
@rdlowrey Good thinking; get blasted and try again tomorrow.
 
user895378
@ircmaxell I like the ginger after taste. It's sweet though.
 
@rdlowrey eiw to Angry Orchard. Get a good cidre if you're going down that road :-D
 
user895378
7:09 PM
I just wanted to try the ginger TBH. Sounded good.
 
Angry Orchard is way too sweet IMHO, as are most American ciders
 
user895378
I am agree with all.
 
@AndreaFaulds what with left shifts beyond integer size?
 
@bwoebi It's in "Open Questions", I'm actually updating patch to handle that now so that's also consistently 0
 
And why did you add point 4?
the other 3 look okay, but I don't like the fourth.
 
7:13 PM
Also @AndreaFaulds: yes, left shifts do need fixing. On this machine (Win7) var_dump(-1 << 32); // int(-1) - a few times I've used code that does ~((~0 << 16) << 16) in order to get an int with only the 32 least significant bits set in a cross-platform way, which is a needed thing when dealing with IPv4 subnetting
 
@rdlowrey DUDE! That's like.. the cleanest desktop I ever saw. I bet you have a wife! (not because she cleans it, but because she'd leave you if you didn't :P)
 
@bwoebi I'm not a fan of lossy casts, especially implicitly and without warning like that. That idea came from the bigint RFC to force people to fix apps that bigints might break, actually...
 
user895378
@MoshMage lol, you couldn't be more wrong.
 
user895378
Well, I suppose you could if I were into dudes, but I'm not.
 
@DaveRandom And that doesn't work cross-platform because Intel, yeah.
 
user895378
7:15 PM
My workspace is one area of my life where I need things to be neat and tidy. I spend so much time there I get stressed out if things are out of place or cluttered.
 
@bwoebi You know what, I think I'll drop that bit from the RFC
 
@AndreaFaulds yeah, it's not really related to the other changes.
 
Right
 
@rdlowrey I understand all that but my home-station is just... Lets just say a Horror flick causes less scares than my home-station and leave it at that xD
So I get excited when I see a clean one X)
 
user895378
7:16 PM
@JoeWatkins I quite literally LOL'd at that one :)
 
@MoshMage Helps that his home workstation is his work workstation ;-)
 
user895378
Yeah, it's all just one workstation.
 
Thats.. Cheating! xD
Well *masters of php*, I'm off. Tomorrow I'll drop by again :)
Have a nice day [tag:ugt]
 
@rdlowrey hehe
 
user895378
@MoshMage You too.
 
7:18 PM
night @MoshMage
 
user895378
@DaveRandom low importance I know, but FYI I just tagged v1.0.0-rc1 for the alert event reactor lib.
 
user895378
I'm starting to approach stability in multiple projects. A little nuts, I know.
 
user895378
Things that go to v1 will actually get support going forward instead of everything just changing with no regard for BC.
 
@rdlowrey What have you done with the real @rdlowrey?!
 
user895378
I've never felt bad about not doing that before because: SemVer
 
user895378
7:21 PM
@salathe I must be getting old. The imminent approach of my 32nd birthday is causing strange behavior.
 
well .. beer is gone now
 
user895378
Also, is it just me or is the internet entirely populated by 13 year olds? It's giving me age anxiety lately.
 
:-)
@rdlowrey you're young
 
@ircmaxell young is relative ;-)
 
@bwoebi you're young too
 
user895378
7:27 PM
Yeah. Bob is young. Us old folks are obsolete.
 
If I can curl localhost and get the nginx page from my server but when trying to load from browser I get "Not available" where should I check?
 
@rdlowrey You still couldn't be my father. So, you're young too.
 
@bwoebi how old are you now?
@bwoebi cause if you're 18 or younger, then I'm technically old enough...
although it's still a strech
:18376438 I said theoretically, mainly because it's on the border of possibility
 
I feel you stop being young around 25.
 
theoretically you need to be about ~hour old to be someones father
 
7:37 PM
@tereško not true
 
user895378
@bwoebi Yeah, when I was 14 I was am still terrified of girls.
 
s/still/unnecessarily
 
@Fabien don't be mean :(
 
@ircmaxell I'm 18. And I was talking to @rdlowrey. You are old ;-P
 
@Patrick I say that as a 27 year old
 
7:39 PM
@ircmaxell ok, it's probably a lot less. But I am not a biologist an have no solid knowledge regarding the point at which ones genetic code stabilizes
 
user895378
I remember when I went to college and I met people who were 20 and I thought that was really old.
 
@rdlowrey 20 is old, now you're ancient. :)
 
@tereško uh, then you technically already could become father in embryonal stadium.
 
I doubt that it is technically possible
 
@tereško I'd say 12 or 13 is practically the limit (via conventional means at least)
@bwoebi hey, I'm only like a year older than @rdlowrey (right?)
 
7:41 PM
Puberty can come early.
 
@ircmaxell oh, really. I thought you were > 40.
 
fuck, I 'm old
 
yay for iptables :) server is back baby!
 
(Though, not ~hour since conception)
 
@bwoebi dude, I'm 30
 
7:42 PM
@ircmaxell Sorry!
 
@ircmaxell Hey Grandpa!
 
user895378
Yeah Anthony is a year younger than me
 
@rdlowrey Great Grandpa
 
@rdlowrey Oh, I'm younger? I didn't remember that...
 
@salathe I was referring to ~hour since conception =P
also:
I am slightly drunk
 
7:43 PM
While we're on the topic of age a rule of thumb for dating is "half your age + 7".
 
@ircmaxell when's your birthday, I need to know where I slot in, age-wise.
 
I'd better not be the oldest here at 33 :p
 
:18376584 ahh, I'm 5 months younger :)
 
> age 24
 
@salathe nice!
 
7:45 PM
emm ... your age is visible in your SO profile
 
@ircmaxell (removed) us so he can abuse (removed).
 
@tereško I'm not worried about people knowing my age
 
@webarto 'elp, 'elp, we're being (removed)
 
user895378
@ircmaxell yeah I'll turn 32 in two weeks
 
:D
 
7:46 PM
Jesus, I am the oldest here, aren't I.
 
@ircmaxell ... but I am still worried about having my said age
 
user895378
Or as I like to call it, "29"
 
Thirties are the new Twenties.
 
@Charles You're almost @NikiC and @bwoebi combined. :P
 
In your defence.
 
7:47 PM
@salathe ohgods
 
user895378
@webarto Said only old people. Ever.
 
@Charles Gordon has you beat
 
@ircmaxell Oh good.
 
@rdlowrey I have been worried about it since I was 16 (at least, because I have no solid memories before age of 15)
 
I'm going to enjoy my 24 for one more day.
 
user895378
7:48 PM
@tereško oh good I thought maybe I was the only one. I remember so little from my childhood.
 
@rdlowrey I turn 31 in 4 weeks
 
user895378
@webarto wait, your bday is tomorrow?
 
Yay, someone gives a fuck!
 
@rdlowrey no, he just won't enjoy the other days...
 
user895378
free internet points for @webarto! make sure to upvote a worthy answer of his tomorrow
 
7:49 PM
@bwoebi @DaveRandom Updated RFC: wiki.php.net/rfc/integer_semantics
 
Now you guys can hack me.
@rdlowrey Shower me with points :D
Wait, I'll still get 0.
 
@webarto Dam youngsters
 
I'm not worthy.
 
@rdlowrey I still find it kinda creepy
 
@AndreaFaulds wrong link?
 
7:50 PM
@bwoebi fixed :p
 
user895378
@webarto s/b-day/zero-day/
 
@ircmaxell What's worrying is that $age->diff() between you and @tereško is one year and he acts more immature than me. Except he knows MVC and stuff :P
 
user895378
All great artists are invalids to some extent, right?
 
Sad every invalid artist, ever.
:P
 
== English == === Etymology === From Middle French immature === Adjective === immature (comparative more immature, superlative most immature) Not fully formed or developed, unripe. Silly or childish in behavior. You're only young once, but you can be immature the rest of your life. Wilhelm Stekel - As quoted in The Catcher in the Rye (1951) by J. D. Salinger. The mark of the immature man is that he wants to die nobly for a cause, while the mark of a mature man is that he wants to live humbly for one. ==== Translations ==== ==== Related words ==== mature immaturity == Italian == ...
that's new
 
7:53 PM
Immature is a word made up by boring people.
 
user895378
@webarto well-played sir
 
@tereško New word? I might have used it wrongly.
 
@N.B. Only immature people say that.
 
I wrote: ":18376657 define: immature" and the wiki-include happened
 
@rdlowrey It's Herr, I'm in Deutschland's puppet state. :P
 
7:53 PM
@AndreaFaulds I just have to admit that 1 << -1 is an interesting shortcut for PHP_INT_MAX ^ -1
 
@tereško Oh, amaze.
 
How can I get the stable version badge to update to the new tag (v1.0.1)? github.com/PatrickLouys/http
 
user895378
@webarto Isn't the entire EU Deutschland's puppet state?
 
== English == === Adverb === oop (not comparable) Eye dialect spelling of up. === Verb === oop (third-person singular simple present oops, present participle ooping, simple past and past participle ooped) (Scotland) To bind with a thread or cord; to join; to unite. (Can we find and add a quotation of Jamieson to this entry?) === Anagrams === poo...
 
== English == Wikipedia === Etymology === From Middle English definen, from Old French definer, variant of definir, from Latin dēfīniō (“limit, settle, define”), from dē + fīniō (“set a limit, bound, end”) === Pronunciation === IPA(key): /dɪˈfaɪn/ Rhymes: -aɪn === Verb === define (third-person singular simple present defines, present participle defining, simple past and past participle defined) To determine with precision; to mark out with distinctness; to ascertain or exhibit clearly. Sir Isaac Newton Rings […] very distinct and well defined. the defining power of an optical inst...
 
7:54 PM
cool :-D
 
DEFINE FLOOD BEGINS
====
 
now, please stop
 
@rdlowrey Well played, Sir.
 
@rdlowrey it would be great if that were true but it's not :/
 
@bwoebi does that even work consistently across platforms?
 
7:55 PM
@Charles Keep the noise down kids.
 
@N.B. It is, actually.
 
@AndreaFaulds nope.
 
@bwoebi My preferred shortcut is ~PHP_INT_MAX
 
@Danack Get off my lawn!
 
== Finnish == === Etymology === Compound of mauste (“spice”) +‎ pippuri (“pepper”). === Pronunciation === Hyphenation: maus‧te‧pip‧pu‧ri Rhymes: -uri IPA(key): [ˈmɑuste̞ˌpːipːuri] === Noun === Wikipedia fi maustepippuri allspice (spice) allspice (tree) ==== Declension... ====
 
7:55 PM
@webarto it's not, the situation would be vastly different if it was. But one can only hope ^^
 
@bwoebi why does that work...? Shouldn't that be an overflow?
 
@ircmaxell no idea. OS X.
 
== English == Wikipedia === Pronunciation === (UK) IPA(key): /ˌsuːpə(ɹ)ˌkalɨˌfɹad͡ʒɨˌlɪstɪkˌɛkspiːˌælɨˈdəʊʃəs/ (US) IPA(key): /ˌsupɚˌkæləˌfɹæd͡ʒəˌlɪstɪkˌɛkspiˌæləˈdoʊʃəs/, [ˌsupɚˌkʰælɪ̈ˌfɹæd͡ʒɪ̈ˌlɪstɪkˌɛkspiˌælɪ̈ˈdoʊ̯ʃəs] Rhymes: -əʊʃəs === Etymology === Made famous by its use in a song of the same title in the movie Mary Poppins (1964), by songwriters Robert B. Sherman and Richard M. Sherman. === Adjective === supercalifragilisticexpialidocious (not comparable) Fantastic, very wonderful ==== Translations... ====
 
29
A: Left shifting with a negative shift count

LundinSigned integers on right-hand side is undefined behavior in the C language. ISO 9899:1999 6.5.7 Bit-wise shift operators §3 The integer promotions are performed on each of the operands. The type of the result is that of the promoted left operand. If the value of the right operand is ...

 
7:57 PM
@ircmaxell If the shift is negative, it's effectively x << (unsigned long)shift
 
- London?
- You know: fish, chips, cup 'o tea, bad food, worse weather, Mary f* Poppins... LONDON.
 
@AndreaFaulds if that was the case, the answer would always be 0
 
define: lepadotemachoselachogaleokranioleipsanodrimypotrimmatosilphiotyromelitokatakechy‌​menokichlepikossyphophattoperisteralektryonoptokephaliokinklopeleiolagoiosiraioba‌​phetragalopterygon
 
@ircmaxell Well, that's not the end of it.
 
:(
 
7:58 PM
(don't) define: zebrafish
 
On Intel, it's x << (((unsigned long) shift) % 64)
 
@salathe Act your age.
 
@ircmaxell no. It'd be x << (((unsigned long) shift) % 64)
 
== English == === Noun === boobie Alternative spelling of booby (“a woman's breast”)....
 
:D
 
7:59 PM
@ircmaxell so 1 << 63.
 
@bwoebi Ninja'd
 
@AndreaFaulds ;-)
 
I wanted to play ninja with bits and shifting and I failed, and wrong IPs were whitelisted.
 
@bwoebi fair enough, the %64 part was the crux
 
Basically, negative shifts on Intel are a double-whammy of undefined behaviour
 
8:00 PM
@rdlowrey OK no worries. Addr is on the back burner while I sort a couple of other things out (one of which is real life) but will eventually get the discussed overhaul - but the public API for the Resolver will remain the same anyway, the only difference will be how you construct the thing (so you can have internal refs to the things where it makes sense for the settings to be).
I really want to avoid having some kind of settings framework that shares data where it doesn't need to be - although that said, if you want to quick-fix in the options you want while I don't have time to do it properly then I don't have any real issue with that (suggest creating a 0.3 branch for that though because semver)
Even though semver doesn't apply to 0.*, trying to stick to it anyway
@AndreaFaulds looks good to me
 
Currently running test suite on my 32-bit VM
 
@AndreaFaulds why? Why not 64 bit VM?
I haven't run a 32 bit machine in years...
 
@ircmaxell my main machine is 64-bit, I want to check I haven't broken any 32-bit only tests...
 
8:07 PM
Ah ok
+1 then
 
A surprising amount of tests are 32-bit only. I assume they worked until 2006 or something and then someone added a skip to fix them, without making a 64-bit equivalent.
 
likely true
I know a bunch of the math ones are doubly implemented
which is sort-of weird... really...
 
@ircmaxell Having separate 32-bit and 64-bit tests makes sense IMO
You can't really make platform-agnostic tests in those cases
 
@AndreaFaulds I don't think so, because the results differ, but not the actual execution...
so don't duplicate the test, but calculate what the result should be, and test for that
 
@ircmaxell Are you saying they should share code with a .inc?
 
8:12 PM
@AndreaFaulds or structure the test in such a way that the test determines its own result...
 
$expected == IS_64BIT ? 819242481094 : 31443214;
if ($expected === $actual) {
    echo "PASS\n";
} else {
    echo "Failed asserting $expected === $actual\n";
}
 
Right
There are some tests which do something like that
Myself, I prefer simpler tests
 
well, the math ones should all do that rather than duplicating the test
@AndreaFaulds I consider that simpler, since there's no duplication, and you can clearly see the expected behavior difference across platforms
whereas now, good luck determining that difference :-D
 
I mean, I don't like tests with a lot of logic in them. They should be fairly dumb
 
8:17 PM
that's a lot of logic?
hell, you could put that in a function:

function assertEquals($expected, $actual) {
    if ($expected === $actual) {
        echo "Pass\n";
    } else {
        echo "FAIL: $expected !== $actual\n";
    }
}
 
Not really... I guess I don't like that it hides the result unless it fails
Nevermind.
 
@AndreaFaulds well, then add expected to the output
I'm not saying it's the best or only way
but as you said yourself, many tests are 32 bit only. If we did this more, it would be easy to determine that, and fix...
 
I have a fun one for you guys.
So, I was wondering how on earth changing bit shift behaviour broke Bug #67109 (First uppercase letter breaks date string parsing) [ext/date/tests/bug67109.phpt]
So I looked at the test output...
Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /media/sf_php-src32/php-src/ext/date/tests/bug67109.php on line 2
 
Yeh I pinged Derick about that before, was completely ignored (as always)
 
Fix the test yourself?
 
8:22 PM
Don't have push
Could create a PR but it would just sit there for months
Someone would fix it in the mean time
 
Oh...
Have you submitted any patches?
 
@DaveRandom then ask for karma
 
@DaveRandom If you asked for an account with commit access I think you'd get it
 
Was considering that earlier, but then I submitted a bad PR (twice) and now not sure I trust myself with it
Stupid mistakes, but no room for stupid mistakes ;-)
 
8:26 PM
@DaveRandom Good. That means you'll respect it. Go for it.
Seriously, everything I pushed, I PR'd first, and asked for reviews first...
 
Will do when I've finished up my current work then :-)
 
Hehe, changing how << and >> works is fun because you'd "break" tests and never notice
Since the skip condition is based on the result of <<
 
Currently trying to figure out Michael's second comment here, I can't see why that would leak, just building atm to see if I can see it
 
@AndreaFaulds if it actually does break, then perhaps it's best not to do that...
 
8:31 PM
@ircmaxell It doesn't "break" the test, it's just the test skips on non-Intel
Since we now don't do what "Intel" does (wrap the bit count), it skips
 
@DaveRandom you allocate a variable, do something with it, and then never deallocate or GC it
 
@ircmaxell Yeh but it's an out var, shouldn't that be handled by the caller?
 
ow wait
oh yeh :-S
 
Moment of realisation
 
8:33 PM
@DaveRandom possibly
or wait, is return_value already defined?
 
@ircmaxell good guy anthony
 
@CarrieKendall ?
 
@ircmaxell you made it stop
 
@ircmaxell It's a property accessor. I'm pretty confident that should be right, going to see what --enable-debug/valgrind have to say about it.
(my test is also bad, doesn't run that code path)
 
@DaveRandom looking at that... Looks to be good...
 
8:39 PM
I suspect he's thinking it's just a local var, but I want to double check before I go back to him on it
 
I'm pinging him in IRC
 
He's actually lurking in here I think
I am without a sane IRC client on this machine, hang on
 
Is there ever a trade off validating regex over xpath for crawling html. I mean speed for instance? ducks
 
@DaveRandom haven't actually reached him yet, so...
@Fabien ever? yes. Yes there is.
 
The italics suggesting the use case is small and/or crazy?
 
8:47 PM
the italics suggesting that absolution are always a bad idea (ever/never/etc)
 
Fair enough. Well is a concern for me it's not 'that' slow. So I am still using xpath.
I need a local storage solution for expiring values. Really small. Basically I need to set a value with an expiration of say... 2 minutes and just simply to check for that value. Redis, memcached? Or is there something with a better fit?
 
podcast done
 

« first day (1403 days earlier)      last day (3545 days later) »