skysight-inc/HackerNews huggingface dataset:
This summary reminds my of Jerome Ravetz’s advocacy of “Post-Normal Science”, to fix the current problems in scientific discourse. https://youtu.be/qVLpbtkqERY
I think conflating these two into one paradigm is worse. The catch-all (exceptions) style is nice only for a few very specific cases, like the request handler example. Everywhere else I want to either bubble up (like exceptions, but Result<> and ? sugar is as good or better), OR I want to handle the error. For the latter case, exceptions are not good at all.
Ah, true, I hadn't considered that.

Now I'm just looking forward to see how more and more ubiquitous AI deals with real world language.

When I look up "on sale" I get

> 1. offered for purchase.

> 2. NORTH AMERICAN - offered for purchase at a reduced price.

so I guess I associated a US centric idea with the term, since that is what I'm used to.
I’d love to hear more about this. Which languages do you normally work in? Any recommended reading about this topic/approach?
That is how it is done when translating literature, right? Pete becomes Пит - just like you are pronouncing Pete.
I ignored your comment because it didn't make sense to me. And since I'm flagged in this thread for having a contrary opinion to the groupthink in this thread, I'm rate limited to reply. I can only reply to like 3 posts before HN tells me to take a break, so I only responded to comments that made sense.

I'm sorry for your grandfather, mine died as well at the hands of Nazis.

By "race component" I'm making reference to racial relations in America, which to a large extent, revolve around the fallout from hundreds of years of chattel slavery of Black people. This country was built on the backs of black slaves, and that still has repercussions in society today. This conflict has deep roots, and many aspects of American life that may seem benign have a context in that history. If you don't know the history then you may not feel one way or another about it. If you do know the history, then it colors things differently (depending on who you are).
Let's see if I remember Perl regexps: '/': this is a regular expression. '^' at the beginning of a line, '(.)' match any character, and remember it for later. '\1' match the same character that you just remembered, '*' zero or more times. '$' then match the end of the line. '|' Or, '^$' match the beginning and end of the line with nothing in between.
Check out the Charm libs by https://charm.sh/
Does the estate pay capital gains on those stocks, or can it take advantage of stepped-up cost basis rules to avoid those as well?
I have a friend who buys apartment complexes and houses on the company for his employees to live in; that seems not to be reasonable. In fact, it became more reasonable with wfh; now his colleagues living farther away, who he wants in the office 3 months a year, can live for cheap for both sides and without any long term contracts. Definitely cheaper and more convenient than hotels in his area.
no, not really - they (vegas) did briefly after the mass shooting from the resort window, but before that, and since then I always leave the DND sign up, even if I am there for a week, and never had a problem.
> I often see solutions abusing exceptions

Wow, I thought I had seen bad code, but even I've never seen this. My condolences, OP.
> My jeans are from a Swedish jeans company that offer in-store repairs as long as it's practical.

Nudie jeans by any chance?
In contrast the $120 freezers in my garage have given improbably years of service without a single issue. New from big box store; reviews warned of possible failure and loss of content. But mine must be the good ones. Somebody has to get the good one I guess.
One can certainly be accused or perceived as being pedantic without thinking oneself to know the truth though, or actually being pedantic.

https://en.m.wikipedia.org/wiki/Semiotics
Thanks for the advice.
Being stuck in roughly my current skill level is why I want to make more connections with people more experienced / senior to me. I have poor management skills and that doesn't look like a path I'd do well on.
I wouldn't consider the existence of a start-up proof that a problem has been solved, especially given the need of hyping one's own product (and possibly downplaying any remaining challenges) as a nascent organisation.
They also removed/hid the "log out" button recently. I tried to use meet on someone else's browser recently, and the only option was switch user, which required a username.

