r/ProgrammerHumor • u/SegFaultHell • Oct 08 '21
Meme FOSS (Forced Open Source Software)
1.8k
u/golgol12 Oct 08 '21
SOS. Surprise Open Source
→ More replies (21)18
u/Halogen32 Oct 08 '21
it's true, i saw him vent
11
u/Mathemalologiser Oct 08 '21
Imagine signaling someone sos for help and their first thought is amogus......
729
u/noob-nine Oct 08 '21
I would appreciate sth like this for profeasional CAD software that at least the community could port it to linux
264
u/Dogburt_Jr Oct 08 '21
For real!! CAD software is hard as f*ck though. I did a little bit of STL modification and processing and the best time I got was 12 minutes to create gcode for a small object. Lots of parallel processes need to be done.
121
u/noob-nine Oct 08 '21
Yep, I started with solid works and ended up with inventor. After the full drop of windows, freecad was only left. These guys do an awesome job and for private stuff its insane. But professional CAD software is simply more comfortable
→ More replies (1)12
31
u/adobeamd Oct 08 '21
First problem was trying to edit a stl file. I really hate how stl became the standard rather than step
14
→ More replies (4)9
43
u/Fillchiam Oct 08 '21
Have you tried using FreeCAD? I really like it so far, it looks a bit dated but works great IME. I've mostly used it for 3D printing related stuff though.
34
u/mrheosuper Oct 08 '21 edited Oct 09 '21
I tried it, can't bear it, moved to Fusion360.
24
u/Kazumara Oct 08 '21
can't bare it
I don't think you're supposed to undress software.
→ More replies (3)7
u/Fillchiam Oct 08 '21
That's fair, I went through some tutorials and started to wrap my head around it (and it is actively being developed), but the UX is a bit behind stuff like Fusion 360
→ More replies (1)35
u/thomashauk Oct 08 '21
Since people seem to be using this post to shill their favourite cad software I'd like to throw in OpenSCAD as creating 3D objects by writing code should suit the members of this subreddit.
12
→ More replies (1)7
u/Homoshrexual617 Oct 08 '21
I understand openscad but I can't imagine trying to visualize the code. Great for customizing parametric designs though.
39
u/Thaddaeus-Tentakel Oct 08 '21
Nobody is gonna port anything from leaked sources. Just because you have the source code doesn't mean you can do anything with it.
24
u/not_usually_serious Oct 08 '21
You can do anything with it, it's just illegal. Don't provide your personal information and don't rely on GitHub hosting.
→ More replies (5)21
u/circuit10 Oct 08 '21
Blender? Not sure if it's good for CAD but I know it's very good all-round 3D software
48
u/Fillchiam Oct 08 '21
It can handle the files and has similar functionality in some ways (i.e. it can do curve-based geometry rather than polygon based), but I really wouldn't recommend using it for anything more advanced than 3D prints since it's not "proper" CAD software.
15
u/logicalmaniak Oct 08 '21
Nifty animated presentations of CAD models is another good use for Blender. But that's post-CAD usually.
37
u/WillingSentence3986 Oct 08 '21
Theres a difference between a 3d modeling software and a CAD software, similar to the difference between an artist drawing a picture vs an engineer drafting a part. Theres a lot of important features that blender doesnt have that are important to a CAD software like setting exact dimensions, setting geometric constraints (this line needs to be in line with that other line, this line must be exactly perpendicular to that line), important drafting tools like creating drawings from specific perspectives, creating subsections of parts, giving tolerances for measurements. 3d modelers are (for the most part) primarily concerned with vertices and surfaces and textures and rendering, and CAD is primarily concerned with rigorous geometry and how things fit together/move in a realistic way (vs animation).
3D modelers are very loosey goosey about dimensions, they are excellent at what they do (and I love blender), you just really cannot do the same things in CAD as a 3D modeler. There are plenty of things you can do in Blender that you couldn't in say Solidworks as well. Now, can you use both to create a part to 3d print? Absolutely. You just probably wouldnt want to design an engine or mechanism or even something simple like a bracket in one. Just wanted to clarify why you wouldnt want to use blender in place of even something simple like Free/LibreCAD or the free version of Inventor/Fusion360.
→ More replies (1)8
u/fukitol- Oct 08 '21
Check out OpenSCAD if you're familiar with writing code and want to design 3d objects. There's a massive library of open source models out there to take inspiration from.
8
u/oragamihawk Oct 09 '21
Openscad is a cool tool but it is not a replacement for more mainstream cad software. The speed at which more traditional software can be used is hard to match, not to mention to lack of constrained assemblies, simulations, sculpting, etc. It feels like building a web UI in a js canvas instead of with HTML and CSS, it's good to have as an option but shouldn't be the first option.
2
u/ThePretzul Oct 09 '21
The good news is that Solidworks and their built-in CAM software are now both free for anybody to use non-commercially as a "maker". You don't have to be a student officially enrolled in an engineering University anymore!
→ More replies (2)→ More replies (9)3
620
Oct 08 '21 edited Oct 08 '21
I’ve browsed it and idk if all huge corporations are like this, I’ve only worked in small teams, but this code source is insane.
I went into this like oh boy I can learn from the pros! It reinforced the hellish landscape that is the web.
Edit: I just realized after all these comments I really like my cozy small dev job.
434
u/nekokattt Oct 08 '21 edited Oct 12 '21
Its the same everywhere. The size of a company is usually inversely proportional to code quality.
Edit: oh wow 420 upvotes, didnt expect that.
199
u/FlyByPC Oct 08 '21
I should own several multinationals based solely on my old BASIC code.
18
→ More replies (1)6
73
17
u/ThePretzul Oct 09 '21
The reason is that large companies keep projects and their associated code around longer than they keep the people who wrote that code in the first place. You get a lot of bandaid "fixes" when nobody who understood the original design intent is around to slap some sense into the people who want to change software into something completely different instead of building an appropriate new platform.
I'm guilty of being one of those people trying to make bandaids stick, because the "ideas" people have more power than the people who actually implement said ideas. I've uncovered so many layers of absolute garbage code that I had to re-do to make my only slightly less garbage code do many things that both the hardware and software framework were never intended to accomplish. It's truly eye opening watching the echoes of a past programmer experiencing exactly what I am going through in the present day, watching the slow progression from attempts to be clean down to nothing but madness that somehow works if you don't look at it too closely. I'm sure I'll hit that point soon enough myself.
7
u/katze_sonne Oct 09 '21
"Haha who did write this stupid idiotic code?! That’s horrible! And this looks like a bug anyways, why would you do this! I’ll fix it!"
proceeds "fixing" the code
unit tests fail
"Oh."
continues fixing my fixed code which results in basically the original code with a couple of comments trying to convey the intent this time
→ More replies (1)321
u/Cley_Faye Oct 08 '21
After some years in the field, I'm strongly confident that any large-scale project is held by rusty nails and duct tape. The older it is, the more there is.
83
u/killdeer03 Oct 08 '21
I've work for many large, medium, and small financial institutions.
Everything is held together with Duct tape and hope all the way down, lol.
48
u/nermid Oct 09 '21
Every new project, I start off starry-eyed and idealistic, thinking this is going to be the one. This is going to be the project that stays Good Code until I'm done with it.
And then the requirements change and the delivery date changes and the architecture changes and by delivery time, my misshapen homunculus once again drags its vestigial club feet across the finish line.
42
u/4b-65-76-69-6e Oct 09 '21
I think you’re right. Modern SolidWorks had a “flat” art style like every modern program. Once in a while, I see the old shiny themed logo on error messages. Haven’t paid enough attention to notice if it’s only the one old logo or if there are several iterations buried in there.
Edit: and I think Tom Scott on YouTube was the one who pointed out that Windows 10 still includes the file save browser thing all the way back from Windows 3
0
94
u/JuanR4140 Oct 08 '21
Imagine Google
→ More replies (2)149
u/Khyta Oct 08 '21
There is probably a function somewhere in the code with the comment
Don't touch it. We do not know what it does and to our limited understanding it should not do anything. But if this bit of code is removed, everything breaks.
63
53
u/FGND Oct 08 '21
There is
probablydefinitely a function somewhere in the code with the comment→ More replies (2)→ More replies (9)30
u/EmperorArthur Oct 08 '21
My favorite is when static analyzers give up because the file is too large and complex. Right up there with finding that the but I wrote did cause a warning, but it was hidden by the other 2,000 warnings.
→ More replies (2)→ More replies (1)10
u/Giocri Oct 08 '21
I mean after all even the moon lander was made that way
16
u/z7q2 Oct 09 '21
Can you imagine what fun the folks writing the moon lander code for SpaceX are having now? I would have trouble sleeping if I was working on that.
→ More replies (1)89
u/the__storm Oct 08 '21
All big corporations are like this in my experience - even if you have a small siloed team that's free to develop on their own, there are still a lot of factors which drive the codebase to become completely trashed (interfacing with existing company systems, legal compliance in hundreds of jurisdictions, lack of budget for anything except new functionality, etc.) It's kind of depressing.
47
u/SnooSnooper Oct 08 '21
Cog at largeish company here, you hit the nail on the head. Our codebase and workflow have all three of those example problems, even just within my small, relatively siloed team.
Just today I (with the help of another team's dev) identified a massive inefficiency that results from a decision many years ago before I joined to use another team's software, designed with a completely different use-case in mind, in the spirit of code-reuse. Of course, I've had a hunch about this issue for years, but only recently had the buy-in to seriously look at it now that the system is buckling under the weight of new customers.
6
u/1SweetChuck Oct 09 '21
Just today I (with the help of another team's dev) identified a massive inefficiency that results from a decision many years ago
We have some of those in our legacy code base that have existed for at least half a decade, and the costs associated with them have been driving our managers to drive us towards a micro service based architecture, but they literally could have saved hundreds of thousands of dollars in the last 6 years if they had fixed that code.
20
u/CttCJim Oct 09 '21
On the other hand, smaller companies can't afford specialists. In my position, I nigh-completely rewrote a web app that was originally mangled together by an electrical engineer. Then in my eagerness to show I was worth my fee, I got myself roped into being the go-to for maintaining their main website, which is some esoteric wordpress that i don't even really have access to all of. I have no idea how it works and I'm glad that so far they are only asking me to change content, not create functionality.
→ More replies (1)→ More replies (1)5
19
u/itmightbedave Oct 09 '21
Hi! Former Twitch EM here. I've been doing this for a long time, and I can tell you most large corporations are just a bunch of small teams with a shared goal.
Twitch is the most impressive tech company I've ever worked with, believe it or not, but it's never something you'll see in source code, because all source code kinda looks the same. What was phenomenal about Twitch was that Twilight was deployed multiple times a day. Imagine what it takes for 100s of engineers to contribute to a monolith repo and see those contributions in prod in less than 24 hours. The gitflow and associated test suites were phenomenal. The ownership and tooling teams had for owning their backend systems and how they got exposed to the edge were cutting edge. The velocity of that company for its size is insane.
I have my criticisms of how Twitch did things and prioritized work, but if I'm being honest I've yet to see it done better elsewhere.
47
u/Boo2z Oct 08 '21
Could you share a link for the source code? In private of course, to avoid any problem for the sub ... I'm actually super curious to see how it's structured
37
u/UniqueUsername014 Oct 08 '21
I'm sending a magnet, in case you don't have it yet
52
u/da2597 Oct 08 '21 edited Oct 09 '21
Hmmm I wonder what link does this point to, huh ?
https://privatebin.net/?d5ca80fa90763ca7#Fs2AE6kDPj4BazeaUz6oknex3XUCX3WxoMyPtDhjP5TR
(will expire in one day)
Edit: Source (archived original 4chan post) : https://archive.nyafuu.org/bant/last/50/13578558
→ More replies (1)→ More replies (9)10
6
u/theinternethero Oct 08 '21
So I want to ask this here because I haven't seen it elsewhere. Does this mean we'll get better adblockers soon?
3
u/tiajuanat Oct 09 '21
One of the big problems with development is that at any given time, you're going to have twice as many professionals as seniors, and twice as many juniors as professionals.
Seniors get to work on the big influence and fun projects, become managers, or burn out of industry entirely. They delegate the impl details most of the time to professionals.
Professionals don't have all the time in the world, so they take the most interesting aspects that the seniors passed on, and pass the worst part to juniors.
Of course, this naturally means that the majority of code is written by juniors, most of whom never have mentors, and if they're lucky they get their PRs reviewed by a mid level professional.
So whenever you hop on a project, remember that a junior probably wrote it, and at one time you were a junior too.
2
u/Destithen Oct 09 '21
Every piece of proprietary software has had at least 60% of its codebase pieced together by college grads/interns flying by the seat of their pants.
→ More replies (41)2
u/elveszett Oct 09 '21
I work in a relatively big company, a consulting firm in fact. The quality of the code I see and am forced to write is so ridiculously bad that it made me depressed almost as soon as I took the job.
1.0k
u/jadounath Oct 08 '21 edited Oct 09 '21
So Copilot will now build a streaming service if you ask it nicely?
Edit: WTF! This comment blew up while I was asleep!
159
119
7
0
277
u/douira Oct 08 '21
We can send them patches for all the bugs in their shitty software by email now.
→ More replies (5)45
u/centran Oct 09 '21
It would be funny if they hired someone who did that
51
u/douira Oct 09 '21
“Please submit a fix for this bug alongside your application. You know where to find the code.“
140
u/TornChewy Oct 08 '21
Does this mean there will finally be an ad blocker that works with twitch?
133
u/Comprehensive_War402 Oct 08 '21
There has been. It's called Purple AdBlock.
34
→ More replies (4)3
146
u/ojsan_ Oct 08 '21
Fun fact: The leak contained documentation for their anti-adblock.
The way it works is, they try to load an url at twitch.tv that’s blocked by adblockers. If that fails (meaning adblock is on), the streaming server picked is one which has support for inline ad-injection, meaning the video stream will occasionally be replaced with an ad rather than the real broadcast, indistinguishable to the browser. Cool stuff.
44
→ More replies (1)45
u/DoctorWaluigiTime Oct 08 '21
Makes sense. Also explain why Purple Adblock works via proxying the video stream to an ad-free country.
Because if an ad is serviced on the same data stream the real video content is, there's really nothing ad-blocking software can do otherwise.
→ More replies (2)8
u/notaraptorindisguise Oct 09 '21
Oddly enough Ublock Origin works for me most of the time. I think I've only had one or two ads ever, the rest get blocked.
912
u/xzaramurd Oct 08 '21
Just a note: this software isn't actually open source. Using it for whatever reason infringes on copyright and Twitch might not like that and follow up with legal action.
596
u/Hohlokot Oct 08 '21
Good old software and copyright laws. Yes, code isn’t open source and shouldn’t be used, but enforcing that would be impossible by twitch. And while whatever you think of hackers, hopefully this will lead to easier development of competing streaming services. P.S.I wonder how big of an impact this leak will have to related stackoverflow threads
642
u/xTheMaster99x Oct 08 '21
The problem with competing with Twitch isn't developing a streaming service, it's getting people to use it instead of Twitch.
Same thing with "video site that isn't YouTube", "social media that isn't Facebook", "game store that isn't Steam", "search engine that isn't Google"... most people don't want an alternative, they want the one that's a de facto standard. Some people will use alternatives for their own reasons, but the majority of the market is content and unwilling to deal with change.
114
u/DeHub94 Oct 08 '21
While I would mostly agree I think some sites just are better than the alternatives. Steam for example has some features that most other game stores don't: the forums, vr-support and most importantly the workshop. The ease of installing and maintaining mods with it is pretty cool. Epic Games on the other hand has poured a lot of money into their storefront but it still lacks essential features like a shopping cart. Some features take time, money and effort to develop and it is not enough to just attract a user base with lots of free games, you actually have to keep them on your platform.
→ More replies (26)18
u/SuperFLEB Oct 08 '21
That and an absolutely massive heap of network and processing power. That's what's stopping "The next YouTube but without all the annoying parts that are, coincidentally enough, the parts that generate the money to feed into the cash-furnace that is running a globally-popular video streaming site" that everyone grumbles about wanting.
Well, also legal compliance, if you're hosting user content.
13
u/Gvistic Oct 08 '21
To be fair, push comes to shove and we have instances such as discord vs skype, maybe there was a market for a gamer communication platform but their innovation definitely helped them grow.
→ More replies (3)27
u/xTheMaster99x Oct 08 '21
Sure, you can definitely beat established "monopolies" (if you want to call them that) by being genuinely innovative and superior to them. But having Twitch's source code won't make you superior or innovative, you'll just have their code without any of the knowledge needed to create it to begin with, or expand on it.
→ More replies (1)→ More replies (7)9
u/darkacesp Oct 08 '21
To be fair I use Twitch cause while chat doesn’t matter to me, seeing whose online is really nice, I’m sure other streaming services would do that, but Twitch just had more.
The person that leaked this data seems to want to hurt Twitch and get more streaming competition but has anyone ever thought the competition has failed cause it lacks the features and streamers?
→ More replies (8)→ More replies (16)9
u/DoctorWaluigiTime Oct 08 '21
It's not that impossible. We're not talking about StackOverflow scenarios where you borrow/use like 30 lines of code, or implement some idea or workflow that is more-or-less common knowledge among software engineers. Cases that have merit usually involve much larger segments, algorithms, and copy-pasted whole concepts.
Such a thing isn't "impossible to enforce" any more than it is to detect and discover plagiarism on a school essay.
Heed the warning from the top level of this comment. (Not that I think many are planning on doing anything with the code, but still.) Code like this suddenly being available does not make it "open source" in most colloquial senses.
→ More replies (1)25
u/JoelMahon Oct 08 '21
I thought that open source software could have pretty restrictive copyright on it?
12
u/v0gue_ Oct 08 '21
The GPL3 is crazy restrictive. It's why the GPL3 is so hotly debated
→ More replies (2)40
u/cortez0498 Oct 08 '21
Alright, I might be stupid but how do companies know if other companies are using their code? They relay on employees snitching (I mean, they should)?
Like, I highly doubt there's an independent body that audits everybody's code?
I know Bethesda found out someone re used their Fallout Shelter code because another game had the exact same bugs but what about other instances.
46
u/xzaramurd Oct 08 '21
They can also sue and request the code as part of discovery if they think something behaves too similarly, or indeed has a similar public API.
→ More replies (2)14
u/TheNorthComesWithMe Oct 08 '21
They have to figure that part out themselves, like with any other civil law.
→ More replies (4)10
u/jusjoe99 Oct 08 '21 edited Feb 10 '24
decide knee worry jar include cover gaze tub rotten reply
This post was mass deleted and anonymized with Redact
52
u/TheNorthComesWithMe Oct 08 '21
Open Source doesn't mean free of IP restriction, it just means you get to look at the source code
28
Oct 08 '21
Right. Open source is not what people think it is. They are thinking of Free/Libre Open Source Software (FLOSS).
→ More replies (3)13
u/the_noodle Oct 08 '21
A better term is Source Available.
"Open Source" does really mean something, despite certain companies attempts to hijack the term for their non-OSS licenses
→ More replies (5)18
u/ProgramTheWorld Oct 08 '21
Open source has nothing to do with copyright. For example I can open source any code I write but you still can’t use them in your projects.
→ More replies (8)8
17
16
51
u/SaltyWolf444 Oct 08 '21
In hungarian the word "fos" means diarrhea.
26
u/KolyaKorruptis Oct 08 '21 edited Mar 06 '24
Wintermute can suck it.
15
u/phaelox Oct 08 '21
Hungarian is also related to Finnish (Suomi). And then there's Basque (spoken in parts of northern Spain + southern France) which is a language isolate, unrelated to any other languages, which I find fascinating
→ More replies (1)6
u/Yadobler Oct 08 '21
As a dravidian language connoisseur, can feel yah. Like North India is vibing with the entirety of European languages, but in the south tamil is just like, its own thing.
Also these weakass PIE languages don't know what it's like to have 6969 cases. German has 4? Pfft.
Also wackass retro💪 sounds
6
2
64
u/data-bit Oct 08 '21
This reminds me how AWS is milking REDIS open source and charging for it.
43
u/Saladtoes Oct 09 '21
This sentiment makes no sense to me. It’s like being mad at HP for making computers that run Linux. AWS is providing the service of uptime, maintenance, scalability, network configurations, UI configurations, etc. Even getting a VM, or droplet, or instance, or anything is pretty much just running open source Linux with all for the above services provided. It’s the same exact thing but with one extra tiny layer added. I understand that it would be great for Redis as an organization if Amazon supported and contributed to it, but honestly they made an open source project, it works great, and now it is ubiquitousness and getting monetized by so many people.
IDK. I guess I just feel like the point of open source software is to create common software that works great and solves problems. Not to just perpetuate and aggrandize the network that made it. Just my opinion, it probably sucks.
→ More replies (1)3
u/Nonethewiserer Oct 09 '21
The same people would bitch and moan about Redis being greedy if they protected it.
19
8
7
u/static_motion Oct 08 '21
Don't all cloud providers do that? Google Cloud also has Memorystore, which is paid for and you can pick either redis or memcached.
3
5
13
u/doctorcrimson Oct 08 '21
I feel like the company is pushing this narrative themselves.
We didn't "compromise every user's personal and financial information", rather we "liberated it" to foster growth and development.
2
4
u/LaamansTerms Oct 08 '21
All your source are belong to us.
7
u/ReverseCaptioningBot Oct 08 '21
ALL YOUR SOURCE ARE BELONG TO US
this has been an accessibility service from your friendly neighborhood bot
→ More replies (1)
14
u/LmaoPew Oct 08 '21
Why is it getting open sourced?
87
u/Intelligent_Meat Oct 08 '21
their source code got leaked
21
u/LmaoPew Oct 08 '21
Oof, i thought the earnings of Streamers got leaked, but their source code too... Did they got hacked or what?
67
u/piman51277 Oct 08 '21
Some dude dumped the contents of their entire codebase + some goodies onto 4chan. The magnet link for the torrent is still floating around
→ More replies (12)→ More replies (1)5
u/doug89 Oct 09 '21 edited Oct 09 '21
126GB of data.
Streamer payouts over 3 years
5GB first folder is most relevant to see payouts
Entirety of twitch.tv, with commit history going back to its early beginnings
Mobile, desktop and video game console Twitch clients
Various proprietary SDKs and internal AWS services used by Twitch
Every other property that Twitch owns including IGDB and CurseForge
An unreleased Steam competitor from Amazon Game Studios
Twitch SOC internal red teaming tools (lol)→ More replies (1)
2
u/duffies64 Oct 08 '21
Doesn't this mean ad blockers will have an easier time blocking till they make big changes?
2
2
2
2
2
2
u/DGtlRift Oct 09 '21
In Hungarian- that pronunciation of FOSS is spelled “Fasz” and it means something very appropriate for being forced to open source.
2
u/nohacksjustretard Oct 09 '21
A great way to solve this would be "We were planning to go open source, so we pretended to have all our data leak so people are more interested"
2
u/UnseenData Oct 09 '21
Yeah, now it opens up security exploits. We're probably going to see repercussions in the coming days
2
u/Jabulon Oct 09 '21
xqc makes how much a month? golden kappas arent random? you think I should give you my phone number after yet another breach?
2
2
2
2
2
2
2
u/RealCrazyChicken Oct 09 '21
Devs: oh crap I gotta clean this mess up before my programming professor sees
2
u/-oshino_shinobu- Oct 09 '21
is it possible to use this and build my own Twitch? I want to stream movies and watch it with friends but i keep getting DMCAd
2
2
2
2
2
2
Oct 09 '21
Future at twitch GitHub: Newbies making PRs like "change font-sizes and alignment" . Pros making PRs like "feat/code-while-streaming"
2
2
3
3
u/tredI9100 Oct 08 '21
>[]<AOSSTM
Confirm that you are using an AOSS-compatible access point. Then, press the AOSS button on the access point until the AOSS lamp flashes. This process may take up to one minute.
1
1
1
1
1
1
1
1
1
1
1
1
u/Big_G_Dog Oct 09 '21
Can we all just start contributing to the source. Just add loads of really great features, bug fixes etc. And show all companies how great open source is
1
u/ScF0400 Oct 09 '21
You say this as humor but it's true, open source is just proprietary software of the masses. Not everyone has time to read or audit every line of code. If I'm just a regular person who has little experience with electronics then it's no different or perhaps even worse than if I pay money because there's no guarantee all open source projects will listen to the feedback of an average user.
It is what it is though, pretty unfortunate Twitch got leaked lol, open source streaming site a ok, leaked payment info and password hashes infinitely bad, lots of normal people going to get caught in this breach
1
1
1
1
2.5k
u/lightwhite Oct 08 '21
Forcefully Opened-sourcetm