Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hopia
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
181.
▲
by
hopia
7y ago
There are some studies about certain nutrients being beneficial in the treatment of ADHD. For example: https://www.ncbi.nlm.nih.gov/pubmed/23495677 This particular study found that phospholipid improves ADHD symptoms i
182.
▲
by
hopia
7y ago
Trump attacked Amazon because of business; he seems to think Amazon is profiting from the US taxpayers' money. Now Amazon has a strong financial incentive to go to court in this case as winning can lead to potentially securing a 10b$ c
183.
▲
by
hopia
7y ago
It's all just business, as is this case.
184.
▲
by
hopia
7y ago
I thought this was a decent opinionated post about some of the UI fundamentals. I doubt many developers really have the patience to dig deep into UX stuff after all. You got any good resources you'd recommend to read about the visual h
185.
▲
by
hopia
7y ago
Well Haskell's prelude is purposefully small and extended by a variety of extensions in the GHC. Prelude + libs + extensions effectively make what we call Haskell today. Just like with Elixir and many other high level languages I don&#
186.
▲
by
hopia
7y ago
Interesting, what kind of guarantees does Rust give that Haskell's abstractions cannot do? Haskell also has metaprogramming in terms of Generics and Template Haskell, allowing you to create custom DSLs and such. Sadly, it kind of leads
187.
▲
by
hopia
7y ago
I'm not sure what your point is. I feel we may have a different idea of what very high level abstraction means in programming languages. Just about everything in software engineering is a compromise of sorts. Not knowing Rust or C++,
188.
▲
by
hopia
7y ago
Well, I agree, that's why we have both low and high level languages. High level languages, setting you free from the actual constraints of the underlying machine, allow you to define abstractions that can increase productivity greatly
189.
▲
by
hopia
7y ago
By threads I meant the corresponding runtime thread (not OS thread) on each platform. In Elixir they're called processes, in Haskell (green) threads. Both Haskell and Elixir web frameworks spawn a new thread for each web request they r
190.
▲
by
hopia
7y ago
Alright thanks for taking the time to detail it for me! Most languages/runtimes indeed don't have this kind of execution model. It wouldn't often make sense for a general purpose programming language to function like this, bu
191.
▲
by
hopia
7y ago
Why would we need to limit our programming language abstractions to how the machines work underneath? Are there some stateful objects running around in the hardware? Just because the abstractions are detached from the hardware doesn't
192.
▲
by
hopia
7y ago
Can you specify what you mean by seamless async everything and why it's significant? Are you talking about the execution model here? You mean having a message passing system like in Elixir that allows you to simply construct most of
193.
▲
by
hopia
7y ago
If it's a single course, then I'd say teaching more than one language is already too much. Javascript is necessary to learn as a webdev no matter how you look at it, while the other two are not. Javascript can do all the aspects r
194.
▲
by
hopia
7y ago
Although arguably not a mainstream language, concurrency isn't hard with Haskell either.
195.
▲
by
hopia
7y ago
Wouldn't it make pedagocially more sense to introduce languages that are more different (paradigm) from each other than those languages you listed?
196.
▲
by
hopia
7y ago
Yes, I have to admit I haven't read the actual study so this was purely speculation.
197.
▲
by
hopia
7y ago
The latest temperature data was measured from patients visiting hospital. Older people are naturally more prone to health problems and would therefore be visiting hospital more than younger people, on average. Our average lifespan is longe
198.
▲
by
hopia
7y ago
Congratulations!
199.
▲
by
hopia
7y ago
What do you mean with going beyond types? Is it possible to define some unique compile time constraints on Clojure not related to the type system?
200.
▲
by
hopia
7y ago
Wouldn't that boil down to the communication between the distributed components? I think this author's solution to that is well detailed in his post "parse, don't validate".
201.
▲
by
hopia
7y ago
Template Haskell not working on ghcide has sadly been holding me back with it. I've heard great things about it otherwise
202.
▲
by
hopia
7y ago
Thanks for the tip! Haskell IDE engine is exactly what I've been using til now and would've been very pleased to find out it had such a convenient feature. Ghcide is on my list to try next as it's gotten a lot of attention la
203.
▲
by
hopia
7y ago
To be fair most of the time that type change propagation is just manual work guided by the compiler. Some smart IDE would even be able to make the changes for you.
204.
▲
by
hopia
7y ago
Productivity can be really subjective. Those that are used to modeling the problem domain with the type system find that their most productive approach, even with prototyping.
205.
▲
by
hopia
7y ago
On what editor setup you get this kind of functionality with Haskell? I mean the auto-insert of the inferred types.
206.
▲
by
hopia
7y ago
Most European nations are already members of NATO. Despite recent political speeches I see little interest in developing some kind of duplicate defense framework on top of the existing NATO structures.
207.
▲
by
hopia
7y ago
Then, what's the point of having any military equipment at all to worry about? Mind you, failing at this gamble would have devastating effects, as was evidenced by many occupied nations during the last major conflict in Europe.
208.
▲
by
hopia
7y ago
Unfortunately, I don't get what you mean. Which organizations is the US barring these countries from entering? Is your solution to them the same that they should listen to the US views as well?
209.
▲
by
hopia
7y ago
Russia does not get to dictate which organizations free nations join or do not join.
210.
▲
by
hopia
7y ago
What's the Russian view we need to listen to?
More ›