skysight-inc/HackerNews huggingface dataset:
The error message is quite clear:

SC2148: Tips depend on target shell and yours is unknown. Add a shebang.

If you google what a shebang is, the top link for me is a Wikipedia article on the subject [0]. A shebang is basically just a line (always the first line) in a file which tells the operating system what program to invoke to execute the script. There are different shells beyond just bash, so shellcheck wants to know which flavor the shell is written for and uses the shebang to figure it out.

I always have the top of my shell scripts with a shebang, even if the script isn't intended to be directly executed.

Pick the user's bash from PATH environment:

#!/usr/bin/env bash

Or specify a specific bash:

#!/bin/bash

Or use whatever plain-shell is installed:

#!/bin/sh

Or maybe it's a Python script:

#!/usr/bin/env python3

Or it's a text file:

#!/usr/bin/env vi

If you're not using shebangs then you're probably writing your scripts wrongly.

[0] https://en.wikipedia.org/wiki/Shebang_(Unix)
That's my entire point. With FreeBSD ports, we have a rolling release. When I ran Ubuntu, I did run LTS. I could not care less about having the latest KDE. I'd actually be about 100x happier with the KDE from 10 years ago
Furthermore, the lone "rockstar coder" is an antipattern. Very little development is done in a vacuum, and the best developers I know -- male or female -- are the ones who can bring other people along with them in technical discussions.
I guess in both cases the alternative would be to pay (more) money for the service, which is something the majority of people doesn’t want. The system is optimized for the 99.9% cases where stuff like that just doesn’t happen
A common problem that happened to a coworker was he made a quick bash script for something simple, then kept adding "just one more" thing with sunk cost fallacy not wanting to take the time to rewrite it. Eventually the monstrosity created was too difficult to debug and it had to be rewritten in a different language.
"A future that plans on everything going right so no one has to think about what happens when things go wrong. Because computers don’t make mistakes. An automated future where no one actually knows how things work."

Sounds like a good plot line for a movie...
I remember this as having had prominent discussions on HN in the past, but I searched and can't find them. Anyone?
I just finished listening to "Episode 49: Elliot" and I must say, I'm quite upset by the host's reaction.

He doesn't seem at all to be someone in the security research field.

