HNHacker News
TopNewBestAskShowJobs

peterkos

665 karma · joined May 28, 2020

peterkos.me
submissionscomments
peterkos··on Ask HN: What developer tools would you like to see?
I wish there was a module bundler like Webpack or Parcel that was not super nondeterministic. Something that Just Works(tm), where error messages are consistent+predictable, and configuration isn't a nightmare.
peterkos··on Twitter set to accept Musk's $43B offer – sources
I'd really suggest you read this article to understand why he's already starting with little knowledge of how to begin solving the problems he claims to be important ("free speech", in his eyes) -- https://www.techdirt.com/2022/04/15/elon-musk-demonstrates-h...
peterkos··on Ask HN: Best way to learn about computing history?
On the more "history" side of things -- Podcasts!

My very first introduction to anything "old" tech was through the TechStuff podcast[0] (re: 2011-era episodes, so sort by oldest).

More recently the On The Metal podcast[1] has been a really cool deep dive into old tech history, especially the episode (season 2) with John Graham Cumming.

About implementations, my first real playing around with assembly was "Learn TI-83 Plus Assembly in 28 days"[2].

[0]: https://player.fm/series/techstuff-2152808

[1]: https://oxide.computer/podcasts

[2]: https://tutorials.eeems.ca/ASMin28Days/welcome.html

peterkos··on Ask HN: Is quitting social media (Instagram, snap) sign of weakness?
Escapism is a helluva time.

If I find myself repeatedly checking the same app, I uninstall whatever app I check for a while to give me some space to figure out why. I always end up recovering, re-installing and continuing as normal. I wouldn’t say it’s a sign of weakness, it’s space that you need to figure out why you have the need to spend so much time on it.

Also, remember that these apps are actively designed to keep your attention for as long as possible. Algorithmic feeds, infinite scrolling.

peterkos··on Features of a dream programming language
I wish there was a nicer way to integrate multiple languages together. Like if you could somehow transpile perfectly (or pick a really neat abstraction w/o optimizations) that preserves a general implementation.

Seems impossible but I wish there was a nice solution so people can use a variety of languages seamlessly without worrying about refactors and semantics. Almost like picking database views in Notion but for languages itself.

peterkos··on Ask HN: Why are there so few single-letter command line utilities / tools?
What I can say is that it lets me have a lot of convenient aliases for things that are 1 letter long: “o” for “open .”, “s” for “subl .”, etc. And nice 2 letter ones: “gc” for “git commit”.
peterkos··on Yale’s continuing retreat from academic freedom
This article was really hard to read. I generally hate sources that are dripping with opinion that I need to get five or six paragraphs in to bypass the “of COURSE they did X, like we covered last Thursday”.

Also obligatory academic freedom -> actually free speech argument in that article that leads to the common misconception of the 1st amendment applying to literally everything “for curiosity’s sake”.

peterkos··on Show HN: Initiative.sh, an in-browser command line for D&D
To learn Rust, I started building a D&D character-management CLI tool just last week. (Might rename to "terminal roll", eh?)

Cool to see a fully featured one from the DM side!

[0] https://github.com/peterkos/calcdnd

peterkos··on Apple’s new M1 Pro and M1 Max processors
Reminds me of AMD comparing their insane IPC increase when Ryzen first came out.
peterkos··on Twitch is hacked, and its source code leaked
Oops, didn't mean to be too too negative. I say embarrassing in the sense of, I've definitely shoved out awful code because something needed to get out(tm). And with large companies, deadlines that cause that situation are inevitable.

But I also say it like that because, well, I've seen code that causes (objectively easy-to-fix) crashes but still ships because of one reason or another: laziness, politics, inexperience. It's a part of software engineering I'm still trying to accept.

peterkos··on Twitch is hacked, and its source code leaked
A lot of it is probably hacked together -- like, embarrassingly hacked together lol
peterkos··on We killed our end-to-end test suite
I’ve personally seen way more e2e regressions than isolated regressions (mobile dev). It seems to make sense from a high level: it’s easy to test finite/internal behavior (unit test, UI test, or manually), but there are exponentially more cases when integrating any bit of code with any other bit of code.
peterkos··on Haiku has hired an existing contributor to work on Haiku full-time
Maybe to get a more considered word in about features you need? I can't really think of anything specific os-wise, but I'm thinking, if you rely on some cool cross-app functionality (e.g., macOS drag-icon-from-toolbar-to-move-corresponding-file) you can have a good shot at contributing to/owning that feature on a small OS project vs. something like Fedora which would require a lot more buy-in
peterkos··on Ten Years of Bootstrap
Bootstrap is one of the things that got me into web development in middle school!

My first project was an exam study website. I made a couple of Quizlet sets, embedded the study guide PDFs from teachers (and made my own) into one page. It was a great way to procrastinate on studying and "sort of" study myself.

