skysight-inc/HackerNews huggingface dataset:
I'm the author of a Wasm on the server side runtime[0] that focuses primarily on rust compiled to Wasm, and this question comes up quite often. Why compile to Wasm if you can compile to native code directly? To add to Radu's answer, here are some of my favourite reasons.

Having an in-between bytecode layer allows you to build application architectures in rust that would not be possible when compiling directly to machine code. Hot reloading is a good example. Having the VM hold onto resources like tcp streams and file descriptors allows you to exchange the business logic without even breaking a tcp connection. Fine-grained sandboxing is another good example. Revoking filesystem access from just parts of your applications or limiting memory/cpu usage for each individual request[1] is something that is just impossible to do correctly without a vm managing it.

A less obvious benefit are the improvements to the developer experience, like compile times. Most of the dependencies (async executor, tcp stack, message passing, ...) are usually already part of the wasm runtime and don't need to be compiled/linked again. The rust compiler also seems to have a better time when it comes to generating .wasm executables instead of native ones. Most rust wasm apps I write compile much faster than equivalent native ones. Just because there is so much less for the compiler to do.

Many wasm runtimes, like lunatic, include an async scheduler and green threads/processes. This means that you get most of the benefits of async rust without needing to actually use async and worry about all the issues that come with it[2].

[0]: https://github.com/lunatic-solutions/lunatic

[1]: https://www.youtube.com/watch?v=8gwSU3oaMV8&list=PLdo4fOcmZ0...

[2]: https://eta.st/2021/03/08/async-rust-2.html
It's literally in the first paragraph...

> Postlite is a network proxy to allow access to remote SQLite databases over the Postgres wire protocol. This allows GUI tools to be used on remote SQLite databases which can make administration easier.
You'd have to unload a lot then. I'm not a cargo specialist, but I presume they start with the heavy containers so those are at the bottom.
The difference is that it's an explicit choice instead of other package managers who'd happily install latest compromised versions of packages by default.
Exactly, if you test many many things against each other you will always find correlations between them by chance. That's why you always need to start with a "serious" hypothesis.
WebAssembly co-developed by " W3C; Mozilla; Microsoft; Google; Apple" and unless they put the people to develop it further, it stays at it is.

And I wouldn't be surprised if some of those companies wouldn't be feeling like patent ways to compile and optized WebAssembly into native code, or anything else related to tooling.
> Why do you care so much about historical data?

Literally in my first comment that you keep responding to with handwavy things like "surely someone somewhere will store it perhaps maybe we don't know but you just have to believe"
Premature optimization is time spent not optimizing things that actually matter.

In my own circles, it's the accusation legitimately levied against the clowns who simultaniously write macros instead of functions out of fears that the compiler could theoretically ignore a __forceinline keyword - or if you're lucky, optimizing some microbenchmark while pessimizing overall program performance - and in the next breath writing O(scary) code that'll be invoked with large enough N to demolish any savings from micro-optimizations.

That is, despite optimizing, these are people who, despite an obsession with performance, are still treating the performance of their overall programs as an afterthought. Because they don't actually care about performance as much as they say: they care about showing off and flexing their coding skills by making a mess.

Well, the phrase itself doesn't help guide these people towards real performance engineering, but they're typically stubborn enough to ignore the phrase, and must instead be goaded into using a profiler or generating benchmarks, which can then be picked apart when they optimize away the actual execution of everything at compile time, teaching by way of concrete example at least a little bit about generating better microbenchmarks, which they can use to show off and flex more effectively instead.
I still don’t understand how such a trivial thing became politicised. The people at the fringes are nuts and they have far too much influence.
They are pushing the time-series rendering code to it's limits I'm sure here and for sure would've uncovered lots of bugs and possibilities for performance improvements with this.
news are only a small part of BB
Also, News are highly filtered and considered maximal quality, from best news agencies across the world including BB itself
"News" also contains all companies corporate news, results and also technical ones such as corporate actions (dividends, dividends forecast, etc).
twitter is not really a competitor here
That was quick: https://twitter.com/flydotio/status/1508928704348577797
The End of Industrial Society (2021)
zoom?

