HNHacker News
TopNewBestAskShowJobs

david422

1,284 karma · joined August 5, 2019

submissionscomments
david422··on LiftKit – UI where "everything derives from the golden ratio"
I turned this into a game. Which image do I think looks better? Now I try to figure out which image is supposedly supposed to look better.
david422··on Anthropic is Down
A long time ago I was taking flight lessons and I was going through the takeoff checklist. I was going through each item, but my instructor had to remind me that I am not just reading the checklist - I need understand/verify each checklist item before moving on. Always stuck with me.
david422··on Try text scaling support in Chrome Canary
> how do we get large text to scale at a lower rate than body text. It's great that the body text can scale up from 16px to 32px, but does heading text need to scale up from 32px to 64px? It's already huge. If you have any thoughts, please do let me know!

Android 14 has this in non-linear text scaling -

> To prevent large text elements on screen from scaling too large, the system applies a nonlinear scaling curve.

https://developer.android.com/about/versions/14/features#non...

david422··on Everything as code: How we manage our company in one monorepo
I do it naively. Maintain the backend and frontend separately. Roll out each change in a backwards compatible manner.
david422··on Everything as code: How we manage our company in one monorepo
> Rollout should be within a minute

And if it's not, it breaks everything. This is an assumption you can't make.

david422··on Want to sway an election? Here’s how much fake online accounts cost
No.
david422··on Tell HN: Azure outage
IIRC, the grocery chain I worked for used to have an offline mode to move customers out the door. But it meant that when the system came back online, if the customers card was denied, the customer got free groceries.
david422··on Ask HN: How do you say “I don’t know, but I’ll get back to you” confidently?
"That's a good question, let me do some research and I'll get back to you"
david422··on Organize your Slack channels by "How Often", not "What"
I don't want to organize ... I just want a filter on the channel sidebar!
david422··on Python developers are embracing type hints
I used python on a large code base for quite a while. Many team members did not like type hints, and a codebase that doesn't maintain type hints makes it harder to use them.

However, if I had a choice, rather than use typehints in python, I would much rather just use a statically typed language. Short, tiny scripts in python? Sure. Anything that grows or lives a long time? Use something where the compiler helps you out.

david422··on Python developers are embracing type hints
Yes. It's not the type system that's broken, it's the design. Fix the design, and the type system works for you, not against you.
david422··on Ask HN: What trick of the trade took you too long to learn?
When you buy a house and get a mortgage, you are going to be paying MUCH more in interest (than expected). Over the course of the mortgage, you are going to be paying MUCH more than the sticker price. Between closing costs and taxes and fees maintenance, you will need more cash than you think.

My advice is look at the numbers very carefully and choose something that is (below) or fits your budget. Sudden financial issues like the loss of a job or new vehicle purchase can put a big strain on all this.

david422··on The Ski Rental Problem
That's actually the situation I was in though. When your electric mower breaks you're probably on your own. I would not want to go back, but going forward definitely has it's own issues.
david422··on The Ski Rental Problem
> I have the same issue every year with a ride on lawn mower. Do I just pay someone weekly or buy one outright and do it myself? In this case I loathe mowing,

I bought mine, ran great for 4 years, then ran into a bunch of trouble, which made me recognize the other hidden cost of ownership is simply just maintenance. A very expensive mower just sitting there, nearest potential repair shop far away, no idea how I'd even get it there let alone the cost. And if I decide I don't want it, I've got to pay to get rid of it now too.

Luckily I was able to watch a bunch of youtube videos and order myself some parts to get it up and running again, but definitely sunk quite a bit of time and energy into it.

david422··on Design patterns you should unlearn in Python
> The types are absolutely still there and need thought about

Yes, if they aren't in the code, it just means the programmer has figure out and carry that around mentally when reading or writing code.

david422··on Google's shortened goo.gl links will stop working next month
Somewhat related - I wanted to add short urls to a project of mine. I was looking around at a bunch of url shorteners - and then realized it would be pretty simple to create my own. It's my content pointed to my own service, so I don't have to worry about 3rd party content or other services going down.
david422··on Gmail's backup codes are useless to access account
I created a gmail account in 2004 and then completely forgot about it. Just last week I realized that I had registered that account. I went to the forgot my password page, and it prompted for the last password I remembered using, which I took a guess at. It told me that wasn't enough information to recover the account, and that was it, because I didn't have a backup phone, email etc. attached.

But then I thought- what if I just try that password to login. And it worked.

So when I thought I had forgotten my password, gmail prompted me for a piece of information that I got correct, and then wouldn't accept it.

I also have another email account that forwards all mail to my main account, but I've definitely forgotten that password, and I have no way to actually get back into that account, even though I've tried. I guess it just forwards mail forever.

david422··on I want an iPhone Mini-sized Android phone (2022)
I think it's a dead project. There hasn't been any updates. I signed up about the same time you did.
david422··on I want an iPhone Mini-sized Android phone (2022)
I signed up 2 years ago. I think it's a dead project :(
david422··on Red Hat Technical Writing Style Guide
This seems like one of the perfect use cases for AI. Have the AI ingest the style guide, and then comment on your written work to point out where your work does not adhere to the style guide.
david422··on The death of partying in the USA
> Most Americans these days won't interact with their neighbors unless it's to complain or they want something transactionally.

My family moved into a small cul-de-sac with 5 houses total. I wanted to introduce myself, so I wrote a short letter with a little about ourselves and our contact info, and then dropped it into each neighbors mailbox. Only 1 neighbor wrote back, and 1 neighbor literally _returned the letter_ to our mailbox. So yea, that's the neighborhood I live in.

david422··on Show HN: I'm an airline pilot – I built interactive graphs/globes of my flights
Looks great, thanks for sharing! One thing I love about software engineering is that you can apply it to so many different aspects of ordinary life. Showing your flight career like this is really cool.
david422··on Chimpanzees yawn when observing an android yawn
No. Plausible, but statistically insignificant for a definitive conclusion. https://mythresults.com/episode28
david422··on Chimpanzees yawn when observing an android yawn
Mythbusters did an episode on this https://www.discovery.com/shows/mythbusters/episodes/is-yawn...

IIRC, it wasn't that contagious.

david422··on Game Hacking – Valve Anti-Cheat (VAC)
Blizzard's battle.net used to do that. They'd ban in waves. I imagine immediate bans would make it much easier for cheat authors to figure out which cheats were detectable and which weren't.
david422··on Online sports betting: As you do well, they cut you off
I don't disagree - but also realize that the other option is not to play.
david422··on How we decreased GitLab repo backup times from 48 hours to 41 minutes
We just had this exact problem. Tests ran great, production slowed to a crawl.
david422··on I'm Peter Roberts, immigration attorney, who does work for YC and startups. AMA
I'm wondering if anyone uses burner phones. I have an old phone, and a second phone number that I got from Tello for $5 a month, intending to use it for a business number, but then never did. It's currently completely detached from anything personal and I figure if I do need to go over the border I could just use that still for any communication and internet access, but personal details would be at a very bare minimum.
david422··on I use zip bombs to protect my server
> He found out later (after a defrag) that the "compressor" was just hiding data in unused disk sectors and storing references to them

So you could access the files until you wrote more data to disk?

david422··on Pope Francis has died
> Nor is peace possible without true disarmament! The requirement that every people provide for its own defence must not turn into a race to rearmament.

The sentiment sounds great but I think we now see in the real world with Ukraine that if you rely [too much] on others (re: US), you have a real problem if they are no longer there for you. Peace through strength is real.

← PreviousPage 2 of 17Next →