News for hackers. Stuff that matters.

tail_exchange

Ok, let me use it on Linux then.
Re:Mysteries of Telegram Data Centers on Wednesday July 15, 2026 @07:54PM (#48928777)
A good UX and a user base. I had it on my phone, but uninstalled after a while because not a single person I know uses it.
Re:Does Anybody Actually Like React? on Monday May 25, 2026 @10:26PM (#48274276)
I do like React. It's still my choice even after trying other tools (including HTMX).
Re:Ferrari Luce, Maranello's first ever electric car on Monday May 25, 2026 @06:05PM (#48272509)
Maybe I just have a bad taste for cars, but this looks awful. Uninspiring. Looks like a Tesla with a Ferrari logo.

Edit: I do love the analog buttons in the interior though. I despise those big screens with all the controls, and no tactile feedback.

Re:Rumors of my death are slightly exaggerated on Saturday May 09, 2026 @11:55PM (#48080860)
I’m glad you recovered, Cliff! I got a signed Klein Bottle from you as one of the first things I did once I moved to North America about a decade ago. It’s sitting proudly on my bookshelf.
Re:PHP 8.6 Closure Optimizations on Thursday April 16, 2026 @04:54PM (#47799376)
For greenfield projects, I agree. It gets the job done, but PHP would never be my choice for a new project. Bun seems like a much better choice in pretty much every criteria.
Re:Trump says US will blockade Strait of Hormuz on Sunday April 12, 2026 @10:40AM (#47740274)
Iran is far from being the good guys, but I cannot see the US as the good guys here either.
Re:Go's Sweet 16 on Friday November 14, 2025 @06:44PM (#45933531)
I was very skeptical of Go when I started learning it, but it quickly became my favourite language. I like how simple but powerful it is.

If I had a magic wand, the only things I would add is better nulability checks, add stack traces by default for errors, and exhaustive checks for sum types. Other than that, it does everything I want.

Re:How the AI Bubble Will Pop on Thursday October 02, 2025 @09:06AM (#45449128)
It's very ironic that the way they could have made money was the simple, but boring one: buying and holding bitcoin. Being a shitcoin day-trader is much more exciting though, and that's how they lost all their money.

Maybe that's also what will happen with AI investors when the bubble pops or deflates.

It's only a problem for the GOP if Dems do win elections again. Judging by how things are progressing, it may not happen anymore. They have complete control over everything.
Re:Android 16 Is Here on Tuesday June 10, 2025 @11:35PM (#44243964)
No. Like always, there will be visual accessibility features such as high contrast, reducing screen motion, dark mode, and reduced transparency. I never had to use them, but according to a family member who is blind, Apple is excellent in terms of accessibility.
Re:Android 16 Is Here on Tuesday June 10, 2025 @08:57PM (#44243180)
The opposite for me. I'm so tired of the boring and uninspiring flat design, that Apple may have convinced me to get an iPhone next time I upgrade. I don't even notice Android updates anymore, the past 3 or 4 just look and feel the same.
Re:Android 16 Is Here on Tuesday June 10, 2025 @08:55PM (#44243169)
I'm on the other camp. I'm so tired of the boring flat design, I'm actually considering switching to an iPhone.
Re:(On | No) Syntactic Support for Error Handling on Tuesday June 03, 2025 @10:07PM (#44176597)
Perhaps something like this?

    result := InvokeWithErrorLogger(
        func (err error) { // Error handler
            incrementMetric("foo")
            log.Error("bar")
        },
        addTwoNumbers, a, b,
    )

But the problem is that this approach is not better than just writing this, which doesn't need any new fancy addition to the language:

    result, err := addTwoNumbers(a, b)
    if err != nil {
        incrementMetric("foo")
        log.Error("bar")
        return fmt.Errorf("addTwoNumbers(%d, %d) = %v", a, b, err)
    }
Hence why all the proposals ended up dying with the lack of traction.
Re:(On | No) Syntactic Support for Error Handling on Tuesday June 03, 2025 @03:54PM (#44173990)
This doesn't actually makes the process simpler.

Error handling in Go is not just writing "if err != nil { return nil, err }" for every line. You are supposed to enrich the error to add more context to it. For example:

    result, err := addTwoNumbers(a, b)
    if err != nil {
      return fmt.Errorf("addTwoNumbers(%d, %d) = %v", a, b, err)
    }
This way you can enrich the error message and say what was passed to the function. If you try to abstract this logic with a "Handle" function, you'll just create a mess. You'll save yourself the time of writing an IF statement, but you'll need a bunch of arguments that will just make it harder to use.

Not to mention, those helper functions don't account for cases where you don't just want to bubble up an error. What if you want to do more things, like log, emit metrics, clean up resources, and so on? How do you deal with that with the "Handle()" function?

Re:(On | No) Syntactic Support for Error Handling on Tuesday June 03, 2025 @03:48PM (#44173920)
> there is literally nothing you can do with errors in go except bubble them up, log them, or swallow them

You can also add additional context to the error before bubbling it up. But yes, that part of the point. Instead of bubbling them up, the programmer should instead reflect on whether it is better than just log and proceed, or completely swallow them. This is what error handling is about.

Re:Trump temporarily drops tariffs to 10% for most countries on Wednesday April 09, 2025 @11:01PM (#43640219)
> In the meantime, tariffs are raised on every country to gauge which side they are on

Why on earth would you be on the side of a country like this? Why we should be an ally of the US right now, if Trump can't even uphold agreements he signed himself 5 years ago? What guarantees do we have that, as soon as we decouple from China, the US won't treat us as a vassal because we gave up our only alternative? The only rational choice is to either be neutral or ally with China.

Re:Cash burn baby burn: Meta's brave new horizons on Sunday February 23, 2025 @01:42AM (#43147240)
It's astonishing how much money they are pouring into a product that is just seems like a worse version of VRChat.
Very fair point.
Re:Trump expected to take control of USPS and fire postal board on Thursday February 20, 2025 @11:09PM (#43123927)
The government is clearly incapable of stopping him, so in the end, it doesn't really matter if it's illegal or not. He'll do it because he can, and he'll get away with it.
Likely doesn't need to be said, but if you are organizing parties with emails, you're probably not the target user base of this feature.

For the younger folks who organize their parties by texting (iMessages, Whatsapp, Telefram, etc), this can be enticing.

Re:Programming in Go Is Fun on Monday February 03, 2025 @09:14AM (#42918391)
I went from a skeptic to a huge fan of Go. I like how simple the language is, but powerful at the same time. It has a great balance between helping me do things the right way, but at the same time staying out of my way. Concurrency is particularly nice.
I feel like I don't really understand the point of the article. Half of it explains the problem, and the solution in the other half is extremely vague.

It seems to imply that root cause analysis was previously only taking into consideration individual components and only machine-to-machine interactions, and a better approach is to also take into consideration how systems interact with each other, as well as human operators.

Maybe that's true for Google, but I don't think this is the "a-ha" moment the author thinks it is. If you are just looking at how two components can fail while interacting, then obviously you are leaving out a huge part of the equation. I don't see why we would need another aconym jargon for this.

We truly are living in the stupidest timeline...
Re:How to delete your Facebook account on Friday January 10, 2025 @08:41AM (#42655495)
What free speech? The moderation changes explicitly say you cannot label Republicans as mentally-ill, for example, but you can label gay people as mentally ill. If you are cherry-picking who can say what, this is not free speech, so don't label it as so.
Telegram Premium is great. Unlimited stories, unlimited storage, status, profile colors...
Re:Lua Is So Underrated on Thursday December 26, 2024 @06:20PM (#42518638)
It's the other way around for me, and I don't understand why people like Python's system so much. Moving code around and changing scope in other languages is just a matter of adjusting the braces, but with Python I need carefully reindent all affected lines. It's error prone and annoying.
Re:Why Do Animals Adopt? on Friday December 13, 2024 @08:11AM (#42408131)
As the article says, animals are not automatons, despite our tendency to see them as so. Maybe they do it for similar reasons why we adopt pets? Biologically, it doesn't make sense to keep a modified wolf in my house competing for my resources either.
Re:The Acton Programming Language on Thursday December 12, 2024 @03:27PM (#42403029)
Cool. Thanks for explaining!

Older »