HNHacker News
TopNewBestAskShowJobs

CatchSwitch

32 karma · joined November 11, 2023

submissionscomments
CatchSwitch··on Regex character "$" doesn't mean "end-of-string"
He has so many favorite Linux commands lol
CatchSwitch··on How to become a pirate archivist (2022)
Is this true? From what I've read musicians are hardly making anything off of streaming whereas they used to make much more prior to the popularization of Spotify. And AFAIK Spotify has never had a profitable quarter.
CatchSwitch··on Show HN: A directory of open source alternatives to proprietary software
Gotta wonder if the people at PostHog workshopped the name at all before launching...
CatchSwitch··on A mechanical keyboard with programmable knobs and full color screen panel
There are horizontal rotary encoders with click functionality (The component is called EVQWGD001). Unfortunately the pin layout differs from the vertical rotary encoders so you need a custom PCB or hack some custom wiring together. They're more common on split keyboards from what I've found.

You can buy a preassembled split keyboard with this from https://ergomech.store (I've been looking at purchasing one from them). There's also a seller on etsy who offers split keyboards with the horizontal encoder.

CatchSwitch··on Analysis of Bach's information-dense music
God forbid someone be critical of Europe's relationship with west Africa
CatchSwitch··on Ruby's exceptional creatures
I don't know what it is about Ruby that turns every HN thread that mentions it into a flame war about how it's not the perfect language. People don't do this with other languages. What gives?
CatchSwitch··on Creator of everynoise.com laid off from Spotify
Their recommendation algorithm has gone to complete shit. I used to get a stream of good songs I was actually interested in whenever the album I was listening to ended. Now It seems to just play the same 4-5 songs immediately after my album finishes which fills me with an intense rage and has made me hate some songs that I otherwise would enjoy.
CatchSwitch··on Research paper is also an executable x86 program [pdf]
I love this guy's content so much. Easily one of my favorite programming content creators around
CatchSwitch··on C Compiler Assembler and Runtime for C64
According to Wikipedia the SWEET16 Interpreter is significantly slower than native assembly (Wiki says 1/10th the speed). A C compiler that targets 6502 would make sense if I want to code something to run on the Apple ][ that's relatively performant
CatchSwitch··on C Compiler Assembler and Runtime for C64
Would this work on the Apple ][? How does it compare/differ from the LLVM 6502-MOS project?
CatchSwitch··on Challenging projects every programmer should try (2019)
Fun fact: The original Pong had no CPU and had all the logic built into the hardware
CatchSwitch··on From Nand to Tetris (2017)
It mimics Java, so your compiler compiles to a bytecode IR. The compiler as described by the book is a bare-bones recursive descent compiler that doesn't do any AST analysis. The compiler is for a toy language called Jack (fake Java) that was intentionally designed to be easy to write a compiler for. L(1) grammar I believe. They don't really talk about error handling or more complex compiler topics. No optimization methods are covered.

N2Tetris is like doing the 20% to get the 80% of every layer of abstraction. It really scopes down each project so you can cover every layer between logic gates and a high level language with built in OS APIs. I think it's a fantastic course but if you're looking to learn specifically about compilers I'm not sure if it'll meet your needs.

CatchSwitch··on Many Tamagotchis were harmed in the making of this presentation (2012) [video]
Here's a link to some slides I found online.

https://fahrplan.events.ccc.de/congress/2013/Fahrplan/system...

I've been hacking on an Apple ][ over the past few weeks. It runs on a 6502 processor. It's kind of mind-blowing to know that the thing used to run an entire PC was later used for pocket toys like the Tamagotchi a handful of years later. The speed at which technology has improved will never cease to amaze me.