skysight-inc/HackerNews huggingface dataset:
The only operations I can think of that are undefined behavior in C++ but not Rust are signed integer overflow (which Rust defines to panic in debug builds or wrap around in release builds) and out-of-range casts from floating-point to integer (which Rust defines to saturate).

Out-of-bounds index access is a borderline case; both languages have a safe index operation wherein out-of-bounds accesses trap, and a fast one wherein they're undefined behavior. However, C++ gives the convenient bracket syntax, which programmers are likely to reach for by default, to the fast behavior, and requires the safe behavior to be spelled out ("at"), while Rust does the reverse (the fast behavior is "get_unchecked" or "get_unchecked_mut"). Also it seems that not all relevant data types in the C++ standard library support the safe behavior, which is unfortunate.

In all other cases (that I can think of), Rust prevents undefined behavior at runtime not by changing it to do something defined at runtime instead, but by requiring the programmer to prove to the compiler that the undefined behavior can't happen. This may be annoying, and may encourage programmers to resort to things like RefCell that have runtime costs in order to avoid the difficulty of such proofs, but it should never stop you from doing the unsafe maximum-performance thing if you really want to.

Rust can also do some optimizations that C++ can't; it has additional forms of undefined behavior, like mutable aliasing and invalid UTF-8 strings, that the compiler can in principle exploit. Probably the more important advantage, though, is that Rust's maintainers can freely make changes to its compiler and standard library that don't preserve compatibility with existing compiled code (as opposed to existing source code), because the language has never promised ABI stability and (unlike C++) doesn't have an entrenched community of users who count on ABI stability and will complain if it's broken. Almost all Rust binaries statically link all dependencies except for libc, and build all statically-linked dependencies other than the standard library (which is tightly coupled to the compiler) from source on every compilation, and this has been the case since the language's beginning. For an explanation of why C++'s need to preserve backwards compatibility for compiled code inhibits optimization, see: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p20...

As for your other point, I think Rust will need smoother C++ interop than it currently has before it can displace C++, but there's hope. Here's the project I'm currently most optimistic about: https://github.com/google/crubit
Foxconn isn’t even a Chinese company (unless you’re a “one China” person). They’ve been doing the assembly on the mainland and they have had to relocate a few times to keep labor costs low. The writing is on the wall for iPhone assembly in China and has been for some time.
I recognise the current truth of this, but I feel a deep wave of sadness as I remember that the computer to have in the 90s if you wanted to customise evvvvvvery little thing was a Mac. A ton of custom aspects were available right in the base system, plus of course a seemingly infinite array of inits and cdevs to tweak things, and finally you could resort to ResEdit to modify anything by hand. Apple fell so far in the 2000s and especially the 2010s from that ideal.
On Teslas, I believe the creep setting is independent of the coasting/regenerative braking setting.
The A1000 line has a metal case, while the A158 has a resin case that is chrome plated. They might be a different size, and they have different specs for weight and battery life. The A1000MA is kind of a buy-it-for-life-grade version of the A158 that recently came out.
The annoying question of Intel CPU support for XMP RAM profiles
Personally I don’t eat cat food. Most of the meat I prepare smells completely different.
Can someone explain to me this like I am 5 years old. Why would you leave money on the exchange? Why not take it off after you have the coins? I truly am not following. Wont there be a run on all exchanges/indexes?
The problem in a nutshell is their price point. It’s way, way too high and not competitive with similar products, which is why people aren’t buying it. If they can’t figure this out, then they probably don’t deserve to be in business.
I see you are being downvoted, but I know exactly what you mean. When I eat Impossible and especially Beyond burgers, my stomach feels slightly off. A bit of indigestion. I don't get this with typical veggie patties.
I agree. Its a good article in isolation. My main problem is that HODL is a pretty common mindset, based on random discussions I have on the street / with people in general.

