Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pygy_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
75 ms
·
751.
▲
by
pygy_
9y ago
Ever heard of SRY ?
752.
▲
by
pygy_
9y ago
It could as well have diverged by accident. Sexual dimorphism in these kind of interest may not have any evolutional impact, but be affected by genes that were close to other genes that improve male fertility for example. The closer two gen
753.
▲
by
pygy_
9y ago
Not necessarily. These populations may have, for genetic reasons, a smaller gendered difference in tech interest. The "young males prefer trucks, young females prefer dolls" split is also found in chimps FWIW. Interest drives prac
754.
▲
by
pygy_
9y ago
Religion is organized superstition built around mysticism.
755.
▲
by
pygy_
9y ago
> ... (Gen Z) ... (Gen X) ... (Gen Y) ... Did we just run out of letters to describe generations?
756.
▲
by
pygy_
9y ago
Motivation comes from our survival instincts. While most robots right now are not subject to Darwinian forces, enterprises are, and one might argue that they are AIs in their own rights. Economic demand also stems from survival instinct. Co
757.
▲
by
pygy_
9y ago
I have a similar lib in JS that uses either regexps or plain strings for the leafs, and combinators to implement the various regexp operators. It is useful for maintainability. The regexp syntax was designed for a write-only scenario (the c
758.
▲
by
pygy_
9y ago
FWIW, marginBottom is not a React "standard", it's a DOM getter on the style object: document.body.style.marginTop = '200px' The non-camel-case version works as well (in modern browsers, there was a time wh
759.
▲
by
pygy_
9y ago
Oh, yes, I know. I usually source Mac parts from iFixit though, they provide a warranty and are a known quantity. I'm used to repairing my computers, but the broken one was wrecked (it still booted, but the case was bent around the bat
760.
▲
by
pygy_
9y ago
Belgian here, I grew up on AZERTY, but ended up learning QWERTY for coding. Story time... My last laptop had a physical QWERTY keyboard, but it met a fateful end (I drove on it) and had to replace it immediately. Good luck finding a QWERTY
761.
▲
by
pygy_
9y ago
You make it fall into a box. Shake the branch they are resting on, or brush them off until they fall. You cant tell if the queen made it into the box depending on the behavior of the workers already in there. If you missed it, goto step 1.
762.
▲
by
pygy_
9y ago
In the same vein, the Nokia 32/3310 could be navigated easily without looking. There were four buttons, a pair of arrows, ok, and cancel. A real, pure touch interface provided you could memorize the button sequences. Later models with
763.
▲
by
pygy_
9y ago
Babel can now parse TypeScript source and turn it into an AST. It doesn't check types at this point.
764.
▲
by
pygy_
9y ago
Disclaimer, Mithril core dev here. I'm not as familiar with Hyper. In Mithril: The hyperscript function supports Emmet/Zencoding syntax: `m('input.myClass#myId[type=radio]')` There's a stream library for state manag
765.
▲
by
pygy_
9y ago
I don't have an android phone at hand, but the error is supposed to be part of the demo. If it appears in the UI (below the code) it is normal. You can click the "at (.js:14:8)" link, you'll get the cursor on the proble
766.
▲
by
pygy_
9y ago
With setfenv, the environment definition is lexical by default, but if you change the environment of the parent after creating a child function, the environment of the child doesn't change. You must `setfenv` the child as well. With _E
767.
▲
by
pygy_
9y ago
IIRC the litecoin folks choose bad scrypt parameters, susceptible to custom circuits.
768.
▲
by
pygy_
9y ago
John Conway and Simon Kochen would like to have a word with you: https://arxiv.org/abs/quant-ph/0604079
769.
▲
by
pygy_
9y ago
Ooooh, maybe this is relevant: > function foo() >> local a = _ENV >> local _ENV = a >> return {a=function() _ENV = {r=6} end, b = function() return r end} >> end > r = 5 > x = f
770.
▲
by
pygy_
9y ago
Rust's fearless concurrency[0] allows devs to write and refactor performant parallel code without the risk of introducing bugs, enabling them to ship upgrades faster. It's the same benefit you get from strong, static types in a la
771.
▲
by
pygy_
9y ago
Servo's WebRender sub-project has amazing performance (GPU accelerated compositing and rendering), and is scheduled to be merged in Firefox as fast as possible. Stylo (Servo's style subsystem) has already landed in Firefox behind
772.
▲
by
pygy_
9y ago
Late reply, but so does setfenv: > function foo()return function()return a end end > =foo()() nil > a=5 > =foo()() 5 > setfenv(foo,{a=6}) > =foo()() 6
773.
▲
by
pygy_
9y ago
Why would `_ENV` slow down LuaJIT? It only offers a subset of the `setfenv()` functionality of Lua 5.1 that's implemented in LuaJIT...
774.
▲
by
pygy_
9y ago
NoSQL refers to non-relational DBMSes, not a literal lack of SQL... QUEL is, if anything, closer to relational algebra than SQL is. https://en.wikipedia.org/wiki/QUEL_query_languages QUEL is a better language (more con
775.
▲
by
pygy_
9y ago
https://www.youtube.com/watch?v=5-OjTPj7K54 <== complimentary tune (and you forgot a space after the XKCD URL)
776.
▲
by
pygy_
9y ago
It should be noted that this is a tool intended for non-programmers (think: people who can use spreadsheets), not for (pro) developers.
777.
▲
by
pygy_
9y ago
Green threads are threads too (a.k.a. cooperative threads/coroutines).
778.
▲
by
pygy_
9y ago
Provided the Macron campaign had a competent chief security officer (coming straight from the industry) and was paranoid about security, and given the scale of the leak, it seems unlikely that it was the job of skiddies doing it for the lul
779.
▲
by
pygy_
9y ago
Migraine is linked to the production of NO by gut bacteria. Eating disorders (both bulimia and anorexia) may be caused by an auto-immune response to a hormone look-alike produced by (some strains? of) e. coli . Both the hormone and the bac
780.
▲
by
pygy_
9y ago
Not sure why this was downvoted... At least the last time I checked, mouth flora bacteria had been found growing in atherosclerosis lesions, and poor dental hygiene was linked to and increased risk of cardiovascular disease.
More ›