« first day (1742 days earlier)      last day (3206 days later) » 

12:03 AM
lxr.php.net/xref/PHP_TRUNK/sapi/phpdbg/phpdbg.c#1928 … CLEANING, RUNNING, QUITTING flags and cleaning variable …?!? I'm lost!
will retry tomorrow, lol.
 
12:15 AM
@zerkms yw
@rdlowrey grats for 1.0.0!
 
12:47 AM
interesting:
> While this change handles the situation for works covered by the GPL, it does not help works covered by lax permissive licenses (such as the X11 license) that do allow such additional restrictions. With that in mind, the FSF has urged Canonical to not only respect the GPL but to also change its terms to remove restrictions on any of the free works it distributes, no matter which license covers that software.
 
1:00 AM
@hakre link?
 
it's about using ubuntu within docker containers and other similar cloudy stuff... .
 
yet another reason to avoid the GPL at all costs
 
you should better read
for the GPL parts it's clear and worry free, the problem are the non GPL'ed parts.
 
@hakre actually, no
it's just written that way
 
actually Canonicals restrictions apply to all binaries but those under GPL.
For all other binaries you have to remove all Canonical trademarks or only take binary images from canonical without any changes.
any changes literally.
no modifications.
 
1:05 AM
yes, and that's fair (literally) because that's the license term
 
yes it's about license terms, and no, I won't call that fair.
 
does that mean you can't use it in binary form as part of a greater GPL'd package? Yes. That's the whole fucking point. You're not "restricting the freedoms of the GPL'd package". That's horse-shit. You're explicitly breaking a license because you disagree with it.
does that term in Canonical's license make sense? No. But it's their right to put it there
just because you wrap whatever license you want outside it doesn't change Canonical's rights
 
???
I dunno which movie you're in, but it sounds rather off the track.
I don't complain about Canonicals rights, it's just that as a user of Ubuntu you can't (effectively) use it - for example in a Docker container.
Unless you take the image unmodified.
However with a docker container you most likely apply changes.
When you do that, you have to rebuild all binaries and strip all trademarks which is what Canonical asks you to do.
At least that is what I understand about it so far.
 
then complain to Canonical
that's their license
and their right to have it
This is not about that
this is about the fact that Ubuntu ships with some GPL code. And they are saying it's a GPL violation to require recompilation. You know what? That doesn't mean you can't force recompilation. It just means you can't force recompilation of GPL'd code inside the package.
If it's copy-left, then the GPL would apply to the parent and the entire license would be void. If it's not copy-left, the GPL has no bearing on the license (or grants made by the license) of the wrapper code.
 
It has been complained to them for around two years. And the GPL'ed parts are not touched by that. For what has been asked for is to make this more worry free to use for parts under X11 (MIT etc.). The parts under more lax licenses are the angle of enforcement.
 
1:15 AM
you're missing my point
the Canonical license doesn't apply to the individual packages (well, dependencies)
it applies to the host code and branding
you can take a binary version of the kernel and never have to recompile it
you always could. The Canonical license can't touch that
same with all other licensed code
the difference comes when you take the binary version of the entire package
Either it's a derivative work (and hence subject to the GPL) or it's not (and hence not)
 
@ircmaxell: It's less about Software-Licenses, more about the lack of some software licenses regarding intellectual property rights they give to the user and therefore can be reserved by Canonical. Here is their now more concrete policy: ubuntu.com/legal/terms-and-policies/…
 
> lack of some software licenses regarding intellectual property rights they give to the user and therefore can be reserved by Canonical
no, no open source (OSI compliant) license limits rights given to the user. None. Not a one.
they MAY limit the rights given to a redistributor (which is the crux in this case)
 
Another comment to that can be found here: sfconservancy.org/news/2015/jul/15/ubuntu-ip-policy
 
I've read that already
 
