skysight-inc/HackerNews huggingface dataset:
When perl came along it killed the 'Unix one tool philosophy' dead as a doornail. And since then and people have just kinda ignored the smell coming off the rotting corpse.

I don't write complex scripts in shell anymore because it's insanity. But ad-hoc loops and crap like that... hell yeah. At least a few a day. Sometimes dozens.

People need to be reminded, I think, that shell isn't a programming language first. It's a user interface. And when I look at Powershell scripts and other things of that nature and think about living in Powershell day in and day out I don't see the big pay-off over something like fish.

'Is this going to make it so I can get my work done faster?'

'Is this going to be more pleasant to use as a primary interface for a OS?'

When I go into fish or zsh and use curl to grab json and 'jq' to get a idea of how to use the API in python or node...

versus running 'curl' in powershell against some random API I have never used before..

I get the distinct impression that 'This is fucking garbage' in that It would take me a lot longer to figure out how to use powershell in a useful way then the time I would save by doing so in the long run.
Introducing Webrecorder Autopilot
You're assuming that all complexity is tractable (especially with that lawyer remark). Some things are just hard or time consuming.
Not necessarily - you don't need parents DNA to do those tests.

Also DNA sequencing is one of those areas which experienced incredible cost reduction, much faster than for example general computing power under Moore's law. I.e. it used to be very very expensive. Heck, the first complete human genome sequencing was completed just 16 years ago, and the project took 13 years.
It’s more expensive to terminate calls to EU numbers, so profitability needs to be higher for random dialing.

Also depends on whether your EU country has a developing nation source for < 1 EUR/hr labour.

France and UK, sure. Germany and Italy, not so much.
> Know who hasn't disregarded this? The wealthy people exploiting it, who pointed it out to you in the hope that this level of depth on the matter was all you needed.

So? What's the alternative, then? You can complain all day about how people are exploited and that exploitation is bad. I don't disagree on that part.

The question is, are you making the situation better by preventing exploitation "per decree"? Let's say you raised the minimum amount of compensation for clickworking, what would happen? All the work that remains economical is compensated better, but all the work that isn't economical at that rate just disappears.

What also happens is that no worker gets the opportunity to compete on price. Let's say people from country A are poorer on average and therefore can offer better rates, but the quality is lower on average than in country B. People from country A can still get work by offering lower rates. If rates were forced up, there's no reason to purchase from country B anymore, because price is the same but quality is worse.

You have given country B an unfair advantage and you have worsened the economic prospects in country B, even though it is already poorer. This is trade protectionism. If you think it is "good", you can just go shake hands with Donald Trump and praise the China tariffs.

> Nobody on HN is a participant in a race to the bottom.

A lot of people on HN are on the "Those poor people! We need to regulate this!" bandwagon. Their intention might be right, their comprehension might not.

> Don't advocate it as a career strategy.

I'm not, that would be ridiculous. Clickworking is not a career. Most people don't have a career. Clickworking might not be a great opportunity for most people, that doesn't mean it should be taken away.
> I am at the stage that I am more than happy to rewrite whatever it takes to get better experience. This includes the OS

Ever tried to rewrite one (and the software on top of it, since we're "including" the OS) :)?
If GNU decided tomorrow that all utilities need to have a --json output argument then that would make me a very happy person.
> How are users supposed to react ...

Answers:

1) fork the project, and do a better job yourself

2) suck it up quietly
How to use the Qanon conspiracy theory to shadowban Twitter users
There are countless Abstract Strategy Games out there.
The best lay explanation of the tipping point business I saw recently was this Economist piece: https://www.economist.com/briefing/2019/08/01/the-amazon-is-...

In short beyond a certain point the local climate becomes unsuited to the flora, further encouraging deforestation and changing the climate, which becomes more prone to drought. Meanwhile the evaporative cooling from the shrinking expanse of trees declines, changing the climate and encouraging drought. It becomes a reinforcing effect.
كلمات اغنية سجيت مع نفسي ماجد المهندس
Those 2 solutions below, that currently work in JS, are equivalent to the python solution in terms of complexity

