skysight-inc/HackerNews huggingface dataset:
If you push to master, you'll be put on a Microsoft blacklist. Oh, wait.

This is Microsoft again trying to disrupt the OSS community even further.
> Without the racist background, how does one know which list does which?

By basic knowledge of the English language. Terms like "black market", "black death", "black tuesday", etc. etc. By the expressions like "looking at things in black and white". It is a part of language, it has nothing to do with race. These colors are used in the same way in other languages of other countries that don't even have racial slavery history.

What is your example supposed to prove? That there were in fact some racist songs? How does that make the whole American culture "racist"? If there is a song saying something bad about males in general, does that make the whole culture of that whole country anti-male for some reason?
I’ve had some password reset mechanisms send me codes without the attacker needing to know much. I believe this has happened with facebook before; my password there is unique and random, and even after changing my password to another random one, I still got a couple of occasional 2FA codes. Not sure if they’ve changed anything there to combat this, but just my 2¢.
Why? The amount of npm dependencies has little to do with why you disable javascript by default.

Do you really care if some website uses a dependency from npm or some copy pasted code ? What does it change for you as an user?
Genuinely curious, do we have sources for the words used in a specifically racial context?
Ah the war on words. Soon (or here already?) the way you speak will he uses to determine your tribal membership.
Bitkeeper had master/slave repositories, and that's where git's use of the word master came from.
I would guess that such associations have long existed, including in places where most people have dark skin, and are not based in the idea of “race”.
Well, "git" is a swear word in British English.

"a foolish or worthless person", per
https://www.merriam-webster.com/dictionary/git
Interesting. When Alfred Pennyworth calls Batman "master Bruce" he is actually badmouthing him. TIL
One day we might find historical record of a slave owner holding "main" as a title. Any terminology that implies hierarchy can be construed by social justice to represent a slavery reference.

In reality, they should just drop this, or call the branch "non_feature", better yet "non_feature_not_that_there_is_anything_wrong_with_being_a_feature"
https://mail.gnome.org/archives/desktop-devel-list/2019-May/...

via https://twitter.com/tobie/status/1270290278029631489
I've never been able to follow the argument that social welfare policies won't work for a diverse society, in which, as far as I've been able to figure out diversity means lots of different racial groups?

How will diversity of population keep approaches from scaling well?
How similar in experience must a population be for a policy to work for them, for example a policy of universal health care. I would have thought that the experience of being mortal would suffice, but evidently not.
They're presumably just changing the default name of the default branch for new repositories created via github.
> Aliases would have to be standardised (and I don't mean the crap they pulled with aliasing wget) and regardless, only provide an illusion of simplicity that breaks down the moment you try to do anything more advanced.

OK, wget/curl was bad idea, but lets not overreact here about one bad judgement. Illusion of simplicity ? That breaks ? Cmon... never had a single problem with aliases until pwsh, and I am using Powershell 24x7 almost exclusivelly in aliased form. Also, powershell does standardize aliases, once they are in, they never change (except when it went x-plat, but everything changed, so that is moot point).

> The only place dotNet actually matters on Windows. Everywhere else it's just unnecessary bloat.

Let me just say here that entire sentence is crap :) I do not work for MS but life became good when it was x-platformed. MS reputation was bad in linux world but its a social construct that now starts to fade away. I am into technology, not into that social mumbo jubmo bs.

> I mean, yeah, technically anything Turing-complete is as powerful as it gets.

You cant really compare PowerShell with mainstream langauges, since its made for shell context. Regardless, you can do all those fancy stuff in C# and compile it inline. Native powershell has all the things you mention tho, seems you need to take a good look into it (except coroutines but who cares for that in shell ?)

> I don't know of anything Powershell can do that other scripting languages can't.

Let me cite another well known person to you - I mean, yeah, technically anything Turing-complete is as powerful as it gets. The point is to do it in easy to understand and concise manner, without reinventing the entire universe in the process.

> In all of this, btw, I was not considering Python a scripting language, which I easily could have (there are even a few neat shells for it). Once you have Python, it's barely even a contest.

