skysight-inc/HackerNews huggingface dataset:
Good questions!

> Why do you need one process per user? / Wouldn't this "event loop" actually be more efficient that one user/process, as there would be less context switching cost from the OS?

We're particularly interested in apps that are often CPU-bound, so a traditional event-loop would be blocked for long periods of time. A typical solution is to put the work into a thread, so there would still be a context switch, albeit a smaller one.

The process-per-user approach makes the most sense when a significant amount of the data used by each user does not overlap with other users. VS Code (in client/server mode) is a good example of this -- the overhead of siloing each process is relatively low compared to the benefits it gives. We think more data-heavy apps will make the same trade-offs.

> Can I just keep a map of (connection, thread_id) on my server, and spawn one thread per user on my own server?

If you don't have to scale beyond one server, this approach works fine, but it makes scaling horizontally complicated because you suddenly can't just use a plain old load balancer. It's not just about routing requests to the right server; deciding which server to run the threads on becomes complicated because you ideally want to decide based on the server load of each. We started going down this path, realized we'd end up re-inventing Kubernetes, so decided to embrace it instead.

> Could I just load up my server with many cores, and give each user a SQLite database which runs each query in its own thread? This way a multi GB database would not be loaded into RAM, the query would filter it down to a result set.

If, for a particular use case, it's economical to keep the data ready in a database that supports the query pattern users will make, it's probably not a good fit for a session-lived backend. In database terms, where our architecture makes sense is when you need to create an index on a dataset (or subset of a dataset) during the runtime of an application. For example, if you have thousands of large parquet files in blob storage and you want a user to be able to load one and run Falcon-type[1] analysis on it.

[1] https://github.com/vega/falcon
Link: https://f-droid.org/en/packages/org.fdroid.fdroid.privileged...
I mean JavaScript makes the same decision here as well. To use yield you must define a generator using "function*" rather than a function using "function" exactly because it's confusing. Is it really so hard to to type `async`?
Eh... my statement was deliberately ambivalent. I don't know anything about Taiwan politics, but the US brand of Democracy, specifically the 2-party system with first-past-the-post elections, is driving the citizenry towards a civil war while the oligarchy enriches themselves while otherwise maintaining the status quo.
I think this is great.

I've worked at several places that say 'we pay at the market rate', and it's very hard to verify. It leads to gossip, or interviewing and getting offers etc..
This should make it easy. If you work in an area with multiple competitors this is going to be great for employees.

When is this likely to go live?
> For too long we have just been told calories are calories and equatable amongst foods

We have? I only recall 'calories are calories' being advised when it comes to losing weight.
Gotcha. But it looks like file descriptors could be made almost as safe by avoiding index reuse. Is there any reason why it is not done? Hashtable too costly costly vs array?
Same here, there is an Italian restaurant near me with normally $30-$40 entrees, and an absolutely fantastic $15 burger.
Ahah! The API is sending a request to Canberra, Australia!

I guess that proves that in the alternate universe, Geneva is in Australia!

BTW, if you are into this sort of thing, I got this HDMI cable that lets you connect to a monitor on the "other side": https://www.amazon.com/product-reviews/B00KY2NKCO/

:)
I used to agree with you, but I think the last 3 months in computer vision changes everything.

Unstructured learning on Image+Text pairs has exploded and set STOTA on benchmark across the field. While the data coming from LIDAR may be better. There is no where near the amount of LIDAR data in the world. Images and cameras have the advantage here where internet is full of weakly labeled data that turns out to be the key for building model backbones that you can retrain for downstream tasks.
I lived in Lichfield for eight years, there's some really decent restaurants there for sure. Not that I ever went! Surprised to see a Birmingham Mail article, front-page HN :D
what you say is wrong. most new homes still are powered by gas. on the 1st january 2025 you need to also have like 45% powered by something else. germany is powered by gas and the alternatives for heating aren't that better (oil and pellets)
Not surprising, considering the "guardian" process is called J_EDGAR_HOOVER. Rumor has it it will even drop fake emails in your inbox urging you to kill yourself if your username starts with MLK_
vulpea is designed to be usable under plain org; it's a separate package from org-roam.
My takeaway from great meals that is restaurants are snow globes.