But, yes I'm not satisfied in terms of readability, I linked to a proposal for iteration helpers, which would do this lazy-evaluation, I don't know if it can do it deeply like you say, interesting thing to see

function gcd(a, b) {
return b ? gcd(b, a % b) : Math.abs(a);
}

function isInteger(n) {
return Math.abs(Math.floor(n + .5) - n) <= Number.EPSILON;
}

const range = (start, end) => Array.from({length: end-start}, (_,i) => start+i)

console.log(
range(1, 30)
.flatMap(a => range(a+1, 30).filter(b => gcd(a,b)==1)
.flatMap(b => range(b+1, 30).filter(c => gcd(a,c)==1 && gcd(b,c)==1
&& isInteger((a**3+b**3+c**3)**(1/3)))
.flatMap(c => [[a, b, c]])
)
)
)

function* tripleSortedRelPrimeCubes(start, end) {
for (let a=start; a<end; a++) {
for (let b=a+1; b<end; b++) {
for (let c=b+1; c<end; c++) {
if (
gcd(a,b)==1
&& gcd(a,c)==1
&& gcd(b,c)==1
&& isInteger((a**3+b**3+c**3)**(1/3))
)
yield [a, b, c];
}
}
}
}

console.log(
[...tripleSortedRelPrimeCubes(1, 30)]
)
Nearly 98%(!!) of land in San Jose is zoned for single-family homes

You misquote your source (it says that NYT says that it is 94%, but that's hogwash given that far less than that is zoned for any form of housing). The referenced NYT article doesn't annotate a source.

More likely, the data says that 94% of precincts have at least one single family home.

Well over 10% of land is rights of way (e.g. streets, watersheds, etc.), easements, or is public property.
The calorie figures were only for the fries. I didn’t downvote you, by the way.
Show HN: I created a platform to aggregate/share contact and social links
I think this is missing the big picture. For every Liebson, there are thousands who are threatened and intimidated. Colleges control your grades, your housing, your graduation, and in most cases, most of your digital information (most students naively trust college information systems). The Streisand effect works once, and barely that. Front page news fades after a few weeks.

Universities are funded by a mixture of taxpayer dollars, tuition, and charitable donations. Journalism acts as a check-and-balance against crime, corruption, embezzlement, sexual harassment, discrimination, data fabrication, and a slew of other issues.

When transparency disappears, all of those increase.
Google Tricks That Will Turn You into an Internet Detective
> Besides, for the last two decades, machines have had a sleep/hibernate functionality which means you can resume immediately

Hibernate isn't dependable, especially not on a Windows box where it will do a full reboot to update itself which is out of your control. Also hibernate is quite buggy (even after 2 decades) and doesn't assist in switching between projects.

> I can’t think of a single gui editor that restricts you to one instance of it running...

You can run more than 1 copy of a GUI editor for sure, but are you really going to open 8 independent copies of VSCode? How will you pick which one to use? Would you put each one in its own independently labeled virtual desktop or put them all into 1 virtual desktop and now juggle 8 VSCode icons in your taskbar? That seems like a massive burden from a usability POV and from a system resource POV one copy of VSCode with a "full time developer" amount of plugins uses around 600mb of memory just to open it once. So if you had 8 of those open you would use around ~5 gigs of memory, and chances are your idle CPU is going to be jacked up too even when not typing into any of them (it does for me on my Windows box).

With terminal Vim you don't need to worry about system resources ever. It uses less than 10mb of memory even with 40+ plugins and your CPU load stays at zero even if you have 17 copies of Vim running (which is what I have currently running).

Open recent is also not dependable because chances are you're opening and editing things that aren't projects all the time (such as config files, etc.). This isn't all theory either. I used VSCode for over a year and these are all real problems I ran into. I only recently switched to Vim (relatively speaking) and all of those project management problems I had went away.
This reminds me of a classroom debate from school:

If you, the day before a major surgery, saw your doctor reading through a medical textbook on the topic of your surgery, would you be more or less confident in their abilities?

Some said they wouldn’t trust the doctor, as they held some notion that the doctor should just know these by virtue of their being a doctor. That if they don’t it is a sign of their ill preparedness and lack of ability.

Others had no such issues, that it is legitimate and good that a doctor would be adequately preparing for the surgery by studying.

If you think of things more towards the former, and you end up as a “last minute, read a book” type, as I tend to be, you might wind up feeling like an imposter.
Show HN: Inner workings of a Ruby gem backdoor
As sole copyright holder, the author is also legally allowed to do whatever the hell they want with it.
Plus, it's not like it's any different when you're a full-time employee somewhere. No job that you want to bet your career on consists of nothing but stuff you already know how to do.

Some companies understand this and attempt to keep their engineers ahead of the curve -- so you're asked to do something with the understanding that you'll have to figure out how to do it first. Some companies don't do that, and it's up to the engineers to make that happen on their own -- so you often end up reading the book first, then telling whoever is in charge that you can do it. Either way, your regularly end up having to get a few pages ahead in the manual :-).
There was a story a few weeks ago of screwup in IVF involving not-father's sperm combined with mother's egg by accident. The resulting child is now unwanted by the couple.

