Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "right of way"
-
Guy called in:
Guy: hello, i can't seem to login to the sql database, could you check if the ip whitelist went right? It's on the *names server* server.
Me: *checks if guy is calling from an authorized number* - nope.
Me: I'm sorry but you're not calling from an authorized number so I can't check that for you!
Guy: no you don't understand. I don't want any of this not-authorized bullshit, I just want a solution for this right now.
Me: and I just want you to call from an authorized number.
Yeah, I actually said that. He wasn't very happy 😅
I'm still employed by the way 🤣12 -
Design team: "Is it okay if I put this here?"
Me: "No, it's not okay if you put that there."
Design team: "Are you sure? It'd be really cool if I could put that there."
Me: "No, I will need to fuck with a lot of things if you put that there, just put it in the bootstrap columns."
Design team: "Hold on, lemme see if it's okay to put that there."
Lead-dev: "He's right, you shouldn't put that there."
Company: "We should have a meeting to discuss where the design team can and can't put things."
Lead-dev: "Just put the things in the middle and devide them in these twelve columns on seperate rows, 'kay?"
Company: "Okay, the design team will now put the thing in those things, right design team?"
Design team: "Yes, we agree to putting the thing where we should put the thing."
Me: "So where do you want the thing now?"
Design team: "I want it all the way to the right, outside of the container, that'd look cool."
Me: "Fuck you."22 -
YouTube: tapping like 1px out of the like button, obviously you want to reply to the comment
Facebook: let's just remove the like button altogether, only exposing it to the comment section
DevRant: let's make it possible to double-tap anywhere on the post to upvote it
Only one of them did things the right way 🤨7 -
Was irritated and annoyed because of a client.
Someone called the support line and I was ready for some temper-holding practice.
A very sweet lady was at the other side and she couldn't figure something out and was overwhelmed by all the options she had in her new hosting package.
Very calmly helped her and guided her to the right place, step by step. She did exactly what I said instead of playing a smartass.
She finally found it and said that she appreciated it and a ton of thanks 😊.
Now that's a good way to end a work day!8 -
Dev: "Ah, I finally fixed that code I was working on the other day and got it pushed to staging!"
Almond: "Ah, great! What was the issue in the end?"
Dev: "It was an odd one - it wasn't actually my code that was the issue, there was a bunch of other code getting in the way."
Almond: "How do you mean?"
Dev: "It kept complaining about something called a "unit test" failing - so after a while I found the right unit tests, deleted them, and now it works great!"
Almond: "..."11 -
Wasn't there myself. Came back after weekend or being sick or something and after the daily stand-up one of the guys came to me:
"hey man not to be rude or anything but we're not going to use your code for the project. You're programming in a wrong way."
They explained me where I was going wrong and then it appeared that my study taught me some principles of PHP programming wrong.
I felt like shit, downish and had to fight the tears because I felt quite humiliated.
Looking back at it, they were completely right.12 -
After joining devrant I spend twice the time sitting on the toilet which results in my right leg falling asleep and me trying to stumble my way out of the bathroom looking like a hideous creature of the night.7
-
##Real fuckening STORY##
Angry client: this feature is not working like we discussed !
Me: it is.. *giving some explanation*
Client : no, this is not the right way
Me: But this is what we documented while gathering requirements, and YOU signed in the documentation..
Client : that long document? you don't expect me to read all of that talk just for this simple feature..
Me inside: *killing him 5 times in 5 different ways13 -
Considerations when looking for a tech video course:
5%: Does it have good ratings
5%: Is it priced reasonably
90%: Does the narrator have a smooth soothing voice with an intonation which keeps me dreamy & enchanted, yet with an energized articulation, like a cup of Jasmin tea with clover honey on a dreary Sunday afternoon.
The content may be very good, but if I have to sit through 30 hours of material, you better tickle my ears the right way.10 -
Friend: So you're like a Developer right? Specifically using JavaScript?
Me: I mean...kinda? Pretty Noobish still...
Friend: But you could like show a buddy of mine some basics right?
Me (thinking to myself...the best way to test your knowledge is to teach it...): well...sure...
Friend: Great here is their info!
*Drives an hour away*
*sits down with this friend of a friend*
*busts out laptop*
Friend of friend: So how long have you been a Java Developer?
Me: -_- oh fuck...
*head desk*15 -
Boss asks me to prefer deadlines over good engineering practice. Says meeting a deadline is always more important than building things the right way.
Son, when the company goes out of business due to hundreds of millions of dollars in losses due to shoddy engineering, do you want to be the one to go to the spouses of everyone who lost their job and say "your spouse lost his job because we didn't take a few more days to build the product right"?
Son, when the company's product blows up in a child's face like a Note 7 because of your shoddy engineering, do you want to go to the funeral and tell the parents "your child died because we didn't take a few more days to build the product right"?
Fuck your arbitrary deadlines. I prefer not allowing for so much grief and suffering to be on my soul.5 -
Had this yesterday on my way back home from the meeting. Bumped into an old study friend who was never fond of Linux even for servers.
"so what do you use at your company?"
"oh uhm yeah uhm right.... Ehh yes ehhhh so uhm like we use like uhm Linux for the servers"
"ah, and? Works well?"
"uhm well uhm yeah ehh yeah works uhm pretty..... Pretty ehhhhhh good 😅. It appears to eh work.... Like uhm very good for servers after all..."
Hearing that coming out of his mouth....
Damn!1 -
When you are on location (football stadium in this case) and you realize that some part of the algorithm isn't working quite right.
We are building a webapp for a little bet-game for our local football team and today was the first live test. I fixed the way the points are calculated in the half-time break.
You can edit code on mobile on gitlab. Doesn't mean you should, but you could. And I did.26 -
Recently just hired as a software engineer right out of college. Only three days into the job and I feel like I'm way out of my league. Is this normal?14
-
Dear Telegram, the fact that you're using a service which provides app usage/metrics/analytics kind of is not nice.
"But they've got the right to!"
Of course they do. But, when you advertise yourself as a messaging app focused on privacy, I expect you to behave that way.
And yes, we know your crypto is broken as fuck but that's not the point right now.
Oh and yeah, the next blog item will probably be about Telegram and how not-privacy friendly it is.22 -
I just updated my website to be GDPR compilant. (hopefully). It was the last one.
I'm so pissed right now. I have invested tens of hours for this FUCKING SHIT. I'm not against privacy regulations - I appreciate them. But this is not the way to enforce them IMO.26 -
friend: so how are we gonna do this project together? download, edit then upload to google drive again. thats the fastest way.
me: how about git?
friend: what?
me: ill just create a repository and create branches before we merge it with master. no need to go through that process of downloading and uploading multiple times
friend: not sure... what... that.. is.....
me: oh we have a looooong way to go, ill guess ill have to teach u git right from the beginning12 -
How to advertise... uhm... not the right way!
The 'beschermd tegen anti-ddos' literally translates to 'protected against anti-ddos'
So then I can DdoS the living shit out of that those services and will be protected against the anti DdoS stuff....?! 🤣9 -
Guys, my unfortunately daily rant of my pm
I was told to create a docker env for our team. Good. Document the process so everyone can know what to do. Good.
My PM follows what he wants to instead of step by step and changes whatever he wants to.
I am asked for help because he doesnt know. No prob.
Me: "Do this, do this and.."
PM: "that doesnt matter, trust me, I could change it and.."
Me: "...and it wont work"
PM: "I know suff too, check" *does his changes aaaaaand doesnt work*
* awkward staring*
That happened a while ago.
This week, he crashed his git repo because he was doing things in docker team (including him) decided not to.
Took me more enough time explaining him "you are not supposed to do that in the container" funny fact he wanted to prove that his way was right and even if he did my way it would crash.
Sooooo he did my way just to prove how wrong I was. Everything worked flawlessly. Rage-still-awkward staring.
Plus the "aww that's weird. I dont know how this happened" -
Everyone generally agrees code reviews are a good idea right? And some form of testing is kinda a requirement before releasing.
Nope not my boss at the moment. None of my work has been checked in any way but is going out to thousands of users.
If I take the heat for bugs I'm gonna hit back so hard15 -
Public service announcement: Do not get married to your language, tools, or way of doing things. If there's an easier solution to something, try it before dismissing it. No language is perfect, and dumping everything on the responsibility of an API or framework can cause more headache then solve it.
Case in point: I love Java for backend programming, but node.js is a better solution to frontend programming then depending on JSP's and HTML within the same Java project. Less things go wrong and it's easier to debug issues.
There is no best programming language. Only best practices and using the right tool for the right job.
#exceptC++fuckthatlanguage
:^)15 -
Got annoyed by the super bright default theme of the Arduino IDE. Decided to make a dark theme for it! Turned out pretty well!
Unfortunately there is no official way of themeing right now, therefore I had to edit some files in the program's directory, which was a pain in the ass to do... (and kinda scary)
I tried to adapt the Material Theme in Sublime Text btw.
Here's a comparison:24 -
That moment that you think of a way better way to do something than your initial idea was RIGHT BEFORE you implement / start working on the initial idea instead of after hours of work.
I could get used to this!2 -
LEARN THE FUCKING WORDS!
I know that English isn't the native language of my country, but for fucks sake, if I'm telling you the right way to say/write it, remember it!
It's called ROM not ROOM
It's called Mod not Mood
Am I good with Custom ROM's? Yeah
Am I good with Custom Rooms? No, I'm not a fucking interior designer
Am I enjoying Moto Mods? Of course
Am I enjoying Moto Moods? Vruum Vruum bitch.16 -
I was interviewing a candidate for a senior UI dev position and I began to ask him stuff about closures, contexts, design patterns and others.
At some point, after failing to respond to most of the questions, the candidate looked at me and said something like: ‘I am amazed. You didn’t have a lot of toys when you were a kid. The PC was your only toy when you were a kid, right??’.
I looked at my junior colleague that was shadowing the interview and we couldn’t believe what the guy was asking. He was extremely serious and he was looking for a way to find an explanation for his failure.11 -
FUKING RECRUITERS:
Good Day <NAME>, Hope this message finds you well.. One of my clients is currently looking for 6x C# developers and i strong believe you are the right candidate for this position. Are you open for new opportunities?
FYI, I have never used C#, it is not listed in any way on my LinkedIn profile, do these fuckers not fucking read.8 -
Customer: So I have operating system corruption? What does that mean?
Me: *thinks for a moment* Okay, so you have a bag of potato chips, right? And you're looking forward to eating those potato chips. However, when you open the bag, there are only crumbs because the guy in front of you in line had accidentally stepped on the bag and crushed them all.
Customer: ...Okay...
Me: So what we can do is we can grab a can of Pringles--because Pringles are delicious--and dump those in the bag. That way you have a good, full bag of uncrushed digital potato chips.
Customer: I like that, let's do it!
Coworker: ...why are you talking about digital potato chips?8 -
school takes the creativity out of programming.
you want to try something new?
sorry, can't have that. functionality = priority.
school takes the choice out of programming.
- you're gonna use x language
- with x api
- in x environment
- and make it in x way
- because if you don't, your gonna fail x assignments
- because programming is about getting the job done, with no creativity
yeah fuck you too
school takes the cleverness out of programming
you get a turn left function. it turns a 'turtle' left any amount of degrees that you pass it, you have to make a turn right function to turn right 90 degrees. well, if you thought turning left -90 degrees was a good idea to make a turn right function, then fuck you. you have to turn left three timeswith the default 90 degrees instead because it's more practical/logical.
fuck that.
anyone else hate the movements to get programming into schools?10 -
I'm the only windows user in my office(my only other choice was Mac). One of the salesmen walks in my office with his macbook.
salesman: what do you know about macs?
me: nothing, why?
salesman: well I just got a new MacBook and I can't right-click, is there like a setting or something I gotta click?
me: well there's no "right-click" by default on Macs, but I think there's a way so you can click with the right side of the touchpad and get the "command-click" you're looking for. stand over there quietly while I finish this function then I'll look into it.
*i proceed to fiddle with some code for 5 or so minutes while he stands in the corner*
me: ok so let's look at your MacBook... ok *at this point I jump on my computer* let's see what Google has to say.
search: enable right-click on mac
me: huh! look at that! Google gives you the answer right there, poof! like magic. now we just follow directions, system settings>keyboard and touchpad>enable click with bottom right corner. bam! anything else?
salesman: yeah, I want the little bar thing to go away *talking about the dock auto-hide
me: ok well that's called the dock, let's ask Google again...look, Google gives the answer again, without even needing to click any links, I could probably click these links and get more in-depth instructions, but right here at the top is the answer
salesman: wow man, thanks! I've got a meeting in 10 minutes and I never would have figured this out.
*before he leaves
me: here take this...4 -
Feature request for @dfox:
Swiping for rants:
Left = nay, right = yay
Or better:
Match making via rants for devSingles.
Just kidding! I love devRant the way it is. It's the best app. Probably the best of all. It's huge. You'll like it.7 -
Just wanna say I fucking LOVE..
... Linux
... Open source
... GPL & MIT License
... SO
.., devRant
... more stuff
... TDDR (Too Dunk, Don’t Remember)
Most of us are complaining / ranting way more often about development and technology than we do appreciate it..
Just look at our great and unique community..
Im often angry but right now I remember how great the dev community is and I love it:)4 -
'your good with computers right'?
Me: I work with one every day so I guess...
Can you fix a problem I have with my pc? (relatively old man, and I feel bad for him so I agreed)
Next day he had me fix 4 laptops (from his kids) and a Macbook of his own almost all had shady malware and were WAY behind of their windows updates... Like sub wannacry level...
Rip one of day of my vacation 😠8 -
Yesterday way my one year devRant anniversary! It's been a good year guys and gals (and whatever genders are out here). I can't be bothered to look up rant counts etc right now because I'm in the middle of my exams and I'm fucking exhausted but a bit thanks to trogus and dfox for creating this awesome platform and also a big shoutout to all the awesome people I met through here and have good contact with :). Keep rocking, devs!2
-
On my way to buy a second hand Oneplus One!
I don't think that not being able to remove Google services from my phone because this phone isn't supported by open source roms is a valid excuse anymore, especially since the new dutch surveillance law goes into plan the 1st of May.
I don't have that much money but I can afford this second hand device right now so let's do this.
Will install an open source rom without Google apps onto it!26 -
Ticket: Add <feature> to <thing>. It works in <other things> so just copy it over. Easy.
Thing: tangled, over-complicated mess.
Feature: tangled and broken, and winds much too deep to refactor. Gets an almost-right answer by doing lots of things that shouldn't work but somehow manage to.
I write a quick patch that avoids the decent into madness and duplicates the broken behavior in a simple way for consistency and ease of fixing later. I inform my boss of my findings and push the code.
He gets angry and mildly chews me out for it. During the code review, he calls my patch naive, and says the original feature is obviously not broken or convoluted. During the course of proving me wrong, he has trouble following it, and eventually finds out that it really is broken -- and refuses to admit i was right about any of it. I'm still in trouble for taking too long, doing it naively, and not doing it correctly.
He schedules a meeting with product to see if we should do it correctly. He tells product to say no. Product says no. He then tells me to duplicate the broken behavior. ... which I already did.
At this point I'm in trouble for:
1) Taking too long copying a simple feature over.
2) Showing said feature is not simple, but convoluted and broken.
3) Reimplementing the broken feature in a simpler way.
4) Not making my new implementation correct despite it not working anywhere else, and despite how that would be inconsistent.
Did everything right, still in the wrong.
Also, they decided I'm not allowed to fix the original, that it should stay broken, and that I should make sure it's broken here, too.
You just have to admire the sound reasoning and mutual respect on display. Best in class.19 -
*In TeamSpeak with 4 of my friends*
Them: Hey, why don't you join our GTA Session?
Me: Ehh uhm...(Not answering)
Them: Hello?
Me: No, I can't right now. I'll join later.
*A few hours later*
Them: Are you joining??
Me: No, later.
Them: Right, so never then?
Me: 🙃
I never played GTA today, instead I continued to work on my C/Gtk+ application. Way better than any game 😁
Also, my friends think I'm boring, and I don't understand why... 😂7 -
Staying nice.
I care about the product we're creating. More than I care about the feelings of my coworkers... and that's not always a strategically sound plan.
Getting annoyed with someone rarely helps make them see things your way — even when you're objectively right, and they're absolutely to blame for all that is wrong.4 -
Firefox: click on the address bar and now you can select something or start typing or move the cursor left/right, works great.
Chromium (because fuck chrome):click in the address bar and THE ENTIRE URL GETS/BECOMES SELECTED. Wanna type something? Sure, go ahead, but FIRST click somewhere else or move the cursor because otherwise the entire url is fucking gone.
Maybe there's a way to disable this behavior but boy does it annoy the living fuck out of me!14 -
Had 4-5 hours of sleep last night because I had to wake up early this morning for an internal demo of the feature I worked on. It was scheduled early morning because the boss was busy.
I come to the office looking like a zombie, practically sleep walking my way to the office, and guess what... The app server is down! Yay.
I had to reschedule it to right in the middle of lunch time because hey... The boss is busy. Now everyone in the team hates me for ruining their lunch.
Now I'm sitting here, staring at my code, remembering the sweet luxury of sleep.2 -
My study's logic every fucking time: (I'm a senior by the way)
Junior: Sir, could you help me out for a minute?
Teacher: I'm busy right now, please fill out the support request form and go ask one of the seniors (yeah, not even kidding)
Junior: Alright, hey dude, could you help me out maybe?
Me: yeah of course, just get your laptop and go sit here next to me!
Other Teacher: Hey you, leave the seniors alone, they've got their own work!2 -
One day at a meeting I proposed a solution and explained it to everyone and everyone agreed to it. And then comes in this motherfucking Mr. shithole who starts talking about a piece of shit approach which had apparent drawbacks and everyone could see it but no one mentions. Why, becuase that bigger asshole is the boss of these smaller assholes. When I mention the drawbacks, all I get in return is, you are right but we think you should go this way. No fucking explanation why should I or any son of bitch should go that way. And every single one of those fuckers in the meeting suddenly became ok with his approach without any question or doubt. I mean WTF! What kind of developer you are if cant fucking express your views.10
-
So, I need to... enable cookies to... disable cookies? Did I get that right?
(wired[.]com btw. My steadily rising adblocker-counter should have made me leave that pile of shit way sooner than I did anyway)5 -
Finally found a way to keep track of my ever expanding studies and how to prioritize them as relevant > how interested I'm > how urgent it is (as in it'd be a game changer if I had this skill right now).
It's called a ternary diagram (just in case you wondered)12 -
Our customers are fucking incredible QA Engineers, holy fuck tits. Every single day, some fucking fuckface finds a way to break this garbage can legacy application that I've spent the last year combing over and patching as I find problems or are otherwise made aware of them.
Honestly, I have some QA background myself, but these types of issues would just absolutely never in a bajillion shitting farting years occur to me to do.
They are masters of breaking shit, I am so FUCKING IMPRESSED. Almost as impressed that this application hasn't been replaced after ten years of bullshit, and that the two massive fucking retards that preceded me didn't just do it the right way by accident or fucking kill themselves out of shame.9 -
While I fucking hate front end and app development, I also hate that I'm so fucking dependant on them for the development of services and such.
Right now I'm developing a suite of services with a mate and while the backend and security (+linux servers) are something I'm good at, I find it hard sometimes to continue without being able to see my API's in action through apps and good looking interfaces.
My mate is currently handling that part but he has way less time than I do and thus I sometimes have to create interfaces to even just be able to see how my shit would work irl.
I can't fucking stand this and it sometimes entirely drains my motivation but there's also no fucking way in hell that I'll dive into frontend and/or app development.
Fucking hell.14 -
Today I learned a lesson from corporate survival 101.
The difference between get it done vs get it right.
Boss, manager always want to get it done, while developers always want to get it right, most of the time. If you don't listen to your boss, manager and insist get it right, will eventually cost your job. I saw many get it done code, either the dev moves to another team or already left. They avoid their own code forever.
Perhaps be a good student, not the smart student is a good way to survive. Thought????4 -
New project at work involving Google Nest Hubs, supervisor asks me to do the initial setup of one of them to start developing with it using its API.
I start looking throughout the documentation and realise that we need to setup a work google account in order to register the devices, pay a fee and only THEN be able to use Google's API for Smart Devices (damn, you, Google!). Supervisor is somewhat baffled by this, and in my head I'm also surprised by his reaction. I'd assume you'd research your devices before you buy them, right?
Later, he comes into the room I'm in (I'm still allowed to work on location), looks at the freshly setup Nest Hub, saying "wow, this sure is a much smaller screen than I was expecting". I mean, you did research these devices before you bought TWENTY of them. RIGHT?!
On my way to fight with this Google device-registration-API-thing now.
To be continued...11 -
!Dev. Just back from the supermarket. Seriously there should be a special place in hell for people who leave their trolley at right angles to the aisle. The place was full of them today. Still it was fun ramming their trolleys out of the way, preferably sending them scooting away down the aisle.20
-
Best time to learn something new?
-Now
Best way to learn something new?
-By doing it. Practice makes perfect.
I wasted so much time and never got anywhere because I wanted to get it right. Fucking up is part of the learning process.2 -
I suspect this may happen to alot of people:
Me: Is this the right way to implement the feature?
Lecturer: yes that looks good
Me: *happy*
*Results come out*
Lecturer: *deducts marks for no reason*
Me: You said this is the right way of doing this...
Lecturer: I didn't quite see what you're trying to do
Me: it's fully commented.................
Lecturer: *confused as fuck* i will remark and get back to you
Me: *thinking* fucking retard playing with my grades like it's a joke.2 -
This is the last straw. I am so done with Chrome.
…
I woke up AGAIN this morning to my MacBook shining away brightly, having not gone to sleep the ENTIRE night. I did some better research this time and discovered it's actually Chrome that is causing this.
Yes Chrome is deciding whether my MacBook goes to sleep or not.
I am not ok with this. Worse, it doesn't even have any ability to change this behavior. It's basically a hidden "feature" of Chrome: it wastes your hydro too!
This is not the first time this has happened either. Last time my MacBook wasn't properly plugged in and it completely drained the battery, shutting it right off. I ranted about that already.
But I am just SO fucking livid about this right now. What on EARTH is going through google's mind that they think this is in any way even REMOTELY acceptable?
I've already filed a bug report but I think this is the last straw. I am just sick to death of Chrome. This bug is literally costing me money and damaging my property.
Shove it right up your fucking ass, Google. Right up there and twist it around.
I'm switching back to a real browser.32 -
Why the fuck do people go to so much trouble to justify what they did instead of just admitting they were wrong?
The way I handle this type of people is to first ask a straightforward like "X implies Y, right?" If they answer "yes" I say "then this here isn't right" and watch them go around the world to find a justification for it not being wrong.6 -
I think Clean Code: A Handbook of Agile Software Craftsmanship by Robert Martin should be a must to read.
In school no teacher puts emphasis on code quality.
They should learn how to name variables and functions the right way at an early stage in order to better perfect their craft :)3 -
I spent almost 10 hours coming up with this RegEx. Trial and erroring my way to hell. First I had get rid of the HTML tags (which was easy-ish) then I spent most of my time trying to figure out how to remove the god damn dash but keep hyphenated words ....... Then I found \B and look behinds...
I am making it a point to get good at this shit... Because right now I am petrified of it... Fuck you Regular expression you have taken away all my emotions...14 -
When I wasn’t the lead yet there are so many things I want to do and improve. I have asked and judged my lead’s choices a thousand times for choosing the easy and fast way instead of the right way.
Now that he left and his role was given to me, I can now sense the same judgements from my members to the decisions I make (or not make).
I now understand. We don’t always have the luxury of time. If I say yes to improving everything at once then our app will never be done. (That our bosses will blame me for)rant decisions improvements time team its too late to use typescript team stuck at angularjs 1.x deadlines wk181 lead4 -
In my first year of college right now, and on the first test we had to write some C# ConsoleApplications. We got instructions of what we have to taken as input, what we had to do with it and output it to the console.
I've tested them all and they all work correctly, which was the main objective. I have used the correct data structures, but I didn't get top mark. Instead, I got lower because "I didn't do it her way".
WELL F*CK YOU TOO!!! I hope this is not how every test/exam goes6 -
"Disregard what you're doing now. We need a FUNCTIONAL prototype (which will become the main app because refactoring is a waste of time huehuehuehue) with these features our POSSIBLE client MIGHT potentially need for TOMORROW's presentation."
"What do you mean that thing you were working on yesterday isn't done? Those are the times we estimated, right? By the way, our (still not confirmed) client thinks he'll choose us over that other company if we do changes A, B, C and D. Need it for yesterday."2 -
It's cool to put stickers of big brands and technologies on your laptop. But how about putting your own stickers on it? I think that should be the right way of using stickers while promoting your work.
Here's some of my projects that I used its logo as sticker:
https://github.com/orhun/zps
https://github.com/orhun/pkgtop2 -
Crazy code.
You know when you come across some code, where you think: “I kinda see what you were going for, but it’s still hella dumb though...” right?
Currently doing some work on an F# backend, and the dev clearly knew enough of the language, but their code makes me question a lot.
The problem is simple: use a third party tool to generate images of each page in a pdf.
Said tool supports:
1. Querying the number of pages
2. Getting all pages as separate images in a single invocation
Can you guess how the dev solved it?
They’ve recursively incremented a page number, called the external tool to grab the image of that page.
“But how does it know when it’s run out of pages?” I hear you ask.
Simple. Catch the inevitable exception, and check against a hardcoded string literal to see whether it says “must be before the end of the document”.
I shit you not.
I nearly had an actual seizure when I was debugging some semi-related code and ended up in this wonderland of fuckery.
The recursion and pattern matching was flawless though, yet the tool’s website clearly states the supported functionality.
The whole thing feels like they tried to do it the right way, but couldn’t be bothered / couldn’t get it right, so they ended up creating this insane bit of madness.5 -
imagine your ego being more important than doing something the right way
welcome to corporate hell
this is one of the top reasons (but of course definitely not the ONLY reason) i'll never join the rat race
would rather be a homeless 🤡 (slowly succeeding in this one)4 -
Who's got time to be an imposter. 🤷♂️
I am out of my depth 90% of the time, always diving into areas that are foreign to me, you just need to enjoy the buzz of knowing you are coming out the other side more knowledgeable then you did going in.
But if you do get overwhelmed with this condition, step back, take a breather, and use that moment to think things through at the big picture level before moving forward again, sometimes the right solution is hard to think off when you're to focused and drowning your way through a bad one.4 -
Typos kill, kids! And deploying to production.
Instead of "for item in items" in my script, I accidentally did "for items in items". Thus, an exponential loop has been entering things into the database for the past few hours before I found the place to fix it.
By the way, this runs on cron every minute. So there are processes still running exponentially right now, possibly 180+.
Yeah, I'm setting up a a test server instead now.11 -
Me on a tech part of a job interview: "We shouldn't do it this way because it violates separation of concerns!"
Interviewer: *clearly impressed*
Me 2 weeks later: *does exactly what I said that shouldn't be done because I can't be arsed to do it the right way*4 -
so my father is on psychiatry, because he tried to kill himself. he invited me to join, which was very tempting, but his method was very stupid, and i have a bit more time of enjoying watching the apocalypse in progress, so i declined.
he's alive, because his attempt was thwarted by his instinct not to take anyone else with him who didn't consent.
i told him killing himself by crashing a car is the stupidest way ever.
i'm glad he didn't listen, because i was right.16 -
!dev
Anyone know of a way to ease a tooth ache?
This pain right now is fucking unbearable, I'm having a hot water bottle against my cheek which relieves it a very little bit and I'm already on the maximum dosage of pain killers.
7 hours left before I can call my dentist.
I hope someone knows something magical for this 😥33 -
"200 Internal Server Error"
Yep, I did that. Because the lousy crapheads I work with were too lazy to handle any other HTTP status so anything else breaks the whole thing. And it's a pain to roll out another release of their part of the backend so "this isn't a priority". Also, they don't feel the need to check the JSON body of the response for the "status":"ok"/"fail" because what could ever go wrong, right? I effectively have no way of conveying to them that there was an error on this end of the API so they show success toast on the frontend irrespective of what really happened.6 -
My first rant...
Every time a coworker asks for an enhancement, the request is followed by "it should be easy to implement".
1) If you think it's easy, then you obviously know the code better than me, right?
2) The idea of the enhancement may be easy, but you don't think about how a small change can have a cascading effect throughout the entire process... and potentially in a catastrophic way.
Happens every time. Maybe I'm just bitch eating crackers at this point, but it annoys me when people analyze something they have no idea how to write themselves.5 -
What can we do with a boss who urinates in a cup in his office and then dumps it in the kitchen sink even when we (all women) are sitting there eating lunch?
We are certain of what is in the cup because it smells, is yellow, and it sits right on his credenza in plain view. He’s even left it outside the office, forgetting to empty it.
A few weeks ago I was washing my lunch dishes and he dumped it right on top of my stuff. I was pretty much in shock, I just couldn’t believe it.
Is there something wrong here that I’m not getting? He’s the owner, the boss, in his 70’s, and very respected, but I don’t understand this. No one knows what to say. We feel that if we said something, he would deny it and since he’s the boss, who knows what would happen. Is there any way to approach this? The only other males in the office are related to him. Someone did mention it to one of them, but nothing has changed.18 -
Languages like python and R are some-what high level languages, with an easy syntax and very readable code. This useful essentially to make it easier for non-programmers to use it. For me as a software developer with +4 years of professional programming. I started with Assembly, Quick-Basic to C++, Java then C#, I found Python super convenient, and at times way too convenient.
At first it felt like I was cheating, and would not consider myself actually writing code, more like pseudo-coding.
After a year or so, I got used to it and it became my default, but it still does not feel right .. is anyone else feeling the same?
I do believe that coding the hard way is not always the right way, but I am just wired that way.17 -
Look at that. The very fucking smart colleague spent 40 days implementing a repository pattern (WHEN WE'RE USING AN ACTIVE RECORD ORM), breaking stuff left and right. Does he use that fucking pattern at the very least?
Of course he doesn't. And along the way he's making sure to create conflicts with the stuff he broke (and I'm fixing). By the time I fix the merge conflicts of one commit, he pushed 6 of them.9 -
You know a good way to handle all of the issues with W10 force updating your system? Do it yourself FFS!
You know there are updates. Windows has been telling you ...
Pick a damn time, start the update and go get a coffee, lunch, take a dump or go home for the day.
It's *never* going to be the right time if you don't choose it. It will always be an inconvenience or you'll be "in the middle of something important" and then you'll get all pissy about it.
Yeesh ...10 -
I'm not going to have a lot of new friends here but I am fed up with all those guys complaining about CSS on devRant.
CSS is damn easy. Get over it. Take some lessons, learn it the right way and shut your mouth.
I'd prefer you share your enlighten opinion on CSS in JS with React Native or CSS compositing with ReactJS which are both huge pain in the ass.
Plain CSS isn't the cause of all your pain. You are.11 -
Java. AGAIN. 😡
so, I am trying to get a csv opened and read, and then search through it based on values. Easy peasy lemon squeezy in python, right?
Well, damned be java. You need a buffered reader to read the file. Then you have to "while(has next)" the whole damn thing, then you have to do something with the data that you read one by one, right? Well, not to be disappointed, they do have json libraries, but you **have to install** the plugins for it. Aka you have to manually add the libraries or use some backwards manager like maven.
Gotta admit, jdbc is neat if you're anal about your sql statements, but bring the same jazz to csv, and all the hell will break loose.
Now, if you just read your json data into multiple objects and throw them in an array... Kiss shorthand search's ass goodbye, because this mofo can't search through lists without licking the arse of every object. And now, you have to find another way because this way, you can't group shit you just read from csv. (or, I haven't found a way after 5 hours of dealing with the godforsaken shitshow that java libraries are.)
Like, I'm devastated. If this rant doesn't make much sense to you, blame some java library for it.
Shouldn't be too hard.25 -
I'm a perfectionist and like things done the right way, but had to learn to let go and remind myself it's the clients site and their choice. No amount of logic and reasoning is going to stop a hellbent client from wanting the dumb things they want, even when it's bad for design, performance, usability and/or SEO.1
-
“Lots of CS undergrad folks imagine their careers are going to be sort of a rockstar/ninja/superhero experience. ‘Just wait ’till the world can see what I can do!’. It has to be this way because, well, ‘I’m above average’, right? You expect long hours of designing and implementing complex algorithms (at least I did). Then you get your first job and WHAM! You get ‘schlonged’ with 20 years old code that appears to be the result of experimenting with hard drugs.”
—Krzysztof Szatan, “Why would you learn C++ in 2016?”, retrieved from http://itscompiling.eu/2016/03/...3 -
>Linux kernel setup compiles right
did I finally do it?
>boots
>about 1/3 of the way through it hangs the machine
...that's about right.1 -
Time for a soap box rant.
I just found this in one of our projects. I've simplified the example to make it more anonymous.
When I see code like this it automatically means there is a lack of attention to enumerations and/or understanding of what they are.
One may argue that in a certain execution of code it's a minor performance hit and therefore insignificant. It's still a performance hit. Furthermore, it takes even less time to do it the right way than it does to do it the wrong way.
Every one of these lines will enumerate the list from the beginning to try and find that one element you're interested in. Big O notation, people.
Throw that crap into a dictionary or hashset or similarly applicable data structure with direct reads at the beginning of your logic so that it only gets enumerated ONCE when the data structure instance is created. Then access it however many times you want.
Soap box rant over.15 -
I'm a game designer student in a Brazilian university. In my class I'm the only one who likes code and made the secure choice to be a future game programmer.
But recently some dudes on my class started to discourage me and telling me to give up that course and change to a computer science course.
I didn't feel that way... I think game programmers who know all the stuff and process of game development( modelling, concepts etc) are better professionals than the ones who just knows the scripting process. But sometimes their opinion flows up my head and I feel so unknown if I staying in the right way or not.
(Sry if my english still bad..hope you all understand anyway)17 -
My fellow dev (a younger guy) and I have been having a lot of disagreements with the lead dev (obviously a more experienced, older guy).
We can have arguments with him all day long, to explain and convince him that he's not that right, or not right at all.
Or we can keep silent and wait for shit to happen.
I'm already applying the stfu strategy myself... Because the other way round is exhausting.
At the same time, naturally, I'm looking for opportunities somewhere else. And, naturally, in those job ads, they state "X years of experience".
This further sets me off.
I'm sick of having an argument shut down because someone has X more years of experience, at a higher position, thinks he is better.
I am starting to hate people who boasts his years of experience instead of having the real knowledge and skills to create value.9 -
Worst Manager/Higher Up? I guess that would be me. There was this time I was so frustrated with my team, that I literally asked them to make a list of words they want to curse me with, cause we won't be going home till the work is done the right way.5
-
The next time a customer calls. Use one of these replies:
- It works on my PC
- You're using the wrong right-click
- You're scrolling the wrong way1 -
Everyone hates CSS
I'm a full-stack dev, I was considering CSS really hard to deal with for a long time. I have some friends who are bad at design and barely know how to use CSS and hate it.
Last year, I decided to learn CSS again after 6+ years of web development.
If you are a developer but hate CSS. maybe you should give it more time and learn it the right way.30 -
Going through a WordPress site that hasn't been updated in over a year. It's so severely infected that even the Wordfence and Security plugins say it's fine. So I'm going through the file structure manually.
File by file, folder by folder manually searching for infected files. This is the most tedious thing I've had to do. But I'm learning some really interesting tips. One file looked empty and I almost missed it because the code had been tabbed over a few hundred times clearing it way off the the right of the screen.10 -
The 'i am a total noob' feeling is real fiah like a mix tape right now. last week on a personal project i had the problem of placing a div within a div and the buttons not being clickable. i fixed it by fixing the positions of the elements. today the same thing but will a scrolling div and f*ck me right i just had to forget the solution. now i have been stuck for hours trying to figure out the right way and fooling around with no solution. learn your fundamentals.4
-
NEW TALES FROM THE FUCKING CRYPT. It's disgusting...
... how managers keep to invest money into totally useless gadgets at the company to keep themselves motivated with stupid toys, tech and gear. WHY in fucks name would you not spend the money on hiring more devs and a dev consultant?
It's funny how they presented the stats first: "yea well we have ten big projects in dev right now" (we are FIVE FUCKING PEOPLE, tells you everything, right) "... BUT WE HAVE BOUGHT NEW SCOOTERS FOR THE COMPANY!".
Ok... why though? Who would actually use those things except the ones that bought them. Just another way of spending more money to reduce the promised employee return on the company's profit...2 -
Sign in with Apple...
* Nobody tells you that a app group can consist of a maximum of 6 apps.
* Nobody tells you that suddenly a key id is needed for constructing the signing key for signing the client_secret when other keys are added in the dev portal.
* Apple gives you email and name only (and i mean only) the first time a customer uses Sign In With Apple.
* You have no chance to reset your user during development in a way to try a fresh auth. So either create separate app ids or separate apple ids.
Sounds like fun, right?8 -
Python is a fucking joke. "Readability" disguised as 150+ magic methods and values. Virtual environments to hide shitty dependency management. Strings that may or may not act as comments. No correlation between package and module names - install Pillow; import PIL. **kwargs instead of options=dict(), because why separate function arguments from arbitrary extra data? And finally, the only way to have tkinter on Windows is to install IDLE, so that some fucktard can stick their shitty app right up yours ...7
-
So. I was pretty sure I had fixed the problem we had with compiling in Windows 10. Thing is I did it in a stopgap non-permanent way because we have to be done with it by the second week of February to support our subcontractor.
Turns out I had an older version of the framework we build on installed on my box and the newer version decided to fix their windows 10 compilation issues the right way. So we can't use our stopgap solution. So basically I look like an idiot and more important people than me have to work on the problem because I am not allowed to install anything on my box myself, our SA is already overwhelmed, and only the higher ups have the newest framework version. Good thing it's a long weekend and I have plenty of of beer and whiskey.1 -
Seriously, a new guy joined out team and suddenly I'm out of my comfort zone and started following the pattern I used to follow. The thing he did, commented on my PR, a lot of comments.
I had this thing that hey now I can control anything right, new guy? less experienced? yes, so I don't need to be intimidated. But I realised today that I'm easily intimidated my intelligent people because I think now I am the inferior one.
I will push myself to think about it in a better way, by looking at it positively, to learn something from it.10 -
- I need heat shrink tubes
- go to aliexpress, find the one set I need, order
- receive them to my PO, use a few of them
- I needed parking sensors
- to to aliexpress, find the set I need, order
- the parcel arrives in my country, on its way to my PO
- Today I visit a random site
Conclusion: AI is great at knowing what I have already bought and suggesting the exact same items I've ordered. Because if you've ordered them once you're likely to order them again, right?2 -
today I spent an hour and a half (30 mins past my paid hours) explaining go my boss that I'm not just being rebellious; that the time I'm taking to do the job right is appropriate and the only way to end up with a piece of software that they'll be able to request features for without adding on to the absolute shit pile frankenkrakken that is their mutated 13 year old OSCOMMERCE dumpsterfire.
I convinced him. -
When a ticket comes in I usually jump right on it, get about half way done with it, then either get stuck or it's lunchtime/end of day.
I really should take the gifs advice.5 -
A few months a couple of my colleagues, a business consultant and a developer, worked on a big project. The project capsized because the client is an A-hole and the developer was way over his head.
To save the project I was brought on board. The entire code base was a fucking mess of duplicated code. Shortly after, the developer called in sick with stress, simply because the whole thing was too much.
Fast forward to now; we just launched. The client is expressing concerns about the quality of the work because of the bumpy road (rightly so). I try to explain why my way of doing things is better, but to "paint the picture" I had to compare my approach to my predecessor. This results in the business consultant shooting me down, right in front of the client.
I fucking saved your job, your project, and about $1M in profits. I'm allowed to tell the story of why my incompetent coworker messed everything up.
I'm so done walking on egg shells because some just don't realize they are not cut out for software development.2 -
The new software to log in working time at my workplace requires Silverlight. I'm on Ubuntu. Basically after weeks of googling and trying different solutions, I decided that the easiest way to make it work was to install a virtual machine running Windows.
Right now I'm just trying to understand if there is some obscure reason for which they used Silverlight or if I'm just a complete noob who doesn't know jack.10 -
We receive an email from Splunk when errors go above a certain threshold, and a particular service has been especially problematic this week (throwing hundreds of exceptions). Email response from the team mgr responsible for the service.
"We are working to address these errors. We don’t currently have a way to prevent a user who’s account is locked from logging into the service and performing work."
The exception? NullReferenceException: Object reference not set to an instance of an object.
The code? (paraphrasing)
var user = GetUser(request.Login);
if (user.CanPerformWork) ...
<facepalm>
I'm doing my best not to reply .."Really? No way? You do realize we can read code, right?"4 -
The job market is lol
Graduated 9 months ago, working minimum wage jobs and applying to jobs, never getting an interview! I finally get a job in my field, and within my first week on the job I get calls for 4 interviews, all paying more than the job I took
On top of that my parents think my salary is way too low but beggars can't be choosers right4 -
So I was changing some CSS, but the changes weren't showing.
Was it being cached? Nope
Was the selector wrong? Nope
Well it was the right file yeah? Yup
So after like 10min of scratching my head, restarting the server, etc it turns out I was checking prod instead of dev.
This isn't even the first time this has happened 😑
Guys just remember to keep your dev tab and your prod tab away from each other, like way away.8 -
This is getting WAY out of hand.
So I pay for 100/100 internet right.
I get 3/17...
This has been happening for half a year now...
The closest other ISP is 200km away......
Gonna confront them but they're probably just gonna blame my 2 year old 200$ asus router for being "too old"/"too slow".
😂🔫10 -
It's 00:54. I'm supposed to wake up at 8.30AM. Not even tired. In front of my computer, with a frozen Visual Studio Code on the left screen and a frozen Madeon music on the right screen.
My CMS won't get compiled anymore, due to lack of memory. I have 16gb of RAM, gave it 4 of them, and it froze. If I give it less, it just won't compile. Why. I can't figure out wether if it's my code which has some memory leaks or if there's just too much JavaScript in it. What did fuck up? My code? React? Material-UI? The way I want to mix them all together? Maybe I just shouldn't have used React to cover up everything, and maybe I shouldn't have used Ruby on Rails the way I did.
Fuck.
What do I do now.10 -
Google keeps deprecating stuff way too quickly 👺
Get some stability.... There are like 4 or 5 libraries for just google sign in right now...
All of them are official 😵5 -
The quantity of pain is always constant. People do self harm to increase physical pain for emotional pain to decrease.
The only way to survive the pain of living is to learn how to create and contemplate.
There is no safe space. Agility is the natural way of survival. Something forcing you to “bend” doesn’t make you weak.
Things like discussions and anger rarely change anything but they take energy and tend to breed.
There is no universal meaning. There is no leaderboard at the end. This means you can invent your own meaning. I built my meaning on contemplating what’s right rather than fighting what’s wrong.7 -
I help first year Computer Science students at my uni. In the first few weeks I reviewed someone's code to find he had 253 variables called var1, var2, var3 and so forth. The even worse part: he made the same if-else structures for every variable without using a loop.
if (var1 == something) {
//huge chunk of code here
}
else if (var1 == something) {
}
else {
}
... var2... var3
The funniest thing about this is that we had a discussion about this, because he claimed this was the right way to solve his problem.5 -
I'm tired of "agile" development. Sure the concept of a hacky POC that gets thrown out for a real implemention sounds great. But it never gets thrown out. That shitty POC become the foundation for a horrible mangled mess of hacky improvement after improvement. I'm tired of my boss telling me "do it the easy quick way and fix it later", like fuck off no. I can save man weeks worth of bug hunting a year down the road by actually taking an extra day to do it right. Like fuck does no one care about quality engineering anymore?
Sometimes that extra day to write a general vs a specific implementation is worth it.5 -
The sales person who is sort of my boss walked in today and asked/told me:
Sales: We are using Bluemix, right?
Me: Yes?
Sales: Learn everything about it.
Me: Explain?
Sales: Spend 2 hours a day for the next 2 months studying up. You don't get less other responsibilities. Your commute is 1 hour each way, right? Put on some videos!
Me: ...
Sales: Bye!5 -
Microservices is a buzzword and everyone is using it to modernize their company and themselves.
Add a cloud in the context and boom, you are equivalent of some Tech gaint.
Well then, if you say so why don't you implement or try to implement in proper way. Use the right tools, "opensource" if you have heard of it has a ton of stuff right for the job.
But no, all you do is write the same old services in Java, put a label of "cloud native" and stick it out so proudly that clients think "oh a new shiny thing".
Putting out poster of "Immediate job requiment for Microservices" and staring blank when the candidate tries to explain how the Microservices work, but you know only about EJBs and you are sitting in interview room wondering what he is really talking about. I dint hear a single word of Java because that is all I know. Then finally rejecting the candidate because he dint say EJB in the interview.
The point is, some shit people don't want to improve themselves nor let anyone improve. Fear of being replaced by a younger generation of developers has plauged the seniors in ways no one can think of.3 -
Biggest teamwork fail? This is the general way we do business where I work right now:
My boss didn’t want to be the kind who hovers, always micromanaging. He also hates the idea of taking programmers away from their work for meetings. Sounds great, right? This has resulted in:
• All non-lead devs being excluded from all meetings other than scrum (including sprint planning and review meetings). Nobody ever knows what the hell is going on. They don’t think we “need to know.” This means most of our day is spent trying to figure out what needs to be done, rather than getting anything done.
• Our remote boss making dozens of important decisions about our platform, never telling us, and blaming us for not forcing our lead to be more communicative.
• Pull requests staying open for weeks, sometimes months, because nobody has definitively decided what version we’re actually supposed to be working on. This means our base branch could be any of them, and it means PRs that have been opened too long need to be closed, updated, and re-opened on the false promise of someone actually looking at it.
Just ranting here... but I think our biggest teamwork fail is happening right now, with all of those things ^3 -
So yeah XML is still not solved in year 2018. Or so did I realize the last days.
I use jackson to serialize generic data to JSON.
Now I also want to provide serialization to XML. Easy right? Jackson also provides XML serialization facitlity similar to JAXB.
Works out of the box (more or less). Wait what? *rubbing eyes*
<User>
<pk>234235</pk>
<groups typeCode="usergroup">
<pk>6356679041773291286</pk>
</groups>
<groups typeCode="usergroup">
<pk>1095682275514732543</pk>
</groups>
</User>
Why is my groups property (java.util.Set) rendered as two separate elements? Who the fuck every though this is the way to go?
So OK *reading the docs* there is a way to create a collection wrapper. That must be it, I thought ...
<User typeCode="user">
<pk>2540591810712846915</pk>
<groups>
<groups typeCode="usergroup">
<pk>6356679041773291286</pk>
</groups>
<groups typeCode="usergroup">
<pk>1095682275514732543</pk>
</groups>
</groups>
</User>
What the fuck is this now? This is still not right!!!
I know XML offers a lot of flexibility on how to represent your data. But this is just wrong ...
The only logical way to display that data is:
<User typeCode="user">
<pk>2540591810712846915</pk>
<groups>
<groupsEntry typeCode="usergroup">
<pk>6356679041773291286</pk>
</groupsEntry>
<groupsEntry typeCode="usergroup">
<pk>1095682275514732543</pk>
</groupsEntry>
</groups>
</User>
It would be better if the individual entries would be just called "group" but I guess implementing such a logic would be pretty hard (finding a singular of an arbitrary word?).
So yeah theres a way for that * implementing a custom collection serializer* ... wait is that really the way to go? I mean common, am I the only one who just whants this fucking shit just work as expected, with the least amount of suprise?
Why do I have to customize that ...
So ok it renders fine now ... *writes test for it+
FUCK FUCK FUCK. why can't jackson not deserialize it properly anymore? The two groups are just not being picked up anymore ...
SO WHY, WHY WHY are you guys over at jackson, JAXB and the like not able to implement that in the right manner. AND NOT THERE IS ONLY ONE RIGHT WAY TO DO IT!
*looks at an apple PLIST file* *scratches head* OK, gues I'll stick to the jackson defaults, at least it's not as broken as the fucking apple XML:
<plist version="1.0">
<dict>
<key>PayloadOrganization</key>
<string>Example Inc.</string>
<key>PayloadDisplayName</key>
<string>Profile Service</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist
I really wonder who at apple has this briliant idea ...2 -
How can people don't even fucking try to see if there is a better way?
Fuck, I'm constantly even trying to improve my fucking bath routine for fucks sake and these brainless monkeys are gonna be stuck forever with fucking "right click-copy right-click paste instead of keyboard shortcuts" ( just an analogy )
Fuck that makes me angry...2 -
The feeling when, as a junior dev, you realize the code base is a mess and learning from the senior devs is more accurately learning the preferences of the senior devs. There is no "right" way to do things.
Also, how did anyone get anything at scale with JS before typescript!?2 -
For robotics I decided to write a program that would automatically tune a PID loop (a loop with three magic constants that tells you how much power to give the motors).
Being a high school student who hasn't been taught anything about the theory of PID loops or the right way to tune them, I had no clue what I was doing. So instead of actually learning the calculus to do it, I just made an evolutionary tuner that keeps guessing slight variations of the last-best three constants.
Basically, you press start and the robot spins in circles until you come back in 15 minutes.3 -
You know that feeling when the junior programmers do their job quickly, properly, and elegantly just like how you would have done it? :)
Yeeeeah, me neither. What the fuck is this dog shit?? God dammit! Why we have 2MB of CSS?? Do you even you this jQuery plugin?? What do you mean frontend.php and frontend2.php?? Why is this block of code indented all the way to the right?? "Just 1 bug left" OH REAAAAALLLYYYYY?4 -
I had been banging my head on an issue for 2 days. The solution?
Replaced
“window.addEventListener(“message”, callback)”
with
“window.onmessage = callback”
What. The. Actual. Fuck??!!
Aren’t they supposed to be the same thing?? It’s written on MDN’s article that the latter is an alternative way of doing the former.
What the fuck then? I am actually really pissed right now. Ragefully pissed.11 -
Oh! How I wish the ++ button was placed at the top/bottom center part of a post. Being right-handed, the level of laziness I have to stretch my thumb all the way to the left when scrolling on the phone with one hand is appalling.11
-
Me: Alright Derwent, don't fuck up this database update. There's no undo button and no way to import a database backup so you gotta be extra careful or you're going to have to spend hours writing a whole bunch of regular expressions and sql statements to sift through an 11mb database dump and figure out how to restore 59 thousand records to the correct state. Let's practice this transition on a staging server first and make sure we get it right
Me: I got you fam *presses the wrong button* -
*euro-based rant incoming*
"left or right? left or right?!"
DUDE! I'M RIDING A SMALL MOUNTAIN BIKE WITH A FUCKING HEAVY TRAILER OF GROCERIES AND YOU ARE IN A FUCKING E-BIKE!!! SHUT THE FUCK UP AND GO AROUND ME PUSSY!!!! I'M NOT GOING TO GRIND UP AGAINST THE SIDEWALK WITH MY TRAILER.... BECAUSE ITS A FUCKING TRAILER, AND ITS FULL OF FUCKING GROCERIES!!!!!!
god, fucking boomers... i swear to god if i get one more rube talking to me while i'm biking and saying i should "stay to the right" when EVERY time i'm CLEARLY right of the middle of the road, i'm going to start yelling back rude comments and put the fucking low IQ assholes in their place... (probably what I should have done from the first place. why are we to take shit from them, when they own 75% of the wealth but are 25% of the population.) absolute fuck sticks get the fuck off my road, go ride off a cliff5 -
I think people get *way* too annoyed if someone tags their post here with the wrong tag, even with completely new users
Seriously, who cares if you see a few jokes in your rant feed? I know some of the jokes are bad, and in that case just scroll past them, even downvote it if you have to, maybe remind them to post it in the right tag even, but it annoys me seeing posts here about people being as annoyed as they are about wrong tags7 -
Luckily I don't work at a place like this anymore, but I sure hate it when a company touts that they are an effective company who has implemented agile "the right way", then when they describe their process in detail, it is almost exactly the opposite of what agile is supposed to be.
I've worked for a couple places that just couldn't get their head around the fact that one of the reasons agile exists is because estimating software is hard, and only after doing agile the real right way for an extended period of time can a company expect to have realistic estimates. The business can't go a week without hard deadlines.2 -
So another story about college and stupid team assignments that I have to be responsible for dealing with.
So we had an assignment in operating systems 1 course, it was about memory management and we are a team of 3. Then came the time when we should discuss this assignment with the TA and that day I had to stay all night finishing a project in software engineering (literally giving us a description of a big project because that's what the course teaches And I had to finish it in one all nighter alone because my teammates just gave up).
When the discussion time came I was really tired and then the TA asks me something really simple and I say it but then she tells me that I'm wrong so I wondered a bit and then said no what I said was right! She then asks my teammate (who we are supposed to be good friends) "did he say the right thing?" And his answer is a definitive "NO he's wrong" and then he starts to say the right answer which I swear I said the same but in a different way so I start to say again that I was right and say that I said that just a different way and she took that as an insult and said that I'm shouting at her and being disrespectful to her.
When we finished I asked my friend if he heard me say it wrong and he said "I'm sorry but I didn't even hear what you said and I was afraid" WHAT THE FUCK, he just said that I was wrong to please her and make her feel like she is right and I had to be the wrong one even though I said it right but NOoo her pride is more important
All this was last semester and the second semester just started today and I go into operating system 2 and guess what? The TA got her doctorate and is now the professor for OS 2 when she doesn't even understand anything.
Really FUCK the academic system it feels like it is a grind more than actually gaining mastery of a subject.2 -
HOLY SHIT. short story, just dodged a bullet. Using the Samuel L Ipsum generator and not thinking. I then use this copy to test the notification system with the following text. luckily the system email only went to me!
"Look, just because I don't be givin' no man a foot massage don't make it right for Marsellus to throw Antwone into a glass motherfuckin' house, fuckin' up the way the nigger talks. Motherfucker do that shit to me, he better paralyze my ass, 'cause I'll kill the motherfucker, know what I'm sayin'?
Well, the way they make shows is, they make one show. That show's called a pilot. Then they show that show to the people who make shows, and on the strength of that one show they decide if they're going to make more shows. Some pilots get picked and become television programs. Some don't, become nothing. She starred in one of the ones that became nothing."1 -
MySQL 5.5 end of life’d in 2010. In 2021 my company started an upgrade to 5.6. The outdated dependencies meant we needed 25 engineers for 2 months full-time to make the upgrade as invisible to users as possible. We still took about 90 minutes of downtime on cutover day. Not upgrading MySQL on time meant we paid way more in terms of engineering hours. The reason we call it debt, is because you pay interest when you don’t tKe care of it right away.4
-
Ah.... Just saw a message in team chat that we had a prod issue caused by the use of a hack/duct tape solution...
Dev just replied "as a fix I will do it the right way"
Me thinking: ¯\_(ツ)_/¯ I told you so... Now you learned it the hard way7 -
I think, right now, it's bitting more than I can chew.
I get my hands on way too many projects because they're easy and then problems pile and I end up being behind schedule on everything.
That, and maybe sometimes subconsciously thinking I'm invincible. It's a direct psych response to those telling me I can't do shit, and then I do shit out of pure stubbornness, and then I have super-confidence for a short while. (Even if I don't show it)
I just don't think it's healthy. -
Any JavaScript developers out there willing to help me out with something?
I have an interview question that I like to ask candidates that no one ever seems to get right. But, to me, it seems pretty basic, so I expect MOST JavaScript developers at almost any level of expertise to get it, and I like it generally because it demonstrates some core knowledge of JavaScript concepts and syntax.
But I want to verify that my feelings about it are reasonable, because give how few ever seem to get it right (and I'm talking across literally hundreds of interviews, MAYBE 2 people have ever gotten it right), I'm starting to wonder if I'm right or not.
Look at this code, and then answer the question after. Please do so off the top of your head and without testing anything since that's normally the experience a candidate would have. I'll give the answer after some time for anyone who gets it wrong but is curious.
But this isn't about YOU getting it right or not, and it's not about whether it's the best way to do something in JavaScript or anything like that, it's just about whether it's a reasonable question and whether my expectation that MOST JavaScript developers should get it right is fair.
const O = {
sayHello : function() { alert("Hello"); }
};
const S = "sayHello";
Question: using ONLY the variables O and S (and you MUST use both), write code that executes the sayHello function.
Thanks!34 -
Right,i consider myself a pretty damn good dev... I can back up everything I say to prove that I'm right on not lying to clients
But I see all these devs who do lie... Who withold data from clients cause it's not great.
And I go to clients and prove that they are lying not doing it right.
But I know saying to them... Oi your current devs are shit fire them ... Isn't a good way to get them as a client
Me and my company are open and honest ... we go all out on all of our projects. I work nonstop. It is seriously baffling the kind of developers are out there and how bad they can be I'm... Seriously just.... Urgh 😖
How should I go about talking to clients without going ... Fire them quick or saying that in a ... More humble respectful way...
I need more clients ... To survive and I don't mind coming across as a dick as long as they understand what's going on and that they are people ripped off by these asshole devs5 -
Agile my ass.
What has become of: "Individuals and interactions over processes and tools"?
A fuckton of rules and processes to do it the 'right' way: tickets, estimations, hours of sprint planning. Yeah, we're so professional we no longer have time to write code.
Note: manifest was mainly full of fluffy business buzzword bullshit (effective sustainable excellence), but one thing resonated:
>Simplicity--the art of maximizing the amount of work not done--is essential.
(I cherish every line of code deleted or unwritten, so it needn't be maintained)4 -
So I went to some meetup with my boss.
Suddenly some old friend of mine shows up, and we start talking..
- „Where do you work now?“
„$company in $city“
- „And.. Do you like it there?“
„Now way, I hate my job.. Too many idiots around!“
The thing is: My boss was right behind me all the time and heard everything..
FML!3 -
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!1 -
Several years ago, I interviewed for a popular site and it was the only one of the many interviews I did that suffer that did Google-style whiteboard problems and nobody peppered me. I didn't recall the optional way to reverse a linked list right there and then. I think I came up with the right solution and failed to communicate it well.
When we got done, I could feel their eyes trying to burn holes in me for wasting their time.2 -
I have multiple contenders ;)
Contender one:
A program used to sort emails.
We was in the process of moving from lotus notes to exchange and needed a way route emails to the right server internally.
Solution, a qmail to receive all emails, a script running by cron every minute to read the emails, check the recipient name to a list and resending to the right server. The script was written in php :P since that was the only way we at the time had to read an email into an object, it was run just like any other shell script :D
Contender two:
A multi threaded mail sender that fetch email addresses and content from a database and posted them through qmail using background execution and pipes to get the result back and then update the database, written in bash script.
Contender three:
A c program used in a similar way as in one but this time using dial up and uucp to fetch email and then drop these either into lotus notes or into a bbs for our customers to give them an email address. This was around 1993, so not to many isp’s offered email and not to many had internet anyway, dial up bbs was much more common.5 -
Best way to learn something new?
You keep repeating it wrongly until you are blue in the face, the whole world has gone red and the sweet release of death sounds favorable to your current dilemma.
Then, if you are lucky, you get it right out of the many many failed attempts.
But, what you have learned is far greater than getting it right once. You've learned many ways not to do it again. -
So I have to give a technical presentation in front of 50+ people in 6 days. I'm just about shitting my pants right now. And thinking what to talk about.
Any ideas? Mine are:
1. Arduino and Raspberry Pi--the future of automation.
2. Privacy and how personal information is now another way of profit.7 -
I got a question at an interview today asking what type of developer do you want to be and what's your long term technical goal. Right now I'm a senior software engineer at a pretty well known solid mid sized tech company. I work across the stack but I really don't know what type of developer I want to be.
Which way technically are you directing your engineering career? How and why did you decide this is the type of work you want to do?6 -
I'm on the way to building my own B2B SAAS business. I code all day, sleep for 3 hours, have no money, and sometimes do a couple of freelancing projects to survive.
My friends are in jobs, earning way more than me. I feel a bit jealous, doubting my abilities.
Am I doing right? Or I'm just a nerd with a potato computer struggling like a dog? Am I even walking on the correct path?6 -
I spend all morning on trying to solve an Algo problem for upcoming interview practice (Euler #3) that comes down to implementing IsPrime.
I remember reading once how Sieve of Eratosthenes
Isa the right way to go do when I first started I wanted to use that.
Then I couldn't think of the right code though so I went with Brute Force (for all numbers upto X see X is divisible by it)
It actually worked but I wanted to just try the "right way".
It's way slower and actually ended up with the wrong answer...
But at this point I don't give a **** anymore.
I guess lesson learned... Use Brute Force first... Then optimise for a problem more elegant solution.10 -
So my data structure's exam's result came and i got scored 57.5 out of 80. My classmates who barely know anything about C scored way more than me. I am so embarrassed at myself but i gave the right answers in exam. My score in the exams before was 39/40 and 38.5/40. All my hardwork failed because it was a so called THEORY exam where there was only 2 small questions of writing algos but all others were just like "describe pre-order traversal of a binary tree" or "write the difference between a tree and a graph?define adjacent node, path and complete graph"...
When will this fuckery end?2 -
Why commenting is important?
If you are commenting a variable or method and you can't find the right way of explaining it, there's a problem with your code6 -
Fruit Machines... Kind of a dev rant, I mean, they have software running them now, but my gripe is the hardware (I think).
Any of you that frequent pubs and use fruit machines notice that many of the LEDs are "broken" / "non functioning" lately? I mean it's rare I see one that doesn't have lights that are out, rendering the entire machine useless, yet it still takes your money.
Intentionally made to break? Or are LEDs really that difficult to get right? Or maybe it's software determining which ones to appear "broken" and there is a way reset it?
It's a rant none the less...7 -
We have this marketing class that none of us gives a rat's ass about and it's not related to software engineering in any way, and our professor knew that.
So to make things easier for him and for us, he made the rule that if we do at least 30% right on the test, we'll pass.
If we got a question right, we get 1 point, if we got it wrong 0 points, and if we left it unanswered, a quarter of a point.
That meant that if we didn't do anything on the test, we get 25 % anyway, so we almost pass by doing nothing.
Fucking genius.
I only answered 5-6 questions that I knew were right and left the rest unanswered and passed5 -
One poor pepega like me will spend days optimizing a web app, reducing the bundle size, reusing components as much as possible to save space, carefully choosing the right libraries for the right jobs and doing some careful tayloring to bring them in line with your needs, choosing the right webpack plugins to compile everything exactly like you want and keeping track of every dependency to make sure nothing unwanted makes its way to the final product, caching results to avoid any unnecessary call to the server, then some random team leader randomly forces you to drop in jquery-era plugins just because they look nice and won't listen to a word you're saying.
I KNOW WHAT THE FUCK IS A SWEET ALERT; I DIDN'T USE IT FOR A FUCKING REASON.2 -
Pro tip: if you press the little refresh button on the upper right hand corner it will refresh the rant and then scroll you all the way down to the bottom of the page.6
-
Wow Angular2 you are beautiful.
I loved you early on angular 1.x but by the end we drifted apart driven by our diffrent needs. I needed a manageable code base and more excitement you needed to stay the way you are. I respect you for that, but we are not right for each other anymore.
I have been hurt Angular2 i may not fully heal but you provide me with what I need. Developing on you is a pleasure that feels like a full object orientated experience. Most of all developing on you is *fast* your seperation of concerns tickles me in all the right ways. The suger you provide with your decorators, classes, abstract classes and interfaces makes me weak at the knees.
Keep growing and improving Angular 2. I think we shall have many projects together.3 -
Today our so called "architects" chose the most complicated, most unmaintainable, prehistoric way to handle a simple, really easy REST problem...they stood around the white board, marveling at the alleged brilliancy of their imbecile drawings and tried to show us low life devs how we should implement this or that idiotic aspect of their crazy solution. We looked at each other desperately, raising our eyebrows at each new wave of insanity. No one spoke up...that includes me. I feel shit right now. Implementation sprint starts tomorrow. Thinking of grabbing a life vest and jumping overboard right now. Our customer will strangle us for this wannabe crap and I am already scared having to show the resulting API to them.4
-
/** Null until this web socket is connected. Used for writes, pings, and close timeouts. */
private ScheduledExecutorService executor;
Dear boys and girls.
If you ever do this again and release this as a public library (even better - an official client of your solution, e.g. kuber-fucking-netes), I will get my way into dR's gateway servers, trace down your IP in nginx's logs, find your location, probably use some means to get your first and last name (you prolly have a domain registered under your IP anyways...), buy a ticket to your town, get to your home and wait for night to fall. Once it's dark and you're asleep, I'll make sure to leave a real nice, warm and extraordinarily smelly turd on your doorstep (I'll also make sure the process of manufacturing that gem is as noisy as it gets - you just have to bend the right way, and....).
Gents. If you really, REALLY want to make writes asynchronous, at least provide a way to either get a notification once the write is synchronized, or allow the user to handle the threads/executors himself!
https://youtube.com/watch/...5 -
A few friends and I on our way home from a hackathon:
Lady at the door of the airplane:
*sees our hack the north lanyards*
Lady: "Oh where are we coming from? Hack the North? That means if we have any wifi problems onboard you can help us out right?
Us: ... suuureee2 -
Just used IE on a fresh Windows install to download Chrome..... Now looking for a way to get rid of IE completely.
Seems about right!6 -
I have a serious issue with anxiety, i have an unhealthy way to cope with pressure and I don't know how much will affect me in the future.
Right now I'm your average developer, i write code, makes test, commit stuff and deploy ... and i'm happy.
But seems it's not enough ... you gotta be a speaker, a leader, make showcases to customers/stakeholders the more you go up the ladder.
I'm not that. Fuck. I guess this is the kind of skills part of the Senior Engineer package companies requires.
I just wanna write code, deals with other developers and fuck off the PR part.
<.<9 -
!dev
did you ever have a few days of total emotional turmoil and chaos when you were doing weird things, unsure why, and then it resolved in a way which made you feel as if your mind and soul were just reset and pointed in the right direction, and you suddenly felt at peace, knowing what to do, focused, calm and unafraid?8 -
How do you deal with anti-competitive clauses in contracts with your employer?
I have found them to be unavoidable here in the field of IT/CS related fields, and I don't want that to affect my future career as much.
My current strategy is to gain more of other skills than just in software development, so I can fall back on those skills for a different field (e.g. DevOps, sysadmin, ...) instead of being unemployed for a year because I didn't like my workplace anymore.
The only other way I can think of would be to open my own company, but I'm not going to be ready to do that right after school.
Any other thoughts?3 -
Have you ever had to get over someone? I don't mean in a relationship. I mean having that person betray you in a way that shows that they are beyond help?
That's what I'm dealing with right now. I'm not crying I've skipped: anger and denial, I've breezed through bargaining, right now in the middle of acceptance and depression.
Now I'm having a hard time admitting I had feelings for her at one point. 🙁
Currently Listening To: f*** You by Cee Lo.3 -
Hello everyone !
I am a self taught programmer. Currently in last semester in electronics engineering. I want to become a software developer but can't decide the right career path for me to take. I like back end, Android, Data structures and algorithm, Parallel programming, Machine learning and computer vision, and even security. I am afraid I will remain the jack off all trades and won't be the master of any. This way I won't be doing any good in my career. Any advice as what to do ?7 -
Graphs and clustering changed my perception of the world. I caught myself thinking of random shit in clusters and edges, and now I realized I have been doing this for a while.
•I caught myself thinking the following a few minutes ago:
While taking a shower, for unexplained reasons, I started visualizing different groups of friend’s throughout my life and how their connection/relationship to its group (centroid AKA leader) had a significant influence on how each individual behaved. After doing this for five groups - I proceeded to label them in classes of behaviors and noticed why each friend behaved a certain way. Wtf right? 😂4 -
WHY DO DEVELOPERS OF MAJOR PROJECTS UNDER LINUX USE INCONSISTENT CONFIGURE SCRIPT FLAGS !!!
SOME OF THE TIME YOU POINT A PATH WHERE A STANDARD SUBDIRECTORY IS
SOME OF THE TIME YOU POINT TO A WHERE THE FILE CAN BE FOUND PRECISELY
SOME OF THE TIME THEY WANT THE FULL FILEPATH !
AND THE DOCS DONT READ THAT WAY !
'--with-curl=arg path to curl-config'
...
ok /SomePath/bin ? right ? NO
/SomePath/bin/curl-config !!!6 -
"=$B1*INDEX(A:A,ROW())"
See this absolute bullshit right here?
This fucking cunt of a problem designed by some dippity-do finger-painting fucking jackass at google doesn't work why?
Because for some *god damn reason* they decided it would be a good idea to setup it up in a way that when you use absolute cell references in a formula, you can't use functions in the formula too. No the other side has to be a literal or cell reference apparently.
Motherfuckers.3 -
Honestly, nothing.
I’ve had some bad experiences in my career so far, but I wouldn’t go back and change any of it.
I believe I am the engineer I am now because of all the experiences I have had.
Embrace your bad experiences and awful projects, because you gain a greater appreciation for the right way to build things when you’ve witnessed the wrong way first hand.3 -
Trying to install Linux on an HP Stream 7 has been way more difficult than it should have been, even when you take into account that it's a 32-bit processor with a 32-bit EFI!
First off, the only thing I've been able to get it to boot right of the bat is Android x86 and BlissOS... kind of. You would think that Android x86 would be perfect for a tablet, right? Nope, performance sucked sooooo bad.
After reading some forums, I was finally able to get Ubuntus to load up... with the limiting factor being no on-screen keyboard.
So... at the moment I guess I'm stuck with a useless Windows tablet, and probably will be for a long time (you know, since 32-bit architecture is being dropped)6 -
One of our developer told that my code is ugly to our project manager. And my response was 'I know right! By the way your code also sucks. Fair enough.'1
-
I needed to take today off to prep for a home repair. I didn't have much notice either, but I assumed my manager would be okay with some last minute PTO because of how relaxed everyone usually is around here. Guess that didn't include me.
I should have never assumed that my boss was someone I could think of as a peer. I called their boss "Boss" one time, and they said that they don't look at it that way, and that they see me as a peer. My boss nodded in agreement, but it was all formalities, and I bought right into it. Especially since both of them, even the other guys, take time off on a whim. But I'm somehow tied to a stricter standard, even though I can't beg hard enough to get so much as an email answered for legitimate reasons. They'll jump right on my ass when they feel I'm not working as hard as them, but I get silence most of the rest of the time. Bullshit. It's no wonder the conversation changes when your boss sits down at the lunch table. How depressingly typical.1 -
@zlice I am going to ...subtweet you? (Screenshot included)
Basically, so much what you said. 100%.
You stumble your way around different companies until you find something that sits right with you.
There are so many contributing factors to the "good company" and as many definitions as everyone will value different aspects of work. Good management? Tech stack to your liking? Kick ass colleagues? Interesting product? Good work life balance? Company contributing to world's welfare?
I can go on. Each of you will decide what is good, good enough, or decent and what sacrifices and tradeoffs are acceptable.2 -
#Question
I never worked directly developing. All my experience is by myself: I try things, they can work or not. So when I am writing a new site/app, I always have millions of doubts of how should I proceed with X or Y.
EXAMPLE: I am dealing of data from a mySQL in a PHP website right now, so I never know how should I treat it. Should I use a function to get data from database and return an array with all fields? Is there a better way?
So my question is: where can I learn that kind of thing? Is there any specific book you recommend? Is there a website? Another way to learn this?
It is easy to me to learn about commands and the programming language itself. There are plenty of books and websites, but I could never find an answer to these questions I have.
Thank you so much in advance!15 -
I hope middle management feels some type of way when they learn that 70% of people want to leave their jobs right now. I hope all companies get what they deserve. I hope they all learn how to be better.5
-
I wonder if there are employers here who read some of the rants and say, "oh wow, we shouldn't treat our developers this way, we should change."
Heh, yeah right.6 -
I was today years old when I learned about "shadow jobs". This is where companies list jobs without any intention of hiring anyone. You could also call them "fake jobs", or "lies". Why they do this is anyone's guess. Maybe they want to look like they're expanding for their investors or something. Maybe they're harvesting resumes to train AI. Maybe they're just bored, and this is how the sick fucks get their jollies now that it's harder to find snuff films on the public internet. I wonder if HR didn't exist, would asylums still be popular? Is HR as a field just a way to keep prison populations lower?
For me, this is more of a matter of "want" to change jobs, over "need a job". For example, I've got a friend who is a way, way, way better programmer/developer than I could ever claim to be, and he's been fighting tooth and nail to get the time of day from some of these companies. Despite his extensive academic background, professional credentials, and high levels of skill and competence, he's been out of work for months now. At least they're going to "keep your information on file" though, right? Can definitely pay a mortgage with that.
Maybe I don't get it, but if you're hiring, post the JD. If you're not hiring, shut the fuck up and stay off the job boards. Everyone wins, except for the recovering snuff film addicts in HR.1 -
Why does nobody talk about security, even as basal on user accounts?
Its rare when i find a a framework/tool/talk/library/spec where the docs give an explanation, and more important an example of doing it the right way, and i mean without going into the history of ancient Greece and their scytale stick11 -
the Death Valley of PR approval
I have almost 3 years of work experience in programming professionally. Currently this is my second company. Previous company I worked for was very loose regarding clean code, code readability, tests etc. It was their way of doing things fast, making working changes quickly was the most important thing due to its business. Now I work in company where I spend a lot of time in some limbo when my code works and my code is merged. It sucks, I make all kinds of mistakes which would be tolerable in my previous workplace, but now it keeps me from releasing code. I now the way I do things now is the right way and it will result in me growing as a specialist, but it is very frustrating and damages my self esteem. I hope it will pass one day.7 -
People need to throw away their manufactured outrage about the gimp fork, glimpse. Aside from the fact that there are people who are genuinely offended by the term, it also just makes FOSS look unprofessional and foolish, that such a capable piece of software is named so crudely. If we want to be taken seriously, then something easy like changing crude and offensive names is a no-brainer.
Alt-right, 4chan, edgy defenders of the right to offend need to step aside, because they're in the way of progress.9 -
Right now, I'm doubting my reading skills.
I'm doing a feature acceptance presentation and half way through they're like "did you handle cases A, B and C?"
No.
Fuck.
Now it's got to be rushed in ...
And all because I can't read the spiderweb of requirement docs -
Recently, our backend team has gotten smaller. The company has stopped the collaboration with the company of the backend lead developer.
We are currently lacking backend developers while we have way too many frontend developers right now (compared to backend).
How can I, as a front-end developer, switch to back-end?4 -
How to get answers on StackOverflow without getting attacked by ferocious developers:
1) Ask your question before 2012
2) Upload as many details as possible. (Send your entire PC by mail is reccomended)
3) Be as specific as possible. Just repeat your question indefinetly changing the wording a little bit.
4) Don't ask for code examples. If you ask stupid questions it's obvious you are an expert developer and know how to implement stuff... right?
Most importantly respond politely to all of these traditional stackoverflow answers:
"Did you at least google it?"
"You need to be more specific"
"We can't spoon feed you"
"You shouldn't do that thing that way, I personally prefere this way and nobody can change my mind"
"You don't have enough experience to do that thing, don't do it"8 -
Our Swift teacher at college manually creates a Podfile for every project and copies and pastes the basic initialization from an existing project, pastes the cocoapod dependencies and then installs them using terminal instead of just doing a pod init and then using nano or vim to paste the dependencies right inside the terminal. These are the times I genuinely feel sad for the way Indian education system is and the way we're taught coding in colleges here.11
-
I hate my AWS professor, he just sucks at explaining the practical part of AWS. How one can make it completely dull, I just don't get - explain almost anything the right way and I am fascinated. I will also say the subject is taught online and I really do not jive well with online teaching outside of self-paced things. He has on one particular occasion given us a homework that he took from an Indian guy online that was impossible to do in our scenario, with AWS Academy student accounts, and we protested by not doing it and calling the professor to the attention of the administration. We'll see how it turns out by the Friday...9
-
unreal engine is soooo much fun! You set a reference pose for vr motion controllers and expect them to have positions relative to it, and also expect them to be right in front of you. Well, no, they go completly wonkers and get beautiful positon values of 23874 2387236 2032938 which is way out of the world. IN WHAT FKING UNIVERSE DOES THIS MAKE ANY SENCE?!
Just because I parented them to a a scene object way within my character?! WHAT THE FK I followed the nice tutorials. What is this BS and why is it so fked up!!!4 -
Silent errors in web-y tech like html, jsp, javascript , etc can fuck right off. I wish they'd silently kill me instead and end my fucking misery.
On the other hand maybe I just need to git God and just write perfect code the 1st time the way an old prof of mine recommended as the best way. Just draw 2 circles and then the fucking owl right? -
A really big pet peeve of mine is that we don't get teached coding in schools. Right now I'm about to finish middle school and wander of to high school. I am really surprised that my country's school system doesn't teach coding! The only way to get teached coding in our schools is in 11th grade by picking exact sciences and going to learn IT. It's really stupid when coding should start in the start of high school, in, at least, 9th grade. Really pissed me of...5
-
At home, I use Cursor, which is way better than GitHub Copilot, but at work I can't choose. One thing I particularly hate about GitHub Copilot is the way the chat panel appears in the left sidebar of VS Code, on top of the file explorer. That, and their useless, arrogant, and ignorant support (or whatever it should be called) .
I filed a ticket about this issue already in July. Their support claimed that one can already move the chat window to the right. But it doesn't work the way they suggested. In August, they asked me to provide a screen recording. So I went through the hassle of making a screen recording just to prove that dragging the chat window does ineed *not* work. I did my part so I was expecting them to do theirs. What do you think happened next? Nothing! Then, more nothing! And then, they just inadvertedly closed the ticket without a resolution or explanation.
Github, that's a pretty shitty way to treat your customers!12 -
Well we all know about McAfee right
Well today i went to their online support and had a chat with one of their so called technicians. At one point of this so called assistance he asked me for remote control. Then as an employee of a renowned anti virus company he sent me a link to a java applet to be run in google chrome. I mean what the fuck. Didn't they get the note that chrome stopped supporting applets a long way back. Assholes -
Microsoft is buying GitHub?
Actually, that sounds great. A lot of people here are making it sound like this is the end of the world as we know it, but how do we know that they will make it awful? The Microsoft of today is different than the Microsoft of 2007. The purchase is simply a way to expand their enterprise offerings. I have experimented with Office365, and it is actually really useful. GitHub will be a way to expand that offering to software development companies.
Who knows? We may even get some kind of Azure CI service built directly into GitHub repos?
However, I see why some people are concerned. If they want to move to GitLab, I don't actually blame them a bit. I was already using it before it was cool!
The point of this rant is that we should give Microsoft a chance, and not jump ship right away.3 -
I'm at a bit of a loose end here, I'll do my best to explain and I hope it all makes sense.
I'm trying to find a way to wrap a C++ Console App in a C# Class so I can use the C++ App as a library within the C# app rather than triggering the C++ exe and providing a command to it.
The reason why I wish to do it this way is for maintainability, so I can make changes to the C++ app without affecting the C# App.
I've been looking at tutorials and stack overflow to see if's its possible, but for someone with learning difficulties, I'm struggling to find the right path to take as I'm seeing conflicting info.
Any help would be greatly appreciated, Thanks in advance5 -
I was looking for an "alternation" (dunno if this is the right word): you go to work for 75% of the time, and you go to school the 25% left. Like this, you have tons of experience when you grab your diploma, and you can find a job way easier.
So i was in interview in a cool company, close from everything, that only* required to know the basics about Apache, Ruby and Python. The interview goes well, and the dude asks for a finish "you have your driver license right?" "Eeeer. No. I don't really need it, I mean the transports are everywhere in this city soo..."
Let's say I never heard of the dude ever again.
* : Yeah, right. -
Windows onscreen keyboard (ONS) is always in the way, every time you right click to bring up a sub menu (to copy 'n paste) The menu goes straight under the ONS about 90% of the time.
This should have been sorted out decades ago!16 -
I wrote a simple Python script to split a Wikipedia page into manageable chunks. But it took a while to load, so I decided to add a loading indicator. Just a few dots appearing and disappearing. How hard could it be?
"Okay, so I just need a few dots as a loading thing."
"Right, so I suppose I'll need a separate thread for this... Better look up Python's threading again"
"So the thread is working, but it keeps printing it out on separate lines"
"Right, that should fix it ... nope."
"I should probably fix the horrible mess here"
"Hmm... maybe if I replace the weird print() calls with all those extra parameters with sys.stdout.write()..."
"Right, that kind of works, but now there's just a permanent row of dots"
"Okay, that's fixed... Ish."
Well, it works now, but there's a weird mess of two \r's and a somewhat odd loop. Oh, and there's more code for the loading indicator than for the actual functionality. This is CLI by the way.7 -
Control your searches like an ADULT damn it!!!
So we have records that can have any of a bazillion different reference numbers associated with them. No big deal. Everyone does right?
Our customer's love to run reports and so we have this one option for "just look at a hell of a lot of reference numbers". I call it the 'fuck all' search.
Really it is just there to find something that you don't know where a rando string or number might be in the record and just want to do a "fuck all" search across a number of likely fields to find it... and then presumably you'd be an adult and refine your search from there. LOL yeah right...
Customers get lazy and include that stupid option in their reports and we get a lot of.
Customer: "I always run this report (that includes the fuck all search) and now it isn't working. I want records that have ID 2222."
Me: "Yeah well that was only working because you were rando typing '2222' in like several fields and it would find those .... but now you quit doing that so it won't find them. If you want ID 2222, click the drop down and search by 'ID'. That will find it right away."
Customer: "But I want to just search by 'fuck all search' to find it..."
Me: "But then you get all these other records too right?"
Customer: "Yeah but I just delete them out of the spreadsheet ... "
Me: "Look watch this <screen share> there, look all records with an ID of 2222 and no more extra records you need to delete!!! How great is that?"
Customer: "But why do I have to do it this way now, I want to do it the old way..."
ಠ_ಠ
(granted I could add their ID to the fuck all search but we try to avoid adding too much because it gets out of hand / stops being useful the more fuck all it gets)3 -
How oracle can be so big piece of shit? Dude i only need to know wtf a OSB pipeline are doing. Dude, the fucking jdeveloper cant work on my machine, no fucking way, no one version, the shit just crash with fucking null pointers. But is my machine that are cursed, right? OK, lets download their virtual machine environment and finish this. Except THE JDEVELOPER DONT WORK IN THEIR OWN FUCKING VIRTUAL MACHINE, dude, i'm going crazy. Pls, DIEEEEEEE fucking Oracle
-
Note: I have deleted my previous version of this question as I found it lacking crucial information and therefore being prone to misunderstandings.
Question : In C/C++ you can position the keyword 'const' either left or right of the left-most type specifier. Which variant do you prefer?
I ask that because I'd like to hear your opinion. Although I have been working with C over three decades now, I only learned this a couple of years ago. After some experimentation I decided for myself, that I like the placement to the right more. Although the positioning to the left is taught in literally every book and course, the original placement suits me better.
One reason, of many, is the listing of many member variables in structs or classes. To have them nicely aligned, I always had to put 'const' either on the previous line or put in extra indention to everything non-const. That was quite irritating sometimes.
Another, and my main reason is, that when reading from right to left, the rhs variant just makes more sense than the lhs variant. Reading from left to right almost never makes much sense without straining your eyes. But that is, of course, highly subjective.
This is even more so if you have pointers. The 'const' keyword modifies the type identifier(s) to the left. So if the 'const' is (anywhere) left of the '*', the data is const. If the 'const' is right of the '*', the pointer address itself is const. The same applies to references.
Examples, read right-to-left:
int* const i; // i is a const pointer to int data
int const* i; // i is a pointer to const int data
int const* const obj; // i is a const pointer to const int data
The "classical" or "taught" way, that is found almost everywhere would read, still right-to-left:
int* const i; // i is a const pointer to int data
const int* i; // i is a pointer to int data const
const int* const obj; // i is a const pointer to int data const
Not only that the second "lhs" form reads worse, it also looks worse. In my opinion, the first "rhs" variant makes it simpler to quickly determine that we are dealing with three ints, while on the second "lhs" variant, one has to first get past the 'const' keywords.
I know that this is not only a matter of taste, but of course of agreement, too. You can not just go and switch the 'const' placement in long standing projects. That would surely piss of a lot of people. Or even cost you your job.
But I like to know what you people think and why.
Thanks a lot in advance!5 -
I don't know if I should feel raged about the fact that the author of a library has rewritten the library from the scratch and it's totally different from the previous version.
I mean I get it, it's nicer to work with right now, but I used the previous version of the lib and there's almost no way I can upgrade right now without spending months after this. This is so fraustrating!1 -
Boss/prof (does not understand code): "I like it more this way. Come on don't make that face thanks to OOP it won't be that much of a deal to make a change right"
He wants to change a fundamental data structure of our software 😉😉😉1 -
Sometimes I feel that devRant freezing my phone is its way of telling me to do something with my life LoL
Except I can't really do anything right now as I'm on a hospital far from home 😕 Should've brought my laptop, I was working on a thing last night before going to bed and the hospital has wi-fi 😑3 -
What are the thoughts of privacy conscious people about quantum computers? As far as I understand current TLS version encryption method is vulnerable to quantum computers, thus if your ISP or other agencies store all your traffic data right now, they'll be able to decrypt it after gaining access to quantum computers.
One way to secure your privacy would be to use your own VPN that uses encryption method that is quantum-resistant, but again the VPN would be using TLS to connect to the Internet.6 -
AAAARGHH!!! It happens every now and then that when I open a window in a Windows application, the window opens outside the display area, on a non-existing display to the right of my primary screen. There is no other way to access the newly opened window than to go to "Screen resolution" and swap screens 1 and 2 such that the secondary screen thinks it is to the right of the primary screen (although physically it stays to the left of the primary screen). And then, once I've got hold of the window, I swap the screens back. It's just so incredibly annoying and a complete waste of time. This is staring to really get on my nerves! >:(8
-
Anyone else sorta kinda getting tired of jsx? I mean React is definitely really wonderful and all and I was all aboard the jsx train but now having my “markup” and js (sometimes css too) mixed completely together is kinda getting annoying. Sometimes I look at it and think its a mangled mess.
Started looking into Vue and really dig the way they separate the layers at the code level. You can have templates in your html or use the really awesome SPC format. Don’t know a lot about Vue yet but the structuring definitely feels right.2 -
I was suprised when I open source of amazon lumberyard forum website and saw reference to another website in comment :D This is the way how it's do it right.
4th row
Link here: https://paulirish.com/2008/...1 -
Tldr; Rust community could definitely be way less annoying, but it's way more annoying listening to everyone bitch about it all the fucking time.
rant()
Tired of the Rust hype? Too fucking bad. Quit complaining that people like well-designed languages more than shitty ones. Yeah, rust devs can be real fucking zealous, but at least the language is good. If you don't like listening to people say "why not rust?" ignore them or ask yourself the same fucking question ahead of time so you don't feel defensive when someone asks it later.
Read some shit about how "it doesn't matter what you build it with if the software is good, its all the same". Ever heard of "right tool for the right job"? Rust has applications all over the place, so people are going to talk about it a lot. Also, just no. Like, Python shouldn't be in the Linux kernel for a lot of reasons, so the tools you choose can constrain whether or not your software is actually "good."
Ever heard of "unsubstantiated trust"? Yeah, you might be good at writing C, but you can get that shit to compile with nasty fucking problems and C's a straight up foot gun in my hands. It's hard to write shitty functioning Rust that does what you say it does, which is less unsubstantiated trust.2 -
Couple of years ago i was working on a custom webshop with a third party designer and a manager. The manager didnt do his job right in my eyes. Didn't have overview of the tasks and was way too busy/lazy/stressed whatever.
Eventually i could go figure things out with the designer myself because he wanted some crazy menu structure.
So crazy i knew for sure that the usability wouldn't come to good.
Eventually deadline was past due and the projectmanager got me fired.
While back the brand i made the shop for went bankrupt.
What comes around gets around eventually.2 -
I am really psyched about the tech to create voices for generated speech. I am really excited when in the future this tech might be small enough to deliver with a game or OS. Then much more interactive games can be built with generated text. It would be so cool to license voices for this kind of work.
It will probably end up with artists creating unique and interesting voices to allow game developers to pick and choose. So voice artists will be a thing as well as graphics artists. The tricky part will finding a way to add mood states to the generated voices. Right now this could be done with different voice profiles for different speech.
Right now the tech is "large", but this will rapidly become smaller and efficient as it gets developed more.1 -
Just finished a little proof of concept of a reprojected multisample antialiasing technique and daaaaamn it's looking good. First time ever a rendering technique I invented isn't complete shit so that's an improvement
It still has some (pretty big) issues with both spatial and temporal ghosting but I have some ideas in the pipeline
I wish I could show you guys comparison images but as it turns out most anti aliasing techniques look pretty good on still frames but only the good ones stand up under motion and I don't know of a good way right now to capture pixel perfect clips like that5 -
Most of my fellow developer country mates are so big suckers that they first ask for money, huge money and then try to show there unprofessional skills. However, indeed the right way is that first you should show your skills hone it to professional level and then ask for money. Assholes.
-
Why do you not like cheating in games? Isn't it better to skip all the grinding and just get to the good stuff?
I just realized how much time I've wasted on Legos Unboxed... playing it the right way...
Prolly 2 months...
Finally realized yesterday so found the modded version. TLDR god mode.
So either the fun keeps going, I get banned, or I "finish" the game.
Would've saved me a lot of time...21 -
contrarian dev guru types are just losers who couldn't make it in industry or business with their (lack) of skills, but are so sour and embittered they continue to shovel their own garbage on everyone else
god its just so annoying "oh i do it only this way, and its the RIGHT way, you must do it this way"
this UI feature that literally exists everywhere else? "oh no those are bad, no one uses it and its not a best practice"
get the fuck out of my way, you're just slowing me down2 -
For a moment, hold your php-hate in..
..FOR FUCKS SAKE they turned off warnings and errors on the server for customer applications. What the fuck. I mirrored one of those to fiddle around at home to find all generated files stuffed with "warning: we have no idea what we are doing at every line".
FML.
And yeah, the solution for my end is kind of simple, turn them off, too, but how about coding it the right way?:I -
!dev
So I was on my way to work on the motorway and I had to change lane from the middle to the right one which has inferior speed.
There was this fucker in the right lane, slightly behind me for a while when I was turning on my turn signal to change lanes.
What did this fucker do?! Of course speeding up and overtaking from the right instead of slowing just a slightly or do nothing at all..4 -
When your client is right and you're happy because of that.
Your company says that something is not possible just because they don't want to do it, and the client replies saying it IS possible and a way of implementing it. -
I spend the last two days to write a super tiny piece of the web thingy i want to create, a javascript that builds tables from the data the php backend provides. I am mostly clueless but i learned so much along the way..yet, it still feels like i accomplished anything at all.
163 lines of javascript, so less, so much time. At least its pretty much universal as long as i build the backend right (which is pretty easy).6 -
Thank you Matlab, for my daily dose of frustration.
Thank you Matlab, for deciding to surface-plot a 2D variable with the x axis = columns and y axis = rows, because of course that's the most intuitive way to go about it.
Because of course that's consistent with the standard way to refer to a variable's elements.
After all, everybody knows that Z(i, j) refers to the i-th column and j-th row of a matrix, right?
Thank you, Matlab, for depriving me of the little fuck I gave about getting something done today.
Now go die in a fire.6 -
Neko Image Farm.
Yes, you heard that right. My most recent project has been farming neko images onto a removable drive to sell in the near post-apocalyptic future. How I did this? I used this API called nekos.best for the images. And an auto clicker with a time interval of 6 seconds to save them (Yes, there is a 100% better way of doing this). So, every minute, 10 nekos are downloaded. Anything faster would destroy both my PC and my internet. This has been the single most useless project I have ever done...6 -
I see a major shift coming up im regards of how we continue to evolve the way our applications work in regards to web based solutions. Http was not meant to do the shit that we are doing today, yeah it works, but it continues to feel like a hack. The advent of A.I and WebAssembly will probably make developers more mindful about compilers and truly optimized code. Languages such as Rust are pointing in the right direction in terms of speed and safety and as our computers become more powerful so will our way to communicate with them. Eventually damn near every web based solution will include A.I even when it is not needed at all.
Regardless of what happens. Yo ass is not going to stop hearing about C++, SQL, and Javascript(top kek)1 -
I needed to align instruction execution to a 64bit boundary, for custom CPU architecture that I'm building. Basically the ISA had 3 types of instruction lengths; 16bit, 32bit, and 48bit. The core did 64bit fetch from the Instruction Cache, the issue was that if an instruction was in between two blocks of data I needed to fetch two blocks. That would impact performance a bit. So I had to modify GCC sources of the ISA that I'm using. So instead of doing it the right way, I just did it the lazy way and modified the GCC backend to print
.p2alignw 3, 0x00ff, 4
.p2alignw 3, 0x00ff, 2
On each 48bit and 32bit instruction to generate NOPs. And it did work lol. -
When Pavlova danced, she worked with the audience like no one else could.
When Ulanova danced, she completely ignored the audience and transitioned into her own world.
Both are unarguably the best ballet dancers known to humankind.
There is no "right" way to do something if you want to be really good. You can totally invent your own ways of doing things, this is how our science got to where it's at basically.6 -
Today I've experimented the windows' blue screen of death...
My windows partition was f*ck up.
I tried many fixes, like boot from grub (which very complicated), boot from a usb with ubuntu live version and run boot-repair.
Bit finally I ended up, make a live usb of windows 10, (tried 6 times before finding the good way to do it with uefi bios) and reset windows without deleting my personnal files.
I'm pretty much proud of me right now.2 -
Ever get the feeling of enthusiasm on a Monday when you decide you are going to finish the project way before time but then you sit it in front of your IDE and you just want to cry and sleep.
I am going through that right now. -
I wanted to get the latest NASA APOD photo with Python. Easy, right? Nope! Firstly, their RSS feed is partly HTML, so feedparser doesn't understand it. Secondly, feedparser doesn't even get the titles of entries correctly.
Which is why I'm trying to parse it in a horrible way using Python regexp. NASA can put humans on Luna but not even get their RSS feeds to parse properly.2 -
I simplified 7 functions down to a blob because it was truly unreadable and fragmented. As I did it, I thought there was no way I did it right. This can't be the logic. Nope. It is.
Yeah, the formatting could be better. End of the shift so that's a tomorrow thing.10 -
Is there a sane way to allow external styling of vanilla web components' shadow dom? Right now I do it by using 30 CSS variables, but I feel like there should be a better way.7
-
(Warning, wall of text)
Settle an argument for me. Say you have a system that deals with proprietary .foo files. And there are multiple versions of foo files. And your system has to identify which version of foo you are using and validate the data accordingly.
Now the project I was on had a FooValidator class that would take a foo file, validate the data and either throw an error or send the data on its merry way through the rest of the system. A coworker of mine argued that this was terrible practice because all of the foo container classes should just contain a validate method. I argued that it was a design choice and not bad practice just different practice. But I have also read that rather than a design choice that having a FooValidator is the right way to do OOP. Opinions?1 -
Is there any way to change the location of this back button to right side? I am tired of this button. I have got Android pie now but still this shit shows up at far left of the screen.
Ps : am on stock android8 -
Hello fellow Ranters,
I'm in need of some help, I want to try building a small website, like maybe 4 pages worth of work for my uncle. But I'd like to build it in such a way that a non-programmer (my uncle) could upload photos to a portfolio section through an administrative console page. I'm doing this mostly to learn how to build something like this and also as a side project to help out my uncle.
From what I've read, I'm thinking that Angular (maybe?) might be the right way to go about building dynamic pages, but I'm not really sure and was wondering what you guys would suggest? If possible can you please also recommend a place where I can find examples for something like this?
Thank you in advance for your help and recommendations, I really appreciate it!!!7 -
I was determined PHP advocate, always ready for debate with PHP criticizers. I am stacking with dozen other languages so I used to think I have all right to do just that. My code is fully OO, I used to scale FPM horizontally, eventually, with help of pthreds even vertically. With help of redis and chaching, I thought I was sorcerer, as I always find a way (or way around) to make things work, things that no one used to beleive it's possible. One day I started to work for language engineering company, when I suddenly realized how PHP often fails with it's come to localizations, translation, exotic charsets and over all multibyte operations. :( Whole this thing collapses. Wholes everywhere...3
-
This one is on me I'm not gonna lie. So makin a simple web timer right. Yknow just polishing JavaScript and I was working on the actual looks of the timer. I made some buttons with CSS and when I spam them it highlights all text on the timer and its posting me off and the "fixes" I've seen and tried havent been working or I havent been doing it right. I just needed to get that out of the way. It's a small not even a huge problem just something that bothers the hell out of me.2
-
Why is it so annoying to create a way to quickly translate text in my html for users who speak other languages!!
Oh wait, literally as I was typing that I just realised I could have different folders that have the same code but use a different language when doing UI stuff…
Still it should be easy to allow the browser to do it for you via code instead of right click and translate!!2 -
I want to be a better coder and what better way to improve, than look at how the best does it right? 😁
So do any of you guys know a JavaScript/TypeScript project that is commonly known to be a masterpiece in the art of coding?5 -
Right now, building a scheduling/personnel management tool to ease some of my planning duties. Learning some cool tools and concepts along the way.
-
There's a right way, and a wrong way...
Correct:
if (version <= OLD_VERSION) {
... do_something_old ...
}
else { ... something new ... }
The wrong way:
if (version = NEW_VERSION) {
... do something new ...
} else { ... do something old ... }
What my standup report is today:
I'm modifying thousands of lines of SQL code because the script was hard-coded to only work on SQL Server 2008 R2, and we're using SQL 2017 in our test environment. All of those lines now fail because we don't match your "new version" number.4 -
OMFG bless the guy maintaining MikTex for Windows, if only had installed this instead of TexLive the first time around I'd probably be a lot more sane right now (and I would have passed more uni exams).
I genuinely wanna shout my lungs out in frustration... I wasted over a fucking month trying to get my TexLive install to work the way I wanted it to, and now with just a simple automatic installer everything works exactly the way I wish it did, it's so fucking perfect!
Sigh3 -
I have to download 500 images from bookreads to help a friend out. Thought I'd use this opportunity to learn about web scraping rather than downloading the images which'd be a plain and long waste of time. I've got a list of books and author names, the process I wanna automate is putting the book name and author name into the search bar, clicking it, and downloading the first image the appears on the new webpage. I'm planning to use selenium, BeautifulSoup and requests for this project. Is that the right way to go?9
-
And so this morning we put aside our usual daily activities for a while, and gather here to give expression to the thoughts and feelings that well up in us at this time of loss.
And also because in one-way or another,
GitHub's sudden acquisition
Affecting all of us.
Please raise your glasses as we drink a toast to the memory of such a splendid tool, that we know without a doubt, will never be the same as we know it right now.2 -
To my surprise, I recently found a documentation page written by a specific co-worker of mine, which I thought could only mean he had decided to leave the company and thereby was forced to write that. Later I found out I was right about that. How sad is that? I mean that someone refuses to document his work in any way, not that this person has actually left the company. The only information on the page was something along the lines of: "Uses the gradle build system.". Ah, and "you have to have Java installed". Thanks, mate. Couldn't have figured that one out.
-
SonarQube is obnoxious in it's moronic ideas that demonstrate lack of understanding of the languages it's analyzing.
In C# there exists a special kind of switch-case statement where the switch is on an object instance and the cases are types the instance could polymorphically be, along with a name to refer to that cast instance throughout the case. Pattern matching, basically.
SonarQube will bitch about short switch-case statements done in this way, saying if-else statements should be used instead. Which would absolutely be right if this was the basic switch-case statement.
This is a language with excellent OOP features. Why are your tests not aware of this?
I can't realistically ignore the pattern because that would also ignore actually cases where it's right. And ignoring the issue doesn't sit right with me. How does it look when a project ignores tons of issues instead of fixing them? -
headaches..
Likely a very simple algorithm to get these packets processed in the right order, got plenty of metadata that should help, but since yesterday I am wrapping my head around it and cannot figure out a sane way...5 -
Hughe amount of frustration here...when taking care of two students just at the end of their bachelor thesis plus doing a mayor system upgrade with lots of test users plus introducing a new management collaboration platform with trainings to the users...all in one month: you can't just do any of it the right way!!
-
DEVIANTS!! NEED ADVICE...
I have been focusing on learning and implementing data structures and algorithms through participating in competitive programming sites...
Whenever I face an issue and struggle to find an answer (which is more often than not), I ask the forum about the fundamental principles involved in the question...
I avoid looking at the solution, as much as possible.. And, when I do look at them, I still question the author of the code about the reasoning behind a particular section of code which I don't understand...
I don't wish to copy and paste code, but sometimes, I wait for days on end, but I don't use the code until I receive an answer...
Is this the right way or are there any other way which I could implement to strengthen my algorithmic thinking??10 -
Need Advice:
My whole life, I have been a sole developer. Most of my project was a single person. I was responsible for the frontend, background, server deployment, and everything else. I liked doing the thing my way.
After working like this for a decade, recently, my company hired a second developer to help me (So I can do the management of other projects.)
The biggest challenged that I am facing right now is the difference between my thinking of a problem or the way to solve problems compared to the other guy.
There are many things that he and I do differently.
I need some advice on how to work in teams. I how to manage things better. -
I finished a coding bootcamp, but I still feel like a total beginner. I was hand held throughout the whole god damn thing! Sure, it's my fault for not studying the way I was supposed to, BUT GOD DAMN!!! I mean it's so hard not to copy code if it's right in front of you.. Oh well, a learning experience nonetheless.. Going for the Odin Project now with a different approach! Fingers crossed5
-
I made this: https://gitlab.com/snippets/1992288
Spare me if the title makes no sense grammatically, not a native speaker.
I'm building a microservice that keeps a check of the subscribers on my product, I wanted to keep an eye of those subscribers that may be missing the latest payment.
One way to do that is to make it work with my code and some ORM magic, but that may become unsustainable as the customer base grows, another idea that occurred to me was doing it fully inside (?) the database. The solution is to compare how many days have passed since the last payment and right now, if 'right now' is larger than 'last payment' then the subscriber is late with their next payment.
I did this as a PL/pgSQL function with an example usage accompanying that code.
Now, I just need to figure out how to use the result of those calculations in a WHERE statement...2 -
Had to optimize today a DB File / MySQL 5.7
I'm sometimes sad that software cannot bite people in their crotches, shit in their faces and fuck their eyes out.
The config was non commented and a disaster.
Yay. Let's set thread_cache to 16K while max connections is 50.
And raise limits like max files without adjusting SystemD / ulimit
And OF COURSE MySQL sucks...
So let's migrate to PostGres.
*Brainfart*
This has happened way too often.
Really. Software should have the right to punish dumb people. At least ... 10 kv shock to teach a lesson.1 -
!rant
Interview in 14 days.Big company. I'm coming right out of school; they don't require any prior knowledge except knowing how to use a computer to a certain extent - it's a dual-study-thingy where you work and study to get a B.Sc. and later on maybe even a master's degree. Time is about 1hr. They need to hire someone to automate some processes, that's what I've been told.
What will they ask? How do I 'sell myself' the best way?
What's a total no-no specifically for tech interviews?2 -
Is looking up the answers a good way to learn?
I started with free code camp a while back and always just looked up the answers and reverse engineered them when running into trouble. If I didn’t get it I’d look up a few videos on the idea.
But recently I started at a boot camp and after I asked they greatly discouraged me from doing this but I don’t see an alternative. I could just spent hours trying to guess the right answer and maybe eventually get the right one, but then my head is full of wrong answers and it takes forever. It feels like reinventing the wheel every time. I’m scared when I get further on in the bootcamp I won’t be able to find the answers online and I’ll be directionless.
Is this just imposter syndrome or am I cheating? Everyone I’ve asked said looking up what to do is part of the job.1 -
You know I'm looking around a t a museum of 3d graphics programming right now.
Not my first time but the same arcade machines are playing the same tooons over and over again in an eerie way and strange;y thertes a basketball game up there on several large screen tvs too...
I remember my first detailed look at opengl.
For some reason it just never worked for me.
But I see all these incredible sources of past fortune sitting unplayed, and think.. wow... what a waste.
these brought me many hours of joy and gave me an opportunity or so I thought to try to make friends and meet other teens when I was younger.
They represent countless hours of lovingly crafted mind-crack, and noone smokes them anymore.
Aliens armaggedon sits right in front of me, holstered faux guns glowing in red alluringly.
the huge box of unclaimed mooks and stuffed sheep sit there sadly robotic arms that can never reach them just hanging rusting, unloved by a new generation to curse them for never grasping anything and stealing their quarters and a HUGE 96 inch or more screen for Tomb Raider, FUCKING TOMB RAIDER hums in a corner just slightly out of my full view.
and noone is here. why ?
and yet the gaming industry supposedly continued to thrive.
in a way arcades were better they kept people from being addicted to wowcrack.
just like raising gasoline prices would prompt the creation of cleaner more efficient mass transit.2 -
An engineer's clinging focus on the dualistic right and wrong will prevent them from seeing the middle way, the way of the solution, the way of balance between all trade-offs.2
-
As back end developer, I rarely have hands on production environment. When it happens, I need to ask my way around and since the office is empty that day, I ask the client directly. They give me a URL. Right away, I ask the credentials.
"Just connect to the URL"
"You mean, you have an open access of this software, having critical information of more than 50 000 persons, to the web?"
*Silence* "hahaha it appears that way"
Thankfully, a tactful manager handled the situation astutely and we never heard about it anymore.
Don't we love all happy ending? -
Is it hard to write a kernel module to expose information to usee space ? I need smartctls abilitytl to specify sata being transported over. USB cable to a sata drive to pull Information like make model serial but it requires root and lsblk doesn't have the functionality to grab info on the device on the other end of the usb to sata cable
There is another way though right ?4 -
When I look at the source code of an open source project and see things way more complicated than it needs to be, I just assume the contributors have seen some shit in their lifetime that makes them extra cautious.
This has to be the reason, right? Somebody tell me that there's a reason behind this madness.1 -
Just burning right through the years of our lives aren’t we ? Same bitch
Same studies
Same unfinished work
Same jack assess
Same bots
I wish people hadn’t gone out of their way to make me feel they were full of shit at points
Liars lying requires some real annoying thoughts to determine if they’re lying 100% of the time or just deceiving because they know you think that6 -
got a client who wants me to "stream pdf files instead of serving them so users cant download or print them".
as far as I know this is impossible. but he replied we dont care if an IT guy figured out a way to get it but we want majority of normal people to be unable to figure a way around it.
if im gonna need to show ms word and pdf files i will need an iframe or object embed and i cant disable right clicks or listen on ctrl s / p.
any ideas or should i not go for the project :(12 -
in this version of reality maybe there will finally be some closure and things will fucking recover as they should.
but i doubt it so long as people have a way of dragging me back when they have no right at all too and it doesn't seem to matter who, good or bad, anymore. -
we have been working... we swear...
this is right at the end of a project which was artificially extended because the review process wasn't setup in time. we've had to do certain things the product owners way, whilst shaking our heads and this useful chart is one of the side effects. sidenote, product owner is looking at this chart and showing it to higher ups, trying to show progress being made... i give up. -
Is there a good way to refresh user permissions in an ASP.MVC app? Right now our solution is to save the updates and have the user close out of their browser/clear the cache so the updates can take place but wonder if there's a way to refresh the application itself.1
-
Office manager just mandated that our standing desks would have a "cable pouch" installed at the rear for cable management. My cable tray **was** the neatest of everyone in dev, now it's unscrewed on the floor and all my cables plus the laptop charger are hanging loose, because notmyjob.jpg and contractors generally DGAF.
Oh, and they didn't install it flush with the rear of the desk, presumably because they didn't want to take off my laptop stand. So it's right in the way of my feet when I'm sitting.
Nothing that I can't fix with a screwdriver in my own time, fortunately. -
Way too long story short: Needed to figure out how to use jQuery to update a table that had no classes or IDs to help you tell what's inside it. Worked out a looping structure to read the contents of the cell with the dependent data in each row, and then update the cell that needed changing depending on the value of the first cell.
Minified the solution and dropped it into the console. Worked exactly right on the first try. -
I have a HUGE diarrhea for several hours now. It wont go away. Every 30 minutes or so i have to take a big dump. And its always such a huge explosion of literal liquid instead of shit. Well its still shit but in a liquid form. Its like im pissing but shit. For the last couple of weeks im not eating right because of huge amount of stress wave. Im eating very lightweight food and in a small quantity while drinking water a lot. Could that be the reason or does it have something to do with covid i had last week? Either way help me get this explosive diarrhea out of me what should i do24
-
Quick question. Is the iPad Pro with M1 chip decent to do some hobby programming? Due to being bedridden, I have tried to use a phone but have yet to find a way to play with text files. The ecosystem overhead is enormous and all of it requires a computer.
I have run code in a number of langs but they refuse to access files I created, by hand.
I just wonder if you can use a 6gb tablet by itself? I started with 4k bytes back in the day. A million times the RAM should do something, right?7 -
!rant
My dad wants to add security cameras in our home. I kind of want to go ahead and add cool stuff(like automation or something) to our house using this opportunity.
What I am thinking of right now is salvaging an old desktop with an Nvidia GPU to add face recognition and motion detection to the mix. I am also thinking I could get an Alexa echo dot or something similar and hook everything up. Another idea is using owncloud to create my own cloud.
What do you guys think? Any ideas or suggestions? Maybe a cheaper way to do stuff?7 -
Right on my way to the city I'll be working in for the next 3 weeks.
I work for a medium sized company, belonging to a big AF, like in one of the world biggest players in their branch, company.
I got transferred to another location on the other side of the country for a few weeks, as part of my apprentice-ship.
I'm already thrilled to start work tomorrow. -
What is the correct way of pulling the latest changes via docker?
Please write step by step commands.
This is how i do it:
1. docker build -t dashboard:latest -t dashboard:v2 dashboard/.
2. docker rm -f dashboard-latest
3. docker run --name dashboard-latest -d -p 8081:80 dashboard
So...
1. Build latest changes
2. Remove the old container
3. Pull those latest changes
---
Is there a better way? Less commands? Is this the right way to do it?
Sometimes the changes dont get updated so i waste hours of time trying to figure out if i fucked up the commands, or order of commands, or if its some caching problem etc.
Teach me the right way once and for all.9 -
For all you Dutch out there, or other people who celebrate Sinterklaas.... I know this a bit late ( mustard after the meal, right?), but I only found out about this place today.
Anyway, maybe you can use it next year, and who knows there are other uses for it.
It is: a way to assign a number of favors among a number of participants, making sure no participant has to do the same favor to the same other person twice.
I'm sorry, I can't find a way to make this sound any less sexy.
The pseudorandom generator is seeded with the year, so you can use it every year and everyone will get consistent results.
For the Dutch: een scriptje om meer dan één lootje te trekken met Sinterklaas. Sorry, daar heb ik ook geen minder sexy beschrijving voor. Je kan de namen per jaar invullen aan het begin.
And then I almost forgot to include a link: https://jsbin.com/waragireyo/edit/...1 -
11/60
late 3 hours to take the 2nd pill of today. and already feeling the drug drawbacks kick in. feeling very fucking angry. aggressive. annoyed for every bit that doesnt go the right way. in terms of wanting to hit the table when a problem occurs. but when i take the pill i get calmer. not giving a fuck about problems and stress. its like im injecting horse-level drugs that give me horse adrenaline or, horse drawbacks. fuck it. ill take these drugs all my life. hopefully it kills me sooner. life is shit anyways. i do not care nor value life. fuck that8 -
You guys probably use slack at work. Or teams. But what about using discord? Would it be a good idea to use a discord server and create and manage clients' projects that way? Its free and simple to do. I have the most experience with discord even coding custom discord hooks.
For example I'd categorize each project by discord categories, and within each category I'd have channels such as general, ui, coding etc so engineers team project managers designers and clients can communicate in real time.
The biggest downside to this approach is... Discord allows maximum 50 categories per server. What if i have more than 50 projects to work on? I wouldn't be able to create a new category for that project. The growth and scalability of a company is limited thst way. That's what sucks. I'd have to create a brand new server and repeat this cycle again. And each server having max 50 projects. This doesnt sound very efficient right?
Is there a better way? Or do i have to use slack?24 -
In college right now, it seems that all my peers are way laid back than me and they think that I do a lot of things but I'm really confused whether to get laid back a little or continue working as I do. I know I sound confused right now but I am!3
-
Tell me of this seems right: We used to operate (before I started) in a the user is always right way, if a user wanted a button to wipe his/her arse they got it.
I don't understand how a software developer can operate in this way (or am I missing something?) the users are all staff at the school3 -
I need to position circles on a curve in a HTML page, the number of circles can be variable (a minimum of 3 and a maximum of 7) and these should be spaced equally. Each circle is a clickable element that has some functionality, and also just hovering on these circles should show a thumbnail right beside them.
https://i.stack.imgur.com/jC3gE.png
As shown in the above image. The whole design consists of 2 of these curves one on the left and one on the right(I cannot put the whole design here sorry) one approach I can think of is rendering the curve as an SVG and then position the beads (circles) on them but I cannot think of any way to position those elements exactly on the svg. Any kind of help or code which achieves this functionality is a huge help.
Note: I am using Angular, if there's a nice way to do the same in Angular I'd be pretty delighted. I know that this isn't the right place to ask this but any help would be greatly appreciated.
Thanks in Advance10 -
I started out self-taught and had little support or guidance in early positions, so I'd say being able to correctly understand what was being asked of me, or getting across my answers in a way that was easily understood.
I wouldn't know the right terminology, or wouldn't know the industry best practices. -
Question about GIT regarding intellij idea. I have a local branch develop and I perform a git fetch via GUI. I see develop gets a blue arrow meaning that there are some remote changes that happened. In the past I would just click on that branch and click update, but I noticed that sometimes fetched commits from remote get applied to my branch in a weird way, for example they get merged. Later when I want to make an MR I get duplicate commits because git doesnt recognize that my branch has these changes already.
Right now I just delete that develop branch and check it out again, to make sure I'm working on a proper develop.
Wondering if there is a better way of doing this instead of deleting develop branch and checking it out again each time?5 -
Great way to start a developer's day: Turn getting to the office a sudden problem with unexpected platform and services changes.
And only realizing after getting on the train. I had to pull up a mental map of the stations and connections. And guess the probability the right train was in service at the station... -
Protip: If you're using a tiling window manager, you can detach the file browser on the left of any Jetbrians IDE.
This way you can switch to it using the shortcuts you're used to from the WM, as well as resize it very easily.
Also this way if you are not using the integrated terminal of the IDE, you can have the file browser span the full height of your screen, while the terminal and the IDE share the hight on the right.
Disclaimer: I don't know if this is common knowledge, I'm sorry if it is, but I was completely shocked that I missed this feature for years.4 -
I'd really like to know what kind of shit the guys at microfocus snorted when they developed uft. Who in his right mind supports only vbscript? It's cumbersome, ugly and depends on an Microsoft environment and yet the only way to get uft to work.
I'm honestly looking into plane tickets to Maryland just to slap anyone of those "fine gentlemen" with rusty garden chairs across their faces.4 -
I have a side project which contains very simple data (a URL and a list of strings associated with that URL). I would like a way to automatically generate a webpage for each of those links (I believe the right term is template ?). Does anyone have any suggestions? Is this something like Next.js or Gatsby would be used for? I can provide more info if I’m not clear enough8
-
Thought I would be clever to batch insert a bunch of data into the db with sql, with the catch that the data of a specific column should have a zero-padded number as prefix, counting up from 0. Ask AI for suggestion. Generates some SQL beyond my basic understanding. No way I'm gonna run that! Can't be bothered for an explanation, don't have the time. I realize my assumption to SQL my way through failed right from the start. Instead I let AI generate a python script to create a CSV with the desired data. A few iterations of testing, I take the result file and import it into the db. Done.2
-
I have an idea I need to get out of my head but am not sure where to start. I want to figure out a good way to learn about real-time water simulation. I’m looking at either OpenGL, or Openframeworks, or Cinder. I have basic experience with c++ and a bit less with OpenGL but am not worried about learning. Could someone point me in the right direction? Andy good resources to learn or just general advice would be greatly appreciated.4
-
Um hey guys, so I was working with websockets in node.js and wanted to have some form of authentication. Did a bit of googling, read some docs and finally implemented something. It's just I am not sure if it is the right way. Can the experts give their 2 cents?
This is not a rant exactly, so if it comes under self promotion or irrelevant, please tell. 😃
http://iostreamer.me/ws/node.js/...6 -
So we decided on trying some Angular stuff. I’m the only one in the team who actually took the effort of actually doing some work in Angular.
After a week i had trouble with the last 10% of this page, building in logics this is a step too far for mw right now.
Next to me is a coworker with LOADS of Angular experience. Who probably fixes this last 10% in a day. Max two.
Now I have to follow a fucking course to get this angular thing. Just to keep me busy, instead of the quick way and let the local Angular guru take a look at this shit.
My god i’m so done with this company!!!2 -
So, I feel wayyy behind the tech curve right now.
The SSD implementations you see online, they're still just a bunch of seperate sort of chaos machines that contain the standard perceptron-like model of a weight, cost, and bias right ? They just kind of inferred their values by training like any other neural network, in its sep-erate parts and just fed pieces of output data generated by other parts of the neural network to it right ?
I mean it implements with pytorch so its basically a really big array of tuples in a sense that are maniupulated in a specific way.
and then CNN's just feed data back into another trained piece of the model right ?
I'm curious because object classification is about the ONLY thing I've seen work even close to properly lol
there is just so much fraud these days. sigh.
and so many lamentable tech choices and attempts... like node lol -
I've been sitting here staring at extension types and I wonder, what if I had a partial file with partial data ?
In general one could say that in every case where say a header is missing that is ALWAYS going to have some identifying characteristics even given a characteristic statistically frequent pattern of data, that there is always a null value that appears as total chaos.
But I wonder, is there a way beyond simply trying every goddamn possible combination of things until meaningful data is extracted to identify a file by its content when part of that content that is usually used for such a purpose, is missing ?
What kind of application or technology would be required for this ? Certainly not neural networks, but obviously some kind of ai right ?10 -
We are switching our frontend templating language from dust.js to twig.js... Today I converted 1600 lines of dust to twig.
Do you know the feeling, when you're so hungover that if you see just a single drop of alcohol you have to throw up? I feel the same way about dust right now.1 -
So I'm target multiple platforms with one of my c++ projects and on one of the platforms I the window manager is quite different, and one of the libraries can't be used. Thats fine for my needs, I'm just wondering what the typical way to allow for these differences is. Basically currently I've created 2 "main" files that have preprocessor code to only use he one that's right for the platform by having ifdefs at the beginning of each, I've kinda followed that methodology for the other files that are totally platform specific also. Is there a better way to go about this? Currently using msvc for windows compilation and a gcc-esqu compiler for one of the other platforms, where the compile command is built by a home made build tool.
-
I don't understand why finding media that holds differences of personality type is supposed to mark me one way or another I didn't study psychology because I found people disinteresting.
And a decent enough story is a decent enough story.
Problem is.
In all cultures and subcultures some people are less appealing than others
Course these people are all unappealing at their core but sometimes the rather slow insidious and obvious attempts to sneak their weirdness Into storylines to make themselves seem almost pitiable or believable leads to alright productions
Where are we right now ?
A long way back it seems.
Why ? -
I have been working in the same PR for 2 months. Many metamorphosis of it i would say 😂 I even made it all the way to prod and had to be reverted coz it was causing straight chaos. I have worked on some pretty complex features in the past year, this the smallest yet most complicated ask i have ever received. Orleans really put my patience to test and here i am, right now completely unable to write any code. I am just here planning my vacation in 4 weeks time.1
-
How did the pandemic screw you and your life plans? Tbh there are more serious matters connected with that but just for the sake of my lifeplan: I paid off my debts and was ready to start my travelling spree and visit the countries everybody already have been and maybe go nomad. But pandemic hit, and i am right now stuck in my life which is clawing its way to become my permanent reality.4