HNHacker News
TopNewBestAskShowJobs

OCTAGRAM

89 karma · joined August 23, 2025

submissionscomments
OCTAGRAM··on Git 3.0 will use main as the default branch
We used to default
OCTAGRAM··on Git 3.0 will use main as the default branch
Yeah. Advanced Direct Connect p2p is using TIGER Tree Hash. Gnutella2 p2p is using TIGER Tree Hash. There is BitTorrent format extension to include per-file TTH, implemented by EAD TorrentBuild. For best performance we should also get rid of pointless per-block hashes in torrent files.

TTH is universal for p2p, and yet developers choose another hashes, making their tools not ready for p2p.

My lovely Mercurial is unfortunately also not ready for p2p

OCTAGRAM··on Git 3.0 will use main as the default branch
git config --global init.defaultBranch default

Because Mercurial is using default as default, and if we have to resort to worse SCMs, let them behave like Mercurial anyway

OCTAGRAM··on Git 3.0 will use main as the default branch
Mercurial uses "default" as the default branch since the inception
OCTAGRAM··on Run Docker containers natively in Proxmox 9.1 (OCI images)
I have updated and tried to run something. There are apparently three-chunk ids and two-chunk ids. two-chunk ids work. Three-chunk ids don't.

atdr.meo.ws/archiveteam/reddit-grab

I cannot install this one to Proxmox VE, for instance

UPD. Query tag fails, but fetch is successful if I write "latest" tag

OCTAGRAM··on Why do we need dithering?
I have noticed author uses values 0-255 for shades of grey. When 0-255 range is used, this is usually nonlinear scale with average gamma 2.2. And de facto there is a standard function that maps 0-31 to linear function and the rest to power 2.4. Average power 2.2. Checkmate black 0 and white 255 is equavalent to uniform grey shade 185 or 186 as opposed to 127 or 128. Proper calculations should be done in linear space, and 16 bits per channel is desired at least.
OCTAGRAM··on Amazon Demands Perplexity Stop AI Agent from Making Purchases
Sounds like SkyNet had a good time shopping for military upgrades on Black Friday and Cyber Monday
OCTAGRAM··on App Store web has exposed all its source code
There was Cappucino by ex-Apple employees, and actual Apple devs had SproutCore. So where did they go? Why some unknown libraries?
OCTAGRAM··on Update and shut down no longer restarts PC, 25H2 patch addresses decades-old bug
How dare you shut down such a great operating system?
OCTAGRAM··on Ask HN: Anyone else use FreePascal as their low level language?
There is COM-like ARC in Free Pascal
OCTAGRAM··on Ask HN: Anyone else use FreePascal as their low level language?
Patriots of Pascal language family are expected to prefer Oxygene over C#
OCTAGRAM··on Ask HN: Anyone else use FreePascal as their low level language?
Also corrected in Ada: https://annexi-strayline.com/blog/posts/1
OCTAGRAM··on Ask HN: Anyone else use FreePascal as their low level language?
Ada is more serious than Pascal. There is Ada-to-C(++) translator called AdaMagic. It is limited to Ada 95, but Ada was ahead of time and so 95 is fine. On most platforms GCC is available, and Ada is the most interesting language in GCC, but just in case there is AdaMagic.
OCTAGRAM··on The x86 Interrupt List, aka “Ralf Brown's Interrupt List” (2018)
There was unloved informatics in school and loved informatics at home. Unloved informatics consisted of graph flow optimizations. Loved informatics consisted of EGA programming and IRQ interrupt handling for multiple keypress detection and other stuff. Both informatics were in Turbo Pascal, but in sport olympiads going to interrupts or assembler was prohibited. Not that it was going to help, but… when olympiads end, I was going those doors again, and others did not. For others my loved informatics was door remaining shut.

20 years later it is an excercize to find a device where loved EGA programming tricks work. Only unloved informatics remained

