skysight-inc/HackerNews huggingface dataset:
> If you instead raise exceptions, you are immediately forcing the calling code into a special control flow structure, namely the try/except dance, which can be inconvenient.

I fail to see how a try/catch is more inconvenient than a handful of isinstance calls.

What happens when you want to add a new error case? With exceptions, the exception will always be thrown. With error objects, you're going to fall through a bunch of isinstance checks and continue on with a result object which isn't the type you think it is. Then, some time later, youre going to try and reference a field that doesn't exist. This is the kind of thing which is a nightmare to debug.

I do appreciate the author's point that error objects are nice in functional programming languages. But using them in Python because you like using them in fp is not a good justification.
> The cost of nuclear energy seems seriously understated. Nuclear waste storage costs the US $6B per year and we still don’t have a long-term storage plan. We’ll incur this cost for hundreds or thousands of years.

Wait til you hear about the costs of fossil fuel waste storage!
> I personally know people who used their products and (as the result) never ever purchased a game that they played.

On the other hand, in some markets, consoles only become an option after they're unlocked and can't get any penetration without that.
> SSGs with plain text files are brilliant once you are set up, but it's a big hurdle getting there.

Even in that case, not nearly as practical, unless you mostly do long-form and only post from your computer. Even with SSG set up, having to be on the computer to create a draft, or make a quick correction, is really a bother.

Also, when you own everything, you end up spending more time tinkering with it, which is not bad per se if you are having fun, but terrible if your goal is to actually post. Those 2 things - harder to post and easier to get sidetracked - explains why so many SSG'd blogs are made up of a few posts explaining why and how it was set up, and maybe a couple actual posts.
Billionaires are like American inception.
It's a quote from what someone else said (Alison Collins). How is that racist? Disallowing quotes is effectively letting her get away with what she said.
Next time someone says "well-written code doesn't need comments" I think I will just refer them to this page.
For context, the nuclear pore complex is one of the largest structures inside a human cell. Using AlphFold and some special microscopy, researchers were able to simulate a model of the nuclear pore of an African Claw frog egg (the frog eggs are easier for researchers to "see" without much intervention and tend to contain many nuclear pore complexes per egg).

This is an important results since they're a rather important structure and have been linked to a few diseases in humans, but because of their complexity, they've been difficult to model, despite some efforts over the past 20 years.

Now, for the first time, thanks to advances in machine learning, we know what they look like. At least in the frog version. And have a general approach for modelling protein structures in the future.

It's a great day for science.
We're talking about the same thing. Perhaps I was just speaking more broadly.

> don't build abstractions because you might need them later ... [snip] ... This is because you'll likely be wrong about your assumptions about which abstractions you'll need, and ripping those abstractions out is going to be more expensive than just modifying simple code to do new things.

At worst, this is dangerously wrong. At best, it creates a straw man that people can use as a tool to shut down innovative ideas.

What you're describing is a very narrow/specific strategy that one might apply at a company. An example would be when a company is doing well financially and you don't need to risk amassing technical debt for some experimental side projects. Just build the MVPs, see what sticks, and only then decide whether or not to commit serious architecture to the problem.

If you're designing new systems that need to scale quickly (just one example) then you NEED to place bets on abstractions. A well designed abstraction could save you weeks (even months!) of time when you most need it.

I've seen what happens when a successful product is comprised of stitched together MVPs. It's too late for a rewrite and all of that "simple code" is creating a death-by-a-thousand-cuts nightmare.

Bad abstractions will always be bad. Bad system design will always be bad.

It's an aged/jaded mentality to claim that we should just stop designing systems ahead of time because we suck at it. Not everyone does. Some people are actually very good at it. It's possible to design an abstraction defensively so that it isn't more expensive to rip it out later.

Want a concrete example? Payment systems. If I'm writing a billing system then you bet I'm going to abstract away the interface with the payment processor. I would do this irrespective of our plans to expand to other payment processors. It shouldn't even be a debate because there's a way to build that abstraction with minimal overhead to the team.