1:24 AM
@ircmaxell I'm interested to know (if you know and/or can disclose) what Google's attitude towards the GPL is. The derivation clause(s) seem quite Google-esque - feel free to use this but we still own it - and yet they promote and contribute to a lot of free-er software (e.g. bits of Chromium that Google "own" are BSD licensed) which is less restrictive. And who gets to make that decision?
iirc there was a small amount of legal stuff w.r.t. Recki, expected with an entity like that but still kind of alien
 
@DaveRandom take a look at the licenses used by google's open source stuff
Apache2 mainly
because GPL is avoided (it can be used, but not created). AGPL is outright banned
 
haha
Apple's choice is based on software patents. A license must allow them to bring in their patents against users. This is why Apple avoids GPL 3 which does not allow such behaviour.
 
i spent 10 minutes on it, and know i need to escape it, but what's wrong with the onkeypress:
<input type='text' onkeyup='javascript: search(\'subs/homefront/list_articles.php\', \'homefront\');' class='box' name='search' id='search' placeholder='Search Blog' autofocus>
 
I've never managed to wrap my head around the Apache license, it reads a lot more like a real legal document than most of the things I use and it always hurts my brain when I try and understand it (same with GPL, actually. I tend to MIT or copy-left things, even then I'm not sure what the implications are - I write code, people can use it if they want for whatever they want and modify it however they want
 
Yes, it always start that simple :) And then it's not.
 
1:29 AM
That's the privilege of an independent entity though, I suppose. Other people actually care about this stuff.
 
nvm
 
@php_purest What's wrong is that you are using Javascript inlined in HTML attributes. In the nicest possible way, please move into this decade ;-)
The best way, pretty well established now, is to attach event handlers to elements in the JS object model of the DOM, HTML provides nothing but presentational structure. Application logic certainly does not belong there, in the same way as styling does not belong there.
At the fundamental level it's basic separation of concerns, but it also makes it a lot easier to reason about in general (not least because you aren't dealing with code where the source-code has been escaped for some specific, unrelated format)
@ircmaxell I've felt for a long time that the GPL is harmful to the intent that created it. I get (and agree with, mostly) the whole "free as in speech" thing but freedom is not really freedom if you are dictating to people that they must not only be free, but also themselves dictate to others that they must be free.
It's essentially freedom, fascist style
(obv. a harsh summary, but not entirely unfair I feel)
 
it's also oversizing. the main difference is that it's a reciprocal license, which btw., is the most common form of licensing you find out there.
the difference is, that GPL uses that reciprocity to preserve the users freedom with the work.
it's always the decision of the original author on how to license the work, so you're free to choose whichever terms you like, there is no dictatorship.
 
@hakre Not really. True freedom would allow the user to make their derivative work propriety.
Well, at the more fundamental level, true freedom would not restrict the user in any way
That's pretty much the definition of freedom, in fact
 
@hakre uhhh, other way around
@hakre no, it preserves the freedom of redistributors. Users keep all freedom with any OSI license
@hakre that's not true.
 
1:44 AM
@DaveRandom you're asking for the freedom to restrict others. So what would be the freedom for that one user, wouldn't be for another.
 
@ircmaxell the API reflects what it represents. Browser makers, well, don't necessarily know if support for a codec is available
 
@hakre if I make a wordpress plugin, that's counted as a derivative work and hence subject to the GPL. Even if it used NO apis at all, the fact that wordpress calls it is enough to say "Derivative work". How is that my decision?
I have no issues with requiring redistribution rights. That's not what the point of the GPL is though
 
