skysight-inc/HackerNews huggingface dataset:
I'd strongly dispute this point - these tags need to (usually) be written once per organization, occasionally you need to come in and fiddle with it, but the contents of your page header should occupy no brainspace. Additionally I think this interview question might be testing a depth of knowledge, but not one that's actually relevant for your position. I've worked on backend systems for most of my life (that and databases) and I can definitely name the purpose of most of these tags since, back before node, I'd just be popping them out in some PHP file somewhere - again, once written and then mostly forgotten about. If the job responsibilities are going to involve a modern front-end framework/language suite and your interview isn't even touching on that topic then you're not effectively interviewing for the position - you're querying about some corollary information that most people in the space will sort of know but, if I was their manager, I'd be happy as a clam if they popped over to the MDN and copy-pasted a big chunk of this as a starting point... assuming they ever actually needed to interact with it.
I've been doing web development since the web began, literally. The percentage of my time that I've cared about the stuff in this header is approximately .000047%. And when I do care, I can look it up and reacquaint myself. A full stack developer has so many things to know. This is representative of the kinds of questions that make interviewing so awful these days.

Oh, and I've interviewed hundreds of front end developers, so I've been on both sides of the table.
"Bitcoin Donations To Ukrainian Army Surpass $4 Million"

https://archive.is/9YTVe
Yes, 10 months ago and the time surrounding it, Ukrainian membership has never been viable politically or militarily so Zelensky should have seen the writing on the wall. What is sad is that NATO would allow war to happen in order to maintain the hypothetical capacity to admit a country that may no longer exist. If NATO appeasement wouldn't have contained Putin it would be nice to at least have him on record saying he is invading for other reasons.
I don't think the point is that every interviewer should ask about Twitters source code, and every interviewee should memorize it.

The point is to ask a few randomly sampled knowledge questions to measure how well rounded the candidate is. Taking the "first 10 lines of Twitter" is just one way to sample such questions.
Ask HN: How to prepare for a major downturn as a developer?
I've been reading Scott Galloway's recent post on a possible future downturn:

https://www.profgalloway.com/down-round/

His post, focused on startups in a bear market, got me thinking - how can we, as developers, best prepare for a downturn and possible recession? Are there specific sectors that are a safer bet in a recession, or should we simply focus (even) more on employability (gaining experience in multiple tech stacks, etc)? Are there lessons that people learnt from the the Dot-com Bubble and the 2007–2008 Financial Crisis that we need to remind ourselves of? Thanks in advance.
On the other hand, it will damage the Russian economy, which will in turn damage the Russian ability to field military forces.
After contemplating the nature of 1-1 meetings in startups for a while, I've wondered whether it'd make sense -- ideally -- to always have a third person in the (room / cafe / bar / hospital / bedside / cockpit / decision panel). It'd require emotional maturity and perhaps an element of vulnerability. Neat extension idea anyway, thanks for sharing.
What a ridiculous take. Yes the Russian govmt censors a lot of things. The west also does it. And more than plain censoring, which happens mostly in China, what happens the most is just building a narrative: only show what you need to be shown, diminish opposing views, augment yours, shape the narrative by building a fake opposition. These are basic strategies done since before world war 2.

The russians by and large know very well not to trust the government. But who will work best in their interest instead, will NATO? Would the US trust Europe to fix their two-party "democracy" and lack of healthcare?
Good to know, thanks! It's exactly what I need.
The Kissinger Trap. As good a name as I can think of. Rule through soft power as enacted top down from a Global power. Basically "sensible defaults" as applied to foreign policy, as interpreted by diplomats.

It leads to delegatory attitudes wherein people should cede agency to "the authorities" to broker things out and any type of personal agency being disencouraged or quashed.

Works great when people aren't interconnected to the degree we are now, but at the cost of the action potentials being much more strongly gated and open to the idiosyncracies of Heads of State, rather than genuine support across the populace.

Now you're faced with reality where funds can potentially be transfered somewhere they can do good. The reliance on a centralized facilitator is technically lower.

