Better HN
topnewbestaskshowjobs
Log inSign up

billpg

5,638 karma · joined Apr 24, 2009 (17y ago) · 1,547 submissions

http://billpg.com/
Submissions

1.

What if Netscape did SSL the HTTP way?(owl.billpg.com ↗)

3 points · by billpg · 2d ago · discuss

comment 1w ago · link · parent

Thank you.

3.

Show HN: WordLoom(wordloom.billpg.com ↗)

2 points · by billpg · 1w ago · 2 comments

comment 1mo ago · link · parent

Shameless plug: https://billpg.com/sixgate/

(Short version: IPv6-only networks can provide a gateway for IPv4-only clients and advertise it via reverse DNS.)

SixGate has an interesting contrast with this RFC. RFC8950 removes IPv4 from the network core while preserving IPv4 reachability, whereas SixGate removes IPv4 from the service side while preserving reachability for IPv4-only clients.

In both cases, IPv4 survives as a compatibility layer rather than a fundamental requirement. The difference is that RFC8950 is aimed at network operators, while SixGate is aimed at the last remaining IPv4-only users.

In both cases, the goal is the same. Turn IPv4 from a requirement into an optional compatibility feature.

5.

Let's Fix Temperature(owl.billpg.com ↗)

2 points · by billpg · 1mo ago · discuss

6.

HashBack – Server-to-Server Authentication without secret keys or tokens(hashback.dev ↗)

2 points · by billpg · 1mo ago · discuss

comment 1mo ago · link · parent

Thank you. Always nice to hear comments like that.

comment 1mo ago · link · parent

  Location: Daventry, UK
  Remote: Preferred.
  Willing to relocate: Yes
  Technologies: C#, ,NET 10, Python, SQL, Distributed Systems
  CV: See https://cv.billpg.com/ and contact form.
I'm a Senior Software Engineer who takes fragile, tangled systems and turns them into ones that are simple and built to last, mainly in C# and .NET, with a particular interest in distributed systems and protocol design. Outside of client work, I write and tinker on independent projects like HashBack and SixGate.

You may know from my popular HN submissions...

  8086 Segmented Memory was a good idea. https://news.ycombinator.com/item?id=48619125
  The Road Not Taken: A World Where IPv4 Evolved. https://news.ycombinator.com/item?id=47352236
  Data-Mining Wikipedia for Fun and Profit. https://news.ycombinator.com/item?id=28234122

9.

Show HN: MineSweeper, but guessing is not needed, or forgiven(sodslaw.billpg.com ↗)

2 points · by billpg · 1mo ago · discuss

10.

Ask HN: Redirect-to-www on a dot-dev domain?

1 points · by billpg · 4mo ago · discuss

11.

Oh no I've invented SVG badly(owl.billpg.com ↗)

1 points · by billpg · 4mo ago · discuss

12.

Am I worried AI will take my job?(owl.billpg.com ↗)

2 points · by billpg · 4mo ago · discuss

comment 5mo ago · link · parent

I once developed for PC-GEOS, which wanted all memory in exactly 8K sized blocks. I wrote a set of C macros that presented an array-of-arrays as a single collection by using mod/divide operations on the index.

comment 5mo ago · link · parent

shrug

I've reviewed what I originally wrote and I prefer the text I published. Sure, I could review it all myself (indeed I used to) but that takes time and it was becoming a barrier to actually publishing stuff. Maybe I'd have got around to finishing it in a few months.

I don't use AI to write for me. I hate people who do that.

comment 5mo ago · link · parent

I kinda wish they had. 64k windows with no overlap would make segment registers a slightly inconvenient 32-bit address register.

I get why hey didn't. Someone might want to run two processes each with its own segment, but the whole machine might only have 64k in total.

comment 5mo ago · link · parent

Hi. I wrote it, and I'm a human. (Or at least I think I am.)

