« first day (1850 days earlier)      last day (3098 days later) » 

12:00 AM
@bwoebi yeah my only invalidation was from within the PHP app
 
@EquinoxMatt Yeah, same happened to me in bus
 
I JUST WANT MY DAMN COFFEE
 
@bwoebi if that's what makes sense for you, sure
 
12:01 AM
@Andrea the point is that you rarely know future requirements and some parts in code are going to be really hard to convert.
 
@PeeHaa So it's cut Windows customized to run on embedded systems, right?
 
@Martin. That doesnt run on atms ;)
Windows Embedded Compact, formerly Windows Embedded CE and Windows CE, is an operating system subfamily developed by Microsoft as part of its Windows Embedded family of products. Unlike Windows Embedded Standard, which is based on Windows NT, Windows Embedded Compact uses an exclusive hybrid kernel. Microsoft licenses Windows CE to original equipment manufacturers (OEMs), who can modify and create their own user interfaces and experiences, with Windows CE providing the technical foundation to do so. The current version of Windows Embedded Compact supports x86 and ARM processors with board support...
 
@PeeHaa Why not?
 
Windows iot is rather newish
 
round 95% of ATM machines in the world run of Windows XP. But unfortunately ATM industry is in a state of flux since Microsoft has discontinued support for Windows XP from April 8
Not sure who qualified that poster is
 
12:04 AM
So, if I would like to create Wedding machine system, I'd use Windows on Rapsberry PI, programmed software in c# or Java and just run it there? That would be creazy and interesting
 
*how
 
Why? You like developing on Windows?
 
@EquinoxMatt google.co.uk/…
 
@Danack interesting!
 
@Sherif Nope. Any alternative for linux?
 
12:06 AM
"alternative for linux"?
 
And anyway.......Does anyone who uses vfsStream know if it's meant to support inodes 'properly'/'at all'.
 
That would be Windows
 
@Danack I know its cool to hate Microsoft, but I can't help but admire them in many ways
 
@EquinoxMatt Those people are retarded. It's not Microsoft's fault they don't upgrade.
 
@Sherif I meant, Windows have Windows Embedded, what does Linux have?
 
12:07 AM
Banks are just cheap bastards.
@Martin. It has linux.
Linux doesn't need an "embedded" version. It's linux.
 
@Sherif But I need some kind of UI. Without giving people chance to do anything harmful
 
@Sherif - Confession: I actually had a Windows 7 phone for a while, and I really liked it, the only reason I went back to 'droid is because I missed the apps
 
@EquinoxMatt Blaming Windows mobile for apps quantity all the time
 
@EquinoxMatt Windows phone's don't have apps?
I don't actually know. I don't own a Windows phone nor have I ever used one to be honest.
 
@Sherif Small percentage compared to other OSes
 
12:09 AM
@Sherif They have apps, but they are either 12 months later than 'droid or ios and are usually poorer quality
 
@EquinoxMatt Yea, MS was late to the party there.
 
It is a shame, because I really enjoyed the mobile OS - the UI is amazing
 
@EquinoxMatt apps look too monotonic with that UI
 
@EquinoxMatt Yeah the UI is refreshing
 
I thought the whole point of Windows 10 was that there wouldn't need to be a "mobile OS"?
 
12:10 AM
@Sherif At one point I really though it might take off, but Android and IOS are to dominant
 
Or Windows 8 even
 
@Sherif how would you use rapsberry pi with linux then for creading a wedding machine software?
 
@Martin. <insert book here>
 
@PeeHaa My Dad is 65, he has a Windows phone, he loves it for its simplicity, but don't mistake simplicity for power
 
@Sherif just a snip
 
12:11 AM
@Martin. Step 1) Learn linux?
 
@PeeHaa - He has everything he needs in blocks on his home screen and it is really hard for him to screw it up, with Android he was forever breaking stuff
 
@Sherif what distro would you use for that purpose?
 
I really don't know how to answer that question.
 
@Andrea Is void return type still not closed?
wasn't it due for yesterday?
 
