Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spiralx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
361.
▲
by
spiralx
5y ago
> I can't open comments on firefox. hitting O does nothing. Opening new links also opens them in a popup window rather than a new tab, so firefox blocks those by default too. Took me a while to realise you opened things by pressing
362.
▲
by
spiralx
5y ago
I like the font and spacing a lot, I'm always writing user styles to make sites (especially HN and Reddit) comfortable to read for more than a minute or two. OTOH there's between 235px and 325px of height before the first comment
363.
▲
by
spiralx
5y ago
For me it was understanding the differences between creating output by digging down from a root or by transforming a document by matching parts of it and letting the default rules handle the rest. Which is the basis of my stylesheet that tu
364.
▲
by
spiralx
5y ago
HTML5 is expressible as valid SGML with some exceptions such as ARIA and data-* attributes. And SGML, which is a super-set of XML, has rules for both optional elements - e.g. HEAD - and for elements with optional closing tags - e.g. P. htt
365.
▲
by
spiralx
5y ago
Mothers Against Dungeons & Dragons certainly tried to cancel role-playing games in the 1980s and they were just the largest group to try and do so. The Dixie Chicks were cancelled in the 2000s for a single instance of political speech.
366.
▲
by
spiralx
5y ago
Consistency allows even the worst process to become familiar enough to be improved on and reduces the overload of having to context switch unexpectedly, and it's amazing how much time can be wasted by people not knowing what process to
367.
▲
by
spiralx
5y ago
The fact that Bitcoin is simpler than the US banking system is a testament to how archaic the latter is, not how useful the former is.
368.
▲
by
spiralx
5y ago
The back-end can render that content when requested, adding very little overhead to an AJAX request just returning the raw data, and it can pre-render and/or cache objects as well. Both Facebook and Reddit do similar when loading extra
369.
▲
by
spiralx
5y ago
This article is a nice overview of different kinds of state and how to manage them, the code is Angular but the concepts apply to any SPA. https://blog.nrwl.io/managing-state-in-angular-applications-...
370.
▲
by
spiralx
5y ago
There is no fractional reserve system or money multiplier in the modern economy though, those concepts only really apply to commodity money, not fiat money. You even say banks create money by lending, which is not how a fractional reserve s
371.
▲
by
spiralx
5y ago
The Bank of England disagrees with you, when a bank loans money it adds a figure to the creditors account (a liability) and adds an equivalent loan to its books (an asset). There's no transfer of funds from somewhere to somewhere else,
372.
▲
by
spiralx
5y ago
Fractional reserve banking doesn't apply to the modern economy though, because we no longer use commodity-backed money where the economy is based on shuffling round physical tokens. Money is created by banks lending money when they upd
373.
▲
by
spiralx
5y ago
JSON schemas are a thing that exists and can be useful, and `jq` probably covers the 80% of use cases for querying JSON. XSLT can be an amazing tool when used properly and I've wondered about a JS equivalent over the years and started
374.
▲
by
spiralx
5y ago
Everything that isn't a (: happy comments :) is a FLWOR: <users> { for $user in //users let $comments = //comment[@uid = $user/@id] where count($comments) > 0 order by $user/
375.
▲
by
spiralx
5y ago
The only place you can see weight gains is by looking at Table I and working it out yourself for each subject, and only the last subject PW had an outlying weight gain in absolute terms but his starting weight was also an outlier - his rela
376.
▲
by
spiralx
5y ago
lxml is one of the most pleasing to use Python libraries ever, managing to wrap a hot mess of XML APIs in a consistent and Pythonic fashion that you rarely need to escape. IIRC I used beautifulsoup to parse the HTML of a site, and then lxm
377.
▲
by
spiralx
5y ago
You can do it either way in XPath thanks to how you can use a path expression and/or predicates almost everywhere in a query # Find all elements li and select the parent element for each //li/.. # Find all elem
378.
▲
by
spiralx
5y ago
The element(s) before an element: //h3/preceding-sibling::p[1] Match something's parent: //title/.. Match all ancestors: //title[@id = 'abc']/ancestor::comment Element with src or
379.
▲
by
spiralx
5y ago
> My original comment had the purpose of questioning the validity of the "nature vs nurture" distinction. It just seems like an unhelpful distinction, but then again I'm not a biologist, just a lay person who likes their c
380.
▲
by
spiralx
5y ago
I read this paragraph in a paper on ADHD and learning disabilities literally after replying to a comment above yours... > There is also evidence of domain-specific cognitive deficits that contribute to specific learning-related disabilit
381.
▲
by
spiralx
5y ago
> I wonder how many of these students that struggle were just undiagnosed ADHD and not deficient in an low IQ mental handicap sense. I've got ADHD that was undiagnosed until a decade after finishing my degree, and maths was my favou
382.
▲
by
spiralx
5y ago
> The entire enterprise of saying "Kenyans win running, so Kenyans are more genetically talented at running" is unsupported. Or as my father once framed the argument: "It's because they've only recently come out
383.
▲
by
spiralx
5y ago
> Is it genetics? Is it gut microbiota? (E.g. genetics of other species?) If you don't control for portion size comparing people who all have a burger and fries for dinner every night is basically useless, those meals could be hugel
384.
▲
by
spiralx
5y ago
But epigenetic changes during foetal development could effect the likelihood of being successful at passing ones genes along at all, although I've no idea how you'd manage to isolate or replicate these effects in any scientificall
385.
▲
by
spiralx
5y ago
To the point where anthropologists have compiled lists of "human universals" that are seen in human groups everywhere. http://joelvelasco.net/teaching/2890/brownlisthumanuniversal... Also genetically are
386.
▲
by
spiralx
5y ago
This site goes into more detail on how productivity as shown on the famous chart is useless for telling you anything useful and worse means something different from the layman understanding of the word. With charts and basic maths. https:&
387.
▲
by
spiralx
5y ago
Fiscal policy is what the government does. Governments sell bonds to raise money, this is what "government debt" is, a bunch of bonds each for a fixed period (usually between 1 and 30 years), pay interest each year and then repay
388.
▲
by
spiralx
5y ago
It's like the Reddit Island of Galt's Gulches. https://www.salon.com/2014/09/16/ayn_rands_capitalist_paradi... https://www.reddit.com/r/Scams/comments/nns9ne/the_
389.
▲
by
spiralx
5y ago
Parliamentary sovereignty means that all referendums are non-binding in the UK, but most people don't know that and wouldn't accept it - they only happen rarely, always ask about big topics, and so far have always been followed. C
390.
▲
by
spiralx
5y ago
Oh, I like that a lot, especially as they've proposed a new JSON.parseImmutable() method as well. The syntax is surprisingly simple (and obvious!) and deep equality and simple comparisons is perfect. Deep paths look interesting on top
More ›