Even though the never type has been experimental for a while, I've seen `!` used in the docs,[0] so at this point, Rust developers are probably already aware of what it means even if they haven't used it before. [0]:…
In addition to making the sidebar dismissable on small screens, it'd be nice to add touch-action: none to the canvas so rotating the object doesn't get interpreted as a scroll on touchscreens. Right now, at least in…
That wouldn't be open source. OSI includes the clause "No Discrimination Against Fields of Endeavor"[0] for its definition of open source. Famously, the JSON license[1] has a clause "The Software shall be used for Good,…
It'd be neat if you could pan a slider through the year to see the sunrise sunset times change
Dragging the globe around isn't working on touch; it feels like it's missing touch-action: none
I use dontAsk mode[0] with read access to the entire file system, write access to files from the working directory[1], some git commands (git commit yes, git push no), and a script wrapping Deno with the same read/write…
There's several web APIs for browser window positioning, like screenX/Y[0] (which is what OP uses), which allows for those classic pop-up based browser games from over a decade ago, like Browser Ball.[1] [0]: demo:…
Video generation models generate videos of a predetermined duration, so if a character finishes a line but there's still seconds remaining, then the model still has to fill it in
In JavaScript, it's Math.PI.toString(2) Who knows how optimized Python or JavaScript's implementations are, but I'd imagine printing the binary representation of floating point numbers is relatively easy to implement…
HTML is case insensitive, so <Button> is the same as <button>, and custom element names must have a hyphen. Your component regex represents a JSX limitation, but web components do not need React. Plus, if you capitalize…
I guess that makes sense. Since most non-privacy-focused Android distributions don't let users turn off the internet permission, keeping the permission secure likely ceased to be a priority. The full list of bypasses is…
It's pretty interesting that while both languages still receive new features, Java seems to stay ahead of JavaScript: - Java has long had a modern replacement for Date, while JavaScript's recently standardized Temporal…
The main drawback with the page's unstyled design is that the page is not mobile friendly. Publishing web pages by manually editing HTML files is still very common today; any GitHub Pages blog does this.
One of the strengths of TypeScript besides its expressiveness is that it's compatible with the massive npm ecosystem. Most packages only ship untyped JavaScript with type declarations defining the interface,[0] so…
It'd be nice if there was a live demo without needing to clone the repo. Though I suppose I could just try it out with a bookmarklet: javascript:import('https://esm.sh/writemark-editor').then(() =>…
I'm surprised it doesn't use proper HTML by default. I wasn't able to tab focus on the Administrator button on the login screen, and it turns out it's because the entire UI is div spam.
I personally rely on this behavior of LLMs. For example, for reviewing prose, I might ask the LLM to find five issues. If there are obvious issues I missed, then it'll find them. But if all the issues it lists are minor…
> - dash: compounds word-parts (Sarbanes-Oxley) That's a hyphen, and (to be pedantic) style guides usually do not consider it a dash. There's also the 2-em dash in some style guides for redacting words, and since care…
It is an en dash, not an em dash, since it's about as wide as an n. Some software substitutes a double hyphen -- with an en dash rather than em, and use the triple hyphen --- for the em dash. Perhaps Hacker News' title…
That's interesting. I think the bikes-facing-left bias probably comes from how humans use bikes: the kickstand is on the left, so people likely hold and approach bikes from its left. Looking online, the kickstand is…
I find it mildly interesting how your comment repeats itself but with different phrasing
Machine learning used to be used as a buzzword alongside AI, though nowadays after the release of ChatGPT it seems they've settled on AI.
Why would it be at odds with accessibility? The text contrast is excellent in each section, and the light/dark segments clearly define the border between sections. Forced dark mode can be difficult to read for users…
Designs can't be easily split into a pure light or dark mode, though. Before light/dark modes were popularized, it was common to have some parts be "dark" and other parts be "light," depending on the design (for…
Linguistically it's particularly interesting since it marks the habitual aspect, and standard English has no grammatical equivalent.[0] [0]: https://ygdp.yale.edu/phenomena/invariant-be#who-says-this
Even though the never type has been experimental for a while, I've seen `!` used in the docs,[0] so at this point, Rust developers are probably already aware of what it means even if they haven't used it before. [0]:…
In addition to making the sidebar dismissable on small screens, it'd be nice to add touch-action: none to the canvas so rotating the object doesn't get interpreted as a scroll on touchscreens. Right now, at least in…
That wouldn't be open source. OSI includes the clause "No Discrimination Against Fields of Endeavor"[0] for its definition of open source. Famously, the JSON license[1] has a clause "The Software shall be used for Good,…
It'd be neat if you could pan a slider through the year to see the sunrise sunset times change
Dragging the globe around isn't working on touch; it feels like it's missing touch-action: none
I use dontAsk mode[0] with read access to the entire file system, write access to files from the working directory[1], some git commands (git commit yes, git push no), and a script wrapping Deno with the same read/write…
There's several web APIs for browser window positioning, like screenX/Y[0] (which is what OP uses), which allows for those classic pop-up based browser games from over a decade ago, like Browser Ball.[1] [0]: demo:…
Video generation models generate videos of a predetermined duration, so if a character finishes a line but there's still seconds remaining, then the model still has to fill it in
In JavaScript, it's Math.PI.toString(2) Who knows how optimized Python or JavaScript's implementations are, but I'd imagine printing the binary representation of floating point numbers is relatively easy to implement…
HTML is case insensitive, so <Button> is the same as <button>, and custom element names must have a hyphen. Your component regex represents a JSX limitation, but web components do not need React. Plus, if you capitalize…
I guess that makes sense. Since most non-privacy-focused Android distributions don't let users turn off the internet permission, keeping the permission secure likely ceased to be a priority. The full list of bypasses is…
It's pretty interesting that while both languages still receive new features, Java seems to stay ahead of JavaScript: - Java has long had a modern replacement for Date, while JavaScript's recently standardized Temporal…
The main drawback with the page's unstyled design is that the page is not mobile friendly. Publishing web pages by manually editing HTML files is still very common today; any GitHub Pages blog does this.
One of the strengths of TypeScript besides its expressiveness is that it's compatible with the massive npm ecosystem. Most packages only ship untyped JavaScript with type declarations defining the interface,[0] so…
It'd be nice if there was a live demo without needing to clone the repo. Though I suppose I could just try it out with a bookmarklet: javascript:import('https://esm.sh/writemark-editor').then(() =>…
I'm surprised it doesn't use proper HTML by default. I wasn't able to tab focus on the Administrator button on the login screen, and it turns out it's because the entire UI is div spam.
I personally rely on this behavior of LLMs. For example, for reviewing prose, I might ask the LLM to find five issues. If there are obvious issues I missed, then it'll find them. But if all the issues it lists are minor…
> - dash: compounds word-parts (Sarbanes-Oxley) That's a hyphen, and (to be pedantic) style guides usually do not consider it a dash. There's also the 2-em dash in some style guides for redacting words, and since care…
It is an en dash, not an em dash, since it's about as wide as an n. Some software substitutes a double hyphen -- with an en dash rather than em, and use the triple hyphen --- for the em dash. Perhaps Hacker News' title…
That's interesting. I think the bikes-facing-left bias probably comes from how humans use bikes: the kickstand is on the left, so people likely hold and approach bikes from its left. Looking online, the kickstand is…
I find it mildly interesting how your comment repeats itself but with different phrasing
Machine learning used to be used as a buzzword alongside AI, though nowadays after the release of ChatGPT it seems they've settled on AI.
Why would it be at odds with accessibility? The text contrast is excellent in each section, and the light/dark segments clearly define the border between sections. Forced dark mode can be difficult to read for users…
Designs can't be easily split into a pure light or dark mode, though. Before light/dark modes were popularized, it was common to have some parts be "dark" and other parts be "light," depending on the design (for…
Linguistically it's particularly interesting since it marks the habitual aspect, and standard English has no grammatical equivalent.[0] [0]: https://ygdp.yale.edu/phenomena/invariant-be#who-says-this