skysight-inc/HackerNews huggingface dataset:
I do not claim that No-Panic Rust is popular (or even used at all) in Rust libraries currently. If it was popular, I would not have had to think so hard about it and write a blog entry. I claim that this technique is widespread in C libraries, and I believe I have demonstrated that.

Our conversation was sidetracked because you claimed that panic and unwrap() were essential parts of how Rust provides safety, and that the C precedent doesn't apply because C's approach is unsafe. But I claim that No-Panic Rust is potentially a solution that gives you the best of both worlds: comparable safety without risk of a (detected) bug crashing the entire process. So I do think that the C precedent applies.

I grant that there are applications where panics are a perfectly reasonable way of handling internal errors. Your ripgrep is a perfect example: it's a short-lived process that only does one thing, and users are running it from a terminal (and are probably tech savvy) so they can easily copy and paste the crash into a bug report.

But there are lots of other applications that are not like this. Consider the Linux kernel, where a panic takes down your entire computer. Or consider a mobile (iOS or Android) application where there is no terminal to dump to, and the user experience of a crash is that the app closes unexpectedly and without explanation. Or consider a web browser where it would be very annoying for an entire tab or browser to crash just because one operation (like using the search box) ran into an internal error.

In most of these cases, you want to let the program continue if reasonably possible after an error is encountered, while also logging the error for later inspection/diagnosis and possibly telemetry. Probably you will be abandoning any internal state associated with the failing operation.

It's true that my blog uses unsafe in two cases to get rid of panics. The first is to call libc::printf(), but this is only required because the Rust stdlib does not offer any No-Panic API for printing to stdout. This is really just a symptom of the fact that No-Panic programming has little precedent in Rust. If there was a No-Panic variant of the standard library, it could offer a safe API for printing to stdout.

The second case is an optimization, where we are trying to remove a bounds check for performance reasons. This is an example of "opting out on a case-by-case basis", except what I am proposing is more principled and arguably safer than merely switching to get_unchecked(). I am asserting the underlying invariant of the data structure, and then letting the optimizer infer that the invariant implies that the bounds check is not necessary. I think this is pretty interesting, and very cool that the compiler is able to do this.

So overall I do argue that No-Panic Rust offers comparable safety to panics and unwrap().

The Rust port of upb is on the back burner currently, and nothing is open-sourced yet.
Maybe, but it's also not like "efficiency" isn't right there in the name
The difference is that in the future (assuming the mineral deal goes through), there would be US citizens operating mineral franchises on Ukrainian territory. So if Russia harmed them in the future, we would be drawn into an actual war.
it's difficult to impossible to believe that there is any failure currently in the international coffee market. (i'm replying as much to GP as to you, not disagreeing with you)

>markets don't just magically hit an equilibrium price

markets do magically, and quickly, hit a "market clearing price" where all the bids and asks that match are executed. the market can also slow when there are plenty of bids and asks but they are too far apart.

an "equilibrium price" seems to imply some sort of stability, but when the future is uncertain, prices will be uncertain, without implying a market failure. there can be "information failures" that steer prices wrong, but prices can be uncertain just the same even given all current information.
Outside of trans rights though, it’s hard to see what issues the us left is to the left of Europe on.
What’s more, we actually have left wing parties in power and using govt machinery to advance what would now be called ‘woke’ in the us.
China doesn't care about Ukraine but they care about continuing to sell to Europe a lot.
What is your basis for this? This sounds like rubbish. I would imagine the car would function as well as any other manufactuter who runs their own entertainment system - some hosted features might fail, but the car itself will continue to run fine.
"Liars gonna lie." --Katt Williams
Chinese government has a long history of doing the same thing in countries which are not particularly sympathetic to their view, such as Australia.

https://www.abc.net.au/news/2024-05-13/china-secret-police-o...
The amount of money DOGE and Trump is saving americans by firing government employees, shutting down departments, withdrawing from military operations...