@Martin. What do you mean by wedding machine software? Just curious
 
12:12 AM
@Sherif I kinda used Linux and I still use it as a server OS, but never programmed for it.
 
@Martin. Distro? I highly doubt you want to use a specific distro for a raspberry pi.
 
@EquinoxMatt You insert coins. There's a >>SOFTWARE<< that takes check these coins, check what item you want and do SOMETHING to give you item of your choice.
 
@Martin. - Got you
 
@Sherif And that's the question. What would you use instead, if I want to keep on Linux (with need of some kind of UI)?
 
I would use what I needed. All you really need, technically is a linux kernel, but if you're systems programming challenged maybe try Ubuntu Core?
Bare metal is not plug-n-play typically.
 
12:16 AM
> Visibility MUST be declared on all properties and methods; abstract and final MUST be declared before the visibility; static MUST be declared after the visibility.
 
@Sherif can linux kernel itself have software running Java with UI ?
 
Hmm… this seems like an odd choice.
Abstract and final go before and static must go after?
Why?
 
@Martin. Sure, the kernel can run software. That's why it's called a kernel.
 
@LeviMorrison Why switch it?
 
Beats me; ask the Framework Interoperability Group.
 
12:18 AM
No thanks :P
 
@LeviMorrison there isn't any logic there other than it was what the about 14 people who voted on it were used to at the time.
 
You can literally run linux on your BIOS if you wanted to these days.
Whether or not you're capable of working out the necessary dependencies to get the JVM to run, is a totally different story, of course ;)
 
@Danack Then it shouldn't have been standardized
 
BUT WE MUST HAVE STANDARADDDDASSSS!!!
 
Uhm… How do I test (phpunit) glue code like this: github.com/amphp/aerys/blob/master/lib/Bootstrapper.php#L21-L75 ?
 
12:20 AM
Placement of braces I can understand because there are known merits of practically any style.
But this seems arbitrary and I see little to no value in the choice.
 
@Levi you don't have to follow PSR-2. Most things are sane… and the few ones which aren't to you… just ignore.
 
And I gladly don't :D
 
The greatest value to come out of it is that anyone who thinks those coding standards are important are people who I know I can stop talking to....
 
@Sherif I didn't still get what Ubuntu Core is. Is it just a lighter UI-powered Ubuntu?
 
You keep saying UI like it actually means anything in this context.
 
12:22 AM
Anyone know if PHP stream wrappers support doing fstat and stat?
 
Dude, you're using Raspberry Pi. Go use your proprietary vendors recommended OS puppylinux.com
 
@Sherif Just to make sure it does know what UI is
 
I don't think you know what UI is.
 
I'm pretty sure this is not PHP...
 
12:25 AM
We could move, if somebody have a mood to discus it.
 
@bwoebi sort of. I kinda screwed up and put two different dates down due to not proofreading properly. So I picked the later one, today.
 
@Sherif User interface. Linux without UI has only command line. Linux with UI has clickable interface.
 
@Andrea okay fine.
… and good job on this one… even though I'm personally still not sure ;-) @Andrea
 
^^
Well, at least PHP has decided on something now
 
12:28 AM
TBH, I expected the RFC to be much more controversial…
 
@Martin. Linux is linux. I'm think you're just confused when you say UI, you probably mean xterm which is just a program you run in linux.
 
@bwoebi I was unsure how it would go
But the result we have does kinda make sense in retrospect
 
@Sherif Maybe. Linux is core, which could have command line (xterm?). But also can have User Interface to display nice buttons, images and so on. Am I still out?
 
@Martin. You're referring to the X Window System, yes, I get it. I just think none of what you're saying is relevant to the discussion. I'm not confused about your intentions :)
 
Try to discuss about php , don't others
 
12:33 AM
@saleemahmed I already apologized.
@Sherif You mean PHP discussion? Of course not.
 
@Martin. To the discussion we were having.
Sheesh. I feel like I'm pulling teeth today.
 
hey
 
@Sherif Kinda confused.
 