You know, the types who lose 60% on ARKK but they're sure that they're going to "make it back" over the next few years? Or the people who think that losing 60% on ARKK is similar to losing 15% in VTI / SPY? (For those who don't realize, starting with $100k, you end with ~$40k if you had ARKK, but $85k if you held onto VTI/SPY. Aka, those who held VTI/SPY have twice your money now relatively speaking).

Unrealized losses _are_ losses. People must recognize this. People are corrupting the buy-and-hold advice to mean "ignore the unrealized losses" or "if you don't sell its not a loss", which is bullshit.
On AIM :) Email is in my profile if you want to reach out
The fact that the archived Free Software page references Skinny Puppy CDs makes me really happy. Time to go throw on VIVIsectVI!

https://web.archive.org/web/19970610013543/http://www.cybers...
Shenzhou-15 manned mission ready for launch after final rehearsal
They added a whole new keyword just to support it. Just because C++ templates are Turing complete doesn't mean new features don't count as new features.
FWIW, i'm a vegitarian. The reason i don't eat beyond/impossible is because the one time i tried it, it was lackluster. Nothing to do with health.
They’re trying to get people to quit. I would.
No soy?
Danger of abuse?
Ask HN: Is there a reason a coffee app would block other apps
In the pacific northwest there is a popular app for paying for coffee called Dutch Bros. After a required update to continue using, the app now states it detected teamviewer and requires me to uninstall TeamViewer on my phone to continue to use their app or redeem any points towards free coffee accrued. When I contacted them I discovered it was not limited to Teamviewer, all remote access apps are triggering this lockout. Their customer service explained this is limited to android phones, so if I switch to apple,I can use their app. I am not switching phones just to get a coffee. Does anyone have any thoughts as to why a coffee app would need to detect and not allow remote access apps on Android devices only ?
Apple products are absolutely not "remarkably" good though. They aren't bad at all, but certainly not anywhere NEAR equating the value with the cost. Apple is 100% a luxury brand at a very premium price for most items.

Apple has the market share they do because they copied the playbook of fashion marketing and applied it to technology products in a time of significant industry change. They have continued to make some innovations of course, but mainly in business strategy and marketing. Their products are never really cutting edge technology nor are they remotely the best value for the cost.

Apples takes existing but not mature technology and makes it fashionable then ties it to their ecosystem. You can't even use air-tags without fully getting into the Apple system.
A friendly reminder that if you're going to use in these "date-ish" headers in a yaml context, ensure that you quote the value because `x-github-api-version: 2022-11-28` deserializes as `{"x-github-api-version":"2022-11-28T00:00:00"}`
绿帽
Obi Wan Kenobi series re-edited as a 2.5h movie
Isn't this contradicted by the existence of these popular Chinese app stores?
Person 1: "Let's go on vacation in the spring."

Person 2: "Sure, where should we go?"

Person 1: "How about Japan?"

Person 2: "Sounds great, how much are tickets?"

Person 1: "Hmm, they're around $1,600 each. That's too expensive. What about going to Amsterdam instead?"

That seems like a totally plausible exchange.
https://www.thesun.co.uk/news/6638858/doki-doki-litearture-c...
http://archive.today/thqwN
The product is gross and unhealthy.

I also think that the anti-meat trend has peaked out. The people yakking about Soylent were yakking about fake meat, and their attention span is limited.
I’ve been using computers for 30 years and have never met a reliable printer.
How is destroying masterpieces connected with environmental changes?
> to the point where I am not super comfortable driving with them. Running stop signs and red lights is a frequent occurrence

You're almost certainly right about that. Accidents in general [1] and car accidents in particular [2] are more common for people with ADHD.

The part you're missing is that the stimulant medication _improves_ the situation.

Quoting from the results of the second study referenced above:

> Compared with individuals without ADHD, male ADHD patients [...] had increased risk of serious transport accidents. In male ADHD patients, ADHD medication was associated with a 58% risk reduction [....] Estimates of the population attributable fractions suggested that 41% – 49% of the accidents in male patients with ADHD could have been avoided if they had been on treatment the entire follow-up.

