Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
boricj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
271.
▲
by
boricj
2y ago
Delinking by itself isn't a heresy (no more than disassembly or decompilation), but what I do with it definitively is. Ripping out MIPS code from a PlayStation video game and shoving it into a Linux program, dismembering a x86 Linux pr
272.
▲
by
boricj
2y ago
Over the past two years I've been working on tooling that allows me to delink programs back into object files. What started out as a bunch of Jython scripts is nowadays a full-blown Ghidra extension that can export working object files
273.
▲
by
boricj
2y ago
People new to *nix don't realize that it's a 55 year old design that keeps accumulating cruft.
274.
▲
by
boricj
2y ago
Microsoft did implement a not-so-thin POSIX layer and an ELF loader atop the NT kernel, it's WSL1 (Windows Subsystem for Linux). It was obsoleted by WSL2, which uses a specifically-tuned Linux VM instead for performance and completenes
275.
▲
by
boricj
2y ago
You can commit a lot of sins with ABIs if you throw the academic books into the fire. For example, on my side I'm developing tooling that allows one to delink programs back into object files. This allows me to commit a whole bunch of h
276.
▲
by
boricj
2y ago
DOSBox is fine for playing MS-DOS games as they were back in the day, but not if you're looking for a modern, streamlined experience. DOS means joysticks with 4 axis and 4 buttons max, short 8.3 filenames, obsolete network protocols, S
277.
▲
by
boricj
2y ago
This depends on what you want to achieve. Projects that aim for perfect decompilation (i.e. producing a source tree and build instructions that recreates the original artifacts bit-for-bit) like the one for Super Mario 64 are essentially pr
278.
▲
by
boricj
2y ago
MINIX3's development has stalled years ago. Basically, around MINIX 3.2.0 (just before I stated contributing) the OS ditched its homegrown userland and adopted the NetBSD source tree + pkgsrc. While that boosted the software compatibil
279.
▲
by
boricj
2y ago
Now I'm wondering about other senses. I can readily imagine sounds and pictures, but it took my brain some time before it figured out how to imagine smells and tactile sensations when I asked it, like a muscle that is rarely exercised.
280.
▲
by
boricj
2y ago
Can you hear or imagine sounds in your head?
281.
▲
by
boricj
2y ago
I think that this submission would make more sense as an Ask HN.
282.
▲
by
boricj
2y ago
Well, it's the best design that was implemented inside SerenityOS when I contributed this, as mentioned inside the PR. The event loop still used select() at the time, although it was migrated to poll() a couple of months ago [1]. Polli
283.
▲
by
boricj
2y ago
Speaking of select(), a while ago I got a PR merged into SerenityOS [1] that removed it from the kernel and reimplemented it as a compatibility shim on top of poll() inside the C library. You can shove some of the minor cruft from Unix out
284.
▲
by
boricj
2y ago
There's plenty of literature on the topic, but you can start with "A fork() in the road" [1] that explains why this Unix feature has long passed its best-by date. Another good read is "Dot Dot Considered Harmful" [2
285.
▲
by
boricj
2y ago
It ultimately depends on your requirements, but there are valid reasons why you'd want to use an operating system that isn't Linux in a given project. Linux for the most part is made up of a large amount of code written in C runn
286.
▲
by
boricj
2y ago
Linking to the README.md file directly instead of the source code tree would make the intent of this submission more obvious.
287.
▲
A modding framework powered by the tears of CS101 teachers
(boricj.net)
3 points
by
boricj
2y ago
|
0 comments
288.
▲
by
boricj
2y ago
You can tweak the arguments given to the JVM by editing the support/launch.properties file. In particular, you can change the UI scale with the sun.java2d.uiScale property, which is set by default to 1.
289.
▲
by
boricj
2y ago
I'm developing my own Ghidra extension that can export object files out of a program selection: https://github.com/boricj/ghidra-delinker-extension Ghidra's data model, analyzers and UI gave me a framework th
290.
▲
by
boricj
2y ago
These readers download 544 KiB per request. At 1k rps from badly behaved readers, that's 544 MiB of uncached responses to encrypt and upload per second. That's enough to saturate a gigabit Ethernet link five times over. The server
291.
▲
by
boricj
2y ago
Rachel by the Bay's atom.xml file is about 544 KiB (which for some reason seems to be always sent uncompressed regardless of the "Accept-Encoding" header, but I digress). It's by far the most requested file, with every s
292.
▲
by
boricj
2y ago
It's kept up-to-date automatically. It is appropriately firewalled to only expose ports 80 and 443, the administration panel and the rest of the services hosted on it are only reachable from my LAN. It only serves static content, no sc
293.
▲
by
boricj
2y ago
Some of us are not serving our blogs through Cloudfare. In fact, I'm using a 5 year old entry-level Synology NAS located in my apartment to serve mine. I do that because it's already always-on by policy and therefore doesn't
294.
▲
by
boricj
2y ago
Just give it a custom feed with only one article titled "Your feed reader sucks" explaining why they get this. Maybe even generate the contents of this article dynamically to provide diagnostic messages. That way, badly-behaved cl
295.
▲
by
boricj
2y ago
On my blog, my feed.xml is currently 62654 bytes compressed, 307726 bytes long uncompressed. The compressed version is served with gzip_static, so if the client sets the HTTP header "Accept-Encoding: gzip" then it's sent at n
296.
▲
by
boricj
2y ago
In a previous sysadmin job, I've had to deal with major network performance bottlenecks between our CI lab and the company's uplink, where all our git clones/pulls went through. I had to improvise a solution, so I wrote a Git
297.
▲
by
boricj
2y ago
I'd say manual building has a chance of a slip-up every time it is done, whereas automated building has a chance that it will slip-up every time it is executed.
298.
▲
by
boricj
2y ago
Back when release artifacts were hand crafted, these often contained leftovers that weren't meant to be shipped, like cut content [1] or debugging symbols [2]. When I stumbled upon debugging symbols hidden inside the data archive of th
299.
▲
by
boricj
2y ago
Wait until you see how computer programs are made.
300.
▲
by
boricj
2y ago
I've exchanged a couple of emails with the author a while ago. Reverse-engineering and decompiling DOS software running in real mode and especially video games is a particularly tricky endeavor, a notch above other similar projects on
More ›