Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fenomas
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
301.
▲
by
fenomas
3y ago
Agreed, but that's a different conversation because gofmt is a lot less opinionated than prettier. Prettier goes well beyond style issues, and messes with semantics - it will add or remove parentheses in math expressions, add or remove
302.
▲
by
fenomas
3y ago
> If it was widespread, but highly configurable, that increases friction when switching projects This is clearly not true. Far and away the single most contentious JS style issue is ASI, and prettier has a config option for it and nobody
303.
▲
by
fenomas
3y ago
I think the real issue with prettier is that it's almost become a de facto standard. E.g. personally I don't like it at all , but do like Svelte, and Svelte's official (and AFAIK only) formatter uses prettier. Hence I use pr
304.
▲
by
fenomas
3y ago
Remember that LLM inputs are tokenized. The premise of the control character idea is that you train your model on prompts where the real "real" instructions and the untrusted user input are separated by some special token - not
305.
▲
by
fenomas
3y ago
Newp. DHTML as a term is way older, and referred to earlier things.
306.
▲
by
fenomas
3y ago
TFA is old enough that the "HTML5" here means "as opposed to Flash".
307.
▲
by
fenomas
3y ago
Very neat! Though I got prominent clicks and artifacts in both chrome and firefox. If anyone's interested, some years ago I made a wrapper library for things like this, to wallpaper over the famously hairy WebAudio synthesis API. Basic
308.
▲
by
fenomas
3y ago
> your statement that midori was the colour standardized in law since the 1930s In 1930 , not since the 1930s. The 1930 law used midori, but it was changed to ao in 1947 after that became the more popular usage. The page you linked was
309.
▲
by
fenomas
3y ago
I don't follow. Are you suggesting the link you posted contradicts something I said? If you want a source that the 1930 law used midori, see here, under 発祥期: https://ja.m.wikipedia.org/wiki/%E6%97%A5%E6%9C%AC%E3%81
310.
▲
by
fenomas
3y ago
This is pretty far off base - for a start, the first JP law on traffic lights in the 1930s used midori, not ao. Per jp references, ao/midori split into distinct meanings around the Heian~Kamakura periods (so 800-1000 years ago).
311.
▲
by
fenomas
3y ago
This? https://ja.wikipedia.org/wiki/青#やまと言葉の「あお」
312.
▲
by
fenomas
3y ago
Obscurity isn't involved. In set phrases like you're talking about, the "ao" is basically a category specifier, not a color specifier. Like aoba means young fresh leaves, not necessarily green ones, and aoyasai doesn&#
313.
▲
by
fenomas
3y ago
In set phrases it can refer to things of various colors, but on its own it means blue. Like if you use it to describe a sweater, people will assume you mean a blue sweater.
314.
▲
by
fenomas
3y ago
The word "ao" in Old Japanese already had the blue/green confusion before the character 青 was borrowed to write it, so if classical Chinese did as well I guess that would be two such languages.
315.
▲
by
fenomas
3y ago
> Now, midori (green) is a type of ao ("grue"), and.. It isn't. TFA is vague on this, but in modern usage "ao" just means blue. There are a bunch of set phrases where it refers to various other cool colors, but t
316.
▲
by
fenomas
3y ago
I just scanned a few articles on this. TFA and its source don't mention this, but the first JP traffic law for traffic lights (from 1930) used midori/green, following US standards. But apparently newspapers mostly used "ao&qu
317.
▲
by
fenomas
3y ago
Hmm. Thanks for the link; I can see where that argument comes from. But doesn't that entire line of thinking disappear if one just uses scoped CSS inside components? Everything in that link assumes that all CSS rules are global, and it
318.
▲
by
fenomas
3y ago
I'm really confused about what's meant to be good about Tailwind. I recently ran create-next-app with Tailwind, and the default example output page has several divs with 600+ characters of tailwind class names. Each! Without wor
319.
▲
by
fenomas
3y ago
I copied in a few paragraphs from your FAQ and got 95.2% chance AI generated. (I used the text from "why is your model.." to "..inaccurate predictions".) I also tried the opening paragraphs of two random wikipedia articl
320.
▲
by
fenomas
3y ago
> ..fairly straightforward for Google to detect such groupings and apply the technique to produce synthesized pictures that are better than the originals. Wouldn't an operation like this require some kind of fine-tuning? Or do diffu
321.
▲
by
fenomas
3y ago
What I love about ABOK is that, while it's exhaustive and technical, there's still a lot of personality in the descriptions and commentary. Not only in the chapter headings, but even the knot descriptions sometimes have random lit
322.
▲
by
fenomas
3y ago
To me the title reads very differently - it's saying that if you demand certainty you'll wind up treating something uncertain as certain, and hence believing something untrue. For reference incidentally, the title is a callback to
323.
▲
by
fenomas
3y ago
I don't think "Ngrams are wrong" is what TFA is about. The author isn't an expert on Ngrams and he's not sharing any new information about them; what he's really talking about is how data about language is unre
324.
▲
by
fenomas
3y ago
Horses for courses, but to me the original title was the forest and the stuff about Ngrams was the trees. As such I found TFA interesting, even though I have no interest in Ngrams or whether they're correct (which is why I definitely w
325.
▲
by
fenomas
3y ago
Sorry, HN previously had TFA's actual title - "Who Lusts for Certainty Lusts for Lies".
326.
▲
by
fenomas
3y ago
And boo, incidentally, to whomever changed the HN title - from the most memorably evocative title this site has ever seen to one of the blandest.
327.
▲
by
fenomas
3y ago
Japanese first/last names are largely separate, so it would be pretty safe to just find someone on wikipedia who shares either name and use them as a guide.
328.
▲
by
fenomas
3y ago
> What about 2 cents, which would be the cost on a pro license, 2 cents with the pro-license only applies after the first 1M installs, tallied per month . If a game is under 100K installs per month, a pro license only lowers the install
329.
▲
by
fenomas
3y ago
Yes, it's a great default adjustable knot! The other one I think is worth knowing is the "adjustable grip hitch", which is like the midshipman's but the half-hitch goes on the other side of the turns. This latter one see
330.
▲
by
fenomas
3y ago
> ..but if one of the most objectionable and controversial claims in the book is about adverbs modifying “unique”.. This reads like plain bad faith. Pullum lists a dozen or so very specific problems with S+W, and goes on at some length a
More ›