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
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*"
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
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
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
I used 000webhost to connect in firebase those 3 arduino devices have the same code
The problem I encountered is when the data send to the web(php) and send to firebase, only one device is the priority of the firebase when 3 devices where simultaneously sending data.
I used different delays on the sketch but it wasn't working
What solution I should do to update all the data in firebase when 3 devices are ON
I created 1 firebase account and connected the 3 arduino devices18
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.
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
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
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 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
Why do package maintainers stop answering and go silent?!
I've waited for more than two weeks on acceptance on my PR, the maintainers hasn't been active and I've even notified them of my worries.. But so far no activity.
Why the fuck does a package like date-fns have maintainers that doesn't answer? Furthermore, I can see one of them making private contributions on Github..
I need this package to help on another package to finish my project 😭8
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
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...
`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.
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
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
The place where I work has a restroom on each floor with two urinals and two stalls. That's it. Sometimes one urinal or both have been out of order.
Then, in a stroke of pure evil, they renovated the restroom and put doors on the stalls that go all the way to the floor and swing shut by themselves. Universally the way we know if a stall is occupied is by whether the door is opened. It took days for people to even figure out that the stalls weren't really in use because no one would ever do something as stupid as making stall doors that swing shut.
So now you've got a few choices. You can knock on both doors. You can try to open them, which is risky because unless you jiggle the knobs a little bit the doors won't actually lock, so you could open the door and someone could be in there. Or you can go to another floor.
I didn't include looking under the door because the doors go almost to the floor.
What really ticks me off about this is that it's creating a problem that's already been solved since the beginning of time. The doors swing open. It's really simple. We figured this out a long time ago and moved on. Making the door swing shut is actually more work.
It's so obvious that someone who gets it wrong has to be either stupid or evil.4
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.
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.
YAYYY! I MADE IT!!
After several nights of playing with my new and very first custom mechanical keyboard, at last I could successfully get my long-time-dreaming keyboard!
I read the guilds, tutorials, even youtube videos to get walked through the process:
- I started with building my own layout on different websites, since they said that it would be easier to use online tools than to write codes by yourself in order to build your own keymappings, but the UI/UX of the first one I tried was so bad that it took me a great deal of time to understand how to use it and working on it is even more time consuming. Later I found another webpage which was less recommended, but could help me to do that a lot easier.
- Then, the result was compiled to a firmware file, which would be flashed into the kb's controller. Loading the file into the board was also tiring and got me exhausted totally! I tried all the "lazy" recommended ways (using Windows softwares) but received the same error all the time. When I almost lost all the hopes, I'd come to the least recommended way: typing a few command lines on Linux. And it worked! The keyboard just do what I want it to do miraculously.
What I learnt: never do complicated things on Windows, because they are suuuuuper simple on Linux!
P/S: Sorry for the bad lighting in my room and the tiny spacebar (the spacebar size is 7u which I don't have one right now). I just need a beautiful keycap set to make it perfect.5