HNHacker News
TopNewBestAskShowJobs

kettro

176 karma · joined June 25, 2019

SWE @ Google > WearOS SW > Silicon Security FW
submissionscomments
kettro··on FTC bans hidden junk fees in hotel, event ticket prices
> There is no sport that punishes a competitor who is constantly winning, as long as they are competing fairly

Almost all North American sports have a player entry draft, where the weighting is based on your success. The best teams (eg the Detroit Red Wings of the 90’s and 00’s) are given garbage draft picks, while the bottom-feeders (eg the Edmonton Oilers of the late 00’s-early 10’s) are given (the opportunity for) superstars. This is clearly a punishment for doing well, and a reward for being terrible.

kettro··on I coded something dumb and I'm proud of it
Well done!

It is exactly the correct approach — especially with the dataset potentially changing at each iteration, treating it as a contiguous sequence of executions is wrong anyways. Plus, you should always strive to reduce state as much as possible.

kettro··on Jan Leike Resigns from OpenAI
I would argue that it is society’s job to care for its most vulnerable.
kettro··on Jan Leike Resigns from OpenAI
This is implying that therapy is nothing more than someone to talk to; if that’s your experience with therapy, then you should get another therapist.
kettro··on On clock faces, 4 is Expressed as IIII, not IV
https://en.wikipedia.org/wiki/Vigesimal
kettro··on The Montreal problem: Why programming languages need a style czar
I find python quite hard to read, honestly. The lack of typing in most python means that it isn’t immediately clear what a given piece of code does without diving into its implementation. You have to rely on docstrings (good luck) or descriptive naming.

The issue with null pointers is that they are, as you said, a stand-in for an invalid state. However, most null pointers don’t prevent you from trying to use the underlying data, which can, among other things, cause crashes (think not checking the return value of malloc). Additionally, it doesn’t make formal the litany of possible forms that a value can take — if you codify possible states, then you don’t always need to check everything. I’m currently working to port security firmware from C to Rust, and I’ve found I make fewer state checks, because the data I’m working with has bounded state — the data given cannot be in an invalid state.

kettro··on More doctors are charging fees to respond to patient messages
My company pays for One Medical, and it’s honestly the best practice I’ve been to in the US. I can typically get an appointment the next day, there are tons of offices (in SF), and everyone is kind and efficient.

They ask you to set a primary care doctor, but I have had more success with seeing a small group of their more available non-MD physicians.

kettro··on Unicomp's "New" Model M Keyboard
I’ve had my New M for a couple years now, and it’s been great. No complaints. Unicomp has sorted out their QC issues, and it’s a solid board. I’d say that the lack of a removable cable is a bit of a bummer, but that’s a nit pick.
kettro··on How many software developers work in non-tech companies?
As a former Garmin employee, a surprising number actually do.
kettro··on How the creator of Alone in the Dark came back to games
I love mine. The refresh rate is absolutely not an issue at all IMO.
kettro··on Valve is a wonderful upstream contributor to Linux and the open-source community
Thank you for justifying a steam deck for me. Right now, I have to move my desktop over to the TV to play there, but with a Deck I don’t need to do any hauling. I’ve been looking for a good excuse haha. Are you using just the 1st party dock?
kettro··on What makes something an heirloom?
Honestly, the answer is a Rolex (or another mechanical watch) that you actually wear. A lesson my father taught me was that things were made to be used; the Rolex in this article is just an asset, not a watch.

That, or another piece of jewelry is an obvious place to start. Essentially, anything that has utility, and you use it for that task.

kettro··on Framework Laptop 16
Thinkpads still have the F row spacing, though it is small. Their layout is truly the best in laptops.
kettro··on At $249 per day, prison stays leave ex-inmates deep in debt
I would consider flipping causality. I think those places, typically cities and ports, are disposed to having larger drug populations, be that from abundance of supply or some other factor. Then, those places end up passing lenient laws as a result of the problem, and instead cope via non-criminal programs like safe injection sites.

It’s not like Vancouver or SF decided first to have safe injection sites, and then suddenly had huge heroin problems.

kettro··on Ask HN: How to talk with logical flow and coherence at interviews?
A coworker I had (a good friend and an _amazing_ engineer) would generally just pause silently and think after a question. It was initially off putting, and I couldn’t tell what was happening, but very quickly got used to it. I started doing it myself, but start with a short “hmm” to indicate that I’m now thinking about the question, or just say “let me think”.

Waiting helps you ignore the impulse responses, and double check if you heard the question correctly, whence you can just ask for clarification.

No one complains about a sorta slow speaker, but a frenetic one is hard to follow and will blurt things out.