(doesn't mean it's ideal, though. how the hell do you handle a maybe?)
(actually, I think you're supposed to try probably and only use maybe as a last resort)
 
@ircmaxell I dunno how much that was your decision to create a derivative work. As you bring this as a hypothetical example, you should say whether or not it actually is a derivative work. As GPL realtes to copyright and you're talking about your decisions, I assume you mean your decisions according to the rights you have.
 
@hakre Yay paradox. But at the same time, for any given thing that I created I am at the root of the tree. If I give people complete freedom to do whatever they want, then I don't really care if they subsequently restrict the freedom of others, and indeed even the GPL partially has this property.
Basically (IMHO) if you release the source code for something then you are saying "this is public domain and anyone can whatever the hell with this if they acquired it from me". If you're not OK with that, it should be closed-source and/or directly monetised.
 
1:49 AM
@hakre let's say I made password_hash into a wordpress plugin. And due to how plugins worked, I didn't have to write any glue code. Just drop it in and be done. I'd be forced to license it as GPL.
 
(IMHO, YMMV, WTF, contents may differ from image shown, slippery when wet, fire kills children, insert other disclaimers here)
Hey @Andrea is here o/
 
@ircmaxell Only if it's a derivative work.
 
How's life treating you @Andrea? Got bored of hacking other random things and considering a return to PHP yet? :-D
 
@hakre in terms of the law, it is, because it runs in the same process space, therefore it's a derivative (I've had conversations with the Authors of the GPL about this)
 
@ircmaxell Derivative works are not about technicalities.
 
1:52 AM
@hakre yes they are. This fits in the greater framework of US copyright law. You have to take case precident into count
@hakre yet another reason to hate the GPL: it never defines what a derivative work is (in terms of the law)
 
@ircmaxell Luckily there are international treaties the US has accepted despite their case-law :D
 
@hakre good luck with that
 
@ircmaxell The GPL can't. Only a Judge can.
 
@hakre because the GPL doesn't
it can define what is considered a derivative or not. But it chooses not to in order to create more ambiguity
 
@ircmaxell No, because it depends on the work. The GPL does not know all about the work, it most likely was even written before the work.
 
1:55 AM
@hakre dude, one of the authors of the GPL v3 said, both in talks and in private, that it was an explicit decision to not define derivative
 
@ircmaxell But that must not mean that this decision was done to create more ambiguity.
 
@hakre he said as much
he said that it's in the advantage of the GPL to remain ambiguous
it's designed to be ambiguous. That promotes its virality
 
I think that's more personal opinion. I don't say that it won't apply (sounds a bit like marketing to me tbh), but the point I see with the derivative work is that no sane software license can define that, it only can relate to the term from the law.
Because it's based on it.
 
the FSF has publicly said that
 
that?
 
2:04 AM
>
it's designed to be ambiguous. That promotes its virality
 
@DaveRandom My understanding of the Apache-2 license is that it is as permissive as MIT, but explicit about granting usage of the code and any patents within to the user of the code for any purpose.
 
@ircmaxell So then this is marketing. However the license must also work and it's foundation is not only such marketing. So there is more to it.
For example copyright law and the definition of a derivative work that your case-law gives you (not only the GPL btw, the case-law is ambiguous here, too, most likely to make requiring a lawyer more viral ;) )
 
Why i don't get results in json?
if ($type == 0) {

	//Post if it doesn't exist
	$result = $databaseAccess->postNormal($deviceID, $type, $title, $location, $longitude, $latitude);

	//Return Post Created Message
	if ($result) {
		$returnValue["status"] = "Success";
		$returnValue["message"] = "You have successfully posted to App!";

		echo json_encode($returnValue);
		return;
	}
}
 
@BrianS possibilities: 1.) $type != 0; 2.) !$result 3.) output is buffered and then thrown away. 4.) the program crashed before output.
 
Hi everyone,Is there any free vpn?
 
2:12 AM
I know $type = 0
for sure
 
@BrianS good, next point to check is $result.
 