Either he has those reaction because this is a mainstream podcast and purposely tries to have a "dumb" reaction for his audience (like in a children's film) or he doesn't seem to understand hacker culture at all.
I spent some time using the synchrosqueeze transform to preproccess audio files before feeding it into the network. Basically, you do a cwt, and then feed the output of that into the synchrosqueeze. It basically sharpens up the cwt, so that a signal isn't spread out into so many bins. The output of the cwt is complex, and normally you through the imaginary data away. The synchrosqueeze transform uses the imaginary data to work it's magic. Figures 5 and 6 of the below pdf are good examples.

I believe I based my code of this matlab code: https://github.com/ebrevdo/synchrosqueezing/tree/master/sync...

The above matlab code is ridiculously slow, I rewrote it using sse intrinsics, and got it several orders of magnitude faster.

I hope this helps out someone. I never really produced anything with it, but I still feel it is promising.

https://services.math.duke.edu/~jianfeng/paper/synsquez.pdf
FreeBSD sucks at marketing, that’s very true.
I'm the lead author on this paper, so feel free to ask questions!

EDIT: I should say the analogy for these kinds of events is like wine sloshing in a glass. The hot X-ray emitting atmosphere of a galaxy cluster would sit calmly in the gravitational potential well. Likely what is happening is that a smaller subcluster passes close to the main cluster. This causes the graviational potential to shift across, the atmosphere is out of equilibrium and therefore sloshes back and forward for billions of years.

These are fascinating objects. Up to 10^15 more massive than our sun, mostly made of dark matter (80-90%) and most of the normal baryonic matter is in the form of a hot plasma, heated up by shocks as the cluster grew by mergers and accretion of subclusters.
Its cousin

diff <(cmd a) <(cmd b)

is also very handy.
Working in groups and reduced emphasis on anti cheating seem ripe for entitled white boys to leverage more than everyone else. Am I missing something, or are those at odds with the rest of the suggestions?

I suppose working while attending classes might make office hours difficult but study groups easier. What we can’t know is if he was summarizing for effect and he left out their rationale, or if these suggestions came to him this arbitrarily.

Mostly I get a vibe that he’s decided to die on this hill and he’s being stubborn and on some level enjoying the “persecution”. We all do things that feed our own narrative and don’t really provide any other payoff. My self sabotage has never been this public.
Yea there was a great two part planet money series on recycling this year. And the economic take away is that the current state of recycling in the US is broken and we have more than enough landfill space for thousands of years. One idea was to just burn it which this mentioned is what some European countries are doing.

https://www.npr.org/2019/07/09/739893511/episode-925-a-mob-b...

https://www.npr.org/2019/07/12/741283641/episode-926-so-shou...
Url changed from https://www.ecowatch.com/ocean-cleaning-device-plastic-26408..., which points to this.
I’ll take the small chance of this any day of the week so I can get $15 movie tickets. I know I will because I go to the Metreon AMC and the Century Westfield way more than I go to Alamo Drafthouse.
I was unaware of that and it seems people have fixed the title for me. Thanks!
So according to this, essentially all of the successes of philosophy can be boiled down to coming up with useful mathematical models, right?

If so, that's something that I'm happy to stand behind. But from my experience, it's extremely far from the focus of most philosophy departments.
> I am consistently amazed how cheap and fast medical services are in developing countries. The equipment costs so much less outside of western regulatory oversight, and to the consumer standard blood test batteries are often ~5-10 minutes and ~free.

This makes me wonder how much other countries indirectly benefit from the regulatory oversight that exists in the west. It's the regulatory oversight, compounded with capitalism, that produces medical equipment. Then the oversight over its usage probably adds to the cost of deploying the equipment.

Does the lack of, or reduced, latter oversight contribute in any major way to the pricing discrepancy for procedures for which that medical equipment is necessary?
Are you calling him stupid for openly writing about gayness in the 70's when he was told not to? How else could social change happen without such "stupid" people?
> But housing - [...] The middle class who would 30 years ago be settling down in suburban detached homes with kids are in pokey flats or sharing houses with other professionals.

Real estate goes through cycles shorter than 30 years and it was not more expensive in 2012 than in 1990.
I consider tracking to be an exploit.

I mean, there are laws against stalking, right?
75GB object storage free??? Am I reading this correctly or am I stupid?
> A relaxation of grading on coding style

I don't understand how this relates to inclusivity.
> There's no reason not to make an effort to use more names in examples and even just a quick "I've always said you guys, I'm making an effort to say folks but old habits die hard" probably would have at least shown he cared enough to make people happy.

Do you really believe the student group and union would have been happy with this? I find that unbelievable. They would have decried the attempt to feed them some "easy" things and not follow through on the real issues.

Basically, as soon as they sent the letter with all those over-the-top descriptions of the prof's behaviour, they were in a corner and couldn't have accepted anything less than a dismissal.
The problem is that the old jobs didn't require high IQ but the new jobs increasingly do.

In the old days even the dumbest man could carry grain from one place to another or push a plow. Even the dumbest woman could churn butter or milk a cow when told to.

These low-IQ individuals do not have the mental capacity to switch to Python programming - regardless of education.

So the "IQ floor" of the economy is rising. The result is that the high IQ people are fine, but low IQ people end up simply unemployable at any job. It's only in the last 50 years that the IQ floor rose above an undeniably noticeable chunk of the population. 10% of people are under IQ 85, which is too dumb to join the US army (by law). Too dumb to be trusted with powered construction equipment.

Leftists can't conceptualize this problem because of their egalitarian worldview, and rightists either talk about bootstraps or might not even care, seeing it as a sort of justified Darwinism.
Reminds me of the articles that came out in 2016, where we --finally saw the first comprehensive Supply/Demand curve in the wild:
http://freakonomics.com/podcast/uber-economists-dream/
Because upstream often uses defaults that are fine for Linux, but not necessarily anything else. That’s why one should use official ports/packages, instead of hacking things together like its ‘90s.
I've been around tech long enough to witness the rise of Google (and soon to fall). Regarding your reference to tech customer service...the G is practically the originator of absent human customer support.
A profit oriented system doesn’t make outcomes irrelevant. A grocery store could maximize their profit margins by selling rotten fruit at the same price as fresh fruit, but of course no one would buy it.

This argument falls on deaf ears to be honest, considering Amazon deals with a very similar situation due to rampant fakes and yet it's more profitable for them to simply do nothing.

The problem is that for-profit industries only work when the consumer and business interests are aligned. In education the best way to earn a profit is by offering a low quality degree and spending the least on teaching, facility etc. That's the entire reason why McDegrees exist. Considering schools are also highly tied to physical locations, there's less possible competition than you think.
This exactly. private education has a greater incentive for raising quality than government education does - which is why private schools produces better outcomes.
What kinds of applications take no time to startup though? I'm curious about the spin up time, 'cause my rails applications take on the order of minutes. I guess you can schedule a keep alive elsewhere though..
These products remind me of that one colleague who doesn't understand why people don't like them. Uh, you've systematically fucked them over for years without even realizing it, and when you get caught you never even apologize, thats why they don't like you.
it is, but should it be?
Given your current frustrations with the project, could you also describe the benefits of using FreeBSD in your company that offset these problems?
The Truth and Lies of Jeffrey Epstein's Money
Wouldn't it be a third?
> I live in a Constitutional Representative Republic. where the majority is not allowed by the constitution to invoke their mob rule on others

Instead, that privilege is reserved to a minority privileged by geographic distribution, which is much better.*

* If you are in the privileged minority; not so much otherwise.
isn’t a “real tty” because it has a metal backend

I was at first confused. Of course "real ttys" have some metal in their back end! (I'm too young and my default mental image of a "real tty" contains a CRT, but there's probably even more metal in a teletype.)
RSS assisted LRO is a FreeBSD feature where LRO holds batches of hundreds or thousands of packets, then sorts packets by arrival time and LRO hash result. That puts packets from the same connection adjacent to each other, and lets LRO combine them. Delivering packets in batches of hundreds requires some work from the driver (and requires the driver use a new LRO API).

At least on our (Netflix) workload with tens of thousands of active connections, RSS assisted LRO increases our aggregation rate from almost nothing to about 2:1, and saves about 10% CPU.

Its been on my TODO list to add RSS-assisted LRO support to iflib, which would give the intel and broadcom 100g drivers access to it, along with assorted Intel and other 1g, 10g, and 40g devices. But it still hasn't happened yet.
Wow this looks great, thanks!
Its not a physical object. Songs are not going to be locked in some room and taken from society. Its just investment from his side and that seems totally OK in my book
> What's the value proposition of Pijul ?

A faster patch-based DVCS. Folks have done a good job explaining it below.

> I mean, not being Git is not a good reason to convince anyone to adopt it as a VCS.

I dunno if I agree with this, but even if we dismiss that folks should be willing to try new things. When I was teaching folks about dcvs's back in around 2009-2010 folks were also unnecessarily skeptical of any sort of change.

> A tool needs to actually be better at something and add tangible value where others may not have

Not really though? It just needs to be different.
By ignoring the numerous examples of violence (usually sexual) and intimidation that dissuade women from participating in the field. He confuses cause for effect in his quest to justify his pre-existing beliefs.
Look deeper than the money, at the relationships and realities it facilitates. Somewhere a factory worker traded time with their kids to work on that car, all so it could sit in a garage to satisfy some alienated rich guy's ego? At some point it's just waste and sacrifice.
The problem is there's a gap between having low enough income (and being able to jump through enough hoops) to qualify for Medicaid and having a good enough job to be able to afford adequate health insurance to receive healthcare in anything but an emergency.
I'm happy to see Naval mentioned a bunch, bummed that no one has mentioned the 'After On' podcast by Rob Reid [1]. Rob Reid interviews Naval, ep. 44 & 45, the 2 part interview/discussion focuses on X-Risks, whether the long-term is going to exist for our species, automated assassination markets, drone swarms ending commercial air travel as we know it, fucking awesome. My dad is a 71 year old doctor, a little aspy, loved the podcast so much he shamed me into supporting it on Patreon. The podcast is on a hiatus at the moment, the back catalog is well worth exploring. The Fermi's Paradox episode with Stephen Webb, the Aubrey de Grey episode, and Rick Doblin (of MAPS) episodes are magic. I also highly recommend Rob Reids sci-fi book named 'After On', particularly if you work in tech in the bay area.

[1] https://after-on.com/
s/ /, /g

s/alfa/alfalfa/
What if you discovered the reason? Wouldn't you want to share it?
That would be another way of lowering the percentage of people living in poverty.
> To keep reading, please turn off your ad blocker, create an account or support us by becoming a subscriber.

So Seattle Times doesn't want me to read this article unless I share my identity with them so they can sell it to others.
Also it is a total lie and a very narrow definition of utility. Arguably, we’ve actually under priced some of the most important labor in our society (caregivers, teachers, social workers, etc), and over priced some of the dumbest (sorry, but if Uber disappeared tomorrow, society would be moderately inconvenienced, but little else).

Finally, nothing in evolutionary biology teaches us that human beings ought to work. Studied hunter-gatherer societies are as multi-faceted as agrarian and technologically driven ones, but they all seem to share a 20 hour work week and a strong affinity for story telling and art.

Honestly, if you followed evolutionary biology we all should be working quite a bit less and producing way more art. The idea that people will fall into dissipation without work is supported by very little science, and certainly no biological science.

Human beings need missions, not labor, to be fulfilled. The market economy seems capable of only supporting a very narrow slice of mission oriented work, the rest does seem like drudgery to me.
So the author had a poor customer service experience, and blames it on "the future".

This is the sort of rant I expect from my grandpa, not the blog of a tech company.
This one is trivially solved using jail or chroot. Otherwise, there’s the path translation mechanism (/compat/linux) specifically for this purpose.
Show HN: ShapeMeasure. Automating measuring and cutting on construction sites
In the US, the distinction between having health insurance and being able to receive necessary healthcare is not a huge distinction. Fairly sure you know this.
I’m not sure that’s entirely analogous. Open source and commercially licensed compilers would have licensing agreements governing how they can be used. But I imagine if a person made their own compiler, and didn’t license it to anybody, but somebody somehow gained access to it and used it to compile their code, that the resulting output would infact be infringing the IP rights of the compilers author. I’m sure you could also publicly release a compiler with a license that assigned copyright of the output to the compiler’s author (though I doubt you could convince anybody to use it).
The future point the author makes is that all skill has been taken out of most jobs, and almost all power to boot. In the future, no one will be able to handle exceptions not caught by the software.
Where can you find a server like that for €20/month?
The solution is clearly to restore a full system backup from a time that it had fewer SQLite backups :P
In Cardiff there’s an area called Roald Dahl Plass. It is, to put it politely, prime real estate. The Welsh Assembly is there. It was also a site used in Doctor Who and its short-lived spin-off Torchwood. The fictional location of the entrance to Torchwood has become a shrine to Ianto, a character that died in the third season. A _lot_ of people have left messages and artwork.

I came across this entirely by accident.
These ideas are beyond delusional (in today's world).

> everyone could have access to [vehicles] when desired

Uber is trying to do this, but has a lot of problems, from unpredictable pricing, surge pricing, long wait times, shitty drivers, chatty drivers (?), seats with puke all over them, ... self-driving cars could solve some, but not all of these problems.

> everyone could have a home with desired proximity to others

No, the reason real estate in e.g. NYC is so expensive is that everybody wants to live there! The only way to fix this is to fundamentally decentralize our economy and education systems, but that's a whole lot more complicated than "city layouts".

> [education, medical care and communications infrastructure] would be universally available and effectively free

Maybe education and communications, but with medical care almost certainly not... The main issue is that medicine doesn't save people's lives, it just prolongs them, and that can always be done better... So fundamentally, the demand for medicine is unlimited, whereas the supply (doctors) is limited, so whatever system of "free and universally available" system you design, there's going to be tradeoffs. Tradeoffs like, "do I fix my teeth or my eyes" and someone is going to have to make that choice. Personally, I'd prefer that to be me (with my money) rather than my government.
I use DO too, but they have deleted a lot of customer data.

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

https://blog.checklyhq.com/why-the-recent-digital-ocean-kill...

Keep your stuff backed up.
> How can cooperation remain stable when people have unequal wealth? It depends on your explanation for why cooperation can evolve at all. What makes cooperation work, in our paper, is direct reciprocity, which means that we play repeatedly. I can hurt you next round if you hurt me this round, even if you are slightly more wealthy than I am. And, depending on how much I can hurt you next round, this might still be enough to make you cooperate in the present round.

It sounds like you want to cooperate just enough to avoid violence but as little as possible to maximize your wealth. Seems pretty on par with history.
This is already a big theme in Brazil. When you have an air conditioning malfunction, there's no one to fix it. An underground system of guerilla technicians develops, outside the bounds of the law, because they're not supposed to exist.
I am Famous at work because I wear a Head Scarf
At first this article seemed like some sort of new "interactive movie" thing, but I was mildly disappointed in the end to read that it was actually just about a technical problem at the movie theater. (don't get me wrong, it's a good article)

>"This is the future, I’m afraid. A future that plans on everything going right so no one has to think about what happens when things go wrong. Because computers don’t make mistakes . . . A future where corporations are so obsessed with efficiency, that it doesn’t make sense to staff a theater with technical help because things only go wrong sometimes. A future with a friendlier past."

It doesn't make sense for a theater to have a high-paid techie on staff to handle the small percentage of the time some major technical glitch happens. Instead of the theater hiring technical staff, they can now put that money towards a better overall movie-going experience (those times when glitches don't happen anyways).

I guess I just don't agree with the author of the article that this is a bad thing.
This strongly suggests that in times of repose, women are pregnant with males, and in times of uncertainty and stress with females. Is this true in your experience?

Thinking of it like a forest, women are the trees that create further forest and more life. The tendency for the forest to wish to cover the landscape with greenery and trees is normal, and once the forest is flourishing the focus changes to romping and playing.

Tragically and ironically, the 1 child policy in China was likely quite destructive because it caused so much stress and anxiety, uncertainty, and therefore mammalian ladies were likely creating mainly females, which were discarded in favor of males -- seen as the more important choice in times of scarcity -- in clear cross-facing against the grain of nature as she appears to play it in such times, according to the suppositions and supports of the hypothesis.
The feedback might have been tame, but was not at all reasonable.

Relaxing efforts to pursue cheating? Lowering grading standards? It is very clear that the committee looked at which demographics were not doing as well in his classes as they would like, and came up with some recommendations to change that.

We are seeing a trend in academia, where your class/race/ethnicity/social group membership should mean more in terms of what is owed to you, than your academic merit. Women being given bonus points to enter STEM degrees at University of Sydney is one such insane example.

I find it very disingenuous when people look at an article like this, think the points raised by the college/university aren't that bad, and then refuse to consider the underlying motives for the college to make these recommendations.
>What is so special in using other providers

Exactly what you imply with your nostalgia for PIMs: increased fragmentation. There is value in witholding information/data/usage from Google (or FB, or Amazon, or Palantir, etc.) -- particularly personal data that is most valuable in aggregate -- value that reflects a decreased ability to cause problems, worries, and/or concerns in users' lives.