HackerTrans
TopNewTrendsCommentsPastAskShowJobs

CatchSwitch

no profile record

comments

CatchSwitch
·2 lata temu·discuss
He has so many favorite Linux commands lol
CatchSwitch
·2 lata temu·discuss
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
·2 lata temu·discuss
Gotta wonder if the people at PostHog workshopped the name at all before launching...
CatchSwitch
·2 lata temu·discuss
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
·2 lata temu·discuss
God forbid someone be critical of Europe's relationship with west Africa
CatchSwitch
·2 lata temu·discuss
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
·2 lata temu·discuss
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
·3 lata temu·discuss
I love this guy's content so much. Easily one of my favorite programming content creators around
CatchSwitch
·3 lata temu·discuss
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
·3 lata temu·discuss
Would this work on the Apple ][? How does it compare/differ from the LLVM 6502-MOS project?
CatchSwitch
·3 lata temu·discuss
Fun fact: The original Pong had no CPU and had all the logic built into the hardware
CatchSwitch
·3 lata temu·discuss
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
·3 lata temu·discuss
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.