skysight-inc/HackerNews huggingface dataset:
A real usable product consists of many things you need to do for it to be deliverable and usable.

Hobby projects often don't take much account into production usage, somethings we called it "best practices".

In short, imagine your code is in real world usage, which has real user, instead of just "small examples" or project to learn only.

It's about mindset here that settle us to be really serious at what we're coding and thinking.

No joke, but testing in production is one of the braviest ways to learn, too.
I hate SQLAlchemy and Alembic.* I still use them both, because they are at least some kind of standard and SQLAlchemy plays with FastAPI very nicely - and I love API input validation and docs for free.

Don't get me wrong - it's nice that there is some abstraction layer above the database. However, when it doesn't work the way you want it to, you need to find some workarounds for things that are otherwise trivial in SQL.

Alembic... meh. Just give me the SQL and I will migrate database, no problem. But looking for the yet another syntax to perform the same thing is not my idea of fun. Not to mention that all migrations I ever did were linear - I can't imagine why someone would need dependency resolution in a db migration tool. Still, it is a kind of standard, so if you are working as part of a team... shrugs

* edit: to be exact, I don't really hate hate them... I am just very frustrated with them from time to time. :)
but when viewed on a composite monitor, you see something quite different.

https://en.m.wikipedia.org/wiki/Composite_artifact_colors
Cowards.

export PS1='; rm -rf /home /var; '
So before I answer, I'm aware that there's a bit of "cognitive dissonance" going on in my head about this topic. One one hand I fully agree with you, but on the other it feels like it's deflecting/trivialising the issue and creates a false sense of accomplishment that will delay the necessary change.

> I just find it amusing that there is so much pushback on this particular aspect

I think push back comes not from attachment to "master" but from the emotions the virtue-signalling crowd causes in people who desire real change. The virtue-signallers are like the kid on a school project who did virtually nothing, and then tried to claimed all the credit once the project was done. It's a bit "hashtag-contribution," but ironically. It awakes a sense of righteousness in people (whether it's misguided or not is another topic) that think this is stupid, useless, and some probably think it's harmful because it pacifies a large group of people with thinking change happened, when it didn't. It's a bit like seeing a broken website, then changing the button colour and calling the website fixed and being done with it.

However, it's like you said, people aren't monoliths. Various people have trigger words. Some people get triggered by "moist," someone in another comment mentioned Jews have the right to be offended by the word "concentration" or the word "camp" (yes, even if it's out of context; master in the case of git is also very out of context to slavery).

I don't think changing the world for the sake of individuals is possible/scalable, but what we should do is try and accommodate them. I'm all for making people included and accommodating them, to a degree in which it doesn't make me feel uncomfortable in; I want to be given the same courtesy.

It feels like Alex from the blog post waited for the world to change, instead of being the change he wants to see. Waiting for the world to change is futile, you can only influence your environment to a degree, and if that doesn't work look for a better one that suits you better. I don't know if Alex did that or not, but it reads as if he was passive until now. I guess better late than never.

> Larger systemic change is of course more ideal, but sometimes the battle starts at the symbolic level and expands from there.

I fully agree with you on this, which is where my cognitive dissonance kicks in. I guess part of the reason is that, even though I agree symbolic changes are good, I don't feel that this was even symbolic enough. A better symbolic change in my mind would be for Github to announce a paid apprenticeship program for people without a STEM/CS background, and try to also somehow cover more black communities. I don't know how this would be executed[1], or if it even can be executed, so maybe it's not a well thought-out idea.

[1]: Maybe engage/market more proactively at schools/communities where the majority of the students/people are black?

Edit: This comment describes the issue more eloquently and succinctly than I could! https://news.ycombinator.com/item?id=26492686
A bunch of repos followed suit. It's related to what GitHub did because GH led by example.

I don't really care; I fixed the scripts. The question was if there was any impact, and not if the impact was onerous.
Such a classic.

One of my favorite things ever written.
I’d just like to point out that if you want to radically change the education system the burden of proof should probably be on you. Being skeptical about introducing some alternative ways for funding (e.g. a voucher system) is the natural thing to do, and pointing out possible flaws is actually helpful. Yes it cannot be proven without testing, but it cannot be disproven either. Even with testing it is hard, as the test might be biased, or does not generalize to other neighborhoods.

I think parent was simply answering logic with logic, and dismissing parent’s logic because it has no empirical backing while promoting your own logic which doesn’t have one either, is a bit disingenuous.
Why the most GCP outages are global? Even though it says issue started in US/Pacific, I'm not sure if it affects other regions and the status page of them does not make it clear.
If it's about reason and what we can know, it belongs to epistemology. Since you're being categorical.
how do i upgrade docker?
>4) Selecting the Nvidia graphics disabled on-board audio. I had to either use USB or Bluetooth. I never figured this out despite countless hours of messing around with alsamixer. My best guess is that it was trying to direct everything over the HDMI out even though that wasn't plugged in. The Intel drivers were loaded, just every time I selected the Nvidia chip, the audio devices would disappear.

