Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Zarel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
Zarel
6y ago
> I'm also pretty unconvinced of the article's stated purpose of "readable" URL text. Here's an example: https://magazine.jp.square-enix.com/biggangan/ (Notice: "big gangan" rath
92.
▲
by
Zarel
6y ago
Renames aren't atomic on crash. https://danluu.com/file-consistency/
93.
▲
by
Zarel
6y ago
> I do encounter threads sometimes with deleted elements but it's doesn't hurt the user experience. There are comments elsewhere in this thread that complain that they do harm the user experience. For example: "I [...] gen
94.
▲
by
Zarel
6y ago
I think Slate Star Codex makes a pretty good argument why this is a bad idea: https://slatestarcodex.com/2019/07/29/against-against-billio...
95.
▲
by
Zarel
6y ago
I don't like Markdown for non-technical users. On Reddit, I frequently see mistakes caused by Markdown behaving unexpectedly. Common problems include: - "How old are you?" "52." gets renumbered into "How old ar
96.
▲
by
Zarel
6y ago
In addition, I believe HN deranks submissions with a high comment-to-vote ratio, also as a signal of controversy.
97.
▲
by
Zarel
6y ago
As of HTML5, web standards specify how to render invalid HTML as well, precisely to avoid this problem: https://html.spec.whatwg.org/multipage/parsing.html#parse-er... In addition, most of the suggestions in the link (
98.
▲
by
Zarel
6y ago
How did you explicitly make it into an object literal? ({}) + [] -> "[object Object]" will correctly make it "[object Object]" Did you try to do this? {a: 1} + [] -> 0 That's interpre
99.
▲
by
Zarel
6y ago
There are a lot of libraries to it more readable: https://blog.bloomca.me/2019/02/23/alternatives-to-jsx.html If you don't want to use any of them, convention is to use: const h = React.createEleme
100.
▲
by
Zarel
6y ago
All I really wanted was to allow type annotations in JavaScript. So you wouldn't need a compile step while running (JavaScript would just ignore the type signatures), but TypeScript could check it whenever. I believe this is the approa
101.
▲
by
Zarel
6y ago
TypeScript annotations can also be put into comments. I like TypeScript's approach (JSDoc) better, actually, because it's how you'd want to annotate them even if you didn't have a typechecker, anyway. Although I still hi
102.
▲
by
Zarel
6y ago
It does, it's the second top-level bullet point: > Google Talk, a defunct instant messaging service released by Google in 2005 The page was last edited over a week ago, so it's not like I'm seeing a newer version than what
103.
▲
by
Zarel
6y ago
While it's not wrong to refer to the Super key as "Meta", I don't like calling it that, because in some contexts (like emacs), "Meta" means the Alt key.
104.
▲
by
Zarel
6y ago
I think there's a difference between turbo boosting for short workloads and turbo boosting for long workloads. Especially since a big cause of turbo boosting for long workloads is because of a bug in some app I'm running, like an
105.
▲
by
Zarel
7y ago
Indeed, the documentation reflects this. So why isn't it happening on my repo? Weird...
106.
▲
by
Zarel
7y ago
It's much better than Travis in every way except one: GitHub Actions pull request checks are against the PR branch, while Travis pull request checks are against a merged tree. The most common case where this matters is if someone pushe
107.
▲
by
Zarel
7y ago
As far as I can tell, this is a collaboration between Microsoft Edge and the W3C for deciding what reusable UI components should be put in web standards, and what they should be named. So it's already exactly what you want. What are yo
108.
▲
by
Zarel
7y ago
After a few years working on real-world code, I understood that faster asymptotic complexity was often slower on average. After a few more years working on real-world code, I understood that it's usually better to choose the algorithm
109.
▲
by
Zarel
7y ago
It seems to me that that they already have a 4-day-long queue, and the error message is in fact a "the queue is full" error. Why not a longer queue? I don't know, but I'd guess people forget about their order and buy red
110.
▲
by
Zarel
7y ago
That doesn't explain the difference in death rates. If Japan were turning away severe life-threatening cases (especially despite plenty of hospital capacity), you'd expect an increase in deaths and rioting in the streets – at the
111.
▲
by
Zarel
7y ago
This is what I've heard from my friends living in Japan – people are sick, but the government is refusing to test them because they want to keep the numbers down so the Olympics don't get cancelled. But other threads further up po
112.
▲
by
Zarel
7y ago
JohnTHaller is talking about this MacBook line, which weighed 5 pounds. https://en.wikipedia.org/wiki/MacBook_(2006%E2%80%932012) Not this MacBook line, which is the one you're talking about, and took over the Mac
113.
▲
by
Zarel
7y ago
This might be confusion over what "tablet mode" means. I think he just means the non-Desktop interfaces, which in Windows 8 you could unintentionally get into very easily, famously by double-clicking an image file. And back then,
114.
▲
by
Zarel
7y ago
They refined the scissor mechanism. It's an improved scissor mechanism with better key stability than previous scissor keyboards on their laptops (so sort of the "best of both worlds" between the butterfly keyboard and their
115.
▲
by
Zarel
7y ago
JSON5 is a good alternative, mentioned a few times in this thread. JSON, plus comments, trailing commas, and object keys can be unquoted. Solves all my frustration with using JSON as a config file language.
116.
▲
Show HN: Regexfree – Write Readable Regexes
(zarel.github.io)
2 points
by
Zarel
7y ago
|
0 comments
117.
▲
by
Zarel
7y ago
For what it's worth, most gaming startups I know (including my own) seem to use Discord.
118.
▲
by
Zarel
7y ago
I still miss Growl supporting right-click-to-dismiss. It's annoying to dismiss notifications with a mouse (click and drag them away) now.
119.
▲
by
Zarel
7y ago
They're talking about decimal numbers as a different thing from floating point numbers: https://en.wikipedia.org/wiki/Decimal#Decimal_computation
120.
▲
by
Zarel
7y ago
I use PIP a lot in Chrome while browsing Reddit. If I see a video link, I can play the video while continuing to scroll through Reddit comments. (YouTube PIP is kind of difficult to discover; you have to right-click, move the mouse off the
More ›