Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ludocode
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
ludocode
17d ago
> I always make my user part of the docker group, so my NixOS also has this, and any Ubuntu I’ve used over the past year. You may do that, but I don't. I always use sudo to manage the few docker containers I need, and I prefer podma
2.
▲
by
ludocode
18d ago
> If you care primarily about the quality of the end result, as opposed to being attached to a particular process of achieving it, then you're happy about how things have gone. We must be living on different planets, because from ev
3.
▲
by
ludocode
5mo ago
> Current F13 expansion cards will pull out sometimes Just echoing what others have said here: I'm typing this on an original F13 I think from batch 6 which has had many upgrades but not the bottom cover. I have never had an expansi
4.
▲
by
ludocode
5mo ago
The 5x5 is very nice, and the 3x5 isn't bad either. Unfortunately neither of them have all of ASCII. The size is also a bit misleading because you need to add spacing so really they need a 6x6 or 4x6 grid. I'm quite fond of Spleen
5.
▲
by
ludocode
6mo ago
I'm the author of Onramp. Thanks for linking it! One of the VMs I wrote for Onramp is in POSIX shell [1]. This was intended to make C bootstrappable on any POSIX system of any architecture with nothing besides the shell. Unfortunately
6.
▲
by
ludocode
8mo ago
I just use ConnectBot to ssh to my house. It runs tmux and vim well, especially with a little pocket-size folding bluetooth keyboard to go with it.
7.
▲
by
ludocode
11mo ago
These filesystems are not really alternatives because mdraid supports features those filesystems do not. For example, parity raid is still broken in btrfs (so it effectively does not support it), and last I checked zfs can't grow a par
8.
▲
by
ludocode
1y ago
Here's a link to the case on the Framework marketplace: https://frame.work/ca/en/products/cooler-master-mainboard-ca... I put my original mainboard in one of these when I upgraded. It's fantastic. I
9.
▲
by
ludocode
1y ago
Indeed, a decent closed hash table is maybe 30 lines. An open hash table with linear probing is even less, especially if you don't need to remove entries. It's almost identical to a linear search through an array; you just change
10.
▲
by
ludocode
2y ago
Oh, amazing! I've heard of DuskOS before but I didn't realize its C compiler was written in Forth. Looks like it makes quite a few changes to C so it can't really run unmodified C code. I wonder how much work it would take to
11.
▲
by
ludocode
2y ago
Indeed! An eventual goal of Onramp is to bootstrap in freestanding so we can boot directly into the VM without an OS. This eliminates all binaries except for the firmware of the machine. The stage0/live-bootstrap team has already accom
12.
▲
by
ludocode
2y ago
Author here. I think my opinion would be about the same as the authors of the stage0 project [1]. They invested quite a bit of time trying to get Forth to work but ultimately abandoned it. Forth has been suggested often for bootstrapping a
13.
▲
Show HN: Onramp Can Compile Doom
(ludocode.com)
79 points
by
ludocode
2y ago
|
24 comments
14.
▲
by
ludocode
2y ago
That might be rather more difficult than you might expect. Advent of Code uses quite a lot of 64-bit numbers. A bit of googling tells me C64 BASIC only supports 16-bit integers and 32-bit floats. I imagine the other BASICs have similar limi
15.
▲
by
ludocode
2y ago
The current version of rustc may compile itself quickly, but remember, this is after nearly ten years of compiler optimizations. Older versions were much slower. I seem to recall complaints that old rustc would take many hours to compile it
16.
▲
by
ludocode
2y ago
The minimum tool that bootstrapping projects tend to start with is a hex monitor. That is, a simple-as-possible tool that converts hexadecimal bytes of input into raw bytes in memory, and then jumps to it. You need some way of getting this
17.
▲
by
ludocode
2y ago
The generated C code could contain a backdoor. Generated C is not really auditable so there would be no way to tell that the code is compromised.
18.
▲
by
ludocode
2y ago
It can be difficult to explain why bootstrapping is important. I put a "Why?" section in the README of my own bootstrapping compiler [0] for this reason. Security is a big reason and it's one the bootstrappable team tend to f
19.
▲
by
ludocode
2y ago
While it is technically possible to bootstrap Rust from Guile and the 0.7 Rust compiler, you would need to recompile the Rust compiler about a hundred times. Each step takes hours, and you can't skip any steps because, like he said,
20.
▲
by
ludocode
2y ago
It is true that there are many layers of code below the OS level. UEFI for example is probably hundreds of thousands of lines of compiled code. Modern processors have Intel IME and equivalent with their own secret firmware. Almost all moder
21.
▲
by
ludocode
2y ago
The team at bootstrappable.org have been working very hard at creating compilers that can bootstrap from scratch to prevent this kind of attack (the "trusting trust" attack is another name for it.) They've gotten to the point
22.
▲
by
ludocode
3y ago
> That’t not "doing sketchy shit with people's data" Of course it is. If you add AdSense to your website you are letting Google track your users in exchange for a cut of the profits. Of course you should have to warn your
23.
▲
by
ludocode
3y ago
I was definitely hoping for a look at modern compilers. This article was written last month, yet its history ends with the release of LLVM. There's quite a lot of development in small C compilers lately! - TinyCC, SCC (Simple C Compile
24.
▲
by
ludocode
3y ago
8BitDo makes great controllers. I have an SN30 Pro, a Zero 2 and a pair of Ultimate Cs. All of them have been used extensively and they are all excellent quality. On the other hand I've had back luck with generic NES and SNES knockoff
25.
▲
by
ludocode
3y ago
Do you at least have sympathy for yourself? These anti-competitive behaviors are causing higher prices for consumers. That includes you. The costs to consumers are why we're talking about this, and why, as a society, we try to police i
26.
▲
by
ludocode
3y ago
I've been using this since Simple Mobile Tools was sold. It works well. My only real complaint is that the app icon name starts with "Little" so it's sorted under L, not F. It makes it hard to find.
27.
▲
by
ludocode
3y ago
A killer feature of C is its simplicity. It is so simple that there are dozens, probably hundreds of independent C compilers and C standard libraries. Rust has no formal specification and no independent implementations even close to complet
28.
▲
by
ludocode
3y ago
The reason the fence exists should be written down, ideally as close to the fence as possible. It needs to be easy to determine why the fence is there. If someone puts up a fence without explaining why it's there, they deserve to have
29.
▲
by
ludocode
3y ago
Enshittification not just making a product bad, and it's not just rent seeking. It's more than any of those things. It's about making a product worse than it needs to be , by terrible pricing and ad infestation, in order to
30.
▲
by
ludocode
3y ago
That's only in C++. As far as I know in C you need to name all parameters (although maybe that rule has been relaxed in newer versions of C.)
More ›