Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Just going through some old code from git repo's and code examples and I have a message to every dev out there after seeing some of the code quality...
Never... ever... ever fucking give variables with names like vx, tr and sq.
Give your variables names that explain what they are, it is so fucking hard trying to follow code that has 2 letter variable names and there is a special place in hell for you :-)
OK guys, I need your expertise on the dreaded WordPress.
(My question is at the end, skip to it if you don't care about a bit of context)
I want to do some research on a WordPress, regarding ergonomics, load speeds, and stuff, to try to convince its owner to switch to an handmade website. I care because it implies some of my close relatives.
I've been told mutliple times that WordPress brings good SEO, so I tried to find some info on how it does it. I found nothing which cannot be easily achieved, in hand made website, by "good practises" and common sense, and a lot of things which can be easily fucked up just because you think WordPress handles it for you.
So, is there anything that WordPress does regarding SEO which doesn't imply you being cautious about it and could be a lot more difficult to implement/manage in hand-made websites?2
I just got out of working 10 hour days and alternating Saturdays at work for the head honchos to say "Yeah, you guys have a month before you're all laid off. We're giving your job to the group that helped you during the busy season."
So guess what I get to do: job hunt!
Except no one in my area is hiring Linux System Administrators and my wife doesn't wanna move.
Run devRant in startup by storing these scripts in locations give in [ ]
Debian-based Distros: google-chrome https://devrant.com/feed [System > Preferences > Startup Applications.]
Fedora/Red Hat: google-chrome https://devrant.com/feed [/etc/rc.d/rc.local]
macOS: /usr/bin/open -a "/Applications/Google Chrome.app" 'https://devrant.com/feed' [Automator App]
Windows: chrome.exe https://devrant.com/feed [Store this script in Startup Directory]
Additional links for instructions
Debian-based Distros: https://askubuntu.com/questions/...
Fedora/Red Hat: https://access.redhat.com/documenta...
So, there's this big company in Poland with its name starting with C and having CEO famous for saying that every software developer can be replaced with a finite number of college students.
They recently lost a HUGE government contract and so stories of people working there came to light. My two personal favourites:
1. A tester who has been fired for finding too many bugs and mistakes in their product. He was also told that bugs are to be found by clients on production, not in-house.
2. A programmer who was yelled at by his team leader for "wasting time" on code reviews instead of typing the code. He was also told he hadn't been hired to criticise other people code.
God, I'm so grateful I don't work there.3
I think this is my first rant about programming. I never had to rant about any programming language before because some of them I've been using ever since I was a junior developer. I'm not the type who forgets semicolons as well (honest).
I started transitioning from Java to Python and thought it was cleaner and easier but damn, I spent half of my day today trying to figure out why some parts of the code I added work and others don't. It turns out, some of the "tabs" in the original code someone else made were actually "four spaces". I only found out when I got so frustrated, I decided to start from scratch and clicked select all. I saw four dots on some lines (I was using Sublime) while others are tabs.
Thankfully, it was easy enough to convert them to tabs but I still plan to start all over again because now I feel like it's cluttered and shit. I never thought I'd say this, but for a moment, I actually missed semicolons.6
We were talking about harddrives at work when someone was wondering if filling them with helium would make them spin faster... Then imagination took over!
"But helium balloons float, right... So would helium filled hard drives float..? Probably not due to weight but imagine dropping a hard drive and seeing it float towards the ceiling.."
"John, the delivery guy has a box with new harddrives downstairs, could you go get them?
*shouts* John did you get them? Just don't open the box outside!! No, no, NOOO DON'T OPEN IT OUTSIDE! JOHN, THE HARDDRIVES, BE CAREFUL, DON'T OPEN THE BOX OUTSI.....
*harddrives floating by the window into the air*
NOO, JOHN, WHAT DID YOU DO?!
"*walks into the office, harddrives floating against the ceiling* goddammit John, not again"
"John, why are you putting one kilometer long cables on those harddrives?
*John let's them float into the air towards the clouds*
We offer cloud storage!"
(We have a usual office building ceiling)
"John, I need a 1tb harddrive, where are those?
*takes a ladder and walks towards c12 to pluck one from the ceiling*"
Started a new job as a dev. First days revealed no local admin rights, no right to use Linux locally and a very limited set of Software. Negotiated compromise to get a remote VM with Linux and a user who is part of sudo. VM turned out to be isolated by proxy, so I can not install anything new. At least Docker is pre-installed and I hoped it could work out. But guess what no access to dockerhub and I can not pull any images. Admin told me to copy manually the images with scp.
I'd never thought that there could be any companies out there who treats devs like that. What puzzles me most, there're lot of devs staying with that company for years, even decades already and they're good guys, please don't get me wrong.
Did you encounter anything like that? Could you make any difference there, where you met anything like it.
I reached the point after 3 weeks where I do not think I can make any difference and when it'll take ages to move people and company policy.
I do not want to give up, but I fear it is pointless to fight for change there. I am out of options and about to leave asap. Can you recommend me anything else?
Thanks in advance and for your time :)
Felt good to write it down.5
So apparently I got added to a Python dev group by a random person.
I thought okay cool I might learn new things and connect with some great people in the industry.
Turned out that it was just a bunch of noobs.
When I gave an honest response to a question asked by the admin (who turned out to be a noob as well), he kicked me out.
I honestly don't know if there's any official certification for Python other that the one I said.3
`alias pull="find . -name .git -print -execdir git pull \;"`
A while ago, I found someone asking about personal favorite aliases. I cannot find it now.
I am not a huge terminal user so I don't really care about keeping aliases until now.
It became annoying to `git pull` before doing anything when you are using two different machines regularly and there are always about a dozen active repos.
VMware's vCloud NFV platform, featuring new-age network functions virtualization, is the centerpiece of a new partnership with Ericsson formed to simplify network virtualization for Communication Service Providers (CSP).
The five-year agreement will specifically seek to simplify deploying and running combination implementations of Ericsson applications and VMware's vCloud NFV platform for CSPs. Ericsson is a multinational networking and telecommunications company based in Sweden.
The modular, multi-tenant vCloud NFV platform from VMware provides compute, storage, networking, management and operations capabilities. Generally, NFV is a network architecture putting virtualization to work to foster new classes of network node functions that serve as building blocks for communication services. NFV can be used to define, create and manage networks through the use of software and automation that replaces dedicated network appliances.
Read more click and register here: https://tekslate.com/vmware-trainin...
If you can get a chat with the CEO I would ask this question.
“From your vantage point, what do you see as your job as CEO?”
Anything less than a list of 10-50 different job responsibilities is a total pass. It shows the the CEO thinks he knows it all. Everyone can and should grow and it has to come from the top down.
If you don’t hear anything about building culture then this is a problem. If you do, then probe further.
If the CEO seems to give the impression that he is above answering this question for “someone in your position” then this is a big red flag.
In my view everything in a startup come from the top down, and shit runs up hill. Therefore the CEO has to not only perform every conceivable task but must have a desire to learn and grow. A CEO who doesn’t learn builds companies that don’t learn. Companies that don’t learn, fail.3
On science and religion. Inspied by a comment in another rant, credits to @Commodore and @cjbatz
According to Godel's incompletness theorems, aritmetics is incomplete and inconsistent. Therefore, any science based on aritmetics (dude, like, every) is also.
Therfore, as a mathematician, I must accept that there are things that cannot be proven by current science, and that there are statements that are true and false at the same time in current science.
So, science can't prove religious beliefs? It cant prove P vs NP either. It might someday. Science couldn't prove earth wasn't flat for a looong time. Or Pythagoras theorem.
But more importantly, if science can prove something, doesn't mean it can't prove the exact oposite.
This way of thinking allows for any and all ridiculous beliefs, under the shield of "it might be proven one day" or "doent't mean opposite isn't true also" but kerp in mind that there are complete and consistent sciences and proofs in them. Check if something's been proven to exist or not exist without doubt.9
When the company is so terrible that the HR people who are supposed to assist you with the clearance process have already resigned and prioritizing their own clearance over yours. I bet I'll reach the afterlife and not be allowed to enter hell because they haven't signed my clearance yet.
Yes, hell has these requirements. No, a copy of your resignation letter will not do. Please stop asking. Everything else will be discussed during orientation.
So I ran into a perplexing "issue" today at work and I'm hoping some of you here have had experience with this. I got a story-time from my coworker about the early days of my company's product that I work on and heard about why I was running into so much code that appeared to be written hastily (cause it was). Turns out during the hardware bring-up phase, they were moving so fast they had to turn on all sorts of low level drivers and get them working in the system within a matter of days, just to keep up with the hardware team. Now keep in mind, these aren't "trivial" peripherals like a UART. Apparently the Ethernet driver had a grand total of a week to go from nothing to something communicating. Now, I'm a completely self-taught embedded systems focused software engineer and got to where I am simply cause I freaking love embedded systems. It's the best. BUT, the path I took involved focusing on quality over quantity, simply because I learned very quickly that if I did not take the time to think about what I was doing, I would screw myself over. My entire motto in life is something to the effect of "If I'm going to do it, I'm going to do it to the best of my abilities." As such, I tend to be one of the more forward thinking engineers on my team despite relative to my very small amount of professional experience (essentially I screwed myself over on my projects waaaay too often in the past years and learned from it). But what I learned today slightly terrifies me and took me aback. I know full well that there is going to come a point in my career where I do not have the time to produce quality code and really think about what I am designing....and yet it STILL has to work. I'm even in the aerospace field where safety is critical! I had not even considered that to be a possibility. Ideally I would like to prepare now so that I can be effective when that time does come...Have any of you been on the other side of this? What was it like? How can I grow now to be better prepared and provide value to my company when those situations come about? I know this is going to be extremely uncomfortable for me, but c'est la vie.
TLDR: I'm personally driven to produce quality code, but heard a horror story today about having to produce tons of safety-critical code in a short time without time for design. Ensue existential crisis. Help! Suggestions for growth?!
Edit: Just so I'm clear, the code base is good. We do extensive testing (for lots of reasons), but it just wasn't up to my "personal standards".2
Have u ever had the perfect job opportunity and u screwed up? This idiot just did!! 😓😭 It's a 100% remote c# role. I literally had the job, all I needed to to was be patient and wait. But, noooooo I had to go and turn down the offer because it was "taking to long". He was getting the proposal ready and I was growing impatient. It's been almost a month since I started talking to the CTO and we were/are on the same level of understanding. He told me today just hours after I consulted with someone who's a business owner and he helped me write an apology to him. Man do I feel like an idiot. He didn't ask for a resume or references. Just seen my GitHub and a few game I did and let me talk to the lead Dev and I was in. The lead Dev even told me "welcome aboard, can't wait to work with you." AND I still screwed this op up!! Now he's telling me he will talk to the CEO and see what he says cause it maybe out of his hands.😞😞😞😞😞😭😭😭😓😓😓 What fool I am, eh??? P.S. which makes it even worst is that he reached out to me via LinkedIn without me sending him my resume or applying for any job that had posted.11
Yes! My SearX instance is working in an Amazon ECS server! It was working out of the box without the need of any extra configuration. But I still would like to know how to configure SSL. I'm currently using port 8888. This was my first contact with Docker, it's very awesome what you can do with it, can you recommend me some nice guide?
URL: wait! I was only testing, I won't pay more for vCPU per hour! No way!8
I have been thinking a lot recently about building a portable server. Like a powerful machine that you could carry around and it would work for a reasonable amount of time without a power plug. Maybe use it for hacking, brute forcing, just mobile number crunching or external rendering machine. The specs for this are over the top, but here's a rough sketch:
2 Xeons and a MoBo that fits them
A 1080ti or maybe even an SLI
14TB hard drives
You get what I mean.
After that get a case and a PSU which suit the thing and you have a powerful machine.
To make a crude portability thing you can get a car battery and an inverter and strap it on there.
After thinking about all this the total cost came to around 7000 EUR and the weight of about 15kg. Someone with a strong back could carry it without an issue.
What I really find strange is that nobody has ever came up with anything similar, like I've never seen anything like this.
Got reminded of this a bit ago.
When I was in high school years ago, there was some bug with youtube not working on chrome. The source of that bug was identified by a guy a grade above me, who not only reported that, but also how to fix it.
Naturally, google was like "holy shit, we gotta get this guy" and offered him a full ride scholarship and a guaranteed job when he got out.
He now works at a comic shop with no plans of using that scholarship.8
I am a supplier of ginger and recently have been looking for ways to make the progressions on bringing my business to the online platforms. I in this context have taken the measures to make a website for my business as well as I have heard from people that I should get to some E-commerce platforms where I can meet some ginger buyers(https://eworldtrade.com/importers/...) from around the globe. I want to know what these platforms are for and can somebody please name some of these platforms?