Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
RGBCube
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
RGBCube
1y ago
This won't affect most users as they will be using the cache.nixos.org substituter and haven't modified any package that pulls repo.or.cz repositories, but it's still amusing.
32.
▲
You can't build tcc from Nixpkgs if you are in the UK
(github.com)
169 points
by
RGBCube
1y ago
|
67 comments
33.
▲
by
RGBCube
1y ago
There's no Virtual Terminal, aka TTY / VT, so the kernel is smaller and the insecure VT impl in the Kernel is not compiled in. In general, you get less moving parts and a more solid system. The functionality of the VT as a fallbac
34.
▲
Seamless Linux Boot [video]
(youtube.com)
4 points
by
RGBCube
1y ago
|
3 comments
35.
▲
by
RGBCube
1y ago
See the reddit post explaining a lot here: https://reddit.com/r/linux/comments/1dpeqay/config_vtn_in_20... Coming to a distro near you, probably!
36.
▲
Run as the Root Account
(garyshood.com)
2 points
by
RGBCube
1y ago
|
1 comments
37.
▲
by
RGBCube
1y ago
You need to enable the option-key-as-alt config option (I recommend only doing it for left option) as alt and option aren't actually the same thing. The name of the config key may be different but it exists
38.
▲
by
RGBCube
1y ago
Currently Linux and I think BSD, and the creator has said he wants to support MacOS and Windows, though those will only be included in the paid product. On Linux and BSD, it supports Wayland and X11, though Wayland is better supported. ie,
39.
▲
Bank Python
(calpaterson.com)
2 points
by
RGBCube
1y ago
|
1 comments
40.
▲
Quickshell, building blocks for your desktop
(quickshell.org)
3 points
by
RGBCube
1y ago
|
0 comments
41.
▲
by
RGBCube
1y ago
Radicle.xyz fixes this with COBs (Collaborative Objects). They're stored inside your git repo as normal objects, and benefit from its p2p mechanism as well. It's the true sovereign forge.
42.
▲
by
RGBCube
1y ago
Sorry, I meant `&Vec<T, dyn Allocator>`. And no, it is possible. Here is an example that does it with BufReader, which has T: ?Sized and uses it as a field: https://play.rust-lang.org/?version=stable&mode=debug
43.
▲
by
RGBCube
1y ago
If the `A` generic parameters were changed to be ?Sized, it would still be possible to make `read_to_end` support custom allocators by changing the signature to `read_to_end(&mut dyn Vec<u8, Allocator>)` Not sure if that is a brea
44.
▲
Souper – A Superoptimizer for LLVM IR
(github.com)
2 points
by
RGBCube
1y ago
|
0 comments
45.
▲
by
RGBCube
1y ago
That's more of a distro thing than "Linux being a few screws loose". I vastly prefer the OpenBSD kernel too, but if you use a distro that does things properly such as NixOS, the BSDs are the ones that feel wonky.
46.
▲
You Are the Bios Now: Building a Hypervisor in Rust with KVM
(yeet.cx)
3 points
by
RGBCube
1y ago
|
0 comments
47.
▲
by
RGBCube
1y ago
Holy slop. This does reflect my experience with Claude Code too. It just writes TOO MUCH damn code. It's never able to understand the tiny change that would make the software actually be better without guidance, and at that point I
48.
▲
by
RGBCube
1y ago
This whole rant is uninformed & it seems like the author is completely ignorant of anything happening outside his well. But I'll bite the Rust rant anyway. > Where's your SSL? Right here: https://www.memorysafety
49.
▲
by
RGBCube
1y ago
Hello
50.
▲
by
RGBCube
1y ago
They're still not enough. Even with those, it's really easy for stuff to slip in. You should just pick the nearly exhaustive option instead
51.
▲
.gitignore Is Inherently Sisyphean
(rgbcu.be)
45 points
by
RGBCube
1y ago
|
63 comments
52.
▲
by
RGBCube
1y ago
Many such cases. Nushell fixes this: https://nushell.sh/ I've been using it as my shell for 2-3 years, and it has improved a LOT since then. The interactive experience is great, and it's wonderful assembling scrip
53.
▲
by
RGBCube
1y ago
I also use 3 spaces myself, because 4 spaces is too damn wide and 2 spaces is a little bit too small. I would use tabs instead, but rustfmt doesn't handle it well at all in some of the nightly options, I've had it use spaces where
54.
▲
by
RGBCube
1y ago
This is horrible and goes against the purpose of tabs. You should NEVER use tabs for alignment, only for indentation.
55.
▲
by
RGBCube
1y ago
Server-side declarations are a thing now & are used widely (in anything other than GNOME)
56.
▲
by
RGBCube
1y ago
@dang, post is from 2018, so adding (2018) to the title may help as the current state of font rendering on Linux is pretty fine.
57.
▲
by
RGBCube
1y ago
Almost MacOS-tier font rendering, for free: FREETYPE_PROPERTIES="cff:no-stem-darkening=0 autofitter:no-stem-darkening=0" Probably only good in high DPI monitors though.
58.
▲
Erase Your Darlings
(grahamc.com)
2 points
by
RGBCube
1y ago
|
0 comments
59.
▲
The Secret Life of Fsync (2023)
(puzpuzpuz.dev)
12 points
by
RGBCube
1y ago
|
1 comments
60.
▲
by
RGBCube
1y ago
Anyone who has operated a public webserver knows that the vast majority of the rabid, robots.txt ignoring hyperscrapers are from Chinese autonomous systems
More ›