HNHacker News
TopNewBestAskShowJobs

maria2

264 karma · joined December 9, 2022

submissionscomments
maria2··on Code Design Decision – Always throw custom exceptions
It depends on how much context is needed. Imagine you have a Go library that parses JavaScript. Parsing can return an error, and it's very helpful to know information like the line and column number. So you might have an error like this:

    type ParseError struct {
        Line int
        Col  int
        Message string
    }
The user of your library isn't expected to handle this error explicitly, but when they print the output, they can see exactly where the issue was.
maria2··on Nuclear physicist explains why fusion ignition is hailed as a major breakthrough
Yes, that's what a log scale does to a graph. But why do you feel a log scale is appropriate in this situation? To me, a linear scale is a much better choice. The underlying data isn't necessarily exponential, so there isn't a compelling reason to use a log scale.
maria2··on Nuclear physicist explains why fusion ignition is hailed as a major breakthrough
How is it dishonest?
maria2··on Michael Burry Says Crypto Audits Are ‘Essentially Meaningless’
How is it easy? You could have a wallet that holds customer funds that you don't disclose to auditors.
maria2··on Congress passes legislation to end US participation in global shark fin trade
I find fishing barbaric, and I spent a lot of time fishing as a kid. Fly fishing is definitely more humane than a lot of other types of fishing, but ultimately you’re hurting a fish for pleasure. That’s basically a form of sadism. Of course, most don’t take pleasure in the fish’s pain, but the suffering of the fish is an essential part of the sport. You can’t catch a fish without it suffering. And ultimately, most just take a picture and throw the fish back. These days, I’d rather go for a hike along the river.
maria2··on Dismantling Sellafield: the epic task of shutting down a nuclear site
Dams do not make land uninhabitable. Dams use land for a productive purpose. Do railroads make land uninhabitable? I would say that land with railroad tracks should still be considered habitable, even though you'd die should you choose to live on the railroad tracks. The land itself is still habitable, you'd just need to remove the dam to live there. Just as you might need to remove the railroad tracks.
maria2··on Michael Burry Says Crypto Audits Are ‘Essentially Meaningless’
Liabilities
maria2··on Congress passes legislation to end US participation in global shark fin trade
I don’t think it’s whataboutism. The OC said they do not understand how a human can fin a shark because it’s cruel. The GP comment provided an example (factory farming animals) that illustrates animal cruelty is commonplace. That is to say, if you understand animal cruelty in factory farming, you should be able to understand animal cruelty in shark finning. I don’t think the GP intended to dismiss concerns about shark finning because factory farming exists.
maria2··on Tell HN: Doing a chargeback against Google will get your account banned
I don’t think that many people would complain if shoplifters were forced to return legitimately purchased wares. After all, we fine people for shoplifting. Money is fungible. So the effect is similar.
maria2··on Dismantling Sellafield: the epic task of shutting down a nuclear site
How many people live in the Chernobyl exclusion zone? Svetlana Alexievich interviewed some of “The Zone’s” residents in her excellent book Voices From Chernobyl. It’s not a fun place to live, unless having all your teeth fall out is fun.
maria2··on Research reveals ways lead and cadmium in chocolate may be reduced
An XRF spectrometer might work on food.
maria2··on Dismantling Sellafield: the epic task of shutting down a nuclear site
But the nuclear power plant has the potential to make large swaths of land uninhabitable for thousands of years. There’s clearly a difference.
maria2··on Fed raises interest rates half a point to highest level in 15 years
I think the Fed wants to taper the rate increases to reduce volatility in the market. If they announced a halt to rate increases then there would be a massive upswing in the market and inflation could potentially increase again.
maria2··on Fed raises interest rates half a point to highest level in 15 years
Core CPI was up 0.2% MoM. That’s just over 2% annualized.
maria2··on Min: A fast, minimal browser that protects your privacy
Can you give a specific example of what is wrong with Min's security configuration, assuming it is following Electron best practices. Asserting that the security model is bad and linking to Electron's security tutorial is not helpful.
maria2··on Tesla Market Cap falls below $500B
At the same time people aren’t as flush with cash. During the pandemic, car dealerships were selling cars sight unseen and months from delivery. Buyers aren’t going to accept that anymore. The dealerships need inventory to show people.
maria2··on Apple to allow outside app stores in overhaul spurred by EU laws
Europe is basically a U.S. vassal state, so it shouldn't surprise you.
maria2··on Where did software go wrong? (2020)
I think we're just at the tip of the iceberg in terms of what software is, so it's a bit premature to say where it went wrong. The author says that "Software is not creative." This may be true, but software is a creation. And currently it is created in the most crude and rudimentary way possible.

