Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
the_imp
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
1.
▲
by
the_imp
2y ago
2024 - 1964 = 60
2.
▲
by
the_imp
2y ago
With Extractors [1] (currently at Stage 1), you could define something like this to work: const Integer = { [Symbol.customMatcher]: (value) => [Number.parseInt(value)] } const Integer(counter) = 42.56; /
3.
▲
by
the_imp
3y ago
I am left wondering how far down one must go to find row level security.
4.
▲
by
the_imp
3y ago
Implementing something like an "id" locale is a great idea. Just don't call it that; it's the locale code for Indonesian. Using a word that's longer than three characters like "identity" will help ensure t
5.
▲
by
the_imp
4y ago
"You found the Nth highest word score"
6.
▲
by
the_imp
4y ago
Young's AAA, UK early 00s. They never brought it back. Ye olde sigh.
7.
▲
by
the_imp
4y ago
When farming tulips, at least you could get pretty flowers from them.
8.
▲
by
the_imp
5y ago
In JavaScript, use https://www.npmjs.com/package/yaml for this: import assert from 'assert' import { parseDocument } from 'yaml' const flowDoc = parseDocument(`[1,2,3]`) flowD
9.
▲
by
the_imp
5y ago
I don't understand why US healthcare providers are allowed to charge different customers a different price for the same service or good. As this is clearly being systematically abused to extract the most wealth from patients and insura
10.
▲
by
the_imp
6y ago
I've seen 25:00 and even 26:00 being used as times, in Japan.
11.
▲
by
the_imp
6y ago
I wrote a fully spec-compliant YAML library.
12.
▲
by
the_imp
6y ago
> Why can't there be an equivalent of stash that keeps track of which parts were added and which weren't? But git stash does keep track of what it added? > If switching branches wouldn't conflict with my current change,
13.
▲
by
the_imp
6y ago
This was fixed in YAML 1.2, which was released in 2009. Don't blame the spec, blame the applications that use ancient libraries.
14.
▲
by
the_imp
6y ago
To clarify/correct this a bit, Webpack is not funded by the OpenJS Foundation. Yes, it is an OpenJS project, but the foundation does not provide financial support for open-source development. It does provide legal, marketing, and other
15.
▲
by
the_imp
6y ago
The Objective-C format strings in the URL would imply that the hash is sent as a path parameter.
16.
▲
by
the_imp
7y ago
The whole model of needing to own your own transportation devices is flawed. 9/10 times, I'm moving from one location with many other people in it to another location with many other people. I would prefer not needing to own any m
17.
▲
by
the_imp
7y ago
> But in the world we live in, YAML parsers don't have security features like this. I'm the author of the "yaml" npm package, and would be interested to hear more precisely what security features you'd wish for a
18.
▲
by
the_imp
7y ago
Do note that in addition to block collections, YAML also supports the flow collections of JSON, which are not whitespace sensitive. In fact, YAML 1.2 is a superset of JSON, and you can parse JSON with # comments as entirely valid YAML.
19.
▲
by
the_imp
7y ago
To be clear, both of those issues are just with YAML 1.1. The core schema of YAML 1.2 dropped parsing "no" as true, or (as you mentioned) colon-separated numbers as sexagesimal integers. But yeah, unfortunately a number of librari
20.
▲
by
the_imp
8y ago
The current Finnish solution for this problem is to use one of the two mobile payment services that allow person-to-person payments using a phone number as the identifier: https://siirto.fi/ https://www.mobilepay
21.
▲
by
the_imp
8y ago
I've put together a Chrome extension that does the same thing, but it requires no permissions and works on all other similar sites as well: Kill-Sticky adds a keyboard shortcut (Alt+K or Cmd+K) that removes all sticky content, and re-e
22.
▲
by
the_imp
8y ago
Over the past few months, I've built up a somewhat masochistic relationship with YAML, as I've been writing my own JS library for it [1]. Yes, the spec is more complicated than it ought to be and yes, writing yet another implement
23.
▲
by
the_imp
8y ago
I wrote a small library [1] for localization messages using the new Context API; I'm pretty sure that any other base for it would have made its implementation significantly more complicated. [1] https://www.npmjs.com/pa
24.
▲
by
the_imp
8y ago
The timing of this (shutdown on 21 May) made me wonder if it's related to the GDPR coming into effect starting on 25 May.
25.
▲
by
the_imp
9y ago
Not quite. The 25 km/h limit is just for the bike's classification as a "bicycle"; electric bikes that go faster than that just need to get registered and are effectively treated as mopeds under traffic laws.
26.
▲
by
the_imp
10y ago
Have you considered whether you also need a laptop with a physical caps lock key to do your work? If you do not, then perhaps you do not need to invest in a brand new old laptop right now, but could instead remap your caps lock key to work
27.
▲
by
the_imp
11y ago
The data looks like it could lend itself to an approach where you model the error rate based on the prior data (at simplest, get a mean and variance out of it) and then use a Chi-square critical range check to see if the last n (degrees of
28.
▲
by
the_imp
11y ago
> In other countries, if you're convicted of a crime you may have a body part cut off. You may be executed. Or you may simply "disappear". In any of these cases, you're not considered a prisoner. But are those really
29.
▲
by
the_imp
11y ago
In addition to email, could you provide an RSS feed as well?
30.
▲
by
the_imp
11y ago
It sounds like you're describing ES6 arrow notation: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
More ›