@Martin. It's OK. Just move on.... Move on my friend. It's all good. :)
 
hey, can we unstar the RFC vote and star the acceptance?
and by "we" I mean someone with the magical italics :P
 
12:37 AM
goodnight guys, the weekend is over :(
 
addslashes? Really?!
It's not bad enough they're using ext/mysql they had to throw addslashes in there?
 
@Sherif at least he tried
@Sherif I'm probably giving this up :) I've learned a lot of new things here about what I wanted, thank you everyone
 
I blame w3schools
 
@Sherif at least some escaping at all
 
@bwoebi True. It's important to addslashes before you base64_encode. Guarantee of no injection there.
It's gonna suck that his data is corrupted, but oh well. Who cares as long as you're safe, right?
 
12:43 AM
@Sherif uhm… he doesn't put encoded data into the database
 
Oh, yea. Only on output.
I must be seeing things!
 
Lol, I realized now it's not wedding machine, but vending!
 
I am unsure whether I should parse Link headers (and dispatch a HTTP/2 server push request internally if a preload is matched) or provide a method to push… I think the latter is better…
though the former makes things simpler in internal code…
 
Hi everybody, someone can help me there? stackoverflow.com/questions/33600730/…
 
12:58 AM
Does anyone find something about how what headers to use in a PUSH_PROMISE?
 
@Perocat What you're looking for is called a "negative look-ahead assertion".
It's the thing in PCRE that tells it to look for 2007 RIT as long as it's not proceeded by CALEND
or in this case is, rather.
So a positive look-behind assertion rather.
PCRE Cheat Sheet may be easier to read
>**(?<!) Negative look behind assertion** | (?<!foo)bar matches bar when not preceded by foo
0
A: preg_replace to match all match in string even after first replace

SherifWhat you're looking for is called a negative look ahead assertion in PCRE, which tells the engine to look for something like 'CALEND' as long as it's not followed directly by ' 2007 RIT', in your case. $san_field = 'sometext PROS sometext sometext1234 CALEND 2007 RIT'; $pattern = '/(\s|^|- |--)(...

There
 
1:20 AM
@Perocat Explain your problem to me more clearly here. What are you really trying to achieve? Why do you have an array of regular expressions like this? This questions screams I really should be using str_replace.
 
 
2 hours later…
3:42 AM
i was shown this a while back, but how do you set a value/check if exists, or use another value with regex?
 
@3.14159265358... uhm… that's not very detailed…
 
@3.14159265358... filter_var($value, FILTER_VALIDATE_REGEXP, ['default' => $defaultValue, 'regexp' => $pattern])
Rather it's ['options' => ['default' => $defaultValue, 'regexp' => $pattern]], but hey leave debugging to the minions.
 
3:58 AM
> Illegal array key type Ardent\Collection\int
@bwoebi This is related to your PhpStorm issue from earlier :D
 
yep
 
I'm not seeing an issue for it in youtrack.
Guess I'll open one.
 
mhm… found an use for substr_replace() … using these obscure string funcs far too rarely.
that's annoying now… autocomplete in PHPStorm: $header[":au" … :authority suggestion pops up, I type enter… Result: $header["::authority" :-(
 
Added a comment for this on an existing, probably related ticket: youtrack.jetbrains.com/issue/WI-28943
 
And they still don't support ($this->foo)($bar); syntax :-( … I really thought they wanted to support PHP 7 now.
 
4:11 AM
Does it break the entire file?
Or just the line?
 
the line.
 
Then it probably won't be fixed soon.
 
:-(
 
Is there an issue open about it that you can find?
 
4:36 AM
@bwoebi
 
?
 
Oops; I meant to ping you but hit enter too soon.
I hope to have union types for discussion this month.
 
\o/
Anything I can help you with?
 
I am going to try to give the RFC a once-over by the end of tomorrow.
After that I'll need grueling feedback.
And then we'll need to properly implement it.
 
okay
 
4:38 AM
A few things I know I need to expand a bit:
- Type aliasing
- Weak type interaction with `int | float` type stuff
 
git add
hahahahah
I need to identify areas of the engine that assume when a type isn't loaded yet that the instanceof check will short-circuit without loading it.
Now those will always load. (Well, with type aliases I mean. I don't think that will be included in this RFC but I don't know yet)
And other similar things.
 
and obviously travis doesn't catch it … because we don't test that file at all… pff…
@LeviMorrison nah, that's a pretty technical thing. If necessary note that in the PR description...
wanting to test http/2 server push… GODDAMN BROWSER SENT ENABLE_PUSH = 0 :-(
 
4:59 AM
good morning
 
5:21 AM
mornin Orangepill
 
morning
 
5:34 AM
@andrea congrats on the void accept... will be a good addition to the language
 
echo "N", str_repeat('o', 2**64), "!\n"; // is what I have to say to the code I just read
 
@bwoebi Why do we use IS_* constants instead of an enum or something?
 
@LeviMorrison historical reasons I guess… nobody cared enough?
Just a quick question… Is HTTP/2 requiring the special colon-prefixed headers to be before all the others?
 
Abe
mornings
 
I must be missing that somewhere…
 
5:40 AM
morning Abe
 
Abe
can we get rid of the message about ELOISSIFIAhmed ? the public humiliation lasted enough
i nezz coffee
 
6:00 AM
Aerys just got the possibility of HTTP/2 server push promises (with "Link: preload" fallback) https://github.com/amphp/aerys/commit/ec2dc37732a8a7070923993e794a890fcc238e59
 
6:21 AM
2
Q: Getting 500 Internal Server Error on SOAP WSDL call PHP

Ram SinghI am very newbie in PHP, i have some API to which i need to send data. I have used the below code to do this. <?php // define variables and set to empty values $name = $email = $city = $State_Province = $lastname = $ci_Address ="" ; $zipcode = $country = $phNumber = $ReasonforInquiry = $Sched...

please help me
 
moin
 
@JoeWatkins o/
 
@JoeWatkins hey :-)
 
http://chat.stackoverflow.com/transcript/message/26757691#26757691
i thought there was a setting for passing it in easier than that
 
Abe
6:25 AM
o/
 
Abe
have to pick up again a project paused like 5 weeks back. i have no idea what this was about. mind blank
 
my first project is in codeigniter which is almost complete and trying to get new one that one is on magneto
 
:P
maximum projects or jobs that i see needs "strong experience" in frameworks laravel/yii/cakephp or joomla/mageneto etc
 
Abe
i wouldn't be certain they are good jobs
 
for good job need experience and for experience need good job :P confused
 
Abe
7:05 AM
that's fair enough i guess. check doctrine or symphony too?
 
Morning
 
posted on November 09, 2015 by nlecointre

/* by jerry wham */

 
7:23 AM
'nin
 
@JoeWatkins 'nin is a bit weird… It can mean as well mor-nin(g) as eve-nin(g) …
 
I like ambiguous ... moar php ...
 
:-D
 
7:40 AM
Can we please cv mondays?
10
 
7:56 AM
-1
Q: Value is not transfering with GET method

SUJOY ROYWhenever I write echo $_GET['sec']; then it shows the value of sec but when I try the following code: $(document).ready(function() { setInterval(function () { $('#div_id').load('../data.php?id_to=<?php $_GET['sec'];?>') }, 100); }); The value of "sec", whi...

Guys, educate your peers
Damn
(Yea, I know, not fair :P)
 
8:08 AM
@EquinoxMatt that's the point of value objects. or let's say a big part of it.
 
Data won't show.. Am I doing right?
$query = "SELECT tb_coopmember.*,CONCAT(tb_coopmember.last_name,', ',tb_coopmember.first_name,' ',tb_coopmember.mid_name) as wname, tb_coopmember.datestart,
            tb_coopmember.date_resig, tb_memposition.pos_name as pos_name, tb_memdepartment.dept_name as dept_name
            FROM tb_coopmember
            INNER JOIN tb_memposition ON tb_coopmember.pos_code = tb_memposition.pos_code
            INNER JOIN tb_finalpay_detail ON tb_coopmember.coopmemID = tb_finalpay_detail.coopmemID
            INNER JOIN tb_finalpay ON tb_coopmember.coopmemID = tb_finalpay.coopmemID
$query = "SELECT tb_coopmember.*,CONCAT(tb_coopmember.last_name,', ',tb_coopmember.first_name,' ',tb_coopmember.mid_name) as wname, tb_coopmember.datestart,
            tb_coopmember.date_resig, tb_memposition.pos_name as pos_name, tb_memdepartment.dept_name as dept_name
            FROM tb_coopmember
            INNER JOIN tb_memposition ON tb_coopmember.pos_code = tb_memposition.pos_code
            LEFT JOIN tb_memdepartment ON tb_coopmember.dept_code = tb_memdepartment.dept_code
            WHERE coopmemID='".$_GET['coopmemID']."'";
But these query works
When I delete
INNER JOIN tb_finalpay_detail ON tb_coopmember.coopmemID = tb_finalpay_detail.coopmemID
INNER JOIN tb_finalpay ON tb_coopmember.coopmemID = tb_finalpay.coopmemID
 
@Micaela that would mean tb_coopmember.coopmemID does not equal tb_finalpay_detail.coopmemID and so on. You can try a LEFT OUTER JOIN if you want to have tables on the left still returned even if table on the right doesn't match. The all fields from the table on the right will become NULL.
 
but tb_coopmember has coopmemID field. and also in tb_finalpay and tb_finalpay_detail
 
$('#div_id').load('../data.php?id_to=<?php echo $_GET['sec'];?>')
can you really pass functioning php like that? and WHY? seems like an anti-pattern if there ever was one! — Brian Thomas 1 min ago
That guy claims he's been using php for 8 years...
8 years, and never realized you could just dump php into a JS string like that
 
@Cerbrus 8 years of the same experience over and over again
@Micaela yeah, but does the IDs match?
 
8:20 AM
8 years of learning nothing at all,a pparently
 
yes @andho
 
Ahh, sorry, yes, you named it index.html, thats whatn i mean, a .html file. You dont want to name it with the .php extension if you have javascript on it. havent done that for years. and old way of programming, too procedural. So anyway, on the answer to the problem, the deal is you have an include issue i would suspect, the data cant be available unless the variable is set and included, but i think the OP needs to be updated wtih more code, cause were all having fun guessing. — Brian Thomas 3 mins ago
"just have the apache process .html with the php engine"
Is that... Commonly done?
Or is he "special"? I never heard of doing it that way, and his reasons to do so seem far-fetched.
 
user895378
@kelunik that's where the cert validation happens
 
user895378
Aerys does everything possible to let you know if your ssl setup is bad
 
@rdlowrey I just meant that single line, because we already had it in the bootstrap file.
 
user895378
8:33 AM
@kelunik where is it in the bootstrap file?
 
{"type":"urn:acme:error:unauthorized","detail":"Must agree to subscriber agreement before any further actions"} < Automatic certificates are on a good way. :-)
@rdlowrey I don't know, doesn't matter anymore, as it's removed now anyway.
 
user895378
@kelunik why?
 
user895378
It shouldn't be.
 
Because the warning is removed in PHP 7.
 
user895378
Why?
 
8:34 AM
Bob's RFC.
 
user895378
That has nothing to do with php 7
 
user895378
it has to do with checking to see if the certificate you've specified for your server is valid given the current date
 
Of course, will default without warnings to UTC now.
 
hehe
 
Just that single line... not the complete code...
 
8:35 AM
@kelunik the link is against master
and I've removed the line there
 
^^
 
so @rdlowrey is looking at current code and probably confused :-D
 
user895378
^ that
 
user895378
$expiration = date('Y-m-d', $cert['validTo_time_t']);
 
user895378
^ that's the line I'm looking at :)
 
