skysight-inc/HackerNews huggingface dataset:
In principle, using a thread for saving the game state is a much more difficult problem, since the game state itself will mutate. You need to be extremely careful to assure that the state you serialize is consistent and is at least a plausible game state (even if there is a bit of wiggle room to allow for game states that technically never existed). This complexity invades every aspect of game logic; and bugs here tend to be subtle corruption of your save data that will take a while to notice; thereby obscuring the relationship to the corruption, and the save/reload cycle.

In contrast, forking with its COW semantics is conceptually easy. You just fork. The main process can continue running, and the child process gets a frozen snapshot. There is a bunch of overhead from the copy part of copy-on-write. However, most of that overhead will likely be spent in the first frame; which is still a significant improvement over the pause time associated with stop the world saving. In practice, coding for the child process is tricky. However, it is self contained and responsible only for a relatively simple problem. No complex problems to solve, just a relatively small amount of code that needs to be written carefully.

The RAM usage is a real trade-off inherent in the approach.

> You quit the game, the parent process exits, and the serialisation process gets reparented to init, invisibly using up your RAM until you reboot.

Or until the short-lived child process finishes its work and exits on its own.
I think you might be missing something.

https://fidoalliance.org/how-fido-works/
What’s the front page of HN?
Ask HN: Those who moved to Switzerland, why did you move and how is it?
Interested in stories from bay area or other tech metro folks who moved to Switzerland and have a career and life there now. How is it, why did you move, what is your story?
> As the article states, Apple publicly stated they expected to sell 3 million of the things in the first year.

This is false. The link goes to a Mark Gurman article in Bloomberg that claims Apple at one point had an internal prediction of 3 million, and that it was revised down before it went on sale. That may or may not be accurate reporting, but it’s not close to claiming they publicly predicted 3M sales.
Ah, good point - was context I didn't have.
I feel like the money is a side benefit, and what they really wanted was to verify that their basic no-controllers VR/AR paradigm works in the (relatively speaking) mass market before putting the next 10 years of R&D into it.
I lived in BC for 40 years and this policy affected me negatively it turned my neighborhood from a clean safe place to a nightmare. This always turns Into a flamewar online, I will keep it at this. I am happy they are finally changing something, whatever they were doing was terrible but I hope whatever they do now, a better solution is found, whatever that means.
What is human composting and should it be legalised?
Despite the fact that you say "all the major compilers", GCC and Clang make very different decisions for each optimization level.

In particular, GCC generates fairly debuggable code at all optimization levels, so there is less motivation for -O0 in the first place.
It looks like it was. Ghostbuster.app reports 93% probability and gptzero.me reports 100%.

I was pleasantly surprised that the message started empathetically because none of the other responses did. But it makes more sense now, an LLM would do that.
I actually am fine with drug legalisation. It should be legal for people with more than X acres of land (or people who rent X acres of land). You should be required to have a certified drug security person on staff that will deal with anyone who has a 'crisis' while using, and to especially make sure they don't leave the property to become a public nuisance. And you should be required to provide evidence of sufficient health insurance and coverage.

You should also have to prove that you will be able to maintain this lifestyle in perpetuity, perhaps by posting a sufficiently large bond with the state you're operating in, which can be re-funded to you if you can prove that you're no longer using permanently (I.e., maybe after a decade of no further use).

But if you do all that... please like bake yourself as high as you want and pay good taxes.

I have a substantial problem with people doing drugs in public. And having their trips on public streets.

But seeing as the requirements to safely do drugs are much stricter than most of what the 'typical' street drug user seemed to ever be capable of, I doubt decriminalizing all drugs in a safe manner will do much of anything. The irresponsible people will still be doing it. At some levels drugs will always be criminal, because they're anti social and humans don't like anti social behavior in general.
VR is still missing the killer app/experience to take off. Video games aren't it for most people.

I can't see VR ever being a thing beyond video games and maybe some forms of other media. People are social creatures. The idea is that people want to sit around staring into goggles rather than interacting with other human beings is the kind of weird stuff that gets baked up by socially underdeveloped Big Tech nerds.

Unless the form factor can be significantly minimized this is not going to be the next iPhone.

Looking forward to this comment ending up in some HN retrospective on the success of Vision Pro 20 years from now like some of those old iPhone takes from the mid 2000s lol.
When the iPhone came out, it was perfectly positioned. Smartphones weren’t new of course, but they were clunky devices with tons of compromise. The iPhone was designed to fix a lot of the problems around existing smartphones by having great built in apps, a great browser, and great usability thanks to many novel and intuitive forms of interaction. When it came out it was a must-have device and it solved so many problems for so many people.

