skysight-inc/HackerNews huggingface dataset:
HN Dark Mode Safari Extension
You can sign up for cloud. It is free.
> Also a big downside with JavaScript.

Can't Node run multiple processes (or multiple workers, not sure of the proper terminology) on multiple cores? As discussed in this thread on StackOverflow: https://stackoverflow.com/questions/61893497/node-js-on-mult...
A lot of these plastic-recycling products don't cope with the big issue of pollution with micro plastic particles. I read about making pavement from plastic waste. Sure you can do that, but the plastic will be slowly worn down and the micro particles will pollute everything. That's the same problem with low quality plastics being recycled into household items. I see a health risk here. I will prefer something from wood, glass or metal - or from high quality (and bio-degradable?) plastics.
Photographers have also been turned away from the crisis at the US/Mexico border.

Authoritarianism seems to be on the rise.

https://www.washingtonpost.com/outlook/2021/03/22/journalist...
Nope, works with both eyes.

Your brain takes a lot more cues for depth than stereoscopic vision. The way the perspective changes as you move your head around is sufficient even for a flat display. It’s uncanny.

Only works for one person though. If you stand at an off angle to the sensors, there’s no effect at all.
Numpy operations release the GIL (usually at least) so you can use a threadpool and, indeed, share memory. Just try it and you may be pleasantly surprised.

Dask is great if you’re processing large amounts of data, and it recommends and supports threads for this reason.
Young people to be reinfected with Covid for study
How applicable is this to eastern musical scales?
> the issue is personalized ads. It shouldn't exist

Why shouldn't personalized ads exist?

> advertisers would make just as much money without it if it were illegal

It depends very much on the advertiser. Advertisers with broad interest or close matches to specific publication types, sure, but that's not everyone. One way to think of this would be to imagine a world in which advertisers couldn't even choose where their ad appeared -- they would make less money then, without the ability to target contextually, right? There are many valuable transactions that only happen because the right information is given to the right person, and the less well-targeted ads are the more of those you lose.

The story is even worse for publishers. There are major kinds of publishing with negligible commercial tie-in. Historically, the expense of producing a newspaper or magazine meant that you were never holding a single article, and it could be treated essentially as one unit for advertising purposes. But now it is very common for articles to be shared in isolation, which means this cross-subsidy disappears.
Every rigid object has a fundamental frequency, regardless of whether you put it on a graph.
Hah. I started to make something like this years ago, but got distracted early on. This looks great, and I'm jealous :)
I use "market failure" colloquially I guess, yes.

I use it to mean that despite demonstrated technological viability by multiple vendors, and despite the devices providing a solution to the issue of actual portability beyond closed rooms, the market has failed to make these devices accessible.

IIRC one of the problems is that the benefit doesn't become obvious in "good" lighting conditions like a walmart building. In that way I'm putting much of the blame in this on the buying side of the market for making shallow, lazy buying decisions. But the producers are equally to blame here. Nobody made a serious first move, so no competition evolved, despite the availability of transflectives being technically governed by market forces.
it could be argued that this is music theory, and therefore sound belongs to the realm of music practice
Ingenuity Is Airborne
The Real-Life Engineering Inspirations of Star Wars' Spacecraft
The US and the UK have the most open policies and are overwhelmingly the most welcoming to migrants.

Both in practice and in culture.

The hints of Trumpism and Brexit 'nationalism' are essentially bigotry on the part of the author.

The paradox is if you have quite a lot of newcomers, that's going to make some people upset, or at least the policy will get attention. If you have few newcomers, it means there's little discussion but that doesn't mean the place is welcoming.

And some of it is just a matter of regular cultural barriers: Germany is a tough nut to crack even linguistically, let alone the culture. In America, it's 'English' and beyond that, there's little to worry about.

While Brexit has certainly caused some degree of unknowns because a former policy with the EU has changed, I think it will be sorted out.

Since there has been some policy change, the premise of the article I think is fair, but the wording was a little bit snide.

