9,428 karma · joined Jul 10, 2015 (11y ago) · 3,276 submissions
comment 8y ago · link · parent
Parallel Ports
Floppy Drives
CD/DVD Drives
Older USB, Firewire ports
Network ports
They were the first to remove all this stuff, and everyone was shocked. Now they are doing this with an API. Both Apple and Microsoft have long ago created much more modern, highly performant graphics technologies over what OpenGL offers, and serious vendors support platform-specific APIs most of the time. If it takes Apple to do this and say to the world "wake up, OpenGL sucks," I view that as progress.
Despite, I don't think your OpenGL app will fail to run on Mac any time soon. I suspect it's years away before they actually remove it entirely.
comment 8y ago · link · parent
https://www.recode.net/2018/1/31/16957122/facebook-daily-act...
https://www.recode.net/2018/2/12/16998750/facebooks-teen-use...
https://www.socialmediatoday.com/news/new-report-shows-faceb...
comment 8y ago · link · parent
Apple is generally showing a superior attitude towards user privacy, even in situations that don't seem directly tied to their own ad channels, as you say. Maintaining a privacy-focused image is good for business in general, hence their reluctance to cooperate with law enforcement to violate individual user privacy.
comment 8y ago · link · parent
comment 8y ago · link · parent
Elm could have been something, but I don’t expect it gain any mindshare, and the boat has sailed.
Clojurescript is a dynamic language, with easy JS interop and nearly zero boilerplate, so I still think it is the fastest route to a production app.
comment 8y ago · link · parent
He was obviously a brilliant guy, so I find it strange he couldn't have had a good fit anywhere in the company.
comment 8y ago · link · parent
comment 8y ago · link · parent
https://github.com/gaverhae/okku
(This is just one way to use Akka).
comment 8y ago · link · parent
For distributed computing across multiple machines, you are right that the actor model has an edge there. Most applications don't require that, however. There is however Onyx and other tools for this in Clojure:
http://www.onyxplatform.org/index.html
I think the choice between Clojure and Elixir really comes down to how much your particular idea or requirement genuinely depends on the actor model. The vast majority of applications don't specifically require that, in which case you have more flexibility.
comment 8y ago · link · parent
> True speed comes when you don't have to deal with other people's bugs and poorly designed mistakes.
PHP is often, in practice, a language where bugs are more likely compared to these "stylish" other languages you mention. [0]
[0] http://delivery.acm.org/10.1145/3130000/3126905/p91-ray.pdf?...
" For [languages] with positive coefficients we can expect that the language is associated with a greater number of defect fixes. These languages include C, C++, Objective-C, Php, and Python. The languages Clojure, Haskell, Ruby, and Scala, all have negative coefficients implying that these languages are less likely than average to result in defect fixing commits."
comment 8y ago · link · parent
Clojurescript offered the first and still (in my opinion) best option for hot reloading via "figwheel" which nearly all Clojurescript developers use. It automatically updates the UI as you code it.
Clojure, on the server, being a proper lisp with a real REPL, lets you poke and inspect and reload parts of the running program with no recompile cycle. A typical workflow there is to reload individual expressions or functions in the context of the running program to alter behavior as you develop.
comment 8y ago · link · parent
Highly recommend.
I should add that on both server and in browser your code base will usually be a lot smaller than most other languages, which greatly speeds workflow as well. As an example I once ported an Elm project to Clojurescript and it was a 4x reduction in lines.
Using Heroku to just git push the project works well too. Deploys in seconds.
If your project becomes more, it all scales well. Clojure is quite fast compared to Ruby or Python, and Heroku scales with the click of a button. You won’t have to port to a more performant language or host if you suddenly get popular.
comment 8y ago · link · parent
I know web frameworks exist for Julia, but I’m wondering how practical it is to actually use this language for that purpose?
comment 8y ago · link · parent
Unfortunately, it doesn't take much negative energy to spoil a community, even if it comes from just one person. That it was a language co-creator is troubling but not necessarily a reason to avoid the language if the rest of the community is nice (which maybe it is, maybe it isn't).
However one thing I have noticed is that most language communities do tend to follow an attitude set by the language creator(s). This seems to have played out quite a bit for Clojure, Python, Elm, Elixir, and other languages where, at least to me, the overall shared perspective of the community is closely aligned to the personal attitudes and opinions of the language author(s).
comment 8y ago · link · parent