irc?
Which indicates to me, that we still haven't identified the "secret sauce" of intelligence.
I'm not too familiar with WebAssembly but I like the concept of compiling different source languages to a common "bytecode" language so it can run on various platforms.

However, with the way things are currently going, are we using WebAssembly to reinvent the concept of Java applets? It all sounds very familiar. And if this is the case, will it run into similar problems?
Why does that even annoy you? Perhaps, former and twice impeached orange man 'Donald J. Trump'? is less triggering to you and makes you feel better about yourself?

Who cares?

You haven't answered any of my questions have you? Only still obsessed around the orange man.
I'm not sure it really counts as an April Fool's joke, but today's choice of song for https://www.heardle.app/ is pretty inspired.
Most of the confusion around the Chinese Room arises when people don't realize that "computer" and "computation" are not synonyms.

Turing defined computation as I/O behavior. The Church–Turing Thesis states that as far as their I/O behavior is concerned, all sufficiently general computational mechanisms (computers) are equivalent. The Chinese Room Argument presents a stupid computational mechanism with I/O behavior equivalent to a human communicating in Chinese. Some people then conclude that because the Chinese Room is clearly not intelligent and "because all computers are equivalent", computers cannot be intelligent. But that requires leaving out the qualifications from the Church–Turing Thesis.

