skysight-inc/HackerNews huggingface dataset:
You don’t need a virtual env.

I probably wouldn’t wrap GNU find and python, I’d just walk the directory tree in python and use regex.

IO is suitable for everyday tasks and shouldn’t be an issue in Python anyway, if it is either you’re doing it wrong or your shell script should be written in C and not touch interpreted/bytecode compiled languages at all.
Except that the article says that the working class in the US - and the UK - don't want to migrate. They just want to complain and break everything.

They don't want to improve anything for anyone in a strategic sense. They want textbook authoritarianism with a daddy figure lying that he loves them, and telling them who to hate so they can feel better.

It's an utter infantilisation, and the right are happy to sponsor it and farm it for their convenience. But attacking the left for pointing out that it's not really a solution seems to be part of the rhetorical package it's wrapped in.

The right are always happy to demonise the left for the working classes, because duh - of course they are.

The problem on the left - and I wouldn't consider most of the US Democratic Party as the left, incidentally - isn't so much "be like us" as a failure to understand just how murderous, dishonest, and literally criminal the elites on the other side are, and how limitlessly violent, self-serving and treacherous they can be in pursuit of their aims.

This wasn't a problem for the old turn-of-the-19th-century left, which had direct experience of being beaten up and shot at. But by the time you've been through college and acquired a fairly comfortable job it's hard to remember what your comfort is built on.

These facets of political history are conveniently erased from official nation-building stories of "progress" in the UK and the US, and people have to make a real effort to find out about them - which hardly anyone does now.
I have 2 t420 and 2 t420s at home. They're awesome - much much better keyboard with standard layout than any newer model (other than perhaps the retro t25).

I have more modern think pads as well but I plan to keep the t420's for a while. They're solid reliable expandable and great form factor :)
Choosing the Right Software Developer Specialization
Upon reflection, I gotta say more.

I do share the concerns about Tor's security, and about the Tor Project's focus. However, I don't believe that it's useful to argue about the culture war soap opera. As an attentive outsider, it strikes me as largely based on hearsay and innuendo. But still, that's a valid concern, to the extent that it interferes with developing and securing Tor.

What bothers me most about the Tor Project is how it seems to focus on ~OK anonymity and security for most users, and seems to ignore vulnerabilities that impact users who are most at risk.

While Tor browser is very well hardened, relative to Firefox, there's absolutely no protection against malware (or anything else, for that matter) reaching the Internet directly, and so bypassing Tor. And that's precisely what hosed thousands of users who were infected with the FBI's malware, which phoned home, and got them busted.

I don't deny that many of them were accessing child porn. But when we're looking at Tor's security, that's arguably irrelevant. I mean, we know about this because criminal matters in the US are public. However, we have no clue how many users in authoritarian regimes have been pwned by similar malware, over what we'd call human rights issues.

And it's not hard to fix, really. All you need is firewall rules that allow only the Tor process to access the Internet. That's doable with Windows Firewall. But I've never seen anything about that on the Tor Project site.

In Linux, it's harder, because there's no way (that I know) to control network access by process. Only by user. And here's another screwup. In Debian, plain vanilla Tor runs as user debian-tor. So it's easy to allow output only by that user. But Tor browser runs the tor process as the login user, so that approach doesn't work. You can use iptables rules that allow output only to requisite relays, but that's brittle to guard failure.

Anyway, enough already.
I'm a native french speaker and only recently realized that "Qu'est-ce que c'est ?" ("what is it ?") literally translates to "what is it that it is ?".
Apologies. I should have offered the disclaimer than I was talking about the US. The article is describing US politics and I was responding to it. European countries have different systems, different social classes, and different barriers to entry than we do. We also do not have your safety nets. Many here are one missed paycheck away from living on the street.

As the article states, in the US, 70% of people over 25 do not have a 4-year university degree. And contrary to the UK and the rest of Europe, American University is staggeringly expensive. And despite what you might read on HN, without a 4 year degree, nearly all professional jobs would be off limits. And if you did manage to sneak past the first gate, as some talented coders on HN have done, you can look forward to a lifetime inferiority complex, knowing that your co-workers have a safety and desirability you lack.