8:36 AM
yeah… there was a date_default_timezone_set(@date_default_timezone_get()); on that line before
 
user895378
oh lol okay
 
user895378
yeah, no need for it anymore
 
@rdlowrey how do I continue the reactor in a register_shutdown_function() ?
 
morning!
 
user895378
$stillRunning = true;
$promise->when(function () use (&$stillRunning) {
    $stillRunning = false;
});
while ($stillRunning) {
    \Amp\tick();
}
 
user895378
8:39 AM
@bwoebi ^ something like that?
 
I said continue… like, we have \Amp\run() in bin/aerys-worker … and the somewhen a fatal occurs and I want to continue
tick() has the same problem
The fatal occurs while tick() or run() are in control
 
user895378
Well TBH the LogicException for recursive tick/run is just a userland-imposed thing. We could relax that restriction in amp and the problem would go away
 
and even through the stack was deleted, the Reactor still thinks we're inside tick() or run().
@rdlowrey sure, we could. But I think the restriction there is a good thing.
Just not in case we bail out there.
I wonder about the clean way how to fix…
 
user895378
Well ... I suppose inside the shutdown function we could call Amp\stop() first then manually Amp\tick() ourselves, right?
 
only issue…
\Amp\stop() sets state to STOPPING, not to STOPPED.
 