(This was on Firefox. It seemed to work otherwise.)
Throw it away! It is costing more in annual electricity than a new one. Never mind it's old; it's insulation is worthless and its compressor is very inefficient.
But why did they make the mast of douglas fir? Seems like a bit of an odd decision for a very fine ship since it is not native in Scandinavia.
Or if there's a network split or issue, you ideally want exchanges to take similar actions.
If Japan is forced to go with nuclear they are still competing with cheap renewables elsewhere in the world. This is bad news for Japanese heavy industry. In a defossilized world some places will be energy ghettos. This is probably bad news for Europe, too.
What nonsense. PhD students also have the option of ignoring the law associated with their visa, that's not exclusive to people entering over a specific border or port of entry
It also works surprisingly well for people in cities, such as myself when I'm at home in London.

Fortuitously, I'm so glad to have checked this just now as apparently there's going to be a Starlink train going over where I am at the moment on holiday, in a couple of hours - bonus! :)
Right, they're not getting financed because of things like government prohibitions (as in the case here) and unequal consideration making them bad or impossible investments. The propaganda is presumably to get the public to go along with it.
German car makers putting out of the self driving AI-race
Yes that's what I was referring to.
I'd like to try some yeast that gives more flavor than the Fleischmann's <i>active dry</i> yeast I use. But, I don't want to invest time or effort looking for a yeast with "more flavor"!!

I've heard claims that the usual US yeast is of strains selected for the US bread industry and where the main objective is a reliable, big, fast rise with little or no flavor!

Sooooo, again, the US goes for some high industrial productivity with little attention to artisan considerations!!!
I think it depends on whether you are talking ad-hoc ie. a user analyzing several datasets, or pipelined ie. preprocessed joins.
For pipelined joins, effectively your data forms a DAG (directed acyclic graph, and yes we are ignoring recursion here). Providing your data services speak the same language you can create a pipeline off the first pipeline that joins the data and sticks it in a cache (eg. RDS, Elasticsearch).
Changing the underlying data should then trigger a reload of the downstream pipelines.
This is basically what Materialize.io, KSQLDB et. al. do - a reactive DAG with a database as the cache.

One issue for larger companies is that you don't control the whole DAG, so discovery, security, protocols etc. need to be coordinated by an overarching architecture for this to work.

Something like Apollo (GraphQL) is a simpler solution (in some ways) as you control the joins on the Apollo server which speak to backend (REST) APIs (other teams).
The existence of a Cadillac product doesn't refute the proliferation of absolute crap. Somebody sells a coffee grinder, it should grind coffee for years. No exceptions.
This is an interesting framework, it's refreshing in that you don't need to bootstrap a whole web browser (electron) to build a user interface.

I don't really see it's use case though, mostly cli is used for either:

A) Ability to run in automated environments (e.g CI) - think aws cli

B) Interop, think piping data from grep to xargs

C) Hacking - writing a script quick and dirty to just get a job done

I'd have thought if I was investing enough time to think about user interface, I'd just build my tool in Qt/GTK/JavaFX/Electron etc

Though I can see the argument that if I was building an app with keybinds as controls rather than mouse primarly, probably a framework like this would be the way to go.
same here - airbnb had its day in the sun for me - its back to hotels for me whenever I can.
This is a really good point - what measure of assurance do we (or, rather, the Japanese public) have that Japanese government officials and power company execs won't make the same mistakes again? Have any of the responsible parties been penalized at all?

Even if the technology advances, if the problem was the people last time, technology alone won't be enough.
I haven't read the full thing but one thing you can do is institutionalize some of this stuff. The screenshot here especially:

https://wizardzines.com/zines/debugging-guide/samples/2-tiny...

You can institutionalize this practice at your org in some ways. At my org we have:

* strawman apps for our cloud systems and our windows services to practice deployments and startup/shutdown behavior without having to wait to compile full apps

* alwaysfails and alwayspasses tests in our test projects for confirming how test frameworks behave and our test reporting/logging function

* to some extent, health check pages on apps can hold limited tests https://www.thoughtworks.com/radar/techniques/health-check-p...