I'd expect everyone in US to only have a few percent of income tax next year.

(Hint of sarcasm, yes, but an honest question; where is the money going?)
I skim, and I skim quickly. I completely ignore entertainamy,and have learned to avoid empty stories, and ... Literally bot-shit.
I had to take over a mailbox from an employee who almost never used it. 30k of emails. I started at 1~200 a day, and soon reached 1000+ and kept up with the current stream. Completed the whole task before my probationary review.

The trick always is...
I'm almost certain that this is exactly how it works in processor design. You start building your compiler before the processor is finished, and test it with the emulator.

At least, in quantum computing, that's how it works.
I found the domain I use by searching for {word}mail.com among expired domains (e.g. expireddomains.net) or new domains (e.g. https://leandomainsearch.com/search/?q=mail)
Definitely, but the economies will likely won't be able to sustain your current style of living. Say goodbye to your electronics (including the one you are reading this comment on). Return to something closer to an agrarian economy until the birth rates go up. Will we agree to do this?

No. Hence, conflict will ensue everywhere
I bet Agri Stats is involved to some degree with price fixing above the baseline of supply intersecting demand.
> GSA employees were told that when it comes to what they can use GSAi for, “the options are endless.”

I'm reminded of zombo.com.

The only limit is yourself.

The infinite is possible at ZomboCom.
> Is there really? In the sense of a global organized boycott spearheaded by a particular organization?

That's not the normal definition of boycott.

Usually boycott just means to refuse to buy from a particular vendor due to some reason other than cost-value of the product.

I dont know about "global" but there are certainly many regional groups boycotting american products in general, and musk doubly so.
yes but this was in an area that had no real risk for hurricane damage, we only got some torn soffits and maybe lawn damage. And to see multiple people doing it for the same reason, and not knowing each other/coordinating this, was concerning.
There’s a fair number of brands selling mg alone and fe alone. Maybe it’s hard outside the US? Or maybe places like target and CVS don’t carry them - those places do have limited options.
I do think Elon Musk does think he’s the smartest person in the world and he was going to roll in and find fraud easily.
3 and Y compose 95% of Tesla’s sales. Not offering S and X does not move the needle.

https://ir.tesla.com/press-release/tesla-fourth-quarter-2024...
Trump himself from this article: "And they’re finding what will be hundreds of billions of dollars’ worth of fraud — I say waste and abuse."
Republicans went from being the party against marriages and protection for gay people (in the early 2000s), to claiming "Trump is the most pro-gay president". Going from "roll coal to own the libs" to not caring would be a small change in comparison.

https://www.washingtonpost.com/politics/2020/08/24/absurb-cl...
"The Liar-in-Chief". Final answer, Regis.
have you considered using remix?
It will be used to make tax cuts available.
Tax breaks for the super rich. What did you expect?
Aside from the gimmicky "summon mode", what remote control are you talking about?
Excellent! -- despite being overdue.

I hope these Europe-based joint ventures increase in every aspect.
Only for the very top brackets.
Very true. And not just the photography, all of the people who produce the tools. Like even film chemistry: https://www.vox.com/2015/9/18/9348821/photography-race-bias

Everything we interact with is the product of generations of people, shaped by artistic choice, and filtered by distribution and our own perception and cognitive biases.

Which sounds like I’m complaining but really I’m not… I think it’s inspiring and empowering to see the whole stack, imperfect as it is.

So yeah, conversations about computational photography that veer into “but it it doesn’t capture reality” betray an oversimplified view of how all this works.
Denmark has companies making parts for car companies elsewhere in Europe.

I don't know the relative size of this industry compared to anywhere else.
Which makes predictions even worse then.
The Text Sizing Protocol
NATO is there to make sure that the dollar is the dominant trading currency.

NATO is the reason why saudis are trading in dollars.

NATO is the reason that the US has credible nuclear deterrents

NATO is why america doesn't need to have a physical colonial empire in europe (otherwise it'd need to subjugate cyprus, and somewhere like saaremaa, and that costs a shit tonne of money)