I don't think I'd have done web development without it!

peterkos··on Jeff Bezos loses attempt to block the Moon-landing contract NASA gave to SpaceX
Reminds me of a quote from the WeWork documentary: "When you can land two rockets concurrently on barges and you smoke pot, you're seen as 'quirky and likeable'. When you don't go public and your investors lose money, all of a sudden they decide that smoking pot is a criminal activity." [1:30:30]
peterkos··on Cloudflare's inaccessible browser contradicts the company's mission
This paper[0] takes a look at something like this, but it's notable that this is seen as a springboard for more accessible-focused design, rather than the beginning and the end (See "Discussion & Future Work").

[0] https://dl.acm.org/doi/abs/10.1145/3411764.3445186

Edit: I realize I've just linked to the same paper as the comment below. Oh well!

peterkos··on Ask HN: Does anyone use keyboard/mouse extra buttons for coding?
Logitech G602, six buttons on the side. Going clockwise from top-left:

- Cmd+Delete (delete file)

- Ctrl+Right (go right 1 virtual desktop)

- Ctrl+Left (go left 1 virtual desktop)

- App Exposé (show all windows only of the active app)

- Back

- Forward

I find these to be the stuff I need to do a lot a lot. Really handy!

peterkos··on Ask HN: Favorite live coding channels for intermediate/advanced topics?
+1 to Jon Gjengset; I learned a lot about clearly explaining programming concepts and a theoretical problem!
peterkos··on Microsoft's Introduction to Rust Video Course
I’ve poked around with GUI code in Rust and it just feels strange without some flavor of OOP. To me it makes much more sense to develop GUI apps with a bit higher level of abstraction (or lower?) than a rather functional interface.
peterkos··on HBO Max accidentally sent an integration email test to users
That’s honestly what I thought it was at first!
peterkos··on Brain-Computer Interface User Types 90 Characters per Minute with Mind
From my friends who studied neuroscience, the hardest part is getting any signal from the crazy amounts of noise. Maybe with the crazy amount of ML research poured into that space we can get one of those nice cross-disciplinary breakthroughs that come from similar tech (bluetooth/wireless sigproc, audio, etc.)
peterkos··on Brave disables Chromium FLoC features
It... says "Ad" in a alt-colored tag, has a completely different background. Only one ad, vs. google.com, which can show up to 4 identically-styled ads. Apple isn't anti-advertising, they're anti-tracking, pro-privacy. They're not in the business of selling ads anywhere near the scale that Google is -- the App Store ads in particular are simple, and they cancelled their iAd program a few years ago.
peterkos··on Breaking GitHub Private Pages for $35k
Also, the LiveOverflow YouTube channel has some great, accessible (yet very technical) videos on security!
peterkos··on How Browsers Lay Out Web Pages
I was going to > inb4 rust!, but, isn't Gecko built in Rust?
peterkos··on Deriving Keys from Chords in Music
Yup! Adam Neely has a great video[0] talking about how serious of a role any theoretical framework has on understanding the music itself -- and how in the US at least, we very often prescribe European standards of harmony on music.

[0] https://www.youtube.com/watch?v=Kr3quGh7pJA&t=2s

peterkos··on Deriving Keys from Chords in Music
Well, that's the thing -- when listening to any song, even if you know the pitches, it is impossible to know if there are accidentals or not depending on the phrase. If a 10-bar phrase modulates in bars 2-5, and you listen to bars 2-5, you may conclude the piece is in key X when it's just a modulation from the overall key of Y. This also implies the piece follows western common practice, or is even tonal in the first place. The difficulty of categorizing music is its ambiguity :)
peterkos··on Math professor faults student for internet shutdown in Myanmar
"The next time you miss something, it's over"

I'm so disgusted by some people's entitlement, especially in academia. The student's ENTIRE country's internet is getting shut down and the best the professor can muster is "Last chance, bad sign".

peterkos··on On navigating a large codebase
I love keeping Sublime Text installed even for iOS work for just this reason -- no (smart) autocomplete and debugger make it hard to use day-to-day, but the raw speed at which it can navigate code is just awesome.
peterkos··on Maximizing Developer Effectiveness
> It's not surprising that FAANG often designs their own internal systems that handle this sort of thing

This is one reason why I've loved using Notion. I maintain a few open source repos, and our team's process has grown organically over the past few months. Being able to use a Kanban board for one set of information, then decide that it's just better as a bulleted list; storing meeting notes from quick bullet points up to detailed step-by-step guides on how to fix some issue people had that week...

The low friction to high flexibility combo is great!

peterkos··on Woo for Its Own Sake
Trying to explain that code is more than "well, it works!" is especially hard. Maybe its just the part of programming that's more an art than a science?
← PreviousPage 2 of 4Next →