For everything I’ve seen of the Vision Pro it has represented a solution in search of a problem.
If I’m sitting down to watch something with someone, it’s because we’ve decided to allocate that particular time to watching that particular thing. The idea that I’d talk over the content and cause both of us to miss what’s going on in the thing we specifically wanted to watch is what’s bizzare to me.
We can also generalize beyond our families, and make it one of our principles not to harm innocent people. This puts random bombings of trams or housing off-limits. How likely is it that these acts will achieve pragmatic goals anyway?
Wonder how many people here who are reacting to what you posted negatively are also convinced about the lab leak theory of SARS-CoV-2 origins...

People get worried about serial passage "gain of function" experiments in a lab with a dozen lab animals being involved. Meanwhile in farming a virus can get passed through millions and millions of animals in nice compact bioreactors.
I mean, { may I have / may I not have } a beer in exactly all the places where someone else { may | may not } enjoy non-alcohol drugs?

If it's not consistent, what is the rationale?
Incredibly long rambling story just to say that exercise helps learning.

Who would ever claim otherwise?
If you criticize something where you have no context, were not part of the discussions and aware of the trade offs that were made it comes across a bit arrogant to say they should “obviously” “just” do something else.

There’s other ways to suggest an alternative solution.
This top comment is stark contrast to the one right below it. I guess pure oo is a love hate thing
The vast majority of customers for sex workers (95%+?) are men, with the vast majority of workers being women.

51% of most populations are women, 49% are men.

Seems pretty obvious?
Which has nothing to do with utf 8 encoding as the writer of the article said, and is an optional feature you have to configure.
> Apple publicly stated they expected to sell 3 million of the things in the first year.

If they did, I'm sure that OP or you can find a source for this statement. A rumor published by Bloomberg (or, in a more charitable interpretation, an estimate given on background) is not "publicly stated".
Among those who have tried both, I can confidently say that the idea that C/C++ parallelism is as easy to achieve as parallelism in Rust is very much a minority view. There's a reason why nobody tried to parallelize CSS styling in a production browser before Stylo came along.
The issue isn't that there's no laws covering these transgressions. It's the lack of prosecution that's the main issue. Even if you arrest someone for aggressively panhandling they'll be released without bail that same day. This eliminates the incentive for police to do anything since the core issue is unresolved and they still have to process the arrest.
The iPhone did exactly what it set out to do. Steve Jobs sold it as three devices in one - a phone, iPod, and web browser. It delivered beautifully. I owned it shortly after launch and immediately fell in love. I don’t know anyone who can say the same for Apple Vision Pro.
Sort of. That's the shape of their portfolio and long-term strategy, for sure, but they clearly didn't target "30M units/year" for the launch of Vision Pro any more so than they've targeted that scale for for AppleTV or the Airport and Time Machine product lines.

It was plainly a test of both manufacturing and market. To the GP's point, I think it's hard for anyone on the outsjde to judge whether they hit their marks for it or not right now. It certainly wasn't grossly short, as there's no indication that they overshot manufacturing by an order of magnitude or something, but it certainly could have been disappointing. We really can't guess right now.

Good, traditional reporting might be able to surface some insight with real footwork and investigation. Armchair blogspam writing like the article is pointless and is really just clickbait.
You must not get out often. The police roll down kits beach on ATVs looking to give out tickets for open alcohol throughout the summer.
> I'm for decriminalization because if you can't admit you have a problem and need help without being charged with a crime, it's a barrier to getting clean. I'm also generally for "It's your body. Put what you want in it."

Like literally... this is usually the case even in places where drugs are actually still illegal. In the US at least. For example, my state of Oregon decriminalized drugs. This did... nothing in terms of legal process, other than to eliminate any court appearances (police can't jail you so you don't show up in court). While Measure 110 was being implemented I was on the grand jury. Essentially, the status quo before the bill was that people would be held pre-trial. They would go on 'trial' or take a plea deal and be sentenced to recovery. That is what went on before decriminalization. Then suddenly one day, police could no longer hold them and everyone stoped showing up to court. I think I read today that the drug courts went from thousands of cases to a few hundred per year. That's thousands of people slipping through the cracks.
I’ve heard that go has very low latency gc, i haven’t heard of it having spikes
The high cost is also a huge barrier to developing it for. One developer, who's app was even featured by Apple, stated that his sales of the app on the Vision Pro "have just about paid back the developer strap" (a $300 accessory to connect the VP to a computer). So investing in the hardware and development time is clearly not going to pay itself back with the small market.
I love Apple swung for the fences. I bought one, but ended up returning it within the window.

The technology is amazing, with a few caveats, but they shot themselves in the foot with the launch.

They had no 3rd party software at launch. Developers couldn’t get the device ahead of time, at most you could get two short hands on labs if you flew to one of a handful of cities in the world.

Apple didn’t have anything amazing themselves to keep people coming back. Personas are interesting but not enough. Mac Virtual Display is neat but not going to sell 2 million units.