You may not remember the food, but you'll always have the memory and all the events and experiences that led up to that time. Years later you can shake that mental snow globe and get a happy nostalgia trip. That's worth the money to me.
I do wonder if, deep down, Tesla's decision is rooted in aesthetics. The cars with all the crazy sensing equipment on them are ugly as sin. That really doesn't jive with Tesla's brand at all. A more charitable interpretation may be aerodynamics; making those worse would reduce the car's range.

Both of those reasons are of course flimsy, if true: form cannot always come before function.
Possibly - although if the prospect of energy independence (and the ability to showcase that ability) thanks to renewables isn't far off, it could make sense to skip both pipelines (and all the associated infrastructure, security, environmental and dependency expenses) and move directly to a more modern approach.
Cruise has been a disaster inside GM for awhile now with a lack of progress to bring Super-Cruise to all models all across the US.

They have had several tenders for the data required to build out the Super-Cruise maps but these have all been a disaster as clear the critical knowledge is gone.
It's hard to look at this founder and say he isn't extremely well intentioned.

For a very young guy in this scene you'd expect expensive watches and cars, but instead he drives a budget car, is giving away a great majority of his wealth, and seems to truly care.

The reason he's keeping FTX open is to earn more money to give away to environmental, socioeconomic, and health organizations and research. His track record speaks for itself.
It's hard to imagine ideas like this living as a stand-alone idea rather than a feature in a more general book-tracking platform.

Maybe I'm just uncreative, or maybe I'm too tempted to always generalize everything, but it seems like as soon as you implement a user log-in system for any sort of interactivity, you would then be tempted to import a book dump into your database, and the next thing you know you're now a Goodreads, Storygraph, Librarything, Booqsi, Bookwyrm, Booksloth, Oku.club, etc. competitor.

After all, most of the magic was in the community users creating and sharing fun quests and the natural curating effect of being able to sort by the most popular quests. And as you can imagine, most quests were generic and bad. "chuck123's sci-fi quest"

It was also fun to see how many quests you started by completing a single quest. Due to overlap, you'd be one book away of completing other quests, usually a book you would have never read otherwise which was part of the fun, and then you'd be another book away from finishing even more quests.

Too bad Goodreads' API is dead, else you could at least build interesting things on top of a "Login with Goodreads" button without recreating an entire platform. Kind of like how health apps on iOS get read/write access to HealthKit instead of all of them building their own pedometer and asking you to constantly reenter and update your data.
I think the author is referencing how IBM and Microsoft originally went in on developing OS/2 as a joint venture, but then when they split ways, MS allegedly* took it's work on OS/2 and used it as a starting point for NT.

I say allegedly because this was just passed around as sort of 'common knowledge' in OS/2 community groups back in the late 90's. I've never seen it actually verified.
Even if we do, the year 900 is not written "0900".
It's time to decentralize.

https://ens.domains https://ipfs.io/
I am an American and lucky not to have anything in Russia but as a namecheap customer, I urge you to please be patient with people and give them time to move. I understand the decision you made and it is your right to do so but please do not block someone just because they couldn't do it by a certain date. I am sure you know but empathy is really needed right now. Your March 6 deadline worries me.
IMVHO they are hyper-happy. Russia more then ever need a partner and one of it's historical enemy, China, is the sole available, that means for China:

- cheap natural resources in far bigger quantity than before

- more financial power to frame and drive the development of Russian economy

- probably access to hi-tech military gears they do not have had before