On the other hand I would never blindly introduce an ORM into a system that doesn't need it. That would be a bad abstraction.
Nintendo really is extra nasty with these types of things. Sometime last year they sent a 27 year old man to prison for trying to sell modified save files for Breath of the Wild. That is, a prison sentence for selling cheats for a single player video game.
Partita Prelude for 8-Bit Ensemble
The best part is, I was defending the use of homebrew (which I absolutely hate) and local development (which is far inferior, IMHO, to blaze/forge/citc/piper). I had really hoped releasing abseil/bazel would help but sadly, it was done too little, too late.
> Whatever utility there is either very minor or refers to something in the future.

That sums it up pretty nicely, at least for DeFi.

Layer 1 currencies do have utility as currency, albeit defined by adoption. I sometimes pay for my pizza in Bitcoin. Some banks use XRP as a SWIFT-style cross-border payment network.
> Autopilot, which can go many hours before making a very serious accident.

Does it concern you that it might provide a false sense of security?
It's not the just the obesity but the elephantiasis of his leg. It seems reasonable to want to consult with a doctor first.
Right - also, what’s wrong with flipping a fair coin sixteen times? Or a D16 four times?
Or just the ability to use native os thread pools for that type of work.
What makes you think that?

With fossil fuels I'd say we need to worry about taxing emissions more than we worry about safety. But sure, let's make them safer.

Why do you think nuclear isn't too safe? Don't say it's impossible to be too safe. It's very possible. Imagine if speed limits were 15mph everywhere for an easy example.

We can build plants that are much safer than any previous ones; why is that not good enough? The regulations shouldn't be "make the whole thing out of the black box material, okay good luck".
The article hints at the core driver of costs: time

Decrease time-to-completion, and you decrease a whole host of costs. And the regulations driving that time explosion are within Congress's ability to modify.

(1) Grandfather any currently builing plan into regulations as of the year of project initiation, regardless of how they change after the fact

(2) Waive environmental impact studies for nuclear (or other no-carbon) plants. Don't let the perfect be the enemy of the good

