Better HN
topnewbestaskshowjobs
Log inSign up

stevekemp

10,743 karma · joined Oct 30, 2012 (14y ago) · 4,175 submissions

Submissions

comment 1w ago · link · parent

You could have a look at the Lazarus (pascal-based) IDE, it allows a similar drag-n-drop GUI construction:

https://www.lazarus-ide.org/

comment 1w ago · link · parent

I get messages like this:

"Hi Steve I saw your comment/post on hacker news so I thought I'd get in touch to let you know we've added you to our AI directory .."

Same story on github, "I saw your repository on CP/M and wanted to let you know we've added it to our AI directory so other users who have the same challenges can be directed to it"

I report them as spam, and often make a GDPR request. The latter does nothing but I hope it eats up ten minutes of some interns time, and gently discourages the mass-spamming a little in the future.

comment 1w ago · link · parent

It depends on the use-case. I've spent the past few days setting up home automation with some cheap zigbee devices.

There are a bunch of options but the one I settled on is zigbee2mqtt, which requires a broker for message-exchange. Once it was setup it was pretty trivial to write simple clients to connect to the mosquitto instance and read/modify device state.

(e.g. I wanted something that would turn on my bedside light at 6am, and something else that would trigger some flashing lights when my laundry machine was finished and I did that via some external processes.)

comment 1w ago · link · parent

One of the reasons I prefer the port of BBC BASIC for CP/M, over Microsoft's, is that it supports inline Z80 assembler.

comment 1w ago · link · parent

It's a little scary that I can recognize a lot of those instructions from memory, even though it's been 40 years since I first got my ZX Spectrum.

Of course more recently I've been doing a lot of z80-based CP/M retro-fun. But "62, xx" is obviously LD A,xx, and similarly the 205 is CD which is CALL.

Fun stuf, thanks for the post, you are indeed AWESOME.

comment 2w ago · link · parent

The source is available, and you can "go get", and "go install" it in the standard way.

I've merely configured a docker container to be generated on every push as an optional additional installation method - that way I can paste in instructions for those who have docker available, but don't necessarily have a go compiler installed.

Use the container if you like, use the repository source in the typical way if you prefer.

comment 2w ago · link · parent

Depending on how low-level you're going, you don't even need to call brk.

My toy stop/copy GC and allocation routines just have this:

    %define HEAP_SIZE (4 * 1024 * 1024 * 1024)

    .section bss
    ;;
    ;; Two heaps so we can flip-flop between them
    ;;
    heap_a:
        resb HEAP_SIZE
    heap_a_end:
    heap_b:
        resb HEAP_SIZE
    heap_b_end:
Of course there are other syscalls involved in my compiler/runtime, but for memory allocations the static area sufficed for me.

comment 2w ago · link · parent

It seems like 90% of the spam I receive (on my google account) is sent from google addresses, so it will have valid SPF/DKIM/DMARC setup.

That said checking for these things is a good idea, the only problem I see is dropping the mail on the floor, rather than rejecting it at SMTP time - at least that lets the self-hosting users who haven't got things configured know their email is being rejected, and to pick up the phone instead.

There's nothing worse than sending an email, it being accepted, and then later discarded with no clue to either sender or recipient.

comment 2w ago · link · parent

There's a simpler way now, I wrote a golang based CP/M emulator which uses the local filesystem, instead of "disks".

You can clone the repository, or run the docker image, and be playing zork in minutes - I even put together a repository containing a collection of vintage CP/M software (which includes Turbo Pascal, and Zork 1, 2, & 3).

Quick start:

     docker run --pull=always -t -i ghcr.io/skx/cpmulator:master
     ..
     A>
     A>G:
     G>ZORK1
The emulator lives here https://github.com/skx/cpmulator

Collection of software, grouped by theme, here: https://github.com/skx/cpm-dist

comment 2w ago · link · parent

Many many of his books were best-sellers, and remained so for a long time.

Plus I suspect a lot of parents had them around the house, and they've found a second life in their children.

The covers always fascinated my child, for example. I have the complete collection of Discworld novels as paperbacks, and I remember my kid looking at them, pulling them off the shelf to do so, even before he could read.

In short Pratchett was very much mainstream, in the UK for a long, long time.

comment 2w ago · link · parent

"Please don't complain about tangential annoyances—e.g. article or website formats, name collisions, or back-button breakage. They're too common to be interesting."

comment 2w ago · link · parent

I do hope nobody reading this copies any of Replit's design decisions or architecture, lest they get threatened.

I avoided reading the piece, just in case.

comment 2w ago · link · parent

Linux 7.4 got fixes for floppy disk handling, as recently as yesterday!

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...

comment 2w ago · link · parent

Email may be text-based, but parsing MIME is a pain in the ass (speaking as somebody who wrote a console-based email client.)

You can go back to mutt's parsing, and CVE-1999-0940 for an old example. But I'm sure that's only one of many.

comment 2w ago · link · parent

I've worked at a few companies where they'd offer to sell, for a nominal amount, the work-laptops to ex-staff.

I know the last time I left my job I was given the opportunity to buy an M1 mac with 16Gb of RAM for €100, so of course I did.

(Though I also paid €500 to keep the phone they'd bought for me, which was perhaps not such a good deal, it was convienent and I do like the phone, but I'd have been happy to have a random cheap android phone, I have no specific requirements beyond "small enough to fit inside a sporran"!)