Between that story and TFA, maybe it's time for regulators to step in and force DNA testing as early as possible in the process to positively confirm the match. It already costs an arm and a leg, what's another few hundred dollars to avoid creating black mirror situations.
A hectare of forest lost in brazil is not equivalent to an hectare lost in Taiga. Biodiversity in taiga is not even remotely close to the biodiversity in rainforests.

There are decens of different species of trees, giving fruits, supporting bromeliads, hundreds of orchids, arboreal frogs, monkeys, sloths, macrobats, snails, spiders, scorpions, thousands of different insects, snakes, hundred of birds, raptors, lizards, thousands of different fishes also in the flooded soil ... You will never find that in a taiga's pine. Taiga is a frozen void desert for many months of the year (and has been devoid of most of this former macrofauna yet).

Is not always about politics.
So why is Japan perceived as expensive by most other countries? You'd think this activity would cheapen the yen
As Amazon Fires Become Global Crisis, Brazil’s Leader Reverses Course
As far as I know, Debian does not ship WiringPI. Debian does not even have an official RPi image. What has any Debian maintainer to do with this?
The "20% of the world's oxygen" claim is unfounded.

https://www.forbes.com/sites/rachelsandler/2019/08/23/as-the...

As the professor states in his tweets, there are legitimate reasons to avoid deforestation ("for climate, for biodiversity, for indigenous communities"). Oxygen supply is not one of them.
There author of that article is speaking out of both sides of their mouth. How can they claim type safety has minimal value and simultaneously knock it for missing higher kinded types?
It's a bit more murky than that.

HN is a commercial web site.

Colleges are funded by taxpayer dollars, charitable donations, and student tuition. Colleges claim to grant academic freedom, part of which is free speech.

Would you be comfortable paying taxes for an NSF who than funds universities who use that money to fabricate research and cover it up? Lying is not a crime, and as you pointed out, there are many forms of hiding information which aren't illegal.

What if the university is directly run by the state, as many are?
I’m in Norway. Why might I be getting this?

403 ERROR

The request could not be satisfied.

The Amazon CloudFront distribution is configured to block access from your country.
Generated by cloudfront (CloudFront)
Request ID: R5ceqb7qFoAbhKdP-eAEEejoiSgNktxrmNDYJV2a_N2JmAq17MZjkg==
There are no problems, it's basically perfect.
In Defense of Sea Gulls: They’re Smart, and They Co-Parent
They used to do that prior to 2014 or 2015, don't remember. It was pegged to EUR by constantly printing CHF and selling for EUR.

Then one beautiful day the peg was dropped without a warning. Many people and brokerages went broke in a matter of a minute.
If the adult child finds out what happened, and the insemination doctor is still alive, is the child then entitled to a part of the doctor's (future) heritage?