OCTAGRAM··on IDEs we had 30 years ago and lost (2023)
It was called CLX, forms were stored in *.xfm, and it was based on Qt
OCTAGRAM··on IDEs we had 30 years ago and lost (2023)
Such recallings are incomplete without fake TUIs. TUI that are seemingly text, but in graphics mode. Norton Utilities were running in text mode with altered fonts and had nice UI elements. Acronis OS Selector 5 could run in multitude of different modes: ordinary text mode with pseudographics; Norton Utilities-alike text mode with altered fonts; VGA graphics mode; SVGA graphics mode. But whatever mode, it was drawing UI in a grid. Mouse cursor was the only thing not bound to grind, but when windows were dragged by mouse, they were jumping by discrete steps, staying grid aligned at all times. I was digging in. They are Watcom C++ binaries, and Watcom can remote debug them over COM port. No sources, of course, but I can trace CPU and watch memory. So far I know that it indeed has a concept of text buffer, and each cell is 4 bytes. These bytes encode background glyphs and colors. Text can be over window title, so window title skin is encoded in background glyph. Text can be over tab title. Text can be over button. And there are icons of operating systems in the list. And there are icons on toolbar buttons.

Acronis OS Selector 5 features not much UI. There is FDISK, advanced enough for its time. It can resize FAT partitions, and there is UI for adjusting size and other stuff. There is HTML-based help system with hyperlinks. And there is some editor for AUTOEXEC.BAT and CONFIG.SYS. Acronis OS Selector 5 is about switching OSes, and specific DOS or Windows 9x boot configurations are also "OSes", so editing of boot files is helpful. But apart from that there is almost nothing to do in this OS Selector.

I wish something more daily would be coded in such UI, but nope. And Acronis dropped that style. I don't know what happened with Selector 6 and 7, but it's like 8 is coming right after 5, and 8 UI is not grid-aligned anymore.

OCTAGRAM··on When you opened a screen shot of a video in Paint, the video was playing in it
This was a nice trick to protect text from copying. For instance, student assignments. Students could still use digital camera on CRT display, but 20 years ago cameras were costly and students did not have them. And typing text from scratch was a tedious job. So online served assignments were not shared too fast.
OCTAGRAM··on Learn Turbo Pascal – a video series originally released on VHS
There is a love and hate relation from programmers who started from it. Hate goes from the fact different Pascals didn't manage to settle an agreement on standard. Well, there are ISO Standard Pascal and ISO Extended Pascal. But does Turbo Pascal conform to any of them? No. So do Apple Pascal, UCSD Pascal, whatever.

As much as I hate C enemies, I must admit they were for some reason better at standard. If Pascals were such religiously adopting the standard and if C was remaining as fragmented as Pascal, with "otherwise" in one dialect and "else" in another one, then Pascal could win. Probably not the Turbo Pascal as we know it. Another Pascal, standard enough Pascal.

Or maybe it should have been Modula-2. Amiga had TDI Modula-2. Don't know if TopSpeed Modula-2 and TDI Modula-2 were source compatible, but I guess far more than different Pascals.

This table is built by ex. Pascal developer that moved to Ada: https://p2ada.sourceforge.net/pascada.htm

Indeed, Ada's standard conformance is a breathe of fresh air.

But Amiga had no Ada compiler, and had Modula-2 compiler. So for the sake of good guys' winning, if time machine moves me to 80s, I would pick Modula-2 for every platform. Nowadays Ada is a choice of good guy

OCTAGRAM··on Git, JSON and Markdown walk into bar
Each forum had flavor of BBCode. phpBB, IPB, vBulletin.

That imposter markdown came out of nowhere

OCTAGRAM··on Rejected announces from libtorrent clients proxying through SOCKS
I have used patched version of muTorrent. Binary exe contains string private, and I changed it to crivate with hex editor, so that torrent client stops reacting to private flag and starts whistleblowing peers to DHT. I don't think that my client looks unusual.
OCTAGRAM··on Microsoft is plugging more holes that let you use Windows 11 without MS account
Mavericks forever
OCTAGRAM··on Microsoft is plugging more holes that let you use Windows 11 without MS account
Last time I saw them they were having alien input controls. I used to press M for portable Medkit. And J for Jetpack. And all keyboard is meaningful. Stand-alone gaming systems are having limited amount of buttons on their alien input controls and packing diverse actions into disgusting combos. This could probably be solved by Cronus Zen.