16.

Forthcoming security update of Node.js; November 11, 2026(nodejs.org ↗)

11 points · by stevekemp · 2w ago · discuss

comment 3w ago · link · parent

As somebody born with the name Steven I'm curious about the relative popularity of "Steven" vs. "Stephen".

I feel like when I was a child more people were present with a PH, but nowadas virtually nobody. Most of the Stephens I know are "old", and I think "Steve" won.

But no doubt it varies on country, and who you know.

(I legally changed my name from Steven to Steve, a couple of years ago, because it was the only name I'd ever used and it got too tiresome dealing with my official passport, and ID saying one name when I signed/wrote another name on all my official paperwork. To the extent that employers would book flights in one name but my passport was in the other name, cue much hilarity at boarding time..)

comment 3w ago · link · parent

Finland has some naming rules, but they don't necessarily apply to everyone in the country because they're rules for naming people born here, rather than those who later moved here.

There is a public index of forenames and surnames which I learned about when I was with my pregnant wife, and back then I was obsessively searching for my/our surname to see it increase by one when our newborn was registered and became "official".

Apparently within the whole of Finland there 22 men with the same surname as me, and 25 women. 21 of these people are in Finland and 26 are abroad but known.

Interestingly if I go to the forename search and look for people named "Steve" there are < 5 women with that name (i.e. non-zero, but the number masked for privacy reasons):

https://nimipalvelu.dvv.fi/en/forename-search?name=Steve

I'm curious about the origin there, though of course I've seen Steve -> Steffan -> Stephany, and similar translations in the past.

comment 3w ago · link · parent

Clicking on either of the feeds takes me to a page that just returns an error.

e.g. https://jepsen.io/blog.rss returns a text/plain respond containing only "Nothing to see here; move along.".

comment 3w ago · link · parent

I really loved your comment, it's something that we take for granted these days with it being easy to buy these things.

For me I've been collecting (mechanical) watches for 20ish years. Half my collection is high-end Swiss watches, and the other half is more ecclectic but I have a real soft spot for the former Soviet designs.

They were not expensive, and even now you get a great watch for €50 because they made so many of them.

Although the focus of the USSR watches wasn't that level of quality you see in the Japanese pieces they're so rugged and simple that most of them will outlive me.

I regularly buy 50+ year old watches that have never been serviced and still run properly. Obviously there's some element of survivorship bias at play, but the engineering there is top-notch.

comment 3w ago · link · parent

I collect watches and the only digital watch I've owned for the past 20ish years is the ubiquitous F91W.

I've been strongly tempted by the g-shocks over the years, but never quite pulled the trigger. There are so many to choose from, with various features. But seeing this post I figured why not just pick one that looks fun, so I ordered the GMA-P2100-4AER (which is pink).

comment 3w ago · link · parent

Because being surrounded by people who use English as a second/third language, they often encourage us to report "mistakes" and "weirdness" in their language, as a way of improving and learning.

comment 3w ago · link · parent

"set disassembly-flavor intel" was one of the first customizations I made to gdb when I started using it in anger.

comment 3w ago · link · parent

I've been writing a lot of assembly over recent months (the runtime routines for a lisp compiler, and of course debugging the generated assembly my compiler emits itself).

Mostly all I do is run a backtrace from the segfaults, and otherwise single-step through the code to verify my assumptions.

GDB has sufficed pretty well, though I admit I spent a long time writing the stop&copy garbage collector, and tracing through it trying to understand why I was getting segfaults.

I'm sure there are better tools, but for simple debugging it was sufficient.

comment 4w ago · link · parent

I have a cabin in the woods, an hour from my house, my choices are either install a couple of solar panels on the roof, or have no electricity.

I'm looking forward to installing a couple of panels on the roof next year. Having power to charge my phone, or laptop, won't take much capacity, I'm not going to use much power other than that, maybe some music but nothing like cooking/heating, or similar heavyweight usage. (I have a wood stove for heating, and gas/alcohol stoves for cooking, along with on-site water.)

comment 4w ago · link · parent

I live in Helsinki, where there is a good tram and bus network. Every now and again a major road will be dug up, in the city center, and trams often get rerouted for a few months to work around that.

I've noticed that there are some diversions which are definitely beneficial to me. There are busses from my house to the city center, as well as a tram. If the tram diverts to a different destination that essentially doubles my available "travel destinations" in a way that's really useful.

So no doubt, for me personally, there are changes that could be useful. But perhaps they would be less useful for others.

comment 1mo ago · link · parent

> (a parking ticket level occurnace)

Remember Finland is the country where we scale fines based on income, as the famous article says "Home of the $103,000 Speeding Ticket."

https://www.theatlantic.com/business/archive/2015/03/finland...

Not appropriate for this specific issue, but for "traffic ticket" it's worth remembering.

28.

Show HN: A set of test-cases for CP/M emulators(github.com ↗)

2 points · by stevekemp · 1mo ago · discuss

comment 1mo ago · link · parent

Welcome to Finnish where there are both "a" and "ä" to get different sounds, in a consistent fashion.

comment 1mo ago · link · parent

Some projects do, for example the Lua programming language does their work in private, between releases.

Other projects do it less successfully, making grandiose claims and later releasing things in a partially working state, for example the V-programming language.

It's not super-common, but just those two examples off the top of my head show it's not entirely unheard of.

12345
140