In the US, the 4-year degree really is a significantly high barrier to entry to the professional class. You also need to be living in one of a dozen elite cities, be the right race, have the right politics, the right friends and family, and the right set of previous employers. Only then have you gained that special status that lets you own a home you're not afraid to lose, go to a doctor you can afford, and enjoy a job that affords you comfort, stability, respect, and some measure of control over your destiny.

The overall point of this article is that in the US economy, there's not enough spots at the top for everyone. And everyone not at the top will live economically precarious lives. One political party likes to pretend that there is endless opertunity for all with promises of more university, and the other party has realized the lie and is decending into anti-intellectual madness, rejecting acedemia, experts and science.

Your country has some uncertain times ahead and there will be plenty of call to more closely emulate the free-market American system now that you've distanced yourselves from the more regulated and socialist European system. Do be careful.
Your “outcast” assertion is unsupported by facts. It turns out that not everything happens on social media. Within a group of friends even a single person who isn’t on Twitter/Snapchat/TikTok/etc tends to pull the entire group’s narrative away from those platforms and into the domain of a more private tool, such as iMessage or WhatsApp. Within the Gen Z cohort the understanding is crystallizing that social media is toxic, addictive, and leads to nothing but bleak and depressing thoughts. This commonly understood truth enables people like my kid to act as an anchor that keeps numerous others on solid ground and away from the jaws of “big social tech”.

And thank you for the “serial killer” comment: I’ll take it as a compliment.
I have a hard time understanding the question. If something is overwhelmingly beneficial for everyone, I don't mind at all if market or government make it happen. I just want it to happen.

Again, to not be misunderstood, I'm not sure if charger standardization is indeed overwhelmingly beneficial for everyone. That is what I believe we should discuss here.
It's not uncommon in game development to do 'unity builds', by basically including all code to get a single compilation unit. It can reduce build times and the compiler has more options for optimizations (inlining, mostly). This doesn't require putting everything in header files, just including the .c files gets you the same result. But if you're doing unity builds the distinction between header files and source files is basically reduced to the file extension anyway...
You can but not on your lap
They even have a decimal clock dated from the French revolution: 10 hours per day, 100 minutes per hour, 100 seconds per minute. Total of 100k seconds/day, making seconds a bit shorter. Was largely ignored, only lasted a few years.
The computer section has a ZX81, a ZX Spectrum, an Oric Atmos, and a Commodore 64 on display if memory serves me right. All my childhood computers, feels weird seeing them in a museum. My kids were amazed by the first calculators made of paper and cardboard.
Which doesn't mean you HAVE to do it this way. The new generation of devs is, well, young, and they have yet to learn that complexity will come back after their asses with no mercy.

Us old farts, we learned that complexity is our biggest enemy.
Yes and no, but there is some confusion due to terminology.

There are HTML tables, created with the <table> tag, and then there are CSS layout tables created with the "display:table" property. Neither are inherently good or bad, it is just a question of when they are appropriate.

The problem with tables back in the day was that browsers didn't support "display:table", so the only way to get a grid-like layout was to use the <table>-tag. In cases when the content wasn't semantically a table, you had a dilemma. Either you would have to abuse the <table> tag thereby hurting accessibility, or you would have to use CSS floats and hacks to achieve the desired grid-like effect. Neither was really desirable.

Today we have "display:table", but we also have flexbox and grid which is are much more powerful, so the use of tables-for-layout are mostly irrelevant.
I would have thought about this one: https://www.youtube.com/watch?v=GSeaDQ6sPs0
> remember when Microsoft could only ship Trident updates as part of huge Windows updates?!

They had the ability to parallel install all along, eliminating the need for updates as part of huge Windows updates: https://news.ycombinator.com/item?id=20495979
Seek second or more opinions. Hard lesson I learned a few years ago is just because it’s a “professional” advice doesn’t mean it’s good/best advice. So now on with doctors, lawyers, other “specialty professionals” I don’t blindly accept one guy’s call.
They literally collected bat virus samples from all over China, from very remote locations and brought them to their lab for study.

