skysight-inc/HackerNews huggingface dataset:
I know, we should also get rid of Calculators because people should just do all math in there head

Hell let get rid of computers as well, people should just do everything manually, if you need to communicate drive to the person an talk to them, if you need to write something get out the hammer, chisel and rock...

</endsarcasm>

No Computers, Spell Check, nor grammar check has not ruined civilization or made people stop learning things...
The anti-nuclear sentiment isn't universal in the EU, France is strongly in favor of nuclear power, for example.

Germany is one of the more vocal opponents to nuclear power. Reliance on Russian gas started in the 70s, as part of the Ostpolitik. It was a deliberate decision during the cold war under the theory that trade partners don't wage wars.

The anti-nuclear stance started in the 70s as well (although a bit later) as part of the peace movement (building nukes is comparably easy when you have all the tech around as a byproduct of civilian use. See IAEA) and went in full force after Chernobyl blew up (in some parts of Germany wild mushrooms and boar are still contaminated today). It took until 2000 to bear fruits though because the Green party ("anti-nuclear" is their reason d'être) first came to federal power in 1998.

The peace movement leaned left and there has been some Russian influence in left circles but it seems unlikely that 1970's Russia ran a "abolish nuclear so you buy more gas" campaign. If there has been any anti-nuclear campaign on their part it was aiming to keep nuclear weapons out of West Germany (none of the above surfaced in East Germany).

The 2010/2011 detour in German politics (delaying the nuclear turn down by 14 years, then mostly re-reversing the decision after Fukushima) is just a minor side note in that (net effect: it delayed the exit by ~5 years).
Cyber warfare attack is when you damage critical infrastructure of enemy

And cyber defense:

"... in cyberspace, it is much easier to attack than to defend. The primary defense we have against military attacks in cyberspace is counterattack and the threat of counterattack that leads to deterrence."
I'm pretty sure you cannot just "go walking outside for as long as you wanted" when you are in jail.
Yes, grammarly is an excellent data exfiltrator, don't ever use it while typing anything you don't want published externally.

The easiest way to do that (instead of being constantly aware) is to just never use it (or anything like it that sends all your private typing to somewhere else).
the mention of "staff" in the last sentence of the post suggests that it's about a prison
Surfshark Nexus: a cutting-edge technology to change VPNs
Which one? It's not obvious.
DevCycle (YC W14) is hiring engineers at all levels
I think with all information, especially on places like hackernews where people are generally anonymous, you need to be careful what you believe and not. There is a lot of opinion, subjectivity, marketing, double agendas, false information and people commenting on and writing about topics they might not have expertise in (like me commenting on this!).

As long as there is debate, multiple viewpoints, and you don't believe everything you read automatically, it doesn't really matter imo. Unless they can somehow apply heavy censorship, or overwhelm the system I don't think you can really influence things much.
You are suggesting to attack NATO countries. Do you want WW3?
Check out the studies and lectures by Stephen Krashen if you want to hear from an academic that's been studying this for 40 years.
Hello!

Immediate use case would be sampling. Say you like a certain sound in a song and would like to use it as a starting point for your own sound patch.

I also believe that transfer learning has benefits even for making great sounding instruments in cases where you have access to lots of data. That’s my intuition at least.

At the very least, it saves you a lot of memory/bandwith. Instead of having one large model per instrument you only need one large models with a few extra instrument specific weights.
Well, I suppose a form of this technically has already happened. Sakiko Fujita is the voice actor who was employed to create the samples for the Vocaloid Hatsune Miku. The copyright holder currently is SEGA.
That's true. But that's not what people mean when they accuse Facebook or Twitter about having their political agenda.
Russia now threatens Sweden, Finland – are they next?
Ask HN: Best practice for storing API keys securely in a B2B SaaS
My company builds B2B software that has integrations with other systems.
These usually require an API key or similar.

When connecting to these systems, we need the API key as plain text.

What is the best practice for storing integrations API keys?

Storing it as plain text in our DB, might be risky in case our DB is compromised.

Thanks
>> We have a bounty of evidence that WeChat is heavily monitored and censored.

> Amazing. All social media is heavily monitored and censored everywhere. We can argue degrees but it's all censored.

Well, similarly we could argue is a real difference between firecrackers and thousand pounds bombs.
I'll try to answer this from a consumer point of view. It makes a ton of sense for a startup to do this. As a potential client of this, I may end up liking it a lot but worry if this company is going to be around in a year. Open source means that if I HAD to, I can run it myself. That said, our company would rather not run it ourselves. Managed services, SaaS, etc. are ideal for us. So being more permissive and a managed service/SaaS is the best combination for us looking at it as a potential customer. If this gets super popular, it's likely that the existing customers won't want to switch even if someone else offers it.
Yeah, I came here to say this.

In particular, I remember a bit about how to take an alternator from a car, use a river's current and a paddle-wheel to spin it, and tada: you've made a hydro-electric generator.

Each one provides a small but consistent amount of electricity, so if you need more power, find another alternator.
> Convincing Americans to stop buy their wares is a huge task.

Its actually super easy, you impose 200% tariff, and people will start buying from Korea, Indonesia, Brasil and India.
It would be interesting to know if such diets also reduce all-cause mortality. That isn't a given. The study is based on questionnaires that also include strokes, heart attacks and diabetes. But those results aren't in the article either, and it seems to be non-trivial to extract them from the linked papers.
I think this has things the wrong way around. Russia and China have for the last twenty years been trying to break free of the dollar-centric financial system with some degree of success: both countries have, for instance, built up large gold reserves. Now Russia is using that prior preparation to engage in old-fashioned revanchism. Rather than being a move in a bigger game, I think this is Russia cashing in its chips.

The potential for bad consequences for Russia in the months ahead depends to a large degree on how China reacts.
Such operations often consume `self` in Rust, resulting in compile time errors:

use std::io::{self, *};

fn main() -> io::Result<()> {
let mut f = std::fs::File::create("asdf.txt")?;
writeln!(f, "asdf")?;
drop(f); // closes asdf.txt
writeln!(f, "asdf")?; // error[E0382]: borrow of moved value: `f`
Ok(())
}

Full diagnostics:

error[E0382]: borrow of moved value: `f`
--> src/main.rs:7:5
|
4 | let mut f = std::fs::File::create("asdf")?;
| ----- move occurs because `f` has type `File`, which does not implement the `Copy` trait
5 | writeln!(f, "asdf")?;
6 | drop(f);
| - value moved here
7 | writeln!(f, "asdf")?;
| ^^^^^^^^^^^^^^^^^^^ value borrowed here after move
|
= note: this error originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0382`.

Of course, a socket timing out or a drive getting unmounted could still yank a handle out from under these APIs, and e.g. C++ still allows for using such zombie objects. There are also ways to help catch such bugs in GCed languages as well (be it ObjectDisposedException making such bugs shallower in C#, or using lambdas/blocks for scopes to turn continued object use into a syntax error:)

# Ruby
File.open("asdf.txt", "w") do |f|
f.write("asdf")
end
f.write("asdf") # f wasn't in scope

Ruby's dynamic nature means this will still fail at runtime, but similar patterns in C# can force compile time syntax errors for use after close.

EDIT: You even see this pattern in Rust, occasionally, to limit reference lifetimes to avoid soundness issues (e.g. all the annoying `.with(...)` blocks you see when using thread_local! : https://doc.rust-lang.org/std/thread/struct.LocalKey.html ).
It is extremely useful, if you have the time to spend on it, to investigate and help repair any open source vulnerabilities you can. The cleaner underlying libraries are the better all of our defenses get - it's not as glamorous as being a 1337 h4x0r but contributing to a core library provides an immense amount of value.
It is sometimes possible to work around "quirks", particularly when no malice is intended. When it is a question of security, and fending off attackers, the most obvious fix is rarely any kind of fix at all. Attackers can see what you did, and simply step around it.

Bragging about how you put in your broken fix and somebody else didn't tends to attract what may be unwelcome attention.
Bows and arrows. Easy to make if you have a steady hand, a blade, and a hatchet. The strings are the hard part to make on the go, but doable.
> Will the rest of NATO really risk a nuclear war if Russia decides to invade one of Latvia/Lithuania/Montenegro/Estonia?

American here. Yes. Fuck with us. Please.

Biden is our president right now and his temperament does seem to be less than what is required.

> As recently as last year, the US had an anti-NATO President.

There's a lot fucked up about NATO and its post Soviet history, including our recent president. However, it was largely neglected and America was bearing the brunt of its cost and few of its benefits. Seeking to make it more equitable and discouraging Russian energy dependence is not the same as being "antiNATO".
Intracellular Reverse Transcription of mRNA Vaccine in Human Liver Cell Line
... Including never posting this question to HN!
Compared to the other things the soldiers will likely be doing, this sounds like an irrelevant problem.
A shovel, hoe, ax, wheels, maybe a lathe.

Actually, the biggest technology you'd need--and one that's probably irreparably lost in the United States, is a community.
Russia is banned from Eurovision after invasion of Ukraine
Best thing is probably just to secure your own devices so that your stuff isn't used as a zombie and you don't become part of the mess that needs to be cleaned up (taking resources away from other things).

Otherwise, maybe try to join your country's cyber warfare group or cyber security in a company. You could try reading up on cyber warfare and practicing on an self-owned network that is not connected to other devices (so you don't accidentally impact anyone else). But I don't think this will be that helpful in most circumstances.
Wow, I really have no interest in OS development but that is one of the best resources I have ever seen for understanding Rust. Just read the section on async/await and it demystified everything I didn't understand.
I'm more representative of the US today than the long gone population of 1939 is at this point.

In 1939, the nation was weary of being involved with European wars, having just finished one 20 years prior. My family fought in both of them. My grandfather (RIP) had scars up and down his body from German gunfire. My great grandfather, who was a grandchild of Germany himself, fought in the French trenches before him. I'm a descendent of the people of 1939 USA, we did learn and we changed. I'm the product.

Further, I think I am taking the lesson correctly. It's not about the "wisdom of the masses" (which I do not believe in) as you suggest, but rather doing the right thing as soon as possible. We made a mistake in 1939, I believe the people of the US today are a proud and noble people, unafraid of self-sacrifice and doing the right thing for humanity and world peace.

Hitler nearly won. I've never seen a more worthy time to commit our lives to a cause than today, at least in the course of my life.

This is a once in a lifetime calling of our conscience that we have to answer. We'll be answering it anyway, on less favorable terms later on.
It's increasingly difficult to tell what's going to be critical infrastructure and what isn't. The same is true in the real world; a defender or a belligerent alike might hope that the grain mill in the village will be functional when winter rolls in. Whether it is or not could depend on the work of someone who isn't even aware of the concept of a job title.
He did what he had to do to find a safe heaven. Nobody could blame him for that. However, his opinion from then on has to be treated with a huge grain of salt. Russia is more than capable of using him as propaganda as condition for protecting him. Why is that difficult to accept?
The problem with breathing the stuff is that it may stay with you for quite a while. This isn't the worst thing with gamma radiation since most radiation will just pass through the body, but beta or alpha radiation could be worrying if that's still present (I don't know if it is, but disturbing the ground in Chernobyl and breathing the resulting dust doesn't sound like the safest way to find out)
Sure, but then you'd want to hide it behind an `--i-really-know-what-im-doing` flag to prevent people from shooting themselves in the foot.

Also, even if the persistence is elsewhere in the stack, it's not obvious to me how disaster recovery will actually work. Same with accounting (e.g. marking a message as sent). I'm not saying it's not possible, it's just not immediately obvious to me how you can make that both simple and robust.
This reminds me of a task in my list that has been sitting there for nearly a decade:

instrument FIR from song (justice - let there be light)

Here is the spectrogram of the sound I'm talking about:

https://imgur.com/kmtoMkd

It's pretty easy to filter out the drums since most of the energy is in other bands. Looking at the spectrum again I don't think a simple spectral replication will nail the sound right. It looks like there is some sort of beat phenomenon that isn't present at all center frequencies.
You're missing the value-prop of Grammarly -- to help someone who doesn't know write more like a fluent native English speaker. Helping someone write "more average" is exactly the point until they're fluent enough to know when and how to break the rules.

Wait until you find out about the 5 paragraph essay that's taught in HS that follows this model.
No one person in the world is capable of making a pencil from scratch! [1]

Given that, i would think the big factor in building anything post-apocalypse is communication. So i guess my answer would be paper and pens. Hard paper copies of as much information as possible and blank paper to write letters.

Computers are the end product in a long long tech tree. So the question just seems sort of non-sensical to me. Like if we get to the point where we rebuild society enough to even consider computers, we have already solved food, shelter, heating, manufacturing, mining etc. At that point its mostly a matter of information - just archiving as much info as possible on stuff like silicon manufacturing, linux source code, electronics etc. would be enough.

[1] https://www.econlib.org/library/Essays/rdPncl.html?chapter_n...
Not if you're Amish. :)
> What needs to be tested is how well do you know your domain

I pretty much never look for this in an interview, outside of specific claims from the candidate, specific needs for the position, or the bare minimum.

I try to evaluate candidates for their ability to think, reason and operate in a domain. Knowledge is easy to acquire and useless in the face of changing tech.
Imagine the outrage if there was a "White Coder's Conference"
I'm going to be brutally blunt. If you have to ask in a forum, you're not hacker material. A better option for someone eager but skill-less would be to enlist in one of the branches of armed forces in your country.
does it actually matter that people don't all the grammar rules or how to spell things?

Does it matter if someone does not write with perfect grammar and spelling? Probably not.

However at some point you have drifted so far from normal conventions that you are no longer communicating effectively. You can make reasonable arguments about both prescriptivism and descriptivism but if your spelling and grammar are so bad that someone can't understand you then you're not a descriptivist, you're just wrong.

I have encountered this more often than I'd like in professional settings. I work in software development, a field where precision is important, so if I'm looking at your job application and it's full of basic language errors then I absolutely will judge you for that.
If you are in EU, then I would say building wireless mesh computer networks, maybe also creating longer range low bandwidth wireless links.
It's really just the same kinda thing that fills most coding interviews (that aren't just pure live coding challenges): the interviewer is testing for something that isn't directly relevant to the role, because of course in the real role you'd be able to (and should!) research all the appropriate meta tags you should have on your web site, but since the interviewer deems it too difficult to actually directly test for the ability to do the job, they instead test for things that surely the candidate must have ran into before and has a good enough memory to at least have a conversation so that I can subjectively judge how skilled the candidate is.
150,000 people in Washington, DC, protested the Iraq war when it was getting started.

It, uh, didn't accomplish much. I'm not sure that the Ministry of Foreign Affairs is any more inclined to listen to protests than the Department of State was.
hackthebox.eu provides good training

Not sure if it’ll be enough
Right, but it hasn't actually accomplished anything other than making their populations suffer. Every single one of these regimes are still around. The sanctions haven't succeeded in anything other than making the countries more miserable places to live in.

If the premise was that the governments would care about their people and give in, or the people would turn on their governments, then no, that's just not happened.
For years I had a custom script sync my ~/.ssh directory on my primary workstation to my laptop, to pick up new keys and config changes. It failed after I switched from Ubuntu to Fedora, and I was surprised to discover --xattrs fixed it.

tl;dr try this if rsync fails in unexpected ways:

echo "Syncing ~/.ssh directory"
rsync --archive --delete --xattrs ~/.ssh/ laptop:.ssh/
Enlighten us then.
https://internet-in-a-box.org/ runs on a Raspberry Pi and provides offline access to wikipedia and some other content
Sweet.

I’m sure the subject of a confidential investigation that could result in losing custody of their children would appreciate that Grammarly simplified that jargon in some attorney’s report. No problem at all that it’s stored in the cloud somewhere, monetized, or reviewed by some contractor somewhere.
Right, but do you have privacy on Facebook anyway? Already seems like a lost cause in that realm.
Sounds like decentralized consensus in crypto world
In an idealized situation, every company in the world will all move to a country to make an extra $0.01/unit, if they can all make it and make it reliably.
Small motors have a variety of uses in this kind of scenario, fuel limited of course. They can provide electric power, but also power your mills and other machinery. They're also (relatively) easy to maintain and repair, not a skill everyone has, but a skill nearly everyone can learn.

Of course, since it is fuel limited you'd want watermills and windmills, along with other manual (human or animal) powered systems, for driving machinery most of the time. Now, if you can get a diesel system going then you have the possibility of using biodiesel which would alleviate some parts of the fuel problem, assuming you have a source to produce the biofuels from.
I actually really like this and I’m a bit surprised to see all the pushback. If someone asked me this in an interview, I would have no problem talking about all of the stuff (origin trials, I might have messed up, but I might have been able to BS my way through the answer depending on the full length of the line and what context I could glean from it) and even now standards and boilerplate and defaults have evolved over the years.

Now, whether or not that would be a good indicator for my viability as a front-end dev, I’m not sure. But at least it would show I have an understanding of what is going on and how to read and explain it. Which is better than a lot of leetcode exercises.

I actually like the idea of asking people to explain code to them — even if it isn’t something like the first ten lines. If I’m proficient in a language, I should hopefully have a good idea of what is going on, at least in a sample app. And that is a useful skill, especially if your job is to come into an already established codebase.
Content moderation is hard and Facebook often makes mistakes and sometimes even intentionally does harmful stuff vs Russia invading its neighbor with no justification at all.

Yeah, that‘s a comparison that does make sense to make. I’m sarcastic here.

Are people deliberately missing the point or intentionally evil?
> Imagine Mexico for any reason would invite Russian army.

I've heard this "analogy" brought up several times in the last couple days, but I just don't find it persuasive or similar, or really actually matter.

If Mexico decided to invite the Russian army in for whatever reason, that is their choice as a sovereign nation. I (as an American) would be super worried about that, but I would also think that the US should probably be asking itself why Mexico had chosen to do this instead of allying itself with the US.

And that's really the heart of this for me: despite Ukraine's history with Russia, they seem to feel that joining NATO is better for their security and safety. Russia should take a hard look at themselves and ask why that's the case, and maybe adjust their behavior so they'd be considered a more trustworthy partner.

But of course that would never happen; instead we have a dictator who believes Russia has some natural right to Ukraine's lands, and will take it by force if necessary. If the US were behaving that way toward Mexico, I absolutely wouldn't blame them for looking for outside help. It would be irresponsible for them not to.
i tried to start a discussion here about it too https://news.ycombinator.com/item?id=29665487
That's a Gan but with more steps right?
1) Having more money than the median doesn't put in you in the ruling class. 2) How does the proportion of HN users that are ruling vs working class add to the conversation about not abusing the working class?
These tiny eInk screens are fun and it is nice to see them pop up in more places. They are a bit of a pain to work with if you want anything more than just "black and white, full flashing refresh" but with effort you can coax greyscale and partial updates out of them, despite them not officially supporting such features. I published some info here: http://dmitry.gr/?r=05.Projects&proj=29.%20eInk%20Price%20Ta...
Isn't that kind of how all sanctions work? Eliminating trade hurts both parties equally, though the effects will be felt less to the bigger party.