Better HN
topnewbestaskshowjobs
Log inSign up

anewvillager

97 karma · joined Dec 7, 2019 (6y ago) · 39 submissions

Submissions

comment 6y ago · link · parent

It scales if you let userland do thread scheduling (instead of having green threads on top of OS threads)

Something like https://docs.microsoft.com/en-us/windows/win32/procthread/us...

See also https://news.ycombinator.com/item?id=6726357

comment 6y ago · link · parent

Awesome, thanks!

comment 6y ago · link · parent

Facebook deleted fake news from brazilian president Bolsonaro though

https://riotimesonline.com/brazil-news/brazil/zuckerberg-cit...

comment 6y ago · link · parent

I want to search code with regex. You know, like I do when I clone the repo to my local machine.

comment 6y ago · link · parent

One of regular meetings.. from 2018? Did you publish minutes from this year?

comment 6y ago · link · parent

Scott Aarson didn't comment on this paper specifically but gave a FAQ[0] on his blog (he believes Google actually attained quantum supremacy). See also this[1] when the announcement was done.

Moreover, the naturalness argument is pretty strange. Of course complexity arguments are useless if big constants dominate the run time, but, why is it justified to assume the constants are small enough? Is it to make our life simpler? Real life is seldom that simple.

[0]: https://www.scottaaronson.com/blog/?p=4317

[1]: https://www.scottaaronson.com/blog/?p=4372

comment 6y ago · link · parent

> I don't like to see wasm replacing native for stuff like development tooling, and desktop apps.

Wasm is like the JVM or CLR in that regard. It's not the future - it's the past.

comment 6y ago · link · parent

Dude, just make it opt-in. It's that simple.

comment 6y ago · link · parent

but the thing is, i want to copy the video itself

not copy the url, paste in a terminal for curl or wget to download it, then copy the video..

comment 6y ago · link · parent

> In the 23andme case there was a worry that people might commit suicide or make massive life changes, if they discovered they had a potential terminal illness. Here, the 2x2 matrix of positive vs negative and true vs false, seems most dangerous on the false-positive side for people who believe it grants them freedom to do whatever they like. False negatives are dangerous for those who then feel certain they don’t have the disease currently and thus expose others unwittingly (but this is already likely!).

So you suggest it's better to not test people?

comment 6y ago · link · parent

> you can't configure additional peripheral FPGAs.

My understanding is that you can only have a single FPGA.

comment 6y ago · link · parent

Then why didn't they already stopped? They are violating the law.

comment 6y ago · link · parent

> Where are the pervasively used compression libraries in Rust? Video and audio codecs? Network stacks? Database engines? System management utilities? PKI and encryption stacks? All that stuff is still in C. After ten years of Rust success!

It's not ten or 20 years, the first release of Rust was in 2015. Pre-1.0 Rust was a wildly different language, with green threads, segmented stacks, regular and wild breakage, not really a C replacement! Please understand this point.

But anyway here are some projects:

https://github.com/ctz/rustls a TLS library that uses https://github.com/briansmith/webpki a pki library

https://github.com/burntsushi/rust-snappy a compression library

https://github.com/tikv/tikv a database engine

https://github.com/hyperium/tonic a gRPC library

https://github.com/tock/tock an embedded OS

https://lib.rs/command-line-utilities lots of CLI utilities which include system management

You ask for "pervasively used" but this is not under control of Rust itself. It's not feasible to replace decades old setups in five years.

The most widely deployed Rust stuff is in Firefox and some Gnome libraries AFAIK.

> I mean, is it maybe fair to say that the window is closing for rust to take over a significant fraction the systems programming world?

I don't see why this should be the case.

comment 6y ago · link · parent

Why do systemd detractors keep styling it as SystemD? I'm honestly curious.

You know it's written all lowercase, right?

comment 6y ago · link · parent

I don't see any ads as well. Make sure to enable more comprehensive lists on uBlock Origin.

comment 6y ago · link · parent

Please put a (2017) in title.

comment 6y ago · link · parent

I agree with your finer points, but

> In this case, I used the subtitle, which wasn't exactly editorializing.

Technically it is, in the sense that it's the editor's job in a publication to select exactly which citation best summarizes the content of the whole piece.

So I suggest to perhaps change the "don't editorialize" part to rule to better reflect the nuance of the subject.

comment 6y ago · link · parent

A (non-tail) recursive function actually needs a reentrant mechanism to implement the semantics of calling itself; this mechanism is a stack.

Without recursive functions, we have a bounded call depth and thus don't actually need a growable stack; a fixed-size array suffices.

We take for granted that function calls are always implemented with a stack, because that's how processors work today, but it could have been done differently. We could imagine an alternative timeline with much restricted functions and no implicit call stack.

And indeed, tail recursive functions are usually implemented with tail call elimination, in which the caller reuses the stack frame of the callee; function call becomes a simple goto, which transforms recursion into loop iteration. If we didn't have an implicit stack we could still have tail recursive functions (and a bounded number of non-tail calls), and manage other recursion cases with explicit stacks.

See for example pratt parsing https://matklad.github.io/2020/04/13/simple-but-powerful-pra... which uses the implicit call stack, and contrast with Dijkstra's shunting yard algorithm https://matklad.github.io/2020/04/15/from-pratt-to-dijkstra.... which is the same thing but with an explicit stack. If we didn't have a call stack, we could always program in Dijkstra's style and be none the wiser.

comment 6y ago · link · parent

Even in surreal numbers, where there indeed exists numbers "infinitely close" to 1 but smaller than it, 0.9999.. would still be exactly 1. That's a quirk/feature of the decimal representation, not the underlying theory of numbers.

In surreal numbers there's a number called ε a number infinitely close to 0 (but larger than it), so what you would think that 0.9999.. represent is actually written 1-ε maybe?

But there's another number ε/2 that is between 0 and ε; 1-ε/2 is even closer to 1 than 1-ε is. Indeed, there are infinite numbers infinitely close to 1! (and none is really represented by 0.999...)

comment 6y ago · link · parent

COVID-19 isn't caused by this virus (Influenza A), it's caused by SARS-CoV-2.

comment 6y ago · link · parent

Or.. if you run untrusted code, such as a web browser with Javascript enabled.

comment 6y ago · link · parent

Then maybe Honduras should bail out them?

comment 6y ago · link · parent

Here's a Nebraskan protocol for reuse of disposable masks

https://www.nebraskamed.com/sites/default/files/documents/co...

comment 6y ago · link · parent

Here's what you are missing: the labor laws of your country sucks.

comment 6y ago · link · parent

Ohhhh, that's true!

https://en.wikipedia.org/wiki/Beacon#For_defensive_communica...

comment 6y ago · link · parent

There's something like this in the movie Lord of the Rings: The Return of the King

https://www.youtube.com/watch?v=i6LGJ7evrAg

I wonder if this method of communication was EVER used by any civilization.

comment 6y ago · link · parent

Wikidata is actually used by Wikipedia though.

comment 6y ago · link · parent

Then it means that growth has slowed down, right?

Exponential growth has ever-increasing slope.

comment 6y ago · link · parent

Self-reflection is important, but sometimes people are just crazy.

comment 6y ago · link · parent

After the quarantine was done, it's been established that he doesn't have the virus and can't transmit to you.

He can however get infected after an outbreak in your community

12