Bat cave solves mystery of deadly SARS virus — and suggests new outbreak could occur (2017)

"To clinch the case, a team led by Shi Zheng-Li and Cui Jie of the Wuhan Institute of Virology in China sampled thousands of horseshoe bats in locations across the country."

https://www.nature.com/articles/d41586-017-07766-9

I don't think it was engineered per se, but let's not pretend that chaos theory isn't a thing. It's very realistic that this virus could have mutated on its own, in the lab, and infected a worker.
They publish quarterly print editions: https://www.slow-journalism.com/DG/shop
That's fine if you're chatting via a written medium. I think the point the GP was making was when it's used in spoken language.
The Smartphone Revolution Was the Android Revolution (2019)
Carbon Dioxide Emission per Captica Sorted by Country (2018)
Ask HN: How Do You Negotiate?
Whether it’s your salary, get your PR merged, or how to resolve a problem in your hotel room (and get a free upgrade), I usually feel like I’m stuck into a corner more frequently than not. Get too emotional and feel like losing even when I squeeze out some concession.

I’ve tried reading some books. Most recent one was “never split the difference” by Chris Voss. But it’s still a huge challenge.

What’s working for you? And how can I and others learn to better negotiate?
SwiftUI Basic Shape Operations
Nix/Guix is a very simple and elegant design, but I find it has a downside: because every package is immutable, a security fix in a low-level shared library (worst case: glibc) requires recompiling every package that depends on it, and because there is no difference between OS and applications - everything is a Nix package - you have to wait until the whole dependency graph is recompiled before you can effectively install the security update.

TFA's design avoids this by separating out both a base OS layer and an application runtime layer, both of which have a bounded size.
the webpages in the 90s and early 00s are so random. Today almost every goddamn webpage looks like something derived from bootstrap.
And beside the blog platforms, lots of people making fully custom sites on services like https://neocities.org/
> Men are pretty notorious with doctors for putting issues off

That is one of the reasons why health insurance for men is significantly cheaper than health insurance for women.
Where does pin the word come from in this context?
Ah, your missing the true nature of the 'idea'. As my dinner guest said last night, the theory making the rounds is that Wuhan virus is a man-made virus created in Wuhan and released to make money off the 'soon to be released' anti-viral or vaccination. That's the idea that has been knocked down by showing that this is a relative of natural occuring virii.
That was meant to be humorous, however dates are not natural numbers.
Doxxing and stalkers and other abuse. Postings dredged up from years (and, eventually, decades) ago which can destroy careers. Phishing attacks that rely on knowing things about a person from their social media profiles.

I can go on all day, but the most persuasive voice is your own. Imagine yourself posting your address, full legal name, social security number and bank account numbers right here, right now. What are some considerations that would prevent you from doing this? Would you attach the same information to political activism? What if the tables were to turn in the future, leaving you on the wrong side of history and consequently out of a job?
I wouldn't consider TPU/NPU/NNPUs a niche. It's inevitable at this point that you'll need machine learning accelerators just for running inferencing on edge devices.

Even if done only on the cloud I can see more could providers investing in their own TPU-like hardware for their clusters.
I’m not sure I accept the distinction. For the amount that the concept gets bandied around, there’s actually very little evidence that people fall into discrete personality types like these.

We are all stronger and more experienced in some areas than others, but simply writing yourself off as ‘Not a process person’ removes your ability to level up and takes away your ability to do any better.

It’s especially sad as these ‘scripts’ often do not come from inside, but are baked into people from leadership and then justified by Myers Briggs style psychobabble.
But... there is also 'Big Deal!' still -cloudflare-(crossed out) 'pay with your data!' out there... ?! So: 'pay-more!' ? [rolleyes] Do you want to -see-my-monkey-dance-out-there- -for-a-free-porn-pass- (crossed) make me (?!) an actor in the media ? ^^

