Better HN
topnewbestaskshowjobs
Log inSign up

mogery

282 karma · joined Nov 29, 2020 (6y ago) · 19 submissions

maker of odd things
Submissions

1.

Pure-CSS WarioWare(blog.mogery.me ↗)

1 points · by mogery · 2y ago · discuss

comment 3y ago · link · parent

awww!

comment 3y ago · link · parent

lol no

comment 3y ago · link · parent

oh hey! i worked on this a while back!

really cool project. runs unity games too. author is a very talented guy

comment 3y ago · link · parent

i suck at chess, but this is lovely!

6.

Show HN: Chroma – One copy of Electron to rule them all(github.com ↗)

1 points · by mogery · 3y ago · 1 comment

7.

IPv4 Turf War(ipv4.games ↗)

147 points · by mogery · 4y ago · 47 comments

comment 4y ago · link · parent

How is Adoption a chicken and egg argument? RCS is, by its design, slower to update than iMessage.

9.

I hope Apple never adopts RCS(blog.mogery.me ↗)

83 points · by mogery · 4y ago · 150 comments

comment 4y ago · link · parent

Really, using a Teensy 4.0 to make scrolling faster? That seems really overkill to me. You could make a small computer out of a Teensy 4, quite excessive to use it as a display-out.

11.

mogery's Guide to Becoming a Programmer(blog.mogery.me ↗)

2 points · by mogery · 4y ago · 1 comment

comment 4y ago · link · parent

Yeah, I've realized that the currently used API just lets you request a key for the public Spotify Web API, and I can just get the collection of the user and etc. from there.

comment 4y ago · link · parent

To be fair, any other platform could easily outdo Spotify in this regard, if they publicly documented their internal API. :D

comment 4y ago · link · parent

I haven't had any issues on the RE end, mostly because I didn't need to do a whole lot of it, as the librespot people have already paved the way. But I've still gotta figure out the new protocol the Spotify client uses for playlists and such, so... there are bound to be issues up ahead.

Most of my issues stemmed from a lack of proper documentation.

One time I screwed up the packet format and was pulling my hair out when the only response I got was "Invalid username/password" from the Spotify API (or something along those lines. been a while).

The other times were more related to the Switch. Figuring out how networking and audio works, mostly. Hunting through the shit documentation and the source code of libnx to find out what I need to do. My audio implementation was either not playing anything or crashing for a long time in the beginning. I still have no clue what I did to solve it, which is unfortunate.

comment 4y ago · link · parent

Spotify is actually fine with librespot existing (funnily enough, one of the main reasons the old API is still around is that librespot uses it, lol). So, I doubt it will ever get DMCA'd.

comment 4y ago · link · parent

Thanks!

Yeah, Rust and the Switch don't mesh together very well, at least for now. I was tempted to take that route also, but I ended up reimplementing librespot in C instead, which serves as the backend for this.

comment 4y ago · link · parent

Spotify DRM is basically security through obscurity. It's just AES-128-CTR over a plain old OGG file. The tricky part is figuring out the extremely odd protocol you have to request audio keys and track data through. That's all.

18.

Unofficial Spotify Client for the Nintendo Switch (PoC)(gbatemp.net ↗)

162 points · by mogery · 4y ago · 40 comments