The real problem is that nuclear has no constituency. Environmentalists hate it because they can't do math and aren't pragmatic (let's be honest); wealthy folks hate it because they don't care how much power costs and NIMBY.

So who exists to fight for it?

The only political hope I see in the US would be a single-issue group comprised of practical environmentalists + industrialists. The former should like it because it saves the planet. The latter should like it because it allows decarbonization without inflating energy costs.
Dendrochronological Analysis of the Stradivari’s Harp
If the d12 is for the great axe, then the d14 is for the greater axe and the d16 is for the greatest axe.
(Edited to actually look at the link)

Looking at that first link, it appears to cost/kWh is the cost for just the seasonal power that is being produced from hydrogen. It is not the average cost/kWh over all the energy being consumed off the grid.

Comparing this to nuclear is to compare apples and oranges. Nuclear supplies baseload, not additional seasonal power. If you tried to use nuclear to supply seasonal power the cost would be extreme. If you use nuclear to supply baseload, it is competing not just with hydrogen but also with much lower cost energy sent directly from renewables to the grid, and from batteries to the grid.

Of course the fraction of the output from the hydrogen fueled turbines will be expensive. But what we get from that toy model is the average cost of power, of which seasonally stored power is just a small part. In that toy model, nuclear is "Dispatchable 2", which you can enable, and which comes out to about 10 euro/kWh (EPR assumptions, perhaps optimistic considering Flamanville 3.)
Why do we immediately assume that that's "impressive" and not "telling"? Isn't that assumption plain old American/Western exceptionalism?

Perhaps the hypotheses should be "maybe there is something in Nigerian/pre-industrial culture that allows children to thrive more than in American/industrialized culture"?
> then let's maybe not worry about performance right now and instead optimize for intuition, maintainability and readability.

I would argue that throwing exceptions is the intuitive and readable thing for Python. Having to call isinstance for all possible return types of a function is not the "pythonic" way.
The fragmentation is what scares companies like Adobe away.

How many distros would they need to support to make customers happy? At what point does it become a problem of diminishing returns?

Windows and macOS are pretty big. How many more customers would Adobe get by adding support for: Ubuntu, Fedora, SUSE, Mint, Arch, Manjaro, MX, Gentoo, Elementary, and so forth? At some point it just gets silly and devolves into Muppet names and other nonsense -- and each one has a smaller amount of users.

Plus, real professionals are willing to pay for software. Open source is frankly not relevant for professional image editing, video editing, music production, CAD, etc.
If your users are paid the US federal minimum wage of $7.25 and working 40 hours a week, every user is already costing the business $1160/user/month.

And I very much doubt the typical ZeroTier user is earning minimum wage.

ZeroTier's SSO costs $5/user/month.

Why do so many people in tech expect to earn $$$$$$ themselves, yet expect their peers to work for nothing?
How might the average person see the difference between a copilot and autopilot?
What will it be then? Flywheels?
Tech companies are hiding IP addresses from advertisers
Because (and this is absolutely a clarifying question I would love to get), approximate counts are acceptable.

https://bmcbioinformatics.biomedcentral.com/articles/10.1186...
It's still under copyright. The Internet Archive owns a physical copy of the book, which they have scanned, and if you believe in Controlled Digital Lending ( https://controlleddigitallending.org -- to be clear, I do) this permits them to lend a copy out online to one person at a time.
Wadler’s law or not, I’m not criticising, just curious :) Thank you (and 'EricCorry in sibling comment) for taking the time to answer!

[Yes, colons are nice as block introducers but don’t play nice with colons for type ascription, which is where we got Python’s asinine f(x: int, y: bool) -> str; don’t know why Rust went with that instead of ML’s uniform f(x: int, y bool): str.]
I dislike the Notion UI [0] so much that any page became unreadable for me.
They could at least add easy customisation of the CSS like GitHub pages.

[0] https://cronhq.notion.site/cronhq/Cron-Calendar-5625be54feac...
Not to supply grid leveling it doesn't. For that, the hydrogen is produced, stored, and consumed in a small range of places.
> No one has offered any plausible suggestion for how to contain corruption costs for nuke construction

Honestly, I had assumed this was how the US worked in any industry. The tech industry (most recently crypto) has certainly spent lavishly on politics in recent years, either to escape accountability or to get special status.
The PGA Tour and PGA are completely separate entities. The players split it off some time long in the past. This is why the PGA Championship (still run by the PGA) is a separate event from the Tour Championship.
Tell HN: Wordle doesn't work if you block scripts on NYT website
I block scripts on the NYT website with Brave. Every day I hav played wordle without issue until today, when it won't load unless I allow scripts on the page. I understood there would be no changes, but obviously this is a change.
I will say, I knew many who were similar.

If they pirated 100 games, maybe they would have bought a handful at retail price, even given unlimited funds. A few more on discount.

Anecdata, sure. But it speaks to the point that game pirates don't really play the vast majority of what they pirate, they try them out a bit and move on mainly because the time cost is virtually nil.
I like the convoluted use of "I.." in the writing as a way to amplify the story's message. I thought it was clever.
You can fix that by having backups and hosting elsewhere. The difference is using a service's infrastructure vs. using a platform's reach.
Do you mean a job? Otherwise, why would they just give you money for free?
Ask HN: Hardware asset management and booking system
What hardware asset management tools do you use for quickly booking network-connected systems?

Are there any that offer a spreadsheet-like interface (i.e., data cells plus keyboard-friendly inline edits) and expose a REST API for complex queries against user-defined properties and relations?

We're using a spreadsheet to reserve hardware, which is no longer adequate, yet wonderfully efficient:

https://i.stack.imgur.com/k9Cd0.png
New Federal Standards Will Reshape How We Charge EVs
I think this is the fix: https://github.com/postgres/postgres/commit/e28bb885196916b0...

Discussion: https://www.postgresql.org/message-id/17485-396609c6925b982d...
> No, we all know it measures those things, and those are exactly the things the measurers want to measure.

I wouldn't be so sure everyone realizes it doesn't measure anything relevant to actual job performance although it should be obvious (since nobody whiteboards algorithm puzzles all day in an actual job).

In all of these threads there will be many people saying they only want to hire the top% of developers (as if it was a strict linear scale, as opposed to hundreds of intertwined skills) and they justify leetcoding as the way to do that in a belief that top leetcoder is somehow a top software engineer, instead of realizing these are unrelated skillsets.
> If history is a guide, then you are correct. But I believe complexity is fractal

Actually, "combinatorial" or "exponential" would be better words to describe complexity explosion. The number of possible cases/scenarios/logic flows/etc grows exponentially as a system's complexity increases. It is a curse and a blessing at the same time keeping so many SWEs gainfully employed.
It is particularly a problem in high capex projects with opaque cost accounting, particularly nukes, urban tunnels, weapons procurement, and crewed spaceflight.

Solar and wind projects seem thus far relatively immune.
I don’t think Algorand is a scam.
It is interesting to consider what the function of this kind of information is. I suspect the real purpose is to give the public warmer feelings when they discover that their local Congress person has received major donations from Northrop Grumman. And they can say “oh that’s the Mars sensor company” instead of thinking of the company’s other products.
I’ve worked at big companies and small. I much prefer small (though 300 isn’t all that small). I would love the opportunity to spin up a green-field project inside an existing company.
That being said, if the project doesn’t work what happens then?

How’s the smaller company’s culture and their funding? Can you find any ex-employees to talk to? They know where all the bodies are buried and have nothing to lose telling you.

Every startup has a runway. Funding is very challenging right now. Make sure they are straightforward with you about the funding future. How well will the product weather the coming recession?

You will probably have stock options at smaller company. What’s your honest assessment of the likelihood of those options being worth anything? To be perfectly frank, most startup stock options are worthless. But when they’re not they can bring your total comp up a lot.

You know how the culture is at Amazon. Picture yourself in each place, imagine how the work will make you feel. I suspect this last question will answer the question for you.
Security professionals hate the SSO tax, probably even more than they hate SMS 2FA. I wrote a kind of defense for it here:

https://news.ycombinator.com/item?id=29892664

Long story short: it has almost nothing to do with the cost of providing SSO features (which is what upsets security nerds, because we know it's not that expensive to get these features right, though they are tricky).

Rather: the SSO tax is much more about making services cheap/free for small customers, and charging "what they're really worth" (the core service! the whole thing! not just the SSO feature!) to companies that demonstrate that they're large enough by demanding SSO.

You don't have to like it! I sure don't! We SSO everything and are relatively small and the tax takes a bite. But it's at least worth understanding the logic behind it.
Holding the technology constant, you can change the safety requirements.
When I last tried it, it frequently crashed and was very laggy on a high-spec machine with a good GPU and CPU. I also had trouble getting it to correctly do things like adjust playback speed of a clip. After an hour I gave up and used Davinci Resolve.
Samples from the asteroid Ryugu similar to Ivuna-type carbonaceous meteorites
sign up again?
Norco Point and Click Adventure
I think most people understand that a copilot is fully able to fly the plane themselves whereas an autopilot requires being monitored.
https://arstechnica.com/gaming/2018/07/nintendo-reportedly-r...
Regardless of the merit of the rest of the argument, the quality of the DRM doesn't really matter for the same reason the quality of the lock of my front door doesn't matter. Most locks are shit that can be picked by a toddler in a minute. Their goal is mostly to make sure that if you open the door, you meant to.
https://github.com/Schweinepriester/github-profile-achieveme...

Also check issues for discussion
> Just like security, you settle for the risk you can afford and are comfortable with

Right, I totally agree. What I'm not a fan of is this site actively encouraging people to call out others for not owning their own content. If we are gonna compare to security, it would be like suggesting everyone should adhere to the same threat model -- which just isn't practical.

> The cloud muddies your grasp of the risks though.

Are you saying "you" generally or me specifically? Because I was just using a CDN built on AWS as an example of not being able to own all parts of your stack. It's mostly impossible for an individual and most companies to build a CDN on their own hardware as most entities don't have datacenters around the world.
There's a fine line between pitching in to help someone and working for them for nothing. Sounds, as many people have pointed out, that you're on the wrong side of that line.

The next time you're asked to help, ask them where you send the invoice. Or lay out some terms of engagement - what you will and won't do, how many hours you'll work, the hourly fee you're expecting, payment terms, and reasonable travel expenses (if any travel is involved).

Yes, that will probably turn a lot of people away, but if they're making money from your time and effort shouldn't you?
Why should it be different?
No. That doesn't follow from my comment. What I am saying is that a government's making laws against distribution of software is not censorship.
I sincerely hope Shotcut keeps making progress, since the last time I tried to find a good open source video editor of its type there wasn't one. Shotcut at least seemed to be the best of the available options, but it was laggy and crashed a lot despite being on a high spec PC and I had trouble getting it to correctly do basic stuff like adjust the playback rate of a clip.

It was really frustrating to end up settling on Davinci Resolve because that app sure is hard to use (apparently it originally only worked if you bought Blackmagic's custom control surfaces, so it sort of makes sense that its UI is terrible). Resolve is at least better than Vegas (which inexplicably costs money).
Is there a way to for multiple users to connect to the same web application with Flet?
well, nuclear power plants can be impacted by weather conditions: specifically those which use rivers to provide the water for their cooling need, rivers whose discharge can be impacted by high heat, bringing it to a level below what's required for the nuclear plant. I don't think it's not a common occurrence, but it can happen
This sounds interesting - could you elaborate further on how rejection sampling "fails" on LuaJIT?
> being able to authenticate the source of information/media will be very important

What would stop an actor with enough resources (Russia, China, USA) to put deepfakes onto the chain?

What would stop them from blackmailing service providers who act as gatekeepers / market platforms to put deepfakes into the chain?

Why would they even accept any single "Blockchain X" as the source of truth? Why wouldn't they just say "Oh that's the evil state Y, of course they're pretending that their fakes on their state-governed propaganda blockchain are authentical, whereas OUR blockchain tells the TRUTH!"

How would you correct honest mistakes on the chain? By a correction update? Then what would stop an evil actor (Taliban) who overturns the government, or takes over a giant corporation, from "correcting" an unpleasant truth, and rewriting history?

Once again, a social problem is attempted to be solved with technology. This never works.

> I think NFTs will settle down eventually and they'll be useful

What would be different, given some time, from now? What needs to change for NFTs to become useful?
How do you invoke the real off mode?
Depends what your platform is but most of the examples given are about content.

So I see it as own your content and don't licence it out or be unprepared to migrate hosting platforms as needed.
> In a multiplayer command-based undo/redo system, we can also solve [intermediary commands] by pausing and resuming the history stack at the right time.

Suppose that instead of managing the overall state of the history stack, you gave each command a unique ID and allowed commands to be updated/overwritten as they develop? Apart from a few bytes of memory overhead per command, what am I missing?
The cloud, the whole thing, was a mistake. I host everything locally, because AWS makes every action needlessly complex.
Product owner I’m guessing
How about they just prepay another country for ten thousand years of storage multiplied by 100 square meters? I don't see why it has to be local.