skysight-inc/HackerNews huggingface dataset:
Media companies receiving public funding is a conflict of interest with editorial independence, both RT and NPR receiving public funding. These are facts.
I applaud this effort.

Many years ago I founded a project called ToroDB [1]. ToroDB had a vision very similar to that of FerretDB's: help MongoDB users feel at home on Postgres. This has far reaching implications, like allowing MongoDB applications to run without MongoDB (this is what FerretDB is essentially and what "ToroDB Server" was meant to be) or to replicate data from MongoDB to Postgres to improve the performance of analytical queries by several orders of magnitude (that was "ToroDB Stampede").

ToroDB ended up being discontinued. Timing was not right. At the time, NoSQL was exploding, and users "didn't want to look back to SQL" --until they learned the notable advantages, but it was a time consuming and hard job. Today, there's a much higher acceptance of SQL and most recognize that data querying in many cases goes through, or is significantly helped, by SQL.

I wish FerretDB a successful road and reach to where ToroDB didn't reach at the time. Good luck and congratulations on the 1.0 launch!

[1]: https://torodb.com
Yeah, I normally carry bigger portable batteries but I've got a bunch of small ones that I've typically been given by vendors which are probably good for at least getting a phone off life support.
[removed]
Trying to figure out why my "Show HN:" got removed from hackernews? I read the guidelines and I'm sure my project doesn't break any rules. After about 5 minutes I could see about 300 users on my site, and then all of a sudden 0 and my site was removed from "Show" - is this normal?
I don't think I have ever been to /b/, and it could very well be a valid claim that most /b/ frequenters are assholes. I'm glad to see you acknowledge that there are exceptions to every rule.

My comment is meant more as a defense of 4chan as a whole. I have seen valuable information originate from their technology board, for example. I just don't want to see prejudice against any and all 4chan users. Blanket application of "guilt by association", which seems to be advocated in neighboring threads, seems horrible to me.

I just hope people will be willing to engage with any other person up to the point that they actively prove to you in person that they are a jackass. Trying to look for signs that the other person is secretly a jackass is not a great approach.
https://archive.ph/Oia1n

http://web.archive.org/web/20230412204156/https://www.nytime...
> Question is, what applications is a document-first database good for, outside of prototyping?

Some criteria I’d use:
* Data is already naturally segregated and won’t be shared/joined much during normal usage
* App already has transactions modeled in the application layer (or I guess if consistency really doesn’t matter)
* App would benefit from being geographically distributed.
* App is written in a language with a strong type system, has high code quality, test coverage, etc.

In my case, my company makes a distributed project management application. All changes to projects are canonically ordered and applied in the application layer.

Data is stored in Cloudflare Durable Objects and R2. Hard to classify DOs but they’re a lot closer to a document store than an SQL Db.

There are some nice benefits that would be hard to replicate with a traditional SQL Db setup.
That depends on what kind of system you are developing. For example if you're writing APIs for e-commerce platforms you may need to know how to tune a container's CPU and memory limits but not the difference between cgroups v1 and v2.

Likewise, there are jobs where being able to reason on complexity and data structures is important.
What are the stronger arguments for a god then?

Because having been raised in churches and studying under university trained apologists I've only encountered weak arguments. All relying on appeals to authority or unfalsifiable claims. Even the premise of a god strikes me as impossible and/or irrelevant given it must also exist outside the bounds of our experience.
HN’s title “fixer” takes another victim. “Why you should use io_uring for network I/O” is not semantically the same as “Use io_uring for network I/O”. You can’t just swap one out for the other.
??? The start button on mac does not have ads
SQLite performance tuning: concurrent reads, multiple GBs and 100k SELECTs/s
I was talking to a psychiatrist friend of mine about placebo effect and he told me that it definitely can make a big difference. But I asked him if he ever just gave placebo pills to patients and he said no because he felt that would be unethical. I didn't really think to ask whether it would really be unethical if it might help.
io_uring will indeed be a perfect fit for Java: no need to pay a supplemental JNI access cost for each IO as all you need is a memory barrier to read or write the shared queues which can be properly implemented in pure Java. We're not there yet but here is where you can look:

- For network I/O, Netty has an incubating transport that is promising [1].

- For disk I/O, JDK's Loom project [2] has mentioned its plan to rely on io_uring on Linux [3], but there's no ETA AFAIK.

[1] https://github.com/netty/netty-incubator-transport-io_uring

[2] https://openjdk.org/projects/loom/

[3] https://cr.openjdk.org/~rpressler/loom/loom/sol1_part1.html
Ask HN: Why is uBlock Origin not available on iOS devices?
Why is it available via browsers on Mac OS?
IBM Explores Sale of Weather Business
If there's no free will, I'm merely punishing according to a state in my brain and I couldn't act differently.

> I’d rather the legal system focused on rehabilitation than on punishment where possible.

Rehabilitation is science fiction. We're vaguely aware that we should be able to travel to other stars... and we might manage that too, someday. But at least the details are known with that one. We understand how much reaction mass it'd take. What payloads would be possible. We have an inkling of how to make some robotic probe navigate a new stellar system.

Rehabilitation? If we define it in a meaningful way, that is for a criminal that is likely to reoffend again in a significant way after being released... can we condition that incarcerated human to have a measurably lower risk of reoffense?

That's voodoo. There are lots of ways to cheat it (just pick the criminals who are unlikely to reoffend and put them in resort prison for a short stint far away from the bad apples). Lots of ways to be blind to the bad outcomes, and overemphasize the good outcomes no one should take credit for.

I've asked many times for someone to cite some credible theory of (criminal/non-criminal) human minds that makes it possible to lower the risk of recidivism... and everyone's sure that there must be. If you don't even have such a theory, how can you engineer a solution? The best that I ever hear is "but Europe!".
Using something like this, which I would personally make illegal:
https://fingerprint.com/

I also tried setting privacy.resistFingerprinting = true in Firefox, but it's sad to see that most websites become unusable (most sites using canvas just render a green/purple mess), zooming in Google Maps is basically broken (skips several levels at a time), and like others have mentioned dark mode and time zones also stop working.

What a mess the (somewhat private) web is nowadays. The more I think about it, the more I am convinced legislating privacy is the only way out of this arms race we seem to be losing.

EDIT: Sorry, the parent post already included fingerprinting, missed that. Rant still stands though :)
A lot of self-proclaimed technologists counterintuitively love to see technology fail, especially when they predicted so ahead of time.

That's some frustrating shit, because it rewards the least patient and surface-level analyses which (correctly!) identify deficiencies and lulls in activity, but mislabels them as stagnation or dead-ends or fundamental flaws.

It took us 20 years from General Magic to a passable iPhone.

