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 - "ponyslaystation"
-
"Don't use git, it is too complicated and we don't have time for this."
2 days later the same person made changes directly on the FTP which I later unknowingly overwrote.
Take that you imbecile!13 -
I think CS education is getting weaker and weaker every year.
Since they released CS GO, CS seems to be overtaken by little cry kiddies who put out insults like an AK on speed.
I wish CS education was like when CS 1.6 came out.
Those were great years to learn gungames on The Simpsons maps and you were actually able to land headshots by skill and not just utter luck.19 -
Meetup with @Wack, @PonySlaystation and @Heyheni in Zurich was awesome! Had some good beers and, of course, took a picture: (fltr: wack, heyheni, linuxxx, ponyslaystation)45
-
Thank you dear mr. boss for fucking up our master branch by adding local changes to a 2 months outdated master branch (250 FUCKING COMMITS BEHIND), pull the remote and then just push without resolving any conflicts!!!1!!!
But thank you so much for sending me an email at 10pm asking me to resolve the conflicts.
It is 3 in the morning and it took 1 hour to get it clean.
Sometimes I want to break some necks...9 -
Hey, wanna hear a disappointing stack?
- WordPress
- jQuery
- vanilla inline CSS
- shitty random legacy PHP
Disclaimer:
The author is NOT responsible nor liable for any injuries, mental health issues, sanitary problems, asexuality, crippling depression, triggered by this rant nor liable for any damaged walls, hurt animals or deaths.12 -
Thanks for @PonySlaystation for coming up with this idea!
Wrote my first ever Firefox extension. It loads a json list from a server containing domains which, according to the snowden leaks of 2013, are integrated within a US powered mass surveillance network.
If it finds any urls on the page being loaded, it puts a fullscreen red background with a warning text and the links which match the surveillance criteria.
There's no way to continue to the web page yet, will try to add that later on.30 -
The laziest thing I've done was during an internship:
We had to open big table files in a special software, click on some buttons and then save it. Each step took 1-5 minutes untilnwe could proceed with a click on the next button. So I wrote a click script, predefined the mouse positions and run it all day. This was able to run for 1 hour straight with no human action needed, so I started using the new sparetime for more interesting stuff: Gaming.3 -
On a website, which is still online, I added a burping sound when you click on 3 old alpine herdsmen who sit on a bench in the background image.14
-
For one small project my boss planned in about 60 hours.
Crazy that it only took me 5.5 hours. 😄
Such an extreme happened only once.4 -
You know your week starts great, when you receive a call, that the whole shop database of a company is not working anymore.
Turns out MS Fucking SQL decided to drop all tables, just because the harddisk was full.
A SERIOUS FUCK YOU TO MICROSCHROTT!
It's not a lot of fun, when 15 people have to wait for you about 1 hour, until it is restored.
Why does this have to happen on a monday?10 -
Wow, what a fucking mess this sunday was.
My boss wrote me an email that one route of a RESTful API we wrote for a customer was not working anymore and puking back a status 500 with some error mentioning invalid UTF-8 characters.
Not one single person has had touched nor changed the code on production in some 6 months, so what the fuck could it be?
Phpunit did not give any errors (running only locally), the code had no syntax errors and the DB dump did not contain any invalid bytes (tested with a hex editor).
WHAT THE FUCK?!
OK so I started to comment out lines (all tested directly on production of course) until the error vanished.
Guess what was the culprit?
.
.
.
.
.
.
In the code (PHP) we used strftime(...) to get nice time strings. Of course we set the correct locale on the server, thus having months and days formatted in German.
So, in Geman there is this one mysterious month called "März" which contains an umlaut character.
Calling strftime generated the date with März in it, but the server locale was de_CH.iso-8859-1 and not fucking de_CH.utf8, so the "ä" was returned as 0xE4 instead of 0xC3A4 (valid UTF-8), which json_encode(...) did not want to swallow but instead threw an exception.8 -
Today I checked out a Repo on Github to help a friend.
Holy shit is this code crap!
Basically one single method contains the whole logic.
637 LINES OF PURE AND UTTER DOGSHIT.
SIXHUNDREDTHIRTYSEVEN LINES!
ONE SINGLE UGLY METHOD.
If I have enough time and energy, I will probably create a PR in 2021.
Some people... wtf.
(not my friend's code, he just uses the program)
(Edit: I had to remove the rant and censor names in the image)25 -
Sometimes I stare at the screen with my void eyes, questioning my abilities and say with a shivery voice "WTF" and refresh the website.
Then it works again.3 -
( rant || !rant ) && idiots
console.info( this.isLongRant );
console.warn( "contains strong language and wordpress" );
A friend of mine sent two of his "friends" to me because they wanted me to build a website for their new business (~idea).
So I had a meeting with them.
First of all they wanted me to have a look on the current (work in progress) site.
First impression of the frontend:
OH BOY!?
Well, imagine this:
- a 90s/2k background (dotted/pixelated cloud in baby-blueish as backgroud with repeat)
- the logo was made by the sister of one of the guys, it wasn't too bad, but badly aligned, asymmetrical
- some obvious $offTheShelfShopPlugin with $randomStockContent
- the fucking slider had a small loading bar to indicate changes, it appears like an hyperanxious child on ADHS
- below the logo TWO FUCKING GIF SPINNERS to indicate nothing else but how fucking brain amputated these two dudes are, including the dev who is responsible for adding this. (to this point, they only told me, that a webagency did the setup and some basic work on the site, more on that later)
- no styling concept at all, random fonts and stuff everywhere including default styles of the shop plugin.
- FUUUUUCK WTF wil come furtherin this meeting?
After seeing a pile of binary puke fisted out of a 60yo nonstop-intern who changed his jobtitle from dildo-traveling-salesman to fullstack-frontend-dev by wrinting it on a post-it-note, I imagined, there has to be something wrong with the backend as well.
Boy was I right!
Yes, you guessed it! A random Wordpress adminpanel login appeared! OH NO....
I really wanted to levae this meeting immediately.
I was not able to hold my disgust back and I told them right in their face, what a shit pile of nutty squirrel turds this current page is. And that Wordpress is not the right choice at all for a shop.
Then came the best part: They basically told me, that they terminated the previous contract with the webagency because they were too expensive (they are cheap, compared to others, I know people who know their prices) and that they wanted to create A BIG MARKETPKACE with multiple ressellers who can have their shop in their website. Something similar to FUCKING AMAZON. ON FUCKING WORDPRESS!?!?!?
They even asked me if I wanted to be their partner & developer and that they can't pay much at the moment until the marketplace starts to grow.
I more or less told them to go fuck themselves with a rusty pitchfork.2 -
Today was bad day.
- only had 3 hours of sleep
- 1.5h exam in the morning
- work in the afternoon until 8pm
- 1 drive crashed in a RAID5 array
- wasted hours of data copying
- my hands and arms got really dirty from all that nasty trump-face-colored dust in the server room
- nothing new in the west
- I have to get up in 4 hours again to start a new copying task
- I only knew it was friday today because the devRant meme game was reaching the weekly peak
- lists can save lives
- good night 😴2 -
1.) Please make WordPress die();
2.) Please prevent recruiters from getting my contact info.
3.) Please ban all "coder meme/joke" sites from instagram. They repost long dead jokes and the jokes don't even make sense if you know how to code.8 -
I've never had a code review.
Eventhough I proposed to my boss that we at least review our intern's code once a week, he doesn't think it is needed.
Our intern writes ugly, shitty code...
it usually takes hours for me to fix his abominations... but yeah, what the boss says is always the best.3 -
You can't imagine how many lines of pure and utter horseshit, seemingly written in PHP, I had to dig through this whole weekend. (relating to my 2 previous rants)
How is it even possible to write code this unbelievably ugly?
Examples:
- includes within loops
- included files use variables from parent files
- start- and endtags separated to different files
- SQL queries generated by string concatenation, no safety measures at all (injection)
- repeating DB calls within loops
- multiple directories with the same code (~40 files), only different by ~8 lines, copied
- a mixture of <?php echo ... ?> and <?= ... ?>
- a LOT of array accesses and other stuff prefixed with "@" (suppress error messages)
- passwords in cleartext
- random non-RESTful page changes with a mixture of POST and GET
- GET parameters not URL-encoded
- ...
My boss told me it took this guy weeks and weeks of coding to write this tool (he's an "experienced dev", of course WITHOUT Git).
Guess what?
It took me only 20 hours and about 700 lines of code.
I must confess, since this task, I don't hate PHP anymore, I just simply hate this dev to death.
Addendum: It's Monday, 5:30am. Good night. 😉12 -
My biggest personal challenges as a dev are these two:
1. I tend to work too much (by choice), which impacts my personal spare time heavily.
2. I tend to not let loose of a problem until it is solved. This often results in longer work hours or me not taking brakes...4 -
You want to know what really grinds my gears?
When you are about to tap on some link or whatever on your phone and the app/website with its 8th sense sees that and right before you touch the touch screen, it either moves the content or displays an advertisement so you inADvertently tap it instead of what you wanted to tap.
I hope the people responsible for this sorcery get mutilated and eaten by a horde of zombified liliputs.1 -
[Certified CMS Of Doom™ moment]
Ah yes, the good old "generate a huge CSV just to know how many rows there are"14 -
I get through tough devDays like this:
1. Brew coffee more black than a serial killer's soul in the midst of the Gotthard Base Tunnel without electricity in the midnight during a solar eclipse.
2. Flush the blackness down the throat.
3. Load the Playlist: Mostly Death/Doom Metal
4. Put on over-ear headphones (the ones your coworkers can see from a distance telling them to fuck of with their questions).
5. Code through without pauses (except for releasing piss)
6. If you're paid by the hour: $$$profit$$$8 -
Behold the PHP pyramid of doom!
You know what kind of code is coming... a big pile of shite! 😍
Obviously you have to return by reference (&) because of performance and memory reasons. ☝️🤓
Man... I've seen code...22 -
"I can't work, my new computer is so slow. Please make it faster!"
I can't and won't make your computer faster, because you bought it yourself eventhough you said I should send you an estimate for a new one.
And the fucking software you complain about being slow is none of ours and neither did we install it you crackhead.
By the hammer of Thor, don't ever fucking call me again you shitpiece!
Next time you ask me for an estimate, I will give you my stump two-sided axe through your head while laughing hysterically.1 -
The gift that keeps on giving... the Custom CMS Of Doom™
I've finally seen enough evidence why PHP has such a bad reputation to the point where even recruiters recommended me to remove my years of PHP experience from the CV.
The completely custom CMS written by company <redacted>'s CEO and his slaves features the following:
- Open for SQL injection attacks
- Remote shell command execution through URL query params
- Page-specific strings in most core PHP files
- Constructors containing hundreds of lines of code (mostly used to initialize the hundreds of properties
- Class methods containing more than 1000 lines of code
- Completely free of namespaces or package managers (uber elite programmers use only the root namespace)
- Random includes in any place imaginable
- Methods containing 1 line: the include of the file which contains the method body
- SQL queries in literally every source file
- The entrypoint script is in the webroot folder where all the code resides
- Access to sensitive folders is "restricted" by robots.txt 🤣🤣🤣🤣
- The CMS has its own crawler which runs by CRONjob and requests ALL HTML links (yes, full content, including videos!) to fill a database of keywords (I found out because the server traffic was >500 GB/month for this small website)
- Hundreds of config settings are literally defined by "define(...)"
- LESS is transpiled into CSS by PHP on requests
- .......
I could go on, but yes, I've seen it all now.12 -
*wrestling commentator voice*
"In this weeks episode of encoding hell:
The iiiinnnfamous UTF-8 Byte Order Mark veeeersus PHP!"
For an online shop we developed, there is currently a CSV upload feature in review by our client. Before we developed this feature, we created together with the client a very precise specification, including the file format and encoding (UTF-8).
After the first test day, the client informed us, that there were invalid characters after processing the uploaded file.
We checked the code and compared the customer's file with our template.
The file was encoded in ISO-8859-1 and NOT as specified UTF-8.
But what ever, we had to add an encoding check, thus allowing both encodings from now on.
Well well well welly welly fucking well...
Test day 2: We receive an email from said client, that the CSV is not working, again.
This time: UTF-8 encoding, but some fields had more colums with different values than specified.
Fucking hell.
We tell the customer that.
(I was about to write a nice death threat novel to them, but my boss held me back)
Testing day 3, today:
"The uploading feature is not working with our file, please fix it."
I tried to debug it, but only got misleading errors. After about 30 minutes, at 20 stacks of hatered, I finally had an idea to check the file in a hex editor:
God fucking what!?!!?!11?!1!!!?2!!
The encoding was valid UTF-8, all columns and fields were correct, but this time the file contained somthing different.
Something the world does not need.
Something nearly as wasteful as driving a monster truck in first gear from NYC to LA.
It was the UTF-8 Byte Order Mark.
3 bytes of pure hell.
Fucking 0xEFBBBF.
The archenemy of PHP and sane people.
If the devil had sex with the ethernet port of a rusty Mac OS X Server, then 9 microseconds later a UTF-8 BOM would have been born.
OK, maybe if PHP would actually cope with these bytes of death without crashing, that would be great.3 -
Dear lord spaghettimonster,
pls not another SomethingJS.io for the world!
There should be a limit on how many JS frameworks are allowed to exist at any time!20 -
Boy, this Monday mornig was crazy...
At 7 am, as I just left my flat, I received an ultra urgent email from the CEO of a company we exchanged the fileserver for, that the network shares are not available.
I instantly turned around, went back to my flat, fired up my HAL9000 supercomputer and connected remotely.
4 levels deep (PC => VPN => Remotedesktop => vSphere Client => VM) I felt like I was in the movie Inception and tried to figure out what happened.
I don't know why, but in the logs it said that the fileserver VM was down since 4am. Holy sithlord... why?
After restarting and the usual problems with Windows Network Names, everything was back online.
My special thanks go to Mr. Coffee, who is always a great companion during monday mornings, Mr. VPN, the great fellow who invented the VPN and last but not least "The Internet" for connecting me to a world of binary, where every idea finds a listener and where Ajit Pai can be memed without concequences.
FUCK YOU Ajit. Harlem Shake is so 2013.2 -
!rant
console.info("devRant Stickers & stressballs order delivered successfully!");
alert("Thank you David & Tim for your fast delivery! The quality is great! :D");6 -
My devGoals for 2018:
- Build a RESTful API with NodeJS just for learning.
- Finish my first product (electronics sideproject).
- Convert more people to use CraftCMS or at least not use Joomla or WP.
- Get a raise.
- Add Continuous Integration to more projects.
- Add more unit testing where appropriate.
- Create and release a mobile app.
To be continued...
*playing to be continued meme sound*9 -
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 -
Actually just 2 hours ago my boss showed me his "hack" which solved a problem he worked on half of the day.
My eyes suddenly began to itch heavily and I felt a strong urge to quit immediately.
The problem was no big thing and we actually spoke about it at noon and I made a proposition how he could solve it.
Turns out he .... aaaaaahhhh I better do not mention it, as it may summon evil spirits... sorry.5 -
Some devs like to write meaningless or too general commit messages.
Stop it. Get help.
Call 0800-GITGUDBOIII where real experts talk version control.10 -
I've only experienced a quitting coworker once.
In a previous job a coworker quit with the words directed to the boss in a very loud and aggressive manner: "Ich künde, du verfiggti pissmorchle!!!"*, while throwing around office chairs and swearing all kinds of nasty stuff.
My boss at that time was indeed a fucking wanker. He exploited the shit out of every employee and expected from us that we work overtime for free. No pauses were paid, eventhough he'd had to by law.
I don't have to mention that he was a sexist fucktard and 3 female ex-employees sued him for sexual assault.
Sadly he is still in charge of that wanker company and he "miraculously" dodged every "bullet".
* trigger-safely and roughly translated to: "I quit, you fucking wanker!!!"7 -
Magento is a special kind of tool.
- >20GiB of files? ✔
- >1 GB database? ✔
- Memory needed for scripts >768 MB? ✔
- Script max. exec. time 5 hours? ✔
- Slow ass website? FUCKING ✔
- Slower deployment than a vote on a country wide legislation? FUCKING ✔
- Shitty crap pile of STD-ridden code? I BET YOUR STINKING ✔
Magento, sincerely, please die in agony.11 -
I once had to literally hack a Joomla 1.5.x site for a client, because they did not find the passwords (hosting, cms, ftp, mysql). After 5 minutes and a SQL injection I was in like flynn.
The site was already full of hidden links to viagra sellers and stuff... 😂1 -
A few days after deploying a big important Website into production, I wanted to copy the whole thing including DB back onto our test server for future testing/bug fixing if something comes up. (Last changes were done on production server before going live)
So I opened SSH, removed everything on the test sever aaaaand then I realized I was connected to production...
Took about an hour to get everything up and running again. We didn't tell the client and hoped it would not be noticed.2 -
There is only one important rule to live by:
Never lend anyone your 256 GB USB-C/USB-B combo memory stick. There is a 100% scientifically-backed certainty that you will never, in your meager existence, see it again.11 -
Screaming at a coworker?
The INTJ in me has prevented that pretty well in almost every critical devSituation.
BUT one time in the past, I was really close to a level 9001 scream:
This fucker, despite having been told about code formatting guidelines and DRY/KISS multiple times, had the balls to commit such utterly crappy and unreadable code that I almost bursted.
He quickly realized his mistake after I reset the repo to before his push, disabled his Gitlab account and wrote him a simple email containing the text:
"IF YOU EVER COMMIT SUCH SHIT AGAIN, THERE WILL BE UNFORESEEN CONSEQUENCES. GFYS."
After a peaceful coffee and a croissant I decided to re-enable his account. He did good after that.2 -
A nice word to all developers who say stuff like "I know I write bad code, but what does it matter.":
Please try to think in a logical way about what this part you are about to write has to do. It is much more difficult to rewrite code, the longer you wait after you started to code.
Bad code can have big impacts on different levels.
For example financially: Bad coding style or program structure can lead to thousands or much more in losses because of nasty bugs, bad performance, expandability or maintainability.
Think about quality over quantity.
A little example: I had to work together with other coders to meet a fucking tight deadline. The last day we coded like crazy and these dudes started to apply styling changes (CSS) directly as inline styles to the HTML code, instead of taking a few minutes more to find where in the CSS files they had to make the changes.
At the end of the deadline we had more stylingbugs than before. It took us another whopping 3 hours to fix what they had done.
So next time you code: Thinking before coding is mostly faster than just straightahead coding and fixing at the end. 😉2 -
The best is to not even start it.
It is harder to stop, once you're doing it.
Like drugs, don't do drugs, kids.7 -
I love group projects.
There is no greater feeling than, after you set up the repository with the first code files, your team mate changes the indentation and commenting style in every file to his own style without even discussing the general coding style rules in the group first.
Fucking awesome start.
Go eat a sack of unwashed hobo balls you filthy cunt.3 -
Don't you love it when there is a new minor release or a critical dependency and it breaks backwards compatibility without mentioning any of it in the changelog or docs?
I absolutely love it! ❤️❤️❤️❤️❤️
I certainly did not waste 3 hours of my life to find it. No i didn't. -
I'll keep it short:
My nastiest freelancing horror stories contain shitty clients who dont pay, the nastiest fucking legacy code you can imagine, and expectations as high as trump thinks of himself.
The lesson is simple: Choose your freelancing clients wisely and always expect partial payment in advance. Even from family or firends!8 -
Yesterday I received the API documentation from an external company. Over half of the endpoints are either wrong or send invalid data and even the given test requests are fucking failing.
It's a nightmare. We have to finish a website until friday and that company did nothing for 2 months and now we have 2 days left.
The sheer incompetence is too damn high.
My boss said it would have been much better if we had implemented the API on our own. Damn right.3 -
FUCK PHP!!!
We were trying to go live with a big online shop, it is connected through a crappy API to SAP.
PHP keeps outputting fucking errors because our intern doesn't fucking know how to properly write PHP.
YEAH, JUST FUCKING RETURN A WHOLE DIFFERENT TYPE OF DATA IF THE FUNCTION HAS AN ERROR.
Oh and using fucking strtr( ... ) to insert stuff in a string is REALLY FUCKING 1337...
And when you think the whole fuckery has reached the summit, just look at how HE FUCKING CREATED THE UGLY EMAIL TEMPLATE:
$content .= "UGLY HTML ABOMINATION";
$content .= "MORE UGLY HTML";
$content .= "HTML WITH SPELLING ERRORS";
$content .= "<table>";
$content .= "TEARS OF TIM BERNERS LEE";
$content .= "<table>HE FOGOT THE FUCKING '/'";
and dozens more of these lines...
and the whole piece for ALL 3 FUCKING LANGUAGES...
Thanks for writing the fucking backend stuff, it is better to rewrite the whole piece.19 -
Let me tell you a story:
One upon a time poor lil PonySlaystation received a call. It was a nice guy who cried about his WordPress website had been hacked. So the clusterfuck began...
He gave me the login credentials for the hosting back-end, DB, FTP and CMS.
A hacked WP site was not new for me. It was probably the 6th of maybe 10 I had to do with.
What I didn't expect was the hosting back-end.
Imagine yourself back in 1999 when you tried to learn PHP and MySQL and all was so interesting and cool and you had infinite possibilities! Now forget all these great feelings and just take that ancient technology to 2018 and apply it to a PAID FUCKING HOSTING PROVIDER!
HOLY FUCKING ASSRAPE!
Wanna know what PHP version?
5.3.11, released the day before gomorrah was wiped.
The passwords? Stored in fucking plaintext. Shown right next to the table name and DB user name in the back-end. Same with FTP users.
EXCUSE ME, WHAT THE FUCK?!
I have to call Elon Musk and order some Boring Company Flame Throwers to get rid of this.
Long story long, I set up a new WP, changed all passwords and told the nice guy to get a decent hoster.4 -
The worst work culture I've experienced was at a local security company.
There was a reason why over 15 people come and go within 6 months (just 30 people work there):
The boss is a fucking psychopath and should be (mis)treated in a high-security mental health institution.
There has not been one sane day during the 90 days I had to work there.
A friend of mine still has to work there because he can't find anything else in his current situation...11 -
Ah yes, write your own fucking website crawler in PHP and deoptimize so hard that it uses some gigabytes of RAM and takes about 1 hour to crawl the very own website it's running on.
Oh and don't forget to download every single image and video file in order to "crawl" it for extremely valuable text content.
What a genius move! I'm really impressed.7 -
WordPress related, get ready for some disgust.
So today early in the morning my boss forwarded me an email from a client, it was about a bug, and asked me if I can have a look at it and fix it.
"Yaay, WordPress!" I thought and opened the page containing the mentioned bug. She wrote that in the italian version of the page, users can select dates in the calendar, which should be disabled, like in the german version.
So yeah, I opened the code. Everything in the function looked perfect. Really. And the Data was also correctly set in the backend of WP.
The function was only 3 lines of code:
- Get the german post ID of the current post (german or italian) by its ID (using a Polylang function)
- Get an Advanced Custom Fields field by name and from a post with the ID from before
- json_encode its content and echo it to a JS var for initialization and later use in some AngularJS.
No fucking missing semicolon, it was fucking perfect like a sunset with your soulmate.
So I tried to find the bug with my personal way of debugging:
"Shitstream Debugging"
When a creek suddenly is full of water mixed with shit, walk upstream through the turds until you reach clear water. This is where the bug is.
=> So I first looked at the HTML source: Turds.
=> Then the ACF field content: Still turds.
=> Then the ID of the german post: Shit stain and turds (var_dump: null)
=> Please god at least $post->ID? Nope, fart smell and turds.
=> Nothing more to check: Clear fucking water and the flowery smell of 99 devVirgins
So it replaced $post->IT with get_the_ID() and it worked like a charm.
Afterwards I feel stupid, but $post->IT worked all the times before...
Conclusion:
FUCK YOU WORDPRESS YOU UGLY PIECE OF HUMAN-CENTIPEDE-PROCESSED-DOGFART.
Thanks for your patience.
Only one beer was sucked dry during the writing of this fucking rant.2 -
How I see GPU brands:
- Team blue, Intel:
Oldschool autistic engineers, working GPU but not practical
- Team red, AMD:
Competitive but anarchist, horrid Windows drivers, but good on opensource, anti-mainstream
- Team green, nVidia:
Way too greedy cunts circlejerking each others off during breaks (like Apple employees), delivering on performance, but wayyy overpriced and scammy tactics6 -
The only hacked sites I had to fix were running on ... [prepare your stomach] ... Joomla.
I'm not sure if there is even one single solid developer for Joomla. This shit piece has more vulnerabilities than a crack hobo infested with pest-ebola-hyperAIDS.
The sites were full of hidden viagra and pr0n ads and links so the crawlers would list them.
Luckily for me, I was able to pursuade the clients in all 3 cases to build a new site from scratch on a different CMS.2 -
Oh boy, my riskiest coding decision was certainly that one time when I refactored some 50k lines of critical legacy shit code in 3 days, straight up merged everything into master and then deployed to prod.
Luckily there was only one minor bug I had to fix after that... phew...
(To my defense: I was solo-working on it - the infamous CMS Of Doom™)2 -
I hate that fucking feeling, when I am 9001% certain that the bug is caused by the shitty framework because I tested every detail and could exclude my code as the culprit, but later realize it was in fact myself, because I overlooked one pissing line.
Holy fuck.1 -
Oh yes, I very much like you, Mr. 1337-DevPro-Ultra-Haxxor. Thank you for using a boilerplate from github, that is bloated like some random female pr0nstar after an orgy. Oh and it is also very funky of you, that the setup scripts and tasks only work on Apple OSX, because using a simple gulpfile with 3 npm dependencies and 5 lines of code would not be trendy enough.
Some JS "devs" should be punished by drowning in their own feces aka a mix of bower, yarn, npm, brew and the crusty stuff that is left behind after running it.3 -
(A fucking pushy assrat of a LinkedIn recruiter called me at my job today, this is my message after he cowardly hung up before I could inherit the call from our secretary)
Dear Mr. $PUSHY_RECRUITER
Please don't call me again, as I already wrote you my unavailability in March.
I don't see your logic in calling me AT MY JOB. It does not make any sense except if you just wanted to call me to see if I'm still there and then hang up like a fucking coward.
If you really wanted to hire me, you should have written me a more thorough description about the job after my initial message of unavailability thus creating the chance for me to reconsider your offer.
But since you seemingly thought it was an absolutely great idea to call me at the workplace (thus making me look really bad in the eyes of my coworkers) I wish you a sincere and honest "fuck you".
Please don't ever call or message me again.
I am extremely happy at my current job and will not consider leaving in the next 100 years.
Signed,
Yet another pissed off developer.6 -
Fun is, when you get to fix the front-end made by a "front-end expert" consisting of bootstrap and a single "custom.css" of 3800 lines.
Peak sadism. 🤡15 -
Do NOT "compress" your code by leaving out braces in control structures and putting the 300 char statement on the same fucking line as the control structure!
Yes, your code file becomes vertically shorter than the usual 3000 lines, BUT my brain tumor proportionally grows larger.7 -
I never made a friend due to code.
Either I fucking hate people if I see their code or I respect them.
But getting a friend because of code seems to me rather unrealistic.
Maybe I could get a female code groupie, if I write code little bit more lovely and sexy.
Ask me again in a year.15 -
I'm thinking about doing a live coding stream on twitch this saturday, late afternoon or evening (CET).
I've never done a live stream before.
Do you have any suggestions or interests?
I'm thinking about something like a small RESTful API with Angular4/TypeScript (frontend, single page application) and CraftCMS/PHP (backend) with somebasic theory about HTTP requests / response, redirecting, data transfer and interfaces et cetera...
The duration will be around 2-4 hours, maybe longer if I have enough Mate & Beer.
But it's all just an idea at the moment. 😉
I will create an empty project for the stream on my Github and push to it during streaming, so you can pull it live or later.17 -
I fucking hate december. It's as dark outside as in a hobo's ass standing in a tunnel during a solar eclipse and there is "love" and "friends" everywhere.
Time for some nordic doom metal.4 -
- Hey how are your fingers today, do they still hurt?
- They're OK, why do you ask?
- Oh, then it must have been your lack of programming skills which made me puke while looking at your code.1 -
Drunk as in wasted?
I've never coded in such a pitiful state because it kills all concentration cells, but a Depressados once in a while makes enthusiasm +10 and stressIgnoring +50.5 -
You know a Repo is fucked when you have to rely on global text search to find and rename symbols like method or class names.4
-
Imagine this clusterfuck:
A small company creates its own CMS on PHP 5.5 and MySQL, coded by fresh junior devs who apparently just got into coding.
My new employer sadly is one of their customers and now I got the task to migrate a group of tightly linked websites on subdomains to an actually sane and maintainable CMS...
Fuck me...
Apparently the continuous extension of the websites over the years got so labor intense, that the mentioned company lacks the manpower to fulfill further development wishes.
I've looked into the code today... let me tell you, PTSD is helluva thing.
- Each subdomain has a complete copy of the Crap Management System, there is no use of composer packages and each of the 50 folders in the webroot contains a mix of source code and images or other resources.
- LESS is transpiled into CSS by PHP on requests.
- There is no central file for environment variables like a ".env".
- Each website uses at least 5 different versions of jQuery, of which some jquery.min.js files were manually modified.
Don't get me started on how the DB is organized...
My work on this has just started, there will be more I've yet to uncover.
"C'mon, man! Gimme a break!"15 -
My devGoals for 2019 are:
- Move DNS blocking from hosts file to a PiHole (or similar) at home
- Implement a full HAL for some smol microcontroller in C
- Create better automation templates for testing, building & deployment for our Angular projects
- Get rid of crippling depression
- Force my boss away from firebase and google tools in general
- Spread the love for CraftCMS
- Spread more love in general (with protection of course) 😄1 -
[CMS of Doom™]
The gift that keeps on giving...
When you think you've seen it all after 7 months in legacy hell, you get another gift:
Let's say you use PHP, but your IQ is in the zero-ish range, then it is obvious to:
- use define() for constants in all your config.*.php files
- then include said config.*.php files multiple times
- and because define() doesn't overwrite the same constant, because it's - you know - a constant, you instead of including just do a file_get_contents() to read the PHP file as string and then parse the values by Regex.
The dev who wrote this was truly one of the devs ever.12 -
Damn, I really love Vue! 🥰
It's so clean and refreshingly simple compared to the shitfuckery called AngularJS (should be renamed to AngularJK or AngularRIP btw.).
I don't understand why I haven't tried Vue sooner... much mind boggle, so regret, many thinking...16 -
My worst devSin was testing in production once because I was too lazy to set up the dev environment locally.
Never will I do that mistake again!4 -
My boss codes shitty ugly fucking abominations.
These fucking piles of hacky crap are worth less than a penny puked out by a dog, eaten by another one and then shit out, grabbed by a vagrant, stuffed in his arse and then sold as raw metal by the cremation worker after the former's death.
Fuck this. I'm not gonna rewrite this. Fuck you.4 -
Aaaah, I fucking love it to death, when customers spontaneously decide to hire a separate, unrelated company to add new content pages to the website developed by our company.
That furuncle of a company must have had real pro devs to just create a new /html folder, dump their shit content in there and just manually add links in the existing CMS pages.
HOLY FUCK!
As you might already have expected, the /html folder contains:
- static *.html files for every page
- inline CSS in the *.html
- the crappiest PHP mailing script I have ever witnessed
- images with random resolutions, mostly too small
The layout of these puke-ridden pages obviously doesn't fit neither the existing color palette, nor has anything common with the current layout or typography at all.
These bastards don't even use Git!
Come on, dear customer, could you PLEASE fucking NOT hire a completely separate company to do OUR job?
PLEASE? PLEASE?!
I had to compare the whole deployment folder with our repo to find out what else these brain-damaged cunts changed in our code!3 -
Damn... some dude has his full SSH credentials to his webserver in his published NPM package...
I have to tell him 😅15 -
Yeah yeah, good ol' DropBox.
Which fucking piss-wanker has made the decision to NOT SUPPORT encrypted ext4 starting in november???
You think I'm going to reformat my SSD just for you, you little stinky cunt, huh?
CrapBox has hearned itself a place in /dev/null
Go fuck yourself, you hobo-raped STD host!10 -
Oh dear, a scaling problem I solved was replacing some Regex matching with simpler string functions. While I'm a huge fan of Regex, it's unreal how much performance they can suck out of some high-n loops...
I got about 120x out of some critical code thus making a CPU upgrade unnecessary.8 -
My favourite devTool is VS Code, especially since the last update. But considering that versioning should be more important than a specific IDE, Gitlab is THE tool. I couldn't live without it. <3
-
My boss just asked me to participate in a conference call to help an external senior dev implement some stuff/tool into our website.
My boss suspects that he doesn't even know Git...
Let's see how that whole thing will turn out.
My boss told me that he looked at his code and it already looks like an abomination of PHP...
It is enough that my boss usually writes shitty spaghetty code.
I will not sleep well this night.1 -
!quiteRant
Since I'm working for 3 years as a parttime software engineer, I started to feel my tendon sheath more and more, sometimes it was hurting so I decided to have a look around on ergonomic keyboards, because in the office we only have these flat, thin wireless keyboards which are the fucking opposite of ergonomic.
They feel like when Eddie Scissorhands has to cut hair of a pile of rocks.
So after some reviews I decided to buy a Kinesis Advantage2 (made in the USA of Americas) eventhough it is quite expensive (379 Kanuckistan Kopeks).
I must say this keyboard is fucking well engineered. You can remap every key in a few keypresses and it is stored on the keyboard itself, no software required... awesome!
The disadvantage for me is, being pretty tall I have very wide shoulders so the 2 keyboard pits are a bit too close together in my oppinion.
The other thing is, you really have to get used to it... I am slowly advancing in speed and it feels great. No pain anymore and I don't have to move my hands at all.
So what are your experiences with keyboards and does your workplace have a good setup for staying healthy?19 -
I'd say one of the best advice a dev gave me, was that, I should not write duplicate code, but rewrite these parts to a single function.
And another one: If you use specific values in the code, instead of putting it in multiple places, assign it to a variable at one place and use the variable later on.
These advices sound quite trivial, but I think every beginner should learn these as eary as possible.
Boiiii have I seen shitty code from people who don't give a hobo's ass about maintainable code.
Be a good coder.
Write for quality, not quantity.
Care about your successor.
Thank you.
If not, I will fucking find you, fill your guts with napalm and light you up alive on a rusty pole while laughing hysterically.1 -
[more or less rant]
FUCK YOU ENKI! I just received this spam email with a very important question:5 -
!!inspiration to rant
To all people who feel lonely at smoochentinesday: 😘
Get your most EPIC, FUCKED UP or IMPRESSIVE dev-related story out and rant it on here!
The comments will help you to get over it, you poor, lonely, grievy flower. 😉
Happy valentines-slay!9 -
!rant
I just ordered some stressballs & stickers from devRant, eventhough I would have earned free stickers by now.
I just think they deserve this support! I love this app and I'm really looking forward to some good stress relief. :)2 -
Is it normal to deploy a 5.6MB main.css file?
Last week I had to change some shizzle on a website (externally developed).
Well, I was quite shocked...
We usually deploy a single stylesheet under 700 kB.
But also because we never use CSS "frameworks".30 -
Am I a machochistic fuck?
This sunday I had the glorious idea to fix a not-so-recent Wordpress website for a friend.
Imagine an upgrade from 3.3.2 to 4.9.8! (and PHP 5.5.old to 7.2.new
Oh boy. I thought it was impossible, because the site uses a free theme from 2012 and had some other plugins installed.
But what kind of developer am I, if I give up so easily?
I forced XAMPP to run PHP 5.6.stoneage in order to let me debug this thing. After some fixing in different files, I was able to get the admin panel back, disabled some plugins and then overwrote the installation with WP 4.9.8. After firing up the admin panel I had to fix 20 differend PHP files in the plugins.
Finally! After the plugins were updated, all worked again.
Except for the backend part of this free crappy theme. It uses an old version of JQuery UI widgets with custom mods.
I've done enough for today so I let it be like this. I'm not in the mood to load a second JQuery version.4 -
Outsourcing front-end for web is like playing russian roulette, but with 6 bullets in 6 chambers.
You shoot yourself in the balls (or ovaries)... HARD.
I don't know how you can develop in a complete nightmare of a SCSS file - 3500 lines of insanity.
This dev must have changed his mousewheel at least 50 times!
SERIOUSLY, why the fuck use SCSS when you piss everything into one single fucking file???
What drives me completely nuts is the fact that he even used an @import to include his custom.scss file... how many more IQ poins are needed to realize that you could SPLIT your spaghetti into smaller, sane files?
I need a whiskey...3 -
Howdy my binary friends and those who identify as an attack helicopter or an Amiga 500, I was away from devRant for about 2 weeks or 4 because I had to order a new touchscreen (who cares anyway).
Have I missed something on devRant?
Let me just freshen up my dictionary with Alex's rants, be right back.20 -
These fucking nitwits who write on a non-stackoverflow site that they "solved it", without giving any clue whatsofuckingever about how they actually solved the problem, can all go take a shower in perchloric acid mixed with 2 days old hobo piss.1
-
I wonder how many decades it will take until employees stop to fucking stick their passwords to the computer screen at their station. It is a complete fucking nightmare if you are responsible for the network!
Can we bring back the guillotine? But it must be stub!
Those nitwits shall suffer!19 -
WebDev jobs should come with big warning signs:
"You absolutely will lose your sanity!"
"IE11 might indirectly lead to impotence!"
"You won't get laid more often by using CSS Grid!"
"You will have to fix websites which only appear broken on iOS Safari!"
"Get some extra terabytes ready for your node modules!"
"Get ready to yarnify your npm dockerized webassembly blobs while gulping on your mocha chai latte with no karma!"
Can't we just go back to the good old times with Quick Basic and chill?
Man, the ladies were flocking around those programmer boyz, I tell ya... Klickety klackety on the mechanical6 -
!rant && awesome
The blackest black theme is awesome!
Thanks @trogus and @dfox for this great update! 😎
Now back to work...4 -
"Why is this style not appearing in the browser??? All is perfectly written! No missing semicolon."
*staring 5 minutues at HTML source*
"Oh there you go: I put two times class="..." in the same tag..."1 -
When the design agency changes the whole fucking UI 1 week before release because they think the usability is not good enough.
FUCK YOU YOU FUCKING PLACENTA EATING LOBOTOMIZED ADOBE FRANKENSTEINS2 -
I fucking hate the Safari browser to death.
This piece of disk space waste is 50% of the reason why I have to spend hours to find out what the fuck is incorrectly displaying or not working on W.I.P. websites.
The other 50% is Edge, IE <=11 and Firefucks.
Just for piss smelling Safari, I need to either run a VM with Crapple OS X for debugging or borrow a Crapbook from $randomPerson.
Is it fucking not possible to compile Safari blowser to run on Linux or Winblows?
Eventhough I'm disgusted about Google and its privacy and data mining policies, Chrome is the most decent browser there is on the whole digital world. It only happens extremely rarely that something is not working/displaying as expected during development.
Most browser developers seem to be useless pubes eaters and like to shower with curd soap.13 -
Imagine saving Integers and Floats in a MySQL table as strings containing locale based thousand sepatators...
man... fickt das hart!
Wait, there's more!
Imagine storing a field containing list of object data as a CSV in a single table column instead of using JSON format or a separate DB table.... and later parsing it by splitting the CSV string on ";"...7 -
Oh yes, today was a fugly nice day.
Fuck you my dear boss.
Your mindless way of taking a dump onto my code, moving my classes (CSS) away and adding new classes to refuck my unfucked fuckery clearly shows how much brain is left in your hollow skull of nothingness.
It took me only 2.5 hours of my precious time to unfuck your refucked fuckery and implement the fix you wanted me to do because you fucked up my code.
Go eat a bag of segfaults and get cast to void* (void pointer).
I am also very thankful having spent the whole day today to fix cross browser fuckups, hacks and #!&$+@.
Normally I really like my boss. He is a cool guy and an innovative and mostly intelligent person.
BUT FUCK HIS CODE.16 -
What kind of genius pulls the power cable of the main server through the PSU lever of an old useless server?
I had to pull out the PSU and let it hang on the powercord just to be able to pull the old ugly bastard out... fucking genius, really!
Now I have to wait until the evening to shut down the main server and remove the hangman PSU.
I just really fucking hope and pray that restarting the main server will not cause errors. It has been on for 2 years and never been updated since then.5 -
4 hours! four fucking hours! f.o.u.r. h.o.u.r.s.!
It's the amount in the time domain this bug has cost me to fix. The cost in the sanity domain is immeasurable...
I swear, the god damn ass births of devs who coded this abomination should be slowly mutilated and then raped by their own severed limbs.
It took me 4 hours to figure out that their 12 year old binary CLI tool they used to generate PDFs from PHP could not handle neither HTML5 nor some linebreaks at specific places. Some part of it is due to them using REGEX to find and replace HTML tag.
Yes, I am indeed very pissed. And I need a 🥃 or 3
What we learned:
- Don't use REGEX to "parse" HTML
- Don't call random compiled CLI tools from PHP if there are PHP packages to do the same shit9 -
Doing occasional first & second level support besides my actual job of coding can be fucking annoying and time consuming.
Just let me code in peace and listen to doom metal!
"Blabla our 17 years old plotter does not respond blabla fix it please"
"My computer is so slow, make it faster"
Go die in your filthy office chairs by being pierced through the stinking butthole you ignorant endoplasmatische retikula!1 -
I think what would help is to teach them these things:
- awareness for security in code
- how to use a fucking VCS like Git and how it works -
cssRant
Why for the sake of world peace can't Edge inherit "opacity" to children?
This drives me insane!!!11!!one!eleven!!1!!
Get you fucking turds together dear browser developers!
The whole webDev business gets serious crippling depression from your brainless way of pooping out what you call "browser"!6 -
It is a truly great moment when your work finally is integrated in the website of the biggest news paper of the country and visible to hundreds of thousands of people.
I'm not feeling insignificant anymore. 😄
Next step: Rule the world.8 -
For me, the worst co-worker is one who works by the principle of quantity over quality or a person who thinks quick and ugly fixes are a valid way to solve problems. Also: If there are unittest, don't fucking dare to change or remove them, just so your code runs without errors.
But in general, I just can't work with people who don't really think about what they are coding, people who just code straight ahead without making the simplest plan about how to solve something. Most of these people realize too late, that their approach was rather shitty, unreadable and unmaintainable.
I often see memes about "I forgot what I coded last [insert timespan here]". Though it is kind of normal, if it takes you too long to find out what you wrote, you should consider overthinking your coding approaches.
Just my 50 cents.
Damn I miss coding... 4 weeks of learning & exams is too long...6 -
( true && false ).toString() + "rant"
49 20 6A 75 73 74 20 6C 65 61 72 6E 65 64 20 74 6F 20 73 70 65 61 6B 20 69 6E 20 68 65 78 20 6C 61 6E 67 75 61 67 65 2E 20 55 54 46 2D 38 20 69 73 20 74 68 65 20 6D 6F 73 74 20 73 70 6F 6B 65 6E 20 64 69 61 6C 65 63 74 2E 20 57 68 69 63 68 20 64 69 61 6C 65 63 74 73 20 64 6F 20 79 6F 75 20 75 73 65 20 6D 6F 73 74 3F5 -
One day after the release of the website of a medium sized travel company, I made a big mistake by accidentally taking it offline for 1 hour during peak usage (~150 simultaneous visitors).
Turns out deleting the wrong image transformation cache folder in production can hang up the PHP process for taking too much load on regenerating image transformations.
The designer of PHP probably took a big load too while creating the first draft.9 -
A coworker and me did together a "hackathon by choice" this week to finish a project. We did it only because we thought it would be cool and be able to finish the thing. Well it was surprisingly fun to stay awake 36 hours, coding all through, having a good flow. After that, our boss came and was very proud of our work and he was able to send it for inspection to the client. I stayed a bit longer to fix a few minor bugs, but after 42h I was finally in bed. 😁
Our boss gives us the following Monday off.
But I think on other projects, often deadlines take the fun out of it, if they are not estimated well... I mean you do great, high-professional work but in the end you feel bad, useless, slow and incompetent because of the pressure.2 -
Be careful when you go down the rabbit hole of creating custom observables (rxJS).
I wasted half a day just to find out that there are hot and cold observables and that the whole time I tried to use the wrong one.
It finally works. 01:00 in the morning.
My boss will be proud when he pulls the changes and the code looks completely fucked up (clean, well structured code, but he doesn't really know observables).
Now something different: Sleep. Cya. -
They actually did it...
Cheezus Crust, they actually "generated" 3 HTML selects to let a user chose a Date.
(nvm the line numbers, it ends at 3000)
They didn't even bother to generate the fucking arrays lol15 -
What kind of rusty asshole develops an FTP client which seemingly treats uppercase and lowercase filenames as exactly the same and is not able to fucking understant UTF-8 filenames!?
OK or maybe it was the shitty ass server to which I had to deploy the website to.
I've never been so pissed in my life.
It's already an asshole torture to upload 2.3 giggle bytes of pixel jizz, but 5 hours later, when the site has been made public, you find out that 25% of these images' filenames were automatically renamed during the extraction because some asshole dev thought it was a great idea to not even inform the user about this behaviour.
Fixing filenames in production while your boss is really pissed next to you the hole time is not a great feeling. Especially when you accidentally purge the whole image cache and the PHP image transform task then blocks thus making the whole site not loading any more images for 40 minutes.
WHAT AN ASSRAPE!
Please don't comment. I'm still too pissed to read comments. Thanks.4 -
Most cutting-edge?
Well, there was this one website, with border-radius > 0 on everything... does that count?5 -
Often I look at my seemingly perfect code 30cm away from screen, mumble "WTF", while asking me why it is not working.
My boss might think I'm retarded... -
The people who wrote the specs for SAP OCI should be hanged by rusty barbed wire while being tickled by krusty the clown.
Which one of these stinky hobbits thought it was a great idea to require a (catalog) server to handle a POST request by sending back an HTML form which has to execute a POST request immediately by JavaScript on load?
Why not fucking respond with the actual god damn fucking data?
Some "senior" (read "senile") software "engineer" has to get decapitated.
Quote from the specification (OCI Function: VALIDATE, section 2.3.2):
"The product catalog replies with an HTML page that contains a form with the productdata in OCI format. [...] The HTML page may not contain any visible elements ([...]). The form must be sent automatically by JavaScript after the page has been loaded."
The only thing that should get sent after loading would be these people's asses to hell after my minigun has finished loading.
SAP is the kind of company who earns a huge junk of money from utter, stinking, filthy crap and they like to piss in their customers' "müesli".4 -
Often when I struggle with a complex programming task or get stuck in a bug, this cube and a big cup of ☕ helps me to get back on track.
But when nasty legacy PHP code or WP templates hits the fan, only a mental institution can help...4 -
My first contact with a computer was in 1997, I was close to 9.
My parents bought it together with a 17" screen and a color inkjet for about 6000.- CHF if I remember it correctly.
It had Windoozle 95, Pentium 2 233MHz, Radeon Rage 128 something.
At first I was not allowed to use it, but after watching them write documents for some time, they allowed me to draw random stuff in MS Paint and use Word.
It did't take long until I figured out to do more stuff on the system.
I think I crashed Windows a few times by installing some random demo software or shareware and execute just anything to see what happens.
When I turned 10, my godmother gave me Age Of Empires 2 as a present (I wished it so badly) and since this gift, I was somewhat addicted with computers and gaming.
My mother forbid me a lot of times to use the computer for weeks. 😄
But it all made me know computers better and even start programming with Quick Basic! (later VB, C++ and C#)6 -
Yesterday a strange bug appeared in Chrome: In a small web app we have some umlaut characters like äöü. Strangely said characters were displayed as cyrillic, but only on my pc... On every other device it worked. I spent about 5 hours of checking encodings (everything was in UTF-8), reading posts in the almighty stackoverflow.
Finally i figured out, the font was broken. After reinstalling it, everything was peaceful again in my head. -
You know you have some power, when your boss asks you for your opinion and advice about how to structure an upcoming project and which technologies and frameworks to use.
Give me that raise already.1 -
Before I finally managed to move out of my parents' place, they nonstop kept annoying me by saying I should get a "real job". They thought I was only playing games or browse random unimportant stuff on the computer...
Nowadays they think I "kreate" websites (as Karlie Kloss would pronounce it).
My mother one time was so fucking annoying about my job, I got so pissed off, I threw in her face her that I earn three times what she gets and I have much more responsibility and brain requiring work and that her single-cell brain would never understand what I am doing the whole fucking day.
Since then we dont talk much about work anymore.
Fucking parents... the best thing that happened to me was moving out of their shitty place and their poisonous attitude.1 -
Well there were quite some teamwork fails concerning Git and build environments. I covered a few in my previous rants.
Basically I become a tiny bit of FUCKING ANGRY when I have to work with lobotomized pricks who get a segfault at address 0x00000000 in their brain_x68.exe when it comes to handle Git in the simplest ways possible.
Horrible commit messages, unfinished/buggy stuff pushed to master, force-push with fucking 6 months old code +1 change, pushing "resolved" mergeconflicts without resolving, 1 year old issues which are not closed or marked in any commit message, copying repofiles into a backup folder and committing it, not commiting files and change it directly on the FTP...
I HAVE SEEN IT ALL.
If I was not a calm and thoughtful guy I have had exploded and quit a long time ago!
I only help them so they can improve their dev style and workflows.1 -
My first project at the job was implenting a website, designed by the same company we mostly worked with.
It was very stressful because half of the 2 months calculated for finishing the project, these genius designers needed for their design. Until then, I had almost no tasks to do...
When the designs finally came, I worked on it and two weeks later was a meeting for review and to decide about some details.
These fuckers then concluded, that the whole design did not fit the page and that they would rework it.
Two weeks later, on the planned release day, we finally received it. A completely fucking different design! Wow!
My boss was pretty angry and so was I. We had to move the release 4 weeks ahead, the client was pissed like a stinking hobo and it needed a lot of convincing to keep that client...
It's fucking nerve-wracking as well that we always have to wait in most projects for weeks for clients or designers to add the content before we can publish a website.
They don't seem to care if they have 2 months or 2 weeks, we never were able to release one single project on time, because of these lazy fuckers...3 -
I clearly remember when my boss, shortly after founding the company, told me that we won't add support for $IE_version < 11 in frontend stuff. Guess what I had to do a lot since those 2 years I'm there...5
-
Oh boy... something just happened I'd have never expected.
Remember my rants about the PHP CMS Of Doom™?
Guess what... the boss of said company just called me to offer me a job as their new tech lead. WTF.
I'd rather slowly impale myself on a rusy pickaxe.
I'd rather tattoo my face with a giant, pulsating, uncircimcised shlong.
I'd rather take a swim in a pool of Hydrogen fluoride.
I'd rather work 80h/wk on pimple extraction.10 -
Date of doom... they forgot the double quotes...
(btw. $dateString is in the form "1234-10-11")
The fun part is that this comparison fails because $dateString is not numeric (due to "-") thus won't be (non-strictly) equal to 0 (int).
Damn fuucking amateurs... all hacks no skill.10 -
I don't like marketing people (nothing personal).
Most of those I had to communicate with, do lack anything that would remotely come close to brain activity.
A handful of days before the start of a huge event, for which we made a VR game over 2 months, they have the ovaries to tell us that the spectator TV doesn't fit the event's design and thus the VR game will not be shown at the event.
Wow.
Thankfully, half a day later, their CEO directly wrote us and told us to ignore them and to proceed with the preparations for the game.1 -
It's interesting how much fun Javascript is, when you just ignore it and use Typescript instead. 😎2
-
My biggest dev regret is that I did not intervene when we decided to use WP for a huge website.
1 year after going live I had to add new features and translations; imagine the PITA-level!
Young me was too reluctant.2 -
[CMS of Doom™]
Gotta love the fact that the fuckers who originally "coded" this abomination of a CMS implemented a method which replaces some text before sending the HTML to the client.
Guess what fucks with my code?6 -
MySQL databases beginning with "test" in the name gives even people without login full access to its tables.
Somebody deleted all tables so we had to get a backup from out hoster.
Thanks MySQL.1 -
I'm pretty stoked on the future release of SemicolonJS... It will change webDev as we know it. 😎
http://semicolonjs.com
@dfox, @trogus when is the release?8 -
What really helps me is knowing electronics, having a solid understanding of maths and experimenting around with computers and hardware in my spare time.
At some point you start to see programming as being more than just "kreating" (as Karlie Kloss would say) an "app".
I see programming as pushing your machine to go beyond its seemingly narrow boundaries. -
These fucking imbecile devs left me a bunch of bugs in a 150k LOC legacy hell...
Too bad it took some 8 months for them to finally surface in prod. God damned...
Technically, this whole codebase is one giant abyss filled to the brim with bugs.6 -
My worst devExperience since there are dev evperiences for me, was when I had to rewrite a pretty important tool to the new onlineshop we created.
See https://devrant.com/rants/1016596/...
My best devExperience in 2017 was going live with one of our biggest web projects I had to develop all alone and hearing only great feedback. My boss told me there were more than 30'000 visitors one day after going live.
It was and still is quite satisfying. 😎1 -
Changing between projects multiple times a day is as annoying as a homeless chasing you while begging for heroin money.
Today was one of these days I had to fix bugs for 3 different projects with completely different devStacks. The productivity dropped to a new low. Being a fullstack dev is awesome, but please let me do one thing at a time, so I can stay focused!
Dear boss, just fuck off with your managing skills or there will be ultraviolence soon!6 -
Dear intern, if you really really have the urge to use fucking spaces for indentation because it let's you feel like being some Google hipster, then PLEASE AT LEAST REMOVE THE SPARE ONES WHEN YOU FUCKING COPY PASTE CODEBLOCKS!!!1!!1111!
I'm perfectly OK if people wanna use spaces if they use it in an OCD-proof manner.
Nah, let's be honest: Spaces are a filthy way to indent stuff. Tabs are in a lot ways superior and if an editor can't render tabs correctly, the editor is a piece of worm puke.2 -
I hate most techbloggers...
"It is said that apart from HTML and CSS, Java is one of the [...]"
Java, srsly?!
"React JS is an open source library made of Java scripts [...]"
http://techverx.com/blog/...4 -
Damn, it's quite refreshing to work on some C#.NET microservices instead of the usual PHPTSD in the CMS Of Doom™...4
-
Sometimes I wish I could work in an anechoic chamber, alone.
Big open offices can be a fucking pain in the butthole.
Phone ringing here, stupid chatter there, clattering keys and noisy Intel™ stock coolers.
Even 9 hours with over ear headphones, blasting a fresh breeze of technical death metal, can't cover up those distacting noisy cunts.
How do you cope with that?9 -
Fuck this completely abysmal CMS!!!!
Not even god damn Einstein would be smart enough to understand this stinky pile of legacy code!
No, it's not enough to write an HTML template in PHP with less than 500 lines of code, noooooo, every god damn template HAS TO BE AT LEAST 3000 FUCKING LINES OF CODE WITH RANDOM INCLUDES EVERYWHERE!!!
Every fucking thing I fix spawns at least 2 new bugs! I FUCKING CAN'T!!!
I swear, if I meet these fucking worms of developers... someone will eat fresh turds mixed with puke from a highway toilet!17 -
For a new project I first try to get an overview about the specifications, hosting and platform.
Depending on this information I decide which language and frameworks (if any) to use.
Basically always the first part I create is the backend, so I have all the data interfaces ready. For web stuff Postman is really useful.
Later on I start with the frontend, get myself really angry because I hate frontend.
Then I get into a hate-overdrive because browsers suck and I delete everything and quit.1 -
[CMS Of Doom™]
Imagine bringing every HTTP Query Param and every god damn fucking POST var into to current code context.
"extract()" is one of the reasons why I have terminal PHPTSD.10 -
Ideas for future weekly question:
- Where will you see yourself in 5 years?
- Do you automate tasks when developing and what kind of automation do you write yourself or use?
- What do you think about hooking up with someone from work?
- What are your thoughts about books in IT?
- How do you make your workplace comfortable?
- How would you change your company if you became the boss today?
- What are your thoughts about the future of computer input devices (kb & mice)?
- What are your prevention measures agains Skynet?
- When will HL3 be released?
- What's the solution to everything?6 -
It might be a stupid question, but:
Do the full-stack devs of you actually have that function in the job contract or does it just say "(junior/senior) software developer"?
Mine says just "Software Developer" and in my opinion it sounds just too generic and undervalued for what I'm actually doing...22 -
The worst architecture I've seen is WordPress.
How can you be so drunk to design such a filthy mess?
In some way PHP might be to blame. Its API is a fucking mess as well and may have stirred WP developers in this puke around so they couldn't come up with a better CMS architecture.
Don't get me wrong. I do love PHP. But only in it's OO form with namespaces and type hints and composer dependencies.
I've seen enough of PHP functional programming and it still haunts me.8 -
How can I be so fucking stupid?
I was developing and testing a small webserver running on an ESP32.
3 fucking hours were wasted resolving connectivity problems because I did not realize the fucking VPN on my PC was still up thus hiding my ESP32's IP.
How fucking brainless...
I've cie ked everything. Dead flash, wrong offsets, compiler warnings, CPU freq. config...6 -
1 am, wide awake,
I want to go code but cannot take,
for time is not my friend,
If I go now, it will not end.
Rest is needed, sleep must be,
or tomorrow I will pay the fee,
concentration will be sparse,
and boss will surely kick my arse.2 -
I'd rather take a swim in a moist human massgrave than fix any more bugs of this cancer-inducing "selfmade" CMS developped by a "company" that shall not be named.
Sadly I am not aware of any such pit in the neighborhood, thus more bugfixing it is... yay ⚰️5 -
Null ARMstrong once said while debugging the lunar lander code:
That's one small debug step for a man, but one giant leap for memleaks.5 -
I'm working this whole weekend to rewrite/move an old custom made shop extension to the new shop.
The amount of possible SQL injections is too damn high and this piece of shit the creator calls code is the most pitiable thing I have ever seen!
I don't how you can call yourself an experienced programmer if you create SQL queries by concatenating strings and variables in raw PHP, copying the same fucking includefiles to 10 different folders and use all of them in random places.
I'm not angry at all, I just want to castrate you with a blunt, fake swiss army knife so mankind is safe from you multiplying yourself.2 -
Days where some new website is going to production are the worst.
14 hours of pain are finally over. Insanity is close.
FTS.
Finally sleep. Thank you for the overtime, not.1 -
My biggest dev career dream is to have a useful SaaS with a solid user base and then reduce work to 40-50% and use the rest of the time for hobby projects and a family.1
-
Our "intern", who is working here about ONE-POINT-FUCKING-FIVE YEARS with web front- and backend, just asked me how it is best to create a link from one page to another page and sending an additional parameter.
Oh boy...8 -
I'd really fucking love if somebody developed a browser plugin which puts a red fucking glowing banner over every website which sends data to PRISM.
Users deserve to know what cunty sell-out crapsites they visit.10 -
Firebase... the kind of hosting you seem to be friends with, but if you're honest, you would really like to kill it by sticking a flamethrower in its ass, happily pulling the trigger, while singing "Oh happy day" in full vocals.
The people who wrote the whole thing must have smoked crystal meth through a hobo's raped intestine to come up with such a turd fest. WTF.
If it wasn't for my boss, I'd have ran far away to nerver hear of this tripper infested crap again!5 -
I see the industry evolving into dna-mutilated JS hipster virgins who use neuronal networks for even the simplest tasks an jerk off on MongoDB queries during their breaks while thinking of GraphQL queries.
Naughty.2 -
Warning: w-rated for "wordpress", s-rated for "stupidity"
Yesterday in the morning I receive an E-Mail from a designer guy that we should update a plugin in a client's WP because their visual composer in the backend doesn't seem to work anymore.
My boss confirms the task. I'm fucked.
The anger in me rises.
So I try the Wordpress login, it works. I create a backup with Duplicator and run it locally. 2 hours later I found a solution so I want to upload the files to Abominationpress.
BUT THE FUCKING FTP LOGIN DOES NOT WORK...
I write him back asking for the correct login data. 24 hours later he writes me back the exact same username and password.
THANK YOU YOU LOBOTOMIZED BRAIN-AMPUTATED IDIOT.
It already gave me cancerherpes when he mentioned WP, but this shit is just fucking too much.
Now waiting for the response.5 -
An experience that made me doubt (some) skills was when I tried for 3 days straight to find a way to share data over a win32 message. The event worked flawlessly, but the data payload always cointained random bytes.
A few weeks later I found an article about MemoryMappedFiles, which helped me solve it within half an hour.1 -
For fucks sake! It's 2018 and MS™ Excel™ is still not able to store a file in UTF-8...
And neither can you choose the separators when opening a CSV.
Go eat a bag of corporate dicks and greedily choke on it to an agonizing death.5 -
Remote server software installation support is great!
You can watch them trying to understand where what is on the file system, they repeatedly switch between windows without doing something on either of them and they set your IE browser policy to allow all kinds of domains & sites which are preventing them from downloading their software.
Todays guy did not know how to transfer a file between the local machine and one in remotedesktop. 😄
(If you do support like this, then don't get me wrong, I'm not making fun of you personally, it is just funny to watch if you have to actually sit there and wait for the support to finish.) 😉1 -
Hey, looks like some employee of this hosting company failed to 750 his home directory and 640 the files...
I was SSHing around on our hosting account when I slipped into his home direcory where at least two(!) SSH public keys of his admin account for the server were readable!
Being an honest guy, I had to call them...
It's fixed now.2 -
I fucking love it!
After a full day of refactoring old shitty code into a glamorously sparkling epicness of bytes, the whole thing worked flawlessly and on speed.
Quite satisfactory. 😊
Templating in TWIG, especially using inheritance and includes, is so much more fun than doing it in raw PHP!
*cough*Fuck WordPress*cough"1 -
If we had a devRant vote on the most annoying word of 2018, I'd vote for "token".
Token here, token there, token yourself in the rear!
Some project I'm currently working on has to fetch 4 different tokens for these syphillis-ridden external CUNTful APIs.
Your mother inhales dicks at the trainstation toilet for one token!2 -
Fuck first level support.
Usually the users are the problem because they don't know how to reboot or they delay software updates to infinity if you give them the option.
Additionally, having to log in on a user's computer, I always feel like I'm entering a messy's appartment. How can they live like that?
Fucking imbeciles.3 -
Firebase is pure fucking assrape!
How can these spoiled cunts of Google "develop" such a stinking pile of rotten placenta?
No, one fucking Promise is not enough... you have to return Promises for every single smegma function!
I want to just blow up this ugly afterbirth!!
It seems that Google devs are just spoiled MacCunt Pro brats who copy-paste code around until something "kind of works".13 -
int hairsLostCount = 0;
while(!Code.isWorking){
Code.tryNewUglyFix();
++hairsLostCount;
Console.WriteLine(
"While fixing the code you lost "
+ hairsLostCount
+ " hairs already."
);
}
Coder.doCoffeeBreak(); -
What's the most complex programming task you ever had to solve? Or: A "hack"* of a framework/API you came up with to make something work?
*undocumented or unintended use3 -
There is nothing more fulfilling than working you ass off 2 days, learning a new technology, and getting it to finally work as per the requirements and then ...
getting told that the absolute cunt of a client forgot the release date, announced its release 2 days early and decided to casually ask why there is no app on the released URL (it's a tiny Agonizing Reality [AR] app meant as a gimmick on the invitation cards for an upcoming convention).
My boss told me, the thing I worked on is now being scrapped and will not be released.
Yes, I wish the clients could slowly die in agony by a tree growing out of their appendix. Nature shall reclaim their corpses and feed a happy pig which I would happily have a feast of. 🤗3 -
Web development is the worst!
I still cannot understand why it is not possible for browsers to correctly support all official specs... Exceptions here and there, dirty fix for this one, add a little margin here, hide this...
The daily struggle never stops.
Don't even get me startet with PHP!
Next round is on me ;)6 -
Ah fucking hell.
I hate it when my boss goes the path of least resistance to implement something.
Of course declaring a class property with the "any" type (TypeScript) is a fucking lot easier than to properly write an interface for it and declare the property with that type.
Thank god I have holidays, otherwise I would hatepunch his fucking monitor. Twice.2 -
I think I might get close to a burnout. Last week was extremely stressful because of a deadline and I worked 45 hours in 4 days. Even in the evening my heart is pounding like a coke addict who had his last nose 1 hour ago.
What is your personal way of dealing with (work related) stress?
What activities help you best to cool down and relax?
I've not yet tried meditation but am trying to take some time to regularly do sport after the work, hopefully it helps.6 -
Fuck. My boss left for a meeting with the client to show him the new frontend. 5 minutes after he left I saw that on the staging server half of the page entries were gone for the non-default localizations. FUCK.
It took me 20 minutes to restore the fuckery. I hope the client didn't see it...3 -
So it turns out I had to set the memory_limit of a PHP cronjob to a whopping 8 Gigglebytes to make it run.
Call me haxX0r m4n from now on.2 -
Come the fuck on!
AngularJS, or should I call it AidsJS, seems to magically stop sending data as 'form-data'.
2 hours of debugging and this rusty piece of junk won't bow down before my magic hands!
Go eat a rotten turd candy, Google!4 -
"Biggest challenge you overcame as a dev?"
Overcame? I wish! I'm in the midde of fixing the worst legacy code clusterfuck I have ever seen...
Yes, it's even wayyyy worse than WorstPress...
There are days where my coworkers hear profuse laughter coming out of my lone bureau, some of them might already be thinking that I've gone mad. Maybe I have... bwahahahaha3 -
Talking in buzz words is just a substitute for wanking, but without actually creeping the shit out of people by pulling out your wank organs.3
-
My most intense day was in the company at the day we had to publish a website containing lots of jQuery & CSS animated stuff.
We planned to go live at 3pm but due to the fact that before lunch time there began to appear more and more styling and animation problems, we went live at around 9pm. I was sweating and nervous as hell the whole time.
At least my boss and I went to drink a few beers right after that. ;) -
We as developers often get a lot of pressure considering the deadline for $someProduct™.
But sometimes it happens to me that I need less than half of the estimated time for development of $randomFeature or $product™.
Do you think it is fair to (rarely) procrastinate a bit in order to not show your boss that it needed much less time, so he will not lower his time estimations for future stuff?1 -
My worst legacy code experience was when I worked as a freelancer and got a tiny job to improve a VBA module in some Excel file for a very big company. So what's worse than VBA? Having to change parts of VBA code that was passed around to other freelancers before like the cheapest dockside whore. After meddling in there for about half an hour I felt like all those cheap ass punter, so I decided to write the whole thing from scratch. What a relief, after 3 hours I was very proud of the thing and it looked clean and well maintained again so I let it back on the streets. 😉
To the coder who comes after me: Please treat her (the code) nice or I will burry you alive in dog poop and burn the whole thing!1 -
!rant
I wonder what it feels like to be a programmer in north korea...
1 bug, 1 day gulag?
Just kidding :)
I hope they enjoy stackoverflow & news over TOR.5 -
I'm doing a short 1 hour livestream on twitch on installing CraftCMS, plugin development and maybe Angular 4 setup, if there is enough time.
https://www.twitch.tv/qbasic164 -
WTH...
While styling some frontend stuff with LESS, I experienced that on one page template the <header> was not displaying the given line-height eventhough the whole fscking code was 1:1 identical with the other template in which everything was fine. I checked EVERYTHING... caching, URL, source, classes, open / wrong tags, HEAD, ... I even did a diff compare. NO FSCKING DIFFERENCE!
After one hour of pulling out hair I suddenly saw that in the faulty template file 2 lines were missing:
<!DOCTYPE html>
<html lang="devRantLang">
WHOEVER DID THIS: YOU ARE FSCKING STUPID!!! (it was me...)7 -
I got terminal white-space autism because of the CMS Of Doom.
Forgetting one or adding one too many leads to major problems on prod.4 -
I love PHP, but...
the PHP API has been designed by crackpipe smoking cave trolls.
Every other function has its params completely reversed or in random order compared to similar functions.
Examples?
array_map, array_filter, property_exists, array_key_exists11 -
All the jQuery... in one single repository / website.
There is a good reason why we should use fucking CDNs.
Edit: Yes, these are different files in different folders.
Edit2: I've already deleted 2 other jQuery files (the library itself).4 -
I started to get interested in programming at the age of 13. I was started spending a lot time in our school library and read mostly technical books (beginner/hobbyist stuff) about electronics.
Some book was about Quick Basic (hence my username).
On Windoze 95 in a DOS mode IDE I started trying stuff out and soon I had my first tiny console game.
A bit later I started with HTML and CSS stuff, made a website about ongoing jokes in our class and some rants, later I got into VB6 (I hate VB nowadays!) and wrote for a personal school project a learning software (relatively simple one) to learn vocabulary for foreign languages.
At about 15 I started with C++ and later C# .NET, which I liked the most, and started on some new Windows.Forms stuff, created some small websites.
Now I'm working parttime as a professional developer (mostly web, but VR & .NET too) and studying EE at a university.
My parents had no experience with computers at all, so I learned everything myself an with the help of the allmighty internet (the black box with the red dot on top).
That's my story. ;)
Insert your rant about this below this line:
----------------------------------------- -
Did you know that "Chief Prayer Officer" is an actual role in some companies?
It just so happens that our IT partners have a CPO and the very same company forgot to install Antivirus software on our servers... I guess the servers are protected by God™. 😅12 -
!rant
Have you ever gone to a bar just for the purpose of beer-coding/barcoding?
I just did it and it is awesome, but too much beer is not helping very much for difficult tasks...2 -
I got my last job more or less by luck.
The freelancer platform I was active on, had once an offer for 100.- if you find a parttime webdev for some small business.
I was looking for this kind of job anyways to finance my parttime study so I wrote back.
15 minutes later, their boss called me and wanted to meet me for an interview.
3 days later, at the interview, we talked roughly 10 minutes about my experience and then it was all about the upcoming project and at the end, about when I want to start and what I want as my salary.
Needless to say I got the job and the best: Also the 100.- 😎 -
It is truly satisfying when you sucessfully extend a complex system in a seamless way where the narrow-minded user isn't able to recocognise any change.
I've worked half of the day on a "CMS entries to Excel exporter" and it fits so perfectly it is just another value in the exporter dropdown to choose from.4 -
What a horrible monday today was. Fuck-all worked. Missed deadline. Not much sleep. Heart is racing.
But hey, the horoscope in the daily toiletpaper press knows it all better, as usual, 100% IQ:
💫"You have finally found your center. Your body and soul are feeling great and your're in tune with yourself. You are enjoying it and would love to share your experiences with your loved one."💫
Where is my rocket launcher??? I have to kill a newspaper.5 -
I think I'm getting crazy...
Yesterday evening I finally thought it was a great idea to set up Gitlab CI to let the server build (ng cli) and deploy (via FTP) an Angular5 SPA on commits on the master branch.
BUT...
The npm package "vinyl-ftp" thinks it is pretty fucking funny to just randomly stop in the middle of uploading files or just upload some files with 0 bytes in size.
WHAT THE HELL?
After some hate infested trial and error, it seems that the more parallel channels I set up, the more chance I get that all files are correctly uploaded, but never all.
If anybody here happens to be some kind of mighty byte bender and knows what to do, I'd be thankful. But I will probably try out a different client in the docker image...1 -
Bait question: What's your style?
a) for ( ... ; ++i ) {
b) for ( ... ; i++ ) {
I am disgusted of b). a) for the win 😎18 -
In 2020 I want to achieve:
- develop a proper custom deployment tool (for job)
- get my boss to finally approve of me doing code reviews (we have 0 reviews 🙄, tiny company)
- never have to work on WordPress ever again
- develop or set up a company internal package repo (alt. to NPM)
- get a new contract
- get 3 open side projects done
(non-dev)
- buy some more furniture and make the appartment finally cozy and a happy place to live
- finally get over the negative thoughts of that antisocial ex
- go indoor climbing 3 days of the week, to get rid of those developer fat cushions... 😅6 -
Most hours of work at once?
A coworker and I did an allnighter because our boss gave us a tight fucking deadline (luckily that almost never happens).
We started normal work at 06:30 and were finisted at 09:30 the next day. Summed up break time: 1h 15m.
I remember that my coworker went home after that but fell asleep in the train and woke up 2 hours later half across the country. Poor soul.
When he left, my boss just arrived in the office and I had to stay 2 hours longer to fix bugs we implemented during our caffeine overdose...
It later turned out that the whole mess was useless, because the client put the project on hold. That was about 8 months ago, or 12, I don't even remember.2 -
!rant, opinion/discussion
What are your thoughts or experiences with Ruby on Rails? Does it have a bright future?
I'm currently only using PHP for server-side web stuff, but looking for ideas for more beautiful languages.
I know C#, but because 95% of web servers I work on are Linux based, it's (as far as I currently know) not an option. Or is ASP.NET Core somewhat supported on non-root (basic hosting) linux servers?7 -
Whichever fucking cunt at Wordpress came up with that filthy Walker class and how a navigation item tree should be traversed, shall be hanged to death.
How fucking brainless can one be to create such a complete pile of donkey turds?!
No wonder Wordpress itself makes no sense at all nor has it any connection to any intelligent lifeform whatsoever.
Edit: This rant does not even closely show how high my fucking rage-level is!2 -
Damn, I really love programming. ❤️
It's way more uplifting and satisfactory than having a significant other.
Even my botched WP installs are more stable than most pseudo-longterm relationships nowadays.
Oh yeah and another thing:
How is it so extremely hard or even impossible for a lot of women to admit their own fucking wrongdoings to a close person?
Mind boggling.19 -
It is a PITA, when you have to triple escape single and double quotes in strings in order to get your stuff working.1
-
!rant
Could anyone explain to me what the meaning of the size changing scrollbar is?
Does it show the ratio of window height over the height of the current rant or comment it the latter is longer than the window?3 -
I still have the best boss. He's very open-minded and lets me do my job without much interference.
But if I have to collaborate with him in one more project, I go take a peaceful drown in a bucket of sewage!
He codes like a first semester CS student. -
[CMS of Doom™]
Imagine creating a CMS so bad that you let the owner (who I work for) define in a simple input field what email address is used as the sender address for the welcome email of newly registered users.
Basically they filled in a personal email of the company some 3 years ago AND of course the person with said email address left the company a few months later thus for some 2-3 years newly registered users received a welcome email with a sender address of an unavailable user.
And I thought I've seen it all in this CMS...3 -
There should be a launch button wired to the clients' seats in meetings so you can fire them in to the sun while sitting in front.
I don't get how they can be so dimwitted sometimes...1 -
Coding was and is the thing that currently feeds me the most efficient way. But it's also what caused to cringe and to hate people the most because of legacy code and immensely narrowminded dimwits aka clients.
But yeah: Coding is love, coding is life. ❤️ -
Imagine implementing PHP scripts which execute shell commands defined in URL GET query params on your customer's dedicated server without any basic authentication or similar. The only security is by barely obfuscating it's URL.
I think I've seen it all now...3 -
MiniDLNA for Linux is pretty cool!
Yesterday my "smart" TV arrived and I asked myself if it can play stuff from a network share, but LG does not seem to think this feature is needed.
After a moment of searching, I found out about miniDLNA, a service sharing media files on the network, which is supported by the TV.
10 minutes later the folder was connected.
The first song I had to play was "a bit of the old Ludwig Van", ninth Symphony, Fourth Movement, Abridged.2 -
I think a good path to dev education is if you are interested in it as a teen and try out coding and keep failing. Persistence and interest will bring you farther than just going straight to uni/dev school.1
-
It's a really interesting discussion, when your boss tells you that it's a perfectly fine idea to directly use a Firebase DB from an Angular web app by storing the Admin Auth Token in a variable in JS.
Thank the spaghetti monster, I was able to argue against it and use the already partially implemented RESTful API with the already used auth.
He basically wanted to save time and omit extra login routes.
It's OK to save time and not implement $randomFeatures.
BUT DON'T FUCKING TRY TO SAVE TIME ON SECURITY!
If it wasn't for me, this web app would turn into a bigger gaping (security) asshole than Sasha Grey's...6 -
Interprocess communication with MemoryMappedFiles.
It took a while to figure out how interprocess communication works. -
[CMS Of Doom™]
Ah, yes, their built-in bullshit newsletter module just sent the n-th user n emails. Wonderful considering n=368.
The culprit? Better don't ask...
OK, anyway: So the mailer is running as a CRONjob, but nah, not as a console script call but by a public HTTP GET URL call, fucking obviously (it's the CMS Of Doom for a reason).
So these fucking imbeciles "implemented" an ob_start() callback where HTML links are - for whatever fucking reason - modified by some regex (obviously everybody knows parsing HTML by Regex is trivial). In this case the link was somehow modified to recall the mailer Cronjob...
This must have upset the pngoing mailing process thus spamming mails. Whyyyy
And I've thought I've seen it all after 6 months in this legacy hell...
This is why you don't run a company consisting of only beginners in PHP (in cluding their "CEO")! -
Definitely Git, Node, Composer and PHP at the moment.
It's fucking incredible how you have such tools for free.
The younger generations have it much easier to get into programming.3 -
Gotta love it when you try out a different VS Code extension for a specific language and then on each autoformat, more and more spaces get inserted.
IT LIVES!3 -
Today was the first time I used WebWorkers. I loaded it with a hyphenator script because fucking Chrome is still not able to do hyphenation on its own. For the main thread I wrote an injectable Angular service as a wrapper and to enqueue hyphenation work.
So far it works pretty smooth and quickly.
Have you used WebWorkers before? What for?3 -
What's your view on workplace relationships or hook ups? 😄
(Sticking an RJ45 in your pooper doesn't count btw.)9 -
Fuck MS Word and every other WYSIWYG editor for text AND especially if said editor is a custom built abomination made of PHP and JS.4
-
~rant
Hey did you know there is a neat operator called "tadpole"?
-~x = x+1 (tadpole swimming towards x)
~-x = x-1 (swimming away)
https://blogs.msdn.microsoft.com/ol...2 -
If some of you front-end devs haven't used CSS-Grid yet and are still annoyed by using nasty position and JS hacks to place stuff, I strongly recommend you to take 1-2 hours and read this incredibly useful guide for CSS-Grid:
https://css-tricks.com/snippets/...
and this one for Flex:
https://css-tricks.com/snippets/...
These two links have saved me PLENTY of hours struggling with all kinds of responsiveness and placement/sizing issues.1 -
You know the PHP legacy code base is complete garbage when it requires a script memory limit of 1.5GB.9
-
My biggest influence on coding style is:
"If code make reviewer puke, code bad."
In all seriousness though, I think the biggest influence is seeing messy code and not trying to replicate that.
I think every code file, however ugly it is, tells you a story. Maybe the coder was less experienced, maybe it was written during crunch or the coder is an enterprise software engineer who has to make a factory for everything and everything is generic.
In my opinion there is no perfect code style. You do what's required and hopefully in your best ability, and, as a bonus, think of the person who has to look at your code next...
For me it's kind of hard to tell whether my code is good. I have no reviewer in the company, which brings the risk of writing code so only you understand it... but so far it has worked and I've definitely seen worse than my 1 year old files. 😄 -
One of my bad dev habits is that I tend to take up too much work because a lot of devs I had to work with seemed not competent enough. It's a bad habit because I get way overworked which influences code quality and deadlines.
I have to learn to trust more in others and give up some responsibility... it's hard though.
I think a big influence on my mindset has been that I never worked in a team bigger than 4 developers and I had way more experience in web dev than the others.
I sometimes may appear as an arrogant prick, but it's not intentional.9 -
For me the worst job would be to develop front-end stuff as the sole dev in a design company.
Imagine having to go to great lengths just to have everything done perfectly down to half pixels.
I've had to develop a couple of projects for an external design company and their lead designer was an absolute cunt about quarter pixels. I'm glad they fired him and working with them had become somewhat sane again...
Some things in front-end are either impossible or near impossible to get perfectly and nobody will pay for those wasted days anyway.
Oh and by the way: Please get rid of IE. I fucking hate it almost as much as my ex's mom.3 -
@PonySlayStation people are hating your fifth sibling based on their looks. Got anything to say in defence?2
-
Family support for becoming a dev?
HA! None at all.
Well, to be fair, my parents bought their first a PC in 1996 for learning how to use it and to write documents for business.
So it was a rather passive support, if at all.1 -
Fuck business networking meetings.
Having to go as a representative of our company was not my most wished for thing...
But hey, free drinks and meeting and talking to one of the devs there saved me the annoyance of having to participate in a business circle-jerking for 30 minutes.4 -
I'm not sure if I have made devEnemies so far, because nobody has pissed in my good-morning-office-coffee yet. But I think my tendeny to perfectionism in syntax and code structure may have been a PITA in the ass for some coworkers sometimes...3
-
It saddens me to see that people still don't use other categories than rant. It's almost as if they don't care at all. If you want to post random garbage, please for the sake of this app, either use the appropriate category or fuck off to reddit.4
-
Life lesson learned:
Despite good intentions, don't overengineer the front-end, when time is heavily constrained and the release is scheduled and is communicated to media outlets immediately after.
A broken release just makes the client send around multiple emails per minute with tens of people in CC.
Shit happens... at least it was a bargain for them. -
I think I have PHPTSD...
This absolutely abysmal custom PHP CMS I have to migrate is even worse than I expected. At this point it's easier to guess the table relationships in MySQL than trying to decypher the code which that other company's CEO and his slaves wrote.
I have to assume that he is an absolute genius, well above 180 IQ points, as I have zero chance of understanding his code within my limited lifetime...4 -
Does somebody know how to send data to the PHP CGI executable directly and how to receive it (stdin/stdout)?
Or point me to a useful resource?
In a side project (just for fun) I try to implement the interface on NodeJS so I could process PHP through ExpressJS (long story).
I've been able to send and receive stuff, but the PHP CGI always tells me that I am "not allowed" to use this interface...
Docs/mailinglists seem reeeally old and don't want to go through the Apache source code 😅
Or does Node not have enough privileges for communicatig with PHP CGI exe?8 -
We should once and for all,
put all IE11 devs in front of a wall
stone them with small rocks
until they bleed out of their socks
then proceed to melt them
with a blazing hot flame
until they are just piles of ash,
I will party like a lush!
This rant wasn't supposed to be a cheap poem, but I can't expect you to read a rant in swiss-german consisting of 98% cussing, swearing and death threats.4 -
Optimizing my RESTful API plugin, used in a CMS to make it headless, was extremely satisfying.
Thanks to caching and alorithm improvements, I brought the response times down by a factor of 150.
The caching also includes dependency tags thus it will automatically invalidate on changes in the dependent element.1 -
Some user profiles I thought were worth stealing for a post:
PonySlaystation
"Full Stack Software Engineer, Electrical Engineering Student driven by OCD & Club Mate."
'club mate' read: probably white powder and ritalin. I heard he once dismembered a horse and put the bloody head in a rivals bed.
uyouthe
"Russian assassin leader, Apple fanboy. Tabs ftw"
Comrade, apple is bushwazee capitalist filth. Onlytrue comrades use windows, because the upgrade is free.
Root
"Magical processor fairy; part-time misanthropic bane of idiots. 🧚♀️🏹 Ergo sum miseriae"
Do you sprinkle magical processor fairy dust in each new generation of chips to increase their
clock rate? -
Fuckadoodling finally!
After 3 days of digging through the documentation of CraftCMS and Yii Framework I got the hang out of how these Controllers, Actions and other RESTful api stuff works on Craft3.
As some of you may have noticed, I am a big fan of CraftCMS (v2) since it was introduced to me. A few days ago we discussed a new project and the option go for Craft3, as it has been released for some time now.
The changes from v2 to v3 are huge... I didn't expect to almost reach my limit to give up on it!
But since the RESTful routes finally work, with proper data serializing and all, I will now go drink a Whiskey or ten and wish you all an awesome, client-disturbance-free, decadent, beerful weekend!
Cheers mateys!
🎉🎊🍭🥃🥃🥃🍻🍺🥂 -
Two people are about to hit 21000 at the same time. Me and @PonySlaystation.
It is like the conjunction of planets or something.6 -
I kind of hate people who use the JavaScript array method Array.reduce(...)
It rarely makes sense but makes code unnecessarily complex to read.12 -
My social life is currently mosty consisting of being social with computers, therefore my socialLife and devLife are pretty much balanced.
-
I keep myself motivated by reading about new technologies, language features and constantly trying to improve my code.
I see great reward in having fast and readable code. -
In the previous company I've worked, we've had about one customer every 1-2 months that had his WorstPress website hacked.
It's a horrible CMS and there is no argument that could convince me otherwise, not even bribery.
Luckily enough for WP, it's not the worst CMS I've encountered... that award goes by far to "The CMS Of Doom™" (name changed to not dox the incompetent company that created it). Fucking bastards. -
You know you completely fucked up as a company, when your self-developed CMS is one huge unmaintainable hack and without any structure at fucking all.
It's just mindboggling how even such a complete mess can "attract" customers.
EXTREME STONKS 📈📈📈📈
(thankfully I am not related to that particular company which shall remain unnamed)2 -
Not quite dev-related, but I once had to migrate and replace a Windows Server 2003 Domain (1 DC) to a new Windows Server 2016 Domain Controller. The network consisted of about 30 PCs, 1 DC and 1 DB Server.
Eventhough it worked, I wouldn't do it again... 😰
At the beginning I almost deleted the old Domain Controller VM from the old ESXi host server, before any VM backup existed. Close one... -
What's your way of arranging open code files in your IDE's window?
I usually have 2-3 code files open side by side and keep the lines at a maximum of 80-120 characters.
Other devs I know mostly have only one file open in full width at any given time... which I can't wrap my head around. -
4 hours wasted due to a rather strange "scope poisoning" bug... it was really fucking strange.
Had to move the 5 lines of code, above where the error happened, to a private function.
The 5 lines just called an XLSX library which read a given file and returned an array. I don't know how but the thing somehow messed with my Soap client call one line below. The culprit must have been some IO resource handle which didn't get destroyed when in the same scope due to persisting object references..1 -
I had to make a ruler grid for an existing horizontal scroll website project, but I had the job basically for sure.
I came up with a solution which included PHP-generated SVG embedded in HTML.
It was a new thing to me at that time, but a cool challenge.