But that’s OK. That’s what third parties are for. But basically no one was there. Between the issue above and knowing how few would sell it didn’t make sense. Apple should have been paying companies to seed the launch with cool/useful apps. Enhanced ports from other systems, wild ideas, anything. Apple’s secrecy probably meant they weren’t going to do this.

Hopefully they show some great stuff at WWDC. Apple has the money to keep it going for quite a while while they fix the price and get some killer apps. But developer sentiment towards Apple in general isn’t good and some cool possibilities for apps would likely require more room data than I think Apple gives apps for privacy reasons.

I do want to see where it goes. The Apple Watch took a while to find its real place, but it was cheaper and had a more obvious initial value proposition.

—-

Meanwhile, Meta is losing $1B a month on AR/VR. “Why would I want a Vision Pro? A Quest 3 is the same for $3000 less.” isn’t doing them enough favors it seems.

https://www.gamesindustry.biz/meta-loses-another-38-billion-...
This is actually pretty easy to do with local LLMs:
https://justine.lol/matmul/#:~:text=For%20example%2C%20let%2....
We're all going to drown in our own bullshit.
The post was already getting long so I didn't mention this, but I already found an fixed a potential deadlock due to each process not closing the redundant ends of the pipe, which was specifically touted as being a potential cause for freezing. However, someone reported the bug again after that change went out, so there's still SOMETHING else causing it to hang that I haven't tracked down yet.
Portland is substantially cheaper than all the other areas and has a worse drug problem, so it doesn't seem correlated at all.
Innovator's Dilemma demonstrated wonderfully right here.

If VR is the next big thing, but will take years of niche smaller profit margin products to launch it, established tech companies will struggle to justify the products existence wherein a smaller player could go all in, achieve roughly equivalent results, and be quite content.
> without the content to make it shine.

It’s a computer. Read internet, listen to a podcast, download some apps, edit some photos, etc.
Nobody said that every game needs that level of performance. But saying that it's a solution looking for a problem is not true.

I'm fully in favor of having Bevy support dynamic languages, as implemented in for example bevy_mod_scripting [1], for projects that don't need that parallel performance.

[1]: https://github.com/makspll/bevy_mod_scripting
I wouldn’t immediately assume malicious intent. Most likely a solo devs hobby project and they didn’t bother with a privacy policy. Nonetheless skepticism is warranted.
This happens to some degree. Residency spots are limited by specialty. Over time, different specialties have come and gone as being extremely competitive.
I think that’s why Apple is pushing AR and not promoting VR experiences that much.

But we don’t have that amazing thing for AR yet either.
I've felt this exact sense of dread since Gmail's auto-suggest for emails.
And I would never deny you the sweet pleasure of that uncertainty.
There is nothing compassionate about seeing someone destroy their life and their sanity and refusing to help them by jailing them.
Due to the no free lunch theorem [0], any search algorithm that makes some problems faster will necessarily make other problems slower. How does the worst case for an algorithm like this look like?

I think that part of the appeal of A* to me is that I can readily visualize why the algorithm failed at some pathological inputs.

[0] https://en.wikipedia.org/wiki/No_free_lunch_in_search_and_op...
I was hyped on it until I read there was some controversy about it making your hair fall out. Nope.
> They truly don’t get how much they’ve burned and angered the people they needed to be there.

Do you mean with their App Store markups? Or are you thinking of something else?
I saw a video about this a few months ago. It seems to make a lot more sense than burying a cement box in the ground or burning the body. It’s possible the the sources I’ve run into so far are bias, but I can’t really see any downsides.
Interesting insight. If I understand correctly, the core of your point was, “I think women tend to lack mental models men seem to be inculcated with” and now I’m wondering what I can do to help my daughter avoid this.
That's one way to see it. But the symmetric view is equally valid: async await is easier to reason about because you see were the block points are instead of having to guess which function is blocking or not.

In any case you aren't writing sequential code, it's still concurrent code, and there's a trade-off between the writing simplicity of writing it as if it was sequential code, and the reading simplicity of having things written down explicitly.

This “write-time vs read-time” trade of is everywhere in programming BTW, that's also the difference between error-as-return-values and exception, or between dynamic typing and static one for instance.
Does it? Assuming that the accelerator pedal issue affects all Cybertrucks shipped so far, they appear to have sold about 4000 of them: https://www.cnn.com/2024/04/19/business/tesla-cybertruck-rec...

Meanwhile, there are dozens of reports about Cybertrucks breaking down within literally a handful of miles after the owners taking possession. Given the small number produced, this seems quite high.
Or how about drone-striking a 16-year-old American citizen, merely for being related to a suspected terrorist? [1]

