HNHacker News
TopNewBestAskShowJobs

larrik

6,662 karma · joined December 3, 2010

Currently a "Director" and nodejs/vue dev on Mac.

My heart belongs to Django/Python and Linux, however.

submissionscomments
larrik··on Windows 7 marketshare jumps to nearly 10% as Windows 10 support is about to end
And then, somehow, the desktop Outlook is better on mac than on Windows.

On Windows I can't even easily copy/paste from one email to another. It strips out half the formatting and any colors that were there. Nor can I copy email recipients from an email into a new one.

I tried switching to Windows last year and I just couldn't do it. So now my expensive and fancy powerful laptop collects dust and I'm back to my 5 year old m1 (which is somehow faster, usually).

larrik··on Why Is Python So Popular in 2025?
I'm surprised at the negative comments about Python here. Python has been my favorite language since I learned it, and nothing else has come close to it.

I'm currently on pure JS project (node and vue) and I'm constantly fighting with things that would be trivial in python or django. Also getting into .NET world and not impressed with that at all.

I know folks like Go, but in decades of being a software consultant I've come across zero companies using it or hiring for it.

larrik··on Crates.io phishing attempt
Definitely. I get scammers calling me from a caller id that claims to be my bank asking about suspicious charges, and they know my name and have my account info, but they ask for my full credit card number to "verify" it. Yet, they give different suspicious charges every time you ask.

The worst part is that when I call the bank to see if its legit, they are much less pleasant to deal with than the scammers...

larrik··on iPhone dumbphone
You can probably just use the UPS/FedEx/Amazon apps to get those notifications instead anyway.
larrik··on U.S. senators introduce new pirate site blocking bill, "Block BEARD"
The Roku app is actually really good at determining where everything ever is currently streaming (or purchasable). It's not 100% perfect, but it's generally correct. I go there first for basically everything.