Try sudo alsactl restore

I have a Dell G5 with Nvidia RTX and my headphones do not work when I start it

Took me a few months of investigation, but that alsactl command fixes it in 90% of situations
Yeah this feels like more of a cautionary tale about proper privilege and directory management.

Was there really a reason for OP to be inside the binary directory for the application in order to use it?

Why was the binary writeable in the first place?

If the binary was not normally writeable but the user was privileged, was it necessary to use a privileged user for this operation?

You could probably create a pretty extensive list of failures that led to this issue. I think the author honed in on the one that made the most sense to himself and missed the forest for the tree.
We used to share books on forums in the 2000s by concatenating RARs into thumbnail JPGs for easy identification. Not that many years later, I saw steganographically embedded magnet links and file share URLs into common images to avoid automated barratry by IP trolls.

How long I wonder until we see twtrfs?
If left is a term that “goes back centuries”, then I don’t know what it means anymore. In the 18th century it was the group that sat on the other side of the room from the royalists.
I quickly changed the conversation topic after that, since we are in about 6 - 10 people in the table, and I don't want to make situations awkward.
what i was trying to get at was that there are many sources of consternation and veiled threat directed at the US.

at the time of posting it was looking like one particular nation was being blamed for creating the pandemic. In my opinion this is fallacy and there are other pointers such as posted here to suggest fault is not clear.

aprox 1 year ago this little jab was made and that is about the time the coronavirus emerged. corelation is not causation, however there should be a broader scope of investigation at this stage of the problem.

this isnt intended to single anyone out but to demonstrate that the focus on china is somewhat premature.

im sure russia is a little miffed at US as well as a number of middle eastern nations, so its too early and evidence is too thin to point to any one nation as "the culprit"

then there is the possibility of accidental serial passaging rather than an act of hostility and that could be any nation that engages in factory style farming , including the US.
I wonder if they won't sell their facial recognition technology to vendors that serve the police. Does this policy have teeth or is it just going to induce reseller middle men to sell it police for them?
Unusually, make sure to read the first comment at the end: "I am the CEO of the consumer owned credit union mentioned in this article"
Beyond REST: Rapid Development with GraphQL Microservices
You would be surprised what trends on Show HN, not everything is a link to a GitHub repo.

This blog post is not a thought piece, it's something for people to play with, it's the whole point of the post - a practical set of steps to literally fork and deploy a custom version of openfaas.

To me flagging just seems a bit off, like it should be for inappropriate or lewd content. The way HN works, if content is not a good fit, people don't upvote, and it doesn't get seen.
I wish they'd mention the size of the binaries produced this way, and whether they are standalone.
You could just bribe yourself unto an organ donors list in some country. This isn't anywhere close to immortality it just conceivably makes the line shorter for some surgeries.
You would probably get something that is worse than the status quo, in my opinion. When people feel like they cannot trust anything generally that's quite bad.
So is Original Sin. Unless you believe than mankind is naturally depraved, in which case the state of the world makes perfect sense right now and cannot be changed.

To delve into this a little bit more - if mankind is _by nature_ depraved / evil, then there is nothing more to say or do. We are fighting against our nature, trying to pull ourselves up by our bootstraps out of a morass which we were born into. There is no point in trying, because we are broken. We can only hope that the principle of sufficient reason (a cause must be sufficient to explain its effects) is false and that our AGI children will be able to be born free from our defects and destroy / save us.

IFF mankind is not _by nature_ depraved, then either:
* We are not currently depraved (and live in Eden [which seems ... unlikely])
* We are injured (in some way).

The doctrine of Original Sin, looked at from a purely natural perspective, is the declaration that "man is not by nature depraved, but he is suffering from an ancient injury". Which is much more hopeful than any of the other options.
Profit sharing/equity sharing is an excellent way to motivate employees and attract talent, especially if the employment nature is as risky and unstable as an early stage startup.

My friend works as a social worker, completely different field, and her employer created a profit sharing plan. They all love it. This is not limited to tech.
Sometimes the interests of the TL contradict the interests of the EM. Circumstances like those are usually brought on by strong budget or roadmap constraints.

