Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vaylian
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
421.
▲
by
vaylian
1y ago
When you call document.querySelector("something") in the main HTML document, it will not find "something" inside the internal HTML of a web component.
422.
▲
by
vaylian
1y ago
Web components provide a clean abstraction boundary. You can add additional methods to your own tags which can encapsulate the logic for updating the data in the component.
423.
▲
by
vaylian
1y ago
> Better Lighthouse scores What does that mean? What is Lighthouse?
424.
▲
by
vaylian
1y ago
You can edit the typo directly in the already published document. The pre-rendering is just there to provide the surrounding page content when you create a new page.
425.
▲
by
vaylian
1y ago
> These unique Rust features also pose a steep learning curve for programmers. This is a common misunderstanding of what a learning curve is: https://en.wikipedia.org/wiki/Learning_curve#%22Steep_learni...
426.
▲
by
vaylian
1y ago
What should the label of the y-axis be?
427.
▲
by
vaylian
1y ago
Agree. Duolingo lost most of its appeal when the discussion forums were taken offline. It was really nice to discuss the sentences with other learners and the creator of the course. And it was always fun to open the thread for the sentence
428.
▲
by
vaylian
1y ago
> firehose This is what the modern information space feels like in one word. It's impossible to read everything. But at the same time, it's not necessary to read everything. > What we lack is a presentation that is actually
429.
▲
by
vaylian
2y ago
This makes me wonder: Are there any solar-powered navigation computers? It would be cool to have an off-grid navigation computer that can load all openstreetmap tiles.
430.
▲
by
vaylian
2y ago
When I think about insects and slugs, then slugs are typically considerably larger and have more body mass. Is it only the smaller slugs or slug eggs that the insects eat? I have a hard time imagining a beetle eating a slug.
431.
▲
by
vaylian
2y ago
Python has a trait-like system. It's called "abstract base classes": https://docs.python.org/3/library/abc.html The abstract base class should use the @abstractmethod decorator for methods that the
432.
▲
by
vaylian
2y ago
That is nonsense. A competent human will provide you with an explanation that is based on logic. LLMs just put together words that are statistically most likely to be used together given the current input. That is why you can get hallucinat
433.
▲
by
vaylian
2y ago
> ask for an explanation That is risky. The AI might just hallucinate an explanation.
434.
▲
by
vaylian
2y ago
You need root permissions to write to these locations. For personal installations you should use $XDG_DATA_HOME: https://specifications.freedesktop.org/basedir-spec/latest/#... and then create symlinks to binaries
435.
▲
by
vaylian
2y ago
Is ParticleOS also a useful everyday driver for Linux enthusiasts who aren't systemd developers? Let's say I got bored with Gentoo and I want to try something new. Is ParticleOS something that a technical user would enjoy at the c
436.
▲
by
vaylian
2y ago
How does the update process work? Do you run pacman -Syu and then bake the result into the next image with mkiso?
437.
▲
by
vaylian
2y ago
Did XMPP ever use these protocols for authentication?
438.
▲
by
vaylian
2y ago
It is correct that training 1 model is a lot more expensive than running that same model 1 time. But when you have many people using AI, then you also get a lot of emissions. The key challenge with greenhouse emissions is that the sources a
439.
▲
by
vaylian
2y ago
Language servers rule. Thanks for doing this!
440.
▲
by
vaylian
2y ago
Sorry, can you elaborate? Your answer is not really clear. Why is it not possible for Linux namespaces to be secure?
441.
▲
by
vaylian
2y ago
> There are many container escapes each year because the chunk of api that they are required to cover is so large What API? The kernel syscall API? If we assume for a moment, that there are no bugs in the Linux namespace implementation,
442.
▲
by
vaylian
2y ago
There is no sha-256 in the C or C++ standard library either. A cryptographic hashing algorithm like sha-256 is not something that necessarily has to be in a standard library. There's plenty of old modules in the Python standard library
443.
▲
by
vaylian
2y ago
What does the .r do at the end of the first line?
444.
▲
by
vaylian
2y ago
> Edit: It focuses too much on the language instead of the ecosystem. What do you mean by that? What is missing?
445.
▲
by
vaylian
2y ago
The problem is that it is easy to write code that is not easy to read/understand afterwards. Especially if the code has a lot of operator soup and implicits.
446.
▲
by
vaylian
2y ago
Implicit
447.
▲
by
vaylian
2y ago
I think the article should also point to the /usr merge https://www.freedesktop.org/wiki/Software/systemd/TheCaseFor... because it makes it feasible to have atomic distributions. Most Linux distributions
448.
▲
by
vaylian
2y ago
This. Installing packages via rpm-ostree is something one can do, but in most cases it should not be necessary. It's more of an escape hatch than an everyday tool. Most additional software will be installed in the user's home dire
449.
▲
by
vaylian
2y ago
> I often wonder, why isn't systemd-nspawn[0] used more often? I think most people simply don't know about it. A lot of people also don't know that there are alternatives to Docker. I use both, systemd-nspawn and podman co
450.
▲
by
vaylian
2y ago
I would certainly appreciate beautiful writing, but I want something far more basic: Good writing. I want a text that is pleasant to read. That does not mean that the text should be dumbed down or that I expect it to be easy. A good text av
More ›