user895378
8:45 AM
hmm ... the native reactor uses STOPPED: github.com/amphp/amp/blob/master/lib/NativeReactor.php#L134
 
user895378
should probably be consistent across all the reactors
 
yeah, but not the other two
 
anyone got a good read-up on xxs injection?
 
which is fine, obviously, because else you could call \Amp\stop() and then nest tick()/run().
@rdlowrey should be fixed in NativeReactor then
 
user895378
@bwoebi well I don't think it's a "fix" issue ... in the native reactor nothing else happens after that so there's no point in using STOPPING there
 
8:47 AM
1 min ago, by bwoebi
which is fine, obviously, because else you could call \Amp\stop() and then nest tick()/run().
 
user895378
because the native reactor is in complete control
 
user895378
with the other reactors there are previously registered events for that tick which may still execute
 
STOPPING is basically between stop() and the tick()/run() was left
I think we should maybe have some register_shutdown_function which sets the reactor to stopped?
the only issue with these is that they bind a reference…………
 
user895378
not sure ... it's a difficult issue to solve if we keep the "disallow recursive tick/run" thing
 
That's the point.
 
user895378
8:49 AM
Anyway, I have to do some real work now ... gotta get stuff done before 9 :)
 
@rdlowrey Uhm… Is it 3 a.m. for you? Or are you somewhere else?
 
