Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Hey guys! hope everyone is doing very well this week! and as always i really hope everyone has an amazing week ahead!, i would like to ask a question i am soooo stuck in my project and i need help!, so i have a line chart in my project... the graph shows but the lines do not?, i'm using angular and ionic!, i'm also receiving no errors in my console! :-(
i would love some input from you guys <3 would really mean alot!, thank you once again for taking the time to read my question!
kind regards Milo :-)
Waw every fucking day I'm more and more amazed with this garbage company and this even shittyer banks.
Last two weeks I had 2 groups of tasks to do. (C#) API methods and a webservice to interface with the mainframe.
I had to redo the fucking webservice 3 fucking times because they kept changing things and asking for new things.
When I finally finish the shitty webservice for that crap mainframe they decide to tell me today that they made a program **years ago** where you input the COBOL copybooks and it generates all the webservice code with the click of a button. A fucking button.
What a waste of time, I didn't even learn anything new.
Fuck this shit, I'm out.
It's my last fucking month on this bitch motherfucking company.
Desktop PUSH Notification requests are fucking stupid! I get that you’re all edgy and shit and made your stupid site into a PWA or are just trying to spam me with this amazing new access you’ve been granted over the last few years.... But fucking stop it.
If you have a PWA and a user is viewing you on desktop clearrrllyyyy they’re not mobile and your request is pointless. Log the access as 1 of the 3 they need before being allowed to install it as an icon and ONLY on mobile request push as part of the install. Maybe just maybe it’s ok if they’re mobile browsing...
Use your fucking heads people. Just because you can use something doesn’t mean you should.
So today I arrived on Ireland to hike for three weeks. Tomorrow I'm heading out together with one single other scout to walk 160 km from point A to point B, both of which are unknown until the minute we start. I'm not quite sure how much internet coverage I'll have, so perhaps there won't be so much ranting, commenting and ++'ing. Sad to leave for almost a month with just a couple of hundred ++'s left to reach the magic 5 digit score. Well, anyways. Unless I appear earlier, have a nice few weeks!6
"Hey boss, could you look over this reply to this support case before I send it? I just want to clarify a couple of things first."
"I haven't got the time to look over support case replies - you need to be proactive in deciding what's right, and then just sending them on."
"Ok, no worries."
5 minutes later...
"What the hell have you written on this support case? This isn't correct at all. Now they're going to be really confused. You've completely contradicted what I told them yesterday on the phone."
TL;DR The company I work at doesn't have dev databases. All products from a particular webshop disappeared when testing some code, luckily I was able to recover them
I was working on a way to sync data from one database to another. In the company I work at they are pretty lazy with doing stuff the "right" way, like secured FTP, and a dev database.
So when I tested my script, I went to the webshop that is connected to the database, and every single product was gone.
Of course I started to sweat, because I tested and checked my queries many times. The project wasn't in a Git repo so I wasn't able to see what was changed.
It took me 20 minutes to find out what was wrong, it turned out it used a different encryption method than before, which a colleague apparently added the day before without telling anyone.
I quickly changed it back, ran the script again and all products started to appear again.
Not sure if I should be happy of I should cry.
I woke early today so I could directly start working on my little project to make some progress.
I was coding for ~10 hours.. The code worked fine for all testcases, except for one. I debugged for hours and I couldnt figure out what was wrong. I tried changing stuff in my code and it got more and more messy to the point where I couldn't even understand my own code anymore. I was so frustrated ...
> Deleted everything I made today.
> Rewrote the entire thing in one hour with a different, more structured approach.
> Worked perfectly for all cases, even the very complex ones.
1 day wasted....
Should I be happy that I came up with something decent in the end? I am still mad cause I wasted the entire day.. Why did I not directly went for the thing I did in the end ..? ._.4
SPDX. Actually a cool idea, you slap one line of comment in your source files that gives the licence. Easy to understand at a glance, and grep friendly. Also no more "huh what exactly does this licence here say, is that MIT, BSD with or without shit or what".
But once you have something simple, you can bet some design committee tries to "improve" it and cover everything imaginable.
The result looks like this (see also screenshot): https://wiki.spdx.org/view/...
Holy shit. What was that about? Simplifying crap? Yeah sure that's totally what it looks like.
Fuck you ISPs you fucking idiotic morons.
I just came to house to fix PC.
It turns out that it wasnt a simple fix at all.
The house had a good working networking done because the owner was IT guy.
The fucking ISP just disconnected that crap and run its own fucking shit because i guess they didnt understand how it was wired.
You fucking morons now i have to redesign your fucking shit because you fucked up good working internet when you could have just changed one fucking cable at router.
Sure it will be paid good to do it but damn its a lot of fucking work.
They fucked it so much that they cut cable that lead to living room half way in and i was wondering why no cable was the other end.
I had to go trough fucking spiders shit just because you fucking ISP fucked up.
Funny thing ?
They didnt fucking follow the norms.
Not even the basic fucking ones.
They twisted two fucking ethernet cables together so they could fit it trough hole and not just make the hole bigger.
Did they hear about electro-magnetism ? I guess not.
I had to run the PC to network over fucking wifi.
I gave the person my own fucking Wifi adapter until the networking is fixed in proper fucking way.
God fucking dammit !!!!!!!!!1
Quess who's back again, php oudated piece of shit monolith codebase. So we have a relatively huge client we need to migrate to AWS.
It is written with yii, all object-oriented. The way it's implemented makes me question my love for object oriented as well my sanity for even accepting this project.
I probably could talk about this piece of shit for hours but the fact they save 3 gigabyte of qr code images is the fucking worst. It's literally a few one hundred thousand images who could be generated on the fly.
Please for the love of god, let me finish this migration tomorrow.6
Don't you just hate when your boss goes like:
"Why isn't this feature working?"
SHIT FUCK, IF I KNEW THE REASON, MAYBE I WOULD HAVE FIXED THAT SHIT, INNIT?
WHAT KIND OF FUCKING QUESTION IS THAT?
"Well you should have tested better"
IT TOOK A MONTH FOR 1 USER TO SEE THAT BUG, WHAT DO YOU EXPECT? YOU EXPECT ME TO SEE THAT BUG IN THE FEW HOURS OF TESTING I CAN ACTUALLY DO FOR THIS PROJECT?
"There also are other 15 project to get done"
FUCK THIS SHIT
I probably got an internship for this summer and I'm really really excited for it.
However, I've juste finished my first year of CS and it's my first internship and it makes me really scared that I'll be unable to do anything. Like sure I know OOP and how to code, but what will I do in a business?
Do you have any tips or so? It would help me a lot, I really want to do it well.3
Ok. I found out something about the IT system at my school. They've been running Windows 10 for a while, but give the start menu a classic shell overlay so it looks like the Windows 7 start men. Why? So the teenage, tech-savvy students who have windows 10 at home will feel 'more comfortable' about the change.
So basically, after also blocking most every feature of windows 10 and making it look like 7, they've just increased the size of their system to take up more space, and potentially added more lag, too.
And they did it because they think the kids will like it more.
Excuse me while I find a good glasses shop to recommend to a couple short-sighted people who make these decisions. Or at least a bucket of cold water...3
So I've been screaming for months that push notifications are not reliable enough to build critical functionality on top of. Management won't listen and keep pushing ahead with making teams use it because its cheap and easy.
Been debugging an issue on/off for several weeks. Turns out someone in management asked the backend team to cut the expiration time of items down to 5 minutes to increase throughput (without telling mobile). Notifications are regularly taking +4 mins to get to the phones, leaving our users with barely any time to react. They are now complaining.
I swear if there is a single IQ point available between the whole team i've yet to see any evidence of it3
Okay, I love Laravel, but sometimes it just pisses me the fuck off.
I needed to check a cookie in a middleware and redirect to a page if that cookie is set to 1. Sounds easy, right? A simple if(request()->cookie("pshield") === "1") should do it, right?
To make this even worse, that code would work without any sort of problems in a view and controller. Hell, it would even work in inline PHP without importing anything!
Now here's the thing. Laravel encrypts all cookies with a previously generated AES-256-CBC key.
Of course that means they have to be decrypted. Reasonable, hm? Well, in controllers and views, that has already been taken care of. The cookies are decrypted and usable as plaintext. Now, you could expect that to be the case in middlewares too, hm?
Nah, that'd be easy. Middlewares do not decrypt cookies. Took me around 20 minutes to figure out since you cannot echo data from a middleware either.
if(Crypt::decryptCookie(request()->cookie("pshield")) === "1")
FATAL EXCEPTION: String failed to serialize
**cue loud screaming after 30 minutes of debugging**
For some godforsaken reason, the Laravel framework requires you to not use the normal fucking cookie decryption function, but the one to decrypt text.
if(Crypt::decryptString(request()->cookie("pshield")) === "1")
I don't get why they didn't just make it expected behavior and I fucking hate how it looks.
It's about a guy that knows better.
I was working as a subcontractor on a bigger system. We (subs) were not allowed to deploy code, we had to wait for contractor to deploy.
One day I got an email that my code is bugged and that my feature is not working on production. I checked it on test env, everything was fine. Then I checked if the code I wrote was deployed. It was not.
I send an email explaining that if they deployed my code it would be working. Then I got a response. There was a bug in my code.
Another email. I asked how would they know? Do they have a test on their environment that failed?
No. There is one guy that READ my code and he said it should not work, so he will not deploy it. He was not a programmer, he was a business consultant responsible for the documentation.
His issue was that I used a function that was not in a class. So if the function is not declared it's obvious it will not work. I had to explain to him in another email, that you can use object of another class inside your class and then call a function, that is not in your class. It was the last time this guy blocked my deploy.
TL;DR, I had to explain a non-dev how object composition works in order to have my code deployed. Took four emails.4
Installed Visual Studio for easier C++ prototyping as it basically configures everything for you. Installed just basic things: compiler with headers/libraries and IDE support for the language. Try building for the first time... I see a huge list of standard headers missing.
WHY U NO HAVE ALL THE STANDARD HEADERS BUT HAVE ONLY A SMALL PORTION OF THOSE?!!!
PS: Installed Windows SDK and got all the headers.
If you fucking require a full Windows SDK for standard headers why don't you say so at installation time?!!!
Digital transformation is pain in the ass, my customer migrated project management from self hosted jira to atlassian cloud.
I am finally able to login to this new amazing jira that looks completely different but still nothing is optimized to laptop screen so looks crap as before.
My issues are now assigned to not existing user.
At least I remember how to use basic JQL and reassign issues to me.
I feel bad to other team members.
Great waste of time.4
Currently on the market for a new laptop for work.
I'm thinking of Asus Vivobook 15 with 12GB ram and 256 GB SSD config. I don't trust Windows and it's performance on HDD. Since I'm coming from Macbook, I would really hate having to wait about 5 mins for system to be usable after boot up.
Slightly tempted to spend more money and go for a gaming laptop for that I can play Spintires sometimes. But not sure if it's a good idea to have a gaming config laptop for work.
It fucking sucks that there is not much selection of laptops or even let you try demo of laptops that are put for display in the shops here.3
When you're working on an uni project with a fucking idiot who tests stuff with this kind of messages and then forget to remove them a few days before the deadline… fml.
I work at the frontend, he at the backend, so I shouldn't even have to check his code, but after seeing this I fucking have to.
Useless to say that he loaded these kind of placeholders also in the database.
So the admin name is "PieroGay", which is the name of the professor who will evaluate the project...
The worst thing is this bastard will graduate in 1 month, while I probably next year.28