$result is the issue
this is result function
public function postNormal($deviceID, $type, $title, $location, $longitude, $latitude){

		$sql = "INSERT INTO posts SET  deviceID = ?, type = ?, title = ?, location = ?, longitude = ?, latitude = ?, time = UTC_TIMESTAMP()";

		$statement = $this->connection->prepare($sql);

		if (!$statement)
			throw new Exception($statement->error);

			$statement->bind_param("sissdd", $deviceID, $type, $title, $location, $longitude, $latitude);
			$returnValue = $statement->execute();
		return $returnValue;
The entire code use to work, now it doesn't print json @hakre
 
what value has $result effectively?
 
or error
Post to database
 
@BrianS may the var $result is empty,u can see the things by using print-r($result)
 
2:18 AM
better use a step-debugger and place a breakpoint. then you can even follow what the program does.
 
@stevenlee result is empty
@hakre this start happening when i change server and install fresh php
 
also enable error logging to the highest level and follow the error log. you might just have some configuration issue.
 
Yes is E_ALL
 
@BrianS so u should firstly check $result,track the method postNormal
 
@stevenlee i did, everything is correct
This is the weirdest thing ugh
 
2:34 AM
man I really need better graphviz skills
These graphs look so booooring phpden.info/binary-search-trees-in-php
need more sexy++
 
2:49 AM
good mornin
 
@Orangepill lies!
 
@sherif graphics look good to me... maybe because I have seen to many ascii representation of the same thing. Was curious though is there any time you would want to implement a Binary tree in PHP other then for academic purposes?
 
@Orangepill Yea, if you want O(log n) deletion and insertion, which you can't get with a hashmap from native PHP objects.
 
I'm not trying to be cheeky or anything... I have just found php's arrays performant enough that I have never considered it for anything.
 
3:00 AM
@Orangepill The problem with PHP arrays is that they aren't arrays at all. They're ordered haspmaps. i.e. you can't ever change the key
Hashmaps are great because they give you O(1) search, but they fail in many other performance characteristics.
 
@rdlowrey Did me ol' leviathon be useful?
 
It may be enough for a broad majority of use cases, but that doesn't mean you won't ever run into one where it doesn't hurt you pretty bad.
 
What are the biggest performance characteristic that suffers for hashmaps vs. binary tree... memory utilization?
 
3:19 AM
Should I take quantity of CI and Laravel questions on SO as an indication that those are the most popular frameworks available or as those users are the ones that need the most support
 
popularity != quality ;-)
 
so both :)
 
3:37 AM
/action/zt/?c=pt20150724&a=set_contact&name=\xB9\xC8\xB5\xC2\xB2\xC6&game_accoun‌​t=2102143527&qq=2102143527&phone=13092398169&address=\xB8\xD3\xD3\xDC\xCF\xD8\xC0‌​\xF7\xD7\xAF\xD1\xDB\xBF\xC6\xD2\xBD\xD4\xBA\xC3\xC5\xBF\xDA&zip_code=000000
I see my ngnix logs , found this url log,so I really can't work the encoding
 
looks to me like someone is attempting to find some exploitable code
 
3:52 AM
Ahh, GIFs still have value :D
Thank you CompuServ!
 
4:29 AM
are you going to go into rebalancing the tree?
 
No, it's a balanced. The implementation doesn't allow for an unbalanced tree.
I mean, you could shoot yourself in the foot and insert a contiguous set, but that's a much higher level concept of enforcing balanced trees. Didn't really want to dig that deep in one article.
Still haven't finished adding the bit about walking the tree though. I never realized how useful generators can be for this stuff :)
 
It's a good article... very clear... better then what I encountered in school
 
Thanks :)
I'm trying to put together a bunch of these. If I can teach someone a high level concept in under 15-20 minutes it'll prove to be a worthy heuristic.
I'm also trying to put together short 2-3 minute videos that explain things like this rather concisely like the series of youtube videos I did on Database Normalization youtube.com/…
It's hard to explain complicated technical topics in less than 3 minutes :/
 
actually I had just watched those about 15 minutes ago.. after reading through your article.
I notice you stopped short of 4NF....
 
Yea, I really haven't had much time to work on videos lately. It takes up a lot of your time to put those together.
 
4:43 AM
had trouble finding a real world case where you would want to do that :)
 
That series was actually supposed to span 15 videos, but meh.
@Orangepill Honestly, most people have enough trouble applying 3NF that they rarely ever get to a place where they are 4NF
 
IMO ... 4NF is a good idea gone too far. 3NF gives a 1 to 1 relationship between types of things and tables and that is the most accurate model
 
