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 - "pls no"
-
Last week:
Client: Hey sometimes when I sent about 20 messages to your app they need a long time to arrive. Why is your app so slow?
Me: We are using Google Cloud Messaging to deliver messages. There is no guarantee when messages arrive.
Client: So such a big company is the fault? And not you? Pls make it faster. Make it always act the same.
Working as a programmer is pain in the ass because the people with the money don't know a shit about anything.
I changed just a fucking useless string.. I deployed the "new version" and I told him I boosted everything.
Today he spoked with my buddy about another thing and he told him by the way the app is now much faster.
..placebo update2 -
Me and my father at breakfast.
Me: Do you wanna play Russian Roulette?
Father: I boot up Windows every day. I already live the risky life.3 -
The state of CS is a joke and I'm contributing to it.
I'm a final year CS student and like most students, I'm not exactly overflowing with money so any income helps. Now, it's not that uncommon for students to buy their projects but I swear a good 20% of people from my course don't know how to write a function. And let me remind you, they are in their final year, about to graduate, about to get their bachelor's degree in computer science and they don't know how to write a function, let alone a class, let alone piece together something that works.
I just want to say that no, I'm not proud of myself for doing other people's projects for money and letting such imbeciles pass. I'm fucking tired of sending over someone's project, them asking me to change something and me telling them to add an if statement to which they reply with "i don't know how, pls do it".
This is why having a degree doesn't mean shit anymore and yes, I'm aware that higher education has become more available over time.20 -
Spent my entire evening figuring something out (I'm new to this) and finally found a possible solution.
Got ready for writing test code, very excited...... aaaaaaand noticed its past 11pm so I've got to go to bed because work tomorrow
😥😭19 -
Warning: contains swearwords!
Do you guy's also have coder-"friend" that:
- Always asks how to do things
- ask for code snippets
- steals your fucking code from Anydesk
- steals your passwords while testing
- steals your code from deobfuscated jar
- steals your jar and deobfuscate it
- steals your database to store stolen passphrases
- tries to convince you to build RATs for your users
- tries to convince you to build RATs for his users
- and so on...
??FOR FUCKING REAL THIS ISN'T EVEN ALL THAT HAPPENED TO ME!
HE IS A FUCKING SUCKER CUNT! HE PROMISED ME MULTIPLE TIMES THAT HE DELETED MY PROJECTS AND TELLS ME HE IS STILL USING THEM TO RESEARCH MY CODE FOR HIS CODE!!!
HE FUCKING RECORDED ME WHILE CODING WITH AN API I AM NOT USED TO WHILE I ASK HIM FREQUENTLY BECAUSE I HAVE NO CLUE AND HE THEN SENDS IT TO HIS FRIENDS TO PISS ME OF AND LAUGH ABOUT ME!!
WHAT THE FUCK IS WRONG WITH PEOPLE WHY THE FUCK ARE ASSHOLES LIKE HIM NOT IN FUCKING PSYCHIATRY!
AND I CAN'T GET RID OF HIM BECAUSE I AM TOO FUCKING NICE!!
FOR GODS SAKE PLS LET A LIGHTNING STRIKE HIT HIM IN HIS FUCKING FACE!
AT FUCKING LEAST I GOT SENT AN IMAGE OF HIS ADDRESS SO I WILL SHIT IN A FUCKING BOX AND SEND IT TO THAT CUNT!16 -
Me: wow in really starting to love arch Linux, feels good to be away from Ubuntu!
Ubuntu: Yo! 18.04 is here!
Also me:2 -
My first rant, so pls don't blame me?. 🙈. No just kidding, but now the Story. A friend told me that he want to start hacking. But I know that he can't prog or use a PC. But I asked: "Can u program?" He: Yeah, of course!?". *Me wondering as fuck* Me: Where do u learned that?" He: "Watched YouTube Videos!" Me: "OK?, and what language du u want to use, and IDE?" He answered: "Language Arduino, and IDE what is that?". *Me facepalming and asking myself what dafuq was he watching and why is he trying to do things like that*11
-
🤔
I think "Velop" should be a word.
Velop - to break software
(velopers would be muggles/stupid users?)
This would give the word "developer" a new meaning.
No?
Okay3 -
I reversed engineered the network protocol for a game.
I uploaded the source code to GitHub and made a post on UC Forums.
I kept getting bombarded with messages from the same person, it went something like this:
Him: "I can't get this hack to work, pls send finish hack, thanks"
Me: "First of all this is not a complete hack. You actually need to know how to code to use this library."
Guy: "Ok, can u help me make hack for game?"
To keep this short, I basically told him:
"No. Look through the code, learn it, use what you learned."
Couple of hours later he replied:
"Ok. I look through code but don't know how work. Send me code pls."
From the kindness of my heart I made a extremely simplified wrapper for the already simple code and sent him the project files.
He replies with: "Thank for hack, I not able make it work. I build I try inject game but no work. How to run dll file."
At that point I gave up...3 -
So yesterday evening I was going to play some games. Checked NVIDIA and saw new update (no beta). So I went to install it and it literally fucked up my graphics card.
One monitor stopped working instantly and the other one got this old tv effect like when you had no signal.
Took me two hours to downgrade to my old drivers because I couldn't fucking see shit.
PLS NVIDIA DONT PUSH NEW DRIVERS IF YOU FUCKIN NOT TESTED THEM11 -
me, when someone yells at me for not able to resolve an "electronic" issue because I'm pursuing a computer science degree2
-
So in the 2nd grade of middle school.our classes had computers with projectors and teachers would present on them. At that time I was still a beginner in programming and knew some basic cmd commands, so before our teacher had come to class I went to the computer desk, opened cmd and then executed this command “shutdown -s -t 36000” which basically shutdowns the pc after 36000 milliseconds and then the teacher came to class and started explaining us a new lesson on a power point and half way through the power point the pc suddenly shutdowns and the class got wild. and no one admitted who did it so all the teacher did is to say” who ever did it pls don’t do it again”. Like wow...😂😂😂4
-
Game dev update: I'm procrastinating the project cuz I need help with stupid background and it doesnt mix well so Im just contemplating existence
But I did this for fun8 -
I wish there was a way to pay for devRant++ yearly. Since I have no card of my own that work outside of Sweden I have to pay my mom and use her card, which is a bit annoying to do once a month.
dfox pls fix.8 -
Can ppl stop bitching out about their ides not running smoothly with 8gb+ ram? I mean 8gb ram wise is enough, unless you have 20+ browser tabs open, watching some casual porn, downloading some more porn in the background and maybe running some benchmarks just for the sake of not letting your dollars go to waste...15
-
Wow, I just realized the marketing teams of most of the companies I have been dealing with are some cold sociopaths.
Every other letter that pops in the mailbox is filled with dark patterns trying to guilt me into opting in to their continued spam:
Subject: Most awesome husky puppy!
Look at this beautiful husky puppy. Isn't it beautiful.... It would be sad if something happened to it... But I am afraid... Something will happen to it...
If you don't opt in to our email message... I am afraid we have no choice... We have to kill this puppy. End it's life... We have no choice. I wish we did! Nothing would please us more than keeping this beautiful-beautiful puppy living and playing....
But if you don't opt in... We have to cut it's throat. Leave it lying on the ground, bleeding out as the life slowly fades away from it's pretty blue eyes...
And Remember: it's not us who killed it... IT WAS YOU! YOUR ACTIONS LEAD TO THE DEATH OF THIS PUPPY! YOU.... YOU FILTHY MURDERER!
Pls opt-in ok, then we are all good. Puppy lives! Just opt in. Ok? Yeah, you know what you have to do.3 -
No work experience: I'm gonna be the best programmer in the world. My code is beautiful. This is my passion.
After 1-2 years experience: just f@#$!ng work pls so i can go home goddamit i hate my life im hungry f@$!% everyone.4 -
Been sick since Wednesday with a heavy feeling of dizziness and vertigo (BPPV). Basically I got sick in the week I intentionally planned nothing to tackle my workload and get some stuff done, but I was physically unable to work on it until now.
Meeting is on Monday.
Also preorder my new book on O'Reilly, much appreciated.
(No, I am not panicking, pls send help)3 -
1. No paper-pen exams asking defination of OOPs.
2. Introduction of VCS (e.g. GitHub, SVN, etc.)
3. Introduction of new programmimg languages in the curriculum.(Pls stop with C/C++...there are 1000s of tutorial for that)
4. Give access to licensed software. (Especially in India we were forced to use cracked softwares).
There is a lot to change. But i think mentioned all the important stuff.5 -
I'm in a slack channel with our fellow devs as a side chat for downtime.
We get to talking about coding, and then it led to the tools of coding then it led to OS debate.
I said I use Windows because it's what I work the fastest with. Then out of nowhere, they start flaming me, calling me random boy and there's really nothing I can do about it, because the "elitests" keep piling on the list of why Windows is bad.
Why is it that when I go into a coding server and I link a Windows solution to said problem, I get flamed for it?
It's honestly like I can't use software without someone trying to dox me (even if that is a overstatement)23 -
I hate backendphobia! It feels like so common nowadays. People scare other people with backend being too hard and stuff, and that feeling of scariness is something that infects lot of people. Please stop fearing the backend!
Yes, some backend stuff can be hard, but there's no good reason to fear it. I just hate it when I go to a new team and they all seem to be backendphobics idiots. I've build enough backends to not give in to the fear, pls stop scaring people.11 -
Me as a sysadmin, and the devs approach with this:
hey "Linux", they network is stupid, the firewall is blocking the trafic from server1 to server2, pls fix.
The servers are on the same subnet with no firewall, so I log in to the servers and find out that their programs is not running.
This is something I deal with every day2 -
I just learned Javascript doesn't have tuples and nearly cried and/or vomited all over my keyboard. Pls no.12
-
Designers use plugin in WP to modify UI. CSS and JS is saved (somewhere?) in database. No version control. Changes are made across different envs at the same time and all need to be migrates to prod later.
Pls2 -
When I was in 11th class, my school got a new setup for the school PCs. Instead of just resetting them every time they are shut down (to a state in which it contained a virus, great) and having shared files on a network drive (where everyone could delete anything), they used iServ. Apparently many schools started using that around that time, I heard many bad things about it, not only from my school.
Since school is sh*t and I had nothing better to do in computer class (they never taught us anything new anyway), I experimented with it. My main target was the storage limit. Logins on the school PCs were made with domain accounts, which also logged you in with the iServ account, then the user folder was synchronised with the iServ server. The storage limit there was given as 200MB or something of that order. To have some dummy files, I downloaded every program from portableapps.com, that was an easy way to get a lot of data without much manual effort. Then I copied that folder, which was located on the desktop, and pasted it onto the desktop. Then I took all of that and duplicated it again. And again and again and again... I watched the amount increate, 170MB, 180, 190, 200, I got a mail saying that my storage is full, 210, 220, 230, ... It just kept filling up with absolutely zero consequences.
At some point I started using the web interface to copy the files, which had even more interesting side effects: Apparently, while the server was copying huge amounts of files to itself, nobody in the entire iServ system could log in, neither on the web interface, nor on the PCs. But I didn't notice that at first, I thought just my account was busy and of course I didn't expect it to be this badly programmed that a single copy operation could lock the entire system. I was told later, but at that point the headmaster had already called in someone from the actual police, because they thought I had hacked into whatever. He basically said "don't do again pls" and left again. In the meantime, a teacher had told me to delete the files until a certain date, but he locked my account way earlier so that I couldn't even do it.
Btw, I now own a Minecraft account of which I can never change the security questions or reset the password, because the mail address doesn't exist anymore and I have no more contact to the person who gave it to me. I got that account as a price because I made the best program in a project week about Java, which greatly showed how much the computer classes helped the students learn programming: Of the ~20 students, only one other person actually had a program at the end of the challenge and it was something like hello world. I had translated a TI Basic program for approximating fractions from decimal numbers to Java.
The big irony about sending the police to me as the 1337_h4x0r: A classmate actually tried to hack into the server. He even managed to make it send a mail from someone else's account, as far as I know. And he found a way to put a file into any account, which he shortly considered to use to put a shutdown command into autostart. But of course, I must be the great hacker.3 -
WHAT THE FUCKING FUCK. What is this dude talking about?! What am I doing with my life?!?!
Test what? What do I have to do? I didn't study this. I don't know what this API thing is. My life sucks. My job sucks. I suck. I'm stupid, because apparently knowing who or what this API is is essential for being a normal part of society.
I don't even.. oh someone pls kill me.
(No I don't want a detailed explanation what I have to do - I know this is not google and i wont understand it anyways and my husband will torture me with it in the afternoon. Just some sympathy for a finance person who has to deal with this would be nice)9 -
I read something LinkedIn -related just now in here, and it kind of made me think. Not really, but whatever it was, brought my mood down some...
It’s a good thing I’m not looking for work at the moment, and I’m quite happy where I am right now, because what I see in LinkedIn depresses me. More specifically, the language and/or framework experience companies are looking to recruit... Java this, Python that, React everywhere... and then there’s the M$ shops... (oh and Scala - surprisingly much Scala, waduheq?) Urgh...
Don’t take it wrong, I totally understand sticking to the tried and tested tools you just know there’s devs aplenty who know their way around them. It’s just from the perspective of someone who prefers to use one of the better tools for a job, it breaks my heart to not see them utilized more, and it makes me think what I would do if I was fired rn? (Unlikely, but theoretically...) Tbh, I don’t know. Probs apply to one of the few F# jobs out there, even when I knew I’d probably have to work on a Windork machine again (pls no), but due to the drawback I just mentioned, not such a bright prospect after all...4 -
Today morning my sales manager calls me and tells there is a bug in one of the integration module and he tells the client has called us yesterday pls come early to office today and fix it. I asked which end point they have issue, he replies I don't know. I don't know what is the bug where is the bug, but there is a bug when they send data to us, pls find and fix it before 11 am. The worst part of this is that integration module I never worked on and the person who developed it has left the company long before and there is no documentation. when I go to that folder I see many controllers and many end points. now how will I figure out the issue 😂 I don't even know the work flow of that integration. the bug reporter (my sales manager) don't even know at what end point what issue happened.1
-
Can somebody please explain to my boss that using a progressive loading bar when you've got no metrics to base the progression on is stupid. Pls.3
-
When your client tells you "it should just be like the other thing you did" and it turns out that it is completely different from the other thing you did in every possible way.2
-
We've all seen bad code in our time. The code I'm currently looking at needs to die horribly in a fire. In fact, that doesn't even seem extreme enough for this monstrosity
-
I started noticing something about startups here. They all think they r innovative and full of fresh ideas, but they all just copy bigger companies. My old coworker started a small web dev company and they are using php with react, the company ladder is the fucking same as anywhere else.
I noticed these as i was collecting ideas for a company (if i write that word again pls shoot me). So far we are thinking
0) no, or minimal local storage, we would have a github subscription, jira cloud, vps
1) no strict hierarchy, ultimately the ceos would make the decisions but in every meeting we would include even the interns
2) the stack would not be set in stone, java spark and vuejs are good starting points but frameworks exist to serve a purpose
3) like 2-3 days office time per week, if someone wants to work from a café, why not2 -
I am here on devRant now for a while. Althought, reading amy of your stories and taking care of websites is not what I usualy tend to do, I started doing it as a favour for a friend of a friend.
Baaad bad decission :-(
"pls, dis is urgnt! uplood dis pics asap on page"
*mail notification*
*face palm 1* because who sends pictures by mail these days ... I like my 50MiB Inbox, dont spam it with garbage!
*opening mail - lists attachments: 1 file, ~900KiB* ok whats happening now?
*facepalm 2, 3, 4, 5, 6, 7, 8, 9* (10 if there still would be a face to palm on)
the person seriously send me the pictures in an attachment, within a pdf document that was created with MS Word.
No - Just NO!
I should have known better ... sooo much better :(6 -
Alright sit down boys this is gonna be a good tale (also a long one).
I'm currently developing a wordpress site for a Client. Everythings works well enough, I had a few "wtf is this shit" moments. Now we decided to give him access to the wp site so that he can see and change (I know, I know don't judge me pls), so I set up tunneling with ngrok, but that PIECE OF SHIT WP DIDN'T WORK ANYMORE. You asking why? Oh I'm telling you why, wp uses ONLY absolute paths. Well fuck, I ain't gonna touch that piece of shit php code, so I installed a plugin and shit was working.
In short, after a few fucking HOURS that shit finally worked. Well that would be a great fucking end for our little tale right? Yeeeeaaah no, I shit you not, it gets even better!
After a few days my client gets back at me that he can't enter fucking wp-admin to work on the text an stuff (again pls don't judge me for granting him access to the backend of wp during development). So I checked it out and that piece of shit didn't work. If anyone would happen to know why, I would be grateful bc for the love of spagetti monster I HAVE NO FUCKING CLUE!
So I said to myself well fuck this shit and put it on a webhoster. Uploaded all the files, and migrated the db. Sounds like it finally worked right? Well guess again buddy. So I needed to go to the database, updated values manually for wp to have the correct url and then still needed to force it to refresh every fucking link.
As it finally works now, this tale is also finished then and I really hope that part 2 is never ever comming!
Sorry for the (somewhat) long rant but this is some next generation bullshit. -
just woke up in the middle of the night dreaming of merging some branches after working a 16 hour shift straight because my company is too fucking broke to hire another freakin' dev...
well fuck it who needs sleep at all! let's get some coffee...undefined coffee to the rescue no sleep oh god why cheap ass company shitty monolithic java crap fml pls stahp2 -
You know shit is going to hit the fan if the sentence "c++ is the same as java" is said because fuck all the underlying parts of software. It's all the fucking same. Oh and to write a newline in bash we don't use \n or so, we just put an empty echo in there. And fuck this #!/bin/bash line, I'm a teacher. I don't need to know how shit works to teach shit. Let's teach 'em you need stdio for printf even tho it compiles fine without on linux (wtf moment number one, asking em leaves you with "dunno..") and as someone who knows c you look at your terminal questioning everything you ever learned in your whole life. And then we let you look into the binaries with ldd and all the good stuff but we won't explain you why you can see a size difference in the compiled files even tho you included stdio in the second one, and all symbol tables show the exact same thing but dude chill, we don't know what's going on either.
Oh and btw don't use different directory names as we do in our examples. You won't find your own path, there is no tab key you can press to auto-fill shit.
But thats not everything. How about we fill a whole semester with "this is how to printf" but make you write a whole game with unity and c#. (not thaught even the slightest bit until then btw)
Now that you half-assed everything because we put you in a group full of fucks who don't even know what a compiler is but want to tell you you don't know shit and show you their non-working unfinished algorithms in some not-even-syntax-correct java...
...how about we finally go on with Algebra II: complex numbers, how they are going to fuck up your life, how we can do roots of negative numbers all of the sudden and let you do some probability shit no one ever fucking needs. BUT WHY DON'T YOU KNOW EVERYTHING ALREADY HMMMMM, IT'S YOUR SECOND LESSON, YOU WENT TO SCHOOL PLS BE A MATH PRO ASAP CUS YOU NEED IT SO MUCH BUT YOU DON'T NEED TO KNOW PROPER SYNTAX, HOW MEMORY MANAGEMENT WORKS, WHAT A REFERENCE IS AND PLS FINALLY FORGET THE WORD "ALLOCATION" IT DOESN'T PLAY A SINGLE ROLE YOU ARE STUDYING SOFTWARE DEVELOPMENT WHY ARE YOU SO BAD AT ECONOMICS IT MAKES NO SENSE I MEAN YOU HAD A WHOLE SEMESTER OF HOW TO GREET SOMEONE IN ENGLISH, MATHS > ECONOMICS > ENGLISH > FUCKING SHIT > CODING SKILL THATS HOW THE PRIORITIES WORK FOR US WHY DON'T YOU GET IT IT MAKES SO MUCH SENSE BRAH4 -
How to convince someone that it's not helpful to delete apps running in background (RAM) on an android phone? it's like a habit for that person😌
says phone will explode with too much RAM being used and don't want apps run in background ... 😥
pls help for arguments16 -
Just opened a project that I'll be working on for work, first thing I notice is C++ like code formatting, which hurts my eyes (keep in mind this is Java)
But then decompiled Hybris classes came at me with not only that, but three newlines between methods.
I fear what I have yet to see...4 -
**Attention @johnmelodyme and all AltRant testers**
I just pushed a quick bugfix update to AltRant, in the hope that it will fix the crashes that were reported. I felt like the app's dodgy situation wasn't up to my standard of quality so I worked as fast as I could to fix the issues, as people are actually starting to prefer my app over the original. Please make sure to perform a full reinstall of the app before continuing, because I actually wasn't experiencing the issues described in my initial testing before releasing the update that needed fixing.31 -
Convo b/w female software engineer and her boyfriend;
him-Hey babe
her-Hello world;
him-??
her-Ohh no, I meant to say hy babe, actually u r my whole world;
him-Ooo pls!...wt were u dnh anyways?
her-been doing coding for last 12 hrs with boss;
him-gosh!! ...did u eat?
her-0;
him-??
her- I mean false;
him-false?
her-sorry , I meant no;
him-ur mom called , so call her
her-mom();
him-WTF?????
her-I will call her...dont worry;
him-I think u should rest for a while
her-while(project!=over) {work();}
him-U r enjoying this...irritating me...aren't u?
her-what? :)
him-When will u come home?
her-if(boss==leaves){cout<<"soon"<<endl;}
him-Now its too much...its really annoying...are u getting me? Have u lost ur mind?
her-ERROR 404....mind not found!
him-u do realise...I m not getting any of ur jokes
her-JokeOutOfBoundException
him-Are u drunk? How many eyes do I have?
her-1
him-Idiot , I have 2 eyes
her-oh sorry I counted from 0
him-i think we should break up
her-oh no!!, dont break; continue;
him-thats it, urBF.exit()
her-No wait..... ; is imp , write like....urBF.exit();3 -
If employers see my devRant profile, I hope they don’t think too hard about this rant: https://devrant.io/rants/705145/...
-
Apparently there is still moderation on here, yesterday someone got doxxed (pls no extra info in the comments) and the guy actually got banned. Thanks @dfox33
-
Windows 10 insider preview had a critical bug like half a year ago where most browsers would freeze the PC. I've reported it multiple times but my feedback didnt get any attention. The bug made it to production months later...
Now, the story is repeating. I've discovered a bug. Everytime there's a software update for apps that with a built-in updater in the main .exe (JetBrains IDEs, VS etc.) the updater fails, program is corrupted and needs to be reinstalled. For instance, there's a minor bump in Android Studio version, if you try to use autoupdater it will corrupt your Android Studio and you'll have to reinstall.
Been trying to reach out to them but the only "real issues" that are highlighted are "no CPU temp in task manager" or "pls improve automatic problem resolving"
Why the fuck do you even have a feedback program if you're ignoring the people who are reaching out to you, you pieces of shit4 -
I'm interning and working on something above my skill level and it works for the most part but I think I may have done it completely wrong for like the past week :') everyone is on paid vacation and I'm just sitting here like a baby bird with a broken wing
"halp"
Pls no anger if it doesn't do exactly what it is supposed to. I am frail.2 -
I fucking hate those cringy Indians commenting dogshit on almost every youtube video. Never have I even seen anyone more dumb than these retards. Almost every programming tutorial on youtube is infested with "plese sir pls teach me hw to hck i wnt to be a hckr" and "sir my phone no is xxxx and my email id is xxxx send me the cod plz". I mean even on css tutorial videos? seriously? No other third world country has such boneheads. I just hope each and every retard like this drops dead the moment they write stuff like this.14
-
I swear, I started yesterday windows once for some guilty gaming. ONCE
Tried to connect Bluetooth headset
-> BSOD on the first try. Fuckn os can't handle shit
Works second time.
*Execute guilty_gaming.exe*
*Finish gaming business*
Want to shut down windows
"oh, I can only shutdown if I install your fucking update? Well fuck me pls no delet pingu partition
Next day. Pingu is alive. Wanna connect headphones.
* Connection: yes
* error.Failed
* Connection: yes
Fuckn ok, does it still work in windows?
Spoiler: fucking no! Very cool. I didn't there would be a better waste of time than gaming, but windows always fund a way to fuck you shit up.
Windows vista was less of a pain, windows 7 a nice memory and this is just an abortion fucking kept alive for the proving god that human can create a better hell for people than lucifer could ever imagine.
Way to go windows, I appreciate MacOS now1 -
So, I recently switched from a windows laptop (XPS 13) to a macbook pro and my friend has been bugging me about whether I'll ever go back. He is a wannabe frontend developer and wants a windows laptop. No matter what I tell him, he seems to have tunnel vision. What are your thoughts on this? And what is your personal experience with Windows vs Apple for development?
(Pls don't kill me, it's my first post on devrant, thnx)15 -
Client be like:
Pls, could you give the new Postgres user the same perms as this one other user?
Me:
Uh... Sure.
Then I find out that, for whatever reason, all of their user accounts have disabled inheritance... So, wtf.
Postgres doesn't really allow you to *copy* perms of a role A to role B. You can only grant role A to role B, but for the perms of A to carry over, B has to have inheritance allowed... Which... It doesn't.
So... After a bit of manual GRANT bla ON DATABASE foo TO user, I ping back that it is done and breath a sigh of relief.
Oooooonly... They ping back like -- Could you also copy the perms of A on all the existing objects in the schema to B???
Ugh. More work. Lets see... List all permissions in a schema and... Holy shit! That's thousands of tables and sequences, how tf am I ever gonna copy over all that???
Maybe I could... Disable the pager of psql, and pipe the list into a file, parse it by the magic of regex... And somehow generate a fuckload of GRANT statements? Uuuugh, but that'd kill so much time. Not to mention I'd need to find out what the individual permission letters in the output mean... And... Ugh, ye, no, too much work. Lets see if SO knows a solution!
And, surprise surprise, it did! The easiest, simplest to understand way, was to make a schema-only dump of the database, grep it for user A, substitute their name with B, and then input it back.
What I didn't expect is for the resulting filtered and altered grant list to be over 6800 LINES LONG. WHAT THE FUCK.
...And, shortly after I apply the insane number of grants... I get another ping. Turns out the customer's already figured out a way to grant all the necessary perms themselves, and I... No longer have to do anything :|
Joy. Utter, indescribable joy.
Is there any actual security reason for disabling inheritance in Postgres? (14.x) I'd think that if an account got compromised, it doesn't matter if it has the perms inherited or not, cuz you can just SET ROLE yourself to the granted role with the actual perms and go ham...3 -
I was thinking about switching to Dvorak but then I learned that there are no significant study that it really does improve typing speeds. I don't feel like switching for something with so little gain and I return people will look at me like i'm hermit hipster. I mean they're doing that already. I don't have friends. Pls send help4
-
ok found the object orientated guide but for rust which is functional spaghetti: https://howtocodeit.com/articles/...
it has moved into architecture
... and actually makes a good case for interfaces / traits. generally in languages I just used generics to get around limitations of having to type a lot / duplicate code, and I'd remove interfaces because they're annoying to have to deal with, but I can see this be useful for once now.
like you can start a prototype app with files as a database then move to a small database type then later a more monolithic big data one and all that would be through one trait the whole time. so you could anticipate natural progressions of an app, instead of having to build the last version you can put jank behind interfaces and then switch things in and out to test new technologies which does actually give me a lot of relief for my newfound anxiety of me rewriting my rust codebases because I get some small things wrong. I've been coding in circles due to it and I have several saved files that are out of date now but I don't want to delete and they make the compiler mad cuz I had no interface boundaries as such and now stuff has changed somewhere else in the app and by God pls argh
this also means you can code "top-down". in carl Jung typology that's Te and most programmers are Ti-types so they do the little details and then sort of glue everything together (?) but not everybody thinks this way. I naturally think more top-down, which works for more dynamic languages and is annoying in static languages because then you're just fighting semantics and your earlier work the whole time (actually this is a surprisingly good write-up on the different thinking types: https://bothsidesofthetable.com/the...)
wheeeee -
I need a life advise - pls share your wisdom!
I have my first client located in the US. He wants to pay with a cashier's check and I have no idea how that works. How do you European or even german freelancer are getting paid by american clients?10 -
ANGULAR 5 HELP REQUEST
Does someone know why tf router.navigate doesnt initalize the given component in Angular 5?
Stackoverflow doesnt provide the required answer...
The component is called (and works) if i reload the page on the correct url. Even the URL in the adressbar changes on router.navigate.
pls no h86 -
Why do you think restarting the device mostly works? Be it phones, laptops or routers.. No real answers pls.. Let see how much creativity we can get 😅4
-
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
-
Im sad my fellow programmers, hit me with you love stories, good or bad. Everything will do...
I know this has nothing to do with programming pls no report....11 -
I don't like classes and I will fight anyone that over uses them for no logical reason what so ever !! 😐6
-
wrote dumb threading and sockets system to make a bunch of https calls
extracted the working code into nice objects and methods to make it look sane and so I can re-use the code for more complex functionality that builds on itself
now suddenly the threads are locking and not multi-threading anymore
turns out?
the http(s) library expects the tls / https thing in an Arc / atomic reference count
but despite Arc being literally intended and designed for threadwork it seems the library in question throttles / locks itself if they are all using the same Arc (I don't even know how that is possible?)
if I clone the tls / https thing, no throttle / lock issues 😒
why did they even try that lol, they didn't test?!
I really didn't expect to be better at multi-threading than others already. I'm newbie. pls6 -
Am so tired of this..someone help..hv been settig temporary env variable each time i open a new terminal..i hv editted .profile and .bashrc yet no way..i want a global permanent setting..pls help!!!20
-
!something annoying
I've always had this in the back of my head, and off lately it's eating me alive.
Why don't we just rename python3 to python and Python to python2?
no I'm not gonna alias it in my shell. I'm talking about renaming them in all the distros.
there've been talks about renaming python3 to python and marking it as the default for quite long, but nothing has come of it yet.
I get that a lot of shit is gonna go down if this happens rn, systems breaking, migrations, panic, a lot of systems still working on python2 but we need to migrate.
we've also been hearing a lot of speculation about "Python 4", from earlier this year.
WHAT IS HAPPENING UGHHHH
pls revolution now7 -
can option pls override or operator
this is stupid
say no to
let branch = branch.unwrap_or(config.branch.unwrap_or("something".to_string()));
say yes to
let branch = branch || config.branch || "something".to_string();6 -
I WANTED LINUX BUT IT DIDN'T WANT ME NOW I'M ALONE AND IT FRICKNNN SUXXXXXXXXX PLS LORD NO NO NO NO NO AAAAAAAAAAAAAAAAAH peace and love3
-
Do apk's keep record of IDE's that was used to develope them.
Pls show your sympathy for a poor dev like me.
A 400 level student in computer science came to me to develop a mobile app for his final year project, i decided to take the deal. i used react-native to build the app. when i finished the project the aim was achieved but then came the biggest stupid question "which IDE was used for the project?" i answered vsCode. then he said "The IDE i was supposed to use was Android studio" i told him that is not a problem i could use any IDE i prefer its all the same all i need to do is set up the enivronment and he answerd "i have failed my project" he lamented i asked why and he said because his lecturer said the apk must be generated from android studio. i understand that the problem was not because i didnt use pure java(android) or because i used react-native(java(android) but because i didnt use android studio to build the app . i began to question my knowledge "do apk files keep record of ide that was used to develope them? pls help me maybe some apk do. i didnt know how to convince him everything was ok because it seems he is not technically incline he just one of those guys who are taught programing on the white board not on a computer and have no real experience. he later accepted to submit the project like that since the dead line is close and hope to see a fat F on his result but later told me he got an A in the project.5 -
When employers expect high end developer results but only supply basic tools, training, and resources... “Doing your best” can only get one so far when deadlines are always in the air and research time is limited. Pls no.
-
I start my new internship in a week. Its Java (springboot), angular, and the most popular testing tech for each. I know some of each, and no testing. PLS HALP. Want to impress.11
-
Give me a job pls im starving. Im a ML Engineer, no ones want to hire me. I will be eternally grateful :/5
-
I got a new babe today, Lenovo Yoga 550, i7, 256 SSD...hw do u advice I utilize.. should i partition and have windows OS and my sweet Ubuntu & Arch linux(s) on d base or just vm them on windows..cuz honestly if not for few wares, i hv no business with windows..pls advice.3
-
So here is a mini rant from an amateur/hobbyist developer (me).
Over the past week, I've taken on a project that is much larger than any other projects i've attempted to handle (steam trading bot). This meant that there would be logic flaws, weird bugs due to unexpected behavior from shitty web apis (and their poor documentation hmmmm).
Anyhow, fast forward a few days and the code is complete. It's mostly functional, apart from a few glitches and unexpected behavior here and there...or so i thought. Apparently if someone trades and item to me that isnt in my pricegrid, the bot freaks out and kills itself, relaunches, and repeats this cycle (pm2). And i only found out about this on my way to school
So in desperation to fix such a critical flaw in my code (if my bot breaks a lot and doesnt accept trades, i can get banned from backpack.tf), i bust out my only device which is my phone, and start editing away (JuiceSSH and turbo client is godsend ty). 30 minutes later, after toiling through code with no indentation or syntax highlights (mobile pls), ive fixed it. So i push to live and alls well.
Then I arrive at school, pull out my laptop and decided to check up on my code to see if anything needs fixing.
Oh look in one line i used '||' instead of '&&'.
ok lets fix it.
ok lets push to live again.
I launched WinSCP to move the files onto the server, and just as the loading bar finishes and the file is overwritten, i realized; FUCK the code i had on my laptop wasnt the latest version i just worked on on my phone.
So that's that. 30 minutes of typing code without indentation and syntax highlighting on a 5 inch screen and it's all gone.
TLDR:
Version control is a must. -
Fuck its le craxy bean man monster fuck dude shit fuck my pants i mean pls no but go away bwan man monster bubbbbbbs dsmdlkdbs :'(((((((((-(((-(-(-(-(-?-?-?
peace *@* -
!rant
//serious
My Android Studio has refused starting up. Problem started after I downloaded v3 which is unstable and thought it could co-exist with v2.3. It messed up my project on v2.3 but I managed to fix it.
Then I did an upgrade on the same v2.3 then everything went south⬇. Now it doesn't start. I've tried changing environment variables for Java. Uninstalled and reinstalled but no luck.
Pls, how do I remedy this?
N.B: right now I am installing IntelliJ as an alternative1