this post was submitted on 16 Nov 2023
75 points (93.1% liked)

Programming

17416 readers
74 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 

I told my boss I had an idea for a program that could improve efficiency across much of the business, and he let me build it on company time. In the long term, he wanted to be able to sell it to other companies. However, the program never got implemented due to personnel mismanagement, and I'd rather be able to post it on my github under a free licence so I can use it as a resume item, and at least someone would have the chance to actually use it. It's all still in my head, and I could write it again if I wanted. If I do, is it illegal to publish it? What if I write it in a different language? Do I need to change the variable names? I did plenty of research and planning on company time to build it, and it's not like I can research it again, it's all still in my head.

(page 2) 30 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

If you implement it from fresh then it is a new program. What matters is what your contract says about what you produce - some contracts pay claim to anything you make even outside of working hours.

Also if you rewrite it, while technically it is a fresh project if there are substantial similarities in how you implement it there could be an argument made that you have reused code that belongs to the company. Even if that is technical false it could be something you'd have to defend sometime in the future. As others have said, implementing the program in a different language and using a different methodology wherever possible should help protect against that.

I think the advice others have given that you should review your contract with a lawyer is sound even if this will be FOSS. It's mainly about ensuring you don't inadvertently open yourself to potential legal repercussions down the line, even if your employers at the moment seem benign. If you do work for a company that lays claim to everything you produce even in your off hours then I would strongly recommend you consider leaving or an exit plan, particularly if you are the sort of person who would be working on your own projects for fun or even your own business ventures.

[–] [email protected] 1 points 1 year ago

The problem is I learned how to write good code at university and I used what I learned to inform the software architecture. I could write garbage that gets the same job done but isn't maintainable, except for the fact that I want to show this off as a display of my skill. I already did the best I could do on the company clock. If I do the best I can do again, it'll be the same. I can't make significant changes outside of language, variables, and dependencies, because then it wouldn't be as good. The structure I made for the company is simply good design. I don't remember every detail of the structure, but if I tried to rebuild it I'd get the same result. This is a problem with a correct answer.

[–] [email protected] 1 points 1 year ago

Write it down for now so you do not lose the memory if it is so precious to you. Maybe it will be even better the next time coding it. I think many coders have a "loose copy" or a "code gist" of previous versions of their favorites codes around. I never created a code that I framed and hanged on my wall, but some came close. I would not publish it under your real name any time soon. At least not as long as you work in that company +1-2y. If you choose to publish it in the next 6 month under a very different name, in another account, with another repo name, because you love FOSS so much, and it looks different to the original code in format and style (and the presentation of data = frontend), then I see no problem. Just two guys having a similar idea. Not a lawyer though.

[–] [email protected] 1 points 1 year ago

Walter Bright had a lot of back and forth over the Digital Mars C compiler and Symantec.

[–] [email protected] 1 points 1 year ago

Richard Stallman would encourage you to publish it.

[–] [email protected] 0 points 1 year ago

Without a non-compete clause, I imagine if you changed it enough you'd be alright.

I personally know someone that has started essentially the same company multiple times, and just keeps selling the companies off. It's different software each time, but it does essentially the same thing.

[–] [email protected] 0 points 1 year ago (6 children)
load more comments (6 replies)
[–] [email protected] 0 points 1 year ago* (last edited 1 year ago) (1 children)

Right now there are huge financial interests in the tech sector arguing that anything output from a chat bot is non-copyright protected and non-infringing on the copyright of the training data. So use one of them to get something close to a working idea of the program and then edit that to create your self owned copyright of your program.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

If you go this route, bear in mind you also have to prove it came from a chat bot. So don't delete the prompt or output any time soon!

load more comments (1 replies)
[–] [email protected] 0 points 1 year ago

I assume you weren't a contractor, but if you were it depends on whether your contract specifies "work for hire."

load more comments
view more: ‹ prev next ›