The data concerning attitudes towards immigrants consistently denies the narrative in the press regarding US/UK migrant populism. Have a look [1].

Survey after survey from generally the most respected institutions tend to reveal the same thing and that is the Anglosphere is considerably more open than other places. I don't consider that any kind of moral basis, however, it is a reality.

[1] https://www.pewresearch.org/global/2019/03/14/around-the-wor...

Edit: I should add that the US/UK are not only the #1 destination for migrants, they also accept considerably more migrants per capita than most places, though not as much as Canada/Australia, notably, Anglosphere countries.

The evidence is overwhelming and undeniable that those places are generally good for migrants, almost all of the data supports it (number accepted, destination, openness, views of migrants etc). As noted below - the US system is rather bureaucratic, but it in the end it does extend status to mangy millions of people a year, a higher number (and per capita than most places so it's not that bad).

If you want to contend this, this you'll have to provide evidence other than the rather indirect notion of 'Trump said something mean'.
System 6 is definitely faster. The apps I use run on System 7 and I enjoy the experience more as it's closer to macOS X in a lot of ways whilst System 6 isn't. I run System 6 on my Macintosh Classic for speed-critical apps but 7.1 is my daily driver on that. Using BasiliskII, for the benefits it provides, mean that System 6 isn't an option. But it runs System 7 plenty fast on the iPad Pro.
It has been a long time since I studied this but I recall something about black and white CCDs having shorter shutter/exposure times required, for a given luminance and aperture... The downward facing cam may also be global shutter and not rolling shutter?
With adults, not every conversation has to be about history either party can control, so the relationship usually looks towards the future.
Representing SHA-256 Hashes as Avatars
As I noted in my previous comment I had a similar gut reaction. However reading the paper, for me the most interesting conclusion was this:

Thus, this paper has shown how we can use deep learning in an offline setting to derive insights that lead to an improved set of features with which to make
predictions for cache replacement.
More broadly, our approach in designing Glider suggests that deep learning can play an important role in systematically exploring features and feature representations that can improve the effectiveness of much simpler models, such as perceptrons and SVMs.
Thank you, it means a lot
> There is no problem at all interfacing Julia's C API to Rust

Nobody claimed there was a problem?

> As for the FUD about interfacing JIT code to C/C++

I don't know what you're talking about. Sorry!
Many objects don't have audible vibration modes (infrasonic, ultrasonic, so damped that sounds are too brief and too quiet) but it doesn't mean that they don't vibrate.
Why Your Startup Idea Isn't Taking Off
Considering how long ago the OLPC project was, hopefully the patents are running out soon.
Unfortunately i had this idea just before i changed jobs to a "server-full" position, and now I'm on parental, so i don't have this proxy lambda implemented as a generic solution :(

I only had a PoC and then told myself this would be brilliant as an abstraction
one word: pybind11

I honestly think people are severely underestimating what a massive impact this is currently having in increasing productivity of python devs who know a little C++.
I'm all in favor of studying the evidence of how SARS-CoV-2 is transmitted. But at this point, debating whether it's airborne or not is a bit like debating whether the sky is blue. Yes, there are exceptions, but the broad nature of how SARS-CoV-2 is transmitted has been obvious, since at least March 2020, to anyone who has been paying attention. Anyone still in denial of this fact is out of touch with reality.
The 400 model of Pi has a potential to start something comparable to microcomputer boom in the 80s and become first step into ARM desktops (again) I believe and also become the standard for machines used in education - if someone will play this out well. Smartphones and tablets dominate consumer market nowadays for sure but these are largely entertaining devices only not offering much when it comes to education; of course you can install apps but you're still limited by form factor.
> the new Dominic Cummings-inspired DARPA-like science funding plan

This is a massive cut to research.

https://blogs.bmj.com/bmj/2021/03/17/the-government-must-urg...

https://sciencebusiness.net/framework-programmes/news/uk-sci...

The unwillingness of anyone to take credit for decarbonising the UK is very odd.
The paper claims that stricter rate limits are a possible solution to this issue, and that with stricter limits in place "crawling entire countries would only be feasible for very powerful attackers". I don't think I agree. Take Signal: the authors managed to crawl all US phone numbers in 25 days, using 100 accounts. Their proposed stricter rate limits force an approx 50x slowdown on an attacker (Table V), which seems to imply that over the same crawl period an attacker would require 5000 accounts. If we assume that virtual SMS numbers are around $5 each, then the attack now costs about $25k, which is about 0.001% the GDP of East Timor.

They also propose a global salt as a mitigation. I'm a little confused there too, because wouldn't the salt need to be present in the endpoint application? If so it would be trivial to extract.

Their proposal of using a key stretching hash algorithm (e.g. Argon2) seems reasonable? At a significant increase in cost on the server side.
AFAIK Stevie's songs uses a lot of black keys due to being easier to him to locate them using touch instead of sight.
If you can somehow extract your browsing history, archivebox can ingest a list of links
That’s true, this might actually work if it’s done at the household or neighborhood level. The big problems with recycling plastic are manual sorting and cleaning the gross stuff people leave in it. If you’re recycling your own waste you can tackle those problems easily. If it’s your neighbour’s water then you can ask them to be responsible or lose access to your service and good will.
Show HN: r2t2 – Transmit data with the PC speaker
I think it's more like making negative interest rates or a wealth tax unavoidable...

/TinFoilHat
School: Society's Most Broken Machine
It would be awesome to add short audio clips. I mean, the examples are correct and all, but it's like discussing painting or photography without a single picture.
Whatever the net rate of migration in IT workers, it's not something an individual is going to notice in terms of offers.
Kays vision is like if we only had JavaScript drawing directly to the screen, and no HTML or any of the other web standards. In such a web we wouldn't have search engines, probably not even links.

The object oriented paradigm (with data and behavior encapsulated in black-box objects) works fine for software systems, but it absolutely fails for large decentralized communication systems. TBL understood that and instead based the web on declarative data formats, and eliminated the behavior to a few verbs (GET, POST etc.) with constrained semantics.

OOP is great when appropriate but it seems Kay doesn't recognize the limitations of the paradigm. Even Java have abandoned the strict object-dogmatism and embrace more data-oriented patterns.
In infectious disease, "airborne" is defined to mean a certain maximum droplet size threshold, which I think is 100% misleading to non-specialists, but one can see why that might make sense to specialists.

(I'm not an infectious disease specialist, so the above took me by surprise when I learned it.)
> The US and the UK have the most open policies and are overwhelmingly the most welcoming to migrants.

[citation needed], along with a definition of "welcoming".
Although very slow, it works in Firefox 87/Linux... In dear need of optimizations...
Hi HN,

r2t2 is a command-line tool for transmitting data through sound using the PC speaker on the motherboard. The name of the tool is a reference to the R2-D2 robot from Star Wars :)

In short, you type some message and it gets FSK modulated and transmitted via sound through the PC speaker. Note that this is the speaker/buzzer that you connect to the motherboard and not the regular speakers that you connect to the sound card.

I also made a simple web page that listens to the sound emitted by r2t2 and decodes the received messages.
The page can be used by simply opening it on your phone and placing the phone near a computer/device that emits data with r2t2.

I made this tool mostly for fun, but I think it might have some useful applications too.
The advantage of this type of communication is that the hardware is very cheap (~$1/speaker), does not require a sound card and the software is very simple and does not use any 3rd-party audio libraries.
“Dumb” by what metric? Even high education/income immigrants have cultural incompatibilities that may justify wanting to restrict immigration.

My family is first generation immigrants from Bangladesh, and my wife’s family is descended from the pioneers that settled the west coast. We’re quite westernized, but there are profound cultural disconnects under the surface.

For example, like many Asians, my dad has a very paternalistic view of government and elites. He thinks the job of leaders should be to “educate the common people” to accept what’s good for them. This drives my wife nuts when they argue politics, because she fully embraces traditional American populism (“wisdom of the ‘common man’”).

Even high education/income immigrants change the culture of the country. (And “culture matters” as anyone from Silicon Valley should know.) We can argue whether these changes are good or bad. But there is more to immigration than just economic effects.
Thanks. I forgot a few things, like Alpaca, a programmable, Emacs-like WYSIWYG word processor I wrote with CCL in around 2002, and AllegroGraph--I did some work on it in around 2010.

I also left out a bunch of library projects that live on Github.
Master of PWN
> Can't Node run multiple processes

Of course, but you can also run multiple Python processes.
Firefox has night mode in mobile devices
Can't the chairs of state start acting like CEOs of their countries rather than like royals who need to fly 200 people just to have a chat? They can talk on zoom, all we need to know is "chairman of india spoke to chairman of uk and the following things changed:"
Here you go: https://www.theguardian.com/us-news/2018/jun/25/americans-mo...
Broken link - you shouldn't have the "html" on the end.

And it was submitted earlier ... here:

https://news.ycombinator.com/item?id=26861297
May build? There's about 500,000 MW of coal plants under construction right now in the world. Roughly 30% increase vs operating coal plants. There is no may, there is only will.

What are you to build otherwise? Nuclear? Environmentalists are against those as well.
Please tell me how I can transfer one pound from me to you using a 20 line Python script? That's what people mean by digital currency.

If you are going to mention the open banking API initiative, then what are the requirements to get access to that? You can't as an individual.

Also, this was the easy case, inter-UK. Now tell me how to transfer using Python and without applying to all kinds of regulators for API access a pound from a UK account to a US/EU/Japan account.
2400 rpm, or about the same speed as the propeller of a prop airplane. A shutter speed of around 1/4000s should be enough to stop the motion quite effectively. The shadow's directly underneath so it seems to be local noon and there should be plenty of light (I guess the "sunny 16" rule of thumb[1] on Mars is more like "sunny 13" or "sunny 11" though :D)

However, I'm curious about the lack of any rolling shutter effect[2]; I wonder if the camera has a proper mechanical shutter rather than an electronic one, or even a global shutter?

[1] https://en.wikipedia.org/wiki/Sunny_16_rule

[2] https://en.wikipedia.org/wiki/Rolling_shutter
Arbil: FDP wants to issue blockchain-based CO₂ emission certificates (2019)
Carlo Rovelli – Is the ‘new muon’ a great scientific discovery?
The funniest thing I've seen on HN in quite a while. You could even monetise it by marketing to those people who are fans of pre-decimal currency for bizarre political reasons.
Show HN: I built a Mac to do app to scratch my own itch
I write things down because my ADHD brain is always all over the place, and never found a to do app that takes less effort than pen and paper, so I made one. After years of running my life on Supreme, I finally gave it a much needed update.

Supreme runs offline and I don’t store any personal data, so it’s only available for Mac and iOS for now syncing over iCloud. Any suggestions for what I should use for universal sync (i.e. +PC, Android) without running a server with users’ data on it? Thanks!
>3,000 gallons

In a lab. With rats.

In Houston. With People:

Herman said it took firefighters nearly four hours and more than 30,000 gallons of water to extinguish the fire. [1]

[1] https://www.khou.com/mobile/article/news/local/tesla-spring-...
The only thing this has in common with Bitcoin is "digital". The rest is pretty much opposite of what Bitcoin was supposed to be. (And I say "was supposed to be" because everyone has a different idea about what Bitcoin is today. But that's not related to this discussion here.)
I misread your comment. I still consider what you wrote contained FUD, at least with respect to the last paragraph.
Just a heads up, Carbon won't even talk to you unless you already have thousands of visitors per day...
“National government may have limited formal powers to stop any super league. But local government may have more, stronger and long forgotten powers. Football Clubs use the name of their towns and cities with the permission of the local council. If Liverpool Council decides it no longer wants Liverpool FC to bear its name, then they could withdraw that right. The club could still exist and play in the new ESL but call itself something else (Red Mersey?) but they could no longer call itself Liverpool. That would be an utterly extraordinary move but maybe even the threat would be something.”

Interesting idea
The Muse (YC W12) is building out our design team – come join
The Psycopg3 Project
> The US and the UK have the most open policies and are overwhelmingly the most welcoming to migrants.

Yes you can see how open those policies are when you apply for a visa or are interrogated at any point of entry of these countries.
A real hard requirement is going to be resource pools such as session linked connection pools with associated data. But there are just plenty of places where you don't want to be forced into a message passing architecture for a service and shared memory may be a better fit.
I believe the toolchain of Rust is nicer in that you get a relatively small sized and self-contained rust library that can be easily distributed with a python package. Julia can't be easily bundled this way because you need to ship the entire runtime, with all the gubbins this entails.

On the other hand: having used pyo3 to integrate rust with python in the past, the biggest pain is simply to reconcile the dynamism of python with AOT compiled rust code. There's a lot of noise at the interface from the large amount of type checking to unpack the specific types of numpy arrays coming across. Do you want to have your rust code work with all sorts of integer bit lengths? That'll be a code path for each. If you have a number of input types, have fun coercing them all.

This can be alleviated with macros to a degree, but that just hides the problem really.

Julia is JIT compiled, which means that there are no problems with types being determined only at run time. In fact, this one fact makes integration at the code level much nicer with Julia.

So all in all it's a tradeoff really. I also found the tooling for Rust to be much more robust and stable (1 year ago admittedly).
I spend about 5-10 minutes putting together an agenda that includes references to background context, purpose, and expected outcome.

If the background material is essential I include a prep time estimate.

I decline meetings that are unclear what they are and say why. If the agenda is sparse or I don’t understand why it’s taking an hour, I suggest 30 or 15 minutes, etc

I connect in 2-3 minutes early for some zoom chitchat before the meeting starts.

When I see good agendas, prep, organization in a meeting, I verbally tell people how their meeting prep materials helped me.

I always leave my camera on as it helps me when I can see others to tell when they are about to talk, when they are multitasking or when they look bored or even step away.

I’m not sure how to set up org culture, but I figure by modeling and testing out different approaches it helps.
India’s Mini-Craze for Bicycling Around the World
You can get somewhat faster results using steroids (provided you are a decent responder and don't experience strong sides), sure. However, the overwhelming majority of people complaining about (often hypothetical) drug users are not putting in even minimal effort and haven't taken the time to learn how to train properly. I'm unconvinced that this is anything but a way to protect their ego and simultaneously feel cheated of the god-like bodies they would most assuredly have if it wasn't for their superior morals and judgement. It comes as no surprise that those very people don't get anywhere once they hop on gear, which is something I've witnessed firsthand a few times.
In America, guilt beyond reasonable doubt must be determined for someone to be found guilty. Both sides get the opportunity to state their case, and above is their list of why there is potential doubt in guilt. It's our legal system working.
This article lists some code quality tools for GitHub, which is fine. But I'd find it more useful to have a list of VS Code extensions or CLI tools for code quality first. My starting point for adopting new tools is usually in my local workflow first.
Python Guide to Maximum Likelihood Estimation
I've been using JAX (https://jax.readthedocs.io/en/latest/) for scientific computing in general (in particular MCMC algorithms), as it's really fast. Even on a CPU you get massive speedups compared to numpy (can be up to 2 or 3 orders of magnitude faster in some cases).

The main selling point of the library is automatic differential and compilation to XLA, but I've been using it even when I don't need gradients, as it's really fast (due to compilation). I also really like the random number generator as it's very good for reproducibility.

I've played around with Julia in the past and really liked it, but in terms speed Jax has pretty much solved that problem for me
After reading all the answers here, you probably sum it up very well!
Single-use plastics dominate debris on the North Pacific's deep ocean floor
Chinese people refer to themselves as yellow.