HNHacker News
TopNewBestAskShowJobs

sehugg

6,020 karma · joined April 25, 2011

@sehugg from @8bitworkshop

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

submissionscomments
sehugg··on Cascade: A Just-In-Time Compiler for Verilog
Follow me at https://twitter.com/8bitworkshop -- I'll be releasing a book soon that you might like.
sehugg··on Plane drops to 928 feet after autopilot set to 0 altitude
Is it common to set autopilot below 5,000 feet or so? Seems kind of like setting your cruise control at 25 MPH.
sehugg··on How People Used to Download Games from the Radio (2014)
This is a good time to link to Apple Disk Server, which supplies audio files that Apple ][s can load with their built-in cassette ROM routines, bootstrapping a program that loads a compressed image, then formats and writes it to floppy disk: http://asciiexpress.net/diskserver/

( This is one of the few ways to transfer data to a vintage computer without additional hardware, at least until devices started showing up without a headphone jack :^P )

I added a similar feature to my 8bitworkshop IDE that lets you upload your own C/asm programs to your Apple ][ via cassette port: http://8bitworkshop.com/v3.2.0/?platform=apple2

sehugg··on How to Survive a Nuclear War: The York Experiment
Reminds me of that episode of "Benson" where they game out a nuclear attack scenario in the basement (bonus: first mention of ARPANET on TV): https://www.paleycenter.org/collection/item/?q=benson&p=3&it...
sehugg··on Apple Fixes Bagel Emoji
Gosh, there's more depth in that layer of cream cheese than in the entire iOS 7 interface remake.
sehugg··on A Genocide Incited on Facebook, With Posts From Myanmar’s Military
Not just endorsement of violence, but organizing it: https://www.splcenter.org/hatewatch/2018/08/02/facebooks-fig...
sehugg··on How Lisp Became God's Own Programming Language
And before Assembly there was VHDL and Verilog, and the eldritch instruments that turn them into baroque patterns of silicon that cannot be contemplated by man (well, not since the 1970s...)
sehugg··on The Big List of RPG Plots
There's also TVTropes (warning: abandon all home of productivity): https://tvtropes.org/pmwiki/pmwiki.php/Main/RolePlayingGame
sehugg··on Teach Yourself to Echolocate: A beginner’s guide to navigating with sound
I usually sleep with a white noise app running, and I can always hear when the cat is crawling around nearby. (Free app idea, Sonic Cat Detector -- you're welcome :) )
sehugg··on More doctors warming up to marijuana’s medical benefits
Yes https://www.engadget.com/2017/01/13/massive-meta-study-confi...
sehugg··on Declassified documents show why the US and the USSR came close to war in 1973
And had to be convinced not to unilaterally pull out of South Korea, and not to back the Saudis' blockade of Qatar that was assisted by his son-in-law, and that the North Korean missiles he saw on Fox News were from an earlier video, and ...
sehugg··on Declassified documents show why the US and the USSR came close to war in 1973
Meanwhile, we're building tactical nukes again, and signaling that we're willing to use them (and that somehow we can avoid further escalation): https://www.defensenews.com/congress/2018/07/24/tactical-nuc...
sehugg··on How early 8-bit arcade machines differed in design from 8-bit home computers
Arcade games could also more readily use ROM, so tile and sprite data could just flow in parallel to the rendering subsystem -- without worrying about sharing with the CPU or refresh cycles.
sehugg··on UCSD Pascal pioneer Ken Bowles has died
I remember on my Apple ][ playing Wizardry, written in UCSD Pascal: https://www.filfre.net/2012/03/making-wizardry/

Pretty sure there were a few text adventures written with it too. The non-flashing cursor and glacially slow text output is a sure tell: https://archive.org/details/RamboFirstBloodPartII4amCrack

(edit: another article from the same source about the P-Machine and Bowles: https://www.filfre.net/2012/03/pascal-and-the-p-machine/)

sehugg··on Internet Archive is adding in-browser emulation support for Commodore 64
I note that the existing JSMESS emulator supports C64; for what reasons was VICE chosen?
sehugg··on Show HN: JohnnyDepp – A tiny dependency manager for modern browsers in 862 bytes
Nothing beats my dependency manager, which I'll just call DrGonzo:

  var exports = {};
  function require(modname) {
    if (modname == 'jquery') return $;
    else if (modname.startsWith('.')) return exports;
    else { console.log("Unknown require()", modname); return exports; }
  }
(Of course you've gotta <include> the modules ahead of time -- I actually use this for http://8bitworkshop.com/)
sehugg··on The Super-Rich Are Stockpiling Wealth in Black-Box Charities
Propublica: After Budget Cuts, the IRS’ Work Against Tax Cheats Is Facing “Collapse”

https://www.propublica.org/article/after-budget-cuts-the-irs...

sehugg··on Gaia spots stars flying between galaxies
There used to be a relevant X screensaver ... ah, here's a port of it to JS: https://rtoal.github.io/galaxies/galaxies.html
sehugg··on The origin of circuits (2007)
We still don't fully understand all of the various quantum mechanical hacks that biology uses: https://en.wikipedia.org/wiki/Quantum_biology
sehugg··on EC2 Instances with 6, 9, and 12 TB of Memory
I could grep the heck out of some log files on that.
sehugg··on CBS Shuts Down Stage 9, a Fan-Made Recreation of the USS Enterprise
"The answer ... is no. We are therefore going anyway." -- Kirk, Star Trek III
sehugg··on Spacewar written in Apple Logo
You might want to contact Jason Scott at the Internet Archive, especially if some of those are copy-protected: http://ascii.textfiles.com/archives/5180
sehugg··on How to write a game on a ZX81 [video]
The ZX80/81 used Don Lancaster's "Cheap Video and Lying To the Machine" method of graphics output: http://laughtonelectronics.com/Arcana/KimKlone/BrideOfSon%20...

Essentially, the CPU executes each line of video, jumping to the start of each line of cells. The video system latches each byte onto a shift register and displays it.

But the CPU is tricked -- NOPs are forced onto its data bus right before it decodes the instruction. So it merrily marches along fetching successive bytes for the video subsystem, without interpreting them.

That is, until a certain bit of the character code is seen, then the CPU is allowed to execute the instruction and terminate the scanline (usually HALT on the ZX). This process repeats over and over for each scanline.

As a result, it's pretty tricky to program animations. There's not much CPU time left for anything while a frame is being displayed.

sehugg··on How to write a game on a ZX81 [video]
Some good technical info here: https://problemkaputt.de/zxdocs.htm
sehugg··on I ported my Gameboy Color emulator to WebAssembly
Nice writeup, thanks. I'd been thinking of playing with Go/WASM for http://8bitworkshop.com someday. For now, JS is plenty fast enough for 1-3 MHz 8-bit emulators.

BTW, I've never had performance problems with HTML Canvas, and I use setTimeout(), not requestAnimationFrame. The only thing I do every frame is putImageData() on a retained Uint32Array buffer. Maybe you could use the Chrome Performance devtools to figure out what is going on.

sehugg··on Perkeep: personal storage system for life
Something I didn't know is that the US Library of Congress considers SQLite databases to be long-term storage formats, on par with CSV and JSON: https://www.sqlite.org/locrsf.html
sehugg··on Perkeep: personal storage system for life
I've been looking for a system that lets me track replication of online/offline data, as well as a search tool + format obsolescence report on files. I once started writing such a thing using Python + SQLite. It's kind of trickier than it seems.
sehugg··on C64 OS: A Commodore 64 OS with Modern Concepts
Yes, unfortunately. "Reveal Codes" FTW :)
sehugg··on C64 OS: A Commodore 64 OS with Modern Concepts
I was just thinking about DOS apps, specifically how nice it was when keyboard shortcuts pertinent to your current mode were helpfully displayed at the bottom of the screen.
sehugg··on The art of creating very tiny programs for the 80x86 family of CPUs
You could even make a chess program in 392 bytes: http://nanochess.org/chess6.html
← PreviousPage 10 of 34Next →