Or if the child finds out when it is still small, or a teenager, will the child be entitled for child support payments from the doctor?
In Russia
When asked about deforestation the president, which is a retarded version of Trump, called himself 'Captain Chainsaw'. And that his government can do whatever they want with their forest.

When asked about the fires he blamed the natives and the Amazon protection ONGs.

Quick search shows recent leaked documents. But they are unnecessary since the president does not hide his intentions in speeches and interviews.

https://www.independent.co.uk/news/world/americas/amazon-rai...
I'm not saying it's "OK" in the moral sense. It's of course morally better to pay people fairly than to exploit their situation, but it's also morally better to exploit their situation than not doing anything for them, or even make their lives worse by removing the opportunity to "get exploited" - for the purpose of moral posturing.
Just how insane the climate was that -40% yearly interest rates didn't stop the CHF mania! I'm speechless.

> In January 1975, the Swiss government held an emergency meeting and then took the extraordinary step of slapping a 41% annual penalty on foreign deposits. But even this failed to stem the tide. The franc continued to appreciate against the dollar — a total of 70% in nominal terms between 1971 and 1975 alone.
Back in the early 90s, I was very optimistic about the potential for Internet-mediated "citizen journalism" to counter misinformation delivered by the mass media.

I was such a bloody idealist. The distinction between democratic populism and mob violence is iffy in practice.
But new industries sometimes start that way, but eventually shake out into an oligopoly. The Herfindahl–Hirschman Index might say that's enough functional competition to sustain a good outcome. It depends. It's why we have in ICE engines anyway these days.
> Couldn’t we just “create” at our day jobs and consume at leisure time?

In a perfect world, maybe. But in real life, dayjobs are not particularly efficient at motivating and capturing the creative output of people. Most of them aren't even about creating at all (e.g. a store clerk isn't creating anything except "market value"), and the subset that is usually gives very little creative freedom. Jobs aren't selected to match the person, they're usually selected as least miserable option available and motivated primarily by desire to not starve.
it's really weird, because most of your (apparently perfectly ok) comments are dead, but some not, like this one.
It's not as though the mainstream press are blameless. Maybe they wouldn't have lost their position if they weren't blatantly peddling propaganda. In places like the UK and Canada, the top news agencies are literally government owned. CNN is hilariously biased. Western news outlets have been caught time and time again misleading people.

Alternative news sources are far from perfect as well, but in an age where everyone is trying to mislead, it forces people who want to be informed to actually take in events from multiple outlets and try to discern where truth lies for themselves. Maybe it's my Slavic upbringing, but I was taught to be sceptical of everyone and everything.

Also, information can't be weaponized cheaply. If one side has access to it, so does the other. They counteract each other. In the end, people still have to discern news for themselves.

Finally, it's quite hilarious to hear news outlets trying to convince us that today we're misinformed, and if only we do a few things to 'fix' the system, we can get to a point where they're our only source of news again.
yes ask any uber driver will show you a screenshot of Uber's cut. on short rides its actually pretty close to 50% in US
Selling goods to the USA, and wine. Chinese red wine is pretty good. Bad wine has this habit of not succeeding.
I know this won't add to the conversation, but your comment made my day. I got a good laugh out of this. Thanks!
Why not just push all that data through stdout and interpret it at the other end accordingly?

Another option would be to just use the 4th fd.
> I think today the Javascript ecosystem looks much better than 3 years ago

That’s certainly up for debate. Today you have NPM being treated as an Advertisement delivery tool. See the latest version of StandardJS and a new package called Funding. IMO it’s a pretty massive setback for the ecosystem.

1: https://github.com/standard/standard/issues/1381