VR will take time, and AI is likely more fruitful to prioritize currently (not saying that's a bad idea!) - but we don't yet have enough historical perspective to declare VR - or even (ick) crypto - as bad directions.
With oauth probably not since the state doesn't transfer with cookies. You send the user to the IdP with a postback in the URL then when the user logs it it sends
them back to the original site with some data that depends on the flow you chose.

Your login cookie as far as the IdP is concerned lives on oauth.thirdparty.net and on a successful login the app issues you your own session token that lives on myapp.com.
I think it's more that certain hotkeys are different, and that comes from history... even if you switch ctrl/alt/super around, you still have to have something off. It used to be far worse if you were around for real unix hardware and other systems like Comodore, Atari etc.
> It would be great to disrupt the financial industry

Only if there was something at least as good to replace it. Cryptocurrency isn't that.

Disruption just for disruption's sake is a Bad Thing.

> NFTs is a really good use case.

Honestly, I still don't see how. None of the explanations make any real sense to me.
I don't believe that Java currently uses it by default, although I've seen discussion about possibly using it in the future.

However, you might find these links useful:

- I built an ultra high performance HTTP server in Java, powered by io_uring - https://old.reddit.com/r/java/comments/12f2h79/i_built_an_ultra_high_performance_http_server_in/
- server is here - https://github.com/bbeaupain/hella-http
- based on these bindings - https://github.com/bbeaupain/nio_uring

I wouldn't be surprised if there are others.
Yes and it’s expensive money and time wise. All day at work. Almost all money to bills. Repeat.
I think that's the wrong question.

How many fewer coal plants were opened than would have been opened without that policy?
You can use O&O ShutUp10++ to disable all the shit that every update re-enables.
They’re clearly not afraid to be critical of the party or administration.

“Centerpiece of foreign policy” is not a well defined term, but we can try to evaluate their coverage anyway- https://www.google.com/search?q=biden+centerpiece+of+foreign...

Out of the first 9 articles, 4 have would I would call a critical slant. And Bob’s your uncle.
>a bolder move from Intel would have been to throw their weight behind RISC-V

Intel axed their involvement with RISC-V.[1]

[1]: https://www.theregister.com/2023/01/30/intel_ris_v_pathfinde...
Very cool, this is definitely way more useful than either google or ChatGPT-4 directly. Will be using this going forward, nice work!
It appears on the `shownew` page, here [0]

[0] https://news.ycombinator.com/shownew
I think whether or not it will actually be cheaper remains to be seen. Right now many AI products are still being heavily subsidized, thus the cheap or free price tag. Once these services decide they need to monetize, it may not be cost effective for most video games at scale. Maybe eventually these computations can (reasonably) take place on the client side, but I think that's so far away that we could very well see another paradigm shift by the time that's realized.
Also see the example repo README: https://github.com/microsoft/DeepSpeedExamples/tree/master/a...

> With just one click, you can train, generate and serve a 1.3 billion parameter ChatGPT model within 1.36 hours on a single consumer-grade NVIDIA A6000 GPU with 48GB memory. On a single DGX node with 8 NVIDIA A100-40G GPUs, DeepSpeed-Chat enables training for a 13 billion parameter ChatGPT model in 13.6 hours. On multi-GPU multi-node systems (cloud scenarios),i.e., 8 DGX nodes with 8 NVIDIA A100 GPUs/node, DeepSpeed-Chat can train a 66 billion parameter ChatGPT model under 9 hours. Finally, it enables 15X faster training over the existing RLHF systems

> The following are some of the open-source examples that are powered by DeepSpeed: Databricks Dolly, LMFlow, CarperAI-TRLX, Huggingface-PEFT

(disclaimer: MSFT/GH employee, not affiliated with this project)
I basically never do full screen, so for that reason I'm not bothered. (In fact, now I'm _less_ bothered, since I somehow no longer feel like the menu bar is "wasting" space.)
io_uring is staggeringly fast, and still seeing massive improvements regularly. Their work in related subsystems is also yielding some fantastic gains:

https://www.phoronix.com/news/Linux-Pipes-IOCB_NOWAIT
Looking for best gel pen for anti-check tampering.
I was just thinking this. "Sick of subscriptions? Subscribe here to read more!"
Bad News About Inflation
It seems like this quote gets to to heart of the issue:

> a relationship isn’t an activity (like a job, hobby, or sport) to try and quit when you don’t like it. It requires two people, and you must find a second person willing to try. Finding someone is hard, though. This brings me back to what I said a few paragraphs ago; I don’t see myself ready to invest much in something I’m not even sure I want. Also, if it doesn’t work out, I’m scared of leaving a broken heart in another person.

I would say that for many people a relationship are something to try and quit when you don't like it. It is easy to get caught up in what-ifs and commitment fears, but stakes are extremely low for starting one.

This reminds me of people who build up a first kiss or first sex into some monumental event. It seems important or daunting for someone who hasn't done it, but once it has happened, most of that importance instantly evaporates.

I also find the last fear of breaking the someone's heart infantilizing. You can't take ownership of other people's choices. Treat them as adults and let them take the risks they choose to.
> > Why does it matter that their funding is disclosed to the reader?

> It's a distraction.

Categorizing an argument doesn't provide justification for that categorization.
RustRustRustRustRustRustRustRustRustRustRustRustRustRustRustRust

Rust? as in the same Rust, that all the Rust-aceans use?
Rust seems like it has a lot of Rust fans, that enjoy using Rust, and espousing the value of Rust for programming.

