Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ujal
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
ujal
9y ago
Countries and their economies collapsing now and then are not that rare.
32.
▲
by
ujal
9y ago
cd/m^2?
33.
▲
by
ujal
9y ago
On the other hand skills like object permanence require the development outside the womb. I am sure nature would have found a way if it would be possible otherwise.
34.
▲
by
ujal
9y ago
Same with me and I wish I would have been exposed to philosophy earlier in my life. Science provides us with the tools to denounce certain religious facts but it can not give us our confidence back. This also explains the rise of pseudo-int
35.
▲
by
ujal
9y ago
Mirror Self-Recognition is closely linked to social awareness and self-consciousness[0]. Does it mean dolphins are more self-conscious than humans? [0] https://www.ncbi.nlm.nih.gov/pubmed/22673374
36.
▲
by
ujal
9y ago
To be honest it indicates a personality that is based around intellect, intelligence and science™ as the main pillars of psychological stability. Quite often it is a defensive reaction to a religious upbringing as a child.
37.
▲
by
ujal
9y ago
Its hard to imagine that our large brain came first and the birth canal was an afterthought :)) As the case with dolphins, humans rely on social interactions to survive. The more an animal relies on their caregiver, the more it relies on le
38.
▲
by
ujal
9y ago
Twin studies lets you fix the genetics factor, but unless you monitor the twins 24/7 or control their environment it is nearly impossible to tell if it influences your intelligence directly or through behavioural patterns. I am sure th
39.
▲
by
ujal
9y ago
"Based on decades of compelling data (including the latest DNA analyses), many researchers, myself included, think that the g-factor is influenced mostly by genetics." -- Can anyone here tell me the canonical way of excluding envi
40.
▲
by
ujal
9y ago
That is called learning and is indeed a creative process.
41.
▲
by
ujal
9y ago
Engineering can be creative but most of the time it is not. We are mostly applying existing solutions to well known problems.
42.
▲
by
ujal
9y ago
For people working on smaller screens Golden Ratio is a godsend - https://github.com/roman/golden-ratio
43.
▲
by
ujal
9y ago
Well at least in my mental model a Promise is an object that eventually resolves to something within its .then() method. In contrast my mental model of await is that of a blocking call. One can internalize the latter without the former.
44.
▲
by
ujal
9y ago
Any interesting reasons as to why?
45.
▲
by
ujal
9y ago
Its the ambiguity for new programmers. With something like awaitAll new programmers wouldn't need to learn about Promises at all. You have a point with concurrency, but handling concurrency is an another beast altogether.
46.
▲
by
ujal
9y ago
Yeah, s-exps are the only thing I miss :(
47.
▲
by
ujal
9y ago
Well an async function always returns a Promise. await simply blocks until the Promise is resolved to continue execution. Thats why I am wondering why they decided to await only on a single Promise.
48.
▲
by
ujal
9y ago
Don't you need to be in an async context to call await?
49.
▲
by
ujal
9y ago
With Promises we conceptualize a control flow construct like callbacks. It is much easier to reason about a concept rather than following code execution paths. With async await we return control flow to the current scope.
50.
▲
by
ujal
9y ago
await all([fn1, fn2]) ;) i wonder when we will get s-expressions for function calls (awaitAll [fn1, fn2])
51.
▲
by
ujal
9y ago
Every async function will return a Promise anyway. I am simply interested in resolving a collection of Promises in a clean way.
52.
▲
by
ujal
9y ago
There should also be something like awaitAll to replace await Promise.all calls.
53.
▲
by
ujal
9y ago
"[…] Students can work with them in an interactive setting that provides immediate feedback and requires completely precise thinking." -- Math and philosophy provide the latter but not the former. I guess the tight feedback loop p
54.
▲
by
ujal
9y ago
Funny how ShellCheck mentioned above is written in Haskell :)
55.
▲
by
ujal
9y ago
The repo doesn't seem abondoned to me.
56.
▲
by
ujal
9y ago
It doesn't get much purer than pure - https://github.com/sindresorhus/pure
57.
▲
by
ujal
9y ago
Consider studying in Netherlands if you look for programs in English.
58.
▲
by
ujal
10y ago
There is no boilerplate in Elm if you don't write self-contained components and you really shouldn't. You end up with huge model/update/view functions that you split down into modules. Here is an example app - https:&#x
59.
▲
by
ujal
10y ago
You can use elm-format and never think about formatting again. Instead of mixing html and js why not use function calls for everything. I believe there would be no jsx if javascript would allow function calls without the parens.
60.
▲
Theory of hyper-random phenomena
(en.wikipedia.org)
3 points
by
ujal
10y ago
|
0 comments
More ›