News for hackers. Stuff that matters.
Re:GitHub: Private Profiles beta by artdigital on Thursday April 21, 2022 @09:13PM (#31117137)
Good. Yeah it doesn't do much for the community, but I got scolded in the past for squeezing in commits to open source repositories that aren't work related during work hours.

I know, I know, I shouldn't be doing that in the first place, but it still sometimes happens, and just being able to keep the profile private is easier than waiting with committing until after work hours.

Not everything I do on GitHub should be broadcasted to my entire workplace

Re:GitHub: Private Profiles beta by hapiri on Friday April 22, 2022 @05:51AM (#31119827)
I don't know why you should be apologizing for this. Your employer has benefited from FOSS products, your PR is the payment back for the community.

I hope you can voice your opinion back. It would be such a dystopia if your employer's attitude become widespread.

Re:GitHub: Private Profiles beta by uuyi on Friday April 22, 2022 @09:19AM (#31121222)
Got to say my employer has a shitty attitude towards this. Even if contributing fixes to components that we use as part of defects.

I still do it. I have a separate non work github account and I just scp myself the diff and PR it from my personal account in the evening. Fuck 'em.

Re:GitHub: Private Profiles beta by 9dev on Friday April 22, 2022 @11:50AM (#31123164)
That may be true in principle, but you’re simply not getting paid for contributing to open source projects unless your employment contract says exactly that. Im not opposed to idling, brains need that. But I don’t think it’s fair to use your company time to work for something else, no matter how good the cause - I wouldn’t want my engineers to help out at a homeless shelter either, even though I’m generally in favor of that.
Re:GitHub: Private Profiles beta by WorldMaker on Friday April 22, 2022 @02:04PM (#31125609)
If your company is paying you to work on Product X and Product X depends on Open Source Library Y, Open Source Library Y's bugs are Product X's bugs. Open Source Library Y's features are often productivity enhancements that make Product X better. Your company is paying you to work around Open Source Library Y's defects and use Open Source Library Y's productivity enhancements, no matter what. Sometimes the fastest way to work around Library Y's defects is to fix them yourself and sometimes the best way to get more productivity out of tools like Library Y is to contribute Library Y features yourself.

Because your company may see Open Source Library Y as free as in beer they may not value the vendor relationship with Open Source Library Y. The "cultural" Maintenance Agreement with Open Source "vendors" is that good open source users contribute back to open source those bug fixes they need for workarounds and those features they request for productivity benefits. Compared to the costs of Maintenance Agreements with many large, classic closed source vendors, the cost of a few hours labor on dependencies to products is often quite cheap relatively speaking especially with the "free as in beer" platform/networking effect that other "good" companies following cultural Maintenance Agreement norms contribute as well.

The only real missing ingredient is that because that Maintenance Agreement is cultural more than it is written down in a way that Corporate Lawyers can read it and Actuaries and CPAs can understand it to be an asset and/or liability that impacts the books, it just becomes invisible guilt: either the guilt that you aren't doing your part as a developer with respect to that culturally assumed Maintenance Agreement OR the guilt that you are doing your part but that your company may find out and claim you are wasting their time. But seriously, that vendor relationship even though most of the "assets" are "free as in beer" should be on the books and have its own billing codes for the culturally encouraged "liabilities" of Maintenance Agreements to spend a few hours of developer time here or there for the "greater good", but also the specific good of "making Product X better" because that is an asset directly related to the performance and success of "Product X".

Re:GitHub: Private Profiles beta by 9dev on Friday April 22, 2022 @02:43PM (#31126219)
That's not what we're talking about here. OP specifically mentioned working on projects unrelated to work.
Re:GitHub: Private Profiles beta by WorldMaker on Friday April 22, 2022 @06:28PM (#31129007)
I think it is still related and relevant, though I did forget to address it, sorry.

Expanding out further from where I left off:

The "compact" of that cultural Maintenance Agreement further relies on network effects that make it powerful (and cheap as free as in beer as an asset): it isn't assumed that everyone can fix/build every bit of open source, it relies on community effects. It relies on a lot of individuals scratching their own itches becoming a collective force greater than the sum of its parts.

Absolutely, Accounting for that is even harder. It's not a "quid pro quo" that you can directly bill to a specific product. That's even harder for companies to deal with. But plenty of companies have much more complex classic liabilities than that: Marketing efforts, R&D, etc. Again, the "wastefulness" in budgeting for "Open Source Maintenance" both specific and general is a super cheap deal compared to classic R&D budgeting. It's a huge savings compared to classic third party software vendors on a combined "asset portfolio" basic. Companies can budget for it. They can and likely should assume some of that "wastage" on "maintenance costs" as natural overhead of building software. (That's what the cultural narrative of Open Source encourages: that everyone should chip in and assume at least some baseline of community effort, from every user [personal, corporate, whatever].)

Bringing things back even more full circle: my company tries to have somewhat regular Community Service Days to give back to the communities the company exists in (and professionally serves day to day). It budgets labor hours towards those efforts (and also promotional budgets for things like t-shirts to pat itself on the back), people sign up to meet those budgets, and things like "helping a homeless shelter" are direct uses of that budgeted time that the company is paying for. My company isn't alone in this practice, and expanding it to charitable "Match" contributions there are a lot of companies paying regular money and/or labor to "general good" charities.

Admittedly, part of those budgets every year come from charitable organization "vendor requests" asking for specific numbers of hours (in many cases) and from Accounting knowing that working with any 501(c)3 makes those hours spent a write-off liability come tax time. That's again where the "cultural" part of Open Source "obligations" meets the practical side that there aren't enough 501(c)3 charitable organization "vendors" to "invoice" companies and also help make the time/labor spent on such "invoices" to be even cheaper than usual labor costs thanks to tax write-offs.

Re:GitHub: Private Profiles beta by yepguy on Thursday April 21, 2022 @09:46PM (#31117336)
There is also git-privacy[1] for reducing the accuracy of all of your commit timestamps.

[1]: https://github.com/EMPRI-DEVOPS/git-privacy

Re:GitHub: Private Profiles beta by eyelidlessness on Friday April 22, 2022 @12:54AM (#31118339)
> I know, I know, I shouldn't be doing that in the first place

You almost certainly should, and if you’re scolded for it you probably work for parasites. You’re not wrong to hide that activity from them but I hope you’ll find a role where contributing back is valued not chastised.

Re:GitHub: Private Profiles beta by hobofan on Friday April 22, 2022 @12:56AM (#31118350)
> repositories that aren't work related during work hours
Re:GitHub: Private Profiles beta by eyelidlessness on Friday April 22, 2022 @01:04AM (#31118390)
I still don’t see the problem. Either they’re sitting around with nothing to do, and therefor the contributions are a clear positive, or they’re neglecting the work they’re supposed to be doing and the contributions are beside the point.
Re:GitHub: Private Profiles beta by fiddlerwoaroof on Friday April 22, 2022 @01:14AM (#31118441)
I think this can cause legal issues: ianal, but generally work done during company time with company equipment belongs to the company, and I’d guess a litigious company could cause problems for open source projects contributed to in this fashion.
Re:GitHub: Private Profiles beta by eyelidlessness on Friday April 22, 2022 @02:54AM (#31119003)
As long as the projects being contributed to are using well understood licenses, the projects themselves are fine. If the employer wants ownership of any of the work, the ownership they’ll get is rights to claim they were contributors. Still mostly good!
Re:GitHub: Private Profiles beta by someonenice on Friday April 22, 2022 @03:21AM (#31119137)
What about the other way - if the commit is "damaging" in nature specially on a competitors repo. For example the recent NPM commit that wiped user data. If its done on company time using company laptop, will the company be liable ?
Re:GitHub: Private Profiles beta by hapiri on Friday April 22, 2022 @05:46AM (#31119805)
the code is provided as is, without warranty.
Re:GitHub: Private Profiles beta by prmoustache on Friday April 22, 2022 @08:23AM (#31120763)
Licenses do not supersede laws.

If you build a software and because of a bug it breaks something, that is fine. If you deliberately change a library to make any software running it crash and you know it is used among other things by software that control nuclear plants or elevators, my guess is it will probably considered a crime in most juridictions. This regardless of the fact said software makers should test their changes.

Re:GitHub: Private Profiles beta by hapiri on Tuesday April 26, 2022 @12:21PM (#31169407)
You're very likely right and I made a mistake. In strict legal terms anything you do can be sued if the law deems it damaging it some way or another, and the answer to this->parent's question is highly dependent on legal contexts.

I was taking a naive view from a theoretical point.

Re:GitHub: Private Profiles beta by NegativeLatency on Friday April 22, 2022 @01:55AM (#31118648)
I’ve had jira tasks for committing to open source repositories at previous jobs.

Sounds like your employer needs to reconsider or have the value be explained to them.

Re:GitHub: Private Profiles beta by crossroadsguy on Thursday April 21, 2022 @09:35PM (#31117279)
> Not everything I do on GitHub should be broadcasted to my entire workplace

And vice versa. That’s why I’ve to keep two separate accounts - main/personal @firstname and another @shortname-work.

Re:GitHub: Private Profiles beta by Lammy on Thursday April 21, 2022 @09:44PM (#31117330)
While in practice they probably won't ever care, this is technically against the terms of service unless work is a Github Enterprise customer: https://docs.github.com/en/site-policy/github-terms/github-t...

> One person or legal entity may maintain no more than one free Account (if you choose to control a machine account as well, that's fine, but it can only be used for running a machine).

Re:GitHub: Private Profiles beta by ollien on Friday April 22, 2022 @12:05AM (#31118082)
So, take this for what it is because I'm just some random guy on HN, but my company required us to make our Github primary email our work email to receive alerts. I wasn't comfortable doing on my personal account, and was told to make a second one. We followed up with our Github rep regarding this clause, and they told us that because the account would be primarily used for Enterprise (even though it's a free account), it's not something they consider a violation of their policy. Allegedly this happens with quite a lot of their customers.
Re:GitHub: Private Profiles beta by exikyut on Friday April 22, 2022 @02:40AM (#31118915)
Genuine question, I don't actually know the details: how does the contemporary notion of avatars and usernames to distinguish identity or alter-ego interact with the notion of what a legal entity is? If I practice security hygiene across multiple identities online and only do certain things using certain representations/usernames... how would it work out in practice if I tried to argue that each representation was a distinct and separate entity of agency?

Hmm. Thinking about this I now realize that identity fraud would probably be a lot harder to pin down if things leaned in the direction I'm describing, so perhaps not.

Re:GitHub: Private Profiles beta by rectang on Friday April 22, 2022 @09:19AM (#31121221)
The single account requirement is problematic until Github makes it possible to grant personal access tokens which don't give access to all of your repos, including across multiple organizations.
Re:GitHub: Private Profiles beta by bbkane on Friday April 22, 2022 @11:18PM (#31131046)
Not a lawyer, but I interpret Ben writing code at work as a different legal entity than Ben writing code at home in regards to code ownership under CA law.
Re:GitHub: Private Profiles beta by tomsthumb on Thursday April 21, 2022 @10:11PM (#31117463)
presumably work accounts are paid
Re:GitHub: Private Profiles beta by eyelidlessness on Friday April 22, 2022 @01:00AM (#31118373)
The accounts aren’t but the orgs typically are and I think that passes muster. Ultimately they just don’t want people astroturfing or otherwise deceptively maintaining multiple accounts on behalf of paying customers.
Re:GitHub: Private Profiles beta by serial_dev on Friday April 22, 2022 @10:18AM (#31121855)
I'm also happy to see this feature, just a month ago I was looking for it and was disappointed I can't hide my activity.

I was sick with COVID, but about one week in, I had an afternoon where I didn't feel completely sick, so I wanted to tinker with some code for an hour. I couldn't commit because I was paranoid that my boss/coworkers would freak out that I coded an hour while I was sick.

Same is true if your coworkers follow you, and you start starring or contributing to repos about interview questions, whiteboard questions, etc. There is a 98% chance nobody would notice or care, but I don't want unnecessary drama because I enjoy using GitHub in my free time.

Re:GitHub: Private Profiles beta by WhyNotHugo on Saturday April 23, 2022 @11:24AM (#31135027)
I've seen colleagues scrolling Facebook or similar crap during working hours.

Contributing to a FLOSS project is equally work-unrelated, but seems like a better way to slack of TBH.

Re:GitHub: Private Profiles beta by eek2121 on Thursday April 21, 2022 @10:30PM (#31117576)
I mean, vice versa. I have to hide my private code from public eyes for the same reason.
Re:GitHub: Private Profiles beta by timwis on Friday April 22, 2022 @03:01AM (#31119042)
You can also just change the timestamp of your commits
Re:GitHub: Private Profiles beta by platz on Friday April 22, 2022 @12:02AM (#31118057)
how is that different from just creating an account not tied to your online identity?