RustRustRustRustRustRustRustRustRustRustRustRustRustRustRustRust

RUST
My primary issue is that it limits the refresh rate. It immediately gets choppier when scrolling, which is suuuuper annoying.
You can install open source Android if you want.
Wait. What!?! This is amazing. Did you write about that?
>> "If you and 9 of your friends have a dinner with a Nazi, there are 11 Nazis around that table."
>
> It is risible that one would make that accusation, by the way.

This is a description of how everyone else in the community would view your dinner party. You'd be "the guy who has Nazi dinner parties" to all your neighbors.

I'd recommend wading through Foucault's Pendulum by Umberto Eco sometime this summer. Nice little morality play tucked into that book; hanging out with evil people because you find them interesting is a bad idea.
The furry fandom is honestly the easiest way to meet people imo. I recently moved city and the first thing I did is locate the local group and see what the events are. See there is a weekly bar meet so I show up and everyone immediately treats you like a long time friend. People are pretty respectful of your boundaries but you can almost use it like a dating scene if you want. So much better than apps.
Show HN: Bringing AI to Calendar Workflows
My team and I are working on Loopin, a modern calendar for knowledge workers.

We’re taking the first steps towards powering Loopin with AI to build intelligent calendar workflows and I’m excited to share Loopin Chrome plugin – an AI assistant for your meetings.

In this V1 release, Loopin AI can:
Recommend contextual talking points for your meetings
Record and make meeting summaries
Equip you with info from related meetings
Send notes to your team directly via email or Slack
Follow-up with your team on pending tasks

If you’ve ever though about how AI can help you do better meetings or calendar-ing, I’d love to chat. We have several interesting updates in the works that I’d love to get your opinion on.
Feels kind of weird if you take it out of the concrete questions related to coding and you move to more abstract questions like architecture, scalability, security etc. By weird I mean it feels like it summarises abstract answers like they’ve been taken out of a copywriter’s blog who writes about those topics without actually going in depth about anything. Cool project though, good luck!
I recall seeing an ad from a start menu search... admittedly, an insiders build and likely a test feature... but they're definitely at least considering it... I don't use many apple apps on my m1 laptop, so can't say much there. All said, my desktop has been in Linux 99.9% of the time since first seeing that. Though Win11 had already been pissing me off a lot well before then.
It doesn't have to but if you want websites to follow your system settings for light/dark mode then the browser has to tell the website which one you want at this moment.
> To do that you would need the sensor to provide either the distance or direction of the “signal,” right?

It was specifically called out that one of the things this relied on is that their detector method provides an estimated direction. OTOH, when you have to integrate a half year of data to detect any signal, triangulation of non-stationary sources, especially if there is more than one potential source, is going to be…beyond difficult.
I agree!

But that's not how any of those things are being sold.
> Congratulations, you just reinvented public transit.

Reinvented, but much better. It's the difference between Circuit-Switched vs. Packet-Switched in networking. Trains are extremely inefficient use of resources. They require a dedicated and very expensive path, cannot re-route around problems (e.g. broken tracks or obstructed tracks), and frequently travel at a fraction of their capacity. Properly sized and routed electric vehicles are much more efficient in terms of cost per mile, travel time, and almost any other metric.
Yes, when neutrinos do react (rare though that is) it produces electrons that move in the same direction as the neutrino, and which move at extremely high speed, faster than the speed of light in the medium in fact, which produces cherenkov radiation. This radiation is what the sensors actually detect. Essentially they are giant cameras looking for brief streaks of light. By seeing how long and in what direction the streak is, you can determine both the direction and energy of the incoming neutrino.
To be honest the first solution is literally one line of code. The data structures are those included in Python, there's nothing to look up. It's an important skill to take some code written by others and understand precisely it's performance characteristics.

The interview question is not just about knowing data structures and is not about Behdad showing off either. It's the starting point for a Socratic discussion.
There was a story about the Metaverse and Carmak and some discussion and disagreement about issues like not being able to host stadium sized experiences (not all the avatars could be in the same room) and other topics like avatar quality in meetings.

I couldn’t help but think that I have zero interest in a stadium or any size meeting where I have to put a VR helmet on….