PS: Hope that it do not sound that offending...cos rules... sorry if...but that was that polarizing... how many people out there (in a world of 7 Billion) do not have the tips you suggest to give frank ? An that with alittle -sold-out- 'enlightment'... 'in petto ?' never mind...^^
> but Tor users are much harder to discover, because Tor clients don't change guards frequently.

I don't get that. Every guard can discover users because the users directly connect to guard nodes. As a guard you can just collect the real IP addresses of Tor users except they use a VPN or proxy to connect to the Tor network.
> I have a sudden urge to experiment with replacing all the news sources and journals that I regularly browse online with a single, finite, regular, curated issue.

Maybe get out of the house.
It's strange, but being marooned wasn't as unusual as one might think.

William Dampier (who Selkirk served with some years before being marooned)[1] had himself been marooned in the Nicobar Islands:

Later that year, by agreement, Dampier and two shipmates were marooned on one of the Nicobar Islands.[2]

I believe this was mostly about disagreements at sea with commanders. Many empty islands had been stocked with animals such as goats and rabbits in case of shipwreck, and would have ships call at them a few times a year for water and resupply.

It does seem an odd thing to modern thinking though.

[1] https://en.m.wikipedia.org/wiki/Alexander_Selkirk

[2] https://en.m.wikipedia.org/wiki/William_Dampier
2 questions:

- how was it in the top selling list (steam) for so long way before that

- how come with such numbers it is not in that list anymore?

Possibility:

- they fake data in their top selling list (steam)

- this data is fake to boost sales
The same in argentinean Spanish. “Pelado” (bald) becomes “dolape”. What region are you from? I think I’ve heard something similar from Milanesi, but I’m not sure.
How many megabytes of JS frameworks do you need to get eyeballs on your blog posts then?
Well put!

I left it as "network effect". Probably too opaque.

It's like there was a window in the early 00s, when stuff like Tor, Freenet and I2P could recruit enough nodes to be viable. Remailer networks were just too damn hard to use. I mean, they were based on PGP plus mix networks.

But now, people expect stuff to be easy.
On Tensorflow ROC (or whatever the name is?)
This statement seems the closest for that conclusion:

>Bedford’s analyses of RaTG13 and 2019-nCoV suggest that the two viruses shared a common ancestor 25 to 65 years ago, an estimate he arrived at by combining the difference in nucleotides between the viruses with the presumed rates of mutation in other coronaviruses. So it likely took decades for RaTG13-like viruses to mutate into 2019-nCoV.

But if the mutations are natural, that just means it wasn't engineered, it doesn't mean like you have stated, that it excludes storage in a lab at some point. Also not all activity happens in the lab, for all we know it could of been outside the lab and an affiliate exposed during capturing or during transport of bats to sample, breathing in virus particles exhaled or otherwise exuded by the bats, perhaps when their guard was down, not expecting to get sick.
Google Maps Hacks
According to this Reddit thread, it should be: https://www.reddit.com/r/thinkpad/comments/evtje2/its_finall...
I use this status code in my Go middleware for true pay-per-call APIs (payable via Bitcoin's Lightning Network) and my demo deployment:

- https://github.com/philippgille/ln-paywall

- https://lightning.ws
Learning Velocity in Scale-Ups [pdf]
What's the Complexity of Fibonacci?
I'd be happy to buy a replacement battery for my X220 from a non-sketchy source if I knew it had new, matched cells and wasn't going to explode.
Don't get me wrong, I really want all those things. So much so that I actually spent a hefty sum on my current TP (X1 Yoga '3rd', 2018) to get all those things 'guaranteed' now and option for later (I'm not much of a hardware tinkerer, but I could already see 2028 and me tweaking it up).

That being said,

I think it's still a small market. All of TPs I mean, new, used & yet to come (I've got a solid theory that ThinkPads may outlast the heat death of the universe, paper coming soon(tm) ). Seriously, the reason is that the used market is precisely interesting because it's cheap (it's almost a commodity market at that point) whereas the new market is becoming niche like all laptops, like desktops before — think that, for all their glory, GPUs only sell in the single-digit millions to consumers per year — no wonder the juice for these lies in enterprise.