Well functional dependencies can easily sneak up on you over time as you modify your schemas or add new shemas, but they're usually pretty easy to catch. Multi-valued dependencies, on the other hand, are much less obvious. Both are still valid if you want truly normalized data.
The problem is most people forget that a schema is just a structured way of formulating answer to pre-determined questions.
The problem is that it's too easy to abuse a relational database and only come up with the question after you've already devised the schema and then get too lazy to go back and modify that schema in fear of corrupting or breaking your data.
Or worse, your code.
Which is why not all data always makes sense in a relational database.
Sometimes you need to store data now, and figure out how you're going to use it later. Which means you might use NoSQL-esqueue databases now and then ETL them into a relational database later.
In the mean time you can still do a lot of useful things with the data, and the caveat is those things are subject to change without warning, so the parts of the system relying on them should only be depending on the aggregate data and leave the source of truth alone.
It's basically the same way you build 3-tier infrastructure on the web today. There's always some middle-man you can swap out without effecting availability.
 
5:15 AM
@ircmaxell my god
 
Yea, we all knew HTML5 sucked from day one. No surprise there.
We have nowhere to go but up from here :)
Since we set the bar so friggin' low!
 
@sherif that makes a lot of sense...
 
@JoeWatkins How does pthreads handle static variables in a function? I'm seeing an issue where I'm storing an object in a static variable and getting a segfault (or another object) in the thread.
 
5:34 AM
@Trowski poorly
are you using php5 ?
 
Morning..
 
@JoeWatkins In this case yes.
So far my solution is to just use PTHREADS_INHERIT_INI and re-include the autoloader to start over.
 
So that's a problem that can't easily be fixed?
 
thats wrong, no it can be fixed
 
5:36 AM
0
Q: how to retrieve woocommerce product details based on their category_id using mysql -php

PrabsI have to retrieve the product details such as image title,description,image link and price from woocommerce table. I've retrieved the categories with this Query, $result = mysql_query("SELECT term_id,name,slug FROM wp_terms WHERE term_id IN (SELECT term_id FROM wp_term_taxonomy WHERE pare...

 
just need to separate the array properly, it'll be fixed in seven and backported to 5 ...
 
@JoeWatkins Yeah, if you could fix that I'd really appreciate it.
 
Could you people kindly help me in solving this
 
@JoeWatkins Awesome, thank you. Would it be possible to push that change soon? I was hoping to release something relatively soon using pthreads.
 
5:50 AM
@Trowski well, I planned to do the final 5 release in tandum with initial 7 release
I've found a few bugs that haven't been backported yet
I'm not so close to the first seven release yet ...
out of interest, what you releasing ?
 
@JoeWatkins Alright, I'll just use the work-around until it's fixed. Working on github.com/icicleio/concurrent
 
Morning
Frydai!
 
The goal is to be able write a blocking task within a callable, then execute that task in a thread and return a promise that is fulfilled with the eventual return value of the callable.
As well as providing tools to create more complicated threads that can pass messages back and forth.
 
@Trowski tbh, when you are setting up threads for such specific work, it's going to be more efficient to use start flags to configure the context, because you don't know what the end user included, you can't tell if that code is compatible or is going to misbehave ... so I would stick to your workaround as the solution really ...
 
@JoeWatkins Alright, good to know. Maybe it is better to start with a clean slate.
 
5:56 AM
even if it doesn't misbehave, you might end up copying a million classes you won't use ... which is hugely wasteful, the threads will be much much lighter if you do what you are doing now ...
aswell as more predictable, easier to debug, faster to shutdown and destroy ... yeah clean slate is best ;)
 
The only issue then is reinstating the composer autoloader, but that should be fairly straightforward.
 
yeah, make it first call in run() to include vendor/autoload.php
/me is afk, walking dogs
 
6:14 AM
Just got a chat privilege apparently, so popping my head in briefly to say "Hello"
 
Watch where you stick that head in :D
 
ahaha... no worries
 
6:33 AM
hi ,$str = "\xBD\xAF\xD1\xEE";
is this string a hexadecimal one?
 
it appears to be
 