user895378
almost 4am :)
 
So… working from home?
@rdlowrey I have a suggestion… Add an optional flag to TheReactor::stop() which isn't exposed through the Reactor interface, but is allowed. Just like we're currently doing with getUnderlyingLoop() ?
 
user895378
Nope, I'm in the office
 
@rdlowrey That… are interesting working times.
 
user895378
8:57 AM
I dunno, I really dislike optional flags :/
 
@rdlowrey I'm not happy either, but I'm not having a better idea.
@rdlowrey At least I want to avoid recurring to (function() { /* … */ })->call(\Amp\reactor()) … I think it should be something in Amp. Other people may encounter similar issues after all.
 
9:22 AM
 
@rdlowrey I begin seriously wondering whether we need a restriction to not call run()/tick() after stop(). After all, if you stop, that's your responsibility now.
 
hey what's the thing with monring
like
isn't morning already?
 
Sometimes I wish we'd have native weak references in PHP
 
Sometimes I wish I'd have a date with Aeris
(oh sorry, I don't want to interrupt serious business)
> By the way, I think it's great that you so often report back to the mailing list after discussing with people at AFUP.
you's trolling @Andrea
 
9:37 AM
No, seriously…
I honestly think it's great too.
 
for real?
you mean. people speaking french really get there?
 
ThW
Good Morning
 
o/
 
ThW
@FélixGagnon-Grenier be careful with that smilie - it is really offensive here
 
9:58 AM
@FélixGagnon-Grenier I've said the same thing to him in an off-list mail
 
Hi guys
Is it advisable if I would study php framework laravel already without prior knowledge yet on the basics of Php?
 
@ThW right, here we use /°
 
@user3783598 - I'd recommend learning some PHP first
 
ThW
@bwoebi I didn't mean the chat
 
^^
 
10:04 AM
You'll need it to write controllers, to understand looping/etc for writing blade templates
 
@MarkBaker Thanks bro.
 
And for the basics of accessing Model properties
 
ok thanks
 
@user3783598 even if you use a framework, you still have to write PHP code. So yes, you should learn PHP.
 
10:08 AM
Mornin'!
 
user image
6
Good monday morning
 
Have a nice weekend?
 
haha ok. But is it a good practice if you will learn how to use framework right after learning the basics of PHP or you should finish first studying raw php?
 
@user3783598 Foundations first. The more you understand at a ground level, the easier it will be to work with & understand frameworks.
Think of it as jQuery vs JavaScript
 
Ok thanks bro
 
10:18 AM
jQuery is an ancient armenian word that translates to "I don't know how to javascript" (c)
4
 
:V
 
can you please recommend me a decent php tutorial :)
 