[1] https://pubmed.ncbi.nlm.nih.gov/33582234/

[2] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3949159/
> Why would you leave money on the exchange?

Because the exchanges have been promising sky-high interest rates to get you to do that.
I'm a meat eater, but am a big fan of fake meats - to the point where I prefer them in some situations.

Overall I'm not a huge fan of Beyond Meat. While it does feel closer in taste to beef than impossible burgers, I heavily prefer the taste of impossible burgers to beyond. Impossible burgers have a stronger umami taste and tend to add to the experience. Beyond kinda just tastes like lower end beef to me. This means Beyond is facing a Coke vs Pepsi situation here - effectively halving their market.

From a price standpoint, they're more expensive than beef is. While economically this makes sense due to heavy beef subsidies around the world (the US spends $38 billion in subsidies - about $114 per person), it's still a heavy expense for consumers. This means despite being cheaper to make, they're still the more expensive option. This means they're a premium product, not an economic option.

When these are the factors at play, it really cuts down the market size. You're really only targeting people who prefer your version, are willing to pay a premium for a sub-par version of a burger while not choosing plenty of the other food options out there. IMO these plant based meats are really doomed to fail unless we stop subsidizing the beef industry. If they become an economically viable choice, they become an option for many more people. Right now they're too niche.
Maybe they'll do it mostly robotically in a clean room type environment, with UVC blasting everything other than the actual growth medium.
Very charming. Hilarious that the first AI generated ad in the demo is a hotel in a fictional city “known for alcoholism”. If someone could put this in an alarm clock I’d pay a pretty penny for it.
I listened to music constantly while I worked, for decades. I loved music, deeply, so its presence made me happy, and having some intentional sound filling up the air made it easier to tune out the real world and focus on the world inside the machine.

I listened to many kinds of music over the years, though rarely pop music; getting my language-processing faculties too deeply involved drags my attention away from the work.

Goa trance and psychedelic downtempo were the best I ever found. Alas that those eras are over.

I used to find actual silence unbearable, due to the tinnitus I've had virtually all my life, but in recent years the ringing has been just kind of there, not painful; it no longer distracts me.

Heartbreak, and the collapse of a musical community in which I was a DJ, took the joy out of music a few years ago. I don't listen to anything while I work anymore, and rather to my surprise this has been working out fine.
Had an Impossible Whopper today. Tastes very close to a real burger, but damn did it wreck my stomach.
The literal meaning of "drug" is just dried plant matter.
Understood that you dont;
But before Beyond/Impossible came, there used to be veggie patty that vegetarians enjoyed. And many of them have never tasted meat, and don't want to eat something that tastes like meat.

OP's point is that Beyond/Impossible replaced the veggie patty with a non-meat version of meat patty, instead of adding a new item in the menu.
This is the most wrong, reductionist take on Ford v. Dodge. Companies make decisions all the time that aren’t exactly what shareholders focused on quarterly results want. The quintessential examples are Costco and Amazon. The former pays associates above market wages and benefits, the latter had losses or broke even for years by investing for the long term.
The encodings do matter - you're forced to use a Unicode encoding. If you want to use a Unicode-incompatible encoding then FU.
>What happens instead is that the spice forces me to eat slower

This is why I get spicy alcoholic drinks.
Most of the general public are effectively NPCs who robotically repeat what is on the screen. I'm sure you know the behavior I'm talking about where someone expresses "their opinion" and it's word for word something they mindlessly parrot from Fox News or CNN or whatever they watch. That little context/fact check is extremely important. Recently, the White House tweeted bragging SS recipients were getting the largest increase in history. Context was added to the tweet to say it was legally required because inflation was so high and not a new action the government took. They were so embarrassed they deleted the tweet. That's real power.