I can imaging Zuck and Carmak and others would love that people listen to them in stadium sized meetings, but I’m not sure how users feel. I’m sure one day there will be such experiences, but there seems to be nothing appealing to many individuals about them now.

God help me when some CEO declares a VR mandatory meeting…

Metaverse seems like a top down driven thing.
There is no amount one couldn't spend -- why are you even saying it this way?

You could get by on like $1,000/mo. Live in a tent, eat rice + protein supplement or whatever, and donate the rest to Africa.

Why don't you do that? If you're posting on this forum: you are in the top 1-5% of the entire world. You have a refrigerator? You should be ashamed and sending that refrigerator to someone who really needs it. You can get by with dry food.

Obviously this is ridiculous. We live in capitalism, which just means _you_ own stuff and control it. If you own a company and that company makes 10,000,000 people happy every day, you're going to make a gorillion dollars. You deserve it, you're literally making that value... ugh..

Then you can do with that whatever you like, just like you can do whatever you like with your refrigerator.

Where's the inherent evil? 10,000,000 people giving $1/day is 365 * $10,000,000 a year in revenue. Where is the evil?! Of course with that money you'll at least put it in the bank, which helps with liquidity, bank runs, funding millions of mortgages, etc... ugh...

ya'll don't appreciate how good things are.
Just as a cautionary note, I recently had a friend who took Welbutrin to help her with anxiety as she was trying to stop smoking. It ended up causing a mental break, to the point where she was hospitalized and suffered brain damage. Her sister-in-law had been on Welbutrin for years and years with no problems.
It had one main developer with outsourcing of some asset creation. He may have added help as time went on.

But 1 < 20.
In other words, last 23 months worth of real wage loss and still losing ... badly.

https://ycharts.com/indicators/us_real_average_weekly_earnin...
I was benchmarking SQLite3 with Python on my MBP M1 and with default settings could achieve 2-4000 inserts per sec. Then applied suggested settings:

pragma journal_mode = WAL;
pragma synchronous = normal;
pragma temp_store = memory;
pragma mmap_size = 30000000000;

As a result the average number inserts per second was 80K
I've done several experiments (and posted results in previous HN comments) where I've given GPT puzzles or brainteasers and asked it to review aspects of its answers Socratically. Never telling it it got anything wrong, just "you said A, then you said B, does that make sense"?

It usually does notice inconsistencies between A and B when asked this. But its ways of reconciling inconsistencies can be bizarre and suggest a very superficial understanding of concepts.

For example, it once reconciled an inconsistency by saying that, yes, 2 * 2 = 4, but if you multiply both sides of that equation by a big number, that's no longer true.

I will be super impressed the day we have a model that can read an arithmetic textbook and come out with reliable arithmetic skills.
Jens Axboe's Twitter is another great place to follow for improvements.

https://twitter.com/axboe
Even just writing the title and nothing else gives more interesting answer:

https://www.phind.com/search?cache=0e527db3-7740-470e-bba6-5...
GitHub-Drama/GitHub-Drama
You can make objective statements by benchmarking, but by the nature of benchmarking you need something to benchmark lower to be able to conclude that something is performing poorly.

Benchmarking is comparative - that’s the whole point - so the conclusions aren’t actually backed up by the paper.
It needs to be at least 4K per eye to work well for text, IMO. Then I could see it being actually useful in a sense that you can get as many large virtual displays as you want around you for different tasks.

But that still has nothing to do with the "verse" part of the metaverse. Why would I want that, either for productivity or for entertainment?
Why would you have to land?

I hunt and fish and hike.

...ya know what, upon further consideration techno-horses are actually the future. AI augmented.. HorseGPT. You are right.
I can’t help but think that a 10x user spike causing a 10x CPU spike is mostly caused by poorly performing web apps written in dynamic scripting languages and the ethos “Just add more servers, servers are cheaper than developers.”

Turns out, developers are cheaper than DevOps engineers and AWS budgets. So if a linear spike in servers necessitates a superlinear cost in operational complexity, maybe working highly performant web app backends is actually cheaper?