Maybe the zine encourages that, haven't read it yet, but looking forward to digging in based on recognizing this strategy.
Wage growth vs inflation.

If your wage goes up 10% but inflation is 11%, you actually have a real wage decrease. Generally speaking anyway.
That isn't what I'm talking about.

When doctors get called in to hospitals for emergencies, they travel in their own cars. Is that really unknown around here? If it is, none of you are competent to decide who needs a car and how cities should be designed.
> I use exceptions heavily for validation

This fits within my understanding of a reasonable use for exceptions - usually these are in the form of assertions, which themselves throw exceptions but can be turned off at runtime if you don't expect to ever see this condition in real production circumstances.
Start your own server and you can do what you want.
I think the idea of precheck / pre vetting makes a lot of sense. It just shouldn't be outsourced and privatized to a company with an incentives alignment problem.

Your example about locals vs. foreigners at customs and border control also makes sense to me. I'm fine waiting in a longer line when I get to Europe since I'm not an EU citizen.

Think about EZPass on the highway. Anyone sitting in line waiting to pay a toll manually was just lazy in not setting up automatic toll payment.
This is a bit like saying mp3s will never take off after napster got shut down and cd sales briefly went back up

You're using a black swan event (russian invasion of ukraine) like it's a baseline of what to expect in the future, ignoring that the world has invested more money into renewables this year than ever before

The world is definitely moving on from coal and gas and I reckon this coal crisis will be the last, I expect to see a lot more articles like this coming up around the world:

South Australia’s remarkable 100 per cent renewables run extends to over 10 days

https://reneweconomy.com.au/south-australias-remarkable-100-...
You export the electricity. Either directly, or by bottling it. Excess power always has a use.
Why would that happen? Rotation of the vehicle around an axis parallel to the axis of the flywheel will cause no gyroscopic effects.
So how much are they paid for the machine inspection? How many machines can one person inspect per year?

If one person can inspect 100 machines per year and each inspection brings 5000$ which is 500k per year of revenue. Then I would pay you a lot of money if I knew that they will be able to inspect 115 machines from now.
People have picked stranger things than julia for safety critical control systems. I know people have generated it from simulink and have used labview, and it wouldn't surprise me if somewhere someone is using an excel macro to control the pressure system on a boiler... The world is a scary place.

Reading theough the spark tutorials and examples seems fairly similar to the rustlings excercise. I find the ways spark prevents problems, like forbidding side effects, is more onerous than the borrow checker making me specify a lifetime every so often. I'm not saying you are wrong to prefer spark, just that people with different backgrounds will find the learning curves different. You have been programming longer than I've been alive, so you certainly have a different perspective. I started with c64 basic then c on the amiga 500, then x86 assembler on 386, them turbo pascal, then turbo c++ on the 386.

I can't argue that spark isn't more mature for formal verification, but it feels like formal verification relies heavily on correct contract specifications with no way to measure when your contracts are correct. Unit tests and coverage at least give me a little feel good that I wrote enough tests for my rust.
78.8 to 77.3

Is this a surprise when a novel corona virus runs through town?
> You can have roads where motor vehicles aren't allowed, but have exceptions for ambulances in emergencies.

So doctors won't be allowed to drive to the hospital in emergencies.

That kind of thing kills people.
Not that a jetpack appeals to me at any level, but this seems like exactly the type of project that should not be developed in a race.
> feel anxious about calling a function and having absolutely no idea if or what exceptions it might throw

You can try doing what most of my coworkers do and just not care.
This isn't new stuff[0], just made more affordable by some technology from the fracking industry. It's Yucca Mountain without the mountain.

[0]https://www.forbes.com/sites/jamesconca/2015/03/05/cant-we-j...

[0-1]https://en.m.wikipedia.org/wiki/Deep_borehole_disposal
Whatever rocks your boat buddy.