The only good thing about alien input control was smooth movement. Wooting Two emulates this by pretenting to be both human and alien input controls. Would be nice if such keyboards would be more widespread.

OCTAGRAM··on Should I choose Ada, SPARK, or Rust over C/C++? (2024)
They have different definitions of failure. In Lean a failure is to calculate wrong thing. In SPARK a failure is to not calculate at all because of memory issue or something like this. As far as I've seen SPARK, it encourages ephemeral data structures and effectful computations. Lean is less familiar to me, but I've got the impression that it is about correct computation in infinite memory and stack, and value-centered computations are encouraged. SPARK did not have pointers for long period. Then SPARK has got pointers, but only unique ones. Lean has shared pointers to immutable data structures. And infinitely recursive data structures.

Yet another provable code I have found in Eiffel. There is "proven" doubly linked list in Eiffel. Something not possible in SPARK, going against unique pointers. Something not possible in Lean, going against immutability.

OCTAGRAM··on Retiring Test-Ipv6.com
We had plenty of enlightened network engineers, but eventually government wanted some torrents to stop working. Torrents were installing 6to4, Teredo and so on and hoping to work this way. But government agents were doing checks. Government agents were checking WiFi networks here and there, and ISPs. And government agents also had those torrents installed, and they could easily enable 6to4, Teredo, all of that. As soon as any such loophole permits opening forbidden website, every party gets serious fines. So they were runnning circles in panic. And blocking, blocking, blocking.

That's how our dream of IPv6 died. We don't dream about IPv6 anymore.

Our network engineers do learn new things. How to block. There was no DPI, now there is. A new dimension of progress.

OCTAGRAM··on Laptops create systems. Phones feed algorithms. The asymmetry determines power
Also self-hosted server helps.

But the problem with them is lack of accessible management. Like, so I can tell grandfather: if you want to be mobile and powerful, go buy this one precise box, match mobile with box and install programs from here. And programs could auto-detect personal server and make use of it. For instance, a browser may store a history on a personal server and index it. Currently any such feature are only possible via corporate-owned servers, and that is not going to change until widely accepted private server OS come.

As I imagine that, it should look like a store program on mobile. Like NashStore or AppGallery. But with requirement to have personal server and with some background service to help server and mobile parts of program find each other.

OCTAGRAM··on Laptops create systems. Phones feed algorithms. The asymmetry determines power
Just say the magic words: Mavericks forever!

And Apple's recent actions in the US are not of much concern anymore

OCTAGRAM··on Benefits of choosing email over messaging
There was GMANE to convert mailing list into NNTP archive. I was big fan of it. Too bad it's gone
OCTAGRAM··on Benefits of choosing email over messaging
Mbox is not that easy to process, especially if 1986 time span is taken into account. There is base64 encoding. There is "=" encoding, don't recall whats its name. "Equals" encoding. There are several character encodings if 1986 time span is taken into account, and each character encoding will be encrypted by equals signs. There was KOI8-R. KOI8-R was on BSD and Linux servers, but desktops had cp1251, so 1251 entered e-mail eventually, via e-mail clients autoconfigured to desktop encoding, or via webmail interfaces autoconfigured to web encoding which could likely be cp1251 and not likely koi8-r. Then utf-8 came in.
OCTAGRAM··on I just want an 80×25 console, but that's no longer possible
ITX-Llama and its clone called Pixel x86 are new, not noisy. Based on modern Vortex86 CPU that has real functioning ISA DMA bus, something ceased to exist in 2000 in other conventional CPUs and motherboards
OCTAGRAM··on I just want an 80×25 console, but that's no longer possible
I yet to see any modern terminal with bells and whistles like in Acronis OS Selector 5
← PreviousPage 3 of 4Next →