Probably enough to overpower USA in few years. UK and USA (mind the order) IMVHO have really miscalculated the long term effect of NATO expansion to the east or they already have an agreement with Russia and/or China, something like: with the excuse of the Ukrainian war we avoid a real new world war, and all parties have excuses to tighten the grip on their citizens, justify the hyper-stagflation, justify any social tissue disruption and dictatorial measure etc etc.

In just few days almost all protest about covid "conduct" of western government disappear, in Italy the emergency power that can't be legally renowned after two years are renowned "because of the war" until December 12, in France renewed talk about the "need" to postpone elections came out before the excuse was covid risk, "perhaps we will do e-voting", now the war, I imaging something "small scale" similar happen in almost all countries.

Honestly what I see is just a BIG win from the world power all, together even those formally against each other, and a BIG loss for the people, again for every people, regardless of their country.
This interview with MobileEye: https://www.anandtech.com/show/17151/an-exclusive-interview-... says they're going to release hardware for level 4 autonomy by 2024 or 2025.
> I'm still excited about the LIDAR possibilities but vision alone has done a remarkable job.

Not for Tesla. So many interventions. So many situations where the car actively tries to kill the driver and pedestrians.
How much of that camera data is labeled for distance measurement use cases?
LIDAR data contains highly accurate depth information, at which point you don't need the abstract reasoning nearly so much. You can at least do basic object tracking and collision prevention without it.
I thought it was interesting that I've noticed someone doing that twice today, and never before in my life, but it turns out it was just another one of kragen's comments from earlier today on a different thread.
Now which commit's mailmap file should be used for the association? Whatever is on the "default" branch currently?
Either you care or not, your government represents the russian people for all the world. I know that individual people should not be blamed, and I'm really sorry that you guys are in the middle of this shit, but the rest of the world has no other effective way of showing to the russian government our disagreement with what they’re doing.
If your power is sketchy, get a UPS…I have one that powers the NAS, cable modem, switch and WiFi. (And pi hole. )
Since we are adding insignificant digits, I think there aren't enough zeros after the most significant digits; We need to focus on solving todays problems too.

For an extreme version of this, 1961 might be written in scientific notation: 0.196100e4

This is also future-proof as we will always have a built-in 0 at the beginning of the number implying that we never get to "1" and there will always be more time to solve the problems we can't even begin to understand that may exist 10k years from now.

Sorry for the sarcasm, it was the easiest way to make my point.
When I see a crypto exchange with tens of billions of daily volume and almost no marketing, I assume they are dealing with institutions, governments and probably organized crime.
You can't hack an OS you can't use.
You could add humans into the verification process. I imagine the number of people who want to associate old emails they don't have access to with accounts to be small. If you could prove that you owned the account via other means it could be manually added to your profile.
I don't think that was the parent's point. These things could be made safer with other detection technologies beyond plain cameras. A human driver can make a conscious, nuanced decision to make these "faith-based decisions", but a computer may not be able to. So perhaps it might just completely refuse to drive in those situations if all it has is a camera, but it can't see anything due to fog or terrain, even if it would be somewhat safe for a human to drive in that situation.
Classic whataboutism. GM's irresponsible behavior doesn't excuse Tesla's irresponsible behavior.
I also didn't realize MySQL supported these JSON query operators now, huh. Since MySQL 2.7.9 in 2015 apparently? Not that new!

https://dev.mysql.com/doc/refman/5.7/en/json-search-function...
We need fusion, we need more power YESTERDAY.

Whatever amount we are spending to develop these moonshots it needs to be more.

So many "hard things" become that much easier when we remove having to power it out of the equation.

A generator for a forklift is probably unrealistic, but for a huge, skyscraper building crane? Or for one of those giant shipping barges that produce multiple percentage points of our carbon emissions? That no longer sound so crazy.

Isn't that how the US powers its aircraft carriers and submarines anyway? Only with fission, which clearly is too dangerous to put on civilian ships.
Which uses S3 on the backend anyway..
Nah the assumption that they made money in crypto which is just a cesspool of fraud, grift and crime - is what gives some folks the assumption that it could have been through fraud, grift or crime.