$str= str_replace('\x', '%', $str);
$str= urldecode($str);
echo $str;
$url = '/action/zt/?c=pt20150724&a=set_contact&name=\xB6\xC5\xB4\xF3\xB4\xBA&game_account=duyingchun123123&qq=1845114895&phone=13684663395&address=\xBA\xDA\xC1\xFA\xBD\xAD\xCA\xA1\xCE\xE5\xB3\xA3\xCA\xD0\xB0\xCB\xBC\xD2\xD7\xD3\xCF\xE7\xB4\xF3\xB7\xBF\xD7\xD3\xB4\xE5&zip_code=000000';
$url= str_replace('\x', '%', $url);
$url= urldecode($url);
echo $url;
 
6:52 AM
Let's talk about fw Zend2. How to retrieve value of another element while rendering form element?
 
I get the ngnix logs url like "\xBD\x"
 
@stevenlee , is it binary data?
 
I don't know
I got it from my ngnix request logs
it's more likely hexadecimal data.
 
/me returns, soaking wet
 
7:04 AM
hello guys
 
hello
 
@FlorianMargaine Almost.... Almost.
 
It's a very well reasoned article.
> SEATTLE — An accounting charge wiped out Microsoft’s profit for the quarter, leading to its largest loss ever, the company said on Tuesday, making clear the cost of its missteps in the mobile business.
> The $7.5 billion accounting charge, stemming from Microsoft’s troubled acquisition of Nokia’s cellphone business, was disclosed by the company earlier this month, along with plans to eliminate 7,800 jobs, mostly in the company’s phone operations.
 
@Sherif god damn it
 
Oh, the story is real the link is not :)
 
what is the faster preg_replace or str_replace ?
 
7:29 AM
@Epodax Did you read @FlorianMargaine's article on top 10 reasons you shouldn't click links on friday?
@발렌탕 array_reverse
 
@Sherif stop_joking
 
@발렌탕 The answer is as sensible as the question. They each do different things. Asking which one is faster is much like asking which color is tastier.
 
holy f... dude please if you have no real answer, just turn it off
 
@Sherif Almost did, First I was like "Oh, sounds interesting" but then I was like "Waaaaait a minute"
 
@발렌탕 Turn what off, exactly? The Internet? My phone? The TV?
@Epodax heh, sneaky isn't he
 
7:35 AM
@Sherif Issue is when I'm just SLIGHTLY distracted I'm very, very gullible.
 
We're all gullible on Friday.
It's half of what makes it Friday!
 
@Sherif roll on
 
@발렌탕 Tell me, how do you compare the speed of str_replace against preg_replace('/(?<=\s)(\s)+(?!\n)/', '$1&nbs;', $str)? What's the criteria for determining faster when one simply can't even perform the function of the other?
I know an airplane, in principle, is faster than a car, but does it really make sense to ask if it is faster than car at all? How long would it take you to take off with a plane and land 5 miles away vs just driving 5 miles with a car? Clearly not all things are created equal when considering speed.
@RonniSkansing It's funny how youtube just stopped calculating statistics for that video at some point.
They must have been like "guys, this is not funny anymore..."
 
7:51 AM
mornitng
 
=] it is
o/ PeeHaa
 
\o
 
8:15 AM
Hmm
does anybody know when this was introduced?
> Cannot bind closure to scope of internal class
 
3v4l?
 
That's PHP 7, I believe.
 
It's in PHP7, just wondering if there was an RFC for this change: currently breaking all my stuff
 
Generally speaking, since it is a major version release, you should expect that any of your code part will stop working as it was before
 
Yeah, now checking if I can find a workaround
 
8:19 AM
Morning
 
If I can't, then I'll need some help in finding an alternate way
 
@Ocramius Doesn't look like there was ever an RFC for it git.php.net/… just got committed one day.
 
@Ocramius I would say it is pointless as it might change. I mean, if the version isn't yet even in beta, such stuff might change and your workaround will fail
 