It'll be interesting to see if the "Game of Kings" plays out the same way when the pawns can signal betwixt themselves more easily.
If we "cut" off SWIFT it would hurt Europe and the States just as much as it would Russia because this is how all money moves. Think paying for natural gas, oil, commodities, etc etc.
How limited is the open source version? Or put another way, what besides convenience would drive me to pay instead of maintain an open source instance?
Because sanctions don't work and not everyone agree they are needed?
Founder of Svix here.

It's a great question, and there's no one definitive answer. Some context: I've been an open source developer for all my life, my previous business was also open source, and I spoke with a lot of people over the last year about the right license for us.

The main choices are: copyleft like AGPL (you want AGPL, not GPL for server applications), permissive like MIT (which we chose[0]), or so called "fair-code" which are the not-quite-open-source variants like the SSPL.

While AGPL and SSPL are "better for business", MIT is more aligned with our mission, and is better for fostering a community. You can read more about the thinking on our Show HN[1].

Either way though, all of what the stricter licenses do is make it harder for competitors to use your code in their own service. Which is important, but not the end of the world as competitors can always just copy your API, landing page, and everything else.

[0] https://github.com/svix/svix-webhooks

[1] https://news.ycombinator.com/item?id=30347858
Hah, I use an old DOS grammar checker called Grammatik.

It works well enough for me, I use it with mutt instead of ispell. Naturally, it's 100% offline.

I made a (terrible?) unboxing video a while ago: https://www.youtube.com/watch?v=6DMlaJ-ROXc
Note that it has been the choice of Sweden and Finland not to be a part of NATO. NATO would be more than happy to let them join, and the process would probably be quite quick as well. I think this is quite a significant difference from the situation with Ukraine.
Let’s say all non-trivial natural gas usage (for simplicity) is heating, and due to heat pumps you could reduce energy required to 1/3 of the energy currently provided by burning natural gas (and at 100% efficiency)

you’re still looking at about 4 trillion kWh of energy/yr (possibly a month - hard to get good data) that would be needed to do that switch.

most of it during winter.

Germany currently produces a little over 500 billion kWh of electrical energy a year.

So to replace natural gas for heating in this scenario, Germany would need to produce 9x the electrical power it currently produces. Most of it during the winter.

And not having enough production would kill people.

It isn’t a matter of not having enough heat pumps or people to install them, that’s just the immediate road block if you individually wanted to switch.

It’s a fundamental economic issue that would require investment on a scale heretofore not considered outside of world wars. And maybe not even then.

Right now, we don’t even know of a storage technology that could even work at that scale, let alone what it would cost to do it.

And depending on which way climate changes go, the size of storage needs to be potentially arbitrarily large. The more uncertainty you have, the larger it needs to be.

Unlike a fossil fuel, we don’t have (essentially) arbitrarily large reserves we can pull from, it all has to be made and stored in advance by the same infrastructure that produces your normal production.
What about Tor?

Or if Twitter gets more IP addresses, they'll work for a short while, until black box config updated?
What is robbing a bank compared with founding a bank? Bertolt Brecht ...
Self-description about the business that is mentioned in the first sentence: "Beautiful interior design for your home with the flexibility to /rent/ or buy the furniture you love"

Renting furniture... Isn't it weird* how the right to own drives capitalism which spawns businesses that thrive on you not owning the things they sell you?

* read: perverse
Recent discussions on the topic:

https://news.ycombinator.com/item?id=30363938

https://news.ycombinator.com/item?id=30263666
Russia quaranteed the souvereignty of ukraine and its borders with the budapest memorandum:
https://en.wikipedia.org/wiki/Budapest_Memorandum_on_Securit...

Russia guaranteed ukraine free choice of alliances with:
https://en.wikipedia.org/wiki/Paris_Charter

There is no chance of NATO acceptance while there are still ongoing territorial disputes like crimea and donbas. Solving those could take decades if not longer.