There are a lot of creative people out there. Writing software today is too hard. It takes too much knowledge and too much work. If writing a game was as easy as creating a TikTok video, imagine how much creativity would exist within the realm of software.

maria2··on Bipartisan Legislation to Ban TikTok
His podcast gets around 11 million listeners, so off by over an order of magnitude.
maria2··on LosslessCut: lossless video/audio editing
> It is possible, it will just be a ridiculously large video.

Ha true, I guess you could encode every P/B frame after the cut as an I-frame.

maria2··on US Department of Energy: Fusion Ignition Achieved
This is like saying thread count is always the bottle neck in computation. More money allows more parallelism as you can pay for more people and more equipment for more research. As in computing, there are diminishing marginal returns and surely a version of Amdahl's Law for human endeavors.
maria2··on LosslessCut: lossless video/audio editing
This would obviously be codec dependent, but I'm surprised it's impossible to losslessly re-encode a video given I, P, and B frames. Mentally, I think of P frames as containing "changes" in the frame. The changes would be the same regardless of whether or not the previous frame was an I or P frame.
maria2··on Bipartisan Legislation to Ban TikTok
TikTok has 138 million MAU (in the U.S.) and the average TikTok user spend 95 minutes per day in the app. I'm unaware of a podcast that has that type of reach.

Source: https://wallaroomedia.com/blog/social-media/tiktok-statistic...

maria2··on Bipartisan Legislation to Ban TikTok
This has nothing to do with user data. People are influenced by the content they see on social media. Allowing a foreign adversary to run the main information network for an entire generation of the population is not a wise move.
maria2··on US Department of Energy: Fusion Ignition Achieved
Yes. The lasers are supplied with 400 megajoules, but it's a start.
maria2··on Startups are building with the Julia Programming Language
Isn't Lua's main benefit that it has a small runtime that can be executed inside the context of a large C/C++ executable? Julia has support for C FFI, but it looks like you'd have to manually wrap all of your native code in Julia wrappers.

One library I've really liked for this use case is QuickJS. It's a super small ES2020 implementation written in C. It has a great API that lets you bind native C functions and types into JavaScript functions, objects, and classes. This lets you bind native C code that gets used naturally in JavaScript without needing to write wrappers.

maria2··on The U.S. reaches a fusion power milestone. Will it be enough to save the planet?
That's just known reserves. New reserves and extraction techniques are frequently being discovered.
maria2··on The U.S. reaches a fusion power milestone. Will it be enough to save the planet?
I was curious about the source of that block diagram. Not an exact source for the diagram, but here is an explanation of how the lasers work with the energy input and output at each stage: https://lasers.llnl.gov/about/how-nif-works/anatomy-of-a-nif...
maria2··on On Twitch, you can never log off
The advertiser isn’t paying $1195 for 10,000 impressions. They’re paying for an endorsement. That’s much different than the YouTube pre-roll ad model.
maria2··on 1955 Union Pacific EMD E9 – The Last of the Classic Diesel Streamliners (2012)
Nuclear usually refers to nuclear fission. Fossil fuels are not the product of nuclear fission. Even if they were, saying that things powered by fossil fuels are nuclear powered is just a terrible take.
← PreviousPage 3 of 4Next →