why doesn't php throw an error if you try and run this check: false > 0
it returns false, but i thought it would throw some kind of type error, as you're comparing if a boolean is greater than an int?
 
@AaronHarding Because it's not an error php.net/language.types.type-juggling it's well-defined behavior in PHP.
 
8:22 AM
Btw, one of @Ocramius's "workarounds":
[exec] PHP Warning: Unterminated comment starting line 3 in ...
<...>
[exec] PHP 3. Symfony\Component\DependencyInjection\Dumper\PhpDumper->dump()
<...>
[exec] PHP 7. array_map() /vagrant/vendor/ocramius/proxy-manager/src/ProxyManager/ProxyGenerator/LazyLoadingValueHolderGenerator.php:92

:P
 
@Sherif oh, well thanks! i understood how it's type flexible but this behaviour surprised me
 
@AaronHarding Sure, PHP is full of surprises
 
:3
yep
 
@AlmaDo beta = frozen
@AlmaDo oh? Why didn't you report that?
 
@Ocramius but there's no beta for PHP7, or... ?
 
8:24 AM
PHP7 is already in beta2...
/me slaps @AlmaDo: WAKE UP!
 
@Ocramius Meh, I've seen people sneak things in after beta before. That's not such a well-enforced rule, really.
 
I thought it's alfa yet... ouch
 
That change likely needs a revert btw
currently makes a mess.
 
Indeed, then go ahead with "workarounds" :p
I need to work less..
 
@PeeHaa Hello :)
 
8:30 AM
Fatal error: Uncaught TypeError: Argument 1 passed to Errors::isError() must be an instance of integer, string given, called in /usr/src/answer.php on line 50 and defined in /usr/src/answer.php:3
Stack trace:
#0 /usr/src/answer.php(50): Errors->isError('3')
#1 {main}
  thrown in /usr/src/answer.php on line 3
I thought we'd seen the last of stupid messages like that ...
 
@Ocramius when I change Zend code version, it disappears. Anyway, to report I need to extract it from production code, but even one bundle from there is 50k LOC.. and it is related to others..
 
@AlmaDo aye, but at least report it, even without actual code example. The generated code would be enough.
 
JavaScript + PhantomJs boo!
 
8:56 AM
$current = strtotime('2016-07-24 20:56:25');
$current = strtotime('2017-07-24 20:56:25');
$current_year = date('Y',$current);
$current_month = date('m',$current);
for ($i=0; $i <= $current_year-2015; $i++) {
    $year = 2015+$i;
    $all_table_map = array(
        '1'=>$year.'_0103',
        '2'=>$year.'_0406',
        '3'=>$year.'_0709',
        '4'=>$year.'_1012',
    );
    foreach ($all_table_map as $key => $value) {
        if ($current_year==$year && $current_month < (($key-1)*3+1)) {
            array_pop($table_map[$year]);
so i wonder if the code can be improved.
it looks so ugly
 
ok, found a workaround for now...
 
(:lol
I'm in china,so it's in the daytime.
 
Anonymous
9:22 AM
monin
 
9:33 AM
morning everyone
 
9:46 AM
happy rebeccaday
 
Happy Rebeccaday gordun!
 
trivia: if I had known that @chozilla would show up here two days after we attended the same UG meeting irl, I would have introduced myself on that occasion.
 
@Gordon why? don't be polite!
 
it was probably too warm for chitchat anyways ;)
 
@Gordon: well I wrote a warning message: chat.stackoverflow.com/transcript/11?m=24605771#24605771
 
9:52 AM
@chozilla didn't see that and wouldn't have known that it was the same one I was going to.
I was there with Alexander and Johannes
sitting on the couch most of the time
 
I'm really confused about why this PHPT test fails only on PHP7: gist.github.com/Ocramius/b140bae2d8b948c82382
 
@Gordon I talked a lot with johannes later on
 
@chozilla yes, I know. At the whiteboard. About references.
 
@Gordon well, I had fun, asked questions like "whats wrong with that php6" and stuff like that ;)
 

« first day (1742 days earlier)      last day (3206 days later) »