Details
-
Abouti fix the stuff I previously broke like a pro.
Joined devRant on 3/13/2017
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
-
Previous manager would never say it like that however once my week went like that and on Friday he went like "what have you done this week ?", I just responded "watching a billion ticket changes" in a jokingly tone.
If I had a manager trying to dump his incompetent time management on me (managing is HIS job, not yours) I would have all communication go over email and when something verbal is said ask to confirm via email "so I don't forget". If shit hits the fan all communication goes to his boss, if he is the one in charge i woud have quit in the first place. Time is precious and fuck people that (trying to) make you waste it feeling bad. -
Don't let that asshole destroy your work ethic.
Just quit (like you did) and move on until you find a employer who appreciates your work. I could come in to office whenever I wanted because I stayed till whenever too. No one cared if I came in noon/afternoon because they knew I worked late and often weekends too. When a colleague, who always started packing at 16h55 to be out the door at 17h, had a electrician come over at 15h and had to be there, he had to make up the hours too. The knife cuts both ways and I like working a bit more to have more flexibility in my schedule.
If my employer doesn't follow that I would just leave, because counting hours all day makes me feel like a slave/prisoner -
You can always negotiate if you hold something they want. Make up a price you'd want for those frontend projects if you were freelancing.
eg: 4 months 150hrs a month times 70USD hourly rate = 42.000USD
It might look like a big number but so is the time invested.
If they don't consider/discredit your request or even worse threaten: you can always kill the site and take your losses. But I would not roll over and just let them take my work for free. -
please, windows (IIS) server doesn't even support SFTP or ssh out the box without obscure 3th party libraries.
-
In our API driven system our Datatables are kept abstract and dumb, as in, they are there to visualize and interact with our api, not to do calculations, filters or lookups. Although a simple sum via Array.reduce() is not rocket science, following a design pattern and sticking to it isn't dumb either.
This is especially true in large datasets since you might not want to pass all records over api for performance reasons. at that point your frontend can't even calc totals anymor, so it's (in my opinion) never a bad idea to add this data to your endpoints from the get go. -
WHAT A RUSH.
First thing I do if they ever give me access to production again is drop database that shit, I need those endorphins. -
Once I had to run a emergency bugfix which included a migration to a project I did not work on. It was around Christmas last year and I was the only dev available at 5pm. (Others were either done for the day or on vacation). I was so stressed the migration would fuck up some edge case in the database ( that project and it's db is a spaghetti infested cluster fuck), that I refused to deploy the fix without taking a full backup first. Forgot to include no lock tables and our customers could not update anything for at least 45 minutes. I didn't know until halfway in the mysqldump command when those calls started to come in one after the other... Like @zarathrusta describes it : that instant cold sweat nauseating feeling you get.. I knew I had to apply that fix fast so there was no time to cancel the dump and restart it.. I did confirm with COO beforehand and I knew it wasn't any permanent damage or anything. But still
-
You spelled scotch wrong.
-
There where alot of discussions that went like this:
Him: I want you to use option A
Me: why, I think option B is more readable.
Him: Option A it alot faster and everyone uses option A
*Me looking up what community has to say about A vs B.*
Me: hmm could you link me that article where you found that information because on forumX and forumY the majority appears to pick B over A.
Him: Doesn't matter, A is still faster.
Me: to settle that point we could whip up a script that iterates both 10.000times and return the time difference.
Him: that's a good idea, then you'll see.
*He writing the script to make sure I don't cheat somehow*
Result : B is 33% faster on average
(He ran it multiple times to make sure)
Him: we are talking about milliseconds here, thats neglectable..
Me: true but then it comes down to semantics and then it really doesn't matter.
Him: you have to use A tho.
Me: why is that ?
Him: cuz I said so, and I'm lead. When you are lead you can make those directions. -
@alexbrooklyn you would think so. This all happened before I started working there, but even now the lead of that project in question thinks code reviews are a waste of time. For that reason alone (there are hundreds more) he shouldn't be lead. But he is with the company the longest and knows the most about that codebase because he wrote alot of it himself. Management thinks a dev who knows the codebase best, makes the best project lead, which is wrong. But I didn't want to work with him anymore because of the endless discussions about code quality vs ticket quantity and they approved my demand.
-
I have had a dyslexic dev coworker naming stuff like amount (money): cash.. but then with his dyslexia on top it becomes cache. Imagen db columns named cache_amount... He's a nice guy and all but stuff like that can be really confusing at times.
-
Rogue AI infused killbot
-
YouTube uncle Bob / clean code.
This comes up somewhere in part 1. -
We have this guy too and he annoys the hell out of me. Gets to the office at 2pm. immediately turns on the AC to 18 degrees because he's sweating all the time. Leaves at 6. It's the kind of dev that feels his ideas are the best, i have had numerous discussions with him about best practices etc and whenever he doesn't get his way he pulls rank. No one want to work on the same project as him because he writes unmaintainable code, doesn't document shit and is an awful/no teamplayer in general. So far 2 people have quit and specifically mentioned him as the reason. They called all other devs in to validate this, I can't speak for my colleagues but I certainly didn't keep back my opinion about him. Somehow they won't fire him, but they do expect us to clean his unreviewed midnight coding session bugs up en the morning. What kind of person he is ? He keeps rebasing master branch and force pushing it upstream, even after numerous devs have asked to not do that. He just doesn't give a crap.
-
My password is pretty simple it's
@xk4Or+vM#/etc/passwd!
And my email is even simpler
alfred.not@gmail.com -
I can relate to this.
-
I have a wireguard tunnel setup, works pretty well.
-
@melezorus34 "penismaster" I like.
-
@ODXT the ugly truth is that the code you wrote in college is probably shit 😂. If I pull out an old project of mine I did when I was attending college i probably have to look twice too.. but that's exactly the point @bittersweet is trying to make.. if you cant make out what a piece of code does by itself, the author of said code didn't follow the best coding principles.
I know everyone loves to bash on undocumented code. But it's not really the lack of documentation that bothers you, but the inability to understand what that unreadable shitcode does...
Imagen something like this..
// Authenticates the user
$user->authenticate();
I mean... I think you get the point, right ? -
I've read somewhere that you should make your code so readable that it makes comments obsolete.
I try to apply that as much as possible. I mean what's the use of a comment when the code reads as
if($user->isValidSubscriber()){
return MonthlyEmailEvent::fireTo($user);
}
// This is just some random dummy code, its purpose is just to proof a point. -
@HAlex absolutely true. But code quality is something one person can provide aswel. 🙂
-
@lucaIO Not Alfred ;)
-
This is totally not true.
- An ArchLinux user -
2 more
-
@bittersweet ++ for the devil comment
-
Seriously tho I don't know how difficult it is with apples !opensouce-ecosystem but the first time I dualbooted arch with Windows it took me a few tries with the bootloader but it's more sturdy than you think, as long as you don't format it. I know how you feel: scared to ruin your PC but like I said just don't format boot and you'll be good.
p.s : always make backups!!! -
Just delete all partitions... DO IT
-
Like mentioned before the client simply doesn't know and thus also doesn't know how to ask for it. Whenever I get asked such a question I just remember how I asked questions on SO when I just started programming. So I just make a decision based on what I think he means. And most of the time I'm right. You have to be able to cope with questions like these when doing work directly for a client, most of them don't know a single shit about computers let alone how the internet works. The alternative is work for a company with a project manager who was a dev in the past: he will be able to translate the client's needs into logic.
-
Lol
'yes we can do it, right?'
Dev: 'Yes we can, if you secretly hired 10 new devs that will help ... Otherwise, no' -
I'm impressed of how many people use fira code; people really like ligatures huh?