Hack does type inference. It doesn't do let-polymorphism because that plus subtyping is formally undecidable. But you only have to declare the types of functions, not every variable inside those functions.
To be fair to Facebook, no other languages had those advantages in 2002-2003. Assuming you didn't want to use F/CGI, plugins for Apache or the equivalent, your server-side scripting options were JSP, Asp.NET and PHP.
PHP was a reasonable choice under the circumstances, but they've now reached the limit of what it can do. It's good to see that they're moving to an entirely new and better language which just happens to have a similar syntax. If I was a Facebook engineer, I could live with that; syntax matters, but it doesn't matter as much as semantics and pragmatics.
No. Facebook is developing a new language which is syntactically similar to, and inter-operates with, PHP. Calling Hack a "version of PHP" is like calling Delphi a "version of ALGOL".
That's true. If you define "religion" as "that which I don't like" (like Christopher Hitchens did in God is Not Great), then all religions have that in common.
...and yet if you look at it with a critical mind and a lot of reason and a lot of scientific investigation, you find that it has significant benefits, as TFA points out.
Besides, this is Slashdot. We quite like fantasy. And sci-fi, too!
All the benefits of religion can be had from secular means that don't encourage magical thinking, [...]
They can be had from such means, but generally they aren't.
There are two ways out of this: either force yourself to do religion-like practices regularly, or reform religion so that it's less odious. Both have been tried, and both seem to work.
[...] which has a long track record of having numerous bad side affects.
I have news for you. Pretty much every invention, both technological and social, throughout history is a mix of good and bad.
Social welfare systems increase the average lifespan, but also creates moochers as a side-effect. De-institutionalisation of the mentally ill dramatically reduced abuse, but created the modern homeless.
The winner would have to be nuclear technology, which promises both cheap, clean, virtually unlimited energy and the potential destruction of the human species.
When read-write memory is constrained, the argument for interpreted languages is even stronger. The battery budget of RAM is improving more slowly than the battery budget of CPU speed on low-end platforms. On 8-bit micros, the code density of interpreted BASIC was often higher than that of machine code.
Oh, and Arduino seems to be doing fairly well for itself these days.
So please tell me how your going to fit any other language on a microcontroller with 1MB of flash memory. Nah, I'll be nice, how about 2MB of flash memory. Dont forget the roughly 512KB of RAM your going to have.
In the 80s, where those were considered high-end specs, we used "any other language" with no problem.
One of the problems with JPEG is that it works (caveat about luma/chroma subsampling) on 8x8 pixel blocks. This is great for medium-resolution images (e.g. 72-200dpi range), but not so great for high-resolution (e.g. 1200dpi).
I grabbed a 3032x1986 image (warning: large image), and here's what I got.
Note that I have no experience with all of the WebP options. I just used -m 6 -q quality in both cases. This isn't a huge image, just a large one. So actually, I can believe the 10x figure above depending on what the original image was.
One of the things that any anthropologist will tell you about drug use is that the context and ritual is part of the drug. Nicotine patches are not a substitute for cigarettes because lighting up and inhaling is part of it.
If you like pod machines, DRM or not, more power to you, but I would consider quicker coffee to be a step backwards. I don't just want a caffeine hit, I actually like coffee.
You mean try to use energy sources that are less dangerous and potentially cheaper (when you take out subsidies) than oil? What are you, some kind of Marxist?
Hack does type inference. It doesn't do let-polymorphism because that plus subtyping is formally undecidable. But you only have to declare the types of functions, not every variable inside those functions.
To be fair to Facebook, no other languages had those advantages in 2002-2003. Assuming you didn't want to use F/CGI, plugins for Apache or the equivalent, your server-side scripting options were JSP, Asp.NET and PHP.
PHP was a reasonable choice under the circumstances, but they've now reached the limit of what it can do. It's good to see that they're moving to an entirely new and better language which just happens to have a similar syntax. If I was a Facebook engineer, I could live with that; syntax matters, but it doesn't matter as much as semantics and pragmatics.
No. Facebook is developing a new language which is syntactically similar to, and inter-operates with, PHP. Calling Hack a "version of PHP" is like calling Delphi a "version of ALGOL".
That's true. If you define "religion" as "that which I don't like" (like Christopher Hitchens did in God is Not Great), then all religions have that in common.
Option #3 is a non-option, but I do like the way you think on option #4.
Or the NSA.
...and yet if you look at it with a critical mind and a lot of reason and a lot of scientific investigation, you find that it has significant benefits, as TFA points out.
Besides, this is Slashdot. We quite like fantasy. And sci-fi, too!
Apparently atheism doesn't make you any more more likely to accept scientific evidence if it contradicts your preconceived biases.
They can be had from such means, but generally they aren't.
There are two ways out of this: either force yourself to do religion-like practices regularly, or reform religion so that it's less odious. Both have been tried, and both seem to work.
I have news for you. Pretty much every invention, both technological and social, throughout history is a mix of good and bad.
Social welfare systems increase the average lifespan, but also creates moochers as a side-effect. De-institutionalisation of the mentally ill dramatically reduced abuse, but created the modern homeless.
The winner would have to be nuclear technology, which promises both cheap, clean, virtually unlimited energy and the potential destruction of the human species.
Well, Catholicism is. US-style evangelicalism doesn't seem to apologise very much.
All religions are different.
FTFY
Believe it or not, Slashdot headline writers, California is not the whole planet.
Oh, sorry, missed this comment.
I'm implying that Arduino is typically programmed in a language which is not C.
There's no reason why bytecode can't be stored in nonvolatile storage (e.g. flash).
When read-write memory is constrained, the argument for interpreted languages is even stronger. The battery budget of RAM is improving more slowly than the battery budget of CPU speed on low-end platforms. On 8-bit micros, the code density of interpreted BASIC was often higher than that of machine code.
Oh, and Arduino seems to be doing fairly well for itself these days.
Those are all mobile platforms, are they?
Indeed.
FWIW, I was hoping that there was a NeXTstep tablet that I didn't know about. Admit it, that'd be awesome.
In the 80s, where those were considered high-end specs, we used "any other language" with no problem.
On what mobile platforms (emphasis on the plural) would Objective-C be suitable?
One of the problems with JPEG is that it works (caveat about luma/chroma subsampling) on 8x8 pixel blocks. This is great for medium-resolution images (e.g. 72-200dpi range), but not so great for high-resolution (e.g. 1200dpi).
I grabbed a 3032x1986 image (warning: large image), and here's what I got.
PNG, compression level 9: 6.1MB
JPEG 4:4:4 100: 2.7MB
JPEG 4:4:4 95: 1.2MB
JPEG 4:0:0 95: 0.9MB
WEBP 100: 1.5MB
WEBP 95: 0.5MB
Note that I have no experience with all of the WebP options. I just used -m 6 -q quality in both cases. This isn't a huge image, just a large one. So actually, I can believe the 10x figure above depending on what the original image was.
One of the things that any anthropologist will tell you about drug use is that the context and ritual is part of the drug. Nicotine patches are not a substitute for cigarettes because lighting up and inhaling is part of it.
If you like pod machines, DRM or not, more power to you, but I would consider quicker coffee to be a step backwards. I don't just want a caffeine hit, I actually like coffee.
There are a hundred people working in your office, and you don't have a working kitchen?
Please tell me where you work. I want to make a note never to apply for a job there.
It could give you a bad attitude, just like a human barista.
(Disclaimer: I'm not American, and I've never heard the word "Keurig" before today.)
Also, what ever happened to The Great Brain Race? Do you see it as still a thing, or a product of the dot com bubble-era Silicon Valley myopia?
You mean try to use energy sources that are less dangerous and potentially cheaper (when you take out subsidies) than oil? What are you, some kind of Marxist?
ADD ME TO YOUR LIST