I was waiting for this: lets get python (or ruby or <insert-non-shell-language-here>. Lets be serious about this.
These things you see as pain points are all profit centers. If you got rid of them the “list” price would go up and customers seem to prefer hidden fees to price transparency.
Show HN: A simple music maker using Roland TR-808 sounds
So what if it's written by the author of a competing tool? Can you show that it's actually wrong instead of dismissing it as a ‘polemic’?
This tweet seems to have researched otherwise - that master/slave originated from bit keeper: https://twitter.com/tobie/status/1270290278029631489?s=21
In git? Master.

This is about Github.
If people are offended by "git" and want to advocate for a name change, they are free to do so.
The LaserJet 1012 was such a great printer! I think we spent $100 on ours back in 2004 and it lasted with frequent use until last year.
The FAQ at the end is well written. Even if you are not into cycling, the entire article is very well done. Kudos to the team that made this.
>in reference to “master” records / the “mastering” process of audio mixing

That analogy doesn't really make sense, because audio mastering is more like cutting a release branch. The way git uses it is more equivalent to "trunk" in SVN.
I'm surprised it wasn't called "main" given it was all C wizards who developed git in the first place.
The title calls for an end to China's United Front operations; the article doesn't say how it will achieve this other than requiring Confucius institutes to register as foreign agents. I guess one benefit of fighting against a covert operations is that you don't have to be specific. Or is the idea to inoculate Americans against Chinese influence by equating all such influences with the United Front?

Might I suggest we look at the lesson of history and issue another execute order like the one made by Truman[1]?

[1]https://en.wikipedia.org/wiki/Executive_Order_9835
"Don’t you see that the whole aim of Newspeak is to narrow the range of thought? In the end we shall make thoughtcrime literally impossible, because there will be no words in which to express it." George Orwell, 1984
Have a look at VCR. It was developed for Ruby, and does exactly that: mock out the actual HTTP part of your HTTPClient.

It does this by first making the actual request and then storing that record in a plain YAML file (which you can alternatively generate yourself, by hand or from an openapi spec)

Have a look at "Ports in Other Languages" in their README to find the VCR port for your language, framework or stack.
have you read his books? people come out with totally different impression once they do so.
Well git internally is a directed acyclic graph of filesystem changes, and branches are just tags on nodes. Master is just a convention-based name for the default branch when the repo is first created, but it could be called anything. The only way that scripts would break would be if they explicitly listed master, and that should be able to be changed (or git could fall back by reserving both master and main as meaning the "Default" branch and either branch name was interoperable in the command set). That would only break cases where users were also using "main" to mean something else.
So you're saying Awk isn't "actually useful" which is why it's hardly used?! It's an entirely different kind of tool to C. Or rather, C is a programming language, Awk is a tool. To "get used for some things" is what it's for. Sounds like you're talking more about what purpose things are used for than how much they're actually used. And Awk seems a failure to you because it's used for Awk-problems rather than C-problems? I don't understand your negativity. Awk was and is wildly successful.
Interactive Covid-19 Travel Regulations Map
I still think there are wider use cases for named arguments. For example, even disambiguating between which argument is the "string" and which is the "substring to be found", or the classic "x, y, width, height" list in graphics programming.

But your point is well taken that, like many tools, you shouldn't abandon one set of good practices for another. There are certainly cases where a builder pattern or enum values are a better fit, which could be obscured as an option because keyword arguments "sorta kinda but don't really" address the same thing.
The point of the H1-B program was to attract talent that had high tech skills couldn't be found domestically. However this system has been used is as a way of getting employees with the same skill-sets at lower rates. There is a whole industry that popped up to help companies structure their job postings such that no one local would apply so they could then go and say they needed an H1-B. So it is absolutely no surprise that they pay below market wages, that is how they use the system!
I Built a Marketing Plan That Increased Search Traffic by 2638%
Ask Linus, who is in Oregon
Swift language evolution seems to be heading in a bad direction. This is another change that adds nothing but extra, obfuscating complexity to the syntax.

Now you’ll have to read and write yet another syntax variant, with slightly scrambled separators and brackets.
https://twitter.com/tobie/status/1270290278029631489?s=21
This seems to be the case fire sure. How does one go about finding reliable help and how does one retain said person over the long term?
Well on the bright side, "main" is shorter to type than "master".
This is messed up. So Microsoft is so confident enough of their dominance in the development ecosystem (with eating up companies like GitHub and NPM) that they think they can just change the default branch name?

People looking at this from social justice are missing the point. Call me paranoid, but this may be the beginning of the infamous "Embrace, Extend, Extinguish" strategy https://en.wikipedia.org/wiki/Embrace,_extend,_and_extinguis...

I have nothing against MS, I think it's evil to disrespect and undermine open standard for the sake of social justice politics.
I'd never heard of an L1B visa so here is one of the top DDG search results.

"An L-1 visa is a visa document used to enter the United States for the purpose of work in L-1 status. It is a non-immigrant visa, and is valid for a relatively short amount of time, from three months to five years, based on a reciprocity schedule. With extensions, the maximum stay is seven years. L-1 visas are available to employees of an international company with offices in both the United States and abroad. The visa allows such foreign workers to relocate to the corporation's US office after having worked abroad for the company for at least one continuous year within the previous three prior to admission in the US...."

Really it sounds like this is a Visa for a US company to temporarily bring in someone from outside the country, a person who is already an employee of the company.
You'll have to use the whitewashed^Wcalcium-hydroxided PC version of git.
Uber doesn't do that now.
I don't work for Amazon, but a similarly giant tech company, and I idiotically signed the non-compete because I was excited to work for one of the brand-name companies.

The non-compete specifically says that I am not allowed to open source any software, and until very recently, I wasn't allowed to even open a Github issue. The wording specifically says that they own anything I conceive of while working for them.

I shouldn't have signed it, I'm always working on personal projects and it's kind of depressing that I only realistically have the option to either donate my project to my corporation so that, at best, they own all rights to it and probably never open source it, OR not-release anything so that I have plausible deniability if/when I quit.
I do have Hertz Gold, but I've never paid for it. I think I originally got it due to a credit card promotion, but they renew it every year, for free.

My experience of renting has always been just like you describe for National. Walk to the lot, find my name on the screen, go the indicated row, pick any car from that row, get in, drive out.

I've been Hertz-loyal all this years precisely because the experience is so zero-effort.
Times are weird. Can't wait until I get to "git diversify primary". Now that I think about it, "pushing" "changes" to its "origin" sounds a lot like a dog whistle to me...

Kidding aside, I can understand why referring to something bad as "black" could bother some people. At the end of the day, I just want version control. I'll use whatever command I need to.
This is true in places like Denver as well. It can get tough to get rental cars in the winter or in summer (spring and fall are better) because of vacationers going a number of hours from the airport. Uber/Lyft don’t really help with those trips. Generally I do Uber/Lyft in Denver because it’s more convenient if a bit more expensive.
I'm not sure this is the reason for that specific implementation but `Math.abs` _will_ do a string-to-number conversion.

I.e., `Math.abs("-27")` yields `27`.

It might be the case that Math.abs does other *-to-number conversions also, so maybe this method is trying to take advantage of that. (Math.abs is usually implemented as a native function so without digging more deeply it's not obvious to me what the actual implementation does.)

UPDATE: Curiously, `Math.abs(null)` yields `0`, so a null argument passed to is-even would yield `true` I guess.

Also whatever the logic is for that conversion is it is not the same as the built-in `parseInt` or `parseFloat`. `parseInt("27 meters")` yields `27` but `Math.abs("27 meters")` yields `NaN`.

Personally in JavaScript I almost universally make use of home-grown `isInt` and `toInt` methods whose behavior is predicable for me -- eg. my toInt() will reject a string that's not _just_ an integer value (and return `null` rather than `NaN` in all cases because who wants to check `isNaN`?) -- but that's probably not a great practice either. But I've been programming long enough to realize that the principle of least surprise is probably the most important concern here for long-term efficiency. I suppose what is or is not surprising may be subjective though.
Yeah when mountain biking something extra steep, Pantani is the only way.
I've heard that law firms in England put terms in employment contracts that prevent an employee from working for another law firm for 12(?) months within 10(?) miles. They're called "restrictive covenants", I believe.

Since law firms often have multiple offices, a common trick is to be officially employed at a far-away office while mostly working at home and sometimes "visiting" the nearby office. For the first 12 months.

Mentioning that the reason you left might have been because you were being sexually harassed probably deflects some threats, but these things rarely get as far as a public court so it's anyone's guess what gets mentioned in private in such cases. I have absolutely no idea how the damages would be calculated if enforcement of a restrictive covenant did get as far as a court. It's certainly an interesting question. Perhaps for an ensurer if people need to ensure against it.
I kind of understood when people didn't want to use "master-slave." I didn't agree with it, especially in the context of databases or other redundant distributed systems where the "slaves" really were required to follow all of the commands from the "master," and this relationship was better captured by this term than the bland "primary-secondary." (However, I actually prefer "primary and secondary" when talking about storage drives, since the "primary" drive is more like first among equals rather than something issuing commands.) But I could always understand it, given that "master-slave" has certain connotations.

This from GitHub, however, makes no sense.

The word "master" is overloaded. In the sense used in source control, the term has nothing to do with slavery or servitude; it simply is "an original from which copies can be made." In fact, in all of my 10 years of using git, I have yet to see a "slave" branch or anything implying servitude of any kind. And this is ignoring the fact that distributed source control is an inherently egalitarian and liberating proposition (centralized services like GitHub itself notwithstanding).

And who will benefit from this? What person suffering from oppression is going to be helped by being spared from seeing the word "master" (even without a concomitant term suggesting servitude)?

Count me out. I'll keep naming my default branch "master," because that's what it is: an original from which to make copies.

EDIT: In fact, I'd go so far as to say this will only harm the people it's trying to help. How much documentation exists out in the wild referring to the "master" branch? Who is more likely to rely on cobbled together Internet documentation when learning something new and relatively complicated like Git: a person of color without much support or mentorship, or a person from overrepresented groups who can likely just find a friend to ask? How is a person without much of a support network and trying to get into tech going to react when she has read about "checkout master," only to get to GitHub and see only "main."
It seems to be the case of non-recognization of tribal epidemiology centers by the CDC as being public health organisations. Who makes this seemingly binary decision as to which entity falls under the "public" sector or not? Shouldn't this be already well-documented which entites fall under which jurisdiction?

"The tribal epidemiology centers were originally created to coordinate public health efforts between tribes and state and federal agencies. And under the Affordable Care Act, the centers are considered public health authorities on a par with state health departments and federal agencies such as the CDC. But Abigail Echo-Hawk, the director of the Urban Indian Health Institute, told POLITICO that the CDC has so far rebuffed the centers’ requests — telling her only that the data is nonpublic."
To be 100% honest, when I first read the changes to whitelist/blacklist I thought, "Well, that's pretty stupid" but after reading your comment and a few others, it does actually seem quite racist.

Like someone else mentioned, without the racist connotations I wouldn't know whether black or white list was the 'good' one.

Language evolves constantly, always has and always will do. I'm not going to get hung up on things being renamed and I honestly do not see why people should be.

I'm still not sure about the 'master' branch change being required, as it's obvious (to me) the context in which master refers to (like a master copy or a key or something). There's no 'slave' branch (master/slave terminology is a problem).
It's worrying that it's hard to tell if this comment is even sarcastic or not.
I'm going to blow your mind...

The "mastering" process of audio mixing historically starts with the input of "slave" tapes...
Most people don't until death or near death. Gates is the most recent example to re-shift his ambition to bettering the world... but of course, a non-trivial amount of the world now believes he is trying to put chips in people to track them.
Amazon limits cash Corp to $160K and pays the rest in stock so the law might have covered 100% of their employees. Would have expected to see them quickly take that to $190K though.
I absolutely said biased and opinionated journalism is important.

On one hand, you can have a story that says "3 people cut their grass today" and on the other hand you can have a story that says "3 people cut their grass today, their reason for doing so, and why you should join them in grass cutting unity." The latter is much more important to a functioning democracy than the former.

The crucial part you missed is:

>It's hard to consume just that without also consuming the daily noise.

RSS is filled with noise. It's filled with stories that are stories because space needed to be filled, that capture your attention for the sake of capturing your attention, not to educate you on things you "need to know."

The whole point of something like Facebook's algorithm is to identify a signal from noise. It is very hard to consume the news without consuming noise, and that is an opportunity for Facebook to actually do something morally right (as opposed to agnostic) and identify what is important for people to learn. That by definition is going to involve a level of bias. Its going to involve them going against everything they believe in, NOT using engagement data to rank content, something I dont think their organization is really capable of.

Drudge tells you "heres what important to know for the day." Techmeme tells you "heres what important to know for the day." Wikipedia Current Events tells you "heres what important to know for the day." Reddit and Facebook tell you "heres what the most people with short attention spans clicked on today."

The world needs better aggregation of important stories.
Not the mattress. High quality handmade horsehair mattresses are what the absolute richest of the rich have slept on for hundreds of years and continue to do today in 2020. There's a reason they go for $100k, I've tried them.
Good article, so glad to find it here. I wish, though, that the authors had talked a lot more about memory management in Objective-C, because this had a major impact, not only on the development of Objective-C, but also on Swift. As far as I can tell, the idea of (explicit) reference counting came from Next, when Blaine Garst and others were working on remote objects. When I joined Apple (and therefore had to learn Objective-C), the most important task was to understand reference counting and memory management. Yes, there was a lot more, like interfaces, properties and the many libraries, but understanding alloc/new/release/autorelease was crucial for shippable software. GC was introduced (and deprecated) during my time, but it was the realization (presumably by Lattner and his team) that the LLVM analyzer could do a better job than humans at managing reference counting that was huge. No more hours and hours hunting down memory leaks! And, of course, only one concept required in Swift, namely weak vs. strong references.

In summary, a terrific paper, but it is too bad that this crucial part of the story is missing.
No, your example actually solidifies my argument.

For most people, uploading that 4gb file for cloud processing will take an hour. But re-encoding 2h of video with GPU acceleration only takes 15-20 minutes. So no matter how fast serverless is, it'll always need to wait for upload and download, which may be slower than all the computations combined.

As for X server, using it over the internet is a pain. It is optimized for a low latency connection, meaning the opposite of putting calculations in a cloud hundreds of ms of ping away.
This mail discusses some of the origins https://mail.gnome.org/archives/desktop-devel-list/2019-May/...

It argues that git‘s master branch is most likely directly derived from the master and slave repository concept in bitkeeper.
But they don't have that signal...
Segment Routing v6