Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "source code"
-
Me: I use Git!
Classmates: what's that? A Softdrink?
Me: Nevermind. Just Copy the source code on gooogle drive.
Classmates: Thanks!
Me: -_-23 -
I started working in 2014. In one of my first jobs they gave me a virtual machine running Windows 2000.
I had a conversation that went more or less this way:
Me: «Why a so old OS?»
Boss: «Because we rely on an old library which has been compiled on Windows 2000»
Me: «What library is it? Who wrote it?»
Boss: «We wrote it. It belongs to our company.»
Me: «Can we try to port it on a more recent OS?»
Boss: «Oh, we've lost the source code a long time ago...»
Me: «...»8 -
when your company doesn't let you use source control because it's afraid people would steal the code 😩18
-
I opensourced a project of mine at github a few months ago (MIT) and found my source code in a different project. AWESOME!3
-
By playing with Facebook source code in browser, you can enable GIF and Markdown, Tip Jar & many more options in comments.15
-
Found out where the Amazon Developers keep their debug buddy.... bottom of their source code.
A duck that makes a meow noise.
Interesting choice7 -
When your friends think that viewing/changing source code of a website is hacking...
Idiots. For it to be hacking it has to be green and black of course...6 -
In my freelancing job, I got this as a source code ? Really? Are you guys serious? Is this a joke?49
-
Today I learnt from a more experienced Dev that using git as versioning system makes the code open source.18
-
"We bought the source code for this tremendous app that does blah blah blah "
"Cool, in which language is written?"
"Cobol"4 -
Finally... Source code of Windows trouble shooting program is here:
PS: I always hated it and found it useless. What about you?13 -
So I was at work and send to another location (distribution centers) and in the lunch break my guider for that day and I started a conversation about servers etc (he appeared to do loads of stuff with that). He recommended me all those programs but I didn't recognize anything so I asked him what kinda servers he ran. He runs a lot of Windows servers. No problem for me but I told him that I am into Linux servers myself.
Guy: "Linux guy, eh? That system is considered to be so secure but in reality it's insecure as fuck!".
Me: (If he would come up with real/good arguments I am not going to argue against that by the way!) Uhm howso/why would you think that?
Guy: "Well all those script kiddies being able to execute code on your system doesn't seem that secure.".
*me thinking: okay hold on, let's ask for an explanation as that doesn't make any fucking sense 😐*
Me: "Uhm how do you mean, could you elaborate on that?"
Guy: "Well since it's open source it allows anyone to run any shit on your system that they'd like. That's why windows rocks, it doesn't let outsiders execute bad code on it.".
Seriously I am wondering where the hell he heard that. My face at that moment (internally, I didn't want to start a heated discussion): 😐 😲.
Yeah that was one weird conversation and look on open source operating systems...21 -
"A client wants to buy 'the source', can we give him the source but not the code. We don't want him copying."11
-
This was an answer to the StackOverflow question, "What is the best comment in source code you have ever encountered?"2
-
Source Code Activism is a thing that should not exist.
Keep your filthy CoC away from the Linux kernel you freaking bastards.2 -
I hate Microsoft!
But i gotta say, VS Code is a really good IDE. Guess they should've gone open source a long time ago14 -
My team mate has just found the best conditional statement I've ever seen, in a source code he received from the client.
if (1 == 1)... and it has an else branch :D11 -
Find a great project on github=> want to find out how it works => open the source code =>zero line of comments6
-
So this guy was struggling using grep everywhere for navigating C source code. What a douche. Told him about ctags. Made my life easier.1
-
Started new job with presentation at 10:00. Went for lunch at 11:00. Was given access to source code at 12:00. Decided to quit at 13:00.
No regrets. Code was so bad that I wanted to cry.7 -
Windows 10 source code apparently leaked!
The main.c file is short tho and unchanged since 95(it's just run in parallel) so I'mma just paste it here:
void WinMain(int nCmdArgs){
static int userDisgust = 5; //he/she booted up Win10 so 5 to begin with
Time time = Time.time;
while(!crashed){
Time time2 = Time.time;
if(time + 3600 < time2){
ApplyUpdate();
sleep(500000); //users can stretch, have a tea and overall be healthier, happier and better part of society
if(restartNecessary){
Restart();
}
Restart(); // just in case
}
SendUserData();
SendMoreUserData();
for(int i = 1; i < 99+1; i++){
RunUserApps();
UninstallUnnecessaryApps(); // keeps blacklist of apps that John and I don't like
AnnoyUser(); // added a function that slows the computer down significantly and reduces lifespan of the hardware so it's not just a short term gain
if(shouldRepeat){
//break; -- this caused some issue in one special case and we don't know why so we'll just omit it and add a fancy button elsewhere
}
userDisgust++;
}
if(userDisgust >= 2147483647) { //mission finished
Crash();
crashed = true;
}
}
String error = Windows.GetFullErrorMessage();
error.cat(Windows.GetRegistersDump());
error.cat(Windows.GetErrorCode());
error.cat(Windows.GetStackTrace());
error.erase(); // so that it doesn't occupy any space and allows the error to be resolved more quickly, release major optimization Update
BSOD(_T("We're sorry :/"));
}6 -
Client: So we want you to redesign the frontend for this app
Me: Ok, sounds easy enough, send me the source code and API documentation
Client: yeaaaaaah, here's the thing, we don't have the frontend source code anymore, we originally wrote it in React and then we lost the source code, we only have the bundles now
Me: ok fine, I can handle it, can I have the API doc?
Client: yeaaaaaah, here's the thing, we didn't write API docs, but we have the source code if you want
Me: fml7 -
This here is some source code that i made. And I'll admit, I was a bit frustrated at the time of making. I just started learning to code in HTML and CSS a coulpe days ago. And a friend asked if I could make him a website. So I told him that I barely know the basics yet. And he says that it doesn't matter just as long as he gets a website. So now, a couple days of tryhard coding later, he raged about how bad the site looked and that he himself could have done a better job than I did. And yet the entire site had over 300 lines of code in it (perhaps not very much for you hardcore coders out there, but a biiig step for me) and several subpages, all with custom error pages and all. Although I'll admit, the design was a fucking ugly as fuck since i can design about as good as an alligator flies. But man was I mad after that, haven't talked to him since. The bastard. But to he point, in my rage i made this. An outburst of anger that I later refactored to fit a large amount of devs (since I reckon 99% of programmers deal with clients/customers instead of friends). And if anyone has a spare dns space to put the code on, then help yourself.
The link is:
https://pastebin.com/aFcK10YK
Have a good day!8 -
For some reason, seeing source code in my native language (Czech) disgusts me and decreases my motivation to read through it.
Anyone else knows that feeling?22 -
Manager: "<third-party vr app> isn't working. Think you could fix it by tomorrow?"
Me: "I can't fix it without the source code."
Manager: "Didn't you install it?"
Me: "I did, but I'd need <third-party>'s source code if you want me to make changes and that problem would probably take at least a day to fix."
Manager: "Can't believe you don't have the source code. Aren't you supposed to have your code available?"
(Just....)18 -
/* MacOS source code
Copyright Snapple, Inc
Private and confidential */
void resumeFromSleep() {
if (rand() > RAND_MAX / 2) {
freezeSystem();
} else {
reallyResumeFromSleep();
}
}4 -
Try this code in JS:
++[[]][+[]]+[+[]]
This is valid and returns the string "10" in JavaScript :)))
Source: in comment👇5 -
The Vivaldi team: open source is cool. It gave us Chromium to fork from, that's more than 90% of "our" code base!
Question to the Vivaldi team: then why don't you open source your Vivaldi code?
The Vivaldi team: uhm, when it comes to our browser, open source isn't cool because we fear someone might fork it. We need to protect ourselves from that possibility.21 -
A list of hilarious comment in code:
http://stackoverflow.com/questions/...
One that I liked in particular:2 -
I’m reading through the Apollo 11 source code like a 13 year old that just found out what porn hub is.13
-
Hi, guys after a building a website (code from scratch) do you give the source code to the client 🤔?11
-
me: the source code is currently store on GitHub and we use GitHub Actions after each updates to compile your code into binary before deploying to your servers
client: storing source code on GitHub (external server) is insecure and breaks compliance
me: so i guess you will need to have a copy of the source code on all your servers and build them directly there (too cheap to have a separate build server) instead of using GitHub Actions
client: yeah
me: keep in mind that all your certificates and tokens are going to be store as plain text in all your servers so if a hacker gain access to anyone of your servers, they will have access to everything.
client: yeah, this is in compliance to our security policy3 -
Prof: "Hey, you can take a look at the source code that we used last year in this research paper"
Me :(surprise because other papers usually don't share source code), "Okay"
A few weeks later:
Me: "Prof, if you use method A instead of method B, you can get better performance by 20%. Here's the link"
Prof:"The source link that you mentioned is for another instrument, not GPU"
Me:"Yeah, but I tested in on GPU and I found it is also applied in my device"
Prof:"That's interesting."
-----------------------------------------------------
This is why folks, sharing the source code that you used in scientific papers is important.8 -
I wonder if devrant actually uses a `new Rant()` class in the source code like it does on the sticker2
-
Open source...
Apple: F*** Open Source!!!! Money's our god!!!!
Google: Let's make MONEYYYYYY... and then give code
Microsoft: Ya... ok... yeah... no... sry but we have do to some money...
Linux: OPEN SOURCE FOR EVERYONE!!!!! IT'S FREE!!!!!! hey... guys... what ain't you coming, I'm lonely *Play "sound of silence"*7 -
I've just managed to add the ability to call functions to my compiler. Currently, the capabilities are rather limited but I am pleased with it.
It keeps the schematics of the source code well enough that it can handle
recursive calls.
:D
On the Image, you can see the program's output (left), the generated x86_64 assembly, and the source code of the compiled program (bottom).6 -
Earlier i ranted about how someone hacked our site and he had our source code.
Now finally we found how was our site code stolen, thanks to @dfox he mentioned how can we pull code from got server at that time I checked trying commamds to dowload git folder but it was secure but later we found that we had another subdomain running for pur project and its git folder was not secured16 -
The joy that happens when the QA intern knows how to program and tells you which lines in the source to check out2
-
When the source code of a library that you depend upon is easier to read than its official shitty documentation...
-
People still need to understand that open source! = free software. It means source code is free but it does not guarantee that Software is also free. #opensource #softwaredevelopment2
-
asked the team to give us their API docs, they gave us the whole fuckin source code. in a zip file...
im outa here!! 😕3 -
TLDR; i wrote recursive compression with random algorithm to fuck up some lazy ass girl.
one day, unknown classmate told me she has a family reunion and cannot do his programming assignment which will be collected next day in the morning, so she ask me to do it. i say i need to put a price tag to it because i want to buy a new RasPi --i don't know her either so i don't feel bad about it. i told her i need $20 and after some bargaining it settled at $15. i work on it about 3 hours and told her it's finished and send her demo video as a proof. she happy with the result. and will come to my house later that night to get the source code. at night, she came, and give me only $8 bucks, of course i get mad, with every arguments she throws at me i resist to give her the source code. but since i tired enough to get into a longer arguments i accept the 8 bucks i go upstairs to get the source code. but instead of giving her the actual source code; i wrote a quick script to do 50 compress source code folder recursively with random compression algorithm--sometimes gzip sometimes lzma. and give her the final 50 times compressed source code. EAT SHIT MOTHERFUCKER11 -
"Why do you use open source software? Anyone can open the code and tinker with it."
- A Software Engineering grad.
🤦♂️9 -
"A good software developer writes good code. Better software developer deletes bad code."
Me, after using Generic types in some source code and deleting 250 lines effectively.6 -
I hardcoded credentials into source code because I was too lazy to write the method to read them from the database properly.1
-
This is from my personal experience. I've been working on an Android app, I'm a web developer tho. I don't have much experience in java but just watching a decent YouTube tutorial and getting the source code to play with, helped me more than I had hoped for.3
-
I was finally moved to a production project after 2 months in my internship.
Almost had a heart attack after seeing the source code. Thousands of lines of code. So many files. So many things to understand.
I hope I don't lose my brain before getting a stress ball :(5 -
I hate these idiots that post source code examples as an image just so they can keep their cool highlighting and style. How the fuck am I supposed to test that without re-typing the whole thing myself? Ever try OCR on source code? Not too great, is it.12
-
I'm tired of the lack of competition. Open source and public code is supposed to bring people together but a lot of the time it just puts people down and makes them think "why would I recode that if it's already made?" It's going to kill the amount of people actually learning to program because their ideas are just crushed by people who already made them.
The people who are going to be more successful are going to be the ignorant ones who don't bother looking if it exists first and that is kinda sad.9 -
I was learning OpenCV and decided to build something practical and open source (for portfolio). I mixed computer vision and screen snipping tool, now I think what else to add.. any ideas are appreciated.
The link (source code is on GitHub):
http://reverscreen.com3 -
I was trying to understand the source code of aircrack-ng which is written in C today.
Suddenly I saw sth strange !
WTF !! what is #ifdef ??? I've never seen that before !
So I told myself : hey ! You have to download a complete C programming course!
so I did , but when I skimmed through the titles , again:
WTF ! I know all of them! So why the fuck I could not fully understand the code ? Where can I find anything I missed ?
So... I'm asking U :)14 -
For people that do minimal documentation on a package and just say “refer to source code”…fuck you4
-
App fails, Check logs...No error logged. Check source code and debug....
And then you see following piece of code....
try{
//Code to hit an API
}catch(Exception ex){
/*DO NOTHING. Not even log stack trace*/
}7 -
!rant
Is anyone familiar with source trail?
https://www.sourcetrail.com/
Wanted to get some info before I drop it into a legacy code base 🤭1 -
So... I was in bed going to sleep 5 minutes ago... I just had a thought I have no idea from where...
My dreams are controlled by code source files...
Change source files, I will have different dream....
Guess I spent a good amount of time with source files today 😅😅8 -
When you think the code from companies like Google and Facebook is flawless, but then you look at the source code of Parse 1.5.0 and find an if statement with the condition 'browser' === 'browser'2
-
I downloaded Lapsus$ source code leaks from samsung, nvidia and microsoft, looked at them and I think I’ll delete it cause I don’t like shitty code on my personal computer.
-
I Remember what my senior told me once:
"You know you're in the wrong job when you see source code filled with comments written by ur senior dev scolding other devs for code fuckups" -
We all get replaced by AI and nobody can understand their source code...
And everyone else just goes: hey it works ¯\_(ツ)_/¯12 -
Do you ever feel like you developed a sixth sense for hunting the source of bugs on your or other people's code?2
-
Hello fellas! 👋
I recently told you that I’m planning to pull out Chaaat – a fully open source messenger that doesn’t track you and doesn’t share your data: https://devrant.com/rants/1549251/....
The project is also mentioned here: https://devrant.com/rants/1570178/...
So, I’m here to tell you good news – a great developer, @not-a-muggle, decided to join me, and now we made a team!
I also made some conversations and acquired “chaaat” name from another team on Heroku, so now we have consistent domain name on both Heroku and GitHub Pages.
We have Trello board with very well described tasks almost anyone can do. We also have Slack to have both business and free conversations.
If you’re seeking a place to contribute and gain some NodeJS / React / PWA / WebRTC experience with detailed code review from experienced developer, just mention me here or shoot me an email on hello@miloslav.website. Provide your email so I’ll be able to contact you.
Our main goals are:
1. Have fun and some experience
2. Make it to Chrome Experiments mention
Marketing/advertising help is much appreciated.
Feel free to email me anytime!8 -
It's a very difficult choice for me. I use many open source things on a daily basis.
Unordered list:
-Linux
-Wireshark
-Gotop
-Ettercap
-VS Code
-PHP
-discord.js12 -
How I see my code,
If(){else]:
Do -> this & that with them;
While (for)and >>;
//It takes me forever to figure our my own code
How I see someone else's code,
%fGu$@@)$'®}£jfksksj℅™™}£}∆¢b&jjwoajqh-2+=•{(=jajaJJwUUhh-jtffhk®{£{™>>¥,©®¢€££∆¶¶|×££{©]•{%$==¢++''). 92%+$+
//well I am not sure how in the world I manage to understand someone else's shit -
Sorry guys, I don't really care if something is open or closed source. Code just needs to work well.7
-
After finishing apprenticeship my boss wanted to print every source code of our website (also CMS) as well our onlineshop (the whole not just own modules).
His intention was to inspect the code offline so he can i.e. lay sheets side by side for an better overview about any relations. Ich knew that he won't believe me if i tell him that's a bad idea so i printed over 10000 sites of source code.
He never looked a single time over it2 -
!$rant
Well I feel accomplished today :) Got a lot done on my little devrant-widget project. I'm gonna try and make it open source soon, just trying to fix all this spaghetti code I created xD -
To code or to rant--that is the question: Whether 'tis nobler on mind to suffer the bugs and errors of outrageous source code or to post them on devRant2
-
My biggest fear about publishing open source code is people looking at it and having the same reaction a have when I get back at my old code.2
-
I really want to see the source code for pokemon go even though I'm 100% certain I'll be unable to understand it I just want to look at it and try to learn how it works
But I'll probably never see the source in my life :(5 -
I did my first ever open source contrinbutions yesterday! It was quite refreshing working in a different code base and fixing bugs! :D1
-
Not a rant. Most epic phrase. I would love to change the world but they won't give me the source code!!!!1
-
Always thought windows source code would be the most untidy and disgusting code i could imagine but then I realised world of warcraft existed... Just imagine how horrible that shit would be!1
-
If you are not satisfied with the framework you have used, try to see its source code. It will surely make you feel calmed.
-
My dev Goals:
- Write better code commenting more.
- Create my first Open Source Project and publish it on GitHub.
- Improve my design skills.1 -
I am working as a functional consultant in a project and I setup a source control for a project for better code management....
I wanted to review the code and realized developers have been checking in zipped source code in that....
Checked with Dev Lead and got to know that's how they have been managing code till now in other projects in SharePoint so they are following same practices here3 -
When you find a new use for an old app I wrote and still have the source code...
And now I'm late to work... -
I prefer my own proprietary code over open source solutions any day. Might take longer to develop, but it hits the spot.6
-
What really grinds my gears!?
Fucking wasting my time on code that isn't the actual source of the bug!!! -
I'd like to create my own pastebin-like service...
So I'd like to ask which features do you miss (or hate) in these services?17 -
When I have to apply a strong coat of
reverse engineering to understand an
open source codebase, what's the
point of being open.
No but really, the
WORKS ON MY BRAIN
movement is quite strong ..6 -
Inspecting Facebook source code using React extension & the source has so many things hidden in it.
Eg: Ad breaks!1 -
Since I've learned coding, I'm always analizing how things work on the low level. Machines, movies, peoples' choices, planta, reality... Decompiling everything to source code
-
Download an open source project and look for code comments to get my understanding... Nothing but 'todos' here and 'todos' there
-
So my colleague sees an iPad on a desk that someone has left by accident. He puts in the wrong password a bunch of times to lock it for an hour as a joke and accidentally wipes it!! Turns out it was about to be used for end of sprint client demo 😂2
-
I would love to change the world but they won’t give me the source codejoke/meme sourcecode opensource source code open source joke but will be useful 😂😂😂 world joke truestory true story meme java6
-
When you change one line of your source code and all of the rest of code don't work any more. Fucking Shit!2
-
So @SirusAmory inspired me to put a commented out youtube link in a source code featuring my sickest kickflips.3
-
So I had a piece of software crash on me earlier today...
I think "No problem, this was built internally and I saw the source code somewhere around here. 👍"
Locate source code...6 folders ("Project--v1.0--stable-2012", "Project 1.0", "Project 2.0", and a few others like it). Took me 20 minutes just to figure out which folder was used to build the project/exe. Turns out, none of the above. 👎
Had these people never heard of source control before?! 😣1 -
Today I learnt about Vigil, the programming language that deletes offending functions from your source code, which contain bugs. Vigil adds 'supreme moral vigilance' and 'punishes' code that fails to meet specific programmatic specifications.
https://github.com/munificent/vigil1 -
My favourite open source project has got be this: https://github.com/kelseyhightower/...
Just amazing work by Kelsey Hightower.
The code structuring is fabulous!!
🤣🤣🤣1 -
Porting a very old program I wrote from Console to WPF app... looking at the source code, I'm amazed that it has been working all these years...1
-
our website got hacked somebody downloaded the whole source code and sent an email to us.
seems like that person would demand ransom or anything.
We still can't find where is the door ( vulnerability ) through which he pulled all files.17 -
Build my own business entirely with free/libre software. Generate at least a decent supplementary income from services while still providing source code free of charge.2
-
gta5 source code leaked
const char* testActionTreeName[] =
{
"ActionTree/Fuck",
"ActionTree/FuckYou",
"ActionTre",
"ActionTre/Fuck",
"ActionTree/Fuck/you/in/the/ass",
};2 -
Does the idea of people being able to see your source code when creating a hybrid app scare you guys?4
-
I created an app that plays background sounds to help people focus/study/relax. It’s free and open source. Feel free to try it.
Download from here: https://apps.microsoft.com/store/....
Source code here: https://github.com/jenius-apps/....6 -
We take over development of a live customer facing system and PM agrees date for our first code deployment with client CIO
Me: The dev and staging environments don't have any test data currently as the old agency screwed it up
PM: Well you better load some
Me: There isn't any... It'll take 10 days to copy prod db due to hosting provider SLAs, leaving 1 week for SIT, UAT and performance testing (assuming they don't screw up)
PM: Well the date is set, 1 week will be enough for testing2 -
Love the docs that provide lots of segment examples everywhere, but no full examples. No source code. Very helpful2
-
Tonight's checklist:
1. Study a chapter in ISLR
2. Try to understand source code of an open source project in GoLang.
3. Complete programming challenges on HackerRank
What I am going to end up doing:
1. Watching videos of The Rock trolling others.
2. Watch Family Guy2 -
Well after working on this project for about 2-3 weeks guess what I deleted my source code😢😢😢
Im the opposite of motivated16 -
Since some weeks I've got trouble sleeping, so I put the source code of sleep from the coreutils under my pillow.
Yeah, it worked (: -
You know you've grown when you get your answers from the source code directly, instead of stack overflow
-
Just a small discussion topic, if you could look through the source code ad have full access to 1 project/application/game/moon base forever, what would you choose and why?
For me, I would love to go through the source code for the game Hyper Light Drifter, would love to see some of the inner workings and just learn new methods of doing things.10 -
is "drunk coding" really a thing? i can't imagine how.
i prefer working code, so when i'm writing code, i need my brain to be working. the "benefits" of alcohol, like reducing social inhibitions, don't benefit source code.8 -
Any devs running some open source projects & looking for helpers?
Sincerely, compsci student looking to learn and code8 -
Hilarious comments check it out on the cancer (stackoverflow.com) 😂
https://stackoverflow.com/questions... -
We have a web application that will be deployed to the client premises. Part of the agreement is that the full source code will be provided. Now my manager asked me to hide/restrict the usage of a certain feature, and should not be hackable even if we give the full source code. Gosh help me guys, I don't know what I'm doing here.3
-
I wrote a complex function in my source code, Visual Studio stop working and i lost the function. I'm so furios!!!!7
-
So apparently Skype has a code editor for interviews.
Would you use this tool?
Source: https://techcrunch.com/2017/08/...8 -
So I was just wondering why is do Snapchat take worse photos on android but we have better cameras so I download and check the source code naturally I check the source code and lo and behold I see this apparently snap for android doesn't use the camera it just screenshots it wtf?1
-
Stepping through the source code of a no-code-graphical-programming-tool (or however you call that) to understand why my stuff isn't doing its thing or at least see what it wants from me.
Very intuitive1 -
There was a "Snake" game on an old windows machine that came with the source code. I was able to tweak the code enough to add interesting twists to the game. From then on I was hooked.
-
Reading a post on Quora lead me here. At first, I didn't like the look and feel so I hit f12 to see if I code see the source code. One would think that after x hours spent coding at my work desk, I would just want to sit at home and watch tv or play games. However, there is something fulfilling about seeing a coded product and taking a quick glance at some source code.4
-
I just realized that in my company , the code review is not important.... And the source code is fucked up.... The structure is like functional programming and Oop combine with redundant function everywhere.
And in the source code there's a folder called depreciating service , I asked them what is that , they told me it is the service previously but not recommended for using it.
I was like "you mean deprecated"? Omg
They don't care about code review and clean code here.
My struggle here is they dare to create one class for the entire project and every code are in that class...
This is fucking not acceptable. -
Opens the source code for an app I have to integrate with.
Finds: if($cryptPW == $dbPW)
What the shit?!?!!!!!
Learn to hash! Far out 😢4 -
“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” - Martin Fowler
Source : @codewisdom, twitter5 -
Started new job and they say...yeah we like to refrain from using third party code...look in source code and half the code is using third party plugins...so does that mean they are starting this logic today??? *confused*2
-
!rant
Sometimes when I code I become very happy without a reason. I don't know the source of this joy. It's not about if the code works of not, it's just different.1 -
Say the world's source code was opened for anyone to edit, which function would you change?
// js land
function conception(e) {
e.preventDefault();
return;
// original code here
}8 -
Just curious what people's opinion is on paying for source code?
Not going to do it but just a random question that popped into mind...8 -
Sometimes I wonder what a world it would have been if we had the source code for it, really needed some changes5
-
- Promote source control usage especially in group projects
- Teach clean code principles
- Push for commented code in exercises -
I'm kinda bit embarrassed when I write my code in public or internet corner especially with my friends cause I'm not using an open source OS. .2
-
I've had this idea for some time now. How about a website that gathers some of the most well written open-source code and allows you to easily read it for educational purposes? Everyone says that reading source code can be a great learning tool but directly jumping into github is not very friendly to newcomers. I saw what underscore.js has done with the annotated code link and I think it's great. What do you think?6
-
The code is under "GNU General public license as published by the Free Software Foundation, either version 3 or any later version" and I used it as a reference.
Should I redistribute the my new code under the same licence and make the source open? Should I make just the component open source or the entire app?2 -
almost end of working day... jobless...
me : *running `uptime` on a server*
*for no reason* : runs `uptime --pretty`
interesting output... ( that I have seen so many times on my personal machine because I have `uptime` aliased to `uptime --pretty` )
*thinks to self* : didn't we create that program that computed a similar output? Wonder if the code is similar...
*brain gets excited about the source code of `uptime`*
goes hunting for the source code of `uptime`... finds it... ( wasn't too hard anyway )
now here I am comparing my code with the source code of `uptime`
what a way to end the day... 🤦 FML!1 -
You know your software's documentation sucks when it forces its users go snoop through the source code to find out how to set it up...2
-
Hi devs,
I started to work as a freelancer just a year ago. I'm still a CS student. I develop apps.
I wanted to ask that if I develop an app for an individual, and they pay me. Does that mean, he can have my source code?
Or the source code has to be sold separately?10 -
My first software boss who didn't like sharing the source code...
OR using built in classes
and insisted on using frames because "they prevent caching" 😂2 -
Well editor? nvim
Vim that just works.
But actual IDE? Most certainly the JetBrains products. The very best code completion, code generation, error checker, etc... all that even in the open source Community Edition :) -
I started learning programming by downloading phpnuke and tearing apart the source code. Before WordPress became popular there was phpnuke :) Google it you youngsters1
-
Those devs that put TODO comments everywhere in code. When has anyone actually ever seen a TODO and DID it? Put the task in jira/trello/whatever and leave the future source of confusion out of the code base!3
-
Why do I even spend time writing TODOs in my source code, I actually end up doing those after an hour or so. 🙄2
-
Love this open job position of node.js developer on BMW Group.
Working with cars and open source code its a Saint Graal.
But not this time. -
We had a guy come over to talk us through some source code we'd bought and we binded over vim colour schemes. So magical
-
I find it really hard to accept that a non-iOS developer rates my performance based on source code he doesn't clearly understand
-
Command --help prints there's a --format=xml option but I never got it to work. Downloaded the source code and found:
case XML:
/* NYI */ -
I have a question bugging me for quite some time now.
How can you make a profit off of open source software?
I mean, if your company spends hundreds of hours developing a piece of software for commercial use, how can they argue releasing the code for free and risking piracy would be better than selling it 'closed'?
I'm genuinely interested in this.
BTW I'm referring to the open source purists who want everything to be open source. The occasional Byproduct of commercial software being released as open source is a different story.4 -
How do you actually accredit code stolen from a project on github? Like it's not used commercially and it's going to be on github, too.
for context: i stole a java class from a minecraft mod. which is about 5% of the source project but makes more then 50% of my project.4 -
Recently I've been noticing bugs in software products I use and I can't help but report them! For open-source software I sometimes even try to dig around the source code, out of curiosity.
-
To the friend ranting about having to copy pseudo code on paper, I feel your pain. Analog IT professors are the worst.
I raise you one with : I had a professor that had me sent in source code files, a pdf with all the source code and a paper printout of every single line of code for a html/php project. Fifty pages of code printed for reasons I cannot understand. And no, I checked later, he didn't ask for it to take notes during the exam.5 -
Going through the stacktrace of my 30 line of Tensorflow code, made me surf almost 20 different library source codes.
-
I just discovered that Go needs a very long time to compile a 120MB source code file. Beside the fact that the file was very big, it just contained a big amount of byte arrays.
Did anyone had ever such big source code files?5 -
How I hate all those people who think VisualStudio Code is Open Source. It's not! Read the f*cking license!
https://code.visualstudio.com/licen...
In fact, you aren't even allowed to inspect its network traffic. Not to mention reverse engineering. That's nowhere near OpenSource.
You sure can download the source code, licensed as MIT, but building it won't give you the same piece of software.
Don't believe in everything someone tells you. Use your brain and check the facts.12 -
When I first discovered QBASIC installed on my machine, cracked open the source code to Gorillas, and tried changing it to see what would happen.
-
It's kind of depressing looking at how bad the source code has transformed from a previous project that I had planned, designed, and did the initial implementation.
But I guess this is the problem of having developers who don't really care about the quality of their work, especially when it comes to PHP. -
How can I get started in open source? I tried forking a repository and do a bug fix, but their code base was ugly as hell and makes me unsure about what open source projects to contribute to.6
-
I was happy doing my sideprojects.
Then the landlord came...
Needless to say he wasn't interested in the source code...1 -
Facepalm of the day:
My coworkers commits third party libraries AND the source code of them. Of course, the source code is never used.1 -
Do you think elon musk will do good things to twitter? And do you think he will make some things open source? I don't think i want to see twitters source code16
-
1) receive functional requirements
2) create functional specification, post it on forum (no jira)
3) create memo document, post it on forum (no jira)
4) create analysis document with actual code changes without seeing the code (wait for step 8), post it on forum (no jira)
5) receive review on analysis document, fix it and post (no jira, redmine etc from now till the end of rant)
6) after analysis is approved make a checkout request
7) source code manager checkouts files from svn and posts them on forum along with the files list
8) you make actual changes to the code, post changed sources on forum
9) source code manager makes a review to check that amendment commet is present in source code and is properly tagged, and every line of code chnged is properly tagged (you are not allowed to delete anything, not even one space, you need to comment it (and put an appropriate tag))
10) after you passed review you fill in standard compilation request form
11) you code is compiled and elf is put on testing stand
12) you fill in "actual behaviour" and "expected behaviour" columns near description of changed function in template of unit test plan document (yeah we have unit testing) and post it on forum
13) if testing ok changed sources and compiled elfs along with its versions (cksum) commited to svn (not by you, there is a source code manager for that)
14) if someone developed function in same source file as you "commited" he is warned by source code manager and fills checkout request form again
15) ...2 -
Comments throughout code with things like "changed to fix bug #". And commented out code all over.
We have source control, why the hell are you doing this? -
Any tips for wannabe programmer? I've learned java basics and feel quite comfortable with them. Unable to write any projects though. I think reading and trying to understand some different medium sized projects source code could help. Do you know where I could find such a thing?6
-
All those volume sliders people were posting, some were made, WITH source code provided. Hope your clients enjoy.
https://blog.codepen.io/2017/06/... -
Is there any chance that Linux open source distributions such as Ubuntu would hide malicious code or backdoor or similar thing in their code and simply hide it in their release publication?15
-
I would like to understand xcb library by looking at the rofi (dmenu replacement) source code but there is no code documentation. How do you guys deal with non-documented source code (supposed to be easy)3
-
if you write awesome code that's undocumented nobody will ever use it, or why I use external open source libraries over internal ones
-
!rant
Had my first Open Source Contribution in Code. Start of something new 😁😁
https://phabricator.freedesktop.org/... -
If I want to develop a fuzzer for an open source software, do I need to code it in the same language as the open source software is written?
-
I thought the ReadMe file on git was for how to use someone's source code. why I find most of them empty!! 👊 😉 others jst have -----###2
-
Let's say the app you built costs X.
How much would you make the customer pay for the non-mantained source code as it is at that specific point?
I'm asking because I just found a library which costs 50$ for compiled version and 2000$ for source code5 -
Hit into NullPointerException on production then I saw this in the source code,
entity.getKey().getValue().contains("a string"):2 -
I have the misfortune of reading the source code that there are comment on who change what line of code at "actual source file" instead of just using version control.2
-
Check out my new project :D It's under active development!
cashh - Exchange Currency Rates using your terminal!
https://github.com/xxczaki/cashh -
Java's garbage collector must be broken - it failed to get rid of this dumpster fire another dev called "source code". But, hey, at least the profiler works.
-
Someone took my source code to a different company changed the source code and brought it back without documentation.
Am like hoNknawMHdFrStVz -
Power to edit source code of body and make it a boxer body like Jake Gyllenhaal. Damn, that'd be amazing! 😎🤓
-
Is there anywhere that you can get your open source code brutally reviewed?
As the (almost) sole developer on a project (and only just entering the world of professional software development), I have no idea if the stuff I've written is good, bad, or just plain disgusting, and obviously the only way to improve is to be aware of the mistakes you made3 -
Surprise nobody says: read the documentation and possible the source code of the lang/framework/library/toolkit/etc. Understanding your code, how fits in the big picture and what you try to accomplish make your code better.
That explain why we have tough ops days ... -
I was looking for a RRule Generator Component in ReactJS because I (a back-end dev) am lazy af to build front-end component. It drains my energy and I stumbled upon "react-rrule-generator". And holy moly. It is no longer maintained, but it has a very beautiful code. Then I thought, I should search more open source projects where code is clean so I can learn more.
So, do any of you know any open source project, library code or whatever that you think has a very clean code?3 -
I pass the day writing a script to encapsulate the migration of the old csproj to the new format. But, when the open source app returns an error of migrating the script continue. I check the return code and when it's an error, it's return 0.
After many tries, I return to my house and start looking at the open source code for understand what's happening and try to correct it.
OMFG, I cannot change the code to return an `int` instead of void. The method is in the public area of the code.
I very happy that this app, it's open source, so I can do my own version for my need.1 -
If you wanted to have a virtual conference and the ability to demo code to an open source community. Would you use livecoding.tv or something like join.me?1
-
Bob Dylan:
Next one for John Carmack, please. (at least according to http://kotaku.com/5975610/... ) -
How to make all of source code files of an Android application fit inside the Android Studio window?
Rewrite it in Kotlin with Anko Commons *lenny face*6 -
"I'm going to save space in my source code file by using obscure abbreviations for all my #define statements, and cramming as much C code into as few lines as possible."
- teammate who apparently has no idea how a preprocessor works, and who thinks "code density" literally means cramming lines of code in as small a space as possible in the source file! -
Aren't we all, just pieces of pseudo softwares, reverse engineering our way to find our source code....🤔1
-
Is there a testing library of source code snippets for testing babel plugins?
Ideally a pack of like all possible javascript snippets? Otherwise how do you know if your plugin may ever fail or cause bad code?4