Since you already believe you can't buy a home, it might end up becoming a self full-filling prophecy.
Once you added your own file into "Click to browser, or drag & drop files here.", replace "input/myFile.mp4" argument by your own filename/path
Exactly. People who shout about how wind/solar are not reliable and need storage / fossil fuel backup and then spout about nuclear have no idea how grid-scale energy generation works.

Nuclear takes hours to days to respond to load change, so there has to be much more reactive power available. And nuclear plants need to be able to draw megawatts of power from the grid any time they're not generating power. You can't "cold boot" a nuclear power plant without a massive external power supply and it takes days to weeks to do so.

It's so bizarre hearing people advocating for nuclear talking about storage like it's some barely-understood, dangerous, hideously expensive sci-fi pipe dream. Grid-scale energy storage is almost 100 years old and battery based systems have been actively deployed for many years at all levels of the grid, right down to residential.
I’ve been singularly unimpressed with the rate my LED bulbs are failing.

Definitely not even close to 10-15 years I was promised.

And this is why warranties are pointless. How am I supposed to get one of these bulbs from a four-pack replaced by the manufacturer two years after I bought it?
> Any mistake or failure and you're fired

Seems like an awful idea. Especially if you are new to something failures happen and are a good way to learn.
This just rewards the lucky and those who minimize their own work.
1. Is not a real problem because it doesn't take up much space.

2. The total death toll from the Fukushima incident is 1 (so far). For comparision, the tsunami & earthquake that caused Fukushima to meltdown killed 20000 and injured 6000 more.

And Chernobyl doesn't really count, as no reactor worldwide is capable of Chernobyling, and hasn't been for the past 25 years at least.

Chernobyl is a horror story that can be told to childen about Soviet/Russian incompetence, not as a valid example about the dangers of nuclear energy.

Likewise, Fukushima can be used as an example about how safe a worst case scenario actually is.
May I recommend the Viking Ship Museum in Roskilde, Denmark, close to Copenhagen. They have a number of original ships on display, and also a workshop where they build more. They take tourists for a quick trip on Roskilde Fjord. Their biggest ship turned out to have been built in Ireland, so when they built a replica, they sailed it to Dublin and back.
Physically demanding? What's the difference between cleaning a hotel room and cleaning your house or bedroom? There's absolutely zero heavy lifting. You change the sheets, vaccuum and wipe down everything.

I would option to say taking care of kids is more physically demanding than cleaning.

If it's just supplementary income it wouldn't really matter about benefits as the spouse would already have benefits.
A follow-up post:
https://sourcery.ai/blog/dependency-architecture/
Kagi Search Dec'22 Update
> It’s just not a problem.

From the other comments in the thread, it's a huge problem, and it's one that kills.
Turbocharger fans/impellers are not offset weights though but perfectly balanced and they are also lightweight.

A flywheel on the other hand is intentionally unbalanced, an offset weight, kind of like a clock pendulum spinning really fast, making it incredibly dangerous when something does go wrong. It basically becomes a centrifugal slingshot.
Where is Japan going to build the reservoirs to support pumped storage? They would literally need to blow up some mountains to do it.
If you were focusing on the numeric aspect of "kids getting run over" you largely missed the point. That you missed the point is reinforced by you focusing on the exact number of kids ran over versus general death of kids in car crashes, for example.

> Every year, one in every 20,000 kids in America dies in a car crash.

And I bet that 770 kids dying each year from being directly run over occurs 70x more often than someone dying because a doctor can't make it to the hospital in time. Really optimizing for an unimportant detail at the expense of the entire system.
Has TUI accessibility improved at all?

Textualize (Python), Charm (Go) and tui-rs/Cursive (Rust) make building TUI apps appealing, but I'm put off by the idea of making apps like this if they have no screenreader support.
Hop, the open platform for Clojure(Script) developers
Regardless of what complex strategy you apply in the real world, this still indicates that there's a bias at the core of a 50-50 fair bet in the long run, ability and IQ aside.