I doubt Musk is really a high-minded savior figure. If he's just doing this to make money then that is fine by me.
Report of the Committee on Freedom of Expression(2015) [pdf]
Yes, the Amiga Rexx was based on IBM’s Rexx. I don’t know if they coded it to be compatible or licensed code from IBM.
Much more of a focus on security and infrastructure than other EL tools. Like these security policies for example - https://www.cloudquery.io/docs/core-concepts/policies
yes, T=0 means no randomness, and given sufficient tokens the output should always be the same (in such case whether they cache is a matter of hit ratio, I'd guess)
> Something happened within the last year, either to the general social environment around me or my own demeanor.

I think COVID made everyone forget how to socialize.
Non-animal protein has two main traditions that are quite different: on the one hand you have the tradition that since antiquity has avoided animal protein and don't try to imitate texture or flavor (say South India) and the other tradition which does not completely avoid animal protein and often complements animal protein with plant analogues ("temple food" with origin in China) These offerings sometimes try to come as close as possible to animal and fish protein in texture look and taste. It's the difference between your veggie burger and your impossible burger. One is not trying to be anything but itself the other one is attempting to pass for the other.

Sometimes it seems these BM and IF, etc., are trying to simultaneously cater to both customers at once. That will likely not work as they are different customers.
Crystian? ;)
People are stating that fake meat is more expensive than real meat. I'd pay more for real meat before I'd ever pay for fake meat.

I don't know a single person that eats this stuff on the regular. I know a handful of people that have tried it, that was it. Nobody is being fooled that this product is healthier than real meat. I can't figure out who's buying this stuff.
beyond meat sucks imo. It tried and it seemed very bean paste like in texture. whereas Impossible Burger was much much closer to burger.
>One extremely frustrating aspect of plant meat is that they tried to aggressively push out traditional veggie burgers on restaurant menus. A familiar refrain I've heard in restaurants in the last few years is "we used to have a nice veggie patty, but they replaced it with the beyond/incredible/whatever patty."

Veggie burgers are in a weird position because it's hit or miss on whether they are made with eggs. So it alienates vegans. I don't even bother checking at restaurants if the veggie burgers are vegan anymore. But with Beyond and Impossible, the name recognition is there. Vegetarians and vegans alike know they can eat it. It alienates fewer people. That said, I want as many choices as possible when I go out to eat, so being able to choose a (vegan) veggie burger would be great.
Not even remotely true. We need regulation to keep the big banks honest but that doesn’t mean nobody knew what was going on. We were living in New Haven at the time and briefly considered buying. I got pre-approved by BofA for a ludicrous amount with almost no diligence, and was quoted half that by a Connecticut state bank which actually checked things. I had a good conversation with the loan officer who said that it was going to be ugly for the big banks but they had kept their foreclosure rates low for decades by sticking with traditional banking practices and weren’t planning to change. A few years later I checked and he was right: their foreclosure rate had gone up a tiny fraction but they were fine.
I've found that bouncing back and forth between text-davinci-003 and davinci can kinda split the difference. Start out by asking 003 to write you a story (T=1.0, ~100 tokens), and then switch to davinci (T=0.75) for another hundred, then back and forth. 003 will try to keep things on track, and davinci will try to make them interesting. Eventually, 003 will finish up the story, though it's usually with some anodyne ending like this:

> In the end, Daisy taught her young friend all she knew about life on a farm and how to take care of animals. Even though the girl eventually moved away from the farm, Daisy will always remember her fondly for making such an impact on her life and giving her a second chance at friendship.
CME provides a place to trade futures products, which producers use to hedge risk. That is not like the apartment rent collusion.
Too bad it tastes like shit.
The indie web could easily exist via self host Docker from home and a central index to start for anyone that wants to peer.

Web apps are not programming but dependency management these days.

Making a private tribal bubble online is easier than ever. ooh he said the quiet part out loud
Seems like it must be personal preference. My experience is the exact opposite of yours, I love Beyond Meat but don't really like Impossible.
> Distraction (phones mainly), drunkenes, drugs, speeding, running lights, reckless driving, fatigue are the most common reason for accidents.

