News for hackers. Stuff that matters.
Re:GitHub blocks entire company because one employee was in ... by cies on Tuesday January 05, 2021 @07:06AM (#25644685)
> Ironically, Git is a decentralized version control system.

And Git is open source.

Github is a US-registered company under MS. The US has a history of weaponizing its economic power.

Stallman (RMS) was right once again.

Re:GitHub blocks entire company because one employee was in ... by x3c on Tuesday January 05, 2021 @08:05AM (#25645061)
This particular case was overreach by Github and not the US Lawmakers.

https://home.treasury.gov/policy-issues/financial-sanctions/...

  118. I have a client that is in Iran to visit a relative. Do I need to restrict the account?

  A: No. As long as you are satisfied that the client is not ordinarily resident in Iran, then the account does not need to be restricted. See FAQ 37. 

Source: https://twitter.com/Hamed/status/1346433510786138114/photo/1
Re:GitHub blocks entire company because one employee was in ... by fennecfoxen on Tuesday January 05, 2021 @08:37AM (#25645321)
It may be overreach by GitHub, but given the severity of the sanctions lawmakers have set for if they happen to get it wrong, I'd like to at least blame lawmakers for creating such a risky situation.
Re:GitHub blocks entire company because one employee was in ... by A4ET8a8uTh0 on Tuesday January 05, 2021 @09:56AM (#25646140)
I work with sanctions. I think both can be easily blamed. Similarly to DMCA notices, most companies opt to for the path of least resistance ( it is cheaper to blanket ban than to investigate ). Yes, politicians are to blame for creating the environment, but companies deserve flak for taking the path that is bad for the customer ( unless they are sufficiently well-heeled ).

My thoughts are my own. I do not represent anyone other than myself.

Re:GitHub blocks entire company because one employee was in ... by fennecfoxen on Tuesday January 05, 2021 @10:12AM (#25646291)
So look at (one one hand) a customer worth... well, PureLabs is "10 incredible FTEs," let's give them the $21/user/mo Enterprise plan at $210/month in revenue.

On the other hand, a sanctions violation could be a $65,000 fine (Trading with the Enemy Act) or $250,000 (International Emergency Economic Powers Act) for each offense. (I leave aside the million-dollar narcotics-kingpin act). On top of this we also see the risk of criminal prosecution.

In what world is it reasonable to expect anyone to take this chance?

Re:GitHub blocks entire company because one employee was in ... by A4ET8a8uTh0 on Tuesday January 05, 2021 @10:20AM (#25646384)
It is hard to discuss hypothetical violations so I won't do that. It absolutely is a safe course of action to do a blanket ban. That said, is it reasonable to assume violation based on IP address ( and that is what seems to have happened here )? Banks don't automatically (typically ) block MUHAMMAD JIHAD even if they may end up questioning it.
Re:GitHub blocks entire company because one employee was in ... by harperlee on Tuesday January 05, 2021 @10:41AM (#25646634)
That’s because the combined business of all Muhammads and their employers is way more than 210$/month AND it would be illegal, and Bad PR™, to ban them from your business based just on their culture/name. Otherwise they would have been “derisked” out of service.
Re:GitHub blocks entire company because one employee was in ... by A4ET8a8uTh0 on Tuesday January 05, 2021 @10:58AM (#25646834)
You have a point ( and Mnuchin to his credit ,based on reports, does care about regulatory burden and its impact ). So you are right, one is not like the other. To address your point directly, if OFAC tomorrow added MOHAMMAD JIHAD with no other information ( no DOB, no address, and so on ), you would be surprised how quickly the banks would respond.

Now note that that we are discussing a name, a commmon, but somewhat reliable, if mutable, driver of our identity. Now compare it to IP address and tell me, which one is a better predictor of who you are.

Unless, we are assuming IP is a proxy for location, which is another story.

Re:GitHub blocks entire company because one employee was in ... by harperlee on Tuesday January 05, 2021 @11:53AM (#25647459)
Banks typically would react overnight to OFAC list updates, through a sanctions list service.

If no DOB or similar is also provided, though, scoring should not be too high - and if a match with Mohammad is enough to trigger an alert, the overnight alert delta would be either manually processed by Compliance, or bulk closed as false positives, depending on how much time you need to unblock the clients and similar risk considerations.

Re:GitHub blocks entire company because one employee was in ... by A4ET8a8uTh0 on Tuesday January 05, 2021 @12:49PM (#25648405)
I am not sure if you realize it, but you are proving my point. Banks found a way to address the issue without adversely affecting the customers. Github appears to have only recently started to do the same, but they opted for a blanket approach as opposed to a more targeted one.
Re:GitHub blocks entire company because one employee was in ... by harperlee on Tuesday January 05, 2021 @01:07PM (#25648662)
Sure, I’m just not trying to disprove you, I argued similarly in other threads.
Re:GitHub blocks entire company because one employee was in ... by saagarjha on Tuesday January 05, 2021 @11:16AM (#25646997)
> It absolutely is a safe course of action to do a blanket ban.

Except when you make a mistake and ruin someone’s morning.

Re:GitHub blocks entire company because one employee was in ... by slaymaker1907 on Tuesday January 05, 2021 @11:51AM (#25647427)
They do actually flag payments if you put the word Isis or something in the memo.
Re:GitHub blocks entire company because one employee was in ... by lawnchair_larry on Tuesday January 05, 2021 @11:54AM (#25647481)
Do you have a story about this?
Re:GitHub blocks entire company because one employee was in ... by zinekeller on Tuesday January 05, 2021 @12:23PM (#25647932)
Not parent and not about terrorism directly, but Tardigrade Ltd. was sanctioned in US (because it is an arms dealer without licence in US) causing all "Tardigrade" payments blocked (even innocuous ones): https://news.ycombinator.com/item?id=24450828
Re:GitHub blocks entire company because one employee was in ... by siruncledrew on Tuesday January 05, 2021 @10:53AM (#25646782)
Cases like this are an example of a company trying to cover their ass leads to a customer getting kicked in the ass.

Sanctions, compliance, etc. is a messy ordeal to manage (both technically and operationally), and the ways laws are written with so many intricacies and dependencies doesn't make it easier.

Because only 1 instance of violation could lead to fines equivalent to a person's salary, often the systems are made to be overly sensitive and less investigative to figure out whether a 'hit' is actually a false-positive because that also takes time/money and still carries potential risk.

Re:GitHub blocks entire company because one employee was in ... by rurban on Tuesday January 05, 2021 @10:21AM (#25646396)
I would blame the automatic sanctioning software triggering such as situation, without checking if the new access from Iran was by a tourist or citizen. Adding an org block for minor access within two weeks is overreach.
Re:GitHub blocks entire company because one employee was in ... by inlined on Tuesday January 05, 2021 @10:45AM (#25646680)
I’m unaware of a library that checks citizenship of the user behind an IP address.
Re:GitHub blocks entire company because one employee was in ... by rurban on Thursday January 07, 2021 @04:16PM (#25677597)
Exactly, that's why cannot block somebody on the first access. Even prosecutors will understand this.
Re:GitHub blocks entire company because one employee was in ... by harperlee on Tuesday January 05, 2021 @10:46AM (#25646686)
This kind of software is not simply installed with an apt-get one-liner, github can’t be exempted from choosing their business rules on screening matches.
Re:GitHub blocks entire company because one employee was in ... by antihero on Tuesday January 05, 2021 @09:28AM (#25645813)
Thing is, GitHub is a tool that facilitates distribution of IP. So if someone is logging into GitHub in Iran, whether they live there or not, they can use it to "export" code.
Re:GitHub blocks entire company because one employee was in ... by mcguire on Tuesday January 05, 2021 @11:57AM (#25647528)
Which is kind of irrelevant---preventing the export of code is not the issue. This is an economic sanction against Iran by preventing companies from doing business there.
Re:GitHub blocks entire company because one employee was in ... by amadeuspagel on Tuesday January 05, 2021 @10:07AM (#25646244)
The law has a chilling effect on companies, that drives them to do things like this. If a company does something, that they clearly would not have done without a law, it's the fault of the law, even if that law didn't specifically require it, in fact even if that law specifically exempts it.
Re:GitHub blocks entire company because one employee was in ... by x3c on Tuesday January 05, 2021 @01:52PM (#25649327)
Since I can’t edit the comment, I want to paste this here so readers are informed about the extra mile Github travelled as well.

  Advancing developer freedom: GitHub is fully available in Iran
https://news.ycombinator.com/item?id=25648585
Re:GitHub blocks entire company because one employee was in ... by sparkling on Tuesday January 05, 2021 @09:42AM (#25645977)
The problem starts with how to even identify if someone is physically in Iran. Making that asumption based on the IP address is highly questionable.
Re:GitHub blocks entire company because one employee was in ... by ABeeSea on Tuesday January 05, 2021 @10:47AM (#25646706)
You think a lot of people are proxyjng their traffic through an Iranian IP address?
Re:GitHub blocks entire company because one employee was in ... by raziel2p on Tuesday January 05, 2021 @09:59AM (#25646166)
If you read this literally, you could get away with leaking state secrets as long as you're visiting a relative while doing it.

Github cannot be expected to reliably differentiate between the coworker who just checked the status of a PR on a webapp versus the employee who opened a crucial piece of encryption code to leak it to the Iranian military or whatever.

Re:GitHub blocks entire company because one employee was in ... by mcguire on Tuesday January 05, 2021 @12:06PM (#25647674)
This is an economic sanction against Iran; it has nothing to do with state, or corporate, secrets.
Re:GitHub blocks entire company because one employee was in ... by x86_64Ubuntu on Tuesday January 05, 2021 @10:04AM (#25646221)
If that's the case, then the problem isn't Github, but of the organization having Iranian intelligence assets on staff. And the whole idea of the government regulating encryption and it being weaponized is overdone.
Re:GitHub blocks entire company because one employee was in ... by koheripbal on Tuesday January 05, 2021 @10:03AM (#25646213)
The above is not law. The law is more detailed. This is a FAQ that should be interpreted in a reasonable fashion, not with an extreme use-case.
Re:GitHub blocks entire company because one employee was in ... by saagarjha on Tuesday January 05, 2021 @11:17AM (#25647009)
A spy could also just clone the repo and travel to Iran, too.
Re:GitHub blocks entire company because one employee was in ... by Siira on Tuesday January 05, 2021 @10:16AM (#25646345)
Spies can send information from anywhere in the world to anywhere else, so I don’t see how they being in a specific location at all matters.
Re:GitHub blocks entire company because one employee was in ... by hoppla on Tuesday January 05, 2021 @11:51AM (#25647421)
I do not see why a geoip filter do not suffice. GitHub should not be the one to interpret the whole complex picture.
Re:GitHub blocks entire company because one employee was in ... by elmo2you on Tuesday January 05, 2021 @08:32AM (#25645283)
I would go quite a step further than that. If this was not an unfortunate incident/mistake, then GitHub/Microsoft has become quite the active enforcer of US (legal) foreign policy.

If they do that within the US market, that might be justifiable. But in this particular case, GitHub appears to enforce US foreign policy on what appears to be a company on the EU market. Also in what to me appears to be a rather ruthless, totalitarian, maybe even draconian way.

I'm pretty certain that absent this US law within the EU market, this action is arbitrarily discriminatory, and very likely constitutes inflicting serious damage on another company without a legal basis (within the US, yes .. outside the US, no).

GitHub may find itself stuck, between adhering to US laws and laws elsewhere (in this case EU, but China is probably a good example too). Still, is ultimately is a choice for GitHub to offer their products on multiple markets. If they have issues with that, they are free to exit a particular market. It certainly is never a valid excuse to start violating law in any market outside whatever country your headquarter might be located.

Tangentially, this rather typical popular belief that US companies can simply absolve themselves from legal liability, just by crafting clever TOS/EULA that supposedly does just that, has always confused to me. It was always my understanding that you can not create contracts that violate laws. In most countries with a somewhat sane state of law, governments really do not like or tolerate when companies start essentially making their own law in parallel. But apparently you can rewrite (even basic) law in the USA, as long as you can somehow get both parties to agree on it. Be that by free will or coercion.

Maybe it's time, for other parts of the world to no longer put up with this kind of bullshit, and demand that US companies actually adhere to the laws (and legal protections) that exist within their markets, or be free to buzz off and only operate on the US market alone.

With US foreign policy becoming increasingly self-serving, legally dubious, and in some case downright insane, having internationally operating companies enforcing those policies is becoming a seriously risky proposition for anyone outside the USA.

Re:GitHub blocks entire company because one employee was in ... by A4ET8a8uTh0 on Tuesday January 05, 2021 @10:04AM (#25646215)
"I would go quite a step further than that. If this was not an unfortunate incident/mistake, then GitHub/Microsoft has become quite the active enforcer of US (legal) foreign policy."

I am not sure if most people realize this, but OFAC compliance is rather rigid with no room for error ('strict liability'). And US treasury enforces it hard. Recently, Amazon got caught in its cross-hairs ( though it managed to get away with a low fine relative to its size ).

I guess what I am saying, according to OFAC, everyone is responsible for enforcing US foreign policy.

edit: Everyone as in US person, person on US soil or someone using US dollar. I really should avoid exaggeration.

Re:GitHub blocks entire company because one employee was in ... by elmo2you on Tuesday January 05, 2021 @01:16PM (#25648783)
There is no doubt about US companies having to follow US law. But this is an internationally operating company, which means it has to also follow whatever law might apply to whatever market they operate on.

GitHub, as any other US company, has a choice/freedom to stop offering services to customers outside the US market, if the particulars of providing those services causes them to violate laws in at least one of the jurisdictions.

Of course, US companies should be rightfully pissed, if the US government puts them in a situation where they can not (legally) operate abroad. But that's something they should take up with US lawmakers.

At the end of they day, they are still (most likely) operating illegally on a foreign market, even if they are unlikely ever to be substantially punished for that. The thing is, the US has a rather questionable track record of coming to the rescue, whenever a US companies get into trouble for (illegally) doing business abroad. Ironically, whenever another country does that (e.g. China) the US immediately have a long list of choice words an allegations at the ready. Long story short: pure hypocrisy.

Re:GitHub blocks entire company because one employee was in ... by michaelt on Tuesday January 05, 2021 @09:31AM (#25645846)
> But in this particular case, GitHub appears to enforce US foreign policy on what appears to be a company on the EU market.

Surely enforcing your politics outside of your jurisdiction is the whole point of an embargo?

Re:GitHub blocks entire company because one employee was in ... by elmo2you on Tuesday January 05, 2021 @09:57AM (#25646151)
As a government, yes. As a commercial company, operating on a market outside of US jurisdiction, please explain me the legal basis for that (if you can).
Re:GitHub blocks entire company because one employee was in ... by scott_s on Tuesday January 05, 2021 @10:49AM (#25646736)
The government where the commercial company is based expects the company to do so, and will hold that company accountable if they do not.

You may not agree with this situation, but it is how it works. The US government will investigate and penalize companies that violate US sanctions, even if the parts of those companies involved did so entirely outside of the US.

Re:GitHub blocks entire company because one employee was in ... by delfinom on Tuesday January 05, 2021 @11:46AM (#25647354)
Yep, the current US administration is somewhat to blame on the shift. It has always been a requirement, it's just that the government up until this admin mostly didn't care to enforce it. It's pretty obvious a number of companies got threatening letters to comply or face jail time.
Re:GitHub blocks entire company because one employee was in ... by scott_s on Tuesday January 05, 2021 @12:36PM (#25648160)
When I did some googling, I found an article from 2012 about sanctions enforcement (https://www.itproportal.com/2012/10/26/ibm-questioned-over-a...). I am unaware of new behavior regarding sanctions enforcement, although I know that the current administration imposed additional sanctions. But my understanding is that with existing sanctions, this is what the US government has always done.
Re:GitHub blocks entire company because one employee was in ... by JamesBarney on Tuesday January 05, 2021 @10:46AM (#25646692)
The legal basis is they are using a U.S. company (GitHub) that has to has to follow U.S. laws. And that makes certain things inconvenient for them.
Re:GitHub blocks entire company because one employee was in ... by gnopgnip on Tuesday January 05, 2021 @12:27PM (#25648007)
Github is not outside US jurisdiction, and is required to enforce these laws even if the client is in Europe. They could be sanctioned by OFAC if they don't
Re:GitHub blocks entire company because one employee was in ... by 8note on Tuesday January 05, 2021 @12:28PM (#25648030)
The legal basis is that the US has a big stick, and so all countries must follow us laws, or they'll nuke your capital, rape your children, destroy all your infrastructure, etc.

In this case, it's just leaving you to starve, so you're pretty well off on the whole vs other things Americans will do

Re:GitHub blocks entire company because one employee was in ... by scott00 on Tuesday January 05, 2021 @10:52AM (#25646778)
Are there European laws that prohibit discriminating against people who live in Iran? Or that prohibit discriminating against companies who employ people who live in Iran? If not, the legal basis is that you can do anything you want unless it's prohibited by law, and the action in question isn't prohibited by law.
Re:GitHub blocks entire company because one employee was in ... by elmo2you on Tuesday January 05, 2021 @12:27PM (#25648006)
Yes, it actually is illegal to arbitrarily discriminate people based on their ethnicity, political views or nationality (unless there is a specific law that allows that for a particular nationality, e.g. in case of a legal embargo)
Re:GitHub blocks entire company because one employee was in ... by lawnchair_larry on Tuesday January 05, 2021 @11:59AM (#25647556)
They probably did not want to have their CEO nabbed by police in the Vancouver airport for extradition on sanctions violations. You might want to see what happened with Huawei, who aren’t even a US company.
Re:GitHub blocks entire company because one employee was in ... by lodovic on Tuesday January 05, 2021 @12:12PM (#25647761)
If Huawei wants to do business in the US economy, they can do so but have to abide by the rules. They can also choose to do business with Iran instead, but not both.
Re:GitHub blocks entire company because one employee was in ... by elmo2you on Tuesday January 05, 2021 @12:56PM (#25648512)
It appears that you are pretty much the only one who gets it. At least from anyone who responded.

I find it rather shameful, that apparently everyone who responded to my question, did so by explaining that a US company has to abide by US law. You don't say!

That was never the question, but apparently even reading is even too much to ask from people these days.

Of course US companies have to follow US laws. But if that conflicts with law in wherever their services are offered, they no longer have any business operating there. They should consequently stop offering their services in that territory.

Since that's unlikely going to happen on their own initiative, maybe the EU should simply declare companies like these as illegal on their market.

Actually, that might even help to finally get rid of the stranglehold which many US have had for a long time on any emerging potential competition from EU companies. Something for which US companies have regularly used and abused differences in law and economy (between the US and EU), in order to obtain an (unfair) edge.

Maybe it's about time that comes to and end, so US companies can prove that they can compete on equal grounds. I personally doubt that, because for most of the last century this competition has been dominated by the US exploiting artificially created advantages.

Politics aside, it's rather sad that this aspect of legality is even a discussion topic. It should be a no-brainer that US companies should abide by whatever laws exist on a foreign market they operate on (of course on top of US law).

If they can't, the only (legal) option is to stop operating. Either that, or the company is a criminally operating organization. That is, the violations are systemic and not just a few unintended incidences, of course.

Re:GitHub blocks entire company because one employee was in ... by lawnchair_larry on Saturday January 09, 2021 @05:00PM (#25705304)
Is that not also what I just said?
Re:GitHub blocks entire company because one employee was in ... by lawnchair_larry on Saturday January 09, 2021 @04:59PM (#25705288)
That isn’t what my comment was actually about. It was a comment about GitHub, not Huawei or the US.
Re:GitHub blocks entire company because one employee was in ... by mc32 on Tuesday January 05, 2021 @08:38AM (#25645336)
...” , this action is arbitrarily discriminatory, and very likely constitutes inflicting serious damage on another company without a legal basis...”

Isn’t that what YouTube and FaceBook do day in day out when their influencers run afoul of policy?

Re:GitHub blocks entire company because one employee was in ... by elmo2you on Tuesday January 05, 2021 @09:53AM (#25646102)
Those other companies certainly do too, yes. Or at least that is what I am convinced of. I would say that what I wrote about GitHub should equally apply to these companies too, or any company for that matter. Not just US companies, but any company that operates internationally.
Re:GitHub blocks entire company because one employee was in ... by vezycash on Tuesday January 05, 2021 @08:49AM (#25645439)
Add other Apple and Blizzard to the list.
Re:GitHub blocks entire company because one employee was in ... by gnopgnip on Tuesday January 05, 2021 @12:28PM (#25648022)
If a user runs afoul of policy, the action was not arbitrarily discriminatory.
Re:GitHub blocks entire company because one employee was in ... by elmo2you on Tuesday January 05, 2021 @01:22PM (#25648875)
Policy set by whom?

That of a commercial company, which does not have a legal mandate (at least not in the EU) to make make rules that violate EU law (including legal protections), or the US government, which does not have legal jurisdiction over the EU market?

Pick your poison

Re:GitHub blocks entire company because one employee was in ... by mc32 on Tuesday January 05, 2021 @04:34PM (#25651442)
What? Your position is that if it’s policy and you enforce policy then it’s not discriminatory?

So if a policy or a law says X is disallowed or is unlawful, ipso facto, X can only run afoul of those bodies of governance and can’t be discriminatory? That’s interesting!

Re:GitHub blocks entire company because one employee was in ... by PeterisP on Tuesday January 05, 2021 @03:30PM (#25650619)
"this action is arbitrarily discriminatory" - if so, this action is permitted. While there often are restrictions on specific, enumerated types of discrimination (e.g. religion, ethnicity, gender, etc - though almost universally they apply to discrimination of people, not companies), those are exceptions to the general principle of "freedom of association" where people and companies are free to arbitrarily decide with whom they want to do business and whom they want to exclude - as far as they don't violate some of the specific restrictions listed in law. If a supplier does not want to sell to your company for an arbitrary reason, it's their right to do so.

"constitutes inflicting serious damage on another company without a legal basis" - again, that does not indicate any wrongdoing. Inflicting serious damage on another company is, by default, permitted (matching the core principle of "everything which is not forbidden is allowed") and is regularly done in the course of normal competition, winning over some other company in bids, recruiting key employees by offering them lots of money, targeting their customers with specific discounts, etc, etc.

If you're inflicting serious damage on another company, then both the intent and result is by itself legal, the only question is about the means. If you're inflicting serious damage on another company by legally prohibited means (e.g. theft or arson or illegal access to computer systems) or violating some established legal duty (e.g. "duty of care" as required by law in various service relationships), then the other company would be entitled compensation. But in the absence of that, if there's no specific legal prohibition to your action (for example, laws on anti-competitive actions tend to impose various restrictions), if your action is legally permitted, then if some company suffers because of that, it's not your problem. There are restrictions on what actions are legally permitted (law on tortious interference might apply here, and if there's some fraud, injurious falsehood etc then it matters) but if they do have the right to arbitrarily end the contract, then that's it, they are not responsible for the damages.

Re:GitHub blocks entire company because one employee was in ... by epc on Tuesday January 05, 2021 @09:21AM (#25645747)
Given the pressure by the EU and China on US companies to enforce local laws globally (GDPR, RTBF, Taiwan), I don't see how Github, operating in the US, as a US company, has any chance absolving itself of enforcing US laws and regulations (though in this specific case they appear to have overreacted, likely due to regulatory enforcement via algorithm and not common sense).

If you expect US companies to respect GDPR and cookie banners and the right to be forgotten, globally; you cannot be surprised that they will respect and enforce US law globally as well.

Re:GitHub blocks entire company because one employee was in ... by denton-scratch on Wednesday January 06, 2021 @06:30AM (#25656755)
"If you expect US companies to respect GDPR and cookie banners and the right to be forgotten, globally; you cannot be surprised that they will respect and enforce US law globally as well."

I don't expect any US entity to "respect" GDPR. Unless they are expecting to trade in the EU. If you trade in the EU, and violate EU law, then you can expect to be fined - wherever you choose to locate your HQ.

Incidentally, GDPR is pretty badly flawed. The intrusive cookie popups are an egregious example of unintended consequences - those popups are actually attacking privacy.

Re:GitHub blocks entire company because one employee was in ... by watwut on Tuesday January 05, 2021 @09:36AM (#25645914)
EU is not forcing American companies to enforce their laws for third party companies operating on non-EU market. Also, American company does not have to follow GDPR for Iranian customers.

EU wants American companies to follow GDPR when acting in EU market.

Re:GitHub blocks entire company because one employee was in ... by JamesBarney on Tuesday January 05, 2021 @10:50AM (#25646753)
I'm in the U.S. and I still have to click all those super annoying "Accept using a cookie" popups everywhere. So that EU law certainly does affect me a U.S. citizen interacting with U.S. companies.
Re:GitHub blocks entire company because one employee was in ... by elmo2you on Tuesday January 05, 2021 @01:26PM (#25648939)
The only ones you have to blame for that, are the companies to show you those annoying popups. They have no obligation whatsoever to show that to anyone outside the EU.

Start complaining to those companies and stop pointing your finger in the wrong direction.

Re:GitHub blocks entire company because one employee was in ... by watwut on Tuesday January 05, 2021 @12:02PM (#25647619)
That is because it is cheaper to show it to everybody. Not because EU would demand it to be shown for Americans.

Also, law do not require it to be shown for all cookies. Only for tracking ones.

Re:GitHub blocks entire company because one employee was in ... by PeterisP on Tuesday January 05, 2021 @03:11PM (#25650370)
To nitpick, while for non-EU companies GDPR applies to individuals in EU (and their data) as per GDPR article 3.2, any EU companies have to apply this for all personal data as per GDPR article 3.1.

So while foreign companies can decide whether they want to apply their GDPR policies (which generally should not require "cookie banners", though it is a popular choice) only to people in EU or all their users, an EU company does not have a choice, they have the obligation to treat personal data of Americans and Iranians and everyone else in a GDPR-appropriate manner.

Re:GitHub blocks entire company because one employee was in ... by epc on Tuesday January 05, 2021 @01:23PM (#25648894)
Keep that in mind the next time you encounter a US based newspaper that puts up a GDPR error page instead of serving the news article you requested. The EU asserts it can penalize a US based company a percentage of its worldwide revenue (not EU derived revenue) for GDPR violations.

I'm not saying it's right, I am saying that these are the logical, practical responses to the way different jurisdictions expect their laws and regulations to be honored, respected, and applied.

Re:GitHub blocks entire company because one employee was in ... by denton-scratch on Wednesday January 06, 2021 @06:38AM (#25656798)
"The EU asserts it can penalize a US based company" ...

Well, of course it can, if the company violates EU law inside the EU. Do you think US law trumps [sic] national law globally? If a US company doesn't want to comply with GDPR, it is free to cease trading in the EU, or cough-up the fines.

Extraterritoriality is an old US habit.

Re:GitHub blocks entire company because one employee was in ... by elmo2you on Tuesday January 05, 2021 @09:51AM (#25646074)
I think you may have either misunderstood me, or maybe have gotten the logic backwards.

I'm not saying that US companies should not enforce US law. I think they should. That is: strictly within the US market.

When they operate outside the US market, they have to (also) adhere to whatever law exists for that market. If that creates a conflict, the company has a choice to either open up show elsewhere, outside of US jurisdiction (if that's the only way to comply with local market rules), or stay in the US and leave the foreign market alone.

Either way, being a US company should never be a valid excuse to violate laws (and/or legal protections) somewhere abroad.

It ultimately is up to a company to choose what they do and where they do it. To me, the current status quo appears to be that many US companies have been (illegally) enforcing US laws outside of US jurisdiction. Aside from that, and maybe even on a far worse level, they have been essentially been making up de facto "private laws", in their TOP/EULA "contracts".

Last time I checked, law should be left to governments. Preferable through democratic due process. Certainly not to commercial companies, who are either privately owned, or publicly by a select few rather undemocratic entities.

Re:GitHub blocks entire company because one employee was in ... by epc on Tuesday January 05, 2021 @01:32PM (#25649024)
My shorter version: Precedent in the US is that the US views its jurisdiction over US citizens and corporations as global. If I as a US citizen step over the border to your country and bribe an official of your country in order to gain a commercial contract, I can (and probably, though not definitely) will be prosecuted for breaking US law, regardless of whether or not bribery is perfectly legal in your country. Same for corporations: if the act is prohibited in the US, the US Government generally does not distinguish between whether the act occurred in the US or not.

This is not new. The Internet exacerbates the potential for conflicts, but it’s not a new problem with the rise of the Internet.

Re:GitHub blocks entire company because one employee was in ... by elmo2you on Tuesday January 05, 2021 @04:19PM (#25651212)
The US government should do whatever it sees fit for its subjects. That's not the issue.

The issue is that a US company should also be held accountable for whatever they violates abroad. Not by the US government, of course. But by the authorities of whatever foreign market they operate on (the only authority with jurisdiction anyways).

While the tide is gradually changing, so far a substantial part of the problem is that the US government has quite a few nasty ways to shield US companies from being seriously held accountable abroad. Still, the longer that reality exists, the more inevitable it will become that at some point US companies will simply be barred altogether from (some) foreign markets. You can only abuse a dominant position for so long, before the receiving end will no longer put up with it. That is, of course, when (or as soon as) they have the luxury of choice in the matter.

Re:GitHub blocks entire company because one employee was in ... by epc on Tuesday January 05, 2021 @01:19PM (#25648833)
It’s been my personal experience that the US government does not distinguish between a US company offering products and services in the US and a US company offering those products and services outside the US. Even foreign subsidiaries are held accountable to US laws and regulations if the US parent has sufficient control of the company.

Bigger companies get a little bit more leeway to negotiate with the US Federal government on this but if the US decides that something is illegal or prohibited, the Justice Department doesn't really care what country the prohibited activity occurred in, it'll walk the executive chain to pick people to prosecute.

The only way a company could complete avoid this scenario is if it licensed its product or service to an independent entity outside the US. And even then the DOJ would likely attempt to force the termination of the license agreement if it results in a product or service being offered in a prohibited jurisdiction.

None of this is new, or due to Trump, or even partisan.

Re:GitHub blocks entire company because one employee was in ... by elmo2you on Tuesday January 05, 2021 @04:02PM (#25651000)
You are correct, on each and every count. However, none of that is related to what I tried to highlight.

Sure, the US is (rightfully so) subjecting every company within its jurisdiction to US law, no matter on which market they operate. Sometimes they go even further and say non-US companies can be held liable, when they somehow interact with the USA or its citizens. That can sometimes become a bit dicey with jurisdictions, but even that is not the point here.

The point is that a US-based company is operating on a market outside the US and (most likely) is operating in a way that is within the law of that market.

To put bluntly: I don't give a #### about how the US treats companies on their territory, regardless where those operate. I care about US-based companies abiding to law wherever they do business. If they can not do that, they should cease to operate there. Whether it's the US government or something else that is to blame for the situation is irrelevant.

Re:GitHub blocks entire company because one employee was in ... by fibers on Tuesday January 05, 2021 @08:38AM (#25645337)
I'm not a pro dev by any means but what is stopping orgs from simply self hosting such a thing? Git is merely version control which supposedly does not take a lot of resources so you can go ahead and buy a dedicated server and host it in your office. Is the question more so about expanded services like CI/CD that may take up more computational resources to continuously build binaries and other deliverables?
Re:GitHub blocks entire company because one employee was in ... by Xylakant on Tuesday January 05, 2021 @10:05AM (#25646233)
The compute part is the least of your worries, even installing the software is usually not your primary concern - everything is fine as long as you're on the happy path.

Software needs to maintained, patched, backed up, verified etc. It has bugs, security issues, hardware breaks in weird ways. This takes time and skill - ideally you'd need two or three people that are capable of fixing problems with the install. (one ill, one on vacation, one available). This is something that detracts from the actual work you're doing. I'm very much an ops person and I actually like tinkering with a gitlab install - it's just so many moving parts that I prefer not to run this for my company since it would eat a substantial chunk of my time just caring for this.

Re:GitHub blocks entire company because one employee was in ... by mcguire on Tuesday January 05, 2021 @12:31PM (#25648080)
The bottom line is that it is cheaper to use GitHub and live with the external risks than to maintain internal services or live without them.

I note that the Linux kernel lived with bare Git for many years.

Re:GitHub blocks entire company because one employee was in ... by Xylakant on Tuesday January 05, 2021 @12:43PM (#25648316)
At least for small to medium organizations without specific reasons for self-hosting. Once you have a team that manages internal infrastructure, this calculus can change.

The Linux kernel is a very specific case with a very specific development model that likely doesn’t apply to most other projects.

Re:GitHub blocks entire company because one employee was in ... by sjagoe on Tuesday January 05, 2021 @08:47AM (#25645425)
I would say it's less about the compute resources, and more about possibly needing a team dedicated to maintaining quite a lot of infrastructure to replace the features that GitHub has, which is far more extensive than just git hosting.
Re:GitHub blocks entire company because one employee was in ... by turbinerneiter on Tuesday January 05, 2021 @09:12AM (#25645654)
GitLab, Gitea or others provide most, if not all, and in some cases even more features than GitHub. Theiy are fully or partially Open Source and they are easy to host.

You need to compare the cost of self-hosting to the cost of SaaS - INCLUDING the risk of getting locked out.

One downside of the SaaS model is that you are just a very small customer in the bigger scheme and they can't really justify spending money on servicing you. Let's say you are company of 5 people, paying 50 bucks a month for a service - how many hours per year can they spend on servicing you before you become a net-negative account? You much power do you have in a negotiation if you are a net-negative account?

Re:GitHub blocks entire company because one employee was in ... by vinay427 on Tuesday January 05, 2021 @10:24AM (#25646443)
> Let's say you are company of 5 people, paying 50 bucks a month for a service - how many hours per year can they spend on servicing you before you become a net-negative account?

It probably isn't sustainable for a business to only consider this aspect. One thing that comes to mind with companies that thrive with a large number of small non-B2B customers, who individually don't tend to have much power, is that they understand that people love to talk about customer service when it's bad, and occasionally when it's very good as well. Word spreads, and nearly everyone places at least a little weight on this public perception of kindness or flexibility with customers especially when it isn't in the immediate financial interest of the company to do so.

Re:GitHub blocks entire company because one employee was in ... by kavalg on Tuesday January 05, 2021 @09:23AM (#25645761)
WRT self hosting, GitLab could be painful, but Gitea is really easy to host and keep up to date.
Re:GitHub blocks entire company because one employee was in ... by risyachka on Tuesday January 05, 2021 @10:01AM (#25646194)
I've been self-hosting gitlab for few years now in my company and never had a problem.
Re:GitHub blocks entire company because one employee was in ... by sitkack on Tuesday January 05, 2021 @11:04AM (#25646891)
You should clone your environment and then inject faults into the clone to cause yourself some simulated problems.
Re:GitHub blocks entire company because one employee was in ... by kavalg on Thursday January 07, 2021 @03:23AM (#25668628)
How much resources does that consume (both compute and human)? Have you done upgrades?
Re:GitHub blocks entire company because one employee was in ... by denton-scratch on Wednesday January 06, 2021 @06:53AM (#25656886)
It's perfectly possible for a team of 10 devs to run on self-hosted source-code control, run an in-house CI system, and run application hosting, with just one tech (and one backup) working part-time on maintaining the system. You need a VM host for the CI; now you have a VM host, you can build git servers and so on (bring the email inhouse, perhaps?).

As far as maintaining the system is concerned: setups that are hosted by 3rd-parties also need maintenance. Someone has to understand how it all fits together, and how to fix it when it goes wrong. So you still need a team-member working part-time on SCC, CI and deployment.

Re:GitHub blocks entire company because one employee was in ... by wolco2 on Tuesday January 05, 2021 @09:30AM (#25645839)
If you have developers that can use git they can setup and maintain a local git or source control.

If no one in your company can do that.. hire or outsource.

Re:GitHub blocks entire company because one employee was in ... by chillfox on Tuesday January 05, 2021 @09:26AM (#25645786)
Maintaining a self hosted solution like GilLab takes less than a day of work a year, and it has more features than GitHub.

(I have been doing it for years)

Re:GitHub blocks entire company because one employee was in ... by tetha on Tuesday January 05, 2021 @03:25PM (#25650544)
Self-Hosting is a similar tradeoff to running your own hardware, imo. You can increase control and overall cost effectiveness for additional scaling, but these choices have a certain base cost you can't reduce. Thus, they only work beyond a certain initial scale, or because you have some specialized requirements.

For example, the source code as well as the tickets around a software tend to be the most critical assets of a company. As such, you need one or better 2 systems to host the source host and ticketing. However, such a system needs backups, so suddenly you need to maintain a backup solution, you need to implement and monitor the backups being created, you need restore tests. You end up needing some kind of monitoring as well. As well as 2-3 dudes at least part-time maintaining all of this capable of replacing each other during sickness and vacation.

That's a lot of stuff as well as a lot of manpower as your base cost. Of course, once you have that, you can self-host a lot of things easily and maintain excellent uptime at minimal risk, because these base services scale very well in complexity. For us it makes sense to do this, because unplanned outages at 100+ developers are seriously expensive and risky.

However, if you have 3 developers and a clock ticking to find product market fit, you don't have that budget - or spending it this way does not make sense. So you buy.

Re:GitHub blocks entire company because one employee was in ... by throwaway4good on Tuesday January 05, 2021 @08:00AM (#25645019)
But Github is reason why git is popular ...
Re:GitHub blocks entire company because one employee was in ... by owlmirror on Tuesday January 05, 2021 @08:33AM (#25645289)
Github sure contributed to the popularity, but I remeber distinctly as Git came out and how it took off like rocket. Git was a "killer app" from it's day of inception and everyone I knew switched their source control to it in late 2005 early 2006. It was a game changer to say the least. Github jumped on a already rolling bandwagon and left me ans many people I knew wondering why the hell you would need to host your projects there. (I am still a little bit puzzled but came to accept it as useful)
Re:GitHub blocks entire company because one employee was in ... by throwaway4good on Tuesday January 05, 2021 @09:07AM (#25645611)
Github fixes the problem that most users have with git (but are ashamed / too ignorant to admit): That it is de-centralized.
Re:GitHub blocks entire company because one employee was in ... by Pet_Ant on Tuesday January 05, 2021 @10:33AM (#25646541)
> Github fixes the problem that most users have with git (but are ashamed / too ignorant to admit): That it is de-centralized.

Git is designed for an environment where there are multiple canonical trunks. RedHats kernel is equally a master as SuSe's. So you are maintaining various tips in a semi-synchronized manner. In most projects there is a single repository branch that is the true branch (with perhaps a few tags for LTR) that represents the project. For that reason a lot of Git's mechanisms are unneeded complexity.

The killer features of Git is GitHub, and to a lesser degree local commits (after all, Mercurial has that too).

Re:GitHub blocks entire company because one employee was in ... by jhasse on Tuesday January 05, 2021 @08:06AM (#25645063)
I doubt it.
Re:GitHub blocks entire company because one employee was in ... by richardwhiuk on Tuesday January 05, 2021 @08:07AM (#25645072)
There's definitely an argument that GitHub is one of the primary reasons that Git beat Mercurial.
Re:GitHub blocks entire company because one employee was in ... by dkersten on Tuesday January 05, 2021 @08:59AM (#25645549)
Anecdotally, I started using git because of projects on Github I wanted to contribute to. A number of others I know where in a similar boat. Before that, we used subversion, bazaar or mercurial. I personally am happy with having been pushed to using git and if it was winning anyway (not clear) I'm sure I would have eventually ended there anyway, but GitHub is the reason I started using it when I did.
Re:GitHub blocks entire company because one employee was in ... by ajsnigrutin on Tuesday January 05, 2021 @08:10AM (#25645096)
Yep!

"One click" fork + "one click" pull request are its killer features.

Re:GitHub blocks entire company because one employee was in ... by jhasse on Friday January 08, 2021 @12:11PM (#25686907)
I've used Mercurial. It sucks compared to Git. And not because I can't use it on GitHub.
Re:GitHub blocks entire company because one employee was in ... by richardwhiuk on Thursday January 14, 2021 @06:50AM (#25775275)
It's tricky to compare them now, because Git won, it's got a lot more investment. Ideally you'd need to care them just before Git got the upper hand - but that's hard to pinpoint.