Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pygy_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
80 ms
·
781.
▲
by
pygy_
9y ago
Sounds about right.
782.
▲
by
pygy_
9y ago
A lens is an object that has both read and write access to a property of an object (or to a path into a tree of nested objects). Rather than passing parts of the model to the children (as you'd do with React props), you pass lenses int
783.
▲
by
pygy_
9y ago
Given the (rude and unhelpful) reply from the team, I suppose it was a premature release. https://github.com/mishoo/UglifyJS2/issues/1875
784.
▲
by
pygy_
10y ago
Mike Pall's fantasy language is built around Dataflow... https://www.freelists.org/post/luajit/Ramblings-on-languages... (quoted in full for conveninece) ---- Szabó Antal wrote: > This topic interest me to
785.
▲
by
pygy_
10y ago
Now that's interesting. I must admit that I know little about Jews and their history. I know that Ashkenazim have a high prevalence of certain recessive diseases, which suggests that they tend, to this day, to be somewhat endogamous. I
786.
▲
by
pygy_
10y ago
As you said, to date. I suppose that resentment among Armenians towards Turks is still high to this day, I'm not saying that there will be more violence, but the threat is still there. Note that I come from Belgium, whose historians ar
787.
▲
by
pygy_
10y ago
Danger of massively killing one another? Unending vendetta? Cultivating cross-cultural resentment makes the world more violent, and less safe, for everyone. Another example of the tragedy of the commons.
788.
▲
by
pygy_
10y ago
The problem here is that tribal attachment among Turks got haywire. I don't know enough about the tribalism tendencies of Armenians at the time. Victim groups can have developed a strong tribal identity, but that's not always the
789.
▲
by
pygy_
10y ago
I never said it gave them any right. I say that punishing the group made them more tribal/racist, mechanically.
790.
▲
by
pygy_
10y ago
See https://news.ycombinator.com/item?id=14192591
791.
▲
by
pygy_
10y ago
Your understanding of tribal psyche is wrong. 1) Human bonding (mother-child, family, and extended, symbolic tribes) is mediated in the brain by oxytocin. It turns out oxytocin also boosts xenophobia. Someone who claims to hail patriotism w
792.
▲
by
pygy_
10y ago
The edit to my previous post addresses your comment. More generally, the possibility of punishment does little to diminish violence, because people who perform it generally expect not to get caught.
793.
▲
by
pygy_
10y ago
It is not inherent to the German people, more to circumstances that lead to WW2. The stigmatization of tribal identity leads to its reinforcement. The German nation was punished far too harshly after WW1. Germany post WW2 had a bad hangover
794.
▲
by
pygy_
10y ago
Contemplating the fact that you could be manipulated to perform similar misdeeds may not be pleasant, but it is very important. We all have tribal instincts, and we are "predictably irrational", meaning that we can be manipulated
795.
▲
by
pygy_
10y ago
Putting the blame on the political instrumentation of tribal instincts, rather than on a peculiar tribe, seems like a good idea actually.
796.
▲
by
pygy_
10y ago
That's an interesting result, but actually, most animals are capable of self-recognition, not visual, but olfactive. It is something that we dismiss because we humans are handicapped, nose-wise.
797.
▲
by
pygy_
10y ago
I think it runs the test suite live... It's not meant to be fast, but to demonstrate compatibility.
798.
▲
by
pygy_
10y ago
Streams can be implemented with functions as well, no need for async generators. See `flyd` or `mithril-stream`...
799.
▲
by
pygy_
10y ago
That's the happy scenario. Sometimes, the image is smaller .
800.
▲
by
pygy_
10y ago
Work is economic power. Being completely economically dependent sucks, badly.
801.
▲
by
pygy_
10y ago
Something tells me that Mike Pall had read this... This provides a reasonable tl;dr, with nice ASCII figures: http://web.archive.org/web/20170102051538/http://article.gma...
802.
▲
by
pygy_
10y ago
I didn't know it was a thing... Some CSS-in-JS libs support isomorphic apps, but I don't know how well they take advantage of the caching abilities of browsers.
803.
▲
by
pygy_
10y ago
Automatic atomification of styles meshes badly with conditional at-rules. You can end up with conditional rules that are ignored.
804.
▲
by
pygy_
10y ago
It is replaced by script caching. Loading the styles from JS rather than CSS is a bit slower, but not much.
805.
▲
by
pygy_
10y ago
CSS-in-JS doesn't mean you have to inline everything in the component file.. You can totally create a style library and include pieces of it as mixins for the styles of each component.
806.
▲
by
pygy_
10y ago
I just discovered http://typestyle.io/ which should make it much easier to write CSS in JS... Auto-completion everywhere... I'll probably steal the approach for my own CSS-in-JS lib (j2c).
807.
▲
by
pygy_
10y ago
This was a big missing piece of code in the CSS-in-JS world. Thanks for providing the stdlib (following SASS is definitely a great approach).
808.
▲
by
pygy_
10y ago
The library requires low level access to the VM, but you can yield from anywhere, and pass `coroutine.yield` as a value to higher order functions. However, there are (were?) restrictions when C functions are present on the call stack betwee
809.
▲
by
pygy_
10y ago
Generators are also less general. You can't `yield` from a non-generator function. In Lua, coroutines are implemented as a library, not as a core language/syntax thing.
810.
▲
by
pygy_
10y ago
Couldn't industrial corporations become demand drivers?
More ›