Details
-
Skillspython, perl, php, bash
Joined devRant on 5/8/2017
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
-
I was planning on buying 7Dmk2 since my old DSLR is at the end of its life and for some reason while talking to a friend today I mentioned medium format cameras to him. Now, I spent last 6 hours reading all about Mamiya RB67/RZ67 with the idea of buying one. Fuck me
-
Motherfucking Microsoft piece of shit. Next time I hear someone talk anything other than trash about Windows 10 I'm gonna bash his head in. Over one week of rendering gone because the Microsoft motherfuckers decided that they can restart whenever they want. Installing wanna cry is less destructive than this virus sold as an operating system. People liking this Win10 shit must be really REALLY fucking stupid. Fuck you37
-
The Micromanagement God. The guy would come to the office 64 times a day, go behind my desk, stare at the monitors for a while and ask what am I working on.
He would sometimes ask for explanation of how something works because he never saw it before and then give me advice on how to use that thing he never saw before.2 -
I haven't done any front end stuff in a long time (last time was before jQuery was popular), and since I had some free time lately I decided to check out React and see what it's all about. Turns out that first I had to go trough one week of reading about node.js, npm, jsx, es6/es2015, babel, webpack (and probably something else), but I finally got to React. So far I had no problems with any of this but I have no fucking idea how most of this stuff works behind the curtains and I'm scared.3
-
Anything that has to do with SNMP. Guys who write MIBs are either complete idiots or amazing trolls.1
-
Why the fuck do all (smart) TVs have such a shitty UI/UX? I don't really use TVs and I was shocked when I tried one. Apparently it's a thing, it's not just that one I tired...4
-
I know everyone hates when people ask them for help with fixing IT related stuff.
I have a different approach to all similar questions. I don't get upset or anything, I just tell them that the device they have is a little bit shit, and suggest them buying a new expensive one that is better and will do all that. Your router isn't working as you want? Buy a Cisco (a real one with $1k+ price tag, not that Cisco branded Linksys garbage). Your printer isn't working as you want? Buy some high end Brother stuff. Etc...
After first few times they just stop asking...2 -
My last rant with example of usefull PHP function in old inhouse CRM software was somewhat popular, so I decided to post more stuff. This time we look at the login function. Besides obvious problem of SQL injection (that i of course tested) we have two calls to the same 'poslednji_login()' method (translated to english - 'last login') that actually just returns current time, not the last login time... twice...6
-
I have a lot of interesting code snippets from some kind of inhouse CRM/billing software, but for now let's look at this very useful PHP function.4
-
I fucking hate those 2K 4K resolution designations. What kind of marketing shit is that? I understand putting that on entry level (or 'gaming') stuff, but the cancer seems to be spreading...
-
So I was writing SaltStack state for syslog management and I had a simple config file in place to be deployed on a test server. I was writing the command to run the state for the test server, and the only thing that was left was to type the hostname of the server (instead of wildcard) when someone interrupted me. After I got back to this terminal I instinctively pressed return sending test configuration to over 80 production servers. Nice one...
-
I'm looking at one of my coworkers trying to exit vim for around 20 minutes now. I think she's not asking for help because I already explained to her vim modes and showed her some basic stuff. Should I wait for her to give up and ask for help or just tell her now?8
-
So, 2 weeks ago, some guy in here left a comment about how great i3 is, so I was curious and installed it.
Since then I spend the same amount of time on playing with i3 as on doing actual work. Not sure if I love or hate that guy, but i3 really is awesome.5 -
Before, when you bought $3k Cisco router you got the box that will run indefinitely as long as it has power in about any environment you can go to install it; with or without fans, it had more important business than to give a shit about such things.
Now, when you buy $500k Cisco box you get a over-engineered chassis with 5 separate fan modules with their own firmwares, self tests, watchdog timers and shitload of bugs. It's a fucking fan, it should spin, not do quantum chromodynamic simulations.
Pic related.
Next rant could probably be how Cisco's switch from monolithic to modular linux arhitecture (in order to reduce downtime) turned into having time bombs just waiting to do some crazy shit.2 -
You should write comments in your code, and in case of Perl you must write comments in your code.
I've done some DNS zone editing stuff using Perl's magic around 4 years ago and now I have no fucking idea what's going on in there. It's on production DNS server since then, no problems so far... -
Fcking Cisco decided that to upgrade from 8.2 to 8.3 version of software on ASA you need 1GB of RAM instead of 256MB needed for 8.2. Dumpster diving for DDR1 modules...3
-
Long time ago I worked with a few developers on some relatively simple web project. We were using php and smarty and we used svn for versioning. At one point some dude joined the project as a php developer (with a few years of experience).
After a few days without any commits, we found out that he doesn't know what a SVN is or how to use it. After he learned how to use it we found out in our repo bunch of files with a following naming scheme:
filename.php
filename_1.php
filename_2.php
filename_3.php
filename_4.php
filename_5.php