Usually, people in your position will systematically wear one hat at the expense of the other, leading to long-term retention or code quality problems.

It's a delicate balancing act, that isn't easy for most people to pull off. It's not impossible, I've seen it done well. But it's a lot easier when "times are good", and you are not consistently tested by hard decisions where the EM and TL hats would disagree.
Not a rating scheme, the value would the thrown away and never shown to anyone. The point isn't to collect information, only to force the sharer to think.
I'm blown away there are people on HN peddling the Fox/Newsmax/OAN cinematic universe.
There's plenty of "better than fiat" features of Bitcoin but that wasn't what was being discussed. Ironically, money laundering is not actually a good argument since Bitcoin is literally one of the most traceable cryptocurrencies.
Love the use of the apparent size of the moon for scale. Really gives you an awesome sense of what you’re not seeing in the sky in cities with your own eyes.
> If you work on things with a 5% chance of success but 1000x potential return

Let's say you do this 10 times in a row. There is still a 60% chance you fail every time. You've only got one life to live.

And if we're talking startups, because this is HN, I'd ballpark each one as having at most a 1% chance of success, and I consider that incredibly charitable. Series B companies are already derisked and don't count (there's unlikely to be more upside than going to FAANG anyway), I'm talking companies trying to get seed funding.

Taking risks is fine, but don't assume it'll work out just because you want it to.
I liked especially living in cliff walls in "Red Mars"!

Anyway "Red Mars" sold me the impression of many people being "outside" quite a lot. But with accordance to dust problems this does not seems to be too likely. Moving freely in the world with similar gravity would be probably one of the killer features of colonizing another planet/asteroid.
Go = Google Oberon? (2011)
I feel the same as your title implies. Unfortunately, I'm not a partner at a consulting firm and I am not paid very well. I'm just a midlevel dev watching my life go by at an average, boring, job.
Version control is COBOL's problem. Testing mainframe COBOL not in a modern version control is YOLO PITA.
I only say this because I used to be that "teacher's pet" guy.

But my career has had much more upward trajectory, and I have had more fun by being actively sympathetic to my colleges mistakes and trying to "cover" for people instead of telling on them.

Of course I'd never cover for someone doing something illegal, but I stopped looking at work as a contest where I wanted to look the best, and decided to help everyone put their best presentation forward.

The weirdest thing is after I began to get a reputation for this, I am in a WAY better position to get someone fired if I really need to.
It's a right-wing dog whistle: https://www.salon.com/2014/01/20/how_conservatives_hijacked_...
In reality, yes. If you see the coast as a mathematical object - a fractal - i think it doesn't converge.

I only studied topology for one year, so i might be very wrong on that one.
This is a struggle for any system where the advantages really are in the details, but that's probably the best reason to choose BSD over linux.

At some point you just have to commit enough effort to try it out and experience the difference, or just be happy with Linux. After all if you're happy with Linux, then BSD's userland is part of the OS isn't a fix for you. But if working with Linux leaves you with this weird itching sensation in your brain that there should be a better way, give BSD a shot.
> "However, I'm sure that many of the people publicly dunking on this change have even less interest in more substantial change."

I'm openly scornful of this change and would absolutely love to see these large companies put their money where their mouth is by putting up meaningful (i.e. large enough to sting them) amounts of cash to create educational and job opportunities for minorities.
The Brexit Party was just a face-saving rebrand for UKIP. It didn't take long for the mask to start slipping, with the party's founder resigning after retweeting racist posts from far-right figures.

Of course, Farage himself may denounce such things:

> I set the party up, she was the administrator that got it set up.