Putin himself has said that the ukrainian state is a historical mistake and has no claim to statehood.

He just wants some juicy bits of strategical importance like a land connection to crimea and a broken country as a buffer zone that he can show to other aspirants what happens if you misbehave.
If Putin lobbed a nuke at Russia, it would be the end of Russia.

Putin is not stupid, he is stronger than Ukraine, but weaker than NATO.

There would be an embargo, they'd be encircled, their economy would shut down, Putin would be brought to some kind of trial and Russia would be denuclaraized.
Badger 2040 – Fast updating RP2040 based e-Ink badge
You'd think so, wouldn't you?

In fact Republicans are already saying that even sanctions aren't acceptable. Going to war... not a chance!

https://twitter.com/TuckerCarlson/status/1497033251424190466
I strongly believe that one needs several years to achieve the skill level to become useful in that field. Unless you are looking for a job for life, starting now is a few years too late. Other comments provided info on how to start.

I also think that tanks, fighter planes and helicopters are pretty hard to defend via hacking; it's like defending a password against a 5$ wrench used to hit you repeatedly.
DIY Split Flap Display
Boo. Everything I've learned, from work to living like an adult, has come down to practice. If I thought it was just "natural talent" I'd never attempt to get better at anything.
Ditto for everyone who has ever written code to stop me from copying text - they're obnoxious anti-features.
It is very one-sided view. You have a veil over your eyes that you are not aware of.
Look at CSPM (cloud security posture management) solutions, it ensures there aren't any silly holes in your cloud like open S3 buckets etc, as well as ensuring pretty advanced organization specific custom policies. Look at Prisma, Wizio, Crowdstrike Horizon, etc.
> his idea that Russia and Eastern Europe are neighbors (which seems objectively true)

That's like saying that United States and North America are "neighbors". Is that "true"? Or is it a category error?
Thanks for the links, I missed these discussions!
> It does if you hold the view that teaching someone to speak and write is teaching them *them think*.

> If that is correct *than* if someone does not know how to speak and write in a grammatically correct fashion then the implication is that they do not know how to think properly.

And you immediately defeat yourself with your own argument.

Nobody ever has, nor should strive to, follow every grammatical rule perfectly. Errors only matter if they create actual ambiguity; if you understand my intent, then I have used language effectively.

As human thought evolves, language should too. Poets are always breaking rules in the name of art, and many of those changes get codified as new rules. Shakespeare simply made up dozens of words that we use today without a second thought. Over the last decade, modern poets steeped in the culture of sarcasm have given the word "literally" a new meaning. Those deviations and inventions made sense, both to the speakers and listeners, so new words, rules, and understandings were created. The only people left confused are the prescriptionists who cling to outdated rules that describe how people used to talk.

As long as humans can turn these AI assistants off and share their imperfect creativity, I'm not too concerned.
In my experience, lots of people apply for jobs they aren't qualified for.
How does I as the interviewer know which candidates I can trust to assess themselves and which I can't?
I do not believe you know any Russians at all, from my experience.
the technology you need after the apocalypse is called "fire". and perhaps some rocks to hunt your food
In case someone is interested in recording RGB-D videos for offline processing, I wrote an app for this https://apps.apple.com/us/app/stray-scanner/id1557051662. It simply writes the raw data files to disk, which you can export to the cloud/your computer.
This is the difference between China and Russia.

The CCP is in power because it has promised Chinese citizens wealth. China actually really doesn't want to be a pariah.
Why in the name of God would a site prevent me from using shortcut nav to go back in nav history?!

I can not use Cmd + left on a mac, is this a Notion thing?
I live 6 miles from an airport. I get less than 100kbps from Verizon on my iPhone 12. Thanks Boeing.
This specific query was an example. I feel that everything is getting more commercial.
The asymmetric encryption/key-exchange algorithms that survive large quantum computers are all quite experimental and each has at least one major downside compared to RSA and (EC)DH. Still I'd prefer them over QKD.
Saying vkontakte is ONLY propaganda is as dumb as saying Facebook is ONLY propaganda. They're social networks, and they also have your aunt's recipes and baby pictures.
Not only do these get written once per organization, but they are specific to that organization. With the exception of the doctype, html tag, viewport, and charset, we use none of the rest. And our attribute usage differs.
Yes but if people are gravitating towards Grammerly it's because it's offering something those other ways aren't.

