Details
-
AboutSoftware dev is awesome, it puts us in a place where we are the middleman between business and stupid. Devrant let's us turn 'hate kill burn' into comedy :) thanks devrant team!
-
SkillsC#, SQL Server, html, js, css, python, windows (coz when in Rome and also for gsming), linux for when I wanna play with CLI and maybe php
-
LocationJohannesburg, South Africa
-
Github
Joined devRant on 6/1/2018
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
😆 Raise Your Hands if this is Your Situation 😆
#WorkFromHomeLifejoke/meme programming comic tech life programming life quarantine workfromhome programmer programmer life wfh8 -
I'm someone who' s productive so I get things done earlier than expected, so then I get time to rest. However, when the managers see me resting, they always think that I'm "not doing my job" or "idle" or "doing nothing" so they always ask me "what are you doing?" or "you've got things to do?".
From now on I will just pretend that every f*cking easy task is worth 1 week to do.15 -
When we finally get to Mars, all programmers on Earth will scream in pain over having to program another timezone13
-
So a few days ago I felt pretty h*ckin professional.
I'm an intern and my job was to get the last 2003 server off the racks (It's a government job, so it's a wonder we only have one 2003 server left). The problem being that the service running on that server cannot just be placed on a new OS. It's some custom engineering document server that was built in 2003 on a 1995 tech stack and it had been abandoned for so long that it was apparently lost to time with no hope of recovery.
"Please redesign the system. Use a modern tech stack. Have at it, she's your project, do as you wish."
Music to my ears.
First challenge is getting the data off the old server. It's a 1995 .mdb file, so the most recent version of Access that would be able to open it is 2010.
Option two: There's an "export" button that literally just vomits all 16,644 records into a tab-delimited text file. Since this option didn't require scavenging up an old version of Access, I wrote a Python script to just read the export file.
And something like 30% of the records were invalid. Why? Well, one of the fields allowed for newline characters. This was an issue because records were separated by newline. So any record with a field containing newline became invalid.
Although, this did not stop me. Not even close. I figured it out and fixed it in about 10 minutes. All records read into the program without issue.
Next for designing the database. My stack is MySQL and NodeJS, which my supervisors approved of. There was a lot of data that looked like it would fit into an integer, but one or two odd records would have something like "1050b" which mean that just a few items prevented me from having as slick of a database design as I wanted. I designed the tables, about 18 columns per record, mostly varchar(64).
Next challenge was putting the exported data into the database. At first I thought of doing it record by record from my python script. Connect to the MySQL server and just iterate over all the data I had. But what I ended up actually doing was generating a .sql file and running that on the server. This took a few tries thanks to a lot of inconsistencies in the data, but eventually, I got all 16k records in the new database and I had never been so happy.
The next two hours were very productive, designing a front end which was very clean. I had just enough time to design a rough prototype that works totally off ajax requests. I want to keep it that way so that other services can contact this data, as it may be useful to have an engineering data API.
Anyways, that was my win story of the week. I was handed a challenge; an old, decaying server full of important data, and despite the hitches one might expect from archaic data, I was able to rescue every byte. I will probably be presenting my prototype to the higher ups in Engineering sometime this week.
Happy Algo!8 -
Funny programmer fantasy porn titles.
Add your 2 cents.
I'll start with.
Naive user needs hot reloading for her frontend.
Boss GF wants you to fix her backend.
Go!23 -
~During app demo to our client~
- And when you click here the request will be submitted, the admin will be notified.
*App crashes*
- And of course the app will close itself since it's the end of the process.
- Client: That's good
- Me: ⊙﹏⊙13 -
29-year veteran here. Began programming professionally in 1990, writing BASIC applications for an 8-bit Apple II+ computer. Learned Pascal, C, Clipper, COBOL. Ironic side-story: back then, my university colleagues and I used to make fun of old COBOL programmers. Fortunately, I never had to actually work with the language, but the knowledge allowed me to qualify for a decent job position, back in '92.
For a while, I worked with an IBM mainframe, using REXX and EXEC2 scripting languages for the VM/SP operating system. Then I began programming for the web, wrote my first dynamic web applications with cgi-bin shell and Perl scripts. Used the little-known IBM Net.Data scripting language. I finally learned PHP and settled with it for many, many years.
I always wanted to be a programmer. As a kid I dreamed of being like Kevin Flynn, of TRON - create world famous videogames and live upstairs my own arcade place! Later on, at some point, I was disappointed, I questioned my skills, I thought I should do more, I let other people's expectations make feel bad. Then I finally realized I actually enjoy a quieter, simpler life. And I made peace with it.
I'm now like the old programmers I used to mock 30 years ago. There's so much shit inside my brain. And everything seems so damn complex these days. Frameworks, package managers, transpilers, layers and more layers of code. I try to keep up. And the more I learn, the more it seems I don't know.
Sometimes I feel tired. Yet, I still enjoy creating things and solving problems with programming. I still have fun learning. And after all these years, I learned to be proud of my work, even if it didn't turn out to be as glamorous as in the movies.30 -
I just earned a badge on StackOverflow, let me quote it:
"You've earned the 'Tumbleweed' badge (Asked a question with zero score, no answers, no comments, and low views for a week) for [title]"
... Bruh, am I supposed to be happy now?9 -
We need more JS devs for our frontend.
After half a year of PM complaining that he doesn’t find devs, he finally came back to us:
„Sorry guys, I found two devs, but they are not Java developers, they only do JavaScript“
Me:
Team:
*both speechless*
TeamLead: „... wait, you searched for Java devs half a year?“25 -
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning. " - Rick Cook1
-
.Net 5: the future of dotnet.
Microsoft announced it today and they are saying ahead of time compilation is being supported across other dotnet workloads not jutlst UWP... So fucking excited 🤘🤘🤘
https://devblogs.microsoft.com/dotn...3 -
User: oh! An error message.
Message : Problem XY has occurred. Do YX to fix the problem.
User: Ok I try everything except what it says. ...
Ok that didn't work. I ask the IT
IT: Have you tried what it says?
User: no I didn't know ...
IT:ok do it.
User: 0.o It worked! why do we pay you if it is so easy?
Every goddamn time 🤦🏻♂️3 -
Interviewer: So how long did you work at your last job?
Man: 30 years
Interviewer: and how old are you?
Man: 22 years
Interviewer: you're 22 and you have 30 years of experience that's not possible
Man: and you are looking for a junior dev with 5 years of experience4 -
Truth:
Windows updates have nevah annoyed me !
And
My computer never restarted by itself while i am working!
Is it because i am lucky or you guys dnt know update setting exists?12 -
Great to be back on devrant after so many months. I just got fired from my first dev job which took most of my time and energy and gave me back weight gain and some react and Node.js knowledge.
It feels so good to be free. I never liked web development anyway.4