So I think you've got room for maybe a few small businesses, small custom shops of a single to few employees, shipping worldwide of course (and I'm not a logistics expert but this is the kind of space where ideally you really want to 'shopify' directly from factory to customer because each cent will be hard fought for). Most of what people use to tweak TPs is already cheap as hell on Aliexpress or eq.

I wish it weren't so. Please tell me I''m wrong about this.
The NVidia Optimus switchable cards are not well supported on Linux.

On desktop NVidia is good. On laptops I like Intel graphics. because I don't want to muck around with getting working drivers.
Asana as it was two years ago
For a moment browsers were pretty good at this because pages were still static enough that browsers could keep track of elements over page reload. But now that everything is dynamically generated by a few megabytes of opaque javascript? It's a much trickier problem. But "luckily" there's LocalStorage these days so website devs can just go and reimplement the feature…
Make sure you’re building your professional network. It’s harder to do that without colleagues.
A bit tangential but closely related, I believe French HipHop / Rap makes such a good use of our language and all the slangs which I find lacking a bit in English HipHop.

I don't know if it's cultural or if I am really unaware of the equivalent in English, but it is such a delight to see the creativity of those folks.

A few recent examples :

https://genius.com/15760906 < Cadillac | Game over : A song about death.

"J'écoute des CDs, des sons de l'au-delà" > I listen to records (CD), sounds from the other side. Des CDs also sound like being dead (décédé).

https://genius.com/Odezenne-tu-pu-du-cu-lyrics < Odezenne | Tu pu du cu

"T’es stupéfiant \ Je te roule, je te fume \ T’es stupéfait" > Word play on stupéfiant which is both a word for drugs and being surprising / stunning.

https://genius.com/Nekfeu-egerie-lyrics < Nekfeu | Egérie

"Toujours en déplacement le soir \ Mais, c'qui compte, c'est le dépassement de soi" > The play on déplacemment (being out of town) / dépassement (overcoming) ... le soir / de soi. Brilliant
As someone who used to work for a company that hosted large-scale gaming infrastructure, I can confirm that Choopa was a common source of DDoS. DigitalOcean, too, and lots of eyeball providers. Any provider who allows credit card payments has issues with outbound attacks, and some are better at responding quickly than others.

It got so bad we ended up building and deploying our own line-rate packet processing engine at our network edge to be able to deal with the weird UDP protocols gaming uses.

How much spoofed traffic do you see nowadays?
This looks really great, congrats on shipping. I think it'd be worth it to have a designer give the site a facelift, I think it would convey more trustworthiness. Also the pricing page doesn't work very well on mobile when selecting plans.
No...unfortunately the details are confidential. But I wish there was a way to exchange best practices within the government agencies so that this sort of mechanism becomes widespread.
> browsers didn't support "display:table"

Internet Explorer on Windows was the singular offender. ISTR that other ones with at least 0.7% market share were implementing the display property correctly.

A desirable solution was to just paper over the bugs and other shortcomings with Javascript: https://github.com/seancoyne/ie7-js

That way one could simply write standard compliant code and not waste any time with hacks and float work-arounds.
Yes, there are places that are using NixOS in production. I don't know the details, so this is a placeholder for someone else to fill in - or else ask on the NixOS subreddit or IRC channel.
History is news with a lag of ~20-30 years. So not that useful to learn about current events.
And it was great. It was a barrier of entry for speech. You could do it, it was free, but you had to apply some effort, you had to have something to say.

Now the Web is flooded with morons on Twitter who's opinion is just the noise you have to filter through.
That's a short-sighted view of the EU's self-interest. If EU countries ban Huawei from their markets, then China bans EU car companies from its market.

So, is it worth it to sacrifice VW and BMW in order to help Nokia and Ericsson?
Polygames: Improved Zero Learning
The Alphabets at Risk of Extinction
Can you run linux on it? Just want a dual boot win/linux portable, not necessarily latest.