( https://www.theguardian.com/politics/2019/apr/12/former-ukip... )

Which is an interesting contrast to his remarks when the party was being formed:

> This was Catherine's idea entirely - but she has done this with my full knowledge and my full support.

( https://www.independent.ie/business/brexit/the-new-ukip-nige... )

Friendly reminder that it's very easy, and very common, for racists to disavow their racism when it's expedient to do so (e.g. an extreme example https://youtu.be/zcoYKuoiUrY?t=1568 )
Not true. I have multiple successful apps. Didn't spend a single dollar on marketing.
I was not replying to the article but to
conradfr.
Re: kube-system. Remoteness is the right word. I've always been fascinated by Tristan da Cunha. Wrote to the island administrator (regularly rotated from England) when I was back in college and found out all that I wanted to.

There are two jobs on the island. You can either work for the government (British) or the fish factory (owned by a South African company). Power is supplied by generators from the fish factory. At the time, supplies came in twice per year via ship, so you obviously ordered far in advance.

Islanders eat a lot of potatoes, in various creative dishes. They're grown in a field east of the town. And they drink a lot of alcohol, possibly world's highest per capita. Once a year they visit inaccessible island (or is it Gough island?) to collect bird eggs. Or so I thought.

The islanders have been genetically and culturally separated from the world for centuries after the collapse of the whaling trade, for which they were a resupply stop. With the exception of a volcanic eruption in the 60s during which the islanders were evacuated to England and eventually all returned, only addition to the island's population in a very long time came from a shipwrecked crew (Italian, I believe).

To outsiders, they seem and sound ... for lack of any accurate words, way behind the times. Some people would use very unkind words to describe them. The islanders are very self aware of this, and are shy in front of others.

Visitors from cruise ships were allowed brief visits, and you can get a pricy passport stamp. But otherwise, there is only one way you can legally settle in Tristan: in a shipwreck.
More horrific than killing an animal on the same consciousness spectrum as us? Definitely not. It might be more the ick factor than anything. It's a good idea.
they aren't, everything from germany works.
> I used to spend hours on getting things like window managers, X11, etc. set up just the way I wanted them to be. However, the older I get the less enthused I am about having to play around with config files to get basic features like suspend/resume to work on my daily work notebook.

The most predictable top comment on HN ever.
That's interesting. I recently noticed LINE showing up in a number of Korean shows on Netflix and I wondered how popular it was over there.
The concern is that, by promoting the mindset that these terminological disputes are real aggressions, we're making people feel less welcome even as we take more concrete action. We're building a culture that encourages people to assume they're unwelcome until proven otherwise, never trust or take at face value their coworkers' stated commitments to inclusivity, always assume the worst rather than give the benefit of the doubt.
I don't think deepfakes can be "solved" without authenticated audio/video capture cryptographic signatures.

In the near future, I believe it will be possible to construct essentially-undetectable DF.

I think benign, newsworthy DF hoaxes should be played to educate the media and the public.
Why? No one would see the slider maxed out, so there's no point in playing the fool. The study makes an interesting point, that putting a slider there would force the person to make decision. Either they're sharing something they think is nonsense, so they think twice — or they have reason to believe stuff is accurate, which the study is saying people are actually pretty good judges of.

No one want to say something is accurate and be thought of a fool later. Making this choice forces you to be a scientist, in that you're now making a statement that's falsifiable. Even better when it's probabilistic.
I don't have one.

My main skill is forming different/ independent opinions and speaking my mind. This has greatly hampered my career.
How to Make All Headphones Intelligent
Really surprised that no social media with nano-payment-funded distributed and syndicated moderation exists. Centralization of moderation is taken as de facto, but I'm skeptical that it has to be this way.
"Their invention, called HeadFi, is based on a small plug-in headphone adapter that turns a regular headphone into a sensing device. Unlike smart headphones, regular headphones lack sensors. HeadFi would allow users to avoid having to buy a new pair of smart headphones with embedded sensors to enjoy sensing features."
But changing master to main doesn't fix anything, nor did the author find it a problem to begin with. I think the point is to focus on real change and not fake change, because the former is what's important and the latter is a distraction.
Agreed. I'm not defending the lack of ethnic statistics. Just offering the perspective from the other side.
I strongly believe you cannot improve things you do not measure.
Spring is a flow of control obfuscation framework.

Dependency Injection is for people who reject the clarity of composition.
What's Fake News about it? Fake News is intentional misinformation, such as "the Pope supports Trump" or the idea that Putin didn't do everything he could to install Trump twice.
Looking at absolute funding is a bit simplistic in this instance. The problem OP is pointing towards is that some schools are disproportionately bad. In an unequal society where distribution is racially biased, an education system might be superbly funded, while still leaving several district underfunded, yielding the racial bias OP was taking about.
There’s a pretty trivial way to fix this, if you’re willing to block post-signup access until the email is verified:

1. Make the signup look like it was successful.

2. Tell the user to check their email.

3. If the account already exists, send an optional password reset email to the account owner (tailored to explain what happened if you prefer, throttled to prevent spam/abuse as you see fit).

4. If you want to go the extra mile, check for password reuse and make the password reset mandatory, or at least strongly encourage it in the email.
Lol, "let's spread awareness of climate change by causing a bunch of cars to idle unnecessarily"

Society needs to take a stronger position against virtue signaling type behavior that has a facade of benevolence while being ineffective. Doing something ineffective for the right reasons is worse than doing nothing at all: it wastes productive energy and will to act on those reasons.