I can definitely believe that for a bus to be better for the environment than a car, on average it will need to be filled with a certain amount of people. I also definitely believe that number needs to be higher than 1.
I find it hard to believe that this is true for a full bus though, so I would be curious where that line is.
Very interesting. I hope they focus a bit less on identity and instead give us a modern take on it. Back then it may have been reagan, but now we got trump which fits well into the dystopia theme!
What about a game like Animal Crossing in which it turns out the player is actually a horrible user and NPCs try to awkwardly play out their role, occasionally breaking out in tears.
What I missed in Foundation was relatable characters. I felt that Asimov was a great world builder, but never once I felt strong emotions towards the characters. It felt more like reading a series of events.
In the past I always felt really mixed with Linux distro's running behind. For the most part, I want extreme stability and no BC over long periods of time, on the other hand... there's a select number of packages where I don't feel this way. Usually this ends up being just the runtime of the programming language I'm using.
So with Docker becoming widespread, I'm actually really happy because I can have it both again. Distro's can be as stable as they need to be. I don't care that they want to run PHP 5.4, because there's other PHP-based packages that they might want to run on exactly that version. I just run the latest PHP (or Node) in a docker container. Best of both worlds imho.
IP addresses may be shared (think: multiple computers in a house or in a corporate network)
Cookies (sessions) might be be deleted.
If you're making some kind of public voting mechanism, then the best thing you can do is not worry too much about people voting multiple times. It really depends on the use-case what a good solution might be.
The autoloading part was nice, but not that much of an innovation. PEAR had done that, and a number of PSR-0 tools existed at the time to easily generate fast autoloaders. What composer did right was:
Release with packagist, a repository where everyone can upload regardless of the quality of the package. This was in contrast with existing package managers where you might had to go through a lengthy vetting process or alternatively, run your own channel (which was cumbersome).
A much, much better UX (in the cli, and composer.json).
Integrate deeply with Github instead of making people create archives and upload them.
A generator is also a unique language feature that allows you to pause functions and throw exceptions into paused functions (using Generator::throw()).
I think given the option of returning an array or a generator, the generator really is the better choice because it's more inconvenient. If PSR-16 implementations return arrays, PSR-16 users might start to assume that all PSR-16 implementations will. A generator forces you to loop through it, which is a bit more cumbersome but is a better guarantee that users will use it correctly. It might also save a bit of memory =)
Very close to my original proposal from 2012. Glad to see that that was in the end considered the right approach =)
One thing I'd wonder though, why not add PHP 7 type hints? Seems like the right choice given that PHP 5.6 is on security-only updates and only new code will likely adopt this.
Regardless, I'm going to write a little sample implementation to see how easy this is. Looks great!
Although I'm not certain, I imagine that you do get a bit of a loss in speed. So it's a great choice when dealing with a lot of data, but when your dataset is small enough you might benefit again from regular arrays.
You're not just wrong, you're also being a complete jerk about it. I don't really understand this hyper aggressive response. Where does this come from? Do you think this is an acceptable way to communicate with people? Would you respond similarly if the article came from someone you see on a daily basis?
I can relate to being strongly inclined to point out errors after reading an article, but try to be a bit more civil. I'd like to think that you're just having a bad day, but a quick look at your comment history tells me that you're just a very angry person. I hope you're ok.
I can definitely believe that for a bus to be better for the environment than a car, on average it will need to be filled with a certain amount of people. I also definitely believe that number needs to be higher than 1.
I find it hard to believe that this is true for a full bus though, so I would be curious where that line is.
Anyone been to Festival Number 5? It's a yearly music and art festival on the set of the prisoner. It's beautiful!
Very interesting. I hope they focus a bit less on identity and instead give us a modern take on it. Back then it may have been reagan, but now we got trump which fits well into the dystopia theme!
It seems much easier to just agree that it's a polarizing movie.
To make it easier to read:
There's a music festival every year at the set of this original show, called Festival Number 5. It's the best festival I've been to.
What about a game like Animal Crossing in which it turns out the player is actually a horrible user and NPCs try to awkwardly play out their role, occasionally breaking out in tears.
Depends on your reference point. I don't think there's an objective reference point.
What I missed in Foundation was relatable characters. I felt that Asimov was a great world builder, but never once I felt strong emotions towards the characters. It felt more like reading a series of events.
In the past I always felt really mixed with Linux distro's running behind. For the most part, I want extreme stability and no BC over long periods of time, on the other hand... there's a select number of packages where I don't feel this way. Usually this ends up being just the runtime of the programming language I'm using.
So with Docker becoming widespread, I'm actually really happy because I can have it both again. Distro's can be as stable as they need to be. I don't care that they want to run PHP 5.4, because there's other PHP-based packages that they might want to run on exactly that version. I just run the latest PHP (or Node) in a docker container. Best of both worlds imho.
If you're making some kind of public voting mechanism, then the best thing you can do is not worry too much about people voting multiple times. It really depends on the use-case what a good solution might be.
There's nothing specifically in here that requires a queue. It sounds like you just need to build a HTTP api thats consumed by multiple services.
translator, transpiler, compiler, converter. It's whatever you want it to be.
Websockets driven by PHP? How is this implemented? As a PHP TCP daemon or using something non-php for the endpoint?
Basic programming functions is maybe using raw sockets. curl is a library. Either way this comment makes no sense.
The autoloading part was nice, but not that much of an innovation. PEAR had done that, and a number of PSR-0 tools existed at the time to easily generate fast autoloaders. What composer did right was:
Here's an example I wrote that really uses this, to support co-routines via generators (pretty similar to async/await in HHVM or ES2016):
https://github.com/fruux/sabre-event/blob/master/lib/coroutine.php
A generator is also a unique language feature that allows you to pause functions and throw exceptions into paused functions (using Generator::throw()).
Thanks!
I think given the option of returning an array or a generator, the generator really is the better choice because it's more inconvenient. If PSR-16 implementations return arrays, PSR-16 users might start to assume that all PSR-16 implementations will. A generator forces you to loop through it, which is a bit more cumbersome but is a better guarantee that users will use it correctly. It might also save a bit of memory =)
Done! https://github.com/fruux/sabre-cache
I saw it! That's really nice =)
Very close to my original proposal from 2012. Glad to see that that was in the end considered the right approach =)
One thing I'd wonder though, why not add PHP 7 type hints? Seems like the right choice given that PHP 5.6 is on security-only updates and only new code will likely adopt this.
Regardless, I'm going to write a little sample implementation to see how easy this is. Looks great!
This desperately needs to go in the FAQ.
Although I'm not certain, I imagine that you do get a bit of a loss in speed. So it's a great choice when dealing with a lot of data, but when your dataset is small enough you might benefit again from regular arrays.
You're not just wrong, you're also being a complete jerk about it. I don't really understand this hyper aggressive response. Where does this come from? Do you think this is an acceptable way to communicate with people? Would you respond similarly if the article came from someone you see on a daily basis?
I can relate to being strongly inclined to point out errors after reading an article, but try to be a bit more civil. I'd like to think that you're just having a bad day, but a quick look at your comment history tells me that you're just a very angry person. I hope you're ok.