kettro··on Internet Filtering in Canada: Rogers' NHL Blocking Order
His response to the ad-hominem is just flat-out the wrong answer for the committee. The answer is to address his main point, which is to say that there are many non-Canadian creators that won’t go through the hoops when they start out, and who get buried under the algorithm by the large producers who do, stifling growth. Just railing about government overreach is just the most easily dismissed talking point.
kettro··on The frenzied world of rare watches
The GPM is honestly really underwhelming -- I tried them on at the windup fair this past weekend. There is no lack of khaki field watches out there with better build quality, not to mention actual water resistance (Hamilton being chief amongst, or other Seiko 5's)
kettro··on ᐊᐣᑕᔚᐣᐦᐃ ᐁᐏᒋᑭᐍ ᐅᑕᐱᓇᒪᐣ ᓂᒪᒪ ᐅᑎᔑᑭᔑᐍᐏᐣ ᒷᔦ ᐃᐡᑿᓭᐠ
https://en.wikipedia.org/wiki/Canadian_Aboriginal_syllabics

We have unicode for Sumerian, so I don't think that will ever happen.

https://en.wikipedia.org/wiki/Sumerian_language

kettro··on What happened to Russias Air Force? U.S. officials, experts stumped
The Azov Battalion is the cause of everything, it seems. They're recruiting everywhere, I'm surprised it itself isn't the whole of the Ukrainian defenses now, if I believed all of the Russian shills.

/s/Azov Battalion/Ukrainian National Guard/

kettro··on Windows 11 Pro will soon require a Microsoft Account during initial setup
The obvious choice is Ubuntu. Works, is easy to use, and help is everywhere for it.

Later on, you may want to branch out to More complicated Distros, but Ubuntu (or Debian) is the easy choice.

kettro··on Show HN: Morning Brief – Track any topic on HN, Reddit and others
Is there a way to export the feed to a RSS reader? Maybe 1 post per section?
kettro··on A man who takes 6 months of paternity is a loser – Palantir founder Joe Lonsdale
Historically, many children died in the first year. Historically, most family’s had the idea of “heir and a spare”. Historically, women were the only people to provide child care. Historically, women didn’t have a separate career, nor went to school.

Thankfully, we don’t need to be beholden to history.

kettro··on My experience of losing a friend to heroin (2020)
Consider what a lot of people are getting here through — prescriptions. Consider a Grandmother who had hip surgery. She was given opiates as pain killers. She was still in massive pain, and kept taking the pain killers. She became dependent. Is the addiction personal choice? Where is the lack of personal responsibility there?

Another: someone with anxiety is prescribed Valium. Over time, it starts to work less well. They go to a doctor, who ups the dose a bit. Repeat, again and again. At no point was the patient ever not prescribed the dose, but addiction happened nonetheless. And when their insurance stops (say, after losing their job), then they need to keep up, and get Valium any way they can.

These are not uncommon. At all. Addiction from other means is typically a result of mental health: someone is desperately trying to fix something, which leads to drinking, which leads… The same is true for any other drug. If you actually interact with addicts, it is very very obvious. There is a reason that AA is the way it is. I really recommend going to a meeting, just to visit. It will absolutely change your mind, if you are open to it.

kettro··on Bzg/woof: online monitor for mailing list based patch workflow
I’ve used Gerrit at 3 different places, now including at Google. It is, by far, the best git experience.

The patch workflow is smooth and just a great experience. It is vastly improved by some git aliases (which you can set up in your gitconfig), but is, in general, very smooth. It allows for local branches to a single upstream, topic tagging, and a reasonable learning curve. Much better than GH.

It would be very well served to have a web-based offering (like GitHub/Lab).

kettro··on Pangolin – Mobile AMD laptop with Ryzen CPU and Radeon graphics
Honestly, it depends on what you need, and what your platform is. Windows has its Remote Desktop, which works fine.

I’m on Linux, and use mosh as a more reliable ssh client.

kettro··on Cbonsai: Grow bonsai trees in your terminal
I remember when this was bonsai.sh, a couple years ago. I love having a little tree in my terminal.
kettro··on The Framework Laptop
It mentions the keyboard as being modular - any chance of a trackpoint keyboard?
kettro··on Ziglings: Learn the Zig programming language by fixing tiny broken programs
I agree with pron, C is the best starter here. It is simple enough to get your head around rather quickly, and has very defined concepts. The one place that gets people is pointers, but it’s a very important part of software to understand.

C is not “low level”, in the assembly sense. It is absolutely a high level language. But it is the simplest, and the one with the most fine control.

kettro··on How to Revive a Dead Language
Importantly, there is a difference between comprehension and production. Just because you can mostly understand a language, doesn't mean that it isn't a language in its own right. Yiddish, as an example, has many syntactic differences from German, in addition to its differing vocabulary.

Scots is absolutely a different language from English, despite it being intelligible. I can't produce that speech, even with an accent. It has different rules and formations that My English just doesn't have.

kettro··on Software engineering topics I changed my mind on
To this end, I have a small, paper-sized whiteboard that I can scrawl onto on hands at all times. I bought a couple packs of the ultra-fine expo markers, and it’s been a boon. Great for quickly noting things down that don’t need to last.

Having both is important, though: you need to be able to preserve the things that matter, that you may need later on.

Page 1 of 3Next →