I mean I guess you can learn an instrument by reading sheet music and sheer force of will but I think most people prefer lessons.
- opsec (your neighbors will rat you out as a bargaining tool to save themselves)

- python, C, and assembler

- Gnuradio / HackRF (direction finding, spoofing/replay, jamming, etc)

- basic electronics

- basic model rocketry / pyrotechnics

- basic lock picking, escapes, first aid and wound care etc

- some off the shelf malware / botnet / RAT kits and usb installers, metasploit, etc.

From nothing to developing new zero day probably isn't going to happen during this conflict, and best hack will be using skills to get out of the country.
I've been comparing these laptops, considering a move from an old Macbook to a Linux laptop.

- System76 Oryx Pro - https://system76.com/laptops/oryx

- Tuxedo Stellaris - https://www.tuxedocomputers.com/de/Linux-Hardware/Linux-Note...

You're right that the M1 line is ahead in terms of hardware, but there are other factors at play. For me it's about "voting with my dollar", what I want to be supporting - i.e., not macOS or Windows.
I like restic, but doing rsync scripts like this always win out for me because I find myself wanting to stage the backups on the destination systems, and not the source/prod ones.
Way to give advice that is guaranteed to get them killed. Bravo
> with full reserve banking. If banks make any loans at all

These are contradictory. The banks with full reserve banking can't make loans from easily withdrawable deposits. They can do that only with term deposits that can't be withdrawn for a specific period
We also haven't had a proper pandemic for a century, and then we had one. Nukes aren't something you can do much about, but excluding then entirely from one's disaster planning feels like a mistake.
> we won't sanction all Russian nationals

It would be nice to see a mass deportation of Russian mafia.
For your second Rust book, I'd highly recommend the Nomicon!

https://doc.rust-lang.org/nomicon/

Please ignore all the gatekeeping marketing on that front page - it's very counterproductive and not at all accurate. IMHO all of this material should just be included in the standard Rust book, especially the sections about ownership and implementing Vec.

The Nomicon is an extremely useful resource because it "desugars" all the magic that is happening when you write Rust, so you are left with a competent understanding of what the compiler is doing on any piece of code you are looking at or writing.

Valuable reading for people wanting to build real systems in Rust, IMHO.
I have one of these, and it has been very useful for prototyping and troubleshooting iot devices and doing home network pen testing.

With that said, I hate the keyboard.
Of course the US follows the rules, by definition.

The "Rules Based International Order" is just a euphemism for "Post War US Hegemony". And the rules are "The US state department tells you what to do, and you do it".

Anyway, a rules-based international order already exists. It's called the UN charter, but that's not what they mean.
And Putin was using VK for psychological warfare. It was crazy it didn't get blocked sooner -- letting an aggressive threatening dictator have instant access to spreading targeted propaganda
Civil rights defenders are there to implement Leninism? What? This probably sounded great in the 80's, but now it just sounds like more disinformation.
It seems to me that the whole gas debacle between Germany and Russia has been foretold for the last 20 years. That'd have been a good time to start booking the contractor. And I'm really baffled as to why Germany is shutting down nuclear power plants _in the midst of all this_. Is the public opinion's balance so much in disfavour of nuclear vs. peace in Europe?
> We do NOT however offer in memory storage. This is on purpose, as persistence is a requirement for robustness.

Oooo shots fired. :)