I did use an AI for spell-checking, punctuation, generally making it flow, but its all my text.

You think a machine is going to come up with "near pointers, far pointers, wherever-you-are pointers"?

comment 5mo ago · link · parent

1992-author (me) is wondering if he'll ever get a girlfriend.

(And I completely agree.)

comment 5mo ago · link · parent

Why would you ever want a single 64k object? That's like an entire machine's worth of memory!

comment 5mo ago · link · parent

Indeed, I say as much at the end.

But what should Intel have done? They needed a CPU that can run 8080 code but with more memory. Also it's the year ~1980 and we're limited to the technology of the age.

A system with 64k sized windows seems unavoidable.

If you extend the size of the address registers, 8080 code will only run in the first 64k, or require some kind of current window register.

An 8080 mode might have worked but that would have been expensive.

20.

8086 Segmented Memory was a good idea(owl.billpg.com ↗)

71 points · by billpg · 5mo ago · 148 comments

21.

Will We Run Out of Unicodes?(owl.billpg.com ↗)

5 points · by billpg · 5mo ago · discuss

comment 5mo ago · link · parent

Thanks, and that POSIX link is exactly the one I expected someone to bring up.

The key point is that POSIX does not actually define a real, physical epoch, and it explicitly avoids doing so. POSIX says every day is exactly 86400 seconds, leap seconds are ignored, the relationship between POSIX time and UTC is unspecified. In other words, POSIX defines how the "time()" API behaves, not what the underlying timeline is. It’s an OS level contract, not a timekeeping standard.

The problem I’m addressing is that POSIX retroactively assumes a form of UTC that didn’t exist in 1970–1971 and it provides no authoritative mapping between POSIX time and actual UTC. That’s why you can’t use POSIX as a normative reference for "seconds since 1970". It’s not a definition of time, it’s a behavioural model for system clocks.

This document is trying to define the actual timeline that people implicitly assume when they say "Unix timestamp", in a way that’s historically honest and citable. When I was looking at a number of RFCs that use these timestamps they didn't cite this reference, but went with the wooly "Number of seconds since 1970".

23.

Let's Standardize the 1970 Epoch(github.com ↗)

2 points · by billpg · 5mo ago · 2 comments

comment 5mo ago · link · parent

I forget where I encountered it, but I've seen similar encodings that eliminated the possibility of many possible encodings for the same number by making the length part of the value.

Values 0-127 are a single byte, but if that first byte has the continuation bit set, not only does that indicate the next byte has 7 more bits to contribute, it also moves the base up to the next window.

10000000 00000000 is the only way to represent 128.

10000000 10000000 00000000 is the only way to represent 16512.

Does this encoding have a name?

25.

Oh No! I've invented SVG badly!(owl.billpg.com ↗)

4 points · by billpg · 5mo ago · discuss

comment 6mo ago · link · parent

Do any formats using ZIP as the underlying format use ZIP comments for metadata? Unless there's a lot of compressors leaving "Zip file generated by MySuperZipper™" then I imagine any comments left were probably done for a good reason.

27.

Let's Standardize the 1970 Epoch(github.com ↗)

4 points · by billpg · 6mo ago · discuss

comment 7mo ago · link · parent

True, but I wanted this to be something anyone could do with equipment they might already have lying around and also get a feel for what gravity is actually doing.

Switching on a machine that displays "9.8m/s²" isn't that much removed from looking it up in a book.

comment 7mo ago · link · parent

I had a similar reaction when learning 8086 assembly and finding the correct way to do `if x==y` was a CMP instruction which performed a subtraction and set only the flags. (The book had a section with all the branch instructions to use for a variety of comparison operators.) I think I spent a few minutes experimenting with XOR to see if I could fashion a compare-two-values-and-branch macro that avoided any subtraction.

30.

Let's Measure Gravity(owl.billpg.com ↗)

2 points · by billpg · 7mo ago · 3 comments

12345
52