NATO isn't about playing for defence of europe, its about keeping the USSR and russia far enough away to keep trading routes open.
"Democrat Party" is an epithet https://en.wikipedia.org/wiki/Democrat_Party_(epithet)

Its usage often indicates the user gets their "news" from very particular sources.
Always Be Committing
https://learn.microsoft.com/en-us/windows/terminal/tutorials...
They're not saving any money.
Key Takeaways from Hacker News Discussions on Vibe Coding
> But that doesn't explain the massive drop in sales.

New model y releasing in May.

This may not explain all of the drop off, but I’m certain this refreshed model explains some of it.
Pay no attention to the catastrophic drop in sales in Scandinavia and Germany following Elon’s Nazi salute on national television. Pay no attention to the dozens of dealerships subjected to violent responses due to the above and the CEOs mass firings of civil servants.

Or… Google around for cases of vandalism of the cars and the dealers. Maybe review some of the protest language. Pretty sure “politically charged” misses the point by several orders of magnitude.
I thought the US lost in Afghanistan and Vietnam. Am I misunderstanding something in your post?
Anecdotally in New Zealand I have several neighbours with new BYDs. In my same neighbourhood there are two Teslas (Model 3) and both were purchased over 5 years ago. No one in their right mind is buying a Tesla in this market, and not because Elon is a twat (although he very much is). BYD is just better value.
This is an example of Goodhart's Law, where qualification of entrance (whether to a college or company) is measured, and thus becomes the target for applicants rather than being good at what is being assessed.

I for one never really cared about grades and would just sit in class and try to understand what it was really about so that it made sense and could be internalized. I don't think this works anymore where the bar is set artificial high using proxy checks (e.g. leetcode) or having to get past recruiting screeners who have no idea what the job entails.
Remember that input tokens are quadratic with the length of the conversation, since you re-upload the n previous messages to get the (n+1)-nth message. When Claude completes a task in 3-4 shots, that’s cents. When he goes down in a rabbit hole, however…
i mean what do they get from buying a second hand car? i'll have solar soon, will very rarely need the charging network
Not everybody loves moving targets.
Sometimes, even a whole conference gets compromised, see e.g. ICIMTECH '21 [1]:

"NOTICE OF RETRACTION: While investigating potential publication-related misconduct in connection with the ICIMTech 2021 Conference Proceedings, serious concerns were raised that cast doubt on the integrity of the peer-review process and all papers published in the Proceedings of this Conference. The integrity of the entire Conference has been called into question. As a result, of its investigation, ACM has decided to retract the Entire Conference Proceedings and all related papers from the ACM Digital Library.

None of the papers from this Proceeding should be cited in the literature because of the questionable integrity of the peer review process for this Conference."

[1] https://dl.acm.org/doi/proceedings/10.1145/3465631
Static analysis is embedded in rust, but you can't mitigate intended malicious behavior of software dependencies. That would be like a virus killer for dependencies. The past has shown that this isn't working.
The tone of the title, and the sender. "I f**ed and you are forced to cover me?" Ohhhh.
And whining... I can smell that for ever. Not my job ... Bin it. Cicurlar file, tl;Dr.
> where is the money going?

The Republicans hope to pass tax cuts: https://www.wsj.com/politics/policy/trump-tax-bill-cuts-sena...

"[The most recent] plan calls for $4.5 trillion in tax cuts over a decade and at least $1.5 trillion in spending cuts."

In other words, the tax cuts will actually cost MORE than is being saved by these spending cuts. We're going to go into debt even faster.
Well, when I see the disaster of the 'We are going to run this country like a bussiness', one has to think, what kind of disasters should one await from the bussiness that he is running like bussiness...cyber..cough..track..cough...

