skysight-inc/HackerNews huggingface dataset:
I assume he meant that AMP was essentially a CDN, which meant that Google would be hosting the web on their edges, which is similar to what Cloudflare an other CDN's are doing on their edges.

And there is truth to be afraid of Cloudflare. However, that is somewhat of "an appeal to hypocrisy".

The obvious difference is that Google harvests all the data and usage and combines it with other data to profile all of your site's visitors.

Cloudflare is not in that market, and even if they were they don't have the other pieces to combine it with.

But, even leaving that out, Google did its best big bully act to show how much they don't care about you with their CDN, which is totally different than Cloudflare: They required you to modify your site - and even make it slower with heavy opaque scripts - so that they have more control than you do, they abused their search monopoly and the browser monopoly to force you onto their CDN and hurt competing CDNs, they set the guidelines of what resources and how you can send through the CDN (vs CF)...
Where can I see the demo?
You don't return HTML from API endpoints, you return it from your UI endpoints. You could reuse those for JSON with content negotiation, or have a frontend server+backend server setup where the backend server is also a public API, or some other solution.
I really wish there were frameworks that developed ways to plug in with your already favorite backend kit instead of solely isometric with Node.

You couldn't pay me to give up Phoenix in Elixir for backend work but it does lock off a healthy amount of the neat things being done to make data loading on the frontend more optimal. Phoenix has LiveView + AlpineJS but I really don't want to give up React which still feels more productive to me.

This looks neat but just like NextJS and Sapper it will not nicely play with my stack.
There's some research to suggest that certain probiotic supplements could help with lactose intolerance, but this still seems like there's a need for more research. Curious to hear thoughts / experiences with bactose ?

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7284493/
I posted a link to Algolia’s full-text search index below.
Look no further than Jeff Bezos's recent comments to see confirmation of this. He wants to turn Earth into a nature reserve with most people living off planet. In other words, he wants to kick us filthy serfs off 'his' planet. In his mind, we would be the ones living in the space mines trying to earn enough money for occasional short vacations to earth, garden planet for the rich.

Living on Earth is every human's birthright, but if Jeff gets his way that will change.
People will call you an innumerate drama queen but I definitely sympathize with your emotions. Nobody should die, especially for what’s almost certainly the result of some Chinese lab screw up. Don’t take the downvotes to heart.
Abine Blur: passwords, payments, & privacy
If you test positive, they force you to go to a camp.

If you have been in contact with someone who tested positive, they force you to go to a camp.

Everyone else is not allowed to leave their homes except for medical emergency.

EDIT: this is great. downvoted for merely summarizing the government policy being imposed.
I recently invested on a YMDK 75% split keyboard.