Besides the economy can very well have zero sum game elements to it
well this is embarrassing.

For others reading, this is a Ask HN on the same topic
https://news.ycombinator.com/item?id=9400288
They did try though.
And, judging by the comments I've gotten, it would kill anyone who needed emergency medical care.
If COVID deaths severely impacted the number of workers, then their housing should have opened up. Instead we see the housing supply even more constrained and prices rising.
I have never been a fan of Musk but what I don't understand is all of the gloom and doom now. Twitter was hemerging money for it's entire existence and now that someone is in charge that actually cares about it's cash flow, it's on it's deathbed?
>reserve space for a 64-bit integer which I shall henceforth refer to as 'i'

In this scenario, regex processing should allocate more and be slower. The for loop is more optimal even if takes more lines. There's probably some SIMD solution which would be the fastest.
It's not really up to you to decide what brings joy to the author.
You can write a similar essay, who said you couldn't? What point are you trying to make? If it's something you feel strong about, all power to you.
This kind of comment is deprived of any real content.
They get very tall. As tall as a mast.
You make it sound like some deliberate technical/societal decision. Rather, platforms gained popularity because most investment dollars want to create media companies powered by software rather than plain software companies, most people operate at the level of typing things into the box near the top of their screen and then clicking around on what comes up, and people's inability to think abstractly about how incentives are created by a system's design. Network effects do the rest, and create strong lock in so even people who know better or who have gotten burnt are still stuck in the orbit of popular centralized services.

Will the current events be enough activation energy to oust microblogging from its proprietary hell hole? It's hard to tell, but it's one of the best opportunities we've gotten.
NFL Sunday Ticket goes to YouTube in $2B deal
Yes, I kind of missed that. On the other hand, sales tax in the US is very low compared to European VAT (0-7% vs 18-25% VAT), so it's much smaller issue.
> Storage is a solved problem.

And yet, the presumably intelligent people in charge of Japan's energy policy still think nuclear is the way to go. Do you know something they don't?
"If you encounter an unusually round system limit, you’re probably using the system in a way its designers never imagined."

Haha, so true. We triggered a static code analyzer error "Cyclomatic Complexity bigger than 1.000.000.000!". The vendor was very interested in that code snippet (generated classifier code) and we shared a good laugh.
I still don't know which is the most powerful one. I remember people buying the previous generation of XBox consoles, because they were confused about the name :D.
The whole working Germany comes with close to ~2000$ well. Many poor European countries have enough people living from 300-500$. I could also do that if needed. What’s so expensive in US that you need 2000$? Last time I checked housing in Florida was super cheap by German standards.
Not a good example that everything turned to crap right this decade...
Some manufactures actually do that, their claim is that it makes the EV feel more familiar. But then people complain that the manufacturer is purposely downgrading the performance of the hardware in order to sell a "performance" version of the car for more money (but with the only change is just deleting that down-tuning software).
Of course, the alternative of this is that burning coal goes really wrong when it goes right—coal leads to 1,000 times more death per kWh than nuclear.
Reading the article, you can see why it's not an honest example to back up your point. Sellafield was built partly without decommissioning in mind, it was originally used for something else (making plutonium for weapons) and still has 140 tonnes of that plutonium on site. It was built with world war 3 in mind. It's not a modern nuclear reactor.

Sellafield has more unknowns that most, but I doubt it's been underbid. I think nuclear proposals undergo a great deal of scrutiny and are some of the most cost-complete in existence. Hinkley Point C in the UK, its masterful government negotiation aside, has I believe a total lifetime cost of around £40bn.
No, flywheels for this kind of energy storage are not "intentionally unbalanced", rather the opposite. Where did you get that idea?!
I think it's a little odd that people always loop in Fukushima with Chernobyl. The Chernobyl accident was at least an order of magnitude worse.

More people died simply because of the evacuation than from the effects of the Fukushima accident.