HNHacker News
TopNewBestAskShowJobs

Zanfa

1,784 karma · joined August 29, 2013

Blog at https://roosimaa.ee
submissionscomments
Zanfa··on Swift Container Plugin
The main problem with TS is that your types are compile-time. You can have 0 uses of any/unknown, but you can still stuff a number into a string at runtime without any issues until it blows up.

I know you should have defined validators for every single external API, library and database, but at some level it feels silly to do all of this extra work.

Zanfa··on Show HN: I built a tool that texts you if your server goes down
That’s an annual subscription.
Zanfa··on Development on Apple Silicon with UTM
If you just need a single Linux VM, you don't need to fiddle with cloud-init. If you want repeatability or automation, that's when you'd reach for it, whether for setting up per-project VMs, shareable VM configs between developers etc.

Also, you don't need all 4 Linux images, just the one you want to run as your guest OS. Emulation / virtualization depends on the guest OS CPU architecture.

Zanfa··on Kermit: A typeface for kids
I'm convinced most "designers" in big tech are just trolling at this point.
Zanfa··on How University Students Use Claude
ChatGPT is laughably terrible at double entry accounting. A few weeks ago I was trying to use it to figure out a reasonable way to structure accounts for a project given the different business requirements I had. It kept disappearing money when giving examples. Pointing it out didn’t help either, it just apologized and went on to make the same mistake in a different way.
Zanfa··on Trump temporarily drops tariffs to 10% for most countries
VAT applies equally to domestic and imported products and doesn't affect the balance. Tariffs only apply to imports, thus giving domestic producers an advantage (either lower prices or higher profit margins).
Zanfa··on Trump temporarily drops tariffs to 10% for most countries
VAT doesn't affect free trade in any way though. You're mixing up unrelated concepts.
Zanfa··on Trump temporarily drops tariffs to 10% for most countries
VAT applies equally to both domestic and imported products, unlike tariffs that apply only to imports.
Zanfa··on Trump temporarily drops tariffs to 10% for most countries
Obviously other countries would be fine with Trump enacting a sales tax / VAT on everything. Why wouldn’t they be?
Zanfa··on The best programmers I know
Another issue LLMs help with is identifying the correct keywords or terms to look up. Especially with manpages, I've had numerous times where I roughly know what I'm looking for, but in the presence of hundred-plus flags and options, I can't even grep to the right place because I don't know the exact term I need. So I sometimes use LLMs as glorified grep with semantic synonym support.
Zanfa··on Europe's GDPR privacy law is headed for red tape bonfire within 'weeks'
From my experience, companies taking months to get GDPR are ones that want to tick the box, but don't want to follow the law, so they have to go through the trouble of justifying gathering unnecessary data for themselves and their 873 trusted partners. They usually end up noncompliant anyway because GDPR is a pretty sensibly written law that you can't just work around with a crappy popup, but enforcement has unfortunately been lacking.
Zanfa··on Trump's Tariffs Wipe Out over $6T on Wall Street in Epic Two-Day Rout
And just to be sure he gets the help he needs from the public, preemptively blanket pardon everybody.
Zanfa··on US Administration announces 34% tariffs on China, 20% on EU
At this point, Trump could hoist the russian flag at the white house and republicans would still turn a blind eye.
Zanfa··on The role of developer skills in agentic coding
40 seems way too much. “}” alone probably makes up a significant portion of lines. Another thing is auto-complete that does the majority of typing anyway.
Zanfa··on I Quit Google Search for AI–and I'm Not Going Back
Amazon's search is somehow even worse even though they already have a lot of the information in a structured format.
Zanfa··on A New Form Factor for Drones: Vertical and Coaxial
If you look closely at the 6th picture in the article, the swashplate arms are visible on the bottom rotor.
Zanfa··on Sync Engines Are the Future
> Or are we doomed to another decade of shitty conflict resolution hacks?

Conflict resolution is never going away. It's important to distinguish between syntactical and semantical conflicts though, the first of which can be solved, but the other will always require manual intervention.

