BytesAndGears

Joined 3 years ago

Karma
527
Submissions
135
Member since
Aug 15
View on Hacker News

Recent submissions

Comment · 1 year ago
Maybe go just isn’t for you? It really doesn’t need every feature of other languages. The error handling is ideal for me, better than any other language. You are always explicit, with every function call, about “what could happen if this fails?”

Maybe passing it up the stack is the best way to handle it, but also maybe it’s better to handle it somewhere in the middle.

The thing that always happens with exceptions in API projects I’ve worked on, is that exceptions can come from any level of the stack, then by default it skips everything in the middle, and the controller has default handlers for what to do in case of an exception.

If there are exceptions you didn’t know existed because of some library or just complex code with dozens of possible exceptions? They still end up being handled in your controller. You need to know exactly what exceptions could happen at every level of the stack, and how to handle it, otherwise everything just short circuits.

With the go errors, you only need to know “did this function call work? If not, then what?”

Comment · 1 year ago
It also just uses a SQLite db, so you can sync it manually yourself if you want. But their implementation seems pretty secure.

Regardless, I just run it local only on each of my machines, separately. It’s still really helpful!

Comment · 1 year ago
But an individual human eats a fixed amount of food. So that fact seems pointless, since people will get less nutrition overall- unless we should all only eat ultra-processed snacks and reserve fresh food for the wealthy?
Comment · 1 year ago
Comment · 1 year ago
I mean I agree that it’s stupid, but my point was that there are protocols in place to handle this already.

If the US government says it’s the name of something, then it’s any map company’s job to display the valid name of the thing to the users in that country. They still show “Gulf of Mexico” to users in other countries.

Comment · 1 year ago
Why would they? Its name was officially changed. Things are renamed all the time.

For a recent example, Mount Evans in Colorado was changed to Mount Blue Sky

Comment · 1 year ago
That would be exactly what I need!

Ideally something like 5min bike ride to the grocery store, 15min walk from a train station, and 30min drive to my in-law’s house.

It would be really interesting to do something like “10 minute bike ride to 3 or more grocery stores”. That would help reduce instances of niche specific stores, but also provides a much more useful variety.

I’d love to be able to find places that have 2+ or 3+ grocery stores within somewhat reasonable distance, and same thing goes for restaurants. Really any restaurant.

Comment · 1 year ago
Comment · 1 year ago
If it’s the same as mine, it measures your heart rate overnight after you settle in. Then, when you wake up, it tells you your “resting heart rate” number.

It can be an indicator of short-term stress if it is higher than normal, for example. But the interesting part is the trend over time. As you get more fit, the average drops

Comment · 1 year ago
Something like iDeal, which is a payment processing system in the Netherlands.

It works so well and is very secure. You get to the checkout page on a website, click a link. If you’re on your phone, it hotlinks to open your banking app. If you’re on desktop, it shows a QR code which does the same.

When your bank app opens, it says “would you like to make this €28 payment to Business X?” And you click either yes or no on the app. You never even need to enter a card in the website!

You can also send money to other people instantly the same way, so it’s perfect for something like buying a used item from someone else.

Plus the whole IBAN system which makes it all possible!

Comment · 1 year ago
Your comment comes off as alarmist, but then I realized the content of the article, and think that you may be right.

I still stand by my point that most of our politicians have done this to us, on all sides of the political spectrum. And that we would be better off empathizing with our neighbors rather than any politician.

But the scale of the jump from previous actions to this one is enormous and shouldn’t be dismissed at all.

Comment · 1 year ago
Agreed - I think we say similar things. I am mostly suggesting that authoritarians currently live in all sides of the aisle in our government right now. And they’ve all been ratcheting up in intensity, getting us used to “their” version of it. This latest jump being by far the most severe and scary.
Comment · 1 year ago
They’re not both the same level of bad currently, I agree.

But they have both been consistently working to normalize their authoritarianism. I mentioned the 2020 protests in another sibling comment, which I think is a good example.

This is just the next step in an ongoing escalation, but yeah it is a big jump.

Scary times.

Comment · 1 year ago
I see your point, however, in this case the democrats and republicans are part of the same entity.

I am suggesting that the politicians’ interests are somewhat aligned, in regard to grabbing power. Their techniques are different, but the outcome is that we become more normalized to the behavior of “being ruled”, bit by bit.

Don’t forget the right-leaning protests in 2020 over democratic governors telling people they had to get vaccinated or fired, and they were not permitted to have their small businesses open or go to the gym. That was also authoritarian, regardless of how necessary some people thought it was at the time. You may not have agreed with them, but they were upset about the same things as you.

Comment · 1 year ago
Edit: thanks for all of the replies, I’m questioning my framing here now due to some smart people’s thoughts.. I suggest reading the full thread, as there are some interesting comments.

I see the obvious parallels to Trump, and I agree completely (and hate that it is happening). But I feel like I also see a lot of parallels to the democrats. Deciding Kamala would be the candidate without any public vote, for example. They both have aspects that heavily mirror the article.

I normally am not a fan of both-sides’ing an issue, but this seems like a literal case of everyone in the government basically performing that they disagree with the other, while marching down similar paths. They fight on issues that get people excited, while conspiring together to inch towards a “mystery government” which we must just trust.

I believe the path forward is to find things in common with our neighbors rather than politicians. Even if we disagree on some political views with our neighbors, we likely still have a lot more in common with them than any politician.

And, if you disagree, really truly read this with a critical eye, imagining the other side. Listen to their complaints. Because they feel the same way about your side. I’ve literally heard smart people in both political parties call each other authoritarian. So maybe the issues are actually with both sides.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton