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 - "gir"
-
API Guy.
He has a serious regex problem.
Regexes are never easy to read, but the ones he uses just take the cake. They're either blatantly wrong, or totally over-engineered garbage that somehow still lacks basic functionality. I think "garbage" here is a little too nice, since you can tell what garbage actually is/was without studying it for five minutes.
In lieu of an actual rant (mostly because I'm overworked), I'll just leave a few samples here. I recommend readying some bleach before you continue reading.
Not a valid url name regex:
VALID_URL_NAME_REGEX = /\A[\w\-]+\Z/
Semi-decent email regex: (by far the best of the four)
VALID_EMAIL_REGEX = /\A[\w+\-.]+@[a-z\d\-.]+\.[a-z]+\z/i
Over-engineered mess that only works for (most) US numbers:
VALID_PHONE_REGEX = /1?\s*\W?\s*([2-9][0-8][0-9])\s*\W?\s*([2-9][0-9]{2})\s*\W?\s*([0-9]{4})(\se?x?t?(\d*))?/
and for the grand finale:
ZIP_CODE_REGEX = /(^\d{5}(-\d{4})?$)|(^[ABCEGHJKLMNPRSTVXY]{1}\d{1}[A-Z]{1} *\d{1}[A-Z]{1}\d{1}$)|GIR[ ]?0AA|((AB|AL|B|BA|BB|BD|BH|BL|BN|BR|BS|BT|CA|CB|CF|CH|CM|CO|CR|CT|CV|CW|DA|DD|DE|DG|DH|DL|DN|DT|DY|E|EC|EH|EN|EX|FK|FY|G|GL|GY|GU|HA|HD|HG|HP|HR|HS|HU|HX|IG|IM|IP|IV|JE|KA|KT|KW|KY|L|LA|LD|LE|LL|LN|LS|LU|M|ME|MK|ML|N|NE|NG|NN|NP|NR|NW|OL|OX|PA|PE|PH|PL|PO|PR|RG|RH|RM|S|SA|SE|SG|SK|SL|SM|SN|SO|SP|SR|SS|ST|SW|SY|TA|TD|TF|TN|TQ|TR|TS|TW|UB|W|WA|WC|WD|WF|WN|WR|WS|WV|YO|ZE)(\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}))|BFPO[ ]?\d{1,4}/
^ which, by the way, doesn't match e.g. Australian zip codes. That cost us quite a few sales. And yes, that is 512 characters long.47 -
Okay, time to delete my old Skype account
1. Enter Skype name
2. Reset password
3. Captcha
4. Complete email
5. Enter email code
6. You are logged in now, please complete your profile first
7. Enter birth date
8. Add your phone number or second email address
9. Create new outlook mail
10. Got access to profile settings
11. Click on delete profile
12. Stop please first verify your email again
13. Enter code
14. Check all checkboxes that I am really sure to want it deleted
15. Click delete button
Fuck hell and that all again for my second account7 -
IT Manager: What kind if attachment did you send me in that email?
Me: A .zip?
IT Manager: ...?
Me: A zip file? Zipped Folder?
IT Manger: ...?
Me: Umm... the data file you needed has to be sent in a zip folder because 6 different file types combine to make it? Just download the .zip and extract?
IT Manager: I don't know how to extract the files?
Me: ...14 -
Stupid tech guy: "You should use Windows, it's bettter"
Me: "No i quit Windows and use Linux"
At the end of the day he updates Windows and got a BSOD...
I laughed and walked off8 -
Installed Ubuntu Linux on my cousin's PC... Age 12... He starts earlier than me... :/
But I'm proud of him :)8 -
IT Requests:
"I need (insert vague IT related need), because otherwise we can't do our job."
- What have you been doing up until now?3 -
What is this, windows?? how am i, the software publisher, supposed to change this if you don't bother to give a proper fucking error? whoever created this, i hope you die choking on a goat's intestines10
-
Tl;Dr: Client-side validated online test
Some stupid questions in an online test.
Not all of them were coding questions, but all (yes ALL) were client-side validated and to solve the tasks all I had to do was to copy one array into another and set the time I needed for that task to a legit number.
Well at least it was an online test that doesn't required 3hours.2 -
Lecturer who is supposed to be teaching us to program somehow cannot debug his own code, instead I am telling him how to fix it... 🙈3
-
> creates new PR for open source project
> runs tests locally before pushing
> pushes
> waits 8h (not kidding) for appveyor checks to complete
> tests failed
MOTHERF- -
Trying to write more commit , so that i can stay top in github project chart with less real code be like....
Git commit -am "added p in code"
Git commit -am "added r in code"
Git commit -am " added i in code"
Git commit -am "added n in code"
Gir commit -am "added t in code"
Git commit -am " gave the proper indentation to print"6 -
Having a co-worker who I consistently must support with using the basic funionaity of our software, getting me dragged in to a senior management meeting to tell me and my boss that I am too incompetent to do my job. All because something out of my control was taking longer than they would have liked.
This same co-worker deleted a folder on a server full of live data because they "wanted to see what it would do" then wondered why I revoked their Admin rights to that folder.
I want to scream at them every day.2 -
This gem of a game. Partly cause i'm a contributor, partly cause i'm a space junkie.
Is this advertising? maybe.
Am i in love? definitely.7 -
Do you know this?
You are the small guy, you are dancing the whole evening with a girl and then a big asshole comes around, h
Judges you and want to be better that you?
Than je comes and insult you?
Damn that's the moment, when self defense save your life. :)
He tried to punch me, but then underrated my skills 😌
Ohhh man I love karma😌🤗7 -
An intern who tries not to show that he doesn't know shit has been asked for fun:
"What's the difference between a pointer and a thread?"
He answered: "I don't know, I am not experienced enough in oriented object programming".
Seriously. Bullshiting has gone too far.3 -
Me: Brooo, We did it last night!
Friend : Which base did you get to?
Me : Hbase
Friend: Ha, doope!4 -
A manager who felt that it was okay to come and speak to me about something that they were unhappy with in my conduct towards a member of our team, in a public place, loud enough for others to hear.
The conduct that made the manager feel the need to do this was my response to something another team member asking me to do. I had a lot on my plate with work, and had been given at least 3 additional tasks already in that meeting and my response to having to do yet another thing for this other team member because they "hadn't any idea what to do" was simply that I was quite busy and if it wasn't high priority it could wait one week as I have 3 other higher priority tasks that week to do. This resulted in me getting a warning and in a very public place.
Shouldn't have let it get to me the way it did, but the stress I was under and the way in which it was conducted just broke me and I cried. That nearly pushed me to leave my job and industry entirely.6 -
"Linux is shit because nothing works on my new DOM 2017/2018 laptop!"
Yes it's true that nothing will work if you put your finking ubuntu 14.04 installation with a fucking old 3.13 kernel in your new Laptop!
Update. Your. Fucking. System.6 -
I have just started learning C# having previously known only Python. It's a learning curve - why is there so much syntax!? 😬18
-
Conclusion for this week:
Arrrgggh I worked so fucking long...
Thanks EU, FUCK ARTICLE 13,
FUCK EU, FUCK POLITICIANS, FUCK ALL!
PYTHON WHY THE FUCK, WHAT THE FUCK, HOW AND WHY?!??
FUCKFUCKFUCK
Have I missed something?6 -
Cannot believe I am paying for a course with a lecturer that doesn't even teach the students what a foreign key is, or the concept of a join table to breakdown many-to-many relationships in a database. Literally telling me "If thats how you interpreted it, it's ok to add that in, but you dont have to." In relation to adding a new entity into the ER Diagram as a join table.
It isn't up for interpretation, you are literally joining tables based on foreign keys that will create duplication and make no sense. I mean, you are teaching people who have likely never worked with DB's before... you cannot teach them this. 🤦♀️1 -
After the number of times I have mistyped "git" as "gir", I kind of want an octocat based on Gir from Invader Zim.2
-
I dread the day that Slack has a “... has read this message 2 seconds ago” feature. Please Slack, continue letting me pretend I haven’t seen that message that I don’t want to reply to.2
-
A manager who asked me to research and produce documentation on findings on a new system upgrade we could apply. Report on the risks, the amount of resource and time that would be needed etc. And the benefits of upgrading. Then after recieving the documentation and taking 1 month to read it, refused to make any form of decision without asking managers 2 levels above them who respond with "It is your decision". Then deciding it's best not to upgrade at this time. Okay, no probs.
6. Months. Later. That thing I said I didn't want you to do? I want you to do it now, could you get that done by the end of the week seeing as you have done the research already? Oh yeah and I will be off for the next two weeks as I am off on a ski holiday, so good luck with that. -
I have always believed that clean code is readable code, and if your code is readable, then it shouldn't require masses of comments to explain it. However, in the course I am being taught, we are being told that in programming, comments are massively important to help another developer understand your code and what it does. So what is the consensus of the dev community?
Do you feel comments are key, or redundant if your code is written well?20 -
Bjarne Stroustrup & Linus Torvalds.
Amazed by how much they've influenced the current setup. C++ & Linux were few of the best creations after computers themselves.
:)7 -
Ffs. Am I sick or is it normal that after almost a year at current company, I still love it and have nothing to rant about? It makes me happy and sad at the same time that i have nothing to rant about and this is the only rant i can come up with5
-
1) API Server crash due to Uncaught Error and none of us realised it until 30 mins later (no email alerts, no mechanism in place to notify devs): expensive mistake
2) api server and database server on one frickin vps, with no caching mechanisms or memoisation on frontend: Worst nightmare of my life5 -
This summer, i will have all the time in the world. I will be finally free (as in, alone at home). And, most importantly, i will have a months old kitten to take care of.
I'm so excited.13 -
For the very First time, I am gonna take my Environmental Science exam Online.
Writing the effects of deforestation and how to protect trees and how people doing bullshit to forests, blah blah...in the paper actually made me guilt.
Thanks #lockdown for some of the positive changes.2 -
just bought (rented) my first dedicated server, for flipping 10€/month. let's see how it goes! boy, am i excited for my new toy...5
-
Finishing what I thought would take days in hours all because of focused coding sessions. Realised I procrastinate way more than I should😂1
-
I have set up a raspberry pi and screwed it with some switches and buttons to the wall next to my bed, so I don't have pick the remote which lays on my shelf...
The pi handles the buttons and switches and sends infrared signals to TV, stereo and receiver ^^1 -
No idea how I ended up here. So basically started with simple wordpress websites, transitioned to react. This move was the hardest.
Then caught up on node and mongodb. And before i knew i was doing db, backend and front end tasks. Now i know bits and pieces of everything
I don’t like the term “full stack dev”. I personally feel like I’m a Jack of all trades and master of none. There’s so much to learn if you’re a full stack developer. Endless possibilities, endless rants and endless frustration 🤯 -
Checking out a project on GitHub:
> Using advanced condition-based AI logic, Compactor can skip over files that have been previously found to be incompressible, making re-running Compactor on a previously compressed folder much quicker.
> (Yes, it's an if statement and a trivial hash database, hush)2 -
ARE YOU F*CKING KIDDING ME, WINDOWS?
I finally give in and install your stupid ass update, and what happens? let's just skip the part where i sit around for 30 minutes because apparently it takes 30 fucking minutes to install 300MB - by stallman's underpants, that's 150KB per second!
and when windows FINALLY feels like it has finished fondling it's binary-balls, what is waiting for me?
about 10 stupid-ass data-consent notices straight from satans anus, more weird yes-or-maybe settings for cortana (bill gates' ex or whatever that is) which i don't even USE, my browser speed dial has been complemented by about 7 links to SHOPPING SITES and once i sort that mess out i get a notification that the german language pack has successfully been installed.
SUCK MY FUCKING D*CK MICROSOFT, the ONLY thing i want to do with that language pack is SHOVE IT UP YOUR ASS. i can't even uninstall that moronic piece of shit. FUCK YOU.2 -
-- Best --
> Submitted my notice of termination for my current job
> Found a new job starting next year
> Can switch from Windows to Linux/MacOS in new job
> Got more time to work on personal projects due to the pandemic
-- Worst --
> Huge amount of software restrictions (current job) almost got several projects at work canceled. Maybe its important to say that the core business of my current workplace is auditing so there are a lot of law regulations which then apply in the softwaredevelopment process.
> New managers that do not have the slightest clue of what they're doing
> Online Teambuilding events
> Absurd amount of segmentation of tools and also different coding guidelines that are used at work. E.g. one team uses jira, another trello, another github issue tracker and so on. -
Hired as a junior full stack when I didn’t know shit about frontend. Ended up taking care of full stack on both mobile and web. Quit 6 months later due to burnout
-
On the days when I just want to sob and put my head through the monitor....
I get out a piece of paper and draw my processes (whether that be code or mapping etc). Each step of each process, helps to represent the input and output of each method.
This makes it easier to find which step isn't giving the desired output....
Either this or the rubber duck method. :) -
The ability to automate my day, create my own apps and modify open source ones to fit with my conditions :)
-
Part of my job requires me to use SQL in SQL Server and databases and Python and utilising Javascript APIs - so I was thrown in at the deep end. But my fiancé is also an amazing help as a software engineer he helps to spot my errors and encourages me to take on new challenges.
-
When the server doesn't recognise a folder it hosts locally... even though you have mapped it every way you can think of. Hello! This is your own drive!? Didn't anyone ever tell you you're name? 😣 #Server #ArcGISServer #HowDoYouNotKnowYourOwnName4
-
Ouuu today I experienced how web-devs must feel...
Task: create a form to answer questions with yes/no and a database behind it to collect stats.
So login to phpmyadmin
1. Wrong password got error message
2. No error message, still at login screen, but in address I see a token
3. There must be something wrong
4. Reinstalled phpmyadmin and mysql-server several times, wasted one hour on it - still stuck at login screen
5. Tried different browser and it fucking works!
6. Realized that cleaning cache fixed it...1 -
"What you mean I have to get a log on for a sequel server? What's a sequel to a server?"
#IDontDoICT #CodeIsntMyThing #ServersAndSQL #GISConsultantInICTServices #ArcGIS -
be me, just casually watching a cs:go fragmovie. there's always 10 seconds of ads before those, so i use the time to sip some coffee. at that second, i hear the following words..
"The first ever blockchain gaming marketplace in history"
...now i need to clean my keyboard. -
ESRI's ArcMap...
Run a geoprocessing tool, now don't dare move the map, or click ANYWHERE on the interface! Don't even breath on the mouse pad! Oh... wait... too late... "ArcMap is not responding". At this point it's a 50/50 of whether it freezes for a long period then successfully completes the task, or it crashes.
Doesn't matter what you are doing - open the editor tool bar, create a database connection, make a table join. All will result in the same issue, such an unstable piece of software with no real market competitors to make the organisation build anything better (ArcGIS Pro wasn't much of an improvement, just another GPU Junkie).2 -
i'm afraid that having discovered the power of multithreading has made my code worse.
case in point: me has to calculate an unknown 3rd point of an equilateral triangle many, many times. however, me doesn't get the formula, so me goes ahead and loops over all possible coordinates until it finds the correct one.
yep, it's definitely gotten worse.2 -
Why are the requirements changed at the end of the day and make the developers work all night. I am not your goat.2
-
I swear I will KILL the next one who comes to me to pimp up his excel sheet WITH FUCKING VBA -.-
This shit is so annoying.... Just because I started my apprenticeship and need to learn everything like a 3 year old kid...
Get me outta here! -
I’m working on a react codebase and company decided to add a new module.
Now im writing markup and css to ensure UX is smooth as designers thought of it.
Imagine my horror when I start to code and find out no matter what HTML tag i use, it’s been FUCKING OVERRIDDEN in the global stylesheet. AND STYLES HAVE BEEN OVERRIDDEN WITH !important
They’re also using Ant design as a component library. Guess what, default ant design classes have been overridden too. So i try to use ant design button or card, and bam, MAGICALLY SOME DESIGN FROM SOME SHITHOLE MODULE DECIDES TO FUCK WITH MY STYLES
On top of that, styles of parts of application has been written in SASS, some part of application uses bootstrap components some use third party components like tables and responsive grids to suit to their preferences. Some parts use handwritten css. Some parts use CSS IN JS and styled components. THE FUCK IS THIS GARBAGE!!!! THE FUCKING CODEBASE HAS A MIND OF ITS OWN!!!!!! YOU NAME A WAY TO ADD STYLES TO A COMPONENT, ITS THERE!!!
And the company’s management thought a “fractal” approach to maintain each individual view is “best” for SCALABILITY!!! HOW THE FUCK DID IT NOT CROSS YOUR DUMB MIND THAT FRACTAL APPROACH ALSO GUIDES TO HAVE ALL COMMON STUFF AT ONE PLACE!!!! THIS CODEBASE HAS DUPLICATE STYLES AND DUPLICATE CODE IN ALMOST EVERY MODULE!!!!
Not to mention every developer choosing to freely decide the way they should write their code without any guidelines.
HOW THE FUCK PEOPLE WRITE THEIR CODE WITHOUT THINKING ABOUT OTHER DEVS!!! SO BASICALLY I AM NOT ONLY CLEANING SOMEONE ELSE’S SHIT BUT ALSO TRY NOT TO SHIT IN THE PROCESS!! FML2 -
I work within an ICT team, but my role isn't ICT specific. However, I still had to explain to my Team lead how to create a .zip and what the purpose of it was. He's been working in the IT industry for 15+ years... how...?5
-
started to rewrite one of my functional-but-horrible projects. after 2 hours i realize i'm starting to use the same kind of "if it works, great" style.
jesus, i need some sleep. -
I'm always afraid af to run ´apt autoremove´. Ever since it deleted smth called 'gir' like 7 years ago and broke my whole setup, I steer away from autoremove. Haven't run it for ~5years or so17
-
Colleagues of mine merge try/except:pass without my consent also I strongly argue over the fact that exceptions in python should never be passed silently. I feel my poor technical knowledge to be denied or ignored and it feels painful.
I don't even have the gutts to speak about it loudly - during stand ups - because I am afraid to get on my nerve that ppl don't listen to me plus quickly merge such awfuls snippets without listening to me.
I feel like I am struggling. What should I do?1 -
How can you avoid becoming a knowledge silo if everyone you train and upskill ends up leaving for another job? 😩 So frustrated that over the last 5 years I have tried my best to ensure the whole team is skilled in my specialist area so, that they can manage it on their own.... Yet... here I am... a silo again.4
-
Fuck this fucking shit...
Be me, plan a trip to a festival with friends, vacation approved, get up at 3am to drive 9 hours from Germany to Italy, find a nice spot for our tent and yeah...
I was unloading stuff of my car and standing in range of the tailgate and get the shit smashed onto my head...
Yeah I'm a volunteer firefighter, so good at paramedics, so I applied a pressure bandage myself, because shit was bleeding all out of my head...
Then I got a ride with the ambulance to the hospital and now about a hour in the waiting room...
Please cross your fingers, that the X-ray that I'm waiting for shows no damages and that i can continue my festival...
What a happy first festival day...5 -
qt compilation 2: electric boogaloo.
$ ./configure [dozens of options]
< building qmake, blah blah, success blah blah, run make && make install, blah blah >
$ make -j 8
< works for 5 minutes, then hits an error without telling me what the error is >
$ make -j 8
< works for 5 minutes until the same error. this time i notice it rm's a directory right before using it >
$ make # multithreaded fuckery, perhaps?
< fails after 5 seconds with different error >
$ make -j 2
< same >
$ make clean # fuck it, clean up and try again
< fails after 2 minutes of cleaning >
The C/C++ infrastructure. just everything about it. and i'm not even using dependencies here.2 -
Atm my face is like devrant's icon.
Tired (need some sleep)
Shit task to do.
Don't want to see colleagues face (even though I like them).
Internet not working (hence this rant on my phone through 4g).
Looks like some ppl will always get devs wrong.
:/ -
Technobabble really bothers me… if I don’t try to overwhelm you with buzzwords and overly complex technical jargon within my industry, then afford me the same courtesy!3
-
Submitted my first ever assignment for Computing today 🎉🎉 I'll admit I am surprised how little written code assignments I have on the Programming module though...
-
Finally did it!
Replaced my desktop pc (which I use for gaming) which had Windows 7 with Arch Linux! It was not hard because I already use it on my laptop.
OK it was a bit struggle with nvidia and cinnamon due to missing libraries I had to install which I don't know before.
But it is possible to play games on Arch?
Yes definitely!
CS:GO - works (native, steam)
League of Legends - works (wine)
World of Tanks - works (wine)
All I need is working (:1 -
Been searching for an offshore data server for at least 5 fucking hours. There's nothing worse than searching for decent low-end offers outside of europe.7
-
I'm not really a developer... but my Mum and Dad did both say "You are managing servers and coding? You are a geographer? Not a computer Scientist?" xundefined wrong job wk18 python digital mapping shocked who knew you can do both gis consultant servers html css1
-
I always code when I have no motivation to do other things. I think it will change when I start working :/
-
What do you do if you have a superior colleague consistently subtweeting you and caught talking behind your back?6
-
Part 2 of the .zip file saga. Staff member this morning emails me to say they can't get past the following step of my instructions.
*Screenshot showing them downloading the .zip file and not saving it anywhere, instead trying to open it*
... really starting to think that everyone in this place needs training in basic ICT tasks again. I was taught how to open and extract files from .zip when I was aged 11 in school.1 -
mfw someone makes completely irrelevant OS-bashing comments in an issue that's barely related to OSs... someone tells him to fuck off... and then he posts a FUCKING PHARELL WILLIAMS VIDEO! ON GITHUB!
i'll go straight back to bed, bye. -
Can someone suggest me a good, cheap phone with good battery?
I think at least 4000mAh and around 200€
My Touchscreen broke and I don't have enough money for a good flagship...5 -
to just do my shit, without working for anyone. really, I just want to dwell on my side projects forever.
-
How the heck do you ever make your managers satisfied. They somehow conspire to make you work and then chuck it by the end, only to use their own shitty solutions and to prove that you are worthless. IF YOU ARE A SENIOR, IT DOES'NT MEAN YOU ARE BETTER.1
-
Just found this glorious rant about a controversy I completely missed in 2016.
https://eev.ee/blog/2016/... -
It always blows my mind how a silly idea / hunch tries settling down in your head very close to your regular bedtime and before you realise you can hear the birds chirping and sunshine hitting your window pane.
It’s unhealthy and should not be encouraged whatsoever.
But I guess this is the sort of involvement and craziness that separates us from rest of the professional world.2 -
By experimenting. By trying to integrate different tech and seeing how things work out.
If something doesn’t work out, you know the problems, if something does work out you have one more way of solving some problems.
(Also by freelancing, adding these successful experimentations into a shippable product and adding it to yoir portfolio) -
when you just want to set up a tiny automation and end up compiling a custom snap package for 3 hours...1