HackerLangs
トップ新着トレンドコメント過去質問紹介求人

sheept

711 カルマ登録 6 か月前
Java (short for JavaScript)

https://sheeptester.github.io/

コメント

sheept
·2 分前·議論
Personally I'm a bigger fan of base 6[0], which have many of the benefits of base 12, but the digits of simple fractions like 1/5 and 1/7 render more nicely in base 6 than base 12.

[0]: https://www.seximal.net/ is one advocate
sheept
·8 分前·議論
I'd've thought modern weeks have biblical origins rather than being based on quarter moon phases.
sheept
·13 分前·議論
I would assume that "Esperanto written in pure ASCII" is referring to x-sistemo, which avoids the diacritics
sheept
·14 時間前·議論
Aren't LLMs trained on and optimized for human code? In general, anything that is concise is more effective as context for the LLM, whether it be your CLAUDE.md or code, since LLMs are meant to model human language.
sheept
·14 時間前·議論
My hypothesis is that Claude is inclined to write so many comments as a way of doing additional thinking
sheept
·一昨日·議論
Does this respect llms.txt and robots.txt, or have you found it more effective if agents see what humans see?
sheept
·一昨日·議論
It depends, but for larger projects, you might have tooling for TypeScript that relies on its API, which isn't available in TS 7.0.
sheept
·5 日前·議論
Any page can silently trigger an additional multi-gigabyte download for Chrome users by just calling this API:

    await LanguageModel.create()
Since the model is installed once per browser, LanguageModel.availability() could probably also be used for fingerprinting.
sheept
·5 日前·議論
It's relatively easy to write many words, but it takes more skill to express the same message with fewer words, like how video compression needs more time for fewer bytes and same quality. As Pascal once wrote, "If I had had more time, I would have written a shorter letter."
sheept
·5 日前·議論
In Elm 0.19, they removed the ability for third party packages to provide native bindings for JavaScript APIs that the language or its official packages didn't yet support.[0] The only alternative proposed by Evan is to use ports, which are about as ergonomic as calling a function in a web worker.

[0]: https://discourse.elm-lang.org/t/native-code-in-0-19/826
sheept
·5 日前·議論
When I worked on an Elm app in 2020, my users reported compatibility issues with various browser extensions (e.g. Grammarly, 1Password). I personally would prioritize making my apps usable for my users over making the DX usable for myself, so I stopped using Elm for future projects.
sheept
·9 日前·議論
While the use of italics feels a bit ungrammatical, it also doesn't strike me as something from an LLM. An LLM would've tried bolding it if it could, and it wouldn't have written a comment this concise.
sheept
·9 日前·議論
Another reason why this is problematic is that their proposed standards follow Google's priorities for its own products, particularly Google Meet.[0][1]

[0]: https://developer.chrome.com/docs/web-platform/element-captu...

[1]: https://developer.chrome.com/docs/web-platform/document-pict...
sheept
·9 日前·議論
At the very least, Firefox's position on the similar <geolocation> element is positive.[0] I would assume their position for other permissions elements would be the same.

[0]: https://github.com/mozilla/standards-positions/issues/1288
sheept
·9 日前·議論
The similar <geolocation> element has clickjacking prevention enforced by the browser[0], and even if the website finds a way around it, it still shows the normal permission prompt.[1]

[0]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLGeoloca...

[1]: https://mdn.github.io/dom-examples/geolocation-element/basic... (requires Chromium)
sheept
·9 日前·議論
It replaces the YouTube embed, so they're just doing you a favor
sheept
·11 日前·議論
Yes, and they can do that if they wanted to. The Supreme Court has the power to interpret the Constitution.
sheept
·11 日前·議論
I believe OP is referring to how immigration is the only known working solution to a decreasing population.

The US fertility rate is already 1.6 births per woman[0], and the population is only not decreasing because it still receives far more immigration than, say, Japan or South Korea.

[0]: https://www.cdc.gov/nchs/data/vsrr/vsrr038.pdf
sheept
·11 日前·議論
What you're doing is essentially what Zod is designed to avoid. If you tolerate needing a separate build step more than having to define types with Zod's syntax, then it makes sense not to use Zod since it's not made for you.
sheept
·13 日前·議論
On Windows and Mac you can input an em dash anywhere with shift+windows+hyphen / shift+option+hyphen, respectively