You hang out in the muck, folks are going to assume you have some on you.

I'm not saying they do necessarily, just that that's where the assumption more than likely comes from.
I'm not sure exactly what you're meaning here, but basically no corruption surface (basically) in terms of surface area for decision-making that could create perverse incentives based upon the actions of people choosing where money could go.If everyone receives a (very basic) UBI payout relatively frequently that's direct deposit, there could be fraud but not the weird large scale territorial abuse seen in many bloated welfare systems today. It's not a perfect answer by any stretch, but like a good lambda function, despite the occasional inefficiencies it is much more understandable, simple, and side-effect free. It sort of is a tool that can shift the degree of power law around the economics of a population without entirely obliterating motivation to compete in the marketplace, build things, and generally innovate/conduct business. I'd consider it a good regularizer, and it also puts sideways pressure on jobs to compete for people to fill them due to QoL being more commoditized since one is choosing between "work or live extremely frugally" vs "work or starve and maybe die". Bit of a drastic comparison but you get my drift.
I agree that this move seems too abrupt. Fulfilling current paid services and setting a reasonable deadline for final renewal (if payment is still available, which may be out of your control) and a reasonable maximum term length for any renewals would provide a lot more business continuity.

Maybe you're not worried about business continuity of the newly sanctioned customers, but other customers who aren't currently sanctioned but may be subject to future sanctions because they don't control the regime they live in would appreciate a more reasonable continuity process.

Of course, if these sanctions are as a result of legal requirements, gotta follow the law. But, so far, there doesn't seem to be a blanket ban on business with people in Russia; other than banking restrictions make it hard to transact.
I am not as familiar with comma's product, but in 2014, self driving tech was out there enough as an idea for startups to invest in (ie Google moonshot level dreamy), let alone build kits that would retrofit into existing cars and actually work. Thanks for sharing about comma.ai!
Ah, they do also have trademarks for the military use and for the full phrase, just realized I stopped searching when I found the first one.

https://trademarks.justia.com/search?q=mlrs

https://trademarks.justia.com/search?q=multiple+launch+rocke...
No, but they still run a Unix pretty well.
I don't know, if your superpower only saves a minute or so during a conversation compared to pulling out a calculator and getting an estimate that way, I wouldn't really call that a superpower.

The math doesn't add up for me, and I'm hesitant to believe anyone who says it feels like a superpower because that sounds like an exaggeration. What does that comparatively make people who use calculators to do estimates? Simple primates using an iPhone?

Plus the article's reasoning is really bogus to me too: "When I’m on Zoom with a client, I can’t say “Excuse me a second. Something you said gave me an idea, and I’d like to pull out my calculator app.”"

This feels like a forced problem to justify his conclusions. It goes away if the other party is willing to wait for you.
Climate Change 2021: The Physical Science Basis
> Naw, that would have prevented us from toppling Sadam in Iraq

It would have stopped us from what is nearly universally considered a horrible mistake that led to immense bloodshed?

Why do you say that like a bad thing?
> The casino will serve its own interests and refuse to continue playing with you if you found a winning strategy instead of risking bankruptcy. Nothing really illogical about that.

Well casino knows of and has a winning strategy for eg. roulette games. While the odds are in their favour (by the design of the game), they let you play, but if the odds are in your favour (by the wear and tear) they won't.