It seems to me like when a young IT engineer comes on project running for 100 years, and starts to rewrite the core service in nodejs, because it will cost less to run it, or whatever - and you end up with half working production, because someone didint't understood, why the system is and was built how it was built, and what are the implications of changing it...
It might work on greenfield project, but anything else will probably not survive such a 'expert' in charge.
> there is no good dictator

A good dictator is a...
Not to imply that you're wrong, but I've always been bad at LC interviews, but surprisingly (for myself) passable when called upon to troubleshoot and code up a hot fix in the middle of the night. Maybe those are not entirely similar types of pressures.
C is not even in the top dozen most popular languages https://www.jetbrains.com/lp/devecosystem-data-playground/
There’s weirdly (to intuitive sense and business zeitgeist since the 80s or so) mixed data on layoffs in general. There’s a decent chance they cause more mid-term harm than good, most of the time.

They also didn’t used to be a regular feature of business.

It’s funny how such things become “ordinary” and “obviously good things to do sometimes” that haven’t always been the former, and may not really be the latter either.

Business management is vibes, trend-following, and fear of straying from the pack. And the best of that is vibes! That’s how bad it is.
The comments in this thread freak me out. Either the world's media has brainwashed the population into believing America is failing and the 'right' is evil/dumb, or I'm totally delussioned (as an American) for seeing mostly good in what the current administration is doing. Both are terrifying.
You asked this exact question last week and I answered it. If you are just going to ignore the people who reply to you, why bother commenting?
You make a point. However, I'm not sure how it'd be possible.

The US has been funded by an insane level of debt for the last 60+ years. Debt that might come calling quite soon, according to Donald Trump's own treasure secretary, iirc, and might even be the reason for all the current apparent international Trump-craziness (well, Trump being a narcissist certainly doesn't help).

While the EU has serious debt, if I understand correctly, that's several orders of magnitude smaller when compared to GNP, which limits the ability of the EU to invest.
> you have to literally swear at it to get it work as desired.

Reminds me of Alan Ford trying to get a washing machine to “work as desired” - a very early form of prompt engineering:

https://m.youtube.com/watch?v=tAGlUUAmjxk
So it didn't end well. Your friend had no career in academia because he criticized his master's work
Not just European countries. Non proliferation is dead.
A majority of investors could get together and replace the board.

Otherwise not much. Part of the risk in investing is that you might invest in a company with shitty management. If you made a bad investment (except in very extreme cases which this probably doesnt cross the line into) that is your fault. Investing is not the same thing as free money.
> So the US legal system can say "give us this data" but they don't have access as they are on another company's servers in another company's data center operated by another company's staff.

US institutions don't hesitate to demand their companies to implement secret backdoors in their hardware or software, as evidenced by Snowden's leaks (for Cisco routers) and the Lavabit shutdown (mail company ordered to implement a tap on their clients' data).

Sure, you can have all you described, but how are updates vetted?
Are you counting the English, Scottish and Northern Irish under the same racial group?
But Rust is so secure, what could ever happen? ;)
I think it’s true that you don’t have a lot of information on the subject.

The rest of the world has no problem observing and analyzing geopolitical interests.

“The corridors of power are unknowable” isn’t an interesting or useful take.
I find it funny how we're making the point that his election doesn't say that much about the aggregate opinion of Americans and you keep missing it.

Yes, he won the popular vote. No, it doesn't mean America is massively behind his project. In fact, it is massively unpopular and its popularity is declining.
My brother is a man who has been pregnant. His female reproductive system does not make him a woman. You are simply incorrect.
Sounds like it requires knowing them to an order of magnitude or so... Which honestly sounds like a pretty good bar to have your team above?
Simply being always-online and sending telemetry, doesnt preclude the ability to remotely intercede in the car's operations.

I think there's precedent with the OnStar system in other cars, and there has anecdotally been evidence of various systems being operable by some kind of admin terminal.

