AboutGamer, Coder .. Just Love Computers.
Joined devRant on 12/26/2016
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
sudo chown <user> -hR /usr/bin/
Tries to run "sudo su" after 12 hours:
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
it was at this moment that he knew, he f'd up10
Beauty (crazyflie) and the beast (me).
A continuation of the vision based control for nano-drones project I posted a while ago.
I am super grateful for my advisors for investing in me more than I thought I deserve.27
The first program that was used at a company.
I wrote it on suggestion of my father to help with simplifying calculations for rental machines at his work and once finished it reduced time from start to finished report from 2-3 days down to 30 minutes, and corrections could be done in minutes instead of starting all over.
It also featured saving and loading old reports.
And for context, this was 1987 and excel did not exist and existing spreadsheets was not nearly as easy to use.6
The whole idea of development is ego boosting. The idea of turning thought into action by building something is very intoxicating. The power to create something from nothing. To be able to construct a world where everything in that world follows my rules of existence. Whether those objects be a database, or an NPC in a game. Development is literally the power of a god!
Some people say I have a god complex. Yes, of course I do, I am a software developer...6
I just changed my username from 'aashimaY' to 'sarena'. Can anyone guess what the new one means. Hint: It's a combination of two words, with the second half being a famous thing (I guess).
PS: You may not get the first half and that's fine. But I would love to see if anyone can guess the second one.13
How many of you use the right data structures for the right situations?
As seasoned programmer and mentor Simon Allardice said: "I've met all sorts of programmers, but where the self-taught programmers fell short was knowing when to use the right data structure for the right situation. There are Arrays, ArrayLists, Sets, HashSets, singly linked Lists, doubly linked Lists, Stacks, Queues, Red-Black trees, Binary trees,.. and what the novice programmer does wrong is only use ArrayList for everything".
Most uni students don't have this problem though, for Data Structures is freshman year material. It's dry, complicated and a difficult to pass course, but it's crucial as a toolset for the programmer.
What's important is knowing what data structures are good in what situations and knowing their strengths and weaknesses. If you use an ArrayList to traverse and work with millions of records, it will be ten-fold as inefficient as using a Set. And so on, and so on.37
"Don't deploy on Friday" is a public admittance that your company either has no CI/CD pipeline, or that all your devs are retarded rhesus monkeys who only wipe their ass if the product manager wrote it as a spec.
If the saying was: "Don't port your whole API to GraphQL on a Friday", or "Don't switch from MySQL to Postgres on a Friday", I would agree.
But you should be able to do simple deploys all the time.
I deployed on Christmas & New Year's eve. I've deployed code while high on LSD, drunk-peeing 2 liters of beer against a tree after a party. I've deployed code from the hospital while my foot was being stitched up. On average, we deploy our main codebase about 194 times a week.
If you can't trust your deploys, maybe instead of posting stupid memes about not deploying on Fridays, you should fix your testing & QA procedures.55
First the program took like 35 seconds to execute, but after some optimizations such as switching from python to cpp, it took about 0.3 seconds8
The look on a client's face when they realised that I program[med] sex toys for a living was pretty priceless.
Their attitude change, however, cost them a contract. Programming sex toys is no different from programming anything else.
Why do you have to bring in your religious views or my previous contracts into the conversation? All I'm doing is a network audit for your company. I'm not gonna hide a dildo in your closet, or something. I'm supposed to only be around for a few days, too.
Guess I had too many cooties, with how harsh they burnt that contract and bridge.
I love coding so much that I end up re-inventing the wheel more often than not. Like, I'll see an interesting problem and I'll prefer coding it myself than just google it. That's definitely a form of masochism. 🥺
Wouldn't be so bad if I didn't have a 100 other things to do...4
No, listen to me. I cannot approve this PR because your code does not comply with our code style. All the imports and annotations must be sorted in ascending order by length. They must all make fir-like blocks of code. Because it looks nice.
Now go and fix your code
I just smiled and walked away to obfuscate my code with firs . I had no idea what to even say to that... I still don't13
Man, we have a snake in our company.
This snake is responsible for terrible code. They oversee a offshore team, but hold them to no coding practices. They don't do code reviews or checks. They let them be lazy and get away with sloppy work every time.
And if you critize their team - they will defend them and get angry at you. You can't adress the problem because said snake is always around. He's in a senior position for giving our company cheap workers, doing years of damage to our product while the non-code savvy managers remain blissfully unaware of their product being ruined in the background.
This snake is the senior product office. He has a share in the company now. He is from the overshore team's country. That team now has their claws so dug into our companies roots and are just pumping lsd's into it constantly. Feels good untill you die from an overdose.
Here I am, the new junior software developer, trying to tear out the claws that have sunk into these roots. Im up against the snake. The snake hates me. I hate the snake. I am trying to open the eyes of the managers. They hate that. They want to silence me so I don't expose the awful, unprofessional level of work they do.
Well, that's too bad. I won't back down from this, snake.16
Sometimes I wish I wasn't in IT.
All I've wanted to do for the last hour is work, but my vpn connection was unbearably slow. So as anyone in IT does, check the settings, try connecting a different way. None of that works.
So I decide to disconnect, wait a few seconds, then connect my usual way.
Well what do you know, I connect and get my usual VPN speed. I literally changed nothing.1
Looking to write something clever in Java.. oh wait, Spring Framework and Apache Commons have already covered pretty much everything.
The AMD song, to the tune of Sam Riegel's DnD Beyond jingle:
You got the perfect casing
Its drive bays and supplies
But you need something to run your stuff
Cause you're late for that deadline
You click open a web page
You've heard about Phoronix test suite
And now you see a red company rise
In a field of blue and green
It's AMD! (AMD)
Yeah! AMD Radeon!
Yeah! AMD! (AMD)
Yeah! AMD Radeon!
You've got your motherboard
You've got your processors
And you've got Socket AM4!
It's AMD (AMD)
Flutter's live demo throws an error with default spinning logo lol
Dart's website is all about UI and shit but their live demo is console output. Also the pi calculation is 100% incorrect7
So I started learning Golang.
I have to say, I heard the language was good but holy shit!
I got my eye on you implicit interface implementation👀👀
I can't wait to start my first project with a clusterfuck of compositions 🤤
P.s: syntax is kinda weird ¯\_(ツ)_/¯6