Thank you :)
wait, cuz we are joining a hackaton and we are forced by our team leaders to learn laravel but as you have said i should learn php basics first, so based on your experience how long does it take to learn php? thanks
 
I'm still learning, been nearly 12 years so far
 
10:23 AM
ohhh ok
 
@user3783598 when you go to a hackathon you should use what you are familiar with.
 
@user3783598 "Learn Laravel" and you can be sure you will remain a junior "laravel developer" for years
 
If you ever stop learning, then it's not because there isn't anything more to learn, it's because you've given up
 
I've gotta invest in one of those spangly kindles.
Seem to be a lot more eBooks than paperbacks, but I prefer the latter.
 
haha the hackathon that we are going to join is web app development but i dont know yet php hahahah
 
10:27 AM
Quite the disadvantage!
Or challenge (;
 
10:45 AM
...why the hell is it ZEND_BEGIN_ARG_INFO? Should be ZEND_BEGIN_PARAM_INFO. Arguments and parameters are different
 
@salathe can I also just sign up for a php.net license of phpstorm? I asked them about renewal of OSS license, but they didn't really respond to me :( This would be easier for me
 
Uhh, it's Ninja Rockstar, actually. Flicks hair
 
ah hmm hmm
 
Never stop being awesome javascript...
71
Q: Why does typeof NaN return 'number'?

KooiIncJust out of curiosity. It doesn't seem very logical that typeof NaN is number. Just like NaN === NaN or NaN == NaN returning false, by the way. Is this one of the peculiarities of javascript, or would there be a reason for this? Edit: thanks for your answers. It's not an easy thing to get ones...

 
10:51 AM
should an internal IS_VOID-returning function have allow_null be set to 1? @NikiC
that parameter is obvious redundant but I'm wondering what value to put
 
@PeeHaa typeof null // 'Object'
 
@PeeHaa because NaN is a Number
 
I know. It's in the answer, but question. Still it's funny to me
 
$ php -r 'var_dump(is_numeric(NAN));'
bool(true)
where is your god now
 
:P
Fuck I don't know who told me to just fucking use momentjs @abe? @kelunik? but thanks!
This just has to be the most sane least horrible way to handle TZs I have ever encountered
 
10:56 AM
oh yeah I think I've used that, it was nice
 
Abe
it can't be me because you told me to use it..... you told me to use something that is shit :|
 
Oh... :P
 
Abe
:P
how do tz work?
 
magic meme
 
fucking timezones, how do they work?
 
10:58 AM
@Abe the way they work changes with time. But the thing is, time changes depending on TZ
 
@Abe You just define an element in UTC and magic guy meme
 
tempora mutantur, nos et mutamur in illis
 
Abe
element in utc? like a div?
 

« first day (1850 days earlier)      last day (3098 days later) »