Better HN
topnewbestaskshowjobs
Log inSign up

sheept

898 karma · joined Jan 9, 2026 (10mo ago) · 270 submissions

Java (short for JavaScript)

https://sheeptester.github.io/

Submissions

comment 2d ago · link · parent

What causes overeating?

comment 1w ago · link · parent

I feel like a repackaging of Chrome has to at least be Chromium based, which this is not

comment 1w ago · link · parent

Argon is the heaviest element of three, but it’s the mid tier model in the Gemini series, so you’ve just proved your point.

Luna, Terra, and Sol are in order of celestial size, and Haiku, Sonnet, and Opus are in order of length. But Hydrogen, Argon, and Carbon? Maybe they intended the order to be by density in pure form.

comment 2w ago · link · parent

JavaScript does something similar for the exponentiation operator. This is a syntax error:

    -a ** b
Someone who learned PEMDAS in school may argue it should be equivalent to -(a * b), while a programmer may be used to unary operators binding tightest, so (-a) * b.

comment 3w ago · link · parent

Wikipedia already supports dark mode as a feature of the default Vector 2022 skin.[0]

[0]: https://en.wikipedia.org/wiki/Wikipedia:Dark_mode

comment 3w ago · link · parent

Even if it were, it’s easier and more reasonable to fix your app to work with your users, than fixing your users to work with your app.

comment 3w ago · link · parent

The opt outs mentioned in the article, like

    color-scheme: light dark;
should be sufficient to enable dark mode for users who prefer dark mode.

For icons, ideally they’d be SVGs controlled by currentColor, but that may not be feasible or convenient depending on your setup.

comment 3w ago · link · parent

Surely OpenAI would thus not be opposed to others distilling their models.

comment 3w ago · link · parent

Those triangular serifs remind me of Ming script fonts.[0]

Also the indentation in the code sample near the end is quite terrible

[0]: https://en.wikipedia.org/wiki/List_of_CJK_fonts#Ming

comment 1mo ago · link · parent

"like" has been documented to be a synonym of "such as."[0]

[0]: https://www.merriam-webster.com/dictionary/like preposition sense 4

comment 1mo ago · link · parent

Can’t LLMs make forks as needed?

comment 1mo ago · link · parent

I’ve been using Deno’s permission system as a sandboxed replacement for ‘python -c’ for my agents. Hopefully a better supported runtime (in any language) adds a similar permissions system in the near future.

comment 1mo ago · link · parent

I wonder if xyz.com is simply requesting TLDs based on domains their users enter, so cmo and con come from their users’ typos rather than malicious intent. It would be similar to how some registrars park domains when a user checks if a domain is available.

comment 1mo ago · link · parent

It is possible they can; it’s not yet proven that the listed packings for 83 and 87 are optimal.

comment 1mo ago · link · parent

I would think that a regular user of Hacker News would be visiting new websites every day (though it'd definitely still be below 140k)

comment 1mo ago · link · parent

Scratch is probably the most used programming language with hot reloading, allowed for by its persistent global state.

Web development supports hot reloading modules, but this is effectively just dynamic imports and relies on the app being written for a library/framework that encourages pure code; it doesn’t kill the old module.

comment 1mo ago · link · parent

I added a wrapper script around Deno to my agent’s allowlist to take advantage of its permissions system, and instructed it to use Deno instead of Python or bash commands. It’s worked pretty well.

comment 1mo ago · link · parent

All those years of captchas must've made Google's model bulletproof

comment 1mo ago · link · parent

Is that a contradiction? Adding list and arrays doesn't break backwards compatibility. In general, guaranteeing backwards compatibility doesn't prevent you from adding new features, and having both old quirks and new features is fairly common for any decently old software

comment 2mo ago · link · parent

Wikis don’t have as much vendor lock-in as other Github features since they’re just git repos,[0] so you can clone and push the wiki elsewhere.

[0]: https://docs.github.com/en/communities/documenting-your-proj...

comment 2mo ago · link · parent

It’s not a web page; it’s a git remote url

comment 2mo ago · link · parent

Yes, affine transformation matrices are essentially shears.[0] In the 2D case, shearing the plane z=1 in 3D space essentially translates it around.

[0]: Here’s a visual: https://gunn-gatm.github.io/textbook/gatm.pdf#page=28

comment 2mo ago · link · parent

For a native speaker in casual speech, it'll only be at most a bit slower than its expansion because English is stress-timed

comment 2mo ago · link · parent

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]: Example: std::process::exit returns `!` https://doc.rust-lang.org/1.0.0/std/process/fn.exit.html

comment 2mo ago · link · parent

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 Android Chrome, dragging to rotate only works briefly before it's interrupted.

comment 3mo ago · link · parent

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, not Evil," so the Free Software Foundation considers it nonfree.[2]

[0]: https://opensource.org/osd

[1]: https://www.json.org/license.html

[2]: https://www.gnu.org/licenses/license-list.en.html#JSON

comment 3mo ago · link · parent

It'd be neat if you could pan a slider through the year to see the sunrise sunset times change

comment 3mo ago · link · parent

Dragging the globe around isn't working on touch; it feels like it's missing touch-action: none

comment 3mo ago · link · parent

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 permissions (safer substitute for `python -c`).

These are usually enough for most of my coding tasks. In my experience, Claude has been good enough that it can write code and fix bugs without needing anything else. It's far better than ever needing to approve permission requests.

[0]: https://code.claude.com/docs/en/permission-modes#available-m...

[1]: Note that this includes escaping the directory via symlinks

comment 3mo ago · link · parent

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: https://mdn.github.io/dom-examples/screenleft-screentop/

[1]: https://romanbaiocco.github.io/browser-ball-reloaded/

12345
9