Imagine some national lottery say that you won too many prizes with lotto tickets.
There are certain tasks where the models can do better than certain kinds of human effort (e.g. can do better than a person who is tired from doing a thousand of these in a row, is paying very little attention, is spending very little time, and doesn't really care), but that hasn't translated into actually doing image recognition better than humans.
I've been working with this in VRChat actually, though sometimes it's by accident.

I have a pair of Drop Labs EP-1 shoes (https://droplabs.com/pages/product-overview), which take audio signals and redirect them to transducers in the shoe soles. Since I'm feeding in audio from VRC, it means I can feel people talking in my feet, which is... a very odd sensation.

Especially when they laugh.
This is slightly off topic -- it's about an old supported microarchitecture -- but Linux still supports DEC Alpha, despite no chip with that architecture having been developed since 2004.

DEC Alpha has extremely weak memory ordering. [1] In fact, it's the weakest ordering of any arch supported by linux, which includes extra fence instructions to support it. The memory model is crazy weak, but it apparently allows for extra speculative execution parallelism.

[1] Awesome Raymond Chen post, totally worth a read: https://devblogs.microsoft.com/oldnewthing/20170817-00/?p=96...
> into the virtual punch card reader

as someone to young to have seen punch cards live this sounds really strange.
I don’t think image+text pair models (E.G. CLIP) would be very useful for AV tasks. They’re not very good at fine-grained classification or counting the number of instances in a scene. Not even getting into latency or model size.
I haven't used any of the latest generation, but are they still using that custom PMIC that gets fried by the most basic of mistakes but that they completely refuse to sell you for repair? I remember trying to fix some Pis that died for unknown reasons and seeing nothing but anti-repair nonsense from the staff on the official forums. No schematics to be found and even the people who go through the trouble of diagnosing an issue and try to buy a replacement component (because it's custom for some reason) get the standard response: "the Pi is only sold as a unit and is not intended to be user-serviceable".

It's sad that even the cheapest knockoffs from china (like Orange Pi) are more open than the RPi (you can get schematics and all the components are available from the usual places) - I really hope that's improved in the last few years...
Lol, chez panisse only seems "normal" because everybody copied them. You're eating OG and if it's somehow-better it's because they've perfected the unique farm-to-table supply chain.
I don’t believe Autopilot, a robust driver assist system with substantial safeguards, is irresponsible (as someone who has used it for ~60k miles of travel). I do believe allowing people to die because you don’t want to replace a defective ignition switch is. That’s not whataboutism, it’s pointing out hypocrisy. NHTSA believes Autopilot is safe enough to continue to allow its use on public roads. What makes a random HN participant a superior authority on the topic than them? Is it materially unsafe because someone here asserts so without backing up their claim? These are not rhetorical questions. 3700 people die per day from auto accidents that are ~95% human error caused and 12 deaths total while Autopilot was active is irresponsible?

Death is unavoidable, only preventable short term on a scale. To expect zero deaths is unreasonable.
Have you actually tested this in any way? How many calories/year do you grow in each square meter of your own garden?

In the real world, people doing this for a living find that they need literally 100 to 1000 times that much land to feed a family of four.
Look at ''The Adventist Study 2", which to my knowledge is the largest study ever conducted on the subject which includes not only the vegetarian diet but also the fully plant based diet. https://adventisthealthstudy.org/studies/AHS-2

"From 2001 and 2007, we enrolled as participants 96,000 Adventists, ages 30 to 112, from all 50 U.S. states and Canada."

"Vegetarian diets in AHS-2 are associated with lower BMI values, lower prevalence of hypertension, lower prevalence of the metabolic syndrome, lower prevalence and incidence of diabetes mellitus, and lower all-cause mortality."

"Cox proportional hazards regression analysis (adjusting for age, race, sex, smoking, exercise, education, marital status, alcohol, geographic region, menopause, and hormone therapy) showed reduced all-cause mortality for all vegetarians compared with nonvegetarians (HR: 0.88; 95% CI: 0.80, 0.97). For specific dietary patterns, the HRs were 0.85 (95% CI: 0.73, 1.01) for vegans, 0.91 (95% CI: 0.82, 1.00) for lactoovovegetarians, 0.81 (95% CI: 0.69, 0.94) for pescovegetarians, and 0.92 (95% CI: 0.75, 1.13) for semivegetarians."

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4144107/#:~:tex....