For example, it tells me Wake Up Ron Burgundy (which isn't even a "real" movie) can be purchases on Prime, Fandango, or iTunes.

Actually, iTunes and Prime have mostly everything for rent, what movies were you actually looking for?

larrik··on Words about Arrays and Tables
That sounds more like a linked list than an array.

In C, an array is just contiguous bytes, and you reach an index through math (starting location + (index * size)).

Pretty sure lots of languages still do this to some degree, as your lookup times are effectively zero, though altering the number of elements is way more complex/expensive than in a linked list.

larrik··on A Python dict that can report which keys you did not use
Mine was a bit more specific. I had a JSON object of data exported per account I was importing, and then a complex mapping (also JSON) of where to put each piece of data.

Therefore, I really wanted to know that I was actually pulling in all of the data I needed, so I tracked what was seen vs not seen, and compared against what was attempted to see.

In the end it was basically a wrapper around the JSON object itself, that allowed lookup of data via a string in "dot notation" (so you could do "keyA.key2" to get the same thing you would have directly in JSON. Then, it would either return a simple value (if there was one), or another instance of the wrapper if the result was itself an object (or an array or wrapped objects). All instances would share the "seen" list.

It's unfortunately locked behind NDA/copyright stuff, but the implementation was only 67 lines.

larrik··on A Python dict that can report which keys you did not use
I actually wrote something similar in nodejs for a data import system. Was very handy.
larrik··on Debian switches to 64-bit time for everything
yeah, I shouldn't have said "bytes" either, especially as I had AS/400's in mind when I wrote it.
larrik··on Debian switches to 64-bit time for everything
> Readers of a certain vintage will remember well the "Y2K problem," caused by retrospectively shortsighted attempts to save a couple of bytes by using two-digit years – meaning that "2000" is represented as "00" and assumed to be "1900."

This seems overly harsh/demeaning.

1. those 2 bytes were VERY expensive on some systems or usages, even into the mid-to-late 90's

2. software was moving so fast in the 70s/80's/90's that you just didn't expect it to still be in use in 5 years, much less all the way to the mythical "year 2000"

larrik··on A list of changes to make it easier to build beautiful and walkable places
Well, mother-in-law's developer collapsed in the middle of building their development, and managed to empty the escrow accounts using forgery and fraud on the way out the door. That's not really the same scale as what we're talking about here, so much, though.

Being from Connecticut, this case comes to mind as well: https://en.wikipedia.org/wiki/Kelo_v._City_of_New_London

Where a developer planned some huge build, forced people out of their homes via eminent domain, and then never actually broke ground at all.

These companies shut down once they hit some snag and then pop up somewhere else under a different name.

larrik··on Diet, not lack of exercise, drives obesity, a new study finds
More data: I once lost 80 pounds purely through dieting. I really didn't change my exercise habits at all throughout (vs before I dieted).

I was partially testing this theory, in fact. This was a decade ago, but I was aware of this line of thinking at the time. Specifically, that dieting is more important for losing weight, and exercising is more important for being healthy (losing weight alone really didn't make me noticeably healthier, btw).

I found that, for me, this was entirely true.

larrik··on A list of changes to make it easier to build beautiful and walkable places
"Here's what people said:" before the actual list was super annoying.

> Allow single‑stair buildings up to 6 stories

This seemed like a terrible suggestion, but it caused me to google it and now I see it's not that terrible.

I didn't fully understand all of these, and some are clearly specific to California. I also worry about some of these opening the floodgates for greedy developers (a lot of existing laws are due to some developer doing something ridiculous, collapsing, and leaving the municipality holding the bag).

Overall I like the direction, though.

larrik··on Why you can't color calibrate deep space photos
Yeah, I was surprised to learn that camera technology was calibrated primarily towards making white people look normal on film. Everything else was secondary. This is why cameras often have a hard time with darker skin tones: a century of the technology ignoring them.

Then I felt surprised that I was surprised by that.

larrik··on I've launched 37 products in 5 years and not doing that again
Probably if not you are trying to build a business.

But! That's just one reason to code anything, and you are probably "doing this" well enough for the other reasons (education, experience, job hunting, and the best one: fun).

larrik··on The EU can be shut down with a few keystrokes
It's not really even about the hosting. Apple devices are US-based. Windows, MacOS, and even Linux are primarily US-based (Linus wrote Linux in the USA, even if he wasn't originally from here). All of the major web browsers are built and run by US-based companies. Many of the SAAS companies are US-based, even if they offer a choice in data hosting locations. The US owns the internet and quite a bit of the technology stack.
larrik··on U.S. sanctions cloud provider 'Funnull' as top source of 'pig butchering' scams
It's worse than that.

I got a call with the caller id of my (credit union) credit card company. They had my name and address, knew I had a card, and were claiming they were investigating fraudulent charges. It sounded more official than my actual credit card company. The only real things to tip me off was that the list of fraudulent charges kept changing, and they were super keen on me reading the entire credit card number back to them.

There were never any fraudulent charges, and the actual fraud department didn't seem to care.

I'm guessing it was due to the Experian leak.

larrik··on Purple exists only in our brains

  The visible spectrum is the range of wavelengths of light our eyes can detect.
I mean, that sounds nice, but pink, brown, white, and black clearly aren't on that spectrum, so it's a ton more complicated than that, eh? Of those 4, only "white" is mentioned at all in the article.
larrik··on On JavaScript's Weirdness

  “JavaScript sucks because '0' == 0!”
  - literally everyone ever
I never really understood the hate for this, given that everything is a string in HTTP, and that SQL does the same damn thing. There are far more annoying things about JS (both the language and the ecosystem).
larrik··on The Frontend Treadmill
Meanwhile, my team has been trying to upgrade a large app from vue2/nuxt2 to vue3/nuxt3, which has no real upgrade path at all.

Oh, and the time between nuxt3's prod release and vue2's EOL was like 9 months.

Vue 3 IS better than 2, but at what cost?

larrik··on I helped fix sleep-wake hangs on Linux with AMD GPUs
I battled sleep issues on my laptop for months, and had very different results than most people with my model. I think the behavior is a total crapshoot from machine to machine.

In fact, it turned out that a BIOS update that happened in the middle of my issues broke sleep functionality for the whole machine for a few months, so that wasn't even my fault.

larrik··on I helped fix sleep-wake hangs on Linux with AMD GPUs
That seems like a good way to cook your laptop when you throw it into a bag with the CPU pegged.
larrik··on How about trailing commas in SQL?
It's not just cosmetic, though, as now in order to add a new entry at the end you need to change two lines of code, which means your git blame is no longer accurate.
larrik··on I tasted Honda’s spicy rodent-repelling tape and I will do it again (2021)
I caught that too, though I believe the California warnings are generally of the form "if you can't prove nothing in there causes cancer, then it might cause cancer."
larrik··on Three AM 911 call, 9 AM salesman
I dunno, if you need one of these companies, it's often better to just let the insurance company send who they want.

I wouldn't call pre-emptively though, no.

larrik··on Think your dog can understand words? This scientist says you might be right
On the one hand, people put a lot of meaning behind things that may not have it.

On the other hand, I can tell one of my dogs which room my wife is in and he'll go directly to that room to get her. My house isn't small, either. I didn't specifically train him to do that, and it doesn't even come up that often, so I don't actually know why it works.

larrik··on Theory-building and why employee churn is lethal to software companies (2022)
I recognize this is an extract from a larger book I haven't read, but my main reaction is: prove it.

All of this reads to me like a software developer complaining at the pub.

The wording is strong and the premise that "employee churn is lethal to software companies" is an extreme claim. Yet, not one company is used an example of one that died due to employee churn.

In short, I don't buy it. There's generally only a tenuous relationship between software quality and business success to begin with, and history has shown over and over that the importance of software quality is far more important at the beginning of a business (or product) than after it's established. So to claim that employee churn kills entire companies needs a lot to back that up, starting with numbers (which there are none in here)

larrik··on Phishers Love New TLDs Like .shop, .top and .xyz
it didn't send, or it didn't linkify?
larrik··on Sentry just gave $750k to open source projects
What's the advantages of using FastAPI over Django Ninja?

But to answer your question more realistically:

* Familiarity

* Easy/built-in admin

* Longevity

I would also never consider switching an existing app from one to the other.

larrik··on Ubuntu Hoping to Remove Qt 5 Before Ubuntu 26.04 LTS
On the one hand, yes.

On the other, why does Ubuntu always do their craziest changes in the LTS? The LTS should boring, and the one after it should be the wild one. (That may not be what the plan is here, but it does sound like it)

← PreviousPage 2 of 34Next →