2: https://github.com/feross/funding
Good point. FWIW in 1966, when I was 18 years old and a freshman in college, my first girlfriend happened. We broke up in the spring of that first year. I was heartbroken. I thought, that's it, I'll never fall in love again or meet anyone as wonderful. I decided that since I wouldn't need money for dates and such any more, I might as well use the money I would have spent on going out and buy something nice to distract myself from my misery. I took a bus to Beverly Hills (I was at UCLA on scholarship) and went to a jewelry store that carried Rolex and bought a beautiful new stainless steel Oyster Perpetual Datejust with a Jubilee bracelet. It cost $250. I loved it for about six months, it indeed distracted me for a while as intended. Then I gradually tired of its weight and retired it to a drawer. I sold it (in excellent condition) in the spring of 1969 to help raise money for a post-graduation Europe trip with a new girlfriend. The pawn shop gave me $50 for it and I was fine with that. I just checked StockX and saw they now sell there used for about $3,500.
Innocent man spends months in jail for bringing honey back to U.S.
Facebook’s Libra backers look to distance themselves from project
Very excited to use this and buy a librem 5 for it.
Why so many popular YouTube videos are secretly infomercials
I wrote a guide for the Pihole + Wireguard setup for anyone interested to try it https://drexl.me/guides/wireguard-pihole-vpn-setup.html
You have named your nemesis, but can you show that he's wrong?
Da fuq? Did you manage to get anything back?
“Vaping” can often mean people filling mod boxes (not Juuls) with any sort of juice containing anything. Articles and studies often include any random juice in any random shop, so there are endless unknowns.

Juuls and many other pens contain limited ingredients, namely nicotine and propylene glycol. We already know what nicotine does.

Propylene glycol is food safe and is also used in albuterol asthma inhalers.
A topic I can comment on!

I got my degree in Manufacturing Engineering, and work in hardware engineering. Funnily enough, I’m writing this on a shuttle that left the factory today on my way to the hotel.

The go to for my undergrad was Fundamentals of Modern Manufacturing [1]. It gives a surface level understanding and isn’t too dry most of the time. It’s an interesting book that you can just open up and learn something new in. It’s more of a reference book than the “narrative” books that were linked too. It’s probably what people think of as a “Manufacturing Book.”

Then there’s the Bible, Machinery’s Handbook [2]. This probably isn’t what most people are looking for in a manufacturing book. Think of it as more of a giant list of tables and suggestions when trying to actually build something. It’s the one book I’ll always have at my desk, regardless of what I’m working on.

[1] https://www.amazon.com/Fundamentals-Modern-Manufacturing-Mat...

[2] https://www.amazon.com/Machinerys-Handbook-Toolbox-Erik-Ober...

On mobile, so fingers crossed on the formatting!
Your facts are completely wrong.

China now produces more CO2 that all other 1st world countries together [1], while having increased their emissions by 300% in the last 30 years and are set to increase them a further 30% during the next 10. [2]

USA maintained their emissions during the past 30 years and are set to slightly reduce them in the next 10. [3]

EU reduced their emissions by 25% during the last 30 years, and are set to reduce them a further 20% during the next 10. [4]

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

[2] https://climateactiontracker.org/countries/china/

[3] https://climateactiontracker.org/countries/usa/

[4] https://climateactiontracker.org/countries/eu/
As a child, it was always “Fox is just riling up the old people.” I’m not sure whether CNN was once reasonable, but it seems most, of not all, mainstream press has devolved into that Foxian shit-show for one side of the aisle or another trying to capture eye-balls and add dollars.

My inner conspiracy-theorist wonders if this is divide-and-conquer, or just the death throes of dying media.
For the inheritance, not if there’s a will.

But not all countries let you disinherit your children.
440 year-old maps filled with footprints
I don't follow any of his arguments.

The author suggests that Jira is partially to blame for people who don't fully understand Agile software development. I would argue it's not the software that's the problem.

Bad practice in workflows? If you have a bad workflow, the software is not the issue.. and the author's argument that making workflows is 'difficult', just doesn't hold water with me.

His final argument to steer clear of Jira because physical paper is 'better' isn't even an argument against Jira, it's an argument against all organizational software.

I never knew there was jira hate before this posting, and only leaves me wondering 'Why all the Jira hate?'
I think vaping is a genuine improvement, provided that the law treats it like it does tobacco, i.e. no advertising, age restrictions, etc. This is an anecdote, but in countries where those restrictions are in place, just about every vaper seems to be an ex-smoker, and nobody thinks vaping is cool or attractive.