HackerTrans
TopNewTrendsCommentsPastAskShowJobs

sheept

711 karmajoined 6 месяцев назад
Java (short for JavaScript)

https://sheeptester.github.io/

comments

sheept
·3 часа назад·discuss
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
·3 часа назад·discuss
I'd've thought modern weeks have biblical origins rather than being based on quarter moon phases.
sheept
·3 часа назад·discuss
I would assume that "Esperanto written in pure ASCII" is referring to x-sistemo, which avoids the diacritics
sheept
·17 часов назад·discuss
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
·17 часов назад·discuss
My hypothesis is that Claude is inclined to write so many comments as a way of doing additional thinking
sheept
·позавчера·discuss
Does this respect llms.txt and robots.txt, or have you found it more effective if agents see what humans see?
sheept
·3 дня назад·discuss
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 дней назад·discuss
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 дней назад·discuss
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 дней назад·discuss
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 дней назад·discuss
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 дней назад·discuss
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 дней назад·discuss
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 дней назад·discuss
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 дней назад·discuss
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 дней назад·discuss
It replaces the YouTube embed, so they're just doing you a favor
sheept
·11 дней назад·discuss
Yes, and they can do that if they wanted to. The Supreme Court has the power to interpret the Constitution.
sheept
·11 дней назад·discuss
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 дней назад·discuss
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 дней назад·discuss
On Windows and Mac you can input an em dash anywhere with shift+windows+hyphen / shift+option+hyphen, respectively