Agreed, and when someone causes me to get into a crash because they're doing one of those things, I rather be in a modern car.
Protein is made up of different amino acids. If a food has all 9 essential amino acids humans need its called a "complete" protein.

It really does not matter, since presumably that is not the only food you eat. You need all the amino acids, but like any other nutrient, you don't need them all from the exact same source. As long as all the food you eat balances out the needed nutrients, you are good.

It'd be like saying, apples are unhealthy because it doesn't have literally every nutrient and if you only ate apples for the rest of your life you would be malnourished. Which is true but also a silly thing to say because nobody eats only apples.
Will updating via the built in browser functionality keep the install token free?
So my wife’s much younger siblings are zoomers and I’ve noticed they’re far less computer literate than my wife and I were at the same age. Yeah, they’ve learned how to operate modern apps, but only because those apps are completely neutered. These undiscoverable interfaces simply don’t allow convenient access to a large body of functionality, and so modern “apps” just tend to omit them. The functionality of the OneNote or Outlook web apps is less than the Office 98 versions. Google Docs compares poorly feature-wise to WordPerfect versions from the 1990s. It’s quite remarkable how bad this software is compared to how big development teams are now. I don’t know if any other industry that’s ever regressed in this way.
People needing shelter to live trumps your selfish desire to not have poor people near you.
I don't really get why provenance of social media posts is supposed to matter. It feels like a big effort to get people to want a checkmark rather than solving any real problem. There's no technical requirement for trust, no reasonable expectation of trust, no reciprocity of trust. The default sane stance towards the internet has always been to never trust anything you read, and that's a good thing.
Whatever the case is, Apple took their sweet time making changes. Microsoft, Google and even Facebook pulled out of China years ago, and Apple is acting like a storied history of human rights abuses is news to them.
there is user choice in app stores. that's literally why f-droid exists.

of course google play gets preferred treatment on a pixel phone. that's what happens when you own the platform - you get to prefer your app store. but other stores do exist and you can use them if you want. in what way is that not user choice?
VC is a very small component of a pension fund; it's money that's often deliberately invested in weird decorrelated shit, for portfolio-theoretic reasons. There are lots of reasons to have a problem with crypto and defi! But the safety of pension funds vis a vis institutional VC is probably not really one of them.

(You can imagine batshit pension funds that invest directly in crypto/defi stuff; that's extremely problematic.)
Early in the pandemic, during my first trip to a grocery store, I saw that the meat aisle was bare - but for a meat substitute (was either Impossible or Beyond, can't recall). Even in the midst of a global health crisis no one wanted it.
The headline is 180 degrees wrong. The brain doesn't 'use calculus' to control movement. Rather, the brain's function can be described as analogous to concepts of calculus.

Nature doesn't 'use' math and science. Rather, math and science were invented by humans to describe nature. And nature has plenty of tricks and subtleties that humans haven't managed to describe yet.
Well the fact that these companies were given enough capital not to worry about turning a profit indefinitely did contribute to it

Revenue alone just isn't enough. You have to turn a profit
Similar concept... clean rooms are positively pressured to keep germs, dirt, etc. from entering the room.

Isolation rooms are negatively pressured to keep bad stuff from leaving.
Messing around with the new model, I found some great laughs:

Prompt: "Finish the story:

Once upon a time, I walked into a nearby forest only to find a single porcelain toilet sitting in the middle of a grove. It was covered in moss and mushrooms were peeking through the soil."

Response: "I was curious and walked closer to investigate. As I approached it, I noticed a little door on the side of the toilet. I opened it and found a small, furry creature inside. He introduced himself as the Toilet Gnome, and said he had been living in the forest for many years, protecting the forest and its inhabitants. The toilet was his home, and he asked me to help him keep it safe. I agreed and we became friends. From then on, whenever I ventured into the forest, I would always make sure to visit the Toilet Gnome, and together we would look after the forest."
I don't think they were thinking that far ahead, I think it was just another not quite half-assed scheme like the Boring Company or buying Twitter.