But maybe there is more to computers than their external I/O behavior. Maybe intelligence is a property of the internal behavior of a system rather than its external behavior. Then there could be some computers that are intelligent and others that are not, even if they have the same external behavior.
RPC via Flatbuffers or Cap'n proto? Those aren't aiming at replacing C ABIs but they could.
The cost of an egg is negligible compared to the cost of gestation, ie. bringing the embryo all the way to a baby.
side question, but... are there any known hacks of bloomberg terminals? seems like such a juicy target :P
I bought a set of powerline network adapters once, from a reputable manufacturer. While they work flawlessly, they have an extremely annoying side effect that made me pop them out an hour after I first installed them. I ran an ethernet cable instead (now I'm using them again in a different place). They turn the powerlines into radio antennae and all my semi-professional studio headphones tend to pick that signal up as really distracting digital clicking and humming noise.
People forget it very quickly. I'm not on $800K,but I make about 10 times more than I did 12 years ago. You get used to it and it becomes your baseline. It's not very healthy though.
Ask HN: How can I help against disinformation?
I just read that Russians are even more united in favor of Putin after the war started and made me despair.

I want to somehow help. What are some startups that try to solve the problem of disinformation? Maybe some open source projects I can contribute? I have donated some already but I'm not sure how it solves the problem. By problem I define lies told to the public by dictators (sometimes elected too).

I am talking about projects trying to deliver messages to people to oppressed people through other means of media etc.

Edit: as many pointed out, the poll could be disinformation itself too. Doesn't matter, if anything it makes these projects more important still.
You are conflating two issues as well: the manufacturers' insistence on closed-source drivers and Linux' non-stable (binary!) ABI. If the manufacturers were to upstream their drivers in the Linux kernel, they wouldn't need to update their drivers for every ABI change.
It's much lower level and has a robust sandboxing model, so the security issues with Java are not really a concern here. There are still security risks but they're different ones and generally less severe.

Because it's lower level it's a more viable compile target for things that couldn't easily be compiled to Java, like C++ for example.
The commercial incentive is that I bought their hardware.
Italy and other countries implemented and open and parallel mail system for legal documents. While it is still possible to forge emails, it makes it much harder to do so. https://en.wikipedia.org/wiki/Certified_email

In order to open one of those email accounts you need to give full details using Italian digital identity (SPID). It is also possible to forge a SPID, but that's even more complicated.

So, to sum up, it's quite an antifragile system. Relatively simple, widely adopted and secure enough.
Linus's new laptop review - https://www.youtube.com/watch?v=Slwai2Jhy_A
> Wish there was an option to de-emphasize everything except the middle section..

to do that, I used ublock origin picker tool to permanently hide the sidebars (except related questions). Though that's more of a "nuclear" option
And this is why email and forums (such as this HN) are so valuable.

I gave a class yesterday to 30 students on the differences between IM
and email. Despite all the technicalities of store-forward versus
connection oriented, key exchanges, PGP and SMIME, forward secrecy and
so on... they were much more of the opinion that it's the expectation
of pace that really matters.

Who sets the pace and why?

Slowing down over-eager bosses by saying "I'm thinking about what you
asked/said and have yet to formulate a reply" is a way to bring them
gently back to a slower frame.

Many of us send a message and get anxious 10 minutes later that we
haven't been heard/validated.

Today I felt this very comforting space of async. I am corresponding
with a hacker named Ploum (Offpunk and AV-98-offline), who is - well -
offline for a month to get some work done. With memories of
communicating to devs on an Antarctic research ship that made
satellite connections every three of four days, I decided I don't need
to respond to the last message until maybe next week, and we'll both
have time to thik about what we're saying more.
So when is someone going to hack the firmware to get the A13 to run MacOS and turn this into a true iMac?
Hm, interesting, I hadn't thought of that. I know that Linux is fine mainlining drivers and updating them whenever the ABI changes, but what's the rationale behind not offering a stable ABI?
Thanks for the response. Lunatic seems like a really interesting piece of software. Allowing you to run anything that compiles down to wasm seems like an awesome opportunity for a platform to solve some of the headaches of current serverless setup.
The point is that there's no struggle; if there were, they'd just raise benefits.
I have been almost successfully scammed and there is one thing that stood out of all this text that I can relate: the author was mentally tired.

I wasn't tired, but I got a call at 8AM on a Saturday as I was just about to wake up, and I hadn't slept very well. You may be very aware of all the latest security practices, but in the end you are human, a big bag of emotions swirling around. And it only takes a moment where you are vulnerable to scam you successfully.

The lesson here, I think, is: it could happen to you.
Eth2 Book – A book about Ethereum
Linux for Networking Professionals
What I remember of RIM, is they took some guys code. He innovated, and they took it. He told them, and just asked for a mention in the authors page. A quick thanks mate. I'd suspect it would help him land future jobs, and be fun to talk about.

They rejected it. He died and his estate sold the rights. Then BB got sued. They should have been sued, and deserved what they got. Don't steal from devs
Compare http://www.incompleteideas.net/IncIdeas/BitterLesson.html
The quoted DARPA official is slagging EcoHealth Alliance for "willing to get on an Air China jet, eat terrible food, and stay in bad hotels", which doesn't sound like it has much if anything to do with science.

For what it's worth, to me Dazsak and EcoHealth sound sketchy as fuck and it's pretty obvious the WIV is frantically trying to cover its ass. However, this is a national pastime in China when anything goes wrong (exhibit A: https://en.wikipedia.org/wiki/Wenzhou_train_collision), and thus doesn't necessarily mean the WIV is directly responsible.
Wouldn't there be lots and lots of pressure?

A male that kills his mate has fewer offspring than a mate that manages to keep the female alive, doesn't he?
Curious! What model and configuration are you using?
One contributor to Airbnb's success was making things like this accessible to international travelers. It's that whole "live like a local" vibe.
Quoting the key definition:

"Bringing all these pieces together, we can now define our formal measure of intelligence for arbitrary systems. Let E be the space of all computable reward summable environmental measures with respect to the reference machine U, and let K be the Kolmogorov complexity function. The expected performance of agent π with respect to the universal distribution 2−K(μ) over the space of all environments E is given by Υ(π) := [unquotable latex expression]. We call this the universal intelligence of agent π."

It is an useless kind of mathematical object from any practical perspective. Sure, some formal object is defined, but all the actual important things to use it are left as difficult, possibly devilishly or impossibly difficult implementation details. How do you actually build a map from the physical reality to environment E? How the agent π is mapped to any real physical being? All the real work that would make the definition useful is left out.

It is like defining complexity classes without providing any algorithms.

edit. Further complaint: Here is how they present "examples":

>A very specialised agent. From the equation for Υ, we see that an agent could have very low universal intelligence but still perform extremely well at a few very specific and
complex tasks. Consider, for example, IBM’s Deep Blue chess supercomputer, which we will represent by π_dblue. When μ_chess describes the game of chess, V π_dblue μ_chess is very high. However 2−K(μ_chess ) is small, and for μ != μ_chess the value function will be low as π_dblue only plays chess. Therefore, the value of Υ(π_dblue) will be very low. Intuitively, this is because Deep Blue is too inflexible and narrow to have general intelligence; a characteristic
weakness of specialised artificial intelligence systems.

Why they need any formal definition of Y to express this if they don't bother fleshing out some features of μ_chess so that you could provide any bounds for K(μ_chess)? Without such work, all of the actual claims in the paragraph is all appeal to intuition. Nothing is proved, so any formal definitions are unused. The contents of the quoted paragraph could be expressed without referring to any equations or "definitions" at all, they are totally superfluous.
Right, exactly, it is absurd to think one man in a room with some symbols can generate understanding. But only because of scale, because we imagine a regular sized room, a normal sized book and a table with symbols on it. But it’s absurd because that system is incredibly simple, not due to any actual argument from fundamentals.
Believe me, a decent chunk of Americans don’t even understand the concept of freedom.

We have an expression, “it’s a free country”. But if you go to Mexico, the pharmacy will just sell you anything short of controlled substances—antibiotics, heart medication, whatever. In the US you need a prescription from a doctor. We’re not a free country by a long shot.
Not sure that adage is any true?

Eg western militaries don't seem to be worse at fighting than militaries from poor countries?
To me that sounds like a company problem, and not something that should be foisted on to the universities to deal with. Perhaps it'd be better if we had more trade school focused places for a wider range of jobs instead of forcing the universities to deal with it all.

But, really, if company wants to retain people after training, maybe make it worth it to the people to stay.
YMMV - I've never had any luck with Ethernet-over-power boxes, but it's very dependent on the quality and topology of house wiring.

Fibre to the home, on the other hand ... super amazing. Rock solid 1Gb full duplex (and for busy torrents I actually hit 120Mb/s!) ... but it's all about the latency: I have (according to mtr) <85ms with StdDev<1 from home in .NL to OVH in .QC.CA.
I wish the "std::string really &&obj" were "std::string &&really obj" (and the same for the fiber & case) as, while that might look stupid it is more consistent with how cv-qualification is parsed, and seems like it would cause conflicts with "really const" unless even more special cases are added to the compiler.
The hardcoded password seems to be:

Gitlab::Password.test_default(21)
=> "123qweQWE!@#000000000"
The military does not care, nor interfere, nor decide what to do, nor there is a law against having a separated map.

You will probably get looks from people, and have people constantly comment about the map, but I would assume that's normal and doing so about any disputed region would do so. Try it elsewhere and tell me.

Now about Morocco and Sahara, Morocco proposed a referendum since 1991, and still continuously supporting the idea. UN's existence in Sahara is for the purpose of facilitating the referendum. But I will assume it will never happen as long as there is countries to gain diplomatically from keep the issue as a card in their hand. Most of Western Europe flip flop about the issue, depends on how their relationship and interest with Morocco is like. We gonna renegotiate fishing agreements in Moroccan waters? more Sahara talks. A country didn't succeed in barring the EU from importing a competing vegetable? more Sahara talks.

Now about phosphate, most of Moroccan phosphate and especially production exist outside of Sahara.
Wifi is always an external network segment. Maybe run different SSIDs to make the use cases clearer or do some kind of QoS; however there isn't really enough spectrum (at least pre 6e) to worry about that in most places.

May as well just use one outside the network AP for everyone, just an easy password everyone knows to prevent parking lot users.

Entry to the corporate network? That'd be the VPN (or wireguard, etc) just as if they were off site.
I tried this via Airbnb in Spain and ended up moving from place to place instead. I never actually found a location where I could work properly, to the extent that I rented a separate office some of the time. Patchy internet almost always, cheap furniture, base level electricity that would trip out if you had two appliances running at the same time, and #1 problem NOISE all of the time.

I'm not sure that Airbnb is the actual problem here, for me it was the host's expectation that people will just throw money at them whilst all they have to do is provide the location. The one half-decent place I stayed was, ironically, the only option without a hundred or so glowing reviews.

Alternatives to Airbnb exist for every niche and, in my opinion, you generally have a good idea of what you are going to get from the outset rather than with Airbnb where it is always a gamble - regardless of how much money you are willing to spend.
The two are related. Offering a stable ABI would discourage hardware manufacturers from mainlining drivers.
Oh, and it actually looks slick/sleek :)

Recently I interacted with a brand new but old-schoolish one (dials and all), which was only openable by pushing a big analog button (which required a surprising amount of force). And this design seems common despite the totally idiotic UX of pushing a button that slightly opens the door, so then you have to open the door by hand, instead of putting a fucking handle on the door so it could be one move. (Probably because it's that much cheaper to have a door without a handle.)
There's been various explanations and rationales provided over the years, but from Linus' own words in 1999 (see https://lwn.net/Articles/159313/):

Basically, I want people to know that when they use binary-only modules, it's THEIR problem. I want people to know that in their bones, and I want it shouted out from the rooftops. I want people to wake up in a cold sweat every once in a while if they use binary-only modules.

The less activist stance is simply that maintaining a stable ABI requires either accumulating lots of backwards compatibility layers over time, or to stop improving certain parts of the kernel. Neither option has won out over the current situation.
I always thought they insisted on breaking ABI specifically to incentivise open-sourcing and mainlining drivers. If given a stable ABI, manufacturers have shown (as seen on Windows) that they will just release a binary driver once and never touch it again. This is a big reason why old hardware support is so much better on Linux...for the hardware that was supported in the first place of course.
Sort of but not exactly. UAC is blocking and synchronous. Universal approval mechanism should be async by default. And normally UAC box is "approved" by the same person (you). The mechanism I want should allow team member approval.
This isn't really a coherent statement. The DoD's rules do prevent this; the NSA refuses to follow DoD rules.
Ask HN: How do you get security advisories?
Recently I was reading logs on production machine and have seen line

"pdns-recursor[2169088]: PowerDNS Security Update Mandatory: Upgrade now, see https://doc.powerdns.com/recursor/security-advisories/powerdns-advisory-2022-01.html"

I do not have any automatics to get important stuff from my logs, but this is another big question.

I have asked myself - is there any way to get security advisories in RSS-like fashion? Especially for PowerDNS I see only two options how to get them: webpage[1] and reading logs. Both those options are not such convenient as getting newsletter or even RSS.

Maybe you do know any services to get security advisories in RSS reader or at least by email subscription?

[1]: https://doc.powerdns.com/authoritative/security-advisories/
(one of the authors of Spin here, and a WebAssembly enthusiast.)

There are, of course, a lot of similarities between the Java or .NET runtimes and WebAssembly, and other comments made excellent points about the lower level nature of Wasm, or the isolation sandbox.

I would also point out that there are significantly more languages that either have support for compiling to WebAssembly today, or that have started adding support (in the last month alone there were initial announcements for Python, Ruby, and .NET, for example).
I really enjoy his channel. He recently did a collaboration with Geoff Marshall who I also very much like:

https://www.youtube.com/watch?v=4EtBKPcHPrE
OCI as Attestations Storage for Your Packages