Readit News logoReadit News
balou23 commented on Font with Built-In Syntax Highlighting (2024)   blog.glyphdrawing.club/fo... · Posted by u/california-og
cyanmagenta · 4 days ago
I view stuff like this kind of like code that fits into a bootloader or whatever. It’s really more of the technical challenge than to actually solve a problem. The result is much better if you just run a script on your hand-coded file to add syntax highlighting as DOM elements. Still, love seeing stuff like this.
balou23 · 3 days ago
In a similar vein: font with integrated story-telling LLM [1]

[1] https://fuglede.github.io/llama.ttf/

balou23 commented on Getting bitten by Intel's poor naming schemes   lorendb.dev/posts/getting... · Posted by u/LorenDB
bjackman · 9 days ago
I work in CPU security and it's the same with microarchitecture. You wanna know if a machine is vulnerable to a certain issue?

- The technical experts (including Intel engineers) will say something like "it affects Blizzard Creek and Windy Bluff models'

- Intel's technical docs will say "if CPUID leaf 0x3aa asserts bit 63 then the CPU is affected". (There is no database for this you can only find it out by actually booting one up).

- The spec sheet for the hardware calls it a "Xeon Osmiridium X36667-IA"

Absolutely none of these forms of naming have any way to correlate between them. They also have different names for the same shit depending on whether it's a consumer or server chip.

Meanwhile, AMD's part numbers contain a digit that increments with each year but is off-by-one with regard to the "Zen" brand version.

Usually I just ask the LLM and accept that it's wrong 20% of the time.

balou23 · 8 days ago
I hear you.

Coincidentally, if anyone knows how to figure out which Intel CPUs actually support 5-level paging / the CPUID flag known as la57, please tell me.

balou23 commented on 3-way FTP: Pushing files around with silly and unusual methods   rachelbythebay.com/w/2020... · Posted by u/fanf2
balou23 · 2 months ago
Ah memories...

Nmap used to have a mode where you could portscan via a third-party FTP server.

And it just so happened that HP Laserjet printers had an FTP server active by default that allowed PORT to any IP.

balou23 commented on My Ed(1) Toolbox   aartaka.me/my-ed.html... · Posted by u/mooreds
hejira · 3 months ago
Is there really an advantage to using Ed instead of vim in any situation whatsoever? (Assuming you're totally comfortable with vim)
balou23 · 3 months ago
Very low bandwidth situations, or when you want to apply the same steps to other files afterwards.

But if you're totally comfortable with vim you'd better use ex, which basically is both an extension to ed, and the non-interactive part of vim.

balou23 commented on Modos Paper Monitor – Open-hardware e-paper monitor and dev kit   crowdsupply.com/modos-tec... · Posted by u/RossBencina
swinglock · 5 months ago
I don't require it myself but that's a concern, it's nice to have. Maybe someone can build an editor that uses different fonts within one file instead of different colors. Could be something out there for color blind folks already, though seeing no colors at all is unusual. But e-ink has grayscales so you could at least make comments a bit lighter, I think I'd be happy with that.
balou23 · 5 months ago
There's plenty of options available. A coworker of mine used to print out code for reviews. You can use italic, bold and underline as alternative to colors. Grayscale might work nicely for eInk too - for laser printers just thin/regular/bold probably works better.

Other fonts... I could see myself being distracted by changing fonts in a document, except maybe for comment blocks. But for those italic/thin seems to work well already.

Tried to find the tool... it's GNU enscript. Syntax highlighting for several languages, outputs to postscript.

balou23 commented on Windows XP Professional   win32.run/... · Posted by u/pentagrama
easton · 5 months ago
If you want the real thing: https://lrusso.github.io/VirtualXP/VirtualXP.htm

(takes less memory than Miro, at least in Firefox :D)

balou23 · 5 months ago
> (takes less memory than Miro, at least in Firefox :D)

Ouch.

balou23 commented on Uncovering the mechanics of The Games: Winter Challenge   mrwint.github.io/winter/w... · Posted by u/abra0
balou23 · 8 months ago
Ah, memories.

I broke the space key on my dads computer while trying to get a new speed skating record.

balou23 commented on Show HN: My from-scratch OS kernel that runs DOOM   github.com/UnmappedStack/... · Posted by u/UnmappedStack
UnmappedStack · 8 months ago
I use paging for virtual memory, which gives each process it's own address space. I have a round-robin scheduler connected to the PIT driver, so every 10ms the PIT fires an interrupt which triggers the scheduler, which selects the next task, saves the current state of the previous task, switches to the new address space, switches the stack, restores registers of the task, then uses the iretq instruction to switch to ring 3 user mode and jump to the instruction pointer.
balou23 · 8 months ago
Thanks for that explanation. I've been doing some low-level programming lately, and I'm getting interested on running stuff bare-metal. Every previous description of multitasking I've seen has been very hand-wavy.
balou23 commented on Issues with color spaces and perceptual brightness   johnaustin.io/articles/20... · Posted by u/todsacerdoti
cccbbbaaa · a year ago
balou23 · a year ago
Someone else was mentioning Oklab color space, and I was wondering what the difference was to darktable UCS.

TL;DR: Oklab is pretty simple, but is already pretty nice as a perceptually uniform color space. Darktable UCS takes Oklab and tries to reduce the residual error.

Feel free to correct me if I got anything wrong

balou23 commented on Ghostty 1.0   ghostty.org/... · Posted by u/matrixhelix
sambeau · a year ago
I love this page in your docs:

https://ghostty.org/docs/about

Clear, friendly, modest, respectful and with the right balance of detail vs overview.

Congratulations on your launch.

balou23 · a year ago
I'm not sure why they couldn't put that on the front page. Or at least on the front page of the documentation.

As it stands now, the front page is pretty useless if you never heard of ghostty. It's a ghost in a terminal? And there's tty in the name.... so is it a program to show ghosts in your terminal?

u/balou23

KarmaCake day89April 26, 2023View Original