I can see arguments both ways. You're totally correct in that queue robustness requires persistence. That being said, if it's an open source tool then it can make sense to offer in memory storage since they may have persistence in a different part of the stack.
If someone starts arguing about this in an interview it would be the quickest no-hire decision ever.
Despite the moral panic over the OG mobile keyboards in the noughties (remember the breathless "kids these days write txt spk, m8 in their English exams" headlines every year?), the pandemic of inability to "write good" never actually materialised among Millenials.

Indeed, it has been suggested that reductions like "wait" to "w8" even represent the same kind of phonological awareness of language that's correlated with better spelling.
", but it will only prolong the conflict and lead to more dead. "

Think of how ridiculous this statement is.

Should we then remove weapons from Ukraine so that they lose more quickly? And then reduce the damage?

Nonsense - we should be arming and supporting them as much as possible, and especially preparing for an insurgency.

There are any number of things we could be doing both militarily and economically.
Peak production (broke a new record) != worst case production.

When the consequence of not having enough production is people literally freezing to death, worse case production matters.
Doesn't Germany also have a fair amount of immigration from those same countries?
No, India will not let its financial graph be owned by China. US or EU its a different matter -- even then, as India becomes stronger economy would carve its own platform.
> Would it be accurate to say it is scaled back to the level achieved by classical (non-quantum) cryptography?

Not quite. Classical cryptography of course requires the additional assumption that the computational capacity of the attacker is limited (at least if the amount of key material available is less than the length of the messages to be exchanged). QKD does not need any such computational assumptions. Looking at this purely from a theoretical perspective, I hope you'll agree that the ability to create new shared randomness "out of thin air" by drawing on quantum correlations, and to do so an information-theoretically secure fashion, is a pretty neat trick.

Now, if you asked me how likely it is _in practice_ that $THREE_LETTER_AGENCY has broken your cryptosystem to the point where they can feasibly attack it/have backdoored it, compared to the likelihood that they've bugged your devices in a supply chain attack or found any number of other ways to compromise the practical implementation, I suspect my answer wouldn't be much different to yours. Nevertheless, I still think it is interesting to explore additions to the cryptographer's toolbox that, in a very practical sense, have a rather different profile of assumptions and tradeoffs.
Probably about the same amount as Ukranian or Chinese state actors
Yeah I guess you are right, its just that there is not many examples I can provide because they just don't exist at all. Could Apple with their supply chain experience and clout get that 2000$ price down? Yeah probably. But it helps to illustrate my main point: The West has essentially been cheating by exploiting the purchasing power differential for decades and eventually it may finally collapse on them.
"gathering Black coders, programmers, developers, and techies for two days of networking and learning new technical concepts — this year, about NFTs."

It is neither moral nor wise to exclude coders from a conference on the basis of race. To encourage black coders, have a conference that many blacks easily travel to, in a place like Detroit, but make the conference open to everyone.
Germany designed its current constitution specifically around the lessons it learned when the Nazis exploited the Weimar system.
Every German high school student spends several months learning about the Nazi era, including the economic and geopolitical context.
You literally can’t escape it.

Don’t worry about our level of education. We’re fine, thanks.
For starlette/fastapi there is a battle tested lib: https://github.com/sysid/sse-starlette
You can also build a wood gasifier and run a diesel engine/tractor off wood fumes.
It's an absolute necessity that they shave 13 bytes off the packet size... to make room for more advertisements. Their page size is 90KB for me, which isn't great nor terrible, but violating standards "just because" feels unnecessary.
Startup founder says he lost his company and $100M by relying on Facebook
Amazing. Very cute. I like the "surreal", "picasso" and "brutalist" interpretations.
From what I understand, they had experienced Illustrator users in mind when designing the interface. Same with Photoshop and Affinity Photo. It seems to have paid off.
" declare itself neutral and not be part of NATO."

The bit about NATO is Russian propaganda.

The Russians - and I mean Russians as a whole, not just Putin, want Ukraine under their thumb.

The rest is an excuse.
I think that parent was describing life inside a prison, but out of solitary confinement, not life in general, this sentence of their post suggests it: "and totally not just because the staff were lazy and this allowed them to do zero work."