I think "summon mode" is actually a great demonstration of how you can remotely access and do some form of piloting the car without a driver. There's also the disabling of features remotely on resale, and probably other examples.
Oh that is brilliant. Such n suck will get arrested soon...( Read in a donald voice)
> Due to that caching, you still need some sort of preprocessor to digest the files and generate an import map.

Why? I haven't needed import maps at all.

> Third party modules also add some extra friction

This is true, sometimes 3rd party JS requires you write a small ESM wrapper, etc, but I haven't found it to be too onerous
Fun fact - Low magnesium can contribute to type II diabetes. It’s been found certain people not responding to improved diet and medication have the A1C drop after starting mg. Of course, if low Mg isn’t a factor then supplementation will do squat.
As always, almost all federal spending is entitlements, interest, and the military.

https://www.pgpf.org/article/chart-pack-the-us-budget/
https://fiscaldata.treasury.gov/americas-finance-guide/feder...
RISC? RISC has changed everything 20 years ago. That's done already.

Or did you mean RISC-V?
> Now he can push for more inflation, bitcoin will be the only hedge against it, boom, trillionaire.

That's assuming that Bitcoin gains value disconnected from the US dollar/economy. That's not a given.
Now compare what you actually get at same price. Some Kia's even ship without power seats, let alone 15+ things you get in every Tesla.
I think the interest has more to do with who is doing the tweeting, don't you think?
Check where good percentage of europes (and for the record gloval as well) small arms ammo comes from. ;-)

(Sellier & Bellot and no, it is not French)
I always wondered why they never surrendered the xbox to the OEMs, I'm aware this would dilute the brand and the famed consistency of consoles, but if they were to control the chipset, OS and maybe the APU/CPU, would it really be that much of a problem? What are most Intel NUC boxes but a bga chip with a few of its usb, sata, HDMI, etc., ports enumerated, the OEMs really don't add anything besides build quality, a better box, and what they choose to expose to the consumer. So long as MS locks down the center, they could make the others assume the risk, no?
Most of the machines for the rest of the process also come out of Europe. Building the factories wouldn't be all that hard. Actually developing and running a full production sub-10nm process is a different beast entirely.
Various components in the Gripen, particularly the engine which Volvo licensed from GE, are from the US and the US has a veto on them. It is currently blocking sale of Gripen to Colombia, for example.
For secular and democratic nations, multiculturalism isn’t inherently dangerous if there are principles and ideals around which newcomers to any nation can assimilate and integrate. America attempted that to some degree of success with its melting pot ideals till the 90s, but there wasn’t enough emphasis on civic duty, from either the commoners or the elite. The US founding fathers included everyone in their vision, btw, including Muslims. The failure in any integration and assimilation goals from the past few decades result from enabling unjust narratives which pose America as the only country with the social ills and issues it’s being criticized of, when there isn’t any other country in recent memory with a more socially diverse congress.
From what I gather, anything they've saved is going to tax cuts for wealthier Americans and increased military spending.

The 90% of folks at the lower end are getting tax increases, too, as of the latest plan I've seen.

How much DOGE is saving is very questionable, too. Less than 1% of the annual budget fwiu. And whether those savings are actually permanent, or whether they cost us when consequences of cuts come calling after some time.
This is a misrepresentation of the position. It’s possible that to sell a policy like a transaction tax you might overstate the potential revenue. But nobody serious actually thinks you could simply multiply the tax rate by transactions to predict revenue.
But that doesn’t matter. The revenue would be non zero. And there are plenty of other reasons to tax transactions anyway (stability, realign market and societal priorities)
Scientists discover an RNA that repairs DNA damage
Thankfully, we only have a few months before this excuse runs dry.

Tesla has had the slowest and most minor refresh cycles of any car marker in my lifetime and it has had a minimal impact on sales. Not sure why a refreshed Y is suddenly going to result in a 70% increase in sales.

Especially when in the next few weeks Trump/Musk are expected to start a trade war with Australia.