After many hours of research on switch type (because I don't like noise or high pressure on keys) and some modding to the height lower it turned out pretty good.

Would recommend to anyone whose livelihood depends on what they type on the computer.
I've done it a few times, and am doing it now. Just make sure you have a plan and a realistic idea about what getting that next job would look like. The plan doesn't need to be very detailed but should include a realistic idea of when you would NEED to become employed again, and what you want to accomplish in the time off. That could be "I want to play video games for 3 months straight". It doesn't really matter as long as you don't finish your sabbatical wishing you would have done something else. The entire point is to reset your mental health, or to simply live life as though you didn't HAVE to work for a living. Generally speaking people work because they have to, there's nothing wrong with simply not wanting to do it for a while.

I think if you don't know what you'd do, there's a chance you'll end up regretting it. But there's also a chance you realize there's a ton of life you aren't living, and find ways to reconnect with it.
I see no mention of Typescript support. Anyone know?
Performance/watt it not everything. It's not really even something.
It's a derivative concern.

The only reason I care about performance/watt is because I actually
care about noise, heat and battery life.

In 10 years this is one of the more confusing I've ever seen on HN. You care about noise, heat, and battery life but you don't care about performance/watt? Performance/watt is a "derivative" concern, but somehow those metrics aren't?

Presumably, all you really care about is raw performance then?

Well, OK, fair enough. We can all care about different things. But even though, performance/watt still rules: for all practical purposes the watts part constrains the performance part.

For a given power supply and cooling system, you can only draw and dissipate X number of watts. So you are back to the question of how much performance the system can provide given X watts.

Even no-compromises cooling solutions most would consider highly impractical (involving liquid nitrogen etc) run into this issue at some point. So yeah, you actually do care about performance/watt?
Same with company CEO's as well
IDK why everyone on HN thinks that the affluent have debt, when in fact, the bottom 50% of Americans hold less that 4% of wealth because most of them are in net debt, largely to entities owned by the affluent.

Maybe it's because inflation is actually bad for the moderately affluent who made a disproportionate share of their income early in life and want to live off that nest egg while no longer working (which I assume to be overrepresented on HN).
Except we can suppress those nerves higher up and you'll never actually feel the pain. And you can trigger similar flinching reflexes with a focused tap to the right spot, which is clearly painless in every way.

It's complicated.
Frequent random beachballs made me switch from FF to Chrome ~10 years ago. Somewhat-less-frequent random beachballs made me switch to Safari.

Not that I never see them, but that cut them to under 5% the rate I'd been seeing them. Xcode still does it pretty reliably, but luckily I don't work in that much. Now if I see them it's usually because WhatsApp or Slack have gone insane, which they do every few weeks. Or some web app. Point is, there's usually one thing going nuts that causes it, it's not just a constant feature of my desktop even under light-ish load.

Some heavier stuff, like Android Studio with the Emulator running, might still beachball quite a bit. Dunno, been out of Android development for quite a while. I'm sure there are some workflows that still have the problem. The browser thing kept them from being a common feature of my personal experience, though.
Thanks for taking the time to write this. I have seen well intended standardization efforts that piggy back on another standard and just make a complete mess of things. Basically making them superficially compatible, but in practice actually ad more confusion than if they didn't ride on someone else's coat tails.
the team behind remix probably has the biggest following in the react scene, so even without having any major differentiation (though I happen to think they do have) it's going to gain popularity.
I find this pattern pretty useful when you have a lot of small utility programs and don't want to litter the code 36 different main classes. Like it's a frickin bizarre pattern, but it's undeniably pretty tidy.

enum ToolLauncherMain {
convertTheThing(this::doFoo, "Convert the bin to the dat"),
sendSomeMessage(this::doBar, "Pass a message to the stuff-doer"),
help(this::printHelp, "Print this message");

private final Consumer<String[]> runner;
private String description;

public UtilRunner(Consumer<String[]> r, String desc) {
runner = r;
description = desc;
}

public static void main(String... args) {
try {
valueOf(args.length == 0 ? "help" : args[0]).runner.apply(args);
} catch (IllegalArgumentException ex) {
printHelp();
}
}

private void printHelp() {
for (var value : values()) {
System.out.printf("%s - %s\n", value, value.description);
}
}

// ...
}
This is done in rust-gpu[1] by the `spirv(workgroup)` attribute on the kernel function signature.

[1]: https://github.com/EmbarkStudios/rust-gpu/blob/46c9ea0c9c7b7...
The person you are replying to said there are key vulnerabilities that can be eliminated via decentralization, which is true, not that all vulnerabilities can be eliminated, which is self evident.
Something new here? Because this is not new and gets posted semi-regularly every few months for a few years
And the classic keyloggers which have been known to be around for over 4 decades ever since the typewriter....

https://en.wikipedia.org/wiki/Keystroke_logging#History

https://en.wikipedia.org/wiki/Keystroke_logging
How many non-revenue-generating domains were mixed in with the hits?
As discussed in the original link, they're looking at the data straight from the satellite and continually monitoring their accuracy compared to other data sources. Mitigating incorrect information was explicitly one of the design considerations and a launch requirement. Can you elaborate on specifically what you're critiquing here besides the unreasonable expectation to provide perfect information?
A very common occurrence ><
Is there any way to actually read the paper? It doesn't seem to be available on sci-hub.
Keystroke Logging
We need moonshots like building a large space habitat or accessible space tourism.
How the MFA Swallowed Literature
Perhaps it was the v1 announcement that got it across your radar

posted a few hours ago:

https://news.ycombinator.com/item?id=29312063
Facebook's Dangerous Experiment on Teen Girls
Ask HN: What book(s) did you love reading this year?
Inspired by [1], I considered my key reads of the year:

* Courage Is Calling by Ryan Holliday

* Post Corona by Scott Galloway

* Feck Perfuction by James Victore

What about you?

[1] https://news.ycombinator.com/item?id=29309758
That already happens though given that different hardware has different support for hardware accelerated playback of video.

E.g even on the M1 Pro/Max, you're going to get much better performance and battery if you're using a video editor that supports prores decoding.
Postgres is awesome technology but for a lot of applications SQLite will do the job just fine. This gets you a single binary with zero external dependencies.
I've read this a few times now and I understand neither what the two are nor their differences.
Australian Army Forcibly Takes 38 Individuals to Concentration Camps Last Night
Type annotations are the biggest code smell. It's like we want types but only make it super complicated.
Vaxxers/maskers will pay dearly for their crimes.
It supports typescript completely
Also:

Data-oriented design or why you might shoot yourself in the foot with OOP (2009) - https://news.ycombinator.com/item?id=27658706 - June 2021 (362 comments)
I use multiple Macs, plus several iOS devices, behind a pihole, with iCloud. Never seen this. IIRC I do just use the default block lists, or something pretty close, though.
The follow-on comment is also interesting in that Cloudflare forbids you from running benchmarks.

https://twitter.com/lxt/status/1462897830775902217
Step 1: throw away modern western democracies, those are obviously going away.
Step 2: look, now we're so screwed almost anything looks better!
Step 3: crypto profit.

Luckily modern western democracies aren't so easily thrown away IRL as in an essay.
It won't; e-government, e-schools and e-universities must have access to internet and on top of that e-commerce will become even more ubiquitous than it is today so it doesn't make sense to do it.

Governments can try to cut internet access to citizens while keeping it for themselves but then ordinary people would storm streets and request internet back.

Internet is how we communicate and trade in 21st century. Easier and cheaper than ever.
Semantics over the name aside, you end up returning small chunks of HTML from newly defined routes that are only useful for your HTMX frontend, hence my usage of API as the interface really only makes sense to the machine and not the user without the rest of the page content.

Yes you could inspect the headers and such to determine what type to return, but the core problem remains, that the HTML in those is not reusable whereas as JSON would be.

How much overhead this is for you depends on your design of course, but it does mean some work might potentially be wasted if you go down the full SPA application later and even if not changing layouts and such might be a pain.
seems like the code in the docs [0] is typescript

[0] https://remix.run/docs/en/v1/tutorials/blog
Is one of the feedback loops for high inflation that companies don't want to increase wages, so you go into a recession because people stop buying things because everything starts costing too much?
You still trust what the Chinese Government says?
No. This is a fundamental misunderstanding of __shared__ memory and how kernels work.

__shared__ memory is a specification like .bss in ELF files. Its something that must be known at compile-time, well-before runtime. The GPU kernel, when launched, will reserve some __shared__ memory for itself.

----

Different kernels may use different chunks of that 64kB for themselves. For example, if Kernel Foo uses 30kB of __shared__ memory and is currently running, and Kernel Bar only uses 20kB of __shared__ memory, the GPU will allow Foo + Bar to run simultaneously.

The fundamental "unit of compute" is the OpenCL workgroup / CUDA block. The GPU will run many, many kernels (even different kernels) _ON THE SAME CORE_, as long as there's enough registers, and __shared__ memory available for them.

-----

"Thread local" variables compile into registers in practice. GPUs have ~256 registers per core, so if Kernel Foo uses 40 registers, and Kernel Bar uses 70, the GPU SMs (Symmetric Multiprocessors, what you'd call a "core" in the CPU world) could run 4 copies of Foo + 1 copy of Bar.

This is because Foo#1 will eventually run into a memory-latency issue (VRAM read/writes have well over 100-cycles of latency, maybe 300+ cycles on older GPUs). Instead of waiting for this memory operation to complete, the GPU will switch to another workgroup (like Foo#2, Foo#3, or Bar#1) to ensure that the GPU-cores stay utilized.

__shared__ memory works kinda like these registers, they're divy'd out at runtime by treating the OpenCL workgroups / CUDA blocks as a unit.

------

So __shared__ memory has to be preallocated by this model. Its an important per-unit resource that is tracked by the GPU at the lowest level, so that multiple kernels could be run concurrently on the same cores (GPUs are like SMT or Hyperthreading: capable of running 8+ kernels per core as long as you have enough registers / ___shared__ memory to launch all kernels)
Survival bias. The benevolent dictator role works if you get the right one.
>natural immunity providing broader and longer-lasting protection than vaccines

Supporting evidence, please?
Incomplete Cleanup of Messages in Keybase, CVE-2021-34421
I've tried js, ts, and dart and dart is a much more pleasant language with simpler tooling than the current js/ts web stack. We can continue going back and forth on this but I don't think we're getting anywhere. My suggestion was to someone that was looking to avoid the main hassles of web development and I suggested Flutter/Dart to simplify the toolchain and not worry about having to pick and choose frontend frameworks and build tools because all of that is baked into Flutter/Dart already.

In my brief experience, learning the language and framework only took a few days and it was much easier than making sense of all the issues with the current frontend web stack. Dart also has JavaScript interop so using libraries written in js is not an issue. [1]

1: https://dart.dev/web/js-interop
I would disagree and the deep knowledge is "non-existent" in this part of my life. But I don't have any statistics or anything else to back this up.
This...is in line with intuition. It's interesting that "mathematical circles" have become more popular, in line with this.
Here is a different page with deep link to the patent details:

https://en.wikipedia.org/wiki/Lithium_iron_phosphate#Intelle...
I agree that this is a great book, but I think it fails the "impractical" test - DDIA is an immensely practical book that's basically required background reading if you work with distributed data systems.
Australian army hauls 38 citizens to quarantine facility over positive Covid
This needs to stop.
The path forward is simple then. 512 GPU cores.
Porkbun for me.
Is jury of your piers how they resolve conflicts in international waters?
I found it incredibly annoying to read/parse personally. Huge fonts, stuttering animations interrupting my scrolling, and way too many colour/formatting changes to be able to smoothly read it. It's all very distracting and over-designed.
> Yay! Monarchy!

Network states will only be like monarchy if you assume everyone will be a member of a single one and that it is impossible to leave the one you are a member of. Which is to say it will be nothing like monarchy: people will be members of many of them (with varying degrees of depth) and joining and leaving will be fully at-will. I'm not sure if analogies are useful here, probably not.
I'm referring to what people select for with law.

https://en.wikipedia.org/wiki/Blackstone%27s_ratio

Does a law system let some guilty people got free to avoid incarcerating the innocent, or does it incarcerate the innocent to avoid letting some guilty people go free?

My opinion is to lean towards letting the guilty go to avoid incarcerating the innocent, but other people in other places can lean the other direction.
How can this be integrated with react-query and react-location?

Seems that it's tightly coupled to their variants (SWR and react-router).

React Query is IMO a must-have on any project that already warrants using React (and that isn't an offline-only app of course).
60 Full distance triathlons in 60 days
That means 60 consecutive days of 3.8 km swimming, 180 km biking and 42.2 km running.
But when you’re a billionaire almost all of your time is spare time. Aside from basic bodily functions billionaires can spend their all of their time doing whatever their little hearts desire.
> Not having searchable notes was almost a deal-breaker for me, and I still have hope that this behavior will be implemented in the future as an update.

The handwriting equivalent of Notepad that came with Windows Tablet edition (2002?), A software called Journal, allowed searching in handwritten notes. It worked pretty well, since searching does not require an exact OCR (it sometimes has some false positives, but it's actually better at finding then the most recent typed version of OneNote).
We've done some "fat app servers" that consume GraphQL APIs. You could build a Phoenix + Absinthe app, then consume it from something like Remix.

The real problem is switching languages. I sure get slow when I change from Elixir to JavaScript. There's not a bright line between backend/frontend in a fullstack app, so I've been much happier minimizing how often I have to switch languages.
Honestly I don't think this proves anything, change "Rust" for "Python", "Java", "C++" or even "Javascript" and you will get a similar number of results with Python being actually higher than Rust.
Here it is! https://youtu.be/wsJaUjd1rUo?t=299
So they solved the problem of paying one million dollars with an already developed drug by making a new drug that costs... $2.125 million.

"Novartis' Zolgensma, a one-time gene therapy for spinal muscular atrophy tops the list with a price tag of $2.125 million."

https://www.biospace.com/article/gene-therapy-zolgensma-tops...
We can call it the Gatsby-Next-Remix continuum.
> If you look at this example[0] you'll see there's not a single useState, useEffect, etc.

Sorry to point it out, but there is useRef, useEffect and a useUserData on lines 48, 53, and 47 respectively.
> They had "reasonable and prudent", IIRC

Isn't that the same guidance as the Autobahn?

Also, I get it for eastern MT, but my mom and step dad were living in Helena at the time, and my step dad drove way too fast for those unstraight mountain roads. It wasn't just traffic that they brought the speed limits back for.
The hardest part would probably be getting LLVM (written in C++) to compile to webassembly, since that's what rust uses as a compiler backend.
Gotcha. I assumed that was the case, but I was seeing some other stuff that implied otherwise elsewhere in this thread.

Yeah, in that case, it'd probably have to be a transformation on top of static variables or something like that.
Trains huh? I'm pretty damn skeptical of that; those sort of semi-submersible platforms move around a whole lot more than your typical train station. Helicopters are the obvious choice, or ferries if you need a greater capacity. I'm more skeptical of trains to offshore platforms than Starship itself.
Have you seen Not Just Bikes' latest video? "Why the Netherlands is the Best Country for Drivers"
https://www.youtube.com/watch?v=d8RRE2rDw4k
Baldwin in Brahman: A trip to the hospital is more real than your politics
yes, there is some idea that if people had more time off they would actually spend more, making the economy grow a bit better (among other benefits)

one example:

https://en.wikipedia.org/wiki/Premium_Friday
https://www.youtube.com/watch?v=gu31VyXlTzo

(I will admit I thought the same thing, pleased to see it wasn't just me.)
I keep seeing this comment on HN, but I never really get it. In the world of platform as a service, launching a database instance is far easier than managing disk based storage yourself. It also has a very obvious route to horizontally scaling the web process. Deployment is easier too with an external database, there's no data on the disk of the machine running the web process that needs to be carried over.
Not well. They have almost literally nothing to show for over a decade of work.
[article author here] The issues you're seeing here comes down to quantization errors in the depth maps. The effective range of a depth map for most human-scale scenes is about 20m; what you then have is 8 bits (i.e. 256 levels) to try to encode everything from right up close to the camera out to 20m.

Even if there's in interpretation function on top of this to distribute the depth more meaningfully (e.g. storing 1/depth to prioritise detail on closer objects) you still, in the end, have banding.

When we developed this approach we validated it against existing techniques and I'd still like to think we have the smoothest, least prone-to-banding technique for simulated defocus out there; the maths was tweaked to specifically address this.

Of course, there are limits - aliasing can only be mitigated so much. But that's why we're still working on it and this kind of feedback is enormously useful (thank-you!) in helping us move closer to a virtual camera that feels more like a real one!
At some point you hit bandwidth limitations, right? Unless each core has local, dedicated memory they will need to access the GPU's shared memory for various things right?