Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "version control"
*Dev in his 40's from our counter-part office.
Me: Here's my SSH keys.
Dev: What's this?
Me: SSH keys. Give me access to the repository.
Dev: We don't use any version control here. Let's just use FTP or Remote Desktop and just download the codes.23
When I was in my second semester of college I was tasked with creating a file encrypt/decrypt program. Take in normal textfiles and spit out a new random text and symbols file. I worked on it for two weeks and read up on all different encryption types and stuff. I was so excited when it was done. After it was done compiling I tried it out on its own source code. Encrypto.c and named the output file Encrypto.c 😰 The next thing I did was google " best version control and how to use it."17
Somehow I feel like I personally owe Linus for git.
17:50 Colleague whispers "fuck" and the entire project we've worked on for the last half year responds with 404.
17:55 A quick diagnosis shows that she wrote "rm - rf ../" instead of "./" when she threw out her staging dir an thereby deleted everything.
17:58 git pull, everything is back.
18:15 everything is configured and we're up and running again.
**Alternative Timeline without Version control **
17:58 We start looking through Backup folders
18:20 We're fairly confident to have found the most up to date Backup in /var/backup/newback/v2/june/new/released/ and start copying back into the project directory.
19:30 Some files are missing we start patching shit up.
19:40 I realize how much work went down the drain and start strangling my colleague. The Api seems to do the most important things again.
20:00 My colleagues dead body is hidden and I'm 80% confident that the tasks depending on us should run.
Next day: They didn't run. Every nightly build failed, nobody can do anything useful.
A week later : Shits starting to work again, all lost files are replaced. Replacement for dead colleague still missing though.
It's moments like this that make you really appreciate the luxurys we have nowadays...5
Junior trying to avoid git by saying :
'With today's ram and storage size, it's faster to clone a folder and zip it'
Here's my piece of advice for new devs out there:
1 - Pick one language to learn first and stick with it, untill you grasp some solid fundamentals. (Variables, functions, classes, namespaces, scope, at least)
2 - Pick an IDE, and stick with it for now. Don't worry about tools yet. Comment everything you're coding. The important thing is to comment why you wrote it, and not what it does. Research git and start using version control, even when coding by yourself alone.
3 - Practice, pratice and pratice. If you got stuck, try reading the language docs first and see if you can figure it out yourself. If all else fails, then go to google and stackoverflow. Avoid copying the solution, type it all and try to understand it.
4 - After you feel you need to go to the next level, research best practices first, and start to apply them to your code. Try to make it modular as it grows. Then learn about tools, preprocessors and frameworks.
5 - Always keep studying. Never give up. We all feel that we have no idea of what we are doing sometimes. That's normal. You will understand eventually. ALWAYS KEEP STUDYING.9
First day at new web dev job:
Me: what IDE do you guys use?
M: Okay... Any version control?
C: Oh we don't need it. We just update the server pages.
*Boss walks in*
Boss: Heres the project for you to do just need you to rebrand this web app we made for client A for client B just need to change some scripts. Should only take afew hours.
I take a look. No comments. Not formatted. Missing braces and brackets. Semicolons at odd places and missing at others. 7802 lines of code...18
I installed gitlab at our company. I ranted about not using any version control whatsoever in the past but now it happened!
My boss wanted to see a project I was working on for himself so I copied the project to a usb drive and gave it to him. I used git for the project locally and I told him to use this too if he changes anything. And that it would be a great idea to have this centralised on our server. He agreed and I told him he just had to give me the order to implement it. He was like "go ahead" and one hour later we had a gitlab up and running.
We will have some internal training to do and then we are in the 21st century!
I'm so happy right now.8
Apparently I, the Intern, am the only developer at this company with any experience with Version Control. My Boss just asked me for 'Documentation on how to create a Repository in GitHub'...
"There's a big button that says 'Create Repository'. CLICK IT."14
I'm a college drop out. Left my college almost 1 year ago, taught myself php, js, nodejs, basics about servers and how it all works, currently learning angular, nativescript and a few small things.
People still taunt me about leaving my college. About how I should've at least completed my degree.
Student of my university don't even know how to code.
Like they only know simple hello world programs.
They have no idea about :
-Version control system
-Cross-platform app development
-web hooks and REST API
-Stack overflow (Yeah, they don't know about it)
-and a whole ton of small things that you MUST know as a computer engineer like e.g. how to use Vim
I keep getting nagged about my choices and it frustrates me that I can't explain it to them cause they're dumb.
I mean seriously people! Can't you see the difference between me and an engineer who doesn't even know the difference between API and IDE?
I mean seriously?
They say it's APPLICATION PROGRAMMING INTERFACE so it's Qt creator or [any other IDE]
How can I deal with this kind of nonsense?
I'm from India, it's that bad here.
Anybody else a drop out? How did you handle it?
My parents are supportive but they too sometimes worry.66
There are two kinds of programmers:
Those who use version control,
and those who soon whish they've used version control.7
Fresh out of college?
Junior Web Intern: 16k A Year!
Git version control
Must be able to display example of each requirement.18
/*The following dialogue is an excerpt from an actual conversation I had a couple of hours ago*/
MS: Are you sure you downloaded JS from Oracles website then?
Me: *ended the chat*3
About 11 months I posted that my wife was pregnant. I now have upgraded to son 1.0. All without writing any tests!16
So this week has seen the start of all our servers being upgraded. After months of planning we now need to migrate 150ish sites from php5.2 to 5.6 from our old crappy server to our new super awesome server.
Server handover was on Monday. 3 days in and I still don't have a fully functional server.
Config issues. Version control problems. DB config issues. Vhost template problems. Backup problems.
Absolute nightmare! Starting to regret saying I'd be the lead on updating the whole company infrastructure! What could go wrong!
Incompetent doesn't even start to describe this one:
1. Uses Google drive instead of an online repository for code sharing
2. Uses multiple files instead of version control
3. Preferred variable names like a, a1, b, temp
4. Didn't like "wasting" space. The result was unreadable unindented code
5. Would rather use deprecated HTML tags rather than proper CSS styling
He was more like the personification of bad coding practices9
Found in one of our internal version control tools today. The Dark Knight is among us.4
The superpower to perform version control on reality. (Git)
Imagine this universe (the current branch), which is made up of a series of events (commits).
Having this ability to allows us to:
- undo events (git reset/git revert)
- reorder events (git rebase)
- transfer to another universe (git checkout)
- derive a new universe from current universe (git checkout -b)
- delete a universe (git branch -D)
- apply an event from another universe (git cherry-pick)
and my favorite:
- merge universes and their events (git merge)
we have to resolve conflicting events, of course.
What else? ;)8
git add .
git commit -m "Minor changes.."
"Fuck that char in that variable name isn't meant to be a capital!"
git add .
git commit -m "Minor changes.."
We were four.
I setup a git repo, invited everyone and started coding. After a week I noticed I still was the only contributor.
Turned out they had their own code base in Dropbox. :/6
Much-security.nl is down.
No, no hack or whatsoever. I just reinstalled the wrong server through my control panel.
The new blog version will hopefully be up tonight. 'you keep promising that' - I don't have a backup of the old version and I only just started using git so I can only upload the new version (or git pull). Next to that, except for the front-end, everything works now.
My professor once asked us to brainstorm a good topic for our IT seminar/workshop.
I suggested version control using Git.
She simply shrugged it off. She said she needed a topic that the class can use. WTF.1
I'm not angry, mostly sad.
At my workplace we don't use git.
There are constant overwriting, sending code via email or USB stick and forgetting passwords to zip-files shenanigans going on.
I already use git for all my local projects (literally git init in the directory) but my coworker and I thought that it would be a great idea to have a local server with a Gitlab running on it.
So I started looking into running a self-hosted Gitlab (for about 15 minutes) and then our boss who was sitting right next to me almost shouted at us: "Such stuff should be coordinated with the boss! We don't just do something and burn my money because it's _cool_!"
No, git is not cool, it's necessary for crying out loud! Gitlab is cool but at the end of the day also just another tool too.
I guess I have some persuasion to do.
I don't know what version control has done to our boss that he has such a deep dislike for it.12
do we have to use git/version control software? why cant we just mail everyone else the builds at the end of the day?5
Holy donkey nuts, I get too scared to leaved unpushed code when I take a coffee break.
I know a guy, about 50 years old. He is a self-taught programmer since he was young, and he has always used Visual Basic (never anything newer than VB6).
He once needed to interface with a web application I wrote, so I asked him to send me a POST HTTP request. He didn't know what I was talking about. No notion of REST, sockets, HTTP, nothing.
The he showed me his code. Actually, his codes. He had multiple copies of the project, one for each version, and he even kept multiple variations of the software in different separate folders. He probably doesn't know what "version control" even means.
You think this is messy. You didn't see the actual code (it's a huge application!).
Spaghetti all over the place. Meaningful variable names, what are they? Default names for the controls, like button1, button2, etc, with forms with more than 30 buttons and text fields. This was the most incomprensibile code I have ever seen.
You might think that this guy is just a hobbyist.
He sells his applications. To companies. They are obviously full of errors, but they buy them.
Now, if you're still with me, two questions come into my mind:
- why?? I hate this, because it's impossible to prove to a non-technical person that this is *not* software development.
- how do I know that, to someone else, I am not like him? How can I be sure that I know and will know what needs to be known?5
The importance of version control. Had a school project at a real company and i didn't understand it so i said fuck it. Then someone asked me to alter the js library a little and push/pull that to the server. I thought fuck it, altered it and accidentally pressed save (automatic ftp upload). Suddenly the file was overwritten (that guy worked on it for 6 fucking hours) and it went from like a thousand lines to just a few. We did restore it from the browser. He said: either you're going to use git or you're out.
Then i started using git.4
*at front end job interview*
Me: so what kind of version control do you use?
CTO: well, one of the guys here developed our own system.. bla bla bla *turns around laptop*
Me: *sees internet explorer* NO THANKS 😬4
Git: A version control system expressly designed to make you feel less intelligent than you are thought you were.9
"Hey, about that matter from yesterday..."
"Yes, what about that?"
"We need to talk about that again! How often do you trigger that system?"
"Yes, but i can check it, if you like."
"See, only once."
"Can it happen at a random point later one?"
"Are you sure?"
"Can you check it?"
"Look here, as you can see, it will not happen at other times."
"Do you have an idea why it could happen anyway?"
"Maybe that system does the action without my software telling it to do so, wasn't that specified that way?"
"Yes, but it normally does that roughly 10 seconds after you give the command the first time, so we thought maybe you could say what makes it do the action at other points maybe."
"Did you check that systems sourcecode?"
"No not yet. But did that happen with the older version?"
"No. But we didn't try."
"Did you change something between the versions?"
"Yes, the new feature."
"Could that make a change in behaviour?"
"I don't see how."
"Can you remove that feature for test?"
"We can take the old version."
"No, we need the new version, but without the feature you added."
"That IS the old version, there is no other difference!"
"Are you sure?"
"Would you like to see it in source control?"
"No, ~ okay. What do you think causes the problem?"
"I haven't had any new ideas since we talked yesterday."
"Okay. Mhhh,...okay. Lets talk again later."
YES SURE! BRING IT ON! I'M LOOKING FORWARD TO THAT! PLEASE COME BY OR CALL ME AGAIN! AND BRING THE BOSS WITH YOU, TO SHOW HOW SERIOUS THE MATTER IS! LET ME TELL HIM THE STUFF I TOLD SEVEN TIMES LAST WEEK!3
As time goes on, I've always wondered what I'm going to say to my future grandchildren about what Dev work was like today:
"Grandpa Josh what was programming like when you were a kid?"
"They at least attempted to use new paradigms in their framework code, right grandpa?"
"NO CHILD. THEY WERE EXACTLY THE SAME IN EVERY WAY..."5
Had a fun little conversation with a potential employer...
Him: We use git for version control. To work with our team you'll be expected to do the same and be proficient at it.
Me: Not a problem. I am well versed with all things git! May I ask, what does your work flow look like?
Him: All of our source lives in a single repo and everyone commits straight to master.
Him: Conflicts will not be tolerated.6
For those of you who have never used version control and would like a taste of what github is and what it does.
Here's a wonderful tutorial that I utilized that helped me on the way to git greatness
This ist basically my daily work. I have to write Java code in excel files which then are being converted into a DSL and then again being converted into Java code. On top of that many wrappers were built which abstract all this things away..
We have about 30 such excel files which contain about 50000 business rules.
There is no version control for this tables and 5 different team are working on the same tables parallel.
The name of this framework is Drools or as I call it: HELL 😡17
When you think you're an "expert". 😛
Found this on a Medium article.
“Self-taught Software Developers: Why Open Source is important to us”
Trying to convince my coworker to have a git repo instead of resending chunks of code in Slack... lmao12
Some devs like to write meaningless or too general commit messages.
Stop it. Get help.
Call 0800-GITGUDBOIII where real experts talk version control.11
Who the fuck is able to not understand the basics of git. With ten years, supposedly , of front end experience. How in the hell do you not understand version control.18
Bad practice? Christ where to begin? I promise you there's a good reason for all these things and they're 100% out of my control (ok maybe 80%)
I run hand written on-the-fly SQL queries in production, from Vim, with the password saved in plaintext in my .vimrc
For that matter I dev in production. Not test. My local dev environment points to the prod database.
Version control? Yeah, sure, just hand me last week's tapes...
I hand copy random files to "deploy".
It's not agile, it's not waterfall, it's "whatever the fuck fell in my inbox"5
"Why do you need version control? The latest code is all we need."
An email from a bosses new deputy to us...8
My friend and I were watching a documentary about Salmon. He suddenly starts to giggle and I ask him whats up.
Friend: Why do salmon suck at version control?
F: because they always git push force upstream 😂😂😂
Fvcking project manager wants me to commit my partials code to the master branch just to let our employers know that we did something today! That's why you are there to relay our predicaments to them, you piece of shit!
Now he is insisting it the whole team. Fvck! Are you nuts? Do you really understand what version control really means? Why master branch, why can't we just create fucking different branch and push it there if they want reference! Commits are supposed to be a fix code or update not a broken and unfinished piece of codes! I will fvcking cross my finger after messing up the master branch. Now it looks so disgusting to me.9
me: "so what version control system + tool you're using for this website?"
co-worker: "what is version control?"
me: "uh... like tfs, you manage changes, merge etc!???"
co-worker: "ah, i'm using filezilla."3
A few months ago, I decided to let go some old clients with bad behavior and/or bad projects, since I noticed this was affecting my mental health (lowering my self esteem, make me feel depressed, anxious, etc).
I was exhausted of doing miracles in projects without git, build files, staging enviroments (yes... you can imagine), and receive all sort of curses when sudenly something stopped to work.
I set some requirements to work with any new project/client: 1) project needs to be under version control, 2) it must have staging enviroment, 3) I must work with build files.
As I still have contracts running, I'm communicating this to clients as soon as I finish my obligations.
Today, one of these clients told me they are leaving to work with another developer.
Reason: They said my new requirements are unreasonable and they prefer doing the old way.3
i hate everything about programming except programming.
i hate version control, i hate agile, i hate package managements, i hte deploying, i hate clients. I hate that i cant get shit done.16
Team says their code is done, tested, and working. They have merged all of their code and now to merge it with mine.
Take care of the merge, go to test it, and NONE OF IT WORKS.
Ok... So maybe something in my code did it. NOPE. Still crashes without mine.
Thank goodness for version control.
Now need to help define what "tested and working" means...4
Don’t you love when you put a lot of blood, sweat, and tears into a company and then you get fired because your wife got a flat tire and you had to go help fix it?
When I got to this company they were not using version control, had no tooling in place, and most of our day was spent merging projects by hand and going through a long process to deploy our applications (this company is a primarily Salesforce company).
A few weeks after finishing this CLI I was moved to another team and subsequently let go because I had to leave early to help my wife fix a flat tire. Now I am freelancing and actually doing pretty damn well for myself. Bonus: I no longer have to work with the disaster that is Salesforce!2
This company has been a "start-up" for 5 years farming money off of fucking idiots using a shitty CMS.
- The senior dev gets paid 15/hr
- No use of version control or testing
- the CEO has no fucking knowledge about tech.
and you wonder why it's FAILING?! I'm surprised you guys stayed afloat this long, jesus fucking christ.5
- If I buy x amount of ram | hard drive space | cpu power I will never need more.
- No need for version control | Tests. This is a small project
- git commit -m "changes" (its a small change. I will remember why I did it)
- It is too obvious that I put a lot of personal time in this so my boss will definitely notice!
- Why comment this simple method? Anyone should know what it does. Especially me!
- "this should never happen"
- This call can't be from work. Everyone knows I am on vacation.
- I will back up next week. It's not like it is going to crush today.
- It’s 11:30 already? I will work on this for only a half hour more and then I will definitely go to bed!
- This project will take x amount of time!2
Pro-tip #2: wear a suit to work twice a week if you want people to take you seriously.
Pro-tip #3: get some sort of hosting and learn to DIY with Linux and no docker. If you know how to properly run your own version control, email, and web server you will be a step ahead of other developers in terms of secondary skills and resume and you’ll have a website and an email address to prove it.36
Oh the joy of working on service. Customer's website uses a web service to fetch a lot of their data via SOAP. We get a call on Monday that it's not working anymore. I start debugging and find out that the format of the response changed and that the code isn't working anymore with the changed response. I call the Webservice company to verify. "oh yeah, we updated the data set."
Me: Great, who needs communication about that kind of stuff anyways? - There was no notification in any form of this change. I spend hours adapting the code so it works again and had it fixed by Monday evening. Today I get a call from the customer "Hey, it's not working again!". Great. I call the web service. "Oh yeah we didn't originally mean to change the format, so we reverted it again!" - Again no communication whatsoever. I don't think I have ever been as grateful for version control. And as pissed off with a company.2
How about teaching a little version control? A passing mention of git in 4 years of college. The entire industry uses some form of version control, and all we get is a passing mention of it?10
The company I work at have never used Git or any other version control system...
Today I'm working on making everything ready for Git and removing "backup", backup_old", "fileX.php" etc.
In the end, I'll be happy and the company will be happy for the better management and control.5
Finished an MVP of my garage-opener-thingamajig!
Basically I decided I wanted to control my garage from my app. Retail solutions are expensive af. As a dev, the choice was easy!
DHT temperature sensor
Nativescript + Angular
Result: i can open my garage anywhere, safely (sorta?) via firebase, and get push notifs when it gets opened (from hcsr04), which triggers the pi camera, while also getting live temp feeds (this one is kinda for the giggles and utterly pointless but NUMBERZ!)
Anyway - fun side project! First version of my app looks like this. Its very rough, and I have a couple more details I wanna display, but for a first time app I'm happy!11
Week 26 advice - you all probably know this but good to refresh!
Annotate your code
Use version control properly
Keep yourself in check with project management tools
Your peers are your friends... And competition.
As much as your boss is an idiot respect them and your life will be easier.
With great power comes great responsibility; don't touch that keyboard until you think through what you are doing chances are your first idea is not the best.
Don't write quick fixes and say you will go back to clean it up later on when you have time. That time will never come.3
I just got hired as a systems administrator at a company that develops web forms. NO ONE in the company has heard of git. They don't use any kind of version control.
I'm a little worried...6
Them: Migrating their repositories to gitlab/bitbucket.
My classmates: using Google docs as Version Control.5
I really wish I had started using version control sooner. 76 contributions on my GitHub this year, 52 of them are from this month 🙈4
So my job doesnt use any version control. They just edit the files directly from the network drive. Wtf? Is this the 90's?4
My former teammates used to store multiple local copies on their computers, as a form of version control, and pass bits of code on USBs to share their work.
I gave them a fair warning about the importance of working with git, and then one night, I just stole all of their HDDs, leaving them codeless.6
Been looking for a part time game dev job to pass the time during summer break, got a reply from a guy.
This part came up some time in the middle of our conversation:
Me: So, do you have a version control system in place?
Him: Excuse me, a what?
Me: A Version control system, like Git.
Him: Ow, what's that?
Me: It is a way to host projects in a more productive way for two or more people. It allows us to share our work more easily and work on the same file without overwriting and losing data.
Him: Ow, like Dropbox?
He was developing the game solo thus far and no idea such thing existed.
I work at a place where security is really high when it comes to server access. Today I was in urgent need to get admin access to a server, this is a real pain. Luckily I found an xml in version control containing the credentials for the web application which happens to be an admin account! Lucky me, saved me at least two weeks of waiting to get admin access!4
Just got given my own internal project at the company I work for! Basically I created a gulp task for one of our projects that allows us to use version control with Salesforce in a pretty easy way and deploy without a stupid IDE (like eclipse) getting in the way. Now they want me to turn that idea into a node module we can use company wide!5
Just finished my internship.
I entered knowing nothing and spent the entire year on solo projects.
My company does not use any frameworks because "they don't want to run code on a server that they didn't write", they use waterfall, only use version control on half the projects, use notepad++, never once even glanced at my code to check I know what I'm doing - even when i asked.
Also have never heard of a code review, have absolutely no QA in place other than the devs making it and quickly testing it visually, no requirements gathering - just pictures and have never heard of tdd.
Recently was given a project with no designs, no specs other than a verbal half thought out explanation and was dumped with random deadlines like "this needs to be demoed tomorrow night" with no idea about the project progression or what it looks like. Apparently it's all my fault that it failed.
I am very grateful to them for teaching me so much and giving me opportunities to teach myself on nice projects but come on.
What boggles my mind is that the company is 6 years old and has big, big clients. I don't understand how. I once tested a project about to go out the next day that had been "tested" and found pages of bugs. They would have lost the contract for sure...8
Let me ask you something: why do most people prefer ms word over a simple plain text document when writing a manual. Use Markdown!
You can search and index it (grep, ack, etc)
You don't waste time formatting it.
It's portable over OS.
You only need a simple text editor.
You can export it to other formats, like PDF to print it!
You can use a version control system to version it.
Please! stop using those other formats. Make everyone's life easier.
Same applies when sharing tables. Simple CSV files are enough most of the time.
All hail GIT and version control. I was threatened to loose my job if I couldn't fix an issue till Friday, so I looked up when the last comit of previous dev was and took the script before that, debugged it for 15 minutes and now everything works fucking fine. I just get all the shit for stuff I didn't code, but am not "fast enough" to fix them.13
I lol when github goes down, because then I can take cheap shots at people who don’t host their own version control like they should. And like I do.9
The time when we were not aware with advance features of IDE and version control.
(3-4 days before the project demo)
Me: This code was working fine last time. Now it is not compiling. Has anyone did some changes?
Team member: I corrected some spellings. So that our teachers don't correct us at the time of demo.
Me: (shocked, expression less ) We demo the application not the code. And you have not corrected on all the places.
Team member: You should do the rest.
(Based on true story)
Why I hate PHP 5 is because of the developers that used it:
A big MySQL query with 27 joins, some replaces and a lack of indexes that dumps it's output to a file. This was called in a PHP 5.2 script. This script was called through Cron every now and then.
The output of the script was verified by calling another PHP script that was called through cron (yes...on time). If it failed it would write an entry to the database, where it can be checked manually through phpmyadmin.
Another script after the verifying was called through Cron that would zip the file if there is not an error in the database. This script was build in a later stadium so it would directly upload the file through FTP, which was a fucking relief. Oh yeah, this file was only 1900 lines of sequential PHP.
This took me way to long to find out. The problem is that there was no version control, no tests, no local development environment and no tracking. It was not clear if all this shit was needed and nobody cares either.
Fuck me.... I was supposed to learn something there as an intern, but I have probably got programming cancer from them...10
When you're the most "junior" person on the team and you're the one pushing for Git. How we've managed to come this far without any version control is beyond me. Especially with the fact that we've had to work alongside a 3rd party who handles a lot of the site dev...there have been a lot of "stepping on toes" over the years and no one ever thought "there has to be another way."
PM: That bug you 'fixed' a month ago still occurs every time I run the program.
Me: Are you using the latest revision?
PM: Do you think I'm stupid?
Me: ... Well, can you give me the steps to reproduce it, logs, anything?
PM: <other part calling into my code> doesn't log, but it happens every time I disconnect and reconnect.
*Me spends a day on trying to trigger the bug. Surprise, it doesn't occur because I fixed it already.
Turns out my computationally challenged colleague doesn't understand version control and copied my code to a different part of the repo, and PM ran that outdated version of it even though our convention should make it abundantly clear that this project is not supposed to be there. Seriously, you pay me, wouldn't you like me to spend my time more productively?6
noob misconception #527: during my first hackathon i didn't know what version control was (i thought github was this magical elite hacker tool), so id copy my code into a google doc every few minutes along with a timestamp 😫6
I am braindead. we sat debugging a crappy old application (php 5.3, multisite, no version control) with 2 devs and an admin for way too fucking long, and in the end, we all figured out that we misinterpreted the documentation. Head->desk. If anyone asks about me, I will now depart for Nepal where I intend to live as a goat.24
Ran couple of interviews today I don't think I'm ever gonna forget this guy: He was explaining a time he worked in a team and used version control. I asked how he handled merge conflicts his response:
'If there are merge conflicts I delete their work and use mine, my code is probably better anyway'.4
At an interview, i asked the CTO what the company is using as version control and he replies confused: "there is only one".4
I used to work in a small agency that did websites and Phonegap apps, and the senior developer was awful.
He had over a decade of experience, but it was the same year of experience over and over again. His PHP was full of bad practices:
- He'd never used an MVC framework at all, and was resistant to the idea, claiming he was too busy. Instead he did everything as PHP pages
- He didn't know how to use includes, and would instead duplicate the database connection settings. In EVERY SINGLE FILE.
- He routinely stored passwords in plain text until I pretty much forced him to use the new PHP password hashing API
- He sent login details as query strings in a GET request
- He couldn't use version control, and he couldn't deploy applications using anything other than FTP5
My friend wanted to store his app's source code somewhere, so I suggested him using git vcs. The next day he showed me his repository on GitHub... And he was storing different versions of software in folders named like "v.1.0", "v.1.1".. I told him something about code diffs on GitHub but he ignored it and said it's pointless 🤦♂️🤦♂️5
Do you know what i hate most?
... commented old code!
What is the fucking purpose to comment old code IF YOU ARE USING A VERSION CONTROL SYSTEM?????
Commented old code is shit, because it fucks the readibility! I saw entire class full of this shit!
DELETE IT, YOU DON'T LOSE IT YOU MORON!!!!6
Describe the most hellish development environment you can imagine for yourself:
Workstation OS: Windows Vista with network boot, no hard disk and can't save local files
Server OS: Closed physical appliance of Windows Server 2000 with no possibility of installing extra software
Languages: Visual Basic, Perl, Php, assembly, ABAP
IDE: None, just echoing code lines to files
Web technologies: IIS, Sharepoint, Java applets, asp
Network: No internet access, internal company network only
Web browser: IE 6
Graphical design software: msPaint
Version control: Emails
Team communication: Emails
Software distribution vector: Emails
Boss: some 40 year old guy who knows nothing about computers
Not kidding most of these stuff were actually real in my previous workplace.11
I had just started as an SDE intern, and was fiddling around with the code base.
Me: Hey, can you send me the link to our version control system?
Mentor: Umm, what!?
Me: You know, where we keep our code backup...
Mentor: Hmm, is there a need for that?
Me: Yeah, I mean, my past experience tells me to always backup code, just in case something goes wrong.
Mentor: Ohh, that's easy. I'll teach you how I do it.
So, he comes to my workplace, and does this:
1. Go to your workspace folder.
2. Right click it.
3. Zip it.
4. Open outlook.
5. Compose email.
6. Attach the zip file.
7. Mail to yourself.
8. That's how it's done!
I was like what the hell!?!?! Is this really happening?? And then he started basking in his glory, as if he had taught me some secret hack! Seeing this, I couldn't even get myself to introduce him to git. That was the worst part.8
Some people think that in the software industry there is no communication and everyone is glued to their screens doing their work. It really fucking pisses me off.
- We write documentation around our code more than actual code so that we can communicate with other developers better.
- We use version control and pull requests to make sure our work is at the required level and it is approved.
- We invented UML to communicate our technical understanding to less technical people.
- We sometimes have more client meetings than doctors have patients. In which we have deal with clients worse than patients.
- We conduct keynotes and conferences and hackathons to bring together communities.
These are just a few things from the top of my head so next time you think of saying that the IT or software professionals don't have "much" communication you better fucking educate yourself as to what the profession actually is.3
It's true that you should write code with the assumption that the next maintainer has violent tendencies and knows where you live. Well the same goes for your git branches! Keep them clean goddamnit!!
I don't want to become a violent disgruntled version control vigilante ):2
Please allow me to share my thoughts since I can't totally outrage my frustration because we have this so-called fasting to control our anger towards a person we currently disagree with.
A letter from your loving, sincere, pretty and gorgeous working partner to my young, chubby, smart and clever colleague:
Please do cooperate in times of live editing from the FTP since CTO is not and will never be going to appreciate version control since CTO is too tired for giving a shit and just want deliverables be delivered as fuck perfectly regardless of the resources that we have.
As you know, I tolerated you for not getting the freedom of live editing as what you've experienced from your previous team lead. All I ask of you is to get fresh file from FTP whenever we touch the same file because firstly, God knows how frustrating it is how your hard work is going to be replaced and be gone as much as I do. Secondly, I don't want you to experience how pain in the ass could this be in the long run, and lastly, I don't want any hard feelings to be wasted just because of this.
P.S. I'm too shy to send this to you because I don't want to hurt your feelings and don't want to sound too seriouz and feel old. I also hope we share the same telepathic understanding so we can agree with each other.
Your loving, sincere, pretty and gorgeous working partner,
(thinking of stating my first name) 😂20
Gaming community of mine launched their slick new website with their new "ticket system" where people could put in tickets to get help by volunteers.
2 hours and an approval by one of the admins later I managed to inject forge http request into literally every form on that side. Modify permissions, delete users, edit tickets, put invalid values into every attribute of them... In other words break everything.
Turns out the whole thing was coded as a first time project by a person who has no clue about web development and noone is in charge of anything really. There are no requirements, no beta testing, no version control or backups, but at least they had a hard deadline. 🤣
Still not sure if I wanna fix their shit and do it properly or just enjoy seeing it crash and burn.5
My first post here, be merciful please.
So, I participate in game jams now and then. About two years ago, I was participating in one, and we where near the deadline. Our game was pretty much done, so we where posted a "alpha" version waiting for feedback.
Just half an hour before the deadline, we got a comment on our alpha alerting us of a rather important typo: The instruction screen said "Press X to shoot" while X did nothing and Z was the correct key. "Good thing we caught that in time, thankfully a easy fix" I thought.
This project was written in python, and built using py2exe. If you know py2exe, the least error-prone method outputs a folder containing the .exe, plus ginormous amounts of dll's, pyc files, and various other crap. We would put the entire folder together with graphics and other resources into a .zip and tell the judges to look for the .exe.
Anyway, on this occasion I committed to source control ran the build, it seemed to work on my quick test. I uploaded the zip, right before the deadline and sat back waiting for the results.
I had forgotten one final step.
I had not copied my updated files to the zip, which still contained the old version.
Anyway, I ended up losing a lot of points in "user friendliness" since the judges had trouble figuring out how to shoot. After I figured out why and how it happened, I had a embarrassing story to tell my teammates.4
I'm a junior programmer at a small company with mostly web dev. I had a C# project and before the deadline I granted access to the project repository one of my boss/senior coder. Several hours later I got an email with the whole project zipped and a note: I made some modifications, check it out.
Why someone doesn't want to use some kind of version control system?1
I am still in the state of finding a programming language to be my expertise. I'm sick of learning the basics of so many things.
Very recently, I found myself into version control with Git/GitHub. I made my own github.io repo and worked on it while following some random tutorials on the Internet. It was cool and I was happy.
So I thought about contributing to other repos. The ugly part? I cannot understand any open source code out there other than mine because my knowledge of specific languages are very shallow.
I learn the basics of a lot of languages. When things get hard, I lose a bit of motivation and started to be interested in other, perhaps more rewarding things(which are usually harder). This is likely because I don't know what's best for me.
I want to get real.17
Interviewer: Oh ...we don't really use version control here..it's too hard to get the different offices on the same page.
See another of this git commit message :
"Fixed bugs and added new feature"
Fixed what bug?! Added new feature what?!4
New job surprise: I will inherit a 900k lines of php code from a contractor dev shop. It is the company erp web app.
It has no version control, tests, architecture or configuration management of any kind.
There are just 1800 bug ridden files with almost no comments in a directory with lots of code duplication.
Also just learned that the contractor was paid a lot monthly for over 2 years for this monster.
I will need a raise quickly. At least management understands that I will need a couple of months to get a semblance of order in this madness.
And to you contractor I have your address and i'll try to restraint myself from vandalizing your house but I can't make any promises.
And fellow developers send help or beers or come and join me to teach this bastard a lesson.5
you'd think by now people would understand version control. a whole days work gone because of bad merging.5
You have 5 devs on a team at least 3 of them are working on the same code and there is no version control and we have to rely on looking at when the file was last modified....FML!!!12
Hmm. when you prove to be more knowledgable than the programmer that was pulled in, to interview you and he starts to go totally defensive and return spiteful responses
( like, what does a rookie like you know? i bet you never had an actual job )
when you calmly asks if any standard like PSR-2 is expected, if there are any preferred frameworks and what version control is used...
well, that went well..
Didn't get that internship..6
tl;dr - My company makes me pass around code over email. Is this normal?
How we fix bugs at my company.
1. Simulate bug in dev env (ok, cool)
2. Get the required code from svn and make changes locally (so far, so good)
3. Deploy changes in dev env and test (yeah!)
4. Take screenshots of fix in action along with the files you've changed and mail it to the respective leads (really? send code via mail?)
5. Keep changing your fix based on feedback and keep repeating above steps (what!)
6. Once approval mail comes, check-in your code in the svn branch for deployment and testing in the test env (QA team)
My question to you fine folks is, is this normal? Is this how most companies work? Passing around code over e-mail? Where the different versions of your fix are just attachments in emails. Or have I committed a sin by being a part of this heinous act?10
This is something I'll never forget.
I'm a senior UI engineer. I was working at a digital agency at the time and got tasked with refactoring and improving an existing interface from a well known delivery company.
I open the code and what do I find? Indentation. But not in the normal sense. The indentation only went forward, randomly returning a bunch of tabs back in the middle of the file a few times, but never returning to its initial level after closing a tag or function, both on HTML and JS.
Let that sink in for a minute and try to imagine what it does to your editor with word wrapping (1 letter columns), and without (absurd horizontal scrolling).
Using Sublime at the time, ctrl+shift+P, reindent. Everything magically falls beautifully into place. Refactor the application, clean up the code, document it, package it and send it back (zip files as they didn't want to provide version control access, yay).
The next day, we get a very angry call from the client saying that their team is completely lost. I prove to the project manager that my code is up to scratch, running fine, no errors, tested, good performance. He returns to the client and proves that it's all correct (good PM with decent tech knowledge).
The client responds with "Yeah, the code is running, but our team uses tabs for version control and now we lost all versioning!".
Bear in mind this was in 2012, git was around for 7 years then, and SVN and Mercury much longer.
I then finally understood the randomness of the tabs. The code would go a bunch of tabs back when it went back to a previous version, everything above were additions or modifications that joined seamlessly with the previous version before, with no way to know when and so on.
I immediately told the PM that was absurd, he agreed, and told the client we wouldn't be reindenting everything back for them according to the original file.
All in all, it wasn't a bad experience due to a competent PM, but it left a bad taste in my mouth to know companies have teams that are that incompetent, and that no one thought to stop and say "hey, this may cause issues down the line".5
I worked on a browser game for two years and I did not use any version control system. This was 13 years ago. Can't imagine myself how I managed this at all without killing myself immediately.4
I worked about two years on a browser game without using any version control. I also thought it would be nice to have absolutely no comments in the code.
Not separating different changes into different commits, and just adding "a few tweaks" when I can't be bothered to list changes.
git commit -m "Added x, updated y, renamed z, and a few other tweaks"
It pains me to know that a lot of people out there who code haven't even heard of a version control system3
"Tar up your projects as version control."
- CS teacher
I understand git is hard (just the awkward syntax) and not part of a curriculum, but can it at least be suggested? A whole year later, I found out about git and it has made CS projects so much easier.
git commit -a -m "No more tape archiving"5
Also my phone officially autocorrects and to amd. Wow. I need a life.5
My company took over a project that was previously sent overseas . (PHP, laravel 5.1) so I was pointed a lead developer in this project, when I emailed the "senior developer " from the previous company about version control and code documentation. He assured me there was nothing to worry about . ... I found 450 line methods without comments and as version control I found zip files with dates as the name ... fML this is gonna be a long summer15
Learned over Xmas, my brother-in-law works at a company with NO CENTRALIZED VERSION CONTROL. They just... pass around zip files of the latest code? Or something? Like jfc, even as a student we at least used TortoiseSVN!
I was ok with their marriage last summer, but now I feel that my sister deserves better. Can't imagine a company like that attracts the best and brightest. Here's hoping he actually exceeds the expectations, and leads the company into a glorious, gitty future.1
First year: intro to programming, basic data structures and algos, parallel programming, databases and a project to finish it. Homework should be kept track of via some version control. Should also be some calculus and linear algebra.
Introduce more complex subjects such as programming paradigms, compilers and language theory, low level programming + logic design + basic processor design, logic for system verification, statistics and graph theory. Should also be a project with a company.
Advanced algos, datastructures and algorithm analysis. Intro to Computer and data security. Optional courses in graphics programming, machine learning, compilers and automata, embedded systems etc. ends with a big project that goes in depth into a CS subject, not a regular software project in java basically.4
I’ve started at a new place - the team use Trello to share code 😳They are happy to zip a folder, upload and download each time a project is updated.
I’ve tried to sell the benefits of Git however some have such conviction that it would be worse. FML.10
At my high school we had these laptop carts in every room. Occasionally the teacher would have everyone in the class grab a laptop from the cart and work on homework or class work or whatever. Well I always used this time to mess with my classmates. Firstly since these were windows computers it was super easily to gain access of the computers local administrator account. From there, I would uninstall the student version of LAN School (which is a program for the teachers to monitor the students computers) and install the teacher version. From there all I had to do was open the program and have complete control of all my classmates computers. I could remotely control there computers, black all there screens or even use the programs keylogger to get passwords. I never used this for more then messing with my friends but it was always a good laugh between my buddies and I. So suprised the teachers never found out.1
There was a workshop about git in our university and I was the teacher.
After teaching main concept of version control and git commands I was talking about open source community and github repository. First I should notice /pul/ in my language means money.
When I was talking about pulling changes from repository one of the student raised his hand and ask me "Why they would give us money?"
After seconds of silence I had feeling between laughing and crying1
This summer was my first internship and the developers at the company weren't using any version control.
It was literally painful to see the engineer (my mentor) make backups of each file before changing anything in it.
I really do feel, version control should be included in our courses as well.14
First it was the "set up WampServer so the client can use our database", to which I told her we should use an embedded database, to which she told me to do.
Then the "Just give the client a .jar file and install the JRE in his laptop" to wich I told her we can make a native installer, to which she fucking assigned to me.
Then the whole fucked up management thing with no design whatsoever and the "we don't need version control".
To just a few hours earlier, when she got mad because I set up a Slack for us to exchange information easily, she told me she was already mad because I shared the project by Google Drive and that she worked in security and knows the risk... AND AT THE SAME TIME, she uses Gmail to share the project.. BRILLIANT !7
You know what's cool working for a company that uses Github for version control? My contributions on my profile are going through the roof and I expect will make me look like an open source hero!1
Life could have been way better if God has used some version control system and let individual take care of their life.
git revert l@$tHaPP¥d@¥
git reset --hard beginningOfLife4
First and foremost introduce concepts like version control from the beginning. As for the rest, the motivated students will teach themselves the relevant things and the others will fail/drop out. That seems to take place now.
My biggest complaint with the education system is more general and not CS specific. Remove all of the gen ed requirements. REMOVE ALL THE GEN ED REQUIREMENTS. They don't make you "more well-rounded" they just set you back 2 extra years and throw you into twice as much debt as necessary. We spend 13 years learning the foundational things just to spend 2 years in college paying out the nose to go through it again.
Fix that and add a few relevant ideas into CS degrees and I think the education system is decent. There will always be bad teachers, but software developers need to be able to pick things up themselves so it's just preparation for when they get a job and have a useless senior dev to work for.
Nothing good comes with GUI for version control except for the graphs of branches. And this little tortoise thinks it's the shit.6
Still in beta but it looks like there's finally a version control for designers.
Game devs/other content creation people, how do you version control large asset files? So far I've been using git, but is there a better way?9
List of shit my superior said and wrote in the project:
1. Prefer to write "pure" SQL statement rather than ORM to handle basic CRUD ops.
2. Mixing frontend and backend data transformation.
3. Dump validation, data transformation, DB update in one fucking single function.
4. Calculate the datetime manually instead of using library like momentjs or Carbon.
5. No version control until I requested it. Even with vcs, I still have to fucking FTP into the staging and upload file one by one because they don't use SSH (wtf you tell me you don't know basic unix command?)
6. Don't care about efficiency, just loop through thousands of record for every columns in the table. An O(n) ops becomes O(n * m)
7. 6MB for loading a fucking webpage are you kidding me?
Now you telling me you want to make it into AJAX so it'll response faster? #kthxbye2
Waking up to another day of being forced to use SVN because my university seems to have a problem with using git. Who the fuck uses SVN now anyway, piece of shit version control.4
Designers use plugin in WP to modify UI. CSS and JS is saved (somewhere?) in database. No version control. Changes are made across different envs at the same time and all need to be migrates to prod later.
How dense must you be, to check-in files without differences to the source controll?! After being told at least 3 times politely and 4 times >>being screamed at<< to never ever fucking do that again?!5
Me:To my new boss I think its fare we adopt version control for the project we working on.
Boss: No need just do what we hired you for.
Me:Its my second day of work and don't know how this will play out
Am beginning to dislike this boss he still sticks to old practices4
Sometimes I wonder how software development in (bigger) teams worked in the 90s.
Take the first Pokémon games for example. It was the mid-90s and the final product would be Assembler code that goes onto a cartridge with limited space.
I believe version control systems didn't really exist back then (Git & Mercurial: 2005, SVN: 2004). So probably people took backups of the chunks of code they worked on, copied around a stitched-together code, threw everything together at the end of the day, etc. etc. ...
Does anyone here know if there is some kind of documentary about that topic or did anyone here experience that first-hand?
It would be really interesting to see how that stuff worked back then 😊12
Currently rebuilding a web store backend originally developed in 5.2 and by an Indian guy who loved his spaghetti and his knowledge of version control is to do things like 'index.php, index1.php, index-old.php'. Even on the DB he does this... God damn10
Part? The whole damn thing.
We are supposed to be practicing agile, but I haven't seen a single sprint plan till date. All we do is solve issues that are reported from production/QA.
Nobody follows proper documentation, no reviews, no proper version control... Can't wait to finish my contract here and get the hell out.1
Even if you are solo, use version control and commit often. When you are working on something completely new, git reset --hard can really get you out of a bind.1
With all M$ buying GitHub thing i really hope some good things will come out of it like:
- Better version control inside Visual Studio.
- Microsoft making its projects more open source, since it now has an official platform for itself.
- Faster and better service from GitHub since there is now a much bigger budget for servers and other things.
But there are some things that i think are worth thinking about:
- Will this be another one of Microsoft's paid services?
- Will there be "intergration" into the Office apps along Skype, Word and others?
Most likely, none of the bad things happen but me being paranoid as i am, I'd prepare. I always try to be optimistic and just ignore it for now until Microsoft start doing things.1
Honestly, without git version control I wouldn't know how I could manage my project properly. Git is awesome in so many aspects <34
Had to make a change in an ugly codebase. For this I had to change a config value which was duplicated three times in the code base. So I wanted to refactor the code so that the config was in one place.
I worked on this for two days and it was starting to look good. On the third day when I started to work on this I realized that I couldn't start the server anymore. Looking through version control I figure out that my co-worker had stayed till 3am last night to work on the change I was supposed to make.
I had to spend all morning undoing his commits. Once I was done refactoring the actual change took me ten minutes.
Why the fuck would you stay until the middle of the night to work on someone else's task?!
Could have just asked how it was coming along if I wasn't working fast enough for him.2
Have you ever got so stressed because everything is falling around you that you automatically just went into full peace mode because there was nothing you could do to reverse the damage?5
The one skill I know that I am really proud of is GIT.
Put me into trouble with merge conflicts.
Saved my life with its version control.
Always had an adventurous ride with Git. Hope to have many more such rides and get to learn more about you.
I'm living in the twilight zone...
These people upload and download an entire directory of files from microsoft teams as their way of version control...
And what's worse they're dragging their feet on changing over to git/github
God save me2
"You obviously nerfed something, it's broken now and it wasn't last patch!"
*git log shows nothing changed in 9 months*
When players know more about your code than your version control does...1
My boss has a weird habit of asking my opinion and then proceed to choose the worst option. So one day he asked what Java for Web framework we should use I said we should use Spring, we are currently using JSF. Then he asked what version control we should use I said git. Guess what, he decided to use SVN. Next time I'm going to say the worst option maybe that will make him choose the better one.2
Who needs version control? Let's just manually transcribe the changes we made in dev to the prod environment and get angry at anyone who has the gall to suggest that that's an insane way way to run a business critical function. What could go wrong?1
Debugging an elusive database query problem. Attached to server process about 10 steps into the call stack trying to figure out why a a column value is not being properly cast. In comes Windows. You picked the most inappropriate time to restart for updates without asking me. Restart VM, authenticate with VPN, wait for 2FA, start up Visual Studio, enter credentials for the millionth time to authenticate with version control since the remember me checkbox doesn't work, open solution. Now where was I? Then Windows pops up a notification to inform me the updates couldn't be installed. The following comic strip comes to mind.
I've been trying to get my job to start using Git cause they currently don't use any version control. So today I told my supervisor that I was going to set us up our server so we can host our own repositories and he was like no need we will just set your computer up so you can vpn in from home. I'm like wtf? why go through so much trouble to set that up? That still doesn't solve the problem of accidental file overwriting.-_-3
A client decided to give a refresh to his website. So he said he wanted me to take care of it. Curious because he has an IT guy full-time just for the website.
When I offered the hosting service too the IT guy got crazy, he started making a lot of questions like why should I take full control of the website. I replied that's optional, I can just deploy the website in the current server.
The client said, yes I want you to take care of everything.
IT guy again making questions about what database I'm planning to use, what framework, what version, bla bla bla.
At this point I said to my self: Well, maybe this guy made an awesome job. Probably he used a framework that I don't know. The database must be neat and tidy.
So, I go an check the current website... WordPress... Are you freaking kidding me? The IT guy getting crazy for a premium WP template? Why is he full-time anyway? Why is the client looking for someone else?3
Biking out to the beach on Saturday I remembered I forgot to remove a log.warn("cuntface", values) before committing on Friday.
I (tried to) use GitHub to version control one of my websites, and doing a pull on the web server broke the entire thing.4
Why use git, do it simple, send me your changes by email and I will merge it.
Why split split source code (js) into different files, use one so we will no have trouble about load order.
Use the same user account for github/gitlab/bitbucket/etc. So we will no worry to setup access permisions.
Use Dropbox/Drive for version control.
We will test the whole system until the end when all is finish.3
What do you guys think about mercurial (hg)?
I think it has no place in a world where git exists and I prefer git.
Just wondering what the general sentiment is23
STUDENTS NEED MORE HANDS ON COURSES !
I'm doing a year abroad for the fourth year of my masters. I come from a school that really pushes projects, pitches and research forward while leaving in some theory.
Now that I'm at another uni in a different country I can't help but note how UNPREPARED students are for a professional setting ! And they are one year away from finishing their masters in Software Engineering...
Students should use version control tools, they should test their software, they should apply their knowledge to a concrete project ! A 3 hour course on software testing is only as good as its practical counterpart.
Okay so i graduated last year and got a job working for a place that sadly disappoints me in their web development practices. This place uses a dead technology(my opinion)called Cold Fusion by Adobe. They do not use any form of version control like Git and their sites are very shitty and the design and development is implemented very poorly honestly. It honestly makes me sad that i feel like im smarter than my department vp. That being said i do not feel challenged here and am looking to collaborate in some open source projects via Github preferably.I dont consider myself an expert in this field but i would say im about intermediate level in web development. Im pretty comfortable with HTML,CSS/SASS,PHP,JS/JQuery, and im pretty comfortable in the PHP framework Laravel. So if anyone is interested in collaborating or starting something up, id be so down for it. :)7
QTCreator, cause it fucking works.
GCC, cause it fucking works unlike others.
zsh/bash, better than any other.
Sublime Text, being awesome while not murdering my PC or having DPI issues *cough* Atom.
Linux kernel, cause it doesn't fucking bluescreen when using strtok().
SSH, remote controlling a PC has never been so enjoyable.
Git, cause otherwise my version control would be a mess.
SDL2, cause the following two are cancer: X and winAPI.
GNU coreutils, it just works.
ArchLinux/Debian, it works for me okay? don't judge (but still pacman > apt)
valgrind and gdb, cause I can be an idiot sometimes.
nano > vim > emacs. fight me
C/C++, portable enough whilst not being shit.
Win 7, shutting up people about how the creators update broke everything.
PS Well, I know I went offtopic but these are my true opinions about software/programs I deal on a daily basis.6
I miss the old Version Control, copy pasting project folders with every single update, hiding them in different locations just in case some get deleted, then actually trying to find the latest one..... Good old days
Felt like them text RPG games with lots of endings2
When a colleague does not understand source control and you stumble across that folder with each file with version numbers in the filenames.... please check in and check out!
I was doing an asset management project for the CTO of a small company in ASP.NET and the CTO decided to stick his crap smeared fingers into the development because he 'developed' a completely different AS/400 system which everyone complained was like having a dog smear it's balls all over your screen while taking a dump on your keyboard. Fucking idiot would have given me 2 weeks extra work with all the shit he broke if it wasn't for version control.
Get a DateTime. Convert to a string. Convert back to a DateTime. Use that DateTime to build a string.
(it's red because I refactored it; snipped copied from our version control)3
I watched the movie 'happy deathday' today. It really isn't a horror movie but I was thinking of version control the whole time.
The point where she wakes up all the time is the master branch and the different days she experiences are different branches.3
Me : "Ok i've to choose carefully my partner for this project. That guy over here seems nice. He did ask a lot of questions to the professor and he never missed a lesson. I should totally ask him to work on this together.
A few later...
Me: "Ok so we don't live near each other, i guess using a control version system like subversion or git can solve this problem."
Him: "Control version system ? What's that ? I've never heard of git or subversion."
MY BRAIN: "OOOOOOOOOOOOOOOOOOOOOOOOUUUUH SHEEEEEEEEEIIIITT ! ! ! !"4
Spent two hours explaining to an intern the basics of version control and why you must always commit and pull before you push. He claims he understood how it worked. I come back the next day only to see my code was overwritten because he pushed and never pulled.. I get yelled at by my boss because he can't see the changes I made and assumes I was slacking off the previous day :/8
Tl;Dr Im the one of the few in my area that sees sftping as the prod service account shouldn't be a deployment process. And the ONLY ONE THAT CARES THAT THIS IS GONNA BREAK A BUNCH OF SHIT AT SOME POINT.
The non tl;dr:
For a whole year I've been trying to convince my area that sshing as the production service account is not the proper way to deploy and/or develop batch code. My area (my team and 3 sister teams) have no concept of using version control for our various Unix components (shell scripts and configuration files) that our CRITICAL for our teams ongoing success. Most develop in a "prodqa like" system and the remainder straight in production. Those that develop straight in prodqa have no "test" deployment so when they ssh files straight to actual production. Our area has no concept of continuous integration and automated build checking. There is no "test cases", no "systems testing" or "regression testing". No gate checks for changing production are enforced. There is a standing "approved" deployment process by the enterprise (my company is Whyyyyyyyyyy bigger than my area ) but no one uses it. In fact idk anyone in my area who knows HOW to deploy using the official deployment method. Yes, there is privileged access management on the service account. Yes the managers gets notified everytime someone accesses the privileged production account. The managers don't see fixing this as a priority. In fact I think I've only talk to ONE other person in my area who truly understands how terrible it is that we have full production change access on a daily basis. Ive brought this up so many times and so many times nothing has been done and I've tried to get it changed yet nothing has happened and I'm just SO FUCKING SICK that no one sees how big of a deal this. I mean, overall I live the area I work in, I love the people, yet this one glaring deficiency causes me so much fucking stress cause it's so fucking simple to fix.
We even have an newer enterprise deployment. Method leveraging a product called "urban code deploy" (ucd) to deploy a git repository. JUST FUCKING GIT WITH THE PROGRAM!!!!..... IT WAS RELEASED FUCKING 12 YEARS AGO......
Please..... Please..... I just want my otherwise normally awesome team to understand the importance and benefits of version control and approved/revertable deployments2
When do you guys commit? Genuinely curious. I usually commit at the end of the day detailing all I did. What about you?12
Still one of my favorite sites when I am tired and just don't feel like caring about my commit names anymore.
Today's 5PM commit:
"Custom Navbar still not displaying perfectly. Whatever."
I had a small .NET PoC project I wanted to upload to our git server. So added the project to version control using Visual Studio, meaning that VS created a local repository for it. Then I wanted to push it to the remote repository which were created by my colleague. This one was initialized with a commit (.gitignore and Readme.md), so I couldn't push directly. Googled a bit, OK then tried to fetch the remote repo, didn't help. Googled again, tried some "git push origin master whatever" stuff and then rebate, because nothing seemed to help.
OOPS where are my local files? WTF? 😣
Long story short: Experience in other version control systems is not enough or even dangerous when switching over to git. 😂4
I just became an android dev last week, yay for me. Though, I really hate how I inherited more than 50k lines of spaghetti!
They ask me to fix this and that, but that's okay for me, I can manage this.
The worst thing is we don't use any kind of version control system. And I'm always tasked to merge my work with other 2 android dev working on same spaghetti.1
I'm studying atm and I survived Haskell, SKI, ... now, in the second semester we started with Python (yeay ♡) and Java (that's fine).
One of the first exercises is about installing Jython ('cause it's good, right? /sarcasm off), using the lecturer's module and write some code for it. It's about painting some shitty graphics *gasp*...
I use PyCharm (not really necessary for these crappy exercises) and programming on Windows and/or Linux.
Downloaded Jython, installed it, set it as interpreter - works fine (win10, pycharm).
Some students got weird errors using linux - for me it's the same but meh Idc.
Today I tried using Jython on my notebook, too (win10, pycharm). Downloaded it from the Jython Project website. Can't update pip, can't run modules - error is about fckin charsets...
Some other student figured out - wrong version of Jython. The newer version has some bug fixes.
2.7.1 is the one and only - the download section of their website offers 2.7.0 as latest release...
So - how to know there is a version 2.7.1?
#1 version control website = Wikipedia
So... there is a blog, guy's writing about this release - this installer is hosted at maven central. Yeay. Obvious. Thanks.
Can't describe such stupidity - maybe it's the user again 😂
I'm still new to using version control and now learning Git with GitHub, working on my own project.
My current workflow is:
1.Clone GitHub repo
2.Make a local branch to add new features/fix bugs
3.Work on the feature/fix
4.Merge the local branch with local master
5.Push origin master
There seems to be no point in making remote branches because I am merging my branches locally. Am I doing it wrong?4
When you accidentally revert (ankhSVN in visual studio) changes in code, and you lose all the code you just wrote. That feeling in the pit of your stomach... And the hot sweat/silent cursing... I fixed it so it's all good :).4
1. Teach DS and Algos. Not basics but advanced data structures and the ones that are recently published.
2. DBMS should show core underlying concepts of how queries are executed. Also, what data structures are used in new tech.
3. Teach linkers, compliers and things like JIT. Parsers and how languages have implemented X features.
4. Focus on concept instead of languages. My school has a grad course for R and Java. (I can get that thing from YouTube !!)
5. Focus a little on software engineering design pattern.
6. It's a crime to let a developer graduate if he doesn't know GIT or any version control. Plus, give extra credits for students contributing to open source. Tell them if they submit a PR you get good grades. If that PR gets merged bonus (straight A may be ?)
7. Teach some design pattern and how industry write code. I am taking up a talk at school to explain SOLID design pattern.
Mostly make them build software!
Make them write code!
Make them automate their homeworks!
Make them an educated and employable student.!1
AccuRev. Imagine version control software written by someone who read about the concept in a book once and who also never heard of UX.
Guys, I'm a freshman just out from college and I'm arguing with a 30+ so called senior software engineer we should not store our assets in file server. He insisted S3 is not needed. Wtf man, and he say use svn instead of git if I want to use version control!!6
Is there any sense in using git for a personal project of which I'm the sole dev? Just as a way to learn version control and such, or is it nothing like what it would be as a larger team?14
Worst part of being a fresher is to unsuccessfully trying to get the team move to git version control..10
The reason I've never heard of the gitlab meltdown is because I have and always will host my own version control. But it's nice to know that lots of really important stuff was almost lost for other people!10
What's your git style? Commit many times as a sort of change tracker/backup regardless of feature completeness or functionality, or only when something is complete and passes tests?6
Teaching version control would be nice. Git, SVN, CVS. My work uses CVS, and I still have no idea how to properly fork and merge. My knowledge of Git currently starts and ends with GitHub (sorry but true). I stumbled my way with TortoiseSVN just so I could get a WordPress plugin uploaded.1
Just imagination but, if infinite money and resource was present (and if this was hypothetically possible)...
A machine that is able to replicate ONLY one portion of the brain thinking activity and produce a version of a robot with that thinking capacity. This would be unique per person, and licensed in a way so that the owner of the robot is only able to use and control it. (I'm saying only one thinking capability should be allowed as a robot should never replace a person ideally.)
This would mean that the person is able to increase efficiency as the robot could be set to resume activities in the period that the person can't (i.e. sleeping).
One example of using this scenario could be that the person chooses to create a robot by replicating their coding thinking capabilities. This would mean the robot doesn't do much but has the same thinking ability to code as the owner. The robot could be used when the owner is sleeping or on holiday. As the thinking capacity is the same, the code logic would be the same as when the owner would have wrote it.
This would be a DREAM project to work on.
But alas... This isn't happening anytime soon in my lifetime (or ever realistically).1
When your job gets unnecessarily difficult because too many people work on the same files, and then they ignore your changes in version control. I waste more time redoing work that was already done and ignored . . .1
So: Doing some contract work with a Survey and Engineering firm... holy fucking shit...
The CAD files: Job#_Final, Job#_Test, Job#_Final2, Job#_DONTDELETE, Job#_Alice...
Well, this looks fucking terrific.
Someone saved over the wrong file while correcting measurements on GPS coordinates from the field team, and the entire drawing got warped off the points. Apparently, 6 hours of someones day to do all that, and they hadn't linked it to the points.
Program crashed in the middle of trying to fix it, and it had been saved over. Had it corrupted, the project might have had an extra 3 days of work required to replace it. Thank god for them, it didn't.
Storage is a linked drive shared between all the systems for all the individuals on that team. No backup. All this runs on Windows Vista and if the computer updates, the programs don't work. All the programs are Windows Exclusive.
Asked if they had some backup drive or source control. Nope. Didn't even know what source/version control meant. Backup happens "at some point"...
SO! Guess who's going to be trying to figure out if SourceTree for Git will work on older Windows Vista systems! I don't think I trust command line to be adopted, and they don't want to use online setups (yet), plus spending money on something not common in their industry (???) is not happening, I figure thats my best bet.
(Totally and completely out of my job scope, but fuck, I don't think I can handle the stress of watching it continue.)
Open to other VC suggestions, remember these people ain't all that good with technology (some of them remembered doing all this with paper and pen alone). The owner of the company is a family friend, so I don't want to leave him with this issue.
Seriously though; How the fuck do you have plans that go through different people and edits with tons of computed math and drawings interlinked that isn't fucking version managed???3
Silently pushing changes to the production site to see how things work out. If it doesn't ->
UNDO the shit out of it.
CTRL + S
revert back to previous state.
Even tho i have my project under version control. 😝
Envy me. The fnew position I am getting spun up on has me assigned to take over the work of a guy who uses no versioning methodology and updates directly to production code. and I have to get it into CM!!!2
I'm the one one in my team that uses git. In fact, they ask me to set a version control system to collaborate more efficiently... But then I'm the responsible to merge all the versions and spend a lot of time. It is burninge out...
Finally tried using github for one of my own projects. I've always used other tools but I have to say, I'm pretty impressed. The integrated tools in visual studio are great.1
Back on my university internship.
I knew nothing about web dev and it was a full stack role. I was taught nothing and just sat down and ran entire solo projects for websites and web apps. Everything was down to me including client contact.
Taught nothing and had to learn the entire stack on the fly whilst trying not to get fired or lose clients. Company had no version control for these projects, no quality assurance/testing, no frameworks or anything.
The first 3 months were not a good time.
Whoever decided that this orchestration platform should store all the code placed into it as binary blobs is literally the devil. Obviously, no1 would ever want to apply third-party version control, code review, or a CD process to the thousands of lines of code used to basically power the entire business, and "copy the workflow, make changes, test, then try and apply those changes to prod in-between people running deployments" is an ideal change process.....
The designers kept changing the layout for a web app every week and refused to use a version control system so they sent the new files by slack every release9
The fun you can have with voice control and parents. :-)
Free version lets you have 20 commands:
Great fun letting parents use it for browsing the web, save their fingers.
Though I notice it works better if it has a trigger word ahead of the command.
So instead of:
They was using:
"Bloody Scroll Up"
Much more amusing. :-)
This has been a public service announcement, please continue working...5
I use version control as a glorified backup. Only recently did we start branching at work.
This is why I need to be part of a proper team where I can learn instead of being a team of 2 juniors and no one else 😂
It just took me 3 hours to change 1 bloody size in the properties window because of version control not working well. On days like this I love git!5
So started my new job this week (first Dev job after 4 years on various support desks) it’s going ok, but for some inexplicable reason they use visual source safe for version control.
I had to google it, i can’t even install it on Windows 10!8
I might sound stupid, but why don't solo-developers use things like dropbox for active file history that keeps track of every change and also gives diff options and up to 1 year log - instead of git?
Don't get me wrong, git is amazing when you have to work with a team or multiple people in general, but it's simply a pain in the ass when working alone and having to keep track of every state yourself.6
2017 in a nutshell for me:
New year new me! This year I'm going to use a version control system!
Uses git for 3 hours and feels proud. Later forgets about it and never uses it again
Can you use version control on a git repo? I mean put a git repo inside a git repo so you can commit while you commit... :P7
Genuine problem, not a rant
Started a new frontend developer/designer/graphic designer job recently. I feel technically capable, no problem there. Just noticing a pattern of repeatedly missing deadlines.
Its a very busy office, with various people all coming to me with things they need me to do. Never worked in an environment so busy before.
Doesn't help that they force me to manage my tasks by spreadsheets, communication by email, deployment by filezilla and no version control, but not convinced I'd still meet deadlines if I had a better setup.3
I asked my boss if we could move the website to our version control. Reason is because he would make changes and break something and didn't know what he did and so he spends the entire day trying to fix the issue and of he can't figure it out he then asks our only web developer to resolve the issue.
He didn't understand how we could keep it in sync with what is published when he makes changes.
Had to explain to him that's it's only to track changes. He still didn't understand.
How is this person my boss... Only one location for our website, doesn't track changes, and runs the backup on the same computer that hosts the website. Yes... He just modifies the hosting files...
So being in ops, I have certifications in networking and Linux, and am currently working on my Certified Kubernetes Administrator exam.
I've been talking to a few "professional" (they have jobs) devs that I personally know, and with the exception of 1, it seems like version control, automation, networking, and server related tasks are beyond them.
As I want to get into the dev side of things (devops preferably), I feel somewhat overwhelmed at some of the requirements of the job, especially knowing that I cannot take too much of a pay hit as I have a family to support.
My question is this, based on real world experiences with hiring, how much weight do you think knowing your way around networks, cloud, virtualization, servers, and all of the other things ops does when it comes to getting your foot in the door for a dev job?
I've casually looked around, and it seems that getting the foot in from this side is almost impossible.2
When I was an apprentice in a small company, ...
in the beginning I had the order to only work on my local machine. After my boss told me to work with him in a "team". I have asked him what version control system he uses for his project. He's been in this bussines for atleast 30 years, and he asked me with a serious face what in the world version control is. I couldn't resist to giggle.
Visual studio weirds me out... Git a new project idea, set up my local git repository via command line, just because I want to have it done the hard way for once, and initialized my visual studio project in the repo. I happily start coding and commiting until I noticed some symbols next to the files (never used visual studio for anything else than small homework assignments, which didn't need version control). I look for information about them and find out it is the preinstalles git plug-in. "Nice feature, but I want to use the command line this time", I thought. Still i looked a little bit more into the plug-in, open the team view window and realize it says "nothing to commit" and "all files are staged". I start to wonder if it just auto-commits everything. I commit manually once more and see that it commited all changes since my last manual commit. So everything is fine. But at this point I'm too weirded out, because I had a hard time finding the settings and windows that belong to the version control plug-in... Now I'm installing gcc and will probably continue coding in notepad++...
I have to confess: I don't use a version control system. But, as of today, I'd like to change that.
I have a few questions for the community:
What VCS are there and what are the differences? I've heard of Git, but are there any others?
Can you recommend any hosting services? I know of Github and Bitbucket. Are there others? Which is better?
Are there any tools you use? Or just the command line application?
Finally: Can you recommend any tutorials for using these VCS?
Thank you in advance,
Somebody who probably should have done this ages ago (me)8
After paying 3 years in advance to my host, some emails of the owner of a project I work with (very small thing, but still..) began to disappear. She doesn't receive the messages and neither the person who sends receives a error message. I've contacted them but no one could found out what is happening.
In this meantime, I had to change the PHP version (there is a version control in their cPanel). Just after changing, Mysqli and PDO stopped working. It took about 4 to 5 days for them to fixed it (shared host).
Back to today, I needed to send and receive lots of emails of this project. As we are losing tons of legitimates mails, we started to cc our personal emails to avoid misscomunication (deadlines are very important). Of course, exactly today, Microsoft's mail stopped accepting any emails of our host IP, as it appears someone has an Trojan hosted there. Of course, except me, everyone else personal email address are Outlook.com.4
A few months ago I lost my laptop that had my school project and our start-up projects. Hadn't learned about version control by then. I had a rough time explaining to the time where the projects were as they were due in a weeks time. Spent the next 5 days rewriting the project. It came out more neater and faster than the previous one :)1
"Version control......what is that? I never heard of it"
Words cannot express the shock I felt when I heard this from an interviewee for junior dev.
How the FUCK do you call yourself a developer you piece-of-shit when you don't know such an essential thing?????9
Atm, the most painful tooling is Rational ClearCase for version control (wtf?!) and IBM DOORS for reqs and test specs on a Windows machine.
Productivity = -13
I don't know why, but there is something about watching the files disappear and appear in the VS Code window when I switch and merge branches. Maybe it is because it reminds me my work is safe and sound. Unlike before my company used version control.
emacs, git and a decent shell like bash with at least gnutools
emacs, because I was searching for the right editor for years
- ready to type (no fucking mode change for typing like vim)
- programming functions like auto indenting, syntax highlight, auto complete, etc.)
- multiple windows in any arrangement
- it is completely programmable to do anything you want
- you can find a solution to most common development needs on the web
- it is usable from small personal projects to heavy duty development
- fast branching and checking out, switching between different workpaths within seconds
- basic version control offline, you only need to be online for remote consolidation
- you don't have to think much about structure from the beginning, if in doubt just commit and your work is saved, then arrange the result when you're ready
sh/bash-like shell with gnutools, because
- simple tools do their job and try not to be smarter than the user
- tools can be combined in any possible and impossible variants
- powerfull scripting (although sh-syntax is often annyoing)
- open as many shells as needed, no single-instance problem as with some GUI-tools
- extensible with gazillions of other tools
And best of all, all these tools are available on all widely used desktop OS.
What might be a legit reason to commit a target directory with thousands of compiled crap the code in the very same repository generates? Why the hell would anyone want to do this?4
Solving merge conflict on version control takes too much time, so let's allow only guy to check-in and everyone else work offline keeping several old style working copy with (hell) numbers of backup. Once done everyone sends files to check-in guy.
I started playing around with computers when I was about 3 years old, than at 12 my "Technology" teacher showed us a programmer he and his colleagues made, a free and open source version of Logo, logoit. You could control a turtle and make it draw lines on a plan. Than I got into c++ and web development.
Started my first internship a couple of days ago as a front-end dev.
Not particularly interested in the position, but also I don't really mind it either; not to mention I needed a job for this semester and this was my only option. The place is quite interesting -- they know the basics of what they're doing, but when it comes to more "advanced" features like version control, it's well, nonexistent. We all just send the files to each other over the server drive.
Stuff like that gets pretty frustrating but I'm not really gonna complain. Everyone including the manager is super nice and it's a really laid back atmosphere. Dunno if all front-end development is relatively laid back, but just thought it was interesting.2
Remembering of when I first learnt about the importance of version control.
There I was, working in Visual Studio, laptop unplugged; the laptop suddenly shuts down - battery dead. Not too worried, might just have to rewrite a few lines I had not saved. Restart the machine, open VS, the file I was working on now contains strange characters - totally damaged.
Google for help, find a question on stackoverflow with the same issue (comforting moment). The answer I get:
"First question, why wasn't your code on source control?"4
This is proper version control, right?
((btw: vs code is wonderful idk why i never tried it out before now))
Am I the only one here who has trouble understanding how the mothertrucking cycling raping fuck git works?
Every time I make a significant change, I name my file as "project1" and so on, and when I'm done, I make a "projectFinal"3
Perforce , what kind of version control system is this . It can't revert two check-in on same file. It can't revert check-in from bugs even after back-out of that check-in2
Sometimes I think I am a weird nerd, one day I was writing something inside Ubuntu VM for practicing some DSP tech with Python environment on my office computer, someone DM me asking for tech support so I have to pause and go to figure it out. I wanna make some version control or backup stuffs to my little tiny cute .py files, so that I can pick it up when I was at home. And I just plugged my udisk in Ubuntu, copied those files to it, and switched USB port control permission to Windows, and finally git to commit. Actually the next time when I continued to write it at home, I hesitated for a while, should I pull it from git or just take out that udisk from my backpack? #IThinkShareFoldersAreUglyAndDirty
Half of the courses we had in our college were about electronics. Except Microprocessors and Transistors, it's not relevant.
We even had chemistry and engineering drawing. So we essentially wasted more than half of our time.
Besides languages, weren't taught anything about real world software development.
Nothing about how to work with an existing code base, version control, design patterns, system design, creating a website, debugging, functional programming, scalability, reliability.
The industry should be involved in setting the syllabus and also contributing part time teachers.2
So, I was working on my code base and wanted to update my remote with the local changes. I issued the git push command but it just remained unresponsive, no error-nothing. (I use bitbucket as remote host). This was strange, even enabling verbose option didn't tell me anything useful apart from usual 'pushing this to that' sort of response. I checked internet connectivity on my system. It's fine. I restarted my network-mananger just in case, tried if ping, telnet and other tools were working. Everything seemed fine.
Well, it turns out for a major portion of the day bitbucket was having issue with ssh connection. Finally I added https remote and was able to push my changes using 'username', 'password' route.
It wasted a good portion of my time today!!
What the fuck is this version control thing? We managed to pass one fucking entire semester building an mobile game without knowing anything about version control. How my team finished the game? Fuck, we just place our source code and files into the folder, archive to rar and sent it through gmail. My desktop was a fucking mess, it was bunch of New Folder(x) all over the place. Fucking school didn't even taught or mentioned even once about that shit. In fact our faculties were all master degree holder. Our life could have been easier back then. So in this last school year, we gonna use that shit in our Capstone project.5
How about "version control blues" about version control tools being more trouble than help? Because I'm having some wonderful time with subversion for VS20102
The great thing about version control is that you can seamlessly work alongside other coders through the use of dozens of diverged and cryptically named branches.2
When your version control is a bunch of rar files scattered across three different desktops in three different computers2
Good deed done for he day, my friend was versioning his application by using zip folders with the date as the name of the folder. Introduced him to git because the university hasn't thought us how to use it yet and now he is delighted! Note I'm in my final year and college has barely mentioned using version control
Github starts having issues the second I try and get us to start using it instead of gung-ho edits. Coincidence?
TFW you know you're going to be seen as a sort of code anarch or unenlightened (foo)barbarian for even suggesting that there are other git workflows more suitable than GitFlow, but you do it anyway.
Saying that I keep my master unprotected feels like telling Grandma I worship Satan.
I work with a very small team that's always physically nearby, we all get along well, trust each other and communicate to know what everyone is up to, which I guess is hard to believe in and of itself, but is it so fucking hard to believe that we'd be okay without redundant eternal branches or a vomitload of unbisectable history-warping merge commits?1
Fixing and extending some old code, cursing the fool programmer... then version control blames yourself.
So I stashed my changes to switch branches and quickly fix a f**k up, then I switched back and went to 'pop' the stash.... only I didn't click 'pop' I clicked...'delete' and GitKraken or ShitKraken as it should be called, didn't ask for confirmation... it just deleted all my changes. FML5
Git Submodules and Subtrees make me miss SVN externals. Normally I berate everyone that uses SVN (to be cool), but externals were simple AF
Just a small question: how do you guys handle documentation, version control, what technologies do you use (programming languages and frameworks if any)?3
Management fixes our slow running buggy code problem by exactly copying every file into separate version control depots so that Dept A does have to deal with Dept B bugs and Dept B does have to deal with Dept A bugs to the same files.
When your pushing to a git repo and found so many conflicts and try to to review it,
And found so many conflicts with whitespace.1
When I was an apprentice in a small company, ...
I had the order to set up Subversion on our machine with a fresh installation of Linux Ubuntu. The order included to create only a single repository for all projects we were working on. He totally missed the point how version control works. In his opinion it is just a place to store backups, and nothing more.2
If IBM makes a product of something we use, we get it, ClearCase, ClearQuest, message broker, websphere, rational team concert, jazz source control... And a skinned version of eclipse3
!rant after struggling with version control in a very restricted enviroment where nothing can be installed on the user's machine.
I finally found a way that was allowed after days of digging, so simple yet beautiful, thy name be clickonce.
Just discovered wizzy ... Wow, freaking sweet!
I like it for many reasons, just started playing with it, therefore #1 reason so far is saving dashboards and having them in a git version control, yay!!!
Also, if you're not familiar with Grafana, let me blow your mind: http://grafana.org4
Ever spend 4 years compiling a library of awesome code while all the time forgetting you set up version control for it, and then one day you accidentally hit the magical undo button that annihilates all of your code in one fell swoop?
Yeah... Me either. That's totally not the reason 70% of my classes now look like they were decompiled from yesterdays build -_-
Goddamn I hate TFVS. I'm working on PHP application where the code is stored on TFS. So far, I've been getting by using the VSTS plug in Microsoft supplies on PHPStorm. The plugin is buggy as hell, and I'm about fucking done with it. Apparently, PHPStorm doesn't save files when your committing. Unbeknownst to me, however, the most recent attempt failed, crashing the plugin. Of course, and the commit task is still running under the hood, so none of my work has been saved1
yeah sure, having all 5 devs only ever working directly on the production branch and not being allowed to save anything post-release unless it's an urgent bugfix sounds like a great idea
Git, Mercurial and others are distributed version control systems. Maybe it would have a federated version control system for hosting open source software...1
So here is a mini rant from an amateur/hobbyist developer (me).
Over the past week, I've taken on a project that is much larger than any other projects i've attempted to handle (steam trading bot). This meant that there would be logic flaws, weird bugs due to unexpected behavior from shitty web apis (and their poor documentation hmmmm).
Anyhow, fast forward a few days and the code is complete. It's mostly functional, apart from a few glitches and unexpected behavior here and there...or so i thought. Apparently if someone trades and item to me that isnt in my pricegrid, the bot freaks out and kills itself, relaunches, and repeats this cycle (pm2). And i only found out about this on my way to school
So in desperation to fix such a critical flaw in my code (if my bot breaks a lot and doesnt accept trades, i can get banned from backpack.tf), i bust out my only device which is my phone, and start editing away (JuiceSSH and turbo client is godsend ty). 30 minutes later, after toiling through code with no indentation or syntax highlights (mobile pls), ive fixed it. So i push to live and alls well.
Then I arrive at school, pull out my laptop and decided to check up on my code to see if anything needs fixing.
Oh look in one line i used '||' instead of '&&'.
ok lets fix it.
ok lets push to live again.
I launched WinSCP to move the files onto the server, and just as the loading bar finishes and the file is overwritten, i realized; FUCK the code i had on my laptop wasnt the latest version i just worked on on my phone.
So that's that. 30 minutes of typing code without indentation and syntax highlighting on a 5 inch screen and it's all gone.
Version control is a must.
wonder what life must have been like for programmers before there was version control..
What's it called when you count down to 0 for your versioning instead of up. Once you get to 0 your software updates freezes. I tried searching online but I keep getting counting for "for loops." This is eating at me lol.
Resolve overlaps in repos downstream from current project. 1 overlap... Get in today, 7 overlaps downstream; including original. This means we can't deploy the code that a developer decided needed to be fixed; it didn't; and we have 1 week before go live and still need UAT validation, oh and QA needs to retest all the components due to the "required fix". What in the actual fuck?!
I just want to rant about my teacher who did not teach us on software engineering principles especially on version control and how we handle our code.
[This is Tl;dr section so I won't take your time to read] I just want your advice or opinions on students required to learn version control.
So If you have any ideas please reply. I will read them and evaluate.
That moment when you writes every document in markdown and put them in a git repository for version control.