1. https://archive.is/iLuni
The charitable interpretation is methadone but that's neither new nor unique to Seattle.
I'm not sure if this is satire or not, but I unironically agree. I'm not some prude. If you really are capable of drug use, go for it. I think it would be fine to develop responsible systems to allow responsible people to use it in a safe manner. Usually this would mean rich people with land or yachts. Please take your LSD trips on international waters somewhere. I don't care
Principles of Engineering Culture at Wealthfront
I remain firmly convinced that Apple is planning for 10 or 15 years down the line, when there is no special "thing", just face screens that are light and compact enough to start piecemeal replacing phones as a product category.
The original Apple TV was so bare-bones that Steve Jobs had to qualify it as being "just a hobby"

edit: I'm not going to defend what Apple is doing now (I'd describe Tim Cook as the Steve Ballmer of Apple), I'm just saying that Jobs wasn't as perfect as the tinted rear-view mirror may make him seem, he had plenty of misses. iPod HiFi? Wtf?
He briefly mentions self driving cars along with a bunch of other unwanted and failed tech (metaverse, crypto etc)

The difference with self-driving cars is that everyone [1] wants them, and once "done well" they'll take off quickly.

The advantages are just too obvious;

mobility for those too young or too old, or medical unable to drive.

The lack of needing parking right near your origin or destination.

The expensive asset that is tied to single human location, so meaning it spends 98% of time idle.

The road deaths caused by bad driving, drunk driving, stupid driving etc.

Indeed self driving cars have so much upside they are inevitable. Sure the tech is hard, and we're not there yet, but the payoff is too big not to keep working on it.

[1] yeah I get that there's some percentage of people who like driving and will continue to do that. Perdonally I enjoy driving, and I drive stick. We also have people who like riding horses. But that group will make a big noise for a while, but ultimately dwindle into a niche hobby.
Just so I know, is the insulin thing rhetoric or do you not know what happened with insulin? If it's rhetoric, I'm happy to let you have the floor. I'm not one really to kick folks off the pulpit.
Should we kick out our children from our home who misbehave? Or do we try to teach them, and help them and let them grow.

Many (most?) of the homeless you see around you are your community. They don't need to be invited into the city because it's their home too.

I live in SF and I know homeless people who have lived on the same street corner longer than some of my coworkers have lived in the city (or even the country). Many of the people who experience such misfortunes - even drug addicts who behave poorly - are long-time residents who once helped make the city the place it is. Sure their behave causes issues, and society needs to do something, but implying they don't have a claim to be helped in their own city is unfair.
Dorsia on a Friday night? How'd he swing that?
So yeah, you're thinking about the comparison between async/await and manual state machines management with epoll. But that's not what most people have in mind when you're saying async/await have performance impact, most of them would immediately think you're talking about the difference with threads.
The killer app might be live sports. Did you see the guys setup watching the Masters? Having one of the best seats in the house to your favorite team from the comfort of home would be amazing. But that experience is not available.
There's always

https://news.ycombinator.com/rss

https://news.ycombinator.com/newest

or: https://news.ycombinator.com/newcomments
Because a good amount of people on life imprisonment end up ... leaving jail. Also, there is a quiet movement to end life sentencing in this country, including releasing people. There's no movement to 'undead' people that has any scientific merit.
Either you are doing slow IO (in some of your dependency) or you don't have anyone dropping async in your code though…
Yep, Tim Cook is a pretty amazing at operations. Creative leader of creatives though, he just isn't that.
Of course. I fully support weirdo silicon valley types taking drugs out in some desert far away from other people. Please just keep it there.
Nice, it's an interesting concept and always like exploring new ways of using react in other contexts (react-three-fiber being easy to use for simple 3d projects, I have also written an Unreal Engine reconciler prototype earlier built on an Unreal JS plugin, but decided not to pursue it further).

Do you see the future of this project being something like a library of tscircuit components that you can compose together writing code rather than having to use Eagle or other pcb design software? Or I guess somehow autogenerating tscircuit components based on specsheets?

Looking at the code, I see that there's a reconciler here https://github.com/tscircuit/react-fiber/blob/main/src/lib/r..., but that seems to just be a thin wrapper to https://github.com/tscircuit/builder which is doing the heavy lifting of getting to a serializable format. One thing I'm wondering is why is there a need for separate repos since I feel like the tsx portion, reconciler, and builder are kinda needed together?
I’m confused. Which of Apple’s lunch is OpenAI eating? OpenAI does not offer a voice assistant that competes with Siri. Google and Amazon do, and their usage is way down as well; voice assistants in general have lost consumer preference.
And that's the beauty of it. If you could not tell if it's satire or not, then you join the ranks of all those who cannot tell whether I've used the drugs or not. That's America's true condition to use drugs. There must be no externally detectable effect you can observe.