Zanfa··on How fast the days are getting longer (2023)
Having grown up around the same latitude as Stockholm, one thing I never realized until last year when visiting tropics is how my subconscious associates warmth with long evenings. Being used to summers where you could basically read a book outside at 11PM, it felt really weird to be outside in tropic heat, but complete darkness by 6PM.
Zanfa··on Tesco trials giant trolley scales in Gateshead
> Can you describe why there's a big push for self checkout? I suspect there's a bigggg difference between countries, so this all sounds very alien.

I love self-checkout as long as they give you the scanner to carry around (or mount on the shopping cart). The entire shopping process is just so much quicker, havent waited in a checkout line in years. The same amount of space for 3 cashiers can have 10+ self-checkout machines as least.

> To me people pushing for self checkout sounds like somebody preferring self service over full service gas stations - I find it difficult to understand.

Might be cultural, but full-service gas stations sound bizarre. Why would you need an attendant to do something so basic? Like a lift operator to press buttons for you.

Zanfa··on Apple's Software Quality Crisis
My personal annoyance is Apple abandoning AppKit in favor of SwiftUI, which breaks down immediately once you do more complex interactions than basic demo apps. NSScrollView and NSCollectionView must be among the most buggy UI components, but SwiftUI ScrollView is so barebones (and also buggy), it's basically useless.
Zanfa··on Canada Retaliates, Puts Tariffs on $107B of US Products
Never thought that McCain or Romney would seem as amazing alternatives compared to where we ended up either. Russian propaganda brainrot really did a number on the American populace over the last decade.
Zanfa··on Canada Retaliates, Puts Tariffs on $107B of US Products
During his first term there were at least a few adults left in the room. This time around, all bets are off.
Zanfa··on We don't need startups, we need Digital-Mittelstand
> In the short term irrationality can and does prevail in both markets and democracy. In the long term, the best product and ideas always win. This is why both democracy and markets are durable.

If there’s anything to learn from recent developments it is that democracy is fickle and definitely not the default state. But to me you’re still conflating commercial product success with the product being good or bad. If it was about the product, fundraising or marketing shouldn’t be among the biggest obstacles, since they have nothing to do with product quality or consumer benefits.

Zanfa··on We don't need startups, we need Digital-Mittelstand
Right, so we agree that a product being successful has little to do with being better or worse than competitors and more with other externalities?
Zanfa··on We don't need startups, we need Digital-Mittelstand
> The vast vast vast majority of companies do not sell a product below-cost.

Maybe in terms of the number of companies, but in terms of percentage of market size, I'm not sure. Literally the entire social media adjacent market at the moment, including instant messaging is about offering a service below cost, killing any chance of non ad supported platforms.

> And if the customers are not willing to pay more, it sounds like they're actually happy with the current offering and that's not an area that your fellow humans would find useful for you to work on.

Not necessarily. This would be true in a world of spherical cows and rational consumers, but that's never going to be the case. There's other considerations like walled garden lock-in and network effects that consumers have no control over.

> Yes, one of the responsibilities of a founder is fundraising. If you can't sell people on investing in your vision that is...a somewhat bad sign.

So it's not about "just go out and build a competitor", but something much more complex, as reality usually is. Even access to venture capital can differ by orders of magnitude between markets.

Zanfa··on We don't need startups, we need Digital-Mittelstand
That’s a bit naive. There are a lot of markets that are effectively impossible to enter without massive amounts of capital and current players are selling below cost.
Zanfa··on "Ensuring Accountability for All Agencies" – Executive Order
> and a court order is just as binding whether you agree with it or not (and indeed whether it's legally correct or not).

But the same question remains. Who’s going to enforce it?

Zanfa··on Broken Legs and Ankles Heal Better If You Walk on Them Within Weeks
Some countries tax tobacco, alcohol and sugar at higher rates to offset the costs incurred to society?
Zanfa··on YouTube's New Hue
Is this satire?
Zanfa··on 1% Equity for Founding Engineers Is BS
> How do I know they will be worth anything when the company exits?

They won’t be worth anything. Equity isn’t perfect, but it offers at least the bare minimum of legal protections. Any crypto token will just be ignored by the acquirer (or any present or future company leadership) and you’ll have no legal standing.

← PreviousPage 7 of 17Next →