HNHacker News
TopNewBestAskShowJobs

sehugg

6,015 karma · joined April 25, 2011

@sehugg from @8bitworkshop

Making 8-bit dev tools since 2016: https://8bitworkshop.com/

submissionscomments
sehugg··on Advanced coding in low-resource programming languages
Also check out: https://github.com/catseye/SixtyPical

Assembly with an effect system and flow typing.

sehugg··on Advanced coding in low-resource programming languages
Check out Wiz too: https://github.com/wiz-lang/wiz

People have ported Atari 2600 games to it with the resulting ROM being byte-exact.

sehugg··on I built a programming language that LLMs can't use
Befunge yeah, anything ASCII-art-adjacent would probably be tricky. Also Pyramid Scheme: https://esolangs.org/wiki/Pyramid_Scheme

I think the space hasn't been explored fully, after all spreadsheets are a very popular two-dimensional programming language

sehugg··on Things to know when you get cancer
This goes for any medical expense, but also beware of the "Coordination of Benefits (COB) Questionnaire" required by your insurance company. They want to confirm your other coverage (e.g. Medicare) once a year, and sometimes the only way you know they are expecting it is when you get a call from your doctor's office that your claims are being silently denied. The insurance company won't send you an email, a call, or a ding in the portal, the language is buried at the bottom of a page of one of those PDFs you have to explicitly download.

I've had luck with just calling once a week or sending nastygrams asking why my claims are still denied, they usually say "oh that didn't go through I'll manually process that" and approve a few more each time. Incompetence vs maliciousness etc.

sehugg··on Using A.I. to decode communication of sperm whales
It'd be funny if Kirk just sent the gibberish and it worked and they could have skipped the time travel
sehugg··on Infidel goes wild
Dialog is pretty fun, kind of like a lite Prolog. It compiles to Z-code or its own VM (Å-machine) which can run on C-64 and Apple II.
sehugg··on Infidel goes wild
I once built a basic fuzzer for the Z-machine and tried it on Mini-Zork (a promotional game). It found at least one bug. I wonder if a smarter fuzzer could find the Infidel bug.

Article: https://8bitworkshop.com/docs/posts/2020/fuzzing-the-z-machi...

sehugg··on Newgrounds.com – A community of games, music, and art
Glad to see Kingdom Rush is still there, even after half a dozen iPad apps: https://www.newgrounds.com/portal/view/587194
sehugg··on Modern Object Pascal Introduction for Programmers
I recall the turning point was when id used the Watcom compiler for DOOM. Watcom had the 32-bit flat model DOS extender and were starting to add the difficult optimizations. Turbo/Borland Pascal was built for compile and link speed, not even getting a real -O option until Delphi (except for turning off range and stack checking)
sehugg··on Microsoft killed FoxPro in 2007. Anyway, here's FoxPro revived
Clarion and Paradox thought one of them was going to win the tontine.
sehugg··on SDCC – Small Device C Compiler
I initially added the MOS 6502 support by hacking the HC08 backend. It was awful, someone else (Gabriele Gorla) cleaned it up and got it merged to the mainline. There are other options these days for optimized 6502, like llvm-mos or Oscar64.
sehugg··on North Korean nuclear test sets off years of earthquakes
Dibs on Otisburg.
sehugg··on The American Religion of Self-Storage Facilities
$80/month that becomes $120/month and then $200/month within a year or two, and they mail you a postcard to tell you about it. I guess that's another nice perk of the business.
sehugg··on Alan's Random Insult Generator (1999)
I wrote a conversational insult generator in AppleSoft BASIC, inspired by a program called "Abuse" that I saw advertised in a magazine, and of course by Eliza.
sehugg··on ZX Spectrum: Experimenting with 1-Bit Sound
I did a PWM demo on the Apple II using a format similar to the DPCM samples on the NES. Those samples have a pretty simple format: a 1 bit raises the amplitude, a 0 bit lowers it. So you're kinda approximating the waveform with a bunch of triangles.

The NES has a 7-bit DAC, but since we're bit-banging with the CPU we only have enough time between samples for about 13 levels. Each level has its own toggle-wait-toggle-wait routine, and then we shift another bit and decide whether to branch to the next (level+1) routine or the previous (level-1) routine.

https://8bitworkshop.com/v3.12.1/?platform=apple2&file=delta...

sehugg··on GPT-6 Astra on OpenRouter
And also the hamster has two mouths
sehugg··on WebFPGA (2019)
The CE40-HX1K iCEstick has inexplicably increased to $158 on the Lattice Store. Pretty spendy for 1280 LUTs. The Olimex Ltd. ICE40HX1K-EVB might be a good substitute at $21.
sehugg··on Captain Zilog
Compile this, GOTO breath!
sehugg··on Show HN: I mapped every US golf course
Are you planning to feed the info back into OSM?
sehugg··on Amiga 1000: Ten years ahead of its time
Windows 95 was hamstrung by DOS compatibility. If you installed OS/2, you could have butter-smooth mouse cursor movement even while formatting a floppy disk and running a DOS (or even Windows!) VM in another window. And if you had a XGA card (which no one did) you had a hardware mouse cursor sprite, just like the Amiga (except only one boring sprite and no cool audio/video tricks)
sehugg··on Original Apollo 11 Guidance Computer source code for command and lunar modules
The LM landing algorithm was also based on a polynomial, with "time-to-go" as the variable. Problems would occur if that variable went negative.
sehugg··on Kimi K3, and what we can still learn from the pelican benchmark
Well except for Jungle King
sehugg··on RISCBoy is an open-source portable games console, designed from scratch
The programmable scanline-buffer-based rendering pipeline described in the PDF is worth a read for fans of such things.
sehugg··on Einstein's relativity rules chemical bonds in heavy elements, new research shows
And relativity describes the orbit of the quick-moving planet Mercury which shares its name with the quick-flowing element. What a world.
sehugg··on Organic Maps
Also current place names. You can sometimes find a business on OSM that has correct metadata, but in many areas the majority are missing or stale (like, closed 10+ years ago.) Solving this is an "interesting" problem to say the least when many businesses these days have nothing more than an Instagram/Whatsapp handle.
sehugg··on Loreline – Tools for writing interactive fiction
It's in the uncanny valley, that's for sure. I never had much luck with it because you have to memorize a ton of specific English phrase templates and remember how they are injected into the game logic, and you often have to escape into regular old procedural logic.

But it's an ambitious experiment, and the docs are worth reading through. Every now and again I give it another try :^P

sehugg··on Show HN: We built an 8-bit CPU as 2nd year EE students
The dual phase clocking is perhaps inspired by the 6502.
sehugg··on Calvin and Hobbes and the price of integrity
FYI Berke Breathed (Bill's contemporary, occasional collaborator and pen-pal) is still posting new Bloom County comics on his Patreon.
sehugg··on I'm Getting into Mesh Networks (Meshtastic, MeshCore, and Reticulum)
I tried to compile something and the Pi ran out of memory

I think your beef is not with Meshtastic, but with the distro/compiler, and I am going to bet you're compiling C++ with clang.

sehugg··on Saying goodbye to asm.js
Hmmm, need a asm.js -> WASM transpiler maybe.

(compiling legacy code with legacy versions of Emscripten is quite frustrating, almost as bad as updating your JS code to be compatible with accumulated changes in the Emscripten ABI)

Page 1 of 34Next →