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 - "inside out"
-
Bruteforce IRL
So I recently bought my first house (yay!).
Whilst doing the initial viewings I saw the below on the backyard and thought "hey that's neat, I can leave a key in there for when I come in late and my fiancée is asleep.
Fast forward to moving in day and the previous owners hand me the keys so I ask "oh yeah, what's the code for the keysafe" and he just looks at me completely blank, so I'm just like "the box on the wall out back" and he's just like "oh! So that's what that is. No we've never had the code for that, bye."
Being a pen tester I'm just stood there dumbfounded thinking "How the hell can you have a locked box attached to your house and not want to know what is inside!"
Anyway, that brings us to now where I'm stood outside in December on a Sunday morning brute forcing my way into my own keysafe.
I wish this didn't run so many parallels with my work life 😂51 -
NEED HELP
An ant has entered my monitor and running all over the screen from inside. It's super irritating.
How can I get it out?73 -
So we hired a part time sales lady to work in our office. She sits right inside the entry to our area. Each morning I am amazed that I can make it to my desk without passing out. All I can think is this:6
-
One time my co-worker put a tiny piece of tape inside the USB receiver of my mouse which apparently makes any USB device stop working. It took me a while to figure out why my damn mouse wasn't working even though everything was properly plugged in and it had new batteries.
When I found the tiny piece of tape I was instantly knew who it was and it was pretty funny.6 -
!dev
It was late night after work I went into Macdonald's take-away:
Me: Can I have a Maharaja Mac Medium Meal with extra regular fries?
Guy: Yes sir, that will XX.XX amt.
Me: Gives him my card.
Guys: So what's the pin?
Me: What??
Guys: The Pin sir.
Me: Are you ok? Who the hell shares a pin with you?
Guy: Sir, we don't have a wireless swipe machine.
Me: So why is it a take-away if I have to come inside and drop my pin anyways?
*Guy looks awkwardly at other employees. :/
I had to finally get out of the vehicle and I took another 15 mins seperately explaining him why cards have a security pin and that the word security isn't a joke before the pin. With this, I might have also slipped in some GDPR cookie policy along with it. and why Microsoft bought GitHub. Good Lad. He will learn.16 -
Signed up for an Android course at my uni and expected to have some fun with Android Studio and modern app development technologies...
Turns out that we're working with Blockly (no coding). We will write our exam with Blockly. The course is mandatory and I cannot opt out.
I've been a dev since 7 years and I am dead inside already.13 -
Python. Changed a function to return a tuple instead of one value in some database code. Tests pass, gets deployed, everything works. End of the month comes. Suddenly, we get a report that we're draining people's bank accounts and credit cards.
It turns out there was an untested bit of code inside the billing process that used this function. It used the function that was changed. To make matters worse, when the exception was thrown, the billing had already completed successfully, and due to another unrelated bug it would retry despite this.
So, needless to say, type safety and good unit tests are things I prioritize nowadays.7 -
Coworker: hey man, do you know what is the limit for z-index on CSS?
Me: not sure but I think it is the signed int limit.
Coworker: the waaat?
Me inside: GET THE FUCK OUT OF HERE!!!!!!!7 -
"years of experience" basically means nothing, both for people and organisations. You can work with someone who has 30 years experience who knows nothing, and someone with 1-2 years who's practically an expert.
Joined a large multi-national fresh out of college, that had been around for +90 years. I expected them to know software development inside and out. Didn't expect to see so many failed projects for stupid reasons, so many over sights, so many .... morons, to be honest.
Worked for a startup company where most only had 1 or 2 years more experience than me and learned so much.
Worked for a small company where everyone had 1.5 - 2 times my experience, where I learned the meaning of "bewilderment".
Never feel small, or less valuable because of a number. Theres a good chance you are working with jackasses - practiseSafeHex7 -
I've got a mini stroke today. My project ended and I got delegated elsewhere.
"It's going to be fine, it's c++, you will find yourself there"
Suspicious, it's a project everybody was staying out of as hard as they can. But hey, it's cool, how bad can it be? what can go wrong with that?
Reality was brutal, project that uses Boost C++ as framework and bjam as builder. Builds with a decent dose of luck, and only under special circumstances, only under one specific version of compiler. No docs, quartet of the code is in Fortran, just to use ancient lisp part which was second qarter. The most senior Dev around does not have idea how it all works. Also everything is inside one enormous try/catch block. Because of the reasons.
That's how people end up with severe alcoholism and meth addiction.8 -
Site (I didn't build) got hacked, lots of data deleted, trying to find out what happened before we restore backup.
Check admin access, lots of blank login submissions from a few similar IPs. Looks like they didn't brute force it.
Check request logs, tons of requests at different admin pages. Still doesn't look like they were targeting the login page.
We're looking around asking ourselves "how did they get in?"
I notice the page with the delete commands has an include file called "adminCheck".
Inside, I find code that basically says "if you're not an admin, now you are!" Full access to everything.
I wonder if the attack was even malicious.3 -
Couldn't sleep last night. Spent about 5 hours laying down reading devRant.
Mom calls taxi to go shopping. I'm starving so I go with her. The only reason I went was to get food.
Half way there, so tired I could fall asleep while standing.
I order my food. Walk to bus stop. An hour until next bus. Fuck it, I'll get a taxi.
Phone slips out of pocket while in taxi. Goes under seat. Can't grab a hold of it.
Driver says you can just get it from the back before you leave. It will be easier. I put my food down infront of me. And try one last time.
He then spends the entire trip telling me how all these customers keep leaving shit in his car, etc. Meanwhile we almost got into 2 accidents. Anyway...
So we get to my house, I pay. I get out and get my phone. I walk inside the house. Open devRant.
Wait, where's my food?6 -
Just took apart my laptop to dust it out from the inside. Had it back together, put the battery in. "Alright, time to make sure I didn't break something"
Beep....beep beep beep....beep beep beep....beep
"FUCK I FUCKING BROKE SOMETHING WHAT DID I BREAK?"
Google Lenovo post codes (Thinkpad laptop). DIMM issue.
"Oh fuck I forgot to put the RAM back in.."
Perfect now7 -
I just spent an hour debugging my company's web app. More specifically, I was trying to fix a bug that made a label on a comment I just made say "Posted 3 days ago".
After confirming timestamps on the server are correct with a calculator, fiddling around with the js debugger, and ruling out weird timezone-related shenanigans, I came to a conclusion.
The bug was in fact sitting, quite comfortably, between the chair and the keyboard.
Yesterday I had moved the date on my computer roughly 3 days into the future, because I was testing out some unrelated code that was dealing with Redis, and I wanted to expire all of the keys stored inside of it.
Don't blame me, my parents told me I had fallen onto my head as a child.5 -
In 2008 I took my first web development job for an agency that's no longer around. There was a Vice President there by appointment from our coke headed owner who really liked to micromanage and invade privacy with key loggers and screencap spyware to "manage" us. I found out because my machine would snag when moving the mouse cursor and sometimes I'd accidentally paste the screenshot into photoshop just before the software cleared the clipboard. Anyway, I wasn't supposed to know I was being monitored so I just unplugged my network cable and killed the service running the jank ass spyware. I'd delete it when no one was looking and wipe out the cache of screencaps it would compile every day. It was basically a troll vs troll stalemate for weeks. Finally they gave in and told everyone what was going on so we collectively decided to seek revenge. We bought a piezo buzzer about the size of a quarter that chirped like crickets at random intervals. We stuck it on the underside of his desk inside of the middle drawer area and let it go. They spent so much time and money trying to get rid of the cricket infestation. We let it go on for weeks. I ended up quitting before the gag was up, but damn was it funny to see him squirm in that office because of those crickets!6
-
This was my day at work today
-Be me at work
-Use git terminal on WORK PROVIDED MacBook
-Decide to clone into a repo into another repo as it was one project inside another project
-Makes changes to code
-Attempts to add .
- warning: adding embedded git repo ...
-Apparently needs submodules
-Shit doesn't get added
-During this get asked to create 2 new branches and modify some code
-Do that specifying files to add as add . breaks everything
-Has 3 branches now detached from master
-Super confused where anything is and what's going on
-Go back to branch for other repo to get added to
-Spends 30 minutes trying to understand submodules
-Gives up and deletes folder moving it elsewhere
-Commits begin failing everywhere. Super confused.
-Get everything figured out and commiting
-Goto merge all branches to master
-Merge conflict with .DS_Store
-FML
I think I'm done guys12 -
I don't havey Friends , but the ones I have know me inside out.
I turned 18 yesterday , and what did I get for a gift , a literal 5 page C++ Program that my pals lovingly wrote for me. Compiling it right now. Let's see what it's got for me.13 -
OMFG
Waking up in the middle of the night to a strange feeling in my ear and noises. Started shaking the head, which did nothing except panicking because of intensifying scratch noises in my head.
Getting the fear to be eaten inside out.
Get the phone and call sister to get me to the doc but her phone is powered off. Starting to Google "consequences of an cockroach in your ear", reading this is not as bad as I thought and that some people do not even realize it !??
Laying down for 3 minutes in the dark, *heating up and feeling my pulse* hoping it will crawl out. Which obviously did not fucking happened, this sucker just squatted my ear.
So I go to the bathroom and start filling up the tub. While it is filling up, I Google "how to get cockroach out of your ear". Finding an article that you should pour oil in your ear to suffocate the squatter. So I go to the kitchen, grab my sunflower oil, go to the mirror and start pouring. I am starting to shine like a bodybuilder and hear the noises again. After what felt like an eternity, I hear even more scratching in my head, this is the moment I do half a headbang and *wush* *flap* something hit the ground. I look down in the hope it wasn't just the sunflower oil and see this little thing which is clearly a cockroach. I am fucking relieved, not hearing any noises anymore.26 -
At an interview, the first round was an online coding round. Two questions, one easy one hard, 90 minutes, easy peasy.
I solved the hard one first.
A bit of good logic, followed MVC pattern, all done. Worked flawlessly.
Submitted code. Online compiler threw up an internal error citing java is an invalid command(jdk not found).
Called the invigilators. What I heard next, I couldn't believe this shit.
"We're not responsible for any errors you may be having. Figure it out yourself"
I was like WTF dude. This is not even a compilation or runtime error!
After a heated discussion, I made him look at the code.
Him - what is all this classes and all? Why haven't you written everything inside the main function?
Me - those are model classes. Those are different helper functions. That is a recursive function to avoid 5 for loops and use divide and conquer. Ever heard of OOP? what kind of person writes a 300 line program inside one function?
Him - no no we write it like that only. Correct this.
Me - I fit everything inside the main function. Still the same error, java not installed. Called the idiot to have a look at it.
Him - yeah your code is wrong.
Me - may I know what's wrong with it? Can you fix it please?
Him - no no we aren't allowed to see the code (he had already read it twice. It was compiling and running perfectly, locally) .
Yeah you solved only 1 problem, you were supposed to solve 2.
Me - yes because the rest of the time I had the pleasure of your company. (It isn't everyday that I see talking buffoons.)11 -
Me reviewing some high school level exams after an Excel course.
"hmmm the next question is 'what does the symbol $ mean when found inside a FORMULA in Excel' ... Let's see what they answered..."
* "it's the symbol for DOLLARS" <-- well, he tried
* "I don't know" <-- mmh ok, he doesn't know
* "it can be either a plus or a minus" <-- mmmh maybe the interpreter will just figure out the correct one
* "it's used to keep an index fixed when you copy/drag the formula" <-- nice, someone who actually followed the lesson or at least knows how to google things when the teacher doesn't see
* "it's the symbol for POUNDS" <-- WTF!! Wait a moment: POUNDS???? Have you ever lived a single moment in this world? -
Boss: A client has reported that he can't add products to the cart he gets redirected to "empty cart page" on safari or edge not sure, can you check it out?
Me: Yes
later...
Me: It's working on safari and edge but not on IE, I get that exact same problem on IE.
Boss: ok don't mind about IE
Me (inside) I've lived long enough to hear that YEAH !!!
Goodbye my old friend IE hahaha :D4 -
VBA is not the language of choice for many of you. But in a big non-software company, Excel is tool numero uno, and VBA saves so much time. Almost nobody bothers to learn it, which drives me nuts already, but those who learn it, suck.
Wrote a beautiful VBA script with SQL inside to fill in excelsheets automatically.
Why the living fucks would someone go in the code and alter it? Why do you ignorant idiot with almost no excel and vba knowledge alter the range of the for loop and delete a few lines.
After that completely knocked out the file, I got a call for help. "¡Your code broke!"
These useless morons.16 -
Recipe: "baked developer"
you will need:
- 1 day = 1 story point
- 10SP per sprint
- every team member must deliver all the SPs.
Now for every sprint slap on 20+ hours of mandatory meetings, mix with 2-5 days of ad-hoc tasks, which must be addressed, because they are blocking the release/other teams/prod, and make sure all the devs try not to spill no matter what, and you get a perfectly burned out team.
Brittle/crispy on the outside, mashed/soft on the inside
enjoy!26 -
My boyfriend, actually. But I value the human aspect more than the tech genius in fairness. He may be no Linus Torvalds but I don't care and wouldn't change him.
Why him?
He's very kind to less experienced developers and always happy to help them. He teaches them not only how to solve things but how to get un-stuck the next time and what to learn.
His code reviews are inside out, not just a quick scan, he gives a chance to learn and takes one for himself too.
He takes pride in delivering great quality, well thought over code, on time.
He owns his mistakes and isn't afraid to admit when he makes them.
He reads a ton of tech books and always learns something new yet stays humble while discussing things he knows a lot about.
He has a ton of hobbies other than coding which he's good at.
Ah there, yeah whatever I'm a big softie today 😋 he's not on DevRant btw. Also sometimes I want to punch him too, but mainly he's a good guy :)5 -
Never trust a breadboard. Days spent trying to figure out why my I2C device was not recognised. SCL and SDA were FUCKING SHORTED INSIDE THE BREADBOARD.8
-
Worst WTF dev experience? The login process from hell to a well-fortified dev environment at a client's site.
I assume a noob admin found a list of security tips and just went like "all of the above!".
You boot a Linux VM, necessary to connect to their VPN. Why necessary? Because 1) their VPN is so restrictive it has no internet access 2) the VPN connection prevents *your local PC* from accessing the internet as well. Coworkers have been seen bringing in their private laptops just to be able to google stuff.
So you connect via Cisco AnyConnect proprietary bullshit. A standard VPN client won't work. Their system sends you a one-time key via SMS as your password.
Once on their VPN, you start a remote desktop session to their internal "hopping server", which is a Windows server. After logging in with your Windows user credentials, you start a Windows Remote Desktop session *on that hopping server* to *another* Windows server, where you login with yet another set of Windows user credentials. For all these logins you have 30 seconds, otherwise back to step 1.
On that server you open a browser to access their JIRA, GitLab, etc or SSH into the actual dev machines - which AGAIN need yet another set of credentials.
So in total: VM -> VPN + RDP inside VM -> RDP #2 -> Browser/SSH/... -> Final system to work on
Input lag of one to multiple seconds. It was fucking unusable.
Now, the servers were very disconnect-happy to prevent anything "fishy" going on. Sitting at my desk at my company, connected to my company's wifi, was apparently fishy enough to kick me out every 5 to 20 minutes. And that meant starting from step 1 inside the VM again. So, never forget to plugin your network cable.
There's a special place in hell for this admin. And if there isn't, I'll PERSONALLY make the devil create one. Even now that I'm not even working on this any more.8 -
Okay so my weekend project went well :D put my retropie system inside of this old r2d2 I've had collecting dust. Has a cooling fan inside as well as a 16x2 lcd I was playing with. Got a red led tied to the rpis txd pin, ports in the front for easy access and power cord and hdmi coming out the back.1
-
Christmas lights were blinking randomly IN SECTIONS without any sort of "control brick", just with a plain wall plug and TWO wires coming out of it.
In this house we obey the laws of physics, I immediately called magic on this and started digging. I found out that was like five chains of lights wired in parallel, and every chain contained one special lamp that had a thin plate of some thermal-sensitive material inside. It heats up which makes it go straight, thus breaking its chain until it cools down enough to curl again and make the contacts touch.
Brilliant and really cheap way of making randomly blinking Christmas lights without any kind of controller, with just two wires and some physics. That's what I call "nocode".11 -
Story time:
At a precious employer.
Hire shit-hot contractor.
No technical test at interview stage because he’s so shit-hot.
Is a uni lecturer.
PhD in mathematics.
Me: Shit, this guy must be good!
6 months later and a tragedy of errors and clearly misspent company funds later:
Manager: can you look at what x did and merge it into the product?
Me: Sure. *looks* *yells fuck very loudly*
*walks over to manager*
“Soooo... you know those 6 months and thousands and thousands you spent? It’s all for nought. There’s barely anything there, and none of it works.”
Manager: “Shit. What are we going to do? Can you fix it?”
Me: “To be honest, it would be quicker to just do it from scratch than try to work out what he’s done and failed to do.”
Manager: “Fuck. Ok. Go for it.”
I then had to build this entire new lot of systems, a workflow system, a user management and permissions system.
I got it done inside a month or so.
For context, we (the devs) knew something was afoot when the contractor couldn’t work out why his keyboard wasn’t working (it wasn’t plugged in), and he also *really* struggled to find his way around visual studio and git.
The moral of this tale? *always always* screen your candidates. Even if they seem amazing on paper.15 -
Working on a project where the coordinator is insisting on using OneDrive. Lost the link he sent out in an email so decided to:
- Google "OneDrive": Eventually brought me to "office.live.com/...." with a view of my settings and apps ... no OneDrive.
- Spent a while using a bit of logic to click around and find it, forgot logic doesn't work well with MS products and ended up on Outlook instead.
- Spent a while searching for the original email with the link, found it, brings me to "...sharepoint.com/....".
- Inside sharepoint (OneDrive?) the banner says "Office 365".
- But the browser tab says OneDrive.
Are Microsoft just afraid of consistency at this point? I mean seriously, pick a name and use it everywhere. Why is that so hard? why is that so complicated?6 -
When a mobile dev says he knows phones inside out:
"Most phones come with a built-in, disabled FM radio chip, if I needed you to build an app that enables the chip and uses it, how would you do that?"
Not relevant really, but it's always fun to stump people who act stuck-up and smart. I'd never ask this question to someone who was nervous and/or humble.10 -
Oh boy.
I recently, I switched job for an open source company in Lyon, FR.
They had struggles to find me something to do (still has, tbh), so they sent me to a client of theirs, to help for a biiiiig project that's really old (created in 2001)
The thing was... Horrible. Lots of styles were set via JavaScript without condition, I found 3 different versions of jQuery, at one time they added Object oriented development in a context where they had HTML, JS, (inline) CSS and... PHP of course, inside of one PHP file. The architecture was more "uuuh these files in this directory will be about this functionality".
And it goes on forever. I told them that I hadn't the required level of PHP knowledge to have an excuse to get the fuck out of there, my company didn't like it but it was either that or my mental health.3 -
“I don’t mind thinking out of the box, as long as there is evidence of any thinking going on inside it.” — Terry Pratchett4
-
I was working on an Arduino counter (an inside joke) and I somehow sent 12V to an IC I was using.
🔥🎆🌬💨
it burned out.
I'll leave now3 -
Fucking sharepoint
I’m fuckin done, editing this website layout is like teaching a kid with ie brain, worse is I need to use a fuckin sharepoint designer 2013 and I’m working on online sharepoint so everytime I saved something it’s delayed and my screen acts like having a motherfuckin seizure when I accidentally scrolled it. Not to mention grid doesn’t work here so I need to lay it out the fuckin old way. Oh the client also wants a fancy navbar so I literally hide the sharepoint desinger navbar and using js create my own navbar inside the container. Fuck you for creating this shit and actually sell it to people, it’s like working on a fucking old tech6 -
"There is a problem with A, could you check it out? It's urgent for the client"
Me: Okay, just open a ticket for it too.
*Working on A"
After about ten minutes:
"Hey, there is a small problem B and it's also urgent for the client, we need you to check it out"
Me: I'm working on A and you are yet to open a tick... (Interrupted)
"But it's urgent and it's a small fix, we can fix it and push it to prod, A can wait for a bit"
(Since when is it a "we"?)
Me: *sigh* fine, lets see what's B is all about...
*After going over problems C to Z*
"Why isn't A ready yet? The client's mad and it was to be ready as of today"
Me: Because you had problems from B to Z and they were all urgent according to you so after each request you asked of me I had to postpone A with you knowing about it.
"But A is for today!"
FUCK YOU, YOU WORTHLESS WASTE OF JIZZ! YOU RAN TO ME FOR EVERY GOD DAMN URGENT PROBLEM YOU HAD FROM OUR SHIT OF A CLIENT AND INSTEAD OF TELLING ME THE PRIORITY YOU JUST THROWN IT ALL IN A RANDOM ORDER!
FUCK YOU! I WISH YOUR FATHER WOULD'VE SHOT YOU OUT THE WINDOW INSTEAD OF INSIDE YOUR MOTHERS CUNT!5 -
I am 21 and I just found out that I have rheumatoid arthritis in my fingers
I think a little part, no ,a huge chunk inside of me just died.
Why the fuck does life keep piling shit...
what's the fucking point....35 -
If anyone knows us inside out it's our Father! ❤️
He can sense the right or wrong even before we do. He has a special kind of sixth sense and why not, he's our DAD of course! 😅
Happy Father's Day to the Superheros9 -
It was a normal school day. I was at the computer and I needed to print some stuff out. Now this computer is special, it's hooked up onto a different network for students that signed up to use them. How you get to use these computers is by signing up using their forms online.
Unfortunately, for me on that day I needed to print something out and the computer I was working on was not letting me sign in. I called IT real quick and they said I needed to renew my membership. They send me the form, and I quickly fill it out. I hit the submit button and I'm greeted by a single line error written in php.
Someone had forgotten to turn off the debug mode to the server.
Upon examination of the error message, it was a syntax error at line 29 in directory such and such. This directory, i thought to myself, I know where this is. I quickly started my ftp client and was able to find the actual file in the directory that the error mentioned. What I didn't know, was that I'd find a mountain of passwords inside their php files, because they were automating all of the authentications.
Curious as I was, I followed the link database that was in the php file. UfFortunately, someone in IT hadn't thought far enough to make the actual link unseeable. I was greeted by the full database. There was nothing of real value from what I could see. Mostly forms that had been filled out by students.
Not only this, but I was displeased with the bad passwords. These passwords were maybe of 5 characters long, super simple words and a couple number tacked onto the end.
That day, I sent in a ticket to IT and told them about the issue. They quickly remedied it by turning off debug mode on the servers. However, they never did shut down access to the database and the php files...2 -
Okay, just wrote a program with memory allocation inside an accidental infinite loop and by the time I was able to kill it, it had already claimed 86% of my memory. Scared the shit out of me because my OS was CRAWLING for a while3
-
There was a dark shadow inside the watertank of the coffee machine. I put new water in and voilà a really fat spider came out.
The coffee the last days was really good....8 -
I'm so close to giving up. Yesterday, I travelled 4 hours in one direction for a job interview for a graduate position as a web developer. As I arrived at the interview, I was welcomed by a senior dev and one of the HR people.
I sit down and they start explaining how everything will commence(standard procedure stuff) and afterwards hand me the technical test. At this time I am super calm cause I did my homework, checked out their products, their websites and knew right away what I was going to work on. As I turn the page, I see at the top with huge fucking capital letters "JAVA OOP test".
I take a minute and look back at them, like wtf is happening. Turns out that they are looking for a java dev. They picked me for the role because I had literally 1 fucking sentence in my CV and where I have said that I studied java in one semester of uni. FYI my entire portfolio, cv and cover letter are focused on JS, html, css both for client and server side.
As the fucking HR guy stood there and asked me "is there something wrong", I felt broken inside. For the first time in my fucking life I felt like I was done and couldn't continue anymore. I felt like this is some bitch-slap from karma about something but I still can't figure out what. I just walked out of there being unable to realize what happened.
I just feel like I should end my developer career before it has even started, just go do business analysis or something. Why the fuck would someone put a job description entirely talking about Angular, Less/SASS, bootstrap and jQuery and then say that is a Java dev OOP role. Who the fuck allows those people to take good salaries yet still deliver the up most shittiest quality service.
Before the interview, I checked out their websites which are simply horrendous with the comparability of a fucking baked potato. Idk really what to do, I don't mean to sound as a whiny little b.... but as I walked out of their office, I felt broken inside. Sorry for the long rant.8 -
After creating a logo *for free* for a client who I thought was a friend, they started getting really ungrateful and demanded me to do things in a not very calm way ("DO THIS", "DO THIS RIGHT NOW") (yes, it was actually in caps). I kindly asked them to stop using the graphics while informing them that the license used didn't let me actually force them to remove it. After that, they started yelling about how "he'd have to redo all the graphics again". All he did was put the vector logo inside a raster circle and change the font. Yes, he really did convert vector graphics to raster and didn't use the originals at all. Not only this, but he also used *aliased* raster images.
He ended up using them anyway, informing me in a cheeky way after being kicked out of a group chat (which I wasn't even the moderator of). See the picture attached for how he did that, red is the client, orange is the moderator who banned him.
TL;DR: Don't do free stuff, regardless of how bad you think your skills are.9 -
Just a reminder.
If you've been coding/studying/working/dealing with shit/stressed out/mentally broken/dead from the inside/fighting for your goal and not working out and so on all year long.
Take.
A.
Fucking.
Vacation.8 -
Hmm best part of being a Dev? I guess it is the fact that you can know how things actually work in inside something instead of looking at it and saying "Its Magic!". It kinda ruins playing some games, since you figure them out pretty quickly.
Other than that, I like the feeling that I know enough about computers and performance and how things work that I can choose the best Desktop/Laptop and stay away from marketing bull. :)1 -
When I was 17 years old. I had difficulties in understanding math problem “Calculus” (I can’t remember which one was it). This one day when we were in a Computer Lab, our teacher was showing us how really software’s are made. During my time, it was vb6. I paid close attention. When I went home, I started to think things that I can make using that software so one day I went to my teacher and asked if I can have a copy of the vb6. He gave vb6 and told me that inside are few eBooks that will help in learning.
Fuck School, from that day I started to concentrate on programming only. Made a small calculator which will help me to understand a Calculus problem and double check my answer. From that day, I love programming.
I’ m 26 now and a full stack software developer. All I want to do it build cool shit, something that will blow the eyeball of my friends and that eyeball should pop out from their asshole.
Joke: The person who scored highest in the computer class was afraid to switch on the PC.1 -
OMFG! Who’s bright fucking horrible stupid ass idea was it to mix Ajax with php (php deciding the ajax paths) with random js outputting HTML inside random fucking static divs found no where near the logical route of content.
Trying to add a simple fucking status to a gigantic cluster fuck of a legacy project is just FUCK.
If I could I would burn this bitch to the ground and start again I would, But no, it’s needed.
Someone kill me before I break the shit out of this thing, I would take a wordpress project right now instead. -
Omg so I've been stuck on this function I'm writing that checks if a certain array value is so many characters long and well, it just wasnt returning false when outside the conditions..
I tried taking it step by step, echoing out every line and it all made sense to me and there were no syntax errors.
Time goes by and inside the configuration file I was testing.. I was changing the value of a DIFFERENT array property than what I was using in my condition. They looked really similar.. fml xD2 -
This week I reached a major milestone in a Machine Learning/Music Analysis project that I've been working on for a long time!!
I'm really proud to launch 'The Harmonic Algorithm' as an open source project! It represents the evolution of something that's grown with me through two thesis' (initially in music analysis and later in creative computation) and has been a vessel for my passion in both Music and Computation/Machine Learning for a number of years.
For more info, detailed usage examples (with video clips) and installation instructions for anyone inclined to try it out, have a look at the GitHub repo for the project:
https://github.com/OscarSouth/...
"The Harmonic Algorithm, written in Haskell and R, generates musical domain specific data inside user defined constraints then filters it down and deterministically ranks it using a tailored Markov Chain model trained on ingested musical data. This presents a unique tool in the hands of the composer or performer which can be used as a writing aid, analysis device, for instrumental study or even in live performance."1 -
Son a fucking bitch!
I ordered a brand new shiney SSD for my Inspiron 7573 which came in today. I was all set up with system backups just in case and install media for Debian and Windows standing by. I pull out my tools and realize that the laptop isn't going to have a screw inside to hold the drive in since it didn't come with a SSD. No big deal, I pull out the magnetic bowl of extra screws from all the previous repairs I've done and start looking for the screw I need. I can't find the screw I need so I go online hoping maybe I'll find someplace in town that will have one single screw with no luck.
Now I get to wait 2 more days for the screw I need to arrive from Amazon.12 -
Me: Hello! Welcome to {Company} tech support. How can I help?
Caller: I'll just run through the situation. I got locked out of my apartment and my friend is still inside. I tried calling him but his phone is either off, Do Not Disturb, or something. Anyway, I've tried remotely SSHing our desktop computer from my laptop and using the say command to get the computer to tell him to unlock the door. Unfortunately the volume is too low. I tried Googling how to increase it via command line. But I found nothing. Is there a way to do that?
M: I suppose the doorbell doesn't work?
C: *click*2 -
I really need to let this out somewhere...
Why the f...? Srsly.. Why would anyone do that? I'm joining another project. Apparently lead dev has adopted a coding style, where:
1. Every dev writes code however he likes, i.e. no clean-code requirement at all.
2. All services are crud-only. I mean all service classes. All must have those 4 methods; no more, no less.
3. Half of the business logic is inside controllers.
4. Not a single comment... Interfaces, models, etc. -- not a single one.
5. Xmls -- tabs, classes - spaces.
6. Xml schemas are downloaded with each build rather than stored downloaded once and stored locally.
7. I can keep going on and on.
Is it just me or are these some really weird decisions?3 -
So there I was productivity coding away in my office since early in the morning it was about noon when my coworkers kept saying. " Hey have you seen how nice it is outside." "Wow it's really nice out there" and " hey you should really go outside and get some fresh air".
So I'm all ok, cool it's lunchtime I'll check it out. So I go outside and I'm out there for 30 seconds when a bee lands on my face and stings me just under my eye.
Ouch! WTF! No No No it is not nice outside at all. Infact it is painful outside.
so now the rest of my day is ruined all I can feel is my face throbbing and I can't think about anything anymore but my face in pain. Amazing how one little insect can ruin days of coding.
Don't listen to the muggles stay inside.4 -
IT Head: Hey, can you check out why application X isn't working? I've already restarted it and it isn't working anymore.
Me: sure.
Me 20 mins later: hey, looks like it is all good, website is normal, server resources are normal, etc...
IT Head: no no, the windows sync app isn't working.
Me inside: are you fucking kidding me you piece of stupid shit? Quit IT for good and die.3 -
Me helping out a fellow Software engineering student:
Me: OK, now open program X.
He: * Opens the compressed file and runs it from there *
It takes a good two minutes for all of the resources to be extracted.
Me: * Gives more instructions *
Me: We are going to have to restart program X.
He: * Closes X and runs again from inside de .rar file *
Another two minutes.
Me: * stares *3 -
Today was just marvelous. Locked up my car with keys inside and with engine on.
I was driving back home from work. I drove to a parking near home, which is really long, narrow and impossible to turn around. So I decided to get out of a car, for like, 30 secs and go check, if there were any unoccupied parking places. Parking brake; I stepped out of the car and closed the door. Click.
Brilliant.
I knew, that I needed to change contacts in the driver door, that sometimes were triggering central car lock, but I didn't expecting such outcome.
So, I am outside.
Engine is on.
Parking brake.
My backpack and phone were inside.
Luckily, one neighbor wanted to drive somewhere, so I explained, why he can't donit, why my car is here and asked to watch my car for 5 mins while I will run home.
So I ran home in home to find a second pair of keys.
After some time, LUCKILY, I found them, went back and unlocked my car...
Moral: don't delay things.. Small fixes to prolong life of some object will eventually fail in very, very uncomfortable manner.
I'm glad I found spare keys and there were no need to break my own car window... And I DO care about my car and do lot of things by myself.1 -
Just had an old coworker from a previous job send me some stuff for a php script he was having issues with.
There was too much glory in what he was trying to do: mixing php inside of jquery code, not using strict types would have prevented like 10 issues he was having on his script on another portion, mixing headers, weirdly named variables, poorly constructed, reused db connections, 0 oop or proper dependency management in his code, horrible use of sessions and cookies, O (n²) logic all over the place.
But the cake.....are y'all ready for it? It was code screenshots, not even of just the section, no, the full page, from a windows machine (to make it better he is hosting the application on an IIS server and his configuration was not properly set) but I digress, back to the cake:
He was writing his code inside of wordpad :P
FUCKING WORDPAD
I just politely told him that I was busy at the moment and happily ignored him. Dude is not a good person to begin with imo, for example, he brought the subject of homosexuality during one of our talks after he saw me talking to my bf, who just so happens to be gay, his statement was "I do not understand how there can be gay people when there are women that are so hot"
My comeback was "I do not understand how we can be heterosexual when there are some really attractive dudes out there, see how stupid your logic sounds? attractiveness is not the basis for homosexuality ye dipstick" he let it go after that, but close minded people like that are not really my cup of tea.14 -
I once saw this comment inside two embedded empty loop :
// WHY, OH GOD WHY!
Turns out somebody deleted the content but not the loop. The next dev added the comment but kept the loop. -
so I had a very important video conference for some rather large cloud infrastructure that Im engineering. I decide to look "smart" so i decided to wear a jersey during the video call. I aced the meeting, happy people all round. I walk to my room and my wife says "you do know your jersey is inside out...and back to front..and the label is sticking out from under your chin....How did the meeting go?" me:"..fine until you pointed out a look like a 2 year old dressed me !" ... well thats one way to kill the happy feels!3
-
I've been dragged out of the house by my parents cos it's bank holiday.... I'm now in a place called a Guar-denn center looking at green stuff??! Reminds me of grass from Skyrim but it's too detailed..... And it's sunny too....
And I'm 30... FML3 -
Forgot to close() connection to the postgres and opening the new connection was inside of the query loop... So I successfully overfilled all the possibie 100 connections to 5 dbs out of 6. I have no direct access to them so I cant delete them. I'm still on probation and I have to go to lead dev and tell him that I messed up...18
-
With Gitlab becoming the new norm for repos', given the Github acquisition and all. i thought i would check out the Gitlab plugins for vsCode, and i was not let down.
Triggering pipelines from inside vsCode is going to be freeeaking awesome sauce.
For the Gitlab converts:
https://gitlab.com/fatihacet/...2 -
Making a small update to an ionic app then spending a whole day trying to figure out why a button doesn't work. Tried everything to fix it and got no error messages.
Finally discovered it was because the button was inside a label and not a div.
Yeah, fun times. -
Fuck you BT, charge me £80 for phone and internet, then only give me 50% of your advertised speeds that cuts out at random points then when I complain tell me you'll look into it but if you find any issues within my property I have to pay for the fixing of all issues with my line inside and outside the property not to mention the over £100 call out fucking cost!!! Plus you were fucking charging me £6.99 a month for BT fucking Sport that I don't watch and that I was told on 3 occasions was fucking free for the last 3 years!!! Again I will reiterate FUCK YOU BRITISH TELECOMS10
-
Making electronics more difficult to repair with security fasteners and ultrasonically welded plastic nightmares and what have you.. what's the point? The argument from manufacturers is that "users don't want to get in there anyway". But, it's not like even if they could, they'd want to, right? Which type of person that doesn't know electronics very well and has an interest in repairing it would go and look at a board, and say "this is how it works, this and that is broken and this is how it should be repaired"? Not many users can repair their own devices regardless. So why? To preserve IP? Not like the Chinese bootleggers care about that. To preserve sales? Users can't repair their stuff anyway. To keep those who want to peek inside out, just for the hell of it? Anyone determined enough will be willing to break it in the process anyway.6
-
I saw a video on YouTube, iJustine goes on a Linus Tech Tips studio tour in Canada. Its a huge studio and he has like 50 people working for him. He has 2 script writers. He has created a fake kitchen and some kind of a garden to shoot videos inside of the studio. Its amazing how people make careers out of YouTube.8
-
So I pulled an OLD ibm out of a trailer, that is literally falling down, today. Anyway, this cpu had been rained on and been in extremes of heat, and cold, so much so that there was moss growing on it.
I pulled it out and plugged it in, with the original plug *that was rusted in*, and.. it worked. The screen and everything worked perfectly! The floppy disk that hadn't been used in over 14 years and was stuck inside the reader, worked...
Mind blown!
As the old saying goes, they don't make 'em like they used to.3 -
Applied to a job I knew I was a perfect match for but never heard back. Wondered why but ah well. Applied to another and go to edit my cover letter to find out I had "joined the company when I was three years old" inside of it. Note don't write cover letters at midnight when your tired.2
-
Don't attack flies using tanks.
In 2020, a bug was found in gnome-terminal where selecting many megabytes of text inside the terminal would cause the terminal emulator to crash.
As a remedy, the brain of gnome-terminal developer Christian Persch spawned a "brilliant idea": Limiting the "Select all" feature to selecting only the portion of text that is visible on screen.
In other words, Persch made the "Select all" option useless. After pressing "Select all", it appeared as if everything was selected, but once you scrolled up, nothing beyond what was visible was selected.
By solving a minor problem that rarely ever occurs, Christian Persch created a major problem that often occurs.
Source for screenshot: https://gitlab.gnome.org/GNOME/...11 -
Had an idea for an app. I started writing the prototype in Node since I just had a simple API in mind. Wanted to have some very basoc crud functionality going and then hook up a nice interface to it. It has to do with logistics and analytics so I just wanted to start sketching something small, and being that i have been successful in doing an API like this in the pass with node and mongo for a local company I said why not.
I have finished a good chunk of it. Gotta love that js productivity. But what tripped me out about it was:
Check how big the folder size is: 387mb
EXCUSE ME??!!
I tripped, there was no way in hell this shit was that heavy. I am basically using Koi(to give it a whirl instead of express, gotta start testing koi sometimes right?) And some joi with morgan and winston. That is it. I am using mongo since legit its the only one i know, even with that there really can't be that much right?
Check node_modules size.....10mb....wtf? What
Wait
Did it?
Sure as shit....forgot that i was storing the mongo data folder inside the app's root folder.
This would have been nothing if it would have taken me 30 seconds to figure it out.
I was losing my mind for 30 mins before i decided to properly verify
I need some sleep5 -
I need a folder for unsorted unfinished programs to sort them out of sorted unfinished programs. Also, I have an "old" folder inside of "old" folder. On both computers.3
-
!rant I pity anyone who may have overheard my interaction with a gecko that managed to sneak inside my house when I went to get a package on my doorstep last night around midnight
“Hey little guy, let’s try to get you to go back outside, okay? Nonononooo not that way, fella. Down the wall. DOWN. DO NOT CLIMB BACK UP. Okay. Yeah, see, there you go. Good job. OH MY GOD DO NOT DO THAT. Listen, I think you’re fucking cute, okay? BUT IF YOU CHARGE AT ME LIKE THAT, YOU TRIGGER MY FEAR RESPONSE AND YOU MAKE IT REALLY HARD FOR ME NOT TO KILL YOU. Hooooooly shit, little dude. You were so almost dead. Okay. Okay, yeah, go out the door. Door. Yesssss.”
closes door, only to realize little dude’s tail is still on this side
“OMG LITTLE DUDE, are you okay?!!” opens door, little dude sneaks back inside
“Noooooo you need to go outside. Come on, you know you want to go outside”
Finally managed coax him out the door and confirmed he’d cleared the doorway before closing and locking it.5 -
I've been asked to work a Sunday next weekend; and like an idiot I agreed. Wasting a beautiful summer day inside designing software for a company to push more fast food product and contribution to obesity and diabetes in the world.
This is my life, and I hate it here. I hate this industry. In my 15 years, I once took off for 11 months and lived out of two bags through Asia and Europe. I spent 5 months with just a car driving across America. It's fun, but non-sustainable and I had to find a job afterwards both times.
I need a way out of this cycle. I need to contact professors and get letters of recommendation and get into a PhD program (I have a masters already), but finding the time after exhausting days at work is .. well .. exhausting.
The most I can do after work is go hang out with friends or do something, but if I come straight home, I just fall asleep. I'm tired all the time.6 -
Me after working on a complex UI given by the designer
Me: it’s done
Designer: the underline is off by 1px
Me: yeah , that how the css accommodates according to smaller screen , it’ll still look like the UI you gave on the bigger screen.
Designer : it hasn’t come out as expected , let’s change the UI and try something new here
ME (inside): YOU PEICE OF SHIT , you should have either spoken to me before designing the UI to know what could be done , or either be happy with the 1% different in the real UI and your “photoshop image”
Me(outside): as you say4 -
At work we have a....err....pool of usefulness awareness situation.
You see. The school does not know all that me and the lead developer does. Our head of department does. Our manager used to do(fore she left) but as far as the rest of the 2 fucking campuses are concerned, all of our shit works through magical dwarves that live inside the servers in our server rooms.
Normally, we are fine with this. But whenever one of us misses, or decides to take the day off and some shit hits the fan...THEN and only then do our users know what we do.
So we have a "pool" of items that seem to be picked every time one of us is not there. The more it gets picked, the more people are aware of us, the more they figure out what we do...the more they start to ask for customization and shit like that.
Such a funny situation. Wonder if this will get in the way of friday morning coffee and magic the Gathering at the office.
Or me and the cms admin playing videogames together.
Oh well -
I don't know if it's the craziest, but once we had an issue with a new release that caused a few forms inside the application to launch with a different scale, resulting very small on 4K monitors.
It turned out the issues were caused by importing "System.Windows" in a new module.2 -
If you just git add . by instinct, you're already dead inside
Instead, consider checking out the diffs of your changes before staging them, and then stage the files or directories individually
Of course I'm saying this to complain about my colleagues who stage and commit things they shouldn't, it probably doesn't apply to small side projects, but staging individually is probably a good habit to have31 -
I just installed nginx on a new server, just to find out we have visitors waiting patiently at the door. I guess they must have tried all possible route to get inside an empty room. 😏
See logs hits on 404 files... -
I don't really "keep" myself motivated. I wake up with certain amount of motivation every day and then I slowly die inside through out the day, every day.2
-
I feel totally empty inside, it's 3:30 AM, but I got emoji's working in the Linux terminal AND Windows terminal using the same c code.
What you're looking at here is Linux (top left), Windows (starting slightly right of the top left), and the source code for both platforms. It also runs until you press the 'q' key so just displaying an Emoji would be much less code.
It took literally all day of learning about Unicode, Unicode in c, Unicode in ncurses, Unicode in Linux, and Unicode in Windows. But fuck me, I did it.
Only the new Windows Terminal (Preview) renders emoji. The old CMD.exe and powershell.exe will only render what their fonts offer, which isn't much. This got me stuck for a while.
Check out the lib here... leave a star for my ego.
https://github.com/AlgoRythm-Dylan/...5 -
TL;DR;
Idiot hard coded database host on the app... Pushed to prod and suddenly shit wasn't working... Took me 10 minutes to figure out what was going on...
Wrote a passive aggressive git message and commited.
Before updating prod my boss turns around to me and the following took place:
Boss: is there any problem with the server?
Me: yes, someone (i know who was ) hard coded the test db IP and it broke the backend.
Boss: oh, but will it affect the mobile app?
Me: well, it won't work but I'm already pushing the fix.
Boss: no..err.. I mean... Will I have to make any change to the mobile app?
Me inside: wtf dude... For real?! Get your shit together...
Me: no. It good, I already fixed it.
Boss: OK. Thanks
TL;DR;
Moron hard coded dB's host and stupid boss can't get shit together nor ask who did it to take precautions...12 -
Something I've noticed over my many jobs. "Professional" means entirely different things at different jobs, and doesn't follow fields either. That is, "Professional" in one field is understandably different from another, but businesses inside the same field also have different definitions of it.
It's almost as if "Professional" is just a euphemism for saying "we expect you to act a certain way, but are being passive aggressive about it so we can't be called out for it".3 -
"There's more to it"
This is something that has been bugging me for a long time now, so <rant>.
Yesterday in one of my chats in Telegram I had a question from someone wanting to make their laptop completely bulletproof privacy respecting, yada yada.. down to the MAC address being randomized. Now I am a networking guy.. or at least I like to think I am.
So I told him, routers must block any MAC addresses from leaking out. So the MAC address is only relevant inside of the network you're in. IPv6 changes this and there is network discovery involved with fandroids and cryphones where WiFi remains turned on as you leave the house (price of convenience amirite?) - but I'll get back to that later.
Now for a laptop MAC address randomization isn't exactly relevant yet I'd say.. at least in something other than Windows where your privacy is right out the window anyway. MAC randomization while Nadella does the whole assfuck, sign me up! /s
So let's assume Linux. No MAC randomization, not necessary, privacy respecting nonetheless. MAC addresses do not leak outside of the network in traditional IPv4 networking. So what would you be worried about inside the network? A hacker inside Starbucks? This is the question I asked him, and argued that if you don't trust the network (and with a public hotspot I personally don't) you shouldn't connect to it in the first place. And since I recall MAC randomization being discussed on the ISC's dhcp-users mailing list a few months ago (http://isc-dhcp-users.2343191.n4.nabble.com/...), I linked that in as well. These are the hardcore networking guys, on the forum of one of the granddaddies of the internet. They make BIND which pretty much everyone uses. It's the de facto standard DNS server out there.
The reply to all of this was simply to the "don't connect to it if you don't trust it" - I guess that's all the privacy nut could argue with. And here we get to the topic of this rant. The almighty rebuttal "there's more to it than that!1! HTTPS doesn't require trust anymore!1!"
... An encrypted connection to a website meaning that you could connect to just about any hostile network. Are you fucking retarded? Ever heard of SSL stripping? Yeah HSTS solves that but only a handful of websites use it and it doesn't scale up properly, since it's pretty much a hardcoded list in web browsers. And you know what? Yes "there's more to it"! There's more to networking than just web browsing. There's 65 THOUSAND ports available on both TCP and UDP, and there you go narrow your understanding of networking to just 2 of them - 80 and 443. Yes there's a lot more to it. But not exactly the kind of thing you're arguing about.
Enjoy your cheap-ass Xiaomeme phone where the "phone" part means phoning home to China, and raging about the Google apps on there. Then try to solve problems that aren't actually problems and pretty vital network components, just because it's an identifier.
</rant>
P.S. I do care a lot about privacy. My web and mail servers for example do not know where my visitors are coming from. All they see is some reverse proxies that they think is the whole internet. So yes I care about my own and others' privacy. But you know.. I'm old-fashioned. I like to solve problems with actual solutions.11 -
La me working on a new chrome extension:
- ok, this page has some hidden divs, I need to tell the extension to make windows scroll to the bottom while there are still elements with a hidden class
- creates a while(1) loop with a condition inside it to break if no elements with hidden class are longer there.
- happy with the code
- uploads the extension
- goes to page
- brings out developer tools
- goes to console
- clicks on extension on chrome
- right clicks the extension and then inspect
- ok here we go: la me click on button inside extension popup
- console shows some logs
- nice it's still looking.
.
.
.
- wait! Why is the page not scrolling ???
- looks at logs, WTF nothing changes in logs .....
- OMMMMG a infinite loop .... infinite loop inside chrome ....
- OMMMMMG my pc's gonna crash .
-stop please stop stop.
- wait! how do I stop this?
- tries CTRL+C ... nothing
- tries CTRL+Z ... nothing ...
.
.
.
.
Abort abort Aboooooort.
.
.
.
- Deletes extension from chrome.
-..... loop still running
- clicks on X to close Chrome.....
- not closing O_o
- Oh God, i need to do something before Chrome sucks all the RAM left.
- remembers the savior...
.
.
.
- Task Manager heeeelp me.
- opens Task manager
- chrome is consuming ~ 2 GB of RAM.
- WTF! Kills chrome.
Thanks for reading my lil adventure 😅5 -
Fuck graphical installers and their bullshit, installed a perfectly working luks encrypted arch install on my usb stick and got most things setup too already.
Next I need to makepkgchroot yay into it - for now I've had to use yaourt, also can't boot off of it, because I didn't yet figure out how to do the grub uefi shit inside of it - which isn't really necesssary as I plan to use it just as a chroot slave anyway, but useful for when I would have to rescue my laptop or something.1 -
The problem I have with atom, vscode, sublime, and notepad++ is that none are available on the command line over SSH, inside tmux. And that's where I do the vast majority of my text editing.
The first text editor I used on the command line was pico, the technological successor of which is nano. I used it because when I was in college in the late '90s, we used pine for our email, and pico was the default editor for pine.
When I got my first job out of college in 2000, I found out about vi, and very quickly fell in love with it, and its technological successor: vim.
The only reason I've never gotten into emacs is because I've never wanted for more than vi/vim. And also because as a system administrator, I'm logging into dozens, of not hundreds of servers a day. While vi or vim is guaranteed to be on all of them, emacs is not.
So, for me, the use of a desktop text editor like the ones I mentioned at the beginning of this post, just doesn't make sense to me. I almost never edit files that live on the computer where I'm sitting, and I'm not interested in doing a commit/push every single time I want to rerun a script.20 -
TL;DR
Front-end dev trying to dictate back-end tech.
We are gonna start split stack (front / back ) development with the following projects and this stupid fucker who knows jackshit about backend , servers, etc... , is more versed in front end stuff and said herself that she knows nothing about databases told me this:
"No way we are gonna use Java."
I politely said:
"We are gonna analyze the projects requirements and see what technologies best fit the scenario"
Me inside my head:
"SHUT THE FUCK UP YOU STUPID CUNT, GET YOUR FUCKING JAVASCRIPT AND SHOVE IT UP YOUR ASS!! IF WE DECIDE TO JAVA THE SHIT OUT OF EVERYTHING THATS HOW ITS GONNA BE!"4 -
I am going to start a new podcast next month. It will be called TechWiz, and the goal is to teach you how tech works inside and out. The first episode will be released sometime in January and come out each month.6
-
You mother fucking piece of shit.
Whoever taught you programming should be removed from history.
And whatever form of intelligence you claim to possess, let me assure you: breathing is the limit of it.
--
Some of the projects I'm working on are really the epitome of "YOLO let's turn the poopomat machine on in diarrhea mode".
The worst: I cannot really give examples.
I've seen the last days everything.
(bash scripting, docker, services like nginx /haproxy/...)
Eval as an template generator in bash...
Declaring an whole environment in an Dockerfile, that should never be used as it is only necessary for building... But not checking if an env file is provided, so the whole thing can blow up spectacularly.
A nearly 1k long bash calculator for system limits, reading out all kinds of stuff from /proc and /sys, seemingly partially stolen from NGINX Docker.
Declaring and starting an own DNS Server to bypass the Docker DNS service inside an docker container.
Mkfifo fun for creating several stdout and stderrs for seemingly no reason...
Actively not using bash, instead of creating shell only functions to emulate bash...
I could go on.
But really. I'm getting too old for this shit.3 -
I was working on a game, and my monitor randomly blacked out and my computer stopped dead. My lights were still on so it wasn't a power cut. I look at my computer and I noticed it's completely covered in Diet Coke. So, I take it apart and cleaned them inside out, whilst I waited for any drying. I stole my dad's desktop and just put the hard drive in. Continued coding. So I guess the moral of the story, don't spill Coke on your PC.2
-
I almost died of hypothermia as a kid. My drunk grandpa went out to drink even more with his friends, forgetting about me and leaving the stroller with me sleeping out there on the street. It was negative forty-two degrees Celsius. I was one year old.
I made it, but developed an awful pneumonia. By some kind of miracle, I made it again, but at the expense of becoming a really weak kid. I had two more pneumonias during high school, plus one case of sinusitis.
Told my grandma I got ear pain in the morning. We went to our local clinic. The doctor there said I have to be hospitalized RIGHT NOW, otherwise it might turn into a life-threatening meningitis. By the time we’re in the hospital, the pain is already unbearable. My vision becomes blurry and dark, I hear my pulse in my head, I lose the sense of time. At that point I’m laying on the hospital bed, motionless, quietly sobbing while the terrible pain is swallowing me, a tiny kid, whole.
I’ll never forget the sound of a sinusitis needle crushing through a porous bone inside my head. A glass worth of pus rushing out. The pain immediately going away.
All that because of one man addicted to alcohol. This is why I don’t drink.3 -
!Rant && !Believe what I am seeing 😓
Just downloaded Android studio 3 to give kotlin a go to find out their designer is soooo much better now, I tried editing an activity with constraint layout and many elements inside without a single freez 😨5 -
Manager was to present an interface for one of our intranet apps.
Designed and implemented by yours truly consisting of a php backend api and a very shiny frotend, which ain't using anything fancy. Mostly jquery since I am using datatables for the most part.
Thing is. To test a button with large text inside I wrote
<button someclass>penis dick vagina</button>
I saw it literally 1 min before she was to present it maybe
Oh boy.
Managed to get it out of the way before the presentation.......
Thank heavens the conference room is next to our office........5 -
So today I opened one Android app to check smog levels in my area and this happened (NaN %). Someone who made this app smokSmog probably didn't find out that NaN can happen. I am really interested if it is because sensor has no data or is it a problem inside the app4
-
When there is a fire alarm where I work, someone has to go print out the door access logs so we have a list of who is (theoretically) on site and make sure no one is still inside. The printer is half way across the building. And breaks down at least once a day.
We are all going to die.5 -
I started learning Golang today and really like it.
The error handling is *excellent*. It always works the same way and is standardized, unlike the hell that NodeJS error handling is (.catch(), try).
Modules confused the fuck out of me. I eventually figured out how they worked, but Go really doesn't try to make it easy to have multiple source folders...
I'll probably be re-writing my Discord Bot in Golang soon. Being able to have just one binary output will make things infinitely easier. Compile-time variables are another feature that's nice and easy to implement.
The goal is only having to upload a single binary to deploy on production from my CI script that has all keys and stuff inside. Feels good to finally throw all that old bad JS code out and starting completely fresh.7 -
So... After this bullshit https://devrant.com/rants/1523838/...
Me: hey boss, so.. I made a list out of those PowerPoint's on Trello ( more than 50 cards ) , can we sit later to priorize them?
Boss: well.. We can but for me all those are important. And we are gonna have those other requests (THIS IS THE HUGE ONE) next week.
Me inside: aaaaahhhh... Scream to your faceeeee!!! I'm gonna kill you and use your skull as a fucking mug!!! Motherfucker!!!
Me: ok.
Our deadline is end of this month :)3 -
!rant 😇
Question time for the automators out there. Has anyone stumbled upon n8n?
https://github.com/n8n-io/n8n
It looks surprisingly simple to get up and running for a no-code automation tool, just wondering if there's any communal reviews on them before I jump deep inside.question automation tool maybe i can get commissions out of them seriously - anyone use this? n8n.io this is not a sponsored ad sorry floyd no code7 -
I am making an LDAP user manager and porting application for my workplace.
The thing is, i made the first version of it in PHP already. Shit works fine and it without an issue.
But
I had an itch to redesign it using another tech stack that would be speedier, more tested and using a more established platform.
Enter Clojure, a Lisp dialect for the JVM. In a single day I managed to get 80% of the application done. We have about 80k users inside of our ldap system(maybe more) and I tested it with 150 accounts, so far so good.
If this works I will be the first person to deploy a Clojure application, not only for my organization, but for the city as a whole while simultaneously being able to say that I got a Lisp app deployed and working :D
I am loving this. Really wanna have a Lisp app out there and add it to my resume.
The head of my department, an old timer and really ancient dev smiled heavily when I showed him the codebase. Not only is it minimal, it is concise and elegant :D
I love Clojure
And Texas17 -
A good life lesson:
1. DON'T DELETE FILES YOU MAY WANT TO RECOVER
And if you DO delete them and then recover them, then
2. DON'T SEND THE RECOVERED FILES TO A·N·Y·O·N·E
Today I found a lost µSD card in the street. I did what every sane person would do -- plugged it into my laptop :)
There I found a directory with recovered pictures. I figured, some of them may contain the author's info in metadata, so I ran a quick plaintext search for @gmail.com.
Turns out, inside some of the recovered picture files I could find embedded company director's emails in plain-text. I mean, open the picture with a text editor and read through those emails - no problem! And these emails contain some quite sensitive info, e.g. login credentials (lots of them).
Bottom line, if you delete and recover your files, then do your best to keep them close: don't share them, don't lose them. You might be surprised what these recovered files may contain15 -
Any tips on nailing OOP design interview questions? This is a black hole, weak area for me, and I get absolutely no feedback on what I'm doing wrong.
I feel like most of it is because I *nothing* about what I'm asked to design.
And yes, I ask clarifying questions, list out use cases and constraints, identify nouns/verbs and map them to objects/methods - but these don't help with the overall *design* when you can't even grasp what the components are, nor which parts need extensibility.
Imagine you've *never* been inside a car, let alone even understand there's components to a car (you don't even know that cars have engines, or that they take fuel). Now imagine you're asked to design a car. It's just, silly.14 -
Rant
I'm tired of this shit!!!
First I receive a task to create a new functionality for the app that I'm working on and some documentation (this is the only good part of all the rant) but no design.
It's been 2 weeks since I got assigned to this and still no design, no assets, no API calls that ACTUALLY WORK.
Today was testing a plist to get a banner link, and for 1 hour that little fucker didn't returned the image I was asking.
Better, I wasn't getting ANY IMAGE. Turns out that the link sends me to a HTML URL that doesn't have any image... go figure!
So I've been working on this from some images inside the PDF with the documentation given.
Oh! Wait! There's more!
The cherry on top is that I'm implementing a chat/voice call/video call into the app and the framework that I will be using is being created now, and it's not even finished!!!!!!4 -
I just had a boys-out night with my son. Went to some restaurant, found a parking spot in a confusing parking lot (half is more expensive than the other half of the lot, not sure which fee applies to the middle row... confusing), started paying for parking with the app (pays every 15 minutes until stopped).
Went inside, ordered a pizza, some ice cream. Chatting, playing, eating, having fun,... An SMS comes: "You have outstanding fines" and a link to the gov taxes' website.
wtf.. I must have parked in the wrong spot. FUCK! Oh well, it should not be a large fine anyways, it's just for parking....
Click on the link, login with my bank/SmartID creds. Another SmartID dialog pops up asking for a PIN2.
What? PIN1 is for authentication, PIN2 is for Authorization. What am I authorizing...?
Reading through the Auth message: "Paying 2473€ for Boris SomeLastname".
what.....?
Thank God my muscle memory did not kick in and I did not enter that PIN2.
And thank God I know what PIN1 and PIN2 are for.
It would've been one expensive boys-out evening... Even a strip club would've been cheaper.
Stay sharp, guys!
P.S. Later I checked the URL. It used all the right keywords, and it was registered as an .info domain. It was somewhat off, but gov websites trying to be lean do sometimes use some weird ass domains.15 -
Nobody's fault. It's just my naiveness.
Meeting time is at 1pm.
2 guys from 2 different companies and me.
Guy A and Guy B offices are a bit closer.
Meeting venue is Guy B office.
Guy A confirmed and reminded me about the meeting around 12.
I had my lunch early and left my office at 1230.
Got a call from Guy A while I'm on route.
Guy B forgot the appointment, went out and they have rescheduled it to 530pm.
In the end I had to pay a round trip ride for a taxi.
Well at least it's cold inside the taxi while outside temperature is 38°.2 -
Usually my workplace is pretty chill, but today something rantworthy happened!
During code review, I found this guy had styled each element inside his components using nth-child selectors. For instance, in a card the heading was styled by nth-child(1), the text was styled by nth-child(2) and so on... No use of actual fucking classnames.
When I pointed this out, he told me it was actually the better way of doing things because classnames increase the size of the HTML document!
He also claimed proudly that nth-child() is more efficient in performance (idk - anybody can confirm this?)
I'm the only "css guy" there so nobody could second my views. Posting it here so that I can show this to him tomorrow by demonstrating what opinion other css devs have on this and prove my concerns / convince him to change his code.7 -
Could probably write one myself, but fuck me I wish there was a ready plugin for vsCode or a tool that can fetch external resources into selected folders (e.g css, js, .. in the public folder) and replace it inside the code, it has been way too many times that I synced my code base and went out with my laptop, just to realize I forgot half of it has external resources like bootstrap and my mobile connection is terrible enough to call it quits.3
-
I just wasted 2 hours trying to figure out why the properties of a destructured object returned undefined, even though everything was fine in JSON format. Tried to request data on the frontend from my server with a database attached. Tried accessing each object of my array separately, it worked. In a loop: dataArray[index].propertyX ... undefined??
Turns out I used the wrong property names to access the info inside each object.
🤦1 -
Well... I once accidentally deleted a classmates entire assignment. Basically we were working together on one and we had the code in Github, I had named the repo after the module code.
He was having some weird git issues and I thought it would be easier to just delete and re-clone on his machine. You can probably see where this is going.
Me: rm -rf <DIR NAME> Enter
Him: wait, which folder did you just delete
Turns out he had the repo cloned inside another directory with the EXACT SAME NAME, which also contained his previous assignment, the only copy of it in the entire universe (it was a group project and they did it all on his laptop with no source control, which i found hilarious).
It wasnt so bad since that assignment was already submitted and graded, but a bit of a fail on both our parts. -
I was cleaning up dangling images in docker, and I accidentally removed the production database container as well.
Its not a big issue, I can just up the container back and everything should be fine. But after I up the container and connected to the database, I found out there's no data inside. I thought I fucked up, and sent msg in slack channel that I nuked the db.
Later my friend asked me which compose file I am using and that's when I realized I used the wrong config to up the db. Used the correct config to up the database again and everything goes back to normal.
It's friday evening and if I really dropped the db it would be fucking bad weekend....3 -
Two years ago, a government agency hired an applicant with obviously lesser experience (a fresh graduate for crying out loud) than mine for a developer job (with 13 years of foundation). He was hired because he had connections inside this agency.
Recently, I heard that this guy is starting to be a pain in the neck. Who wouldn't be?!?! The guy has got connections inside. He's untouchable. And it's irreversible. Sad story.10 -
That feeling when the CEO gives a really positive pep talk about his future plans for the company but, deep inside you know your just caught up in a monkey shit fight that can never achieve the goals he’s laid out.
-
Product owner (who is also the application administrator): please build feature to allow administrators to create automatic alerts to be sent to application users
Me: ok
Feature gets built, tested and deployed to production
Two months later:
PO: I've noticed in our monitoring tool that there haven't been any alerts sent out to users. What's going on??
Me: well have you created any automatic alerts?
PO: umm, no. How do we do that?
Me (inside): 🤦2 -
So,
A) I suck at digital drawing.
B) They have not invited me to the third interview like they said they would in the second interview.
C) I am still working on the PhD application. Still think the CV is bad, the SOP sucks, and back and forth emailing professors about recommendation letters. I am not built for this, but who is. So out of comfort zone. So unrelated to actual research or brain capabilities.
D) Moving in with parents is all fun and games and "I can do this", until you get stuck inside with them for over a month because of lockdowns.
... I hope next year is going to be better...5 -
So, I got an iFixIt toolkit with a gift card from xmas. Was excited to tear into my iPhone6 given that it had lasted me a long time, and not that long ago, I had the screen repaired given I didn't know how to at the time and was working stupid long hours. I haven't used the phone in about 6 months now.
Wtf.
I open the device, and immediately 2 screws and a bracket fall out of the device. The inside is filthy, and appears to have corrosion (despite the fact I've never gotten water on it, I was kinda anal with that phone).
Whoever the guy was who "fixed" my screen apparently did so in a way that involved spilling something on my phone, over torquing a screw, breaking a bracket, and the entire thing looks sketch.
All while charging over $100. I can see why he insisted on having an otterbox on the phone now, he fucked up and was worried the one screw pin wouldn't hold the screen on. Motherfucking asshole.1 -
Today I took an empty Whoppers carton and put Hersheys kisses in there.
The shear hate and discontent has been a great source of entertainment for me and my office mate.
One guy picked up the carton, looked inside, and threw it down on the table and stormed out. He has been telling me to f-off since then.4 -
I remember the first time I downloaded smth from the internet and was extremely nervous not to fuck anything up. I was young and had just started using a computer. It was a desktop computer with windows xp in our basement, inside kind of its own wardrobe, standalone.
I remember my dad (not very tech-savvy) who told me not to download anything from the internet, as it would surely be a virus, but I was bored of the built-in programs and wanted to try it out. I downloaded a program and was extremely nervous and hoped for no virus. I don't remember what I installed back then (no virus/trojan/etc.😅) but it was this moment I realised I could download anything and wasn't tied to what the OS provided, which led me to be interested in computers in general.
I believe that if I hadn't attempted that download, I wouldn't have become the tech-savvy person that I am today, studying CS... -
I just found out that the company that i've just started contracting at has the entire of wordpress inside of a repo for quite a few of their sites.
Fuck me now.7 -
Android studio is a PATHETIC excuse of an IDE!! And managing a constraint layout inside a scroll view is worse than having my nails pulled out while a bamboo is growing into my spine at record time! Screw this piece of shit IDE!! I suck at front end bad enough to have to deal with its buggy frontend IDE!! Aaaah!!!! - pulls lumps of hair out-16
-
Have you ever been working on something really important and in the middle of a calculation, you suddenly remember.. that you had saved the last Muffin from 2 days ago inside a container on the shelf where you never ever Store stuff.... out of the blue ......and you wonder till you get home and find that muffin.
...ah what a beautiful mind.... Seems analogous to a Google now notification but in your brain... -
With all M$ buying GitHub thing i really hope some good things will come out of it like:
- Better version control inside Visual Studio.
- Microsoft making its projects more open source, since it now has an official platform for itself.
- Faster and better service from GitHub since there is now a much bigger budget for servers and other things.
But there are some things that i think are worth thinking about:
- Will this be another one of Microsoft's paid services?
- Will there be "intergration" into the Office apps along Skype, Word and others?
- Will the privacy policy change?
Most likely, none of the bad things happen but me being paranoid as i am, I'd prepare. I always try to be optimistic and just ignore it for now until Microsoft start doing things.1 -
Had some time again to work on my scripts and changed the calmifier script to detect mid-rant screaming and also make them half transparent after calming them - just to see how much actual screaming there was before.
That option can be turned on, by just setting inside the script "highlight_changes" to true, default is to not highlight them.
Anybody who doesn't update it now, will get the update depending on the tampermonkey update setting, which defaults to once a week iirc.
If you want to try it out now: https://github.com/7twin/...
Original rant: https://devrant.com/rants/1419613/...4 -
So, a new web project came for some small layout changes, nothing to fancy.
It was on the hands of another company and the client didn't want to work with them anymore. Basic Magento with a custom theme.
As I was wondering through files, I found out that the old devs echoed, in ".phtml" files, contents from ".txt" files located in base directory. I was shocked and went forward with it. The core of Magento had tons of this "echo"s. Several minutes later I found out that they "coded" another administration panel besides Magento, that had "authentication" with hard-coded user/pass inside index.php and a session start. That admin panel just rewrote the contents of .txt files using textareas. Why/what/when the fuck..they've forgotten the admin password?!?!!!!
This was like 3-4 years ago.
Worst project i've seen, ever... -
So I think I saw a post on here about dvds in virtual machines. Got me thinking, and here's my results trying to play a dvd using linux running inside a vm.
Setup:
Windows 10 Professional
Hyper-V VM running Debian 4.19
Xming website release for video (also works with the free version)
PulseAudio for windows to play sound
So, pretty straightforward, right? Insert DVD, tell Hyper-V to map the dvd drive to the virtual one and run `vlc dvd:///dev/sr0'
But of course, DVDs have copy protection (read: playback protection), so I downloaded the dvdcss package file from videolan's ftp server and installed it. This still didn't work though, vlc said it couldn't decode the dvd. Then, to make sure my dvd was okay I played it with vlc in windows, which worked fine. When I tried again inside the vm it suddenly "worked". Maybe running it inside of a vm prevents some access to the dvd drive required for decoding? Go figure.
The video was very corrupted though, and vlc puked out a lot of errors.
So in conclusion, playing a dvd in a vm is weird, unwatchable, inefficient and only works if you can also play it on the host.
And yes the audio is just as choppy as the video, no idea what causes this. I can play normal videos fine (for some reason that doesn't really work with the free version of xming) although it uses about 200% cpu since there's no hardware acceleration, and the framerate isn't necessarily what it is supposed to be.7 -
For hours I spent my time debugging my code, trying different approach to the same code function. Looking for one simple invisible mistake, that is when I want to make a delete request to the IndexedDB.
The request are fine without running a single error, the success event fires perfectly. But one thing which is unexpected, the object inside IndexedDB did not vanish at all. The data stay the same without any flaws (but how can that be, when the 'delete success' event fired? IT SHOULD BE GONE BY NOW!). No kidding, for hours I debug my code, yet found nothing's wrong!
Until one moment I found out the datatype of key I gave the request are different from the object I wanted to delete, the object has a key of 4 and I gave the request "4". I'm so pissed at this moment making me googled 'developer rant' and found this site.
Really! God Bless 1 !== '1'.5 -
It is 4 am now.
There it is. My obsession to destroy electronical things got me once again lol. I found a Canon printer last month and put it in my room to gather more electronical parts (for future arduino projects).
I am quite impressed about what makes Canon printers so different from Epson printers.
Canon really makes it fucking hard to open the inside of the printer.
Epson printers were way easier to open. A big plus for Epson.
Canon printers have weird design. Everything somehow sticks inside of something else with no room inside the printer. Like spaghetti.
Wherelse Epson printers have a plenty of room inside with a better design. No need to waste alot of time to reverse engineer it (figuring every single cable, motor, and what else not out). A plus for Epson here.
Now... what might have impressed me alot?
Take a look at the attached picture. The power on button(design), the display (it is usually soldered on Epson printers) and the "door servant" as I call the part with the blue cables. The "door servant" pushes the stick down when it has electricity.
I never found these like this in Epson printers.3 -
aaAAaaAaaAaaAaAAAAAaAaaa floating points!
I debugged my algorithm for quite a while, wondering why it sometimes gives out "Circle(Point({1.7976931348623157E308,1.7976931348623157E308}),1.7976931348623157E308)" as the smallest circle around a group of points.
Figured out that it sometimes just never found any circle defined by two or three of the points which included all points (which is mathematically impossible).
Then finally I made it print out the points it thought were not inside the circle:
"1,7,8: Circle(Point({0.6636411126185259,0.535709780023259}),0.4985310690982777)
skip, 1 not inside"
So it defined the circle with 1 being on the edge, but then thought 1 was outside. Thank you, floating point Math.
For anyone wondering about the notation: That way I can directly copy/paste it into Geogebra to have a visualisation.7 -
I'm in the 7th circle of hell. Building out an authentication system using a 3rd party vendor into our company's application.
Developing in PHP, running inside a docker container, using a Windows PC. Absolutely everything has gone wrong that could go wrong but PHPCS whining about a missing space between the "!" and variable name was the last straw.2 -
My JS app can crash IE11. Totally reproducable.
Had a fun debugging session to find out how this is triggered. Happens inside a deeply recursive call in a library I'm using which redraws the DOM.
Found a hacky workaround to avoid that as I see no real solution. It's not like I'm responsible for fixing IE. These are the days where I'm happy I'm mainly a backend dev...4 -
when you have to use one language inside of another, and you basically have to call functions allowing you to call the other's language function within it, and you get the hell confused, since it gets harder and harder to see what is what and who can call who and how, and the compiler ofc. won't say anything about it since it only cares about the main language you are in and not the nesting of the other...
I just have no idea what I'm doing right now, or if my thought process and understanding of this is even close to where it is supposed to be.
D: I'm just confused and insecure about this right now....
time for experiments to figure this out, and get the hang of it13 -
Security is a joke. And people don't seem to get it. Especially Data mungers.
I've spent about half an hour trying to work out how to securely connect to power BI using PowerShell in a renewable manner for unattended access later on.
Every single example I've found seems to involve you storing $user and $password variables inside your script. If I'm lucky, they're going to pass them through ConvertTo-SecureString. And nobody talks about securely storing AD auth tokens, or using the Windows Credential Manager.
I know it's possible, but it's going to take me ages to work out how from all sorts of disparate sources...16 -
Ah, the internal struggle.
Half an hour of debugging to find out why my code wasn't being called multiple times inside setInterval().
Only to realised that I was using setTimeout() instead of setInterval().
This is what depression and tiredness does to people. -
I have a friend which have a hoarding disorder when it comes to coding. Here are some of the things he does:
1: If he rewrites, remove, or in any other way refactor a function, then he keeps the old one in the file commented out.
2: If he deletes a class then he takes the code and paste it into a class that he have just for old code. AN ACTUAL CLASS! Not just some random text file somewhere. Even though it is commented out, he leaves it so that you can initiate his garbage.
3: In point 1, the code is not pasted on the end. It inside all the other actual code.
So if you try to help him with something, then you have to dig through a mountain of shit just to find some code.5 -
Your three-second password retry delay is far more likely to annoy users than preventing a brute-force attack.
If you insist on a retry delay, let the user enter a password five times without any delay. This would make no difference in the grand scheme, the trillions of retries needed for a brute-force attack, and guessing a password takes longer than three seconds of thinking anyway.
Another alternative is a tenth of the password retry delay but one added character. One added character slows down a brute-force attack by at least sixty-two (62) times, so one more character but a tenth of the password retry delay would still mean more than six (6) times the protection against brute-forcing.
On Linux, the password retry delay can thankfully be reduced by changing a value inside /etc/pam.d/common-auth or /etc/pam.d/login (out of scope for this post, you can search online for more details).5 -
So I have a pet peeve to talk about here, I'm excited for the Atari box as I have some inside information that is officially confirmed about it (unfortunately am not allowed to talk about it :-C) and I see people out there saying it is "an underpowered Linux steam machine)...
How the fuck are people coming to this conclusion when the specs, OS or anything technical about it haven't even been released yet?!
Why must people immediately assume that because it's not a standard windows PC it must be a piece of shit?
Boggles my mind that so many people can be so defensive and go on the offence without knowing anything.
Just so I can clarify, I'm a console gamer, Linux lover yet still develop for windows and the like so this isn't a biased rant and I know people will look at this, see the word Linux and go on the attack... So... Just... Chill?4 -
My first interview was the interview where I cheated and got the job, it was an on campus job interview. I did not have a good gpa, (to be honest it was really bad i was below the 25th percentile)
Anyway this was the only (developer) job interview I knew I could qualify for, I was pretty sure that if I couldn't nail this one then I could kiss my dream of programming professionally good bye.
We were about 25 kids sitting in a class room with a pencil and couple of sheets of paper and the the interview panel walked between the seats looking at what we wrote.
So, when I couldn't write an algorithm for the problem of square rooting a number n. I panicked (was literally shivering with tears rolling down my cheeks, thankfully nobody saw me as i was on the last bench) I gave up, wiped my tears and stared at the board, a panel member saw me and told me to leave after looking at my paper. This was the moment my mind decided (not me but someone else inside me) that I have to do whatever it took, so just when I was stepping out and grabbed my bag i quickly opened the browser of my phone inside the bag typed square root algorithm opened the first result and read the words arrive at the answer by binary search, ass soon as I read that my mind worked at a pace that it has never managed ever since that time, and i knew the solution in a matter of seconds, i dropped my bag when to one of the more sympathetic panel members and explained the whole thing to him on the spot, he was impressed, and he asked me how this algorithm can be extended for the nth root(which is really simple once you have the algorithm for square root) and i blurted it out instantly which impressed him even more and offered me the job on the spot and told me to attend the next 2 rounds as a formality.
Thus i saved myself for a world of hurt and now I am a developer who thinks back to that day every time I need a boost of morale1 -
Work overtime for a month to develop a polished product inside and out. Not a peep from anyone. Throw together a simple script in a few minutes to run some daily reports and suddenly you're a god.
-
So, my wife's family has a "no shoes inside the house" rule, what is fine... until you realize that they mean "*no shoes inside the house*" - regardless if you are actually wearing the shoes or if those are in your luggage or something.
So you're supposed to leave all footwear on a shelf on this bench outside their door.
That proved to be tricky when my 10yo twin girls started freaking out that someone was going to steal their prized shoes if we left those outside the house during the night.
It would actually be a risk in our own neighborhood, infested with amazon-package kleptomaniacs, but here we are deep in the country.
Now, I've been to my in-laws place many times, and they absolutely cannot be reasoned with. I wish I could use their stubbornness to train a LLM into relentless compliance with company policy.
So, in order to spare my girls from some of my in-laws paranoia, I've spent some time before we came here rigging up a wifi cam to a facial detection service. (I know I've just exchanged their covid-style paranoia with my own surveillance-state-style paranoia. Those are the times we live in. But i can see the irony)
The server monitors the camera feed and stores the first few seconds before, during and after some face is detected.
I trained a facial rekognition model with our family's faces and had it notify me every time some unknown face appears on camera.
Finally, I've printed a "smile, you are on camera!" sign, taped it over the laces of my tracking boots, and hid the camera (and a powerbank) inside one of the boots.
My daughters were pacified with that solution, my wife laughed out loud with a devilish smile, and my in-laws completely ignored me when I tried to explain it all. Perfect.
The system has been up and running since before christmas. It notified us when some relatives arrived for celebrations and one package delivery - no shoe-related shenanigans. Until this morning.
My daughters have been playing with some neighbor kids, and a couple of those decided to fill their shoes with mud on this new-year morning, as a stupid childish prank.
I know because they kneeled in front of the camera earlier today.
Right when I was finishing up my stretches for the morning... less than 2m away from the door.
The wicked kids looked straight at the camera, and you can actually pinpoint the moment that they realize they have been caught. Then you can see when they hear me unlock the door...
I opened the door to find a bucket full of mud and no soul on sight.
I'm not posting the video, they are minors, after all. But my family is sure to laugh at it every year... and my in-laws will keep on bringing it up with the kids' grandparents forever :)12 -
Architect: "Inline sql is just as performant as a stored procedure and since it is in code its safer and easier to maintain."
Me, inside my head: "I bet I could do the pencil trick on him from 'The Dark Knight' and it wouldn't hurt him as much as suck the world into the small hole in the front of his head since it is clearly a vacuum which was meant to destroy the earth. This is an obvious plant by the lizard people as a test to see if we could identify them. Killing him would be a..."
Architect: "I mean isn't it still a best practice."
Me, out loud and deadpan: "No, that is wrong and it was never a best practice. "
Me, inside my head: "Crisis averted."4 -
I haven't said anything yet, but an AltRant notification server exists. Support for it will arrive very very soon on the AltRant app. It will run locally on the end user's personal computer, and it does not require a constant connection to the phone. Both devices need to be connected to the same local network on first connection, but after that you can wander out of your house or disconnect from the local network and still receive notifications.
DISCLAIMER: ALL SENSITIVE USER CREDENTIALS ARE NOT STORED *ANYWHERE* EXCEPT ON THE LOCAL USER'S MACHINE. NO DATA IS SENT TO ME. THE SERVER IS OPEN-SOURCE, HAS NO RELEASE BINARIES AND RUNS ON PYTHON.
Note to @dfox: if you want this to not exist or not be supported inside AltRant, please tell me or send me an email about it.2 -
I will never ever see, play, or think about video games the same way again. Even playing all my childhood games is never the same.
I will now forever see the game from the inside out, imagining what code the devs might have written to achieve what is happening: sprites, audio, triggers, AI algos, etc. No longer is a player or character just a player or character; they're sprites, animations, classes and variables and method calls. o.o2 -
This technical interview went horribly awful... I cant believe what they asked me.... And it was all on english. Interviewed by german and indian guy. I got SO stressed the fuck out just from this 35 min technical interview. I drowned in stress. If this is the reality of engineering world im not sure if i can handle all this stress....
If i work a job i would literally just go to office and come back home like a literal zombie. Emotionless soulless purposeless zombie. Emptiness. Void. Numb. As i work in the office i would put a fake smile face as if im so happy working while from inside drowning in stress and decomposing out of depression... The amount of money i earn wouldnt even be spent because id have no energy or will to go out and spend it. It's meaningless....16 -
Situation:
Php not loading oci8 connector for oracle database in windows server, got the all famous and feated oci_connect unknown function error.
Solution:
Check to make sure that the stupid dll is in the extensions folder ---> check
Check to make sure that the extension_dir path is done properly inside php.ini ---> check
Ensure that extension=php_oci8_11g.dll is inside php.ini ---> check
I have no fucking clue why this piece of shit would stop working all out of the sudden and would not fucking work. But here i am yet AGAIN trying to fix something for the fucking web tech department because their fucking lead dev is out.
I
Fucking
HATE
Having to deal with php configurations. Such a fucking pain in the fucking ass man.
FUUUUCKING WOOOOOORK8 -
No Python. I don't want your fucking eggs. Who even decided on that name??? Eggs break and get all messy, the stuff inside grows out of control or is dead to begin with. WTF!!! I feel filthy whenever I see an egg-info. EEWW2
-
I like my log messages to indicate automatically where in the code something happened, so that I can easily identify where a message originated from while tracking down problems.
In C/C++ this is nice and easy - write a logging routine, wrap it in macros for the different log levels and have that automatically output __FILE__, __LINE__ etc.
I wanted to do something similar in NodeJS, as I'd found myself manually writing the file name in the log message and then splitting functionality out into new files and it became a mess.
The only way I found to be able to do this was to create an "Error" object and access the "stack" member of it. This is a string containing a stack backtrace, suitable for writing to console/file. I just wanted the filename/line/routine.
So I ended up splitting the string into lines, then for each of the lines, trimming the surrounding spaces (or tabs?), and parsing them to see if the stack entry is inside my logger module. The first entry outside of that module must therefore be the thing that called it, so I then parse out the routine or object and method, filename and line number.
It's a lot of clumsy work but the output is pretty neat. I just wish it were simpler!2 -
Dads of DevRant: Will I ever be able to work on personal projects again? I have a half-complete project that was going really well, that I have immense enthusiasm and drive for, but I just can't get to it, kids/family takes up 100% of my time & it's honestly depressing me. I'm finally at a stage in my career/skills where I could complete this; the technicals and business are all within my grasp, but I've fucked myself by having a family, my life isn't mine any more, I gave it up. Not their fault. But will it ever get better? Maybe someone out there understands this pain; nobody around me does, I keep it inside.13
-
!dev
Sometimes life just cracks its knuckles and goes like, yeah let's just fuck this guy inside out.
Everyday is a battle. Cockroaches are my worst fear. Like Orwell's Room no. 101 level fear. My tiny student residence room has so many that I'm sick of killing them. And they just keep coming back.
My worst sorrow is lonliness. I'm the kind of person who's fairly independant and level headed but I just love the feeling of having close ones around. So much that it's a part of my existence and identity. And sadly, that's just not there right now.
My worst misery is unproductivity. Not working on something useful always makes me feel guilty. But all the stress and responsibilities and the above mentioned problems leave me with little mental room to do what I like unless I put in a lot of conscious effort into it which drains me.
Despite all this, I stay happy. I smile at the end of the day and I'm fucking proud of it.3 -
Last year in my job, I was temporarily assigned to another team to help out in their project as they were short-staffed. It was a massive project and of course there was a lot of code review to be done. But since I was only temporarily assigned, I still have to do code reviews for my base team, this other team I was assigned to, and for some reason, code review for another team that I barely know what their project is about.
There were times where all I was doing was code reviews that took anywhere between a few minutes to upto 3 days. The amount of mistakes and bugs I kept finding was phenomenal. But I think the one thing that got to me was finding the same bugs/mistakes that I kept pointing out to people to stop doing or to fix e.g DB queries inside a loop just to retrieve data.
To this end I still have to deal with the same issue, but thankfully now it's only to one team.1 -
Shout out those who love to nest objects inside structures inside arrays.
makeup [1].your.getMind()1 -
You know apple has its dick deep inside your ass when you buy a Macbook pro with no discrete gpu for game development(unreal engine) and then shell out $1500 for a fried cpu.18
-
Shout-out to the German Bundesbahn (railway company) for using debian on their infotainment systems inside the trains!
But please, make them reliable... I regularly see systems stuck in boot and kernel panics as soon as they start...
But hey, it's the right direction :)4 -
Who knew that NOT using results given from an API can actually help.
The private devRant APIs give you offsets in text of where links are in comments and in rants.
It’s EXTREMELY inaccurate and I don’t understand why it’s so hard to write it so it’s accurate 100% of the time.
So I said fuck it and NOT use the given offsets and just hard-find using the built-in algorithms inside Swift to create the range for me. Results? It works 100% of the time. No crashes, no out-of-range errors, no nothing.8 -
I am teaching myself a new skill.
Everytime my non-technical boss speaks about devOps, I am going to force the tetris theme tune to play inside my head to block him out.1 -
I really wish I had worked somewhere that was hacked, so as to know how it was done, how it was found out, and what measures were taken, from the inside.
The problem is that I worked at a lot, and big places. We were never successfully attacked or hacked as far as I know. Was our security so good, that nobody succeeded? Or was it so bad, that we didn't even notice? -
Whenever I cancel out old chunks of code that do not serve their function anymore, or that I commented out in early phases to make space for better functions, I feel dead inside. It's almost like if I was saying goodbye to a very old friend, who supported me through the project and reminded me of how I started it.
Than I notice how stupid and/or inelegant that chunk was, and feel better. 😂 -
Want to know again how it felt like when programming for the first time? Learn Prolog, it fucking twists your brain inside out. It's pretty cool tho, very very challenging.3
-
Doing a technical assessment. Slightly different stack than what I am used to!
- NGINX instead of Traefik
- Kubernetes instead of Docker Swarm
Just because the stack is different, anxiety / impostor syndrome is kicking in. I'm proud of myself for commanding my brain and body to execute:
While !done:
- google,
- find simplest straightforward tutorial
- implement
The chemicals inside my body are all over the place. I really want to move out of my current job!! -
Quickly coming to the terms with the fact that software development inside companies is just the perpetual motion of putting out fires as quickly as possible just so customers can still be ignorant cunts.
-
Virgin Powerbeats™ pro:
- can’t even fit into your pocket, you have to buy special iPants™ with bigger pockets, that would be $1499, thank you
- have buttons so finicky and annoying that you’re really better off with a touch area
- silicone tips deteriorate and are prone to stay inside your ears. Uh oh, anyone but certified iOtholaryngologists™ aren’t authorized to remove them or else they would be put to Apple Jail™. The removal would be $499 per ear, thank you
- you have to be a PhD topologist to figure out how to put them back into their case
- uh oh, one bud just randomly stopped working because of a design flaw in our case, that’s User Error™, would you like to pay for a replacement with your Apple Card™?
- a feel of greasy deteriorating clamshell
Chad Jabra Elite
- a feel of a brass zippo, magnets are just perfect
- firm, real buttons. Improve then just one level and you got the feel of IBM Model M
- you press a button and you hear whatever mics are picking, no need to ever pull them out
- most comfortable buds I’ve ever tried
- small case fits into pockets of my tight booty shorts just fine
- waterproof
- sounds better than anything Noble Audio have ever done
Beats suck i guess 🤷6 -
I don't like coding in the dark anymore. I think I've been doing it for about 2 years but I, just now, realized it.
I never even noticed when I started doing it. I just remember that--when the sun sets and I'm still working--I think to myself "ugh, it's too dark in here".
It just seems crazy to me because I used to love the dark. Not in the broody, ooh I'm a hacker kind of way.. just that I worked better in the dark.
I used to choose afternoon or evening shifts whenever given the choice because my brain works better when it's dark out (if that even makes sense). I used to work inside conference rooms with the lights out or dimmed.
But now, I just caught myself thinking I needed a brighter light in my home office.
Huh. I think I'm getting old.3 -
The real life of me as a trainee developer:
New system works locally but fails to work in production and dev.
Proceeds at futile attempts to debug for hours to find out that my connection strings in the transforms were nested inside logging. -
I've been away a couple of months.
I finished uni. I got a job at a startup. My mental health improved. Current boss is nice, during december I was going towards another burnout due to huge task assignments. When I expressed this concern, he understood and reduced the sprint task number.
I hope I'll stay here as much as possible.
I've been living with my gf for over a year now. Pretty exciting, although intimacy is kinda fucked. We haven't had sex for over a while now.
I'll start hit the gym soon. I need some kind of workout or sport.
I hate my city at this point. Too big, public transport suck and going out for anything that's not a pub requires at least 30 minutes by car in the traffic. Parking is plain hell. Cabs are out of the question, too expensive. Yet I need to go out. Can't stay this much inside the house or around the neighborhood.
Since I'm working remotely I'm thinking to travel with my laptop. I need a better one and more money, but I'm starting to work on an external project. Still have to discuss my hourly rate but it won't be much given my limited experience.
I want to start studying again. Not for university or anything, just to keep myself in training, but I feel like I don't have time. Probably it's because I'm an unorganized person. Will figure this out.
So this was my answer to an unasked "how are you?".
Did I miss anything? How are y'all? -
So I was talking microservices architecture with some lead techs.
And I started asking how did they combine/connect their microservices.
And despite having a lot, they use HTTP as the main transporter.
So the put some API-Gateway, all inside traffic has to go through it, to connect to the final client.
And I said that I do meshing microservices, and we use Nats as man transporter, so our messages go through UDP and not TCP.
And they freaked out. Saying UDP is too low level and not useful...
My question: if you do microservices oriented architecture, and not SOA, do you use HTTP? Did you use it simply because "it works"?14 -
Hey. Can I borrow your ears for 5 minutes?
Since I've been out of school, I've often felt that even though I've learned how to code, the education went into a totally direction than the one I want to go. Of course a school can't teach you everything perfectly, but having almost no experience in frontend (mind you we learned the BAREST basics) just makes me feel entirely empty in that regard stepping up to a company. I've been pretty loaded during school, since I was struggling with a lot of things so I couldn't really find myself pursueing the direction of coding frontend apps being fun. I needed the little time I had to blow off steam playing games etc.
So the few things I know are all self taught, but I was never given a hand been shown best practices or solid advice where to look. Sitting down now at my pc trying to learn ReactJS for example feels incredibly draining and difficult, since we've never done JS in school ONCE. All the C# experience barely helps, since with ES6 being rolled out parallel to "normal" JS it's even harder to me to connect the lego blocks that is frontend development. Since many best practices are applied to ES6, I can barely even tell what previous practice they are replacing, making the entire picture even more spongy. In one sentence it's very overwhelming.
I've thought I'd apply maybe as a UX/UI Designer since I've got a great visual sense (confirmed countlessly by many, friends and strangers alike) maybe contributing to the frontend part that way. But as I was applying I've noticed that chances are seemingly pretty low to get accepted since it seems you've got zero reputition if you don't have a degree in Design.
It breaks me apart. I could probably apply as a frontend developer, but I am not sure if I would be happy doing that on the long run. Since just fucking around in Photoshop creating things seems like no effort and brings me joy, as compared to coding out lines for example.
I wanted to make money after school, improve on myself and my quality of life since I've drained that entirely for the sake of my education. Not spiral into another couple years just to eventually maybe get in the direction I want to.
On the flipside going into frontend dev with 0 skills, 0 experience, but being expected to have 2 years of hands on experience with the newest frameworks makes me feel empty and worthless.
I often hand out advice to other people on devRant, but this is the one time where I need some. Desperately. I feel shattered inside, getting out of bed in the morning has no incentive to me since I'll just feel like shit all day, watching YouTube to cheer me up temporarily, only to feel immense remorse not spending the day learning or improving on myself. Barely anything brings me joy. I don't wanna call myself depressive, but maybe I am just dodging the term and I am exactly that.
Thanks If you've read through this monstrosity of a rant/story. I'd be glad if you'd be so kind to give me a different take on my situation or a new perspective.
I am stepping on the spot and I am slowly dying inside because of it.
It dreads me to say it, but I need help.12 -
In the darkest dankest parts of the code, I have discovered a way to get the tag UNDEFINED to show up in this rant. They call things that are unknown a black box. But you see, if you have a good enough shot gun, you can begin to blow enough holes through the box to figure out what's inside. I never said that whatever was inside the box was going to make it out... I just wanna get a good idea of what was inside.4
-
In the spirit of week93:
If you haven’t read/heard about the attack on HB Gary Federal (a computer security company) in 2011 and you want a good read about a DDOS attack, social engineering, espionage, and the “infiltration of Anonymous” by a very punchable CEO you should check out this article:
https://arstechnica.com/tech-policy...
And the follow up by Anonymous:
https://arstechnica.com/tech-policy...1 -
Project leader did no work on our project (mainly due to not knowing how to do it), so he dealt with the problem by asking me to explain the entire infrastructure and setup to him five minutes before our call with the Director where he attempted to state all the things that "we" had done.
After his spiel of detail-less crap I explained exactly what was going on, and how I had done it, and the Director seemed far more interested to speak to me.
I'm an intern and the PL has been there full-time for over a year.
I said "I think that meeting went pretty well! He seems happy" after the call and was totally ignored 😂
Intern 1 - 0 Lazy, patronising, rude full-time employee.
TL;DR: If you do fuck all, let the person speak who knows the project inside-out; don't try and get in there first or the hard worker will then go into way more detail than you under to prove their worthiness!1 -
I don’t remember exactly how old I was when my dad gave me the BASIC manual that came with his IBM XT. What I do remember is that he took it away shortly after I figured out how to put the beep command inside a for loop.
-
My group set up a Linux Dev server. We got hacked by Chinese hackers. We set it up again but even more secure with only people inside the uni can access it. We got hacked again.Turns out one of the modules in a container was using an outdated CentOS version. P.S The malicious file on the server was called kk.love.1
-
Definitely landing the first real gig.
I've been writing software since I was 12 (full disclosure: early code consisted of C=64 BASIC). I learned C in high school. Contributed to a MUD in my 20's. But I never got a CS degree and didn't really understand how hiring works, so I limped along doing technical support for years. Years turned into decades.
About 2 years ago, I became an embedded support person inside a development team. I got to show off my skills, and the year effectively became a live interview. Last October I finally got the title.
On the positive side, by taking the long way around I missed out on some of the insanity of the software world in the 90s/00s.2 -
This mother fucking laptop is turning on by itself when put inside the bag, I was feeling the heat from the bag, I get it out and wow this mother fucker is really on fire 🔥, when I opened it I saw windows trying to repair, you windows mother fucker why are you up asshole, I put water cloth on it and throw it straight to the fridge.7
-
How do you type with pairs of characters like () [] <> "" etc.?
Do you type them both, then move the cursor back and type the stuff inside or do you type the first of the pair, then type the stuff inside and then close it with the second of the pair?
I just realized I do both techniques, apparently randomly, which weirds me out.
Also my IDE often places the second character of the pair automatically.10 -
Too many people seem to think that "goto" in C is the worst thing you could do. It's an abomination, never use it! (Not something I've seen here per se, just generally around)
Challenge:
Break out of a loop inside a loop without using goto, and make it look pretty. Seriously, I don't think it can be done, and goto just makes it so clean!7 -
It got so hot in the house today my grandmother's ceiling fan melted inside. It gets up to 350°F when it's spinning now and fucking SCREAMS.
Here are the charred-ass screws we pulled out.7 -
Messing with three.js library. Now imagine I have a letter in 3D, from which I removed all the faces and replaced vertices with white dots (plexus effect), and all around are like thousands of dots. Now I wanted to put single sprite somewhere on that letter. So I wrote a short script doing that. Fast forward an hour. I am figuring out, why the FPS significantly dropped to like 0.5 fps or what. Checking various browsers, even downscaling image from 512x512 sprite to 64x64, checking whole stackoverflow why is just one fucking sprite causing a lot of trouble and such an fps drop. Trying everything except... I wrote that function inside loop rendering those thousands dots all around. Lol my computer almost catched in fire rendering that shit.
Must to say, in chrome it had 0.5fps, mozilla had around 15-20 fps which is A LOT better.1 -
Me walking down the corridors of my building after hours, singing full on out loud (I can actually sing)
Lyrics(by yours truly homage to Mika)
I wanna talk to you!
The last time we talked, Mr. Smith, you reduced me to tears
I promise you it won't happen again!
Do I attract you? Do I repulse you with my queasy smile?
Am I too dirty? Am I too flirty? Do I like what you like?
I could be wholesome, I could be loathsome, I guess I'm a little bit shy
Why don't you like me? Why don't you like me without making me try?
Some voice at the other side of the building: "who is there singing???!"
Me:
"I tried to be like Grace Kelly!!"
"but all her looks are too sad"
"so I tried a little Freddy MMMMMMMMMMMMMMMMMMM"
"I've gone identity maaaaaaaaaaaad"
then I walked inside of my office and stopped spooking the janitors. Really wish someone would join in and helped me sing the high note parts of the song really. I've got no audience here smfh -
Not a specific bug, but I always have that satisfactory feeling when I fix a bug inside a code like this:
1. Spaghetti af
2. Duplicated af
3. Heavy use of static fields instead of passing via callback when required
4. variable names like: textbox1 ..etc.
5. No comments
It is true that is a huge pain in the ass to deal with, but then I look at it as I was able to create something out of that mess, I mean all is mixed up nothing is clear, no clue where it starts and what caused it, but then I put the pieces together and end up with a solution of what I thought to be: It will never be solved when that mess is here.
Not an excuse for messed up code, I try fixing whenever possible, but hey, at least I did not run away and give up -
I think my HDD just imploded on itself....sounded like the Age of Ultron Sarcovia imploding blackhole scene was happening inside of my rig.
Half asleep on my desk and that noise scared the shit out of me. It was one of my redundant drives so everything should be okay...but still, I'll have to check in the morning and see if anything else got fucked. I'm scared to look - Tomorrow Rundle's problem.
Goodnight devRant <33 -
My wife’s computer just cannot work with Windows 11 anymore. It’s an older but still hardware rich gaming machine. I’m going back and forth between wiping the whole machine and installing Windows again to try to fix it. Or to wipe it and install a distro of Linux. I’ve been out of the inside track for Linux knowledge for 8 years. She doesn’t want to deal with anything command line all the time. And I don’t either. If I go Linux, what’s the best one that works with older machines and that’s easiest for someone nontechnical?16
-
Today I had a full-day job interview for a junior data scientist position.
First I met the team which was only like half of everyone because apparently everyone was gone on Fridays. However the few there were really nice.
First task is to do some basic data analysis stuff even though I already spent a week on the coding challenge and sent them all my code/tasks. I log into my machine and create a new virtual environment but can't for the life of me figure out how to use the command line in windows to install packages. Turns out there is some problem with their proxy and they have to log me in on that. Then I am struggling on the keyboard because it's for a language different that my mother tongue and it takes me 3x as long to so the most simple things. All my shortcuts are out the window. Haven't a hard time typing parentheses and brackets. Start freaking out and have a panic attack mid task. I'm sweating bullets. I didn't even make it to the simple visualization tasks much less the models at the end. Time gets called and we all go to lunch and I'm freaking out on the inside the entire time. Angry at myself because I know I am better and just couldn't think.
After lunch I present my code and results from a coding challenge I did weeks prior. People from other teams get invited and I end up getting grilled for 2 hours by 15 people. Questions are flying in from all sides. They ask me almost everything I know about machine learning and some more. Under stress I forgot the name of the optimizer I used and couldn't answer some easy stuff because my mind was racing.
Right now I am on the train home and my body physically hurts. I am disappointed with myself and wish I could have shown up better. Never really froze up like this before.2 -
At my school we use iPads (I don't know why) and the teachers can see what's on your screen, lock you inside an app, block apps/basically everything, lock/shut down your iPad, uninstall apps and they can even see what's your location. It sucks ass, but with my "professional" hacking skills I figured out a way to hack the system. If I use a VPN, for some reason they can't do anything to my iPad. I'm still waiting for the day my school is going to ditch iPad's an buy us laptops, but at least I can sleep good at night without having my teacher doing stuff to my iPad.
(I have a ton of other things I don't like about my school, and would love to rant about, but I don't want this rant to be 5000 pages long)5 -
Spent about 5 hours trying to figure out why php-fpm 7.2 was sending a timeout to nginx inside a CentOS 7 container. In the end I couldn't figure it out, downgraded to PHP 7.1 and then everything start working fine. I really hate using CentOS for containers since it also requires privileged mode to be able to start services. Hopefully I can move away from using CentOS for containers soon since the base image is also quite fat.
-
!rant && !IT
... why does the word "secret" means two things which are basically opposites?
one being something that is/should be kept confidential (kept inside company/organization/person)
the other one being something that is... secreted (expulsed) out of body?
isn't it weird?9 -
yes, i know this isn't omg! ubuntu
yes i know it's obviously not StOve (you guys are way too nice)
but im going to look like an idiot for asking this here. my process is a rollercoaster to read so bear with me
context:
· xubuntu 17.10
· zsh (not that it matters)
° i want to be able to use java -jar file.jar
i tried using that command
zsh: java: permission denied
then used sudo
sudo: java: command not found
i grabbed the generic x64 tar.gz and extracted to ~/.local/.app/java/
set the Java path to the openjdk folder inside, no good
i installed openjdk-8-jre
couldnt figure it out that way, so uninstalled
RE-GRABBED the x64 tarball
extracted into /usr/java
set the path to the folder containing java & javaws executables
still no luck
what is the problem here17 -
After spending almost all the day trying to find out what was wrong with my code, re-reading all my class, thinking that the universe does not make sense anymore, I find that one loop control variable that I was changing had a duplicate inside the loop. Damn you compiler, why did you not warn me?1
-
From an early age as far as I can remember I always used to break/open stuff - that my parents bought for me - such as.. small electronics or it could be even a stressball 😂 to find out what was inside or how it worked. This habit of extreme curiosity, somehow ended me up in programming.4
-
Summing up my cynicism.
I live on a big shit pile in the middle of nowhere where biggest achievement is travel around the globe. It doesn’t matter that you can do it under a day using special piece of paper that everyone is bragging about.
At the same time I am trapped inside sack of meat that is slowly putrefy and is highly vulnerable to everything on this fucking place. Sooner or later I will shit under myself again.
And I even didn’t stared cause the real problem is that I can’t get the fuck out of here and everyone try to convince me that what I do is “important” and I need to start a family and shit like that, yet everyone believes in some higher power that says you don’t need all of this shit. Like what the fuck people ?!!?!!
How the fuck did I get here ? I must have been making jokes from someone important. If it’s true I’m really really sorry and now please get me out of this nightmare. I know I did something wrong and I sincerely apologize. Are we good now ?
Fucking hell !!!3 -
The real web development is optimising the shitty front end code.
The task assigned to me is optimisation of dashboard page of website which was developed by freenlancers.(end of contract from their side)
The front end is mess. Individual js files (bootstrap, popper, jQuery, jQuery ui, loader and main) loading in production inside head tag of html file
No text compression.
Every template has random number of their own js files in any block of template. Nothing structured. There will be fantastic waste of time figuring out file dependencies.
Same with css files. Some are scss, some plain css. No compression. No proper modules.
Basically, I have to go through 25-30 html files. Then understand, which template is extending which one. Go through all js and css files in each html file and again understand dependencies between them
This is gonna be real fun.1 -
Have you all ever had an hypocondriac colleague? Like, the kind of colleague that will freak out everytime something minor isn't exactly as in his plans?
I have this colleague that DID freak out because, while making the integration of some website's footer, I set the SCSS for the social networks inside a "footer.scss" instead of "social-medias.scss". Dude even called the project manager to ask him about how he should handle that.
So, I had to go behind that colleague's chair and make him copy line by line the SCSS that was in the "wrong" file to put it in the right file. Why line by line, you may ask? Because I had to explain him why and how each of these lines were required to match what was asked in the models.
Not to mention how he freaked out because I (wrongfully, ok) used "fill" instead of "color" to change an SVG's color.
Keep it simple, stupid.7 -
Sometimes I get so much energy out of nowhere, it's like a burst of adrenaline pumping inside my body.
This makes it difficult to concentrate and think straight.
The consequence is to find ways to release energy, which means doing something that I'm not satisfied with (bad habit).
Any techniques to handle such energy?10 -
So I'm in college and I work as a web developer for a company inside of the college. I get out of my four hour class on mondays early to get a call from my PM saying that he totally spaced on the fact that we have a meeting in a half hour. Needless to say I quickly brought up what I had done, ran back to the office, and then proceeded with the client meeting when I got there.
The meeting went fine. Client was happy with the progress I had made. My IT lead however went on an hour rant with me on some of the things I said in the meeting and then berated for over an hour. (There's more context go look at a my other rants and you'll find it. )
Needless to say I was pissed. I had made the deliverable the client was pleased and I showed up to an unscheduled meeting. I was this close to decking my IT lead he made me so mad. -
A file that I had copied from the company network drive into my own. VS Code to edit the content according to a tutorial provided. IDE doesn't work with the given file, dependencies not resolvable, so let's troubleshoot. Open the file in question inside the IDE, the file contents are those from the tutorial?? Turns out I didn't edit the file on my own system but on the network drive. At least it wasn't a critical file. 🤦
-
To all the people who use laptops for coding, what are the most important things to look out for when getting one. As a desktop user, all of these machines seem underpowered and overpriced.
Im mostly aware what I need to get regarding hardware inside, but when it comes to displays/keyboards/mousepads(does anyone even use that?)/size/io, I am preety clueless.11 -
This internal api is killing me. Why the fuck do people return an array of numbers inside a field that has a generic name such as `icons` to convey information such as "hasOptionFooIncluded". Because of course then icons contains '6'. Yet if both 6 and 4 are in there, it means something else. Needless to say there is no documentation whatsoever what each number or group of numbers actually means so I have to ask around to find out what numbers means what in order to wrap that call away into something maintainable. Because the API is deprecated and we don't want to fix shit in there. We just create other shit depending on this crappile. :/
Stop using magic numbers. Just stawp it! -
Woke up and got a fking fever out of nowhere. My vision delays when i turn my head while walking, feeling unstable physically, brain feels like its melting, headache, im hot and have high temperature, burning from inside and at one point i started hallucinating the more movement i made, literally saw someone walking in front of my bedroom while no one was there. And then started seeing circles triangles and square shapes in my vision but for a short period of time. I live with my parents
Wtf is this???? Did i experience mental burnout from excess stress and studying???7 -
So time for some stories!
DevRant Masters, what did you find the most Challenging when starting out as a dev?
For me it wasnt actually writing good code, it was more about finding out WHERE to write it, in this clusterfuck of shared projects inside projects.1 -
Am I the only one to hate Google drive window's client? It Is far slower than OneDrive/Dropbox. If you work inside the drive you could lose shit, If you remove a file window says it can't be removed but after the error message he does it and If you log out the client..It removes the virtual drive with your files on😑😑 what the fuck Google, what the fuck7
-
Checking out Meteor JS in 2020 after a loooong time in which I ignored it. I participated in the community when it barely startted, liked a couple of things, was effy about some others.
Built a semi large app (custom user auth through ldap, multiple forms and data fetches on different components inside of each page, reporting bla bla bla.
Did it first in just Meteor and Blaze (pretty easy to digest) and then with Meteor and Svelte (still easy to digest, but Blaze was simpler imho) and both packages totalled less than 100mb which is somewhat amazing considering how node is with packages.It might be a good time to psy attention once more to meteor.
I based much of my shit in the now free Discover Meteor book, there aren't that many breaking changes, which makes it surprisingly stable as an application for development.
I don't know if i would use it for s large scale app, but thus far it seems fairly promising as compared to how it was years ago.
Definitely something to keep in mind for 2020-21 development5 -
Hi everyone. I'm sorry to take up some of your time. I've recently moved out and am now living alone (broke up with my gf of 3 years). After all the work that I put into moving out, I'm out of energy and I can't find it in myself to do what I want to do. I feel a bit trapped and need some help. If anyone knows a way out of this shithole I put myself into, I'd greatly appreciate it.
I'm also having network issues and, on top of that, I can't install CentOS 7 on a smart array... Not so smart after all, apparently.
I'm generally feeling like I've made a bad choice, but, deep inside, I know I want to focus on work and learning.
Any tips appreciated. Thanks!9 -
Hell of a Docker
One application in c++. 4 in c# targeting Linux. Several logging places, Several configuration files , dozens of different folders to access (read/write). Many applications being called from just one that orchestrates everything.
OS is Linux. Installation is to be made inside a docker image and later placed in a container by means of several bash files and python scripts. All these are part of a legacy set of applications.
They’ve asked me to just comment out one line which took 3 days to find out because they didn’t remember where it was and in which application it was and what was in that line.
After changing it, I was asked to create a test environment which must have resemblance to the current server in production. 12 days later And many errors, headaches, problems with docker, I got it done.
Test starts and then, problems with docker volumes, network, images, docker-composer, config files and applications, started to appear.
1 month later, I still have problems and can’t run all applications at least once completely using the whole set.
Just one simple task of deploying locally some applications, which would take one or two days, is becoming a nightmare.
Conclusion: While still trying to figure out why an infinite loop was caused by some DB connection attempt in an application, I am collecting a great amount of hate for docker. It might be good for something, that’s for sure, but in my experience so far, it is far worse than any expectations I had before using it.
Lesson learned: Must run away from tasks involving that shit!5 -
Have you ever gone through your code line by line and still can't figure out what the bug is...
That's when you know you have ghosts inside your computer4 -
A very tiny ant got inside one of my external monitor screen. How do I get it out? Also any suggestion to keep ants away from electronic stuff?19
-
Learned git, decided, imma use this while I make a little game in Java, couple days later, I find out that net beans has git INSIDE of it... :/ ....3
-
CSS (and all of frontend) is hard. The last few braincells left in me are slowly dying.
I just wanted a progress bar. HTML 5 supports <progress> out of the box. But all browsers want to act differently. Add more boilerplate for each browser type. Somehow got a transparent background on progress bar but it still won't let me change progress color.(Surprisingly, only IE let me change the color) At last, settled with a transparent div with a colored span inside, + js to handle value. Was this really the best way? Nope. But this was the only thing that worked,(other than importing a JS library, which would render a SVG to replicate a progressbar)
Why is front end so convoluted? Half of the things do not even make sense to me. Is this really the direction we want to go in the future?9 -
I've been using go for two days and I'm already pissed at it. Don't get me wrong, I like the language itself, I love the simplicity, the tooling and frameworks are the problem. Like, why does everything have to be so hard?
Why do I have to spend around 4 hours in total just to configure a fucking linter?
Why does everything have to live inside the fucking GOPATH?
Why the fuck can't I put a src/ folder in my project so I don't mix code with config files, docker files, etc?
Why the hell does documentation for frameworks/libraries/tools suck so much? Looking at you Gin and Gorm.
Why can't gin-swagger just find out what routes I have?
I must be either dumb or chosen the wrong frameworks and libraries, but the "development experience" I'm having sucks. Nothing works first try and documentation is shit and vague.
I want to like the language, but I can't, at least not if it's always going to be shit like this. Does it get better? Am I just a noob? Or should I just jump ship and look for something else?4 -
I really hate working with learning management systems (LMS).
I make training simulations for retail companies and some of these have the worst, backwards LMS's out there.
The providers who install and manage these LMSs for the companies always insist we make our training run inside their own environment, but we can't since it's a 3D training made in Unity that doesn't run well in a browser.
Luckily some of these are fine to figure out. Just a few API calls here and there for authorization and reporting progress, but some are an absolute nightmare.
Just now one of the providers provided me with a 2000 page documentation of all the functions of the LMS's API that our customer is using. All I need are like 5 pages that explain what URL to call with what data and the responses, but now I'm stuck spending days trying to find the 0.5% of this documentation that I need to communicate with their API.
And of course, the documentation is vague as all hell. minimal descriptions of what each endpoint does. Subjects names are super vague, as in do I look for course progress or lesson completion state. What the heck is a Learning Event, is it relevant to me?
And the errors in this document, too.
Bullet-point lists with duplicate items.
language errors everywhere.
Property lists where they copy-pasted the description of properties.
An entire EMPTY chapter, literally a page with only the chapter's title.
I just can't stand how these providers barely seem to know anything about the API of the LMS's they provide to customers.
(for clarity, the LMS is produced by some big tech company, it's installed and maintained by some 3rd party which is our main line of communication when rolling out trainings to these).
It always goes like: "Hey, we want to use your training." "Oh, that's great, we have our own, simple LMS where you can view your employee's progress." "Nah, we want to use our backwards LMS. Here's a giant manual about it's API, go figure it out!"
And then I'm left here tearing my hair out trying to figure out which 3 calls I need to send their API from the tons of extra stuff it can do which is completely unnecessary and being unable to rely on the provider because they lack the knowledge and have such thick skulls about the implementation of the LMS itself that they also seems completely unwilling to help to begin with!
Just another day at the office. -
Just ripped the inside seam of one side of my trousers from knee to crotch.
Damn me and my muscular thighs, some one is going to have to go out and buy me some trousers at lunch time.3 -
This heat brings out the worst in me.
I seriously considered turning all my tech off, including my raspberry pi running pi hole.
Luckily I came back to my senses...
So I attached a little weather board to the raspberry pi to find out what temperatures I have inside.
27 C° in here ain´t that bad in comparison to outside... -
How do you go forward with a project you're stuck on and you can't find the motivation to keep going?
I'm working on a relatively small and simple project for a friend. It's not that complicated overall, I've completed most of it already, and there are no stringent deadlines, so I can take my time.
But the last part has turned out to be a bit more complex to implement properly than I expected, and due to the fact that I can't seem to find a solution that satisfies me I'm completely put off from continuing.
Which is completely stupid of course, I want to finish this (and get paid), but my motivation to even open the project files is nowhere to be found.
The whole coronavirus lockdown situation isn't helping either for that matter, I feel like I'm going crazy stayin locked inside these four walls all day every day.
Sigh6 -
IE11 weird behaviour!!
So I'm building a website for management purpose. I'm asked to implement confirm pop up box.
This pop up box uses one div with dynamic content which is created using javascript and not hardcoded in html file.
Here comes the twist. I used append() function to append child elements inside that div. Everything works fine in chrome and Firefox. Pop up shows upon clicking button. But in case of IE 11, on clicking button, It asks user to download fucking json file, instead of showing pop up !!
I'm like WTF is going on??? How the fuck this json file is generated by my code??
Turned out, this happened because of append() function. That doesn't support in IE11. Fixed it, by using appendChild() method.
Don't ask me what kind of data was in that json file. I was too scared to open it!!
Things like this are scary and weird for a fresher like me. :(4 -
Harari said of the idea of Data-ism:
---
In its extreme form, proponents of the Dataist worldview perceive the entire universe as a flow of data, see organisms as little more than biochemical algorithms and believe that humanity’s cosmic vocation is to create an all-encompassing data-processing system — and then merge into it.
We are already becoming tiny chips inside a giant system that nobody really understands. Every day I absorb countless data bits through emails, phone calls and articles; process the data; and transmit back new bits through more emails, phone calls and articles. I don’t really know where I fit into the great scheme of things, and how my bits of data connect with the bits produced by billions of other humans and computers. I don’t have time to find out, because I am too busy answering emails.
---
I was initially entertained by the punchline, but that was soon followed by the rather depressing realisation that my only value to greater society is essentially as a data processing unit7 -
So I'm in college and I work as a web developer for a company inside of the college. I get out of my four hour class on mondays early to get a call from my PM saying that he totally spaced on the fact that we have a meeting in a half hour. Needless to say I quickly brought up what I had done, ran back to the office, and then proceeded with the client meeting when I got there.
The meeting went fine. Client was happy with the progress I had made. My IT lead however went on an hour rant with me on some of the things I said in the meeting and then berated for over an hour. (There's more context go look at a my other rants and you'll find it. )
Needless to say I was pissed. I had made the deliverable the client was pleased and I showed up to an unscheduled meeting. I was this close to decking my IT lead he made me so mad. -
Fiance left the mobile charger plugged inside the car, battery discharged, it's pouring out, the water is up to the rims... my shoes are drenched and i'm late for work2
-
Sometimes I think I am a weird nerd, one day I was writing something inside Ubuntu VM for practicing some DSP tech with Python environment on my office computer, someone DM me asking for tech support so I have to pause and go to figure it out. I wanna make some version control or backup stuffs to my little tiny cute .py files, so that I can pick it up when I was at home. And I just plugged my udisk in Ubuntu, copied those files to it, and switched USB port control permission to Windows, and finally git to commit. Actually the next time when I continued to write it at home, I hesitated for a while, should I pull it from git or just take out that udisk from my backpack? #IThinkShareFoldersAreUglyAndDirty
#ButWhyDidICommitUnderWindows? -
Sonuva bitch thought he's so smart. He made a mod of a game, and a launcher for it, APK while bullshitting that "Games shouldn't have IAPs because it's just a game". I got ticked off, I called him out for bullshitting, he got ticked off, I asked for proof of the mods, this is what he gave me. It's on an iPhone mind you, and he said he made an APK. My fucking god. I sworn at him with another programmer friend for a solid 10 minutes, breaking the community's rules 20 times over non-stop (I'm Moderator so.... (not Reddit, Discord (Yes mom I use Discord (Yes I moderator)))). My fucking god. AT LEAST MAKE SOME FILES INSIDE WHILE YOU'RE BULLSHITTING US! OH WAIT! YOU CAN'T! YOU'RE NOT JAILBROKEN YOU PIECE OF SHIT! (more in the comment)6
-
BLOODY FIREFOX DEVELOPER TOOLS
I was troubleshooting an app (inside container) hitting an endpoint. For debugging purposes I tried hitting the endpoint from my machine, but always got a 404.
So in the firefox developer tools under the network section you see all of the requests happening. Every request, application/json or url-encoded, lists its parameters inside the tab 'parameters' tab. I thought that means those parameters were i side the request body.
Turns out I should have sent the parameters as url encoded instead of POSTing JSON as the request body. This took me way too long.
Why not display the request url like http://url?key=value ... Firefox? Eh?7 -
!rant
Learning iOS/Swift Programmer here.
I feel like Apple’s Developer Documentation is extremely hard to parse.
For one problem, it feels like there are 50 similar ways to deal with it; but only one way will actually work.
There also aren’t enough examples in the docs for me either, they just seem to go: “Here’s some code, figure out what it’s purpose is.” for most things.
I also feel stupid, because I’m using the Hacking with Swift tutorials to learn iOS Development(Great Tutorials Though); and I don’t know how to just build an app from scratch. (i.e. creating swift files and assets and compiling from the terminal.)
And using StackOverflow feels like cheating.
Lastly, I feel awful inside when other people see my work and think I’m a genius, when really, I feel like I barely know anything at all.
I’m I alone in this observation?
Or just dumb?6 -
I hate when programmers never want to go out their comfort zone. They should be relegated into a hell spinned inside a Virtualbox instance.
I have this *** angular setup. We want to try to keep the dev environment congruent between all the colleagues.
The decent programmer would use a node version manager, or try to keep up with everything. LOLNOPE THEY FUCKIN' SPUN A FRIGGIN' VAGRANT VIRTUAL MACHINE RUNNED WITH ADMIN PERMISSIONS which is slowing everyone down. A single "npm i" now requires half an hour.
I tried to use YARN that is faster and makes a mergeable lock, NOPE WE SHOULD KEEP USING THAT STUPID NPM INSTALL that is slow AF and sometimes messes up the versions.
I tried to make 'em use the peerDependencies correctly but LOLNOPE WE SHOULD RELY ONTO THE AUTOMATIC PEERDEP RESOLVER INSIDE NPM7, SO YOU DON'T KNOW IF YOUR VERY SAME LIBRARY IS INCLUDED OR NOT.
Thank god i'm changing job. -
It's an oldie, but 1 of my favs :
QA expert decides to go out and have some fun. He walk for a whle spots a random bar and gets inside. After a solid 10+ minutes just looking critically arrond he dicides to stay. Goes to the barplot and orders :
- One beer por favor!
- Here you go - says the barman and continues his job. The man drinks it up quickly and orders again :
- 3 more beers ahora mismo!
- Enjoy - says the barman while serving them.
a few moments later...
- Hey barman, last order and we can round the night up, what ya say?
- ok - simply replies the barman.
- -5 beers! -
Sad story , i guess im not the only one.
I have literally no friends who like to code or who seem to like but are lazy. Nothing
Is boring to work on personal projects or school projects like this :/
But today found out that theres only one in my school who does this, he is not that much into it but when he asked me what languages i use, also if i use php ...
I was happy inside to know that im not the only one in my school :D
That's all! Is here anyone or was in this situation , having no friends who like to code 🤔1 -
It is surprisingly difficult to make two things equally high in css (without putting height in pixels). Like two columns of a parent div. You can't use "height: 100%;" out of the box like you can with width.
Why though? I understand that height is more difficult that width. But the parent element has a height. Not by me, but the browser figures it out. So why can't something inside it be 100 % of it. Beats me.
Well at least it works now. -
I started catching feelings for my toilet. It's always been there for me to help me take all the bullshit out of me. Now i feel bad for shitting at it so much. In fact after unclogging the toilet it now hasnt got enough water inside so now the shit smells more. Gotta find a way to fix this toilet just how it found a way to fix me5
-
About 20 hours. We had a major campaign for a product launch back in the days when MSN Messenger was awesome. Hitting F5 in MS sql query analyzer to execute query again would show like 20K+ downloads each time, shit was crazy. Then we discovered a major fuck up. Turned out that someone made a mistake by making a guid static. In a personalized content generator. So, most users ended up with someone else's face inside their personalized MSN Messenger wink. Oops... and no, we didn't do code reviews nor TDD back then so we didn't discover it sooner. It was really awesome to see how much traffic MS could generate by just showing a banner in hotmail. Real crazy. Anyway, we fixed it, discovery of the actual problem did take some time though.
-
!rant
I just found out that if you have a list of lists in C#, you can use a LINQ statement and specify indices inside the lambda instead of nested ForEaches.
This code is giving me the vapors7 -
What the hell is the point of this small projects team spending 2-3 months on developing extensive logging system for an internal application for inside and outside customers to use if your application isn’t going to log any of the fucking errors. Sure you write the failure status to the database, but it just says failure with an even more vague explanation than microsoft’s errors. “An error occurred”. No shit, that’s why I’m looking in the logs and database to debug the application to get these files on their merry way so our company can stay in compliance with the state, feds, and not pay out the wazzoo in fines. All our other applications state where the error occured such as “failed to connect to the email server”, why can’t this one.
-
Yesterday, I saw Someone posted about having wisdom tooth removed .....
Today I suddenly remembered, that I have 2 of mine lodged inside with no space to come out. They’re dormant....some day they gonna suddenly wake up and decide they wanna erupt......then I’m gonna be in pain and gonna have to have em removed.... :(2 -
Resource not found exception occurred when i tried to set an integer text inside a TextView in android.
Spent an hour trying to comb through my entire android app's layout resources looking at all the declared ids and cross checking then.
Didn't work. Tried googling and stumbled upon a stray human who had encountered a similar issue.
Turns out if you print an integer inside the setText, it will not consider it a normal printable value, it will think that's it's a resource id and try to use it.
Fucking misleading exception. FML ANDROID5 -
Am I the only one who always think in the "top-down" way to solve problems or anything since I've learned how to develop?1
-
Im trying my BEST to not be judgemental about my boss but damn the code's shit
It's written how a 1st year UGrad would, trying to add as many complicated shits to it as they can to show "see? I know this obscure way of writing code, cool eh"
Like they're ticking off a rubrics
There is no design language, barely any structure. MVC's Controllers go beyond 2.5k lines.
Everything is an Interface but with such horribly designed code, they just add on to the clutter
Oh and it somehow also uses ReactJS inside .cshtml, which was already out of fashion A DECADE AGO. -
[Question]
What type of amplifier circuit would I need to power a 60w 8ohm speaker or can you recommend any prebuilt amplifier boards ?
[TLDR;]
I spotted the below stuff while cleaning out my junk cupboard and thought it might be a fun side project to convert them into a portable bluetooth speaker since the earphones are shit anyway and I've always wanted to learn more about amplifiers.
The only question remaining is how to amplify the headphone output signal enough to power the speaker. I plan on either using cells from old laptop batteries or a motorbike battery as a power supply so input voltage would be roughly 10-12v.
The speaker is from a set I salvaged from an old 80's hifi and has excellent sound quality, would mounting the components inside it have a large negative effect on it's sound?
Also although I would prefer to make my own amplifier board as a learning experience the goal is to have a portable speaker with good sound quality... is this something I'm likely to get from my first attempt at an amplifier or should I rather get a ready made board?9 -
I’m fucked off tonight.
I’m having to pull a very complex data set out of dB and loop through results in a table.
Easy, done, but one of the Columns I’m pulling out needs further broken down. It’s a comma delimited string.
I can’t get the data, and inside the same loop explode that string so that the contents can be handled independently.
Raging! I have foreach loops inside foreach loops and arrays inside objects that are inside arrays.
I’m going to bed furious.2 -
(Question/0.5Rant)
So I am working on a mixed API (aka reachable from anywhere, but also only accessible by specific allowed devices) and I am struggling with the security of it, its not managing anything hardcore (this API is "is the coffe ready?" kind of level) or I would have just enforced per device registration for example already, but the app that goes with that API is deployed remotely and has to be "ready to go!!!" out of the box, so I can't add any registration, verifications of devices etc.
The main thing I am afraid of is, that one of those agent retards will get his spaghetti phone blasted from the inside, so all the https calls will be read out by some random attacker, which then will be able to "abuse" the API via read out api-key, is there any way for me to have a rescue plan if one of those retards does get hacked and the system then get spammed or something, like if I log all devices that use the API I could just deny access from that device (until resolved) and issue a new app update via new api key.
What's the best way of handling this and is my idea really the only way to handle this? this shitfest is really causing shit ton of ideas in my head, which then I deny literally 20 seconds later, because there's a way to bypass it or once you have the old api key to get a new one by just monitoring it etc.5 -
I think I found out why Cengage hasn't gotten back to me on their root-server issue: They're leased by next.tech (that's their name and URL) and it's literally an iframe from them inside like 7 Cengage iframe wrappers (which is also why it runs like ass apparently!)
next.tech supplies cengage with the actual heavy lifting, and cengage is literally a shitty wrapper for it.
"Our SmartScaled infrastructure ensures your users have a secure computing environment available in seconds." fucking bullshit i'm already root in my own personal server you've handed to me -
Level of fuckity fuck mood.
After changing dozens of build plans in Bamboo, the build system of poo...
How to verify that nothing has gone wrong?
Poking the database, you'll be surprised that Bamboo stores the buildplan definition as XML.
Another surprise: Some of the keys / values have typos.
Yeah. You read that right. There are typos inside the XML...
Now together with Postgres, we can use XPATH and have some fun.
UNNEST(COALESCE(XPATH('/configuration/buildTasks/taskDefinition[userDescription[contains(text(),"Bleep")]]', build_definition.xml_definition_data::xml)::varchar[], ARRAY['']))
Lovely wrapping via coalesce for some null safety.
Now we get da task definitions for fields having user description text containing bleep.
Wrapping it in two REGEXP_REPLACE to strip out stupid identifiers....
REGEXP_REPLACE(REGEXP_REPLACE(...., '<id>\d+</id>', ''), '<oid>\d+</oid>', ''))
Then wrap that in MD5.
Boom. Lots of MD5 sums to help you identify if the configs are identical for a task or not.
Now wrapping that in another select to group by the MD5 and filter out the non identical ones.
I hate it how sometimes one has to seemingly do a full 2 hour dance for something as stupid as validation.
I'm pretty glad though for XML and XPATH.
Cause otherwise that would have been a whole can of worms I don't wanna think about....2 -
Writing jest test cases for a MongoDB server app.
I noticed, inside the testEnvironment file, it uses ‘require’ instead of ‘import’.
I changed it to ‘import’...🤔
Somehow it pops out syntaxErrors.🤦♂️
In my actual .test.js file, I use import all the time, never had any issue.
The Babel transform and babel-jest are also in the right place.
Anyone know why?4 -
Today, I travelled as usual, 1.5 hours to the office using different types of public transport, greeted my colleagues and settled down in my cabin to begin working when I realised that I was wearing my t-shirt inside out.
-
So today I needed produce some files with an unknown file name, not specified by business. I said in the standup that I still don't know what it is supposed to be. BA says they will find out. Speak to them all day discussing it. The architect says its in the documentation. BA and I don't find it. Turns out it isn't. I ask a sister team what they did in a similar situation, they said they named it something arbitrary and moved on. I was like sweet, GG story. Later I'm discussing work with my tech lead. Email pops up look at that and read. Look back at tech leads screen. What do I see, file names. At this point I'm frustrated because all I see is file names that look similar. My senior then speaks and says 'Yeah we've seen them for X days now' I'm like really? He says yeah and I hope we don't get anymore people like you. At this point my colleague dev bursts out laughing and I feel humiliated. Only to realise they are the names of other files. Try to explain myself but my senior is already looking at his PC doing sweet fa.
I'm now raging a bit inside and want to leave but can't because I'm tied into a horrible contract.
So Today I realised I'm might be being bullied by my senior dev.1 -
I am either so fed up with work or I am sleep deprived that I actually went to work with my t-shirt inside out, and only noticed it when I looked at myself in the mirror.
Pretty sure I'm fed up with work.1 -
ive been coding all day for days and as i was sitting trying to code more features something mentally hit me like, invisible falcon punched me, like something snapped inside my mind and i literally lost balance in my brain and could not control my balance, if i stood up i would instantly fall down, picture it as trying to walk without bones in your body, fortunately i was sitting down on the chair so i didnt collapse on the floor, it felt like there was no gravity and i was just floating, but my head started falling down on the table as i was sitting, it was outside of my control, and then everything started fading to black, my brain could not even think anything at this moment, i wanted to speak but i forgot how to speak words, not even joking, turned out i slipped into unconsciousness for a few moments and got back up, slowly regaining my balance and speech/consciousness control.
what the fuck just happened
i am surprised i could remember everything what happened until i blacked out
why didnt anyone warn me these are the consequences of working extraordinarily harder?6 -
The most stressful day of month.
I need to put hours into hour counting programs so computer can analyze those hours using deep learning algorithms and pay me a wage I don't deserve.
Each program work differently.
One of it works inside the local company network.
Other one I need to connect outside from company network.
In all of them I can't make mistake or I need to write to someone to fix my mistakes.
One of this programs use java applet, other is simple php website.
One of them blocks row in calendar when I click so when I login again and click I can't edit this row because it's locked by me who is editing this row.
One of them is requesting me to provide my work in minutes.
I need to follow strict procedures to report any holidays or national holidays that I need first figure out when they happen.
Wish me luck.1 -
MOBBING DICTIONARY - 4 -
Sentence (in private, outside the scope of CEO or such)
- sort it out yourself! fuck you, worm! I'll get you fired! I'll crush you with an hammer
(something very insulting, screaming)
Purpose
- to exasperate the target. So he/she will fight back, maybe at the wrong time. Or he/she will try to stay quiet, but he/she will explode inside.
- make clear to everybody that the mobber is the danger
Result
- The mobber will deny he/she ever said that. The target cannot prove it. Nobody will support the target, not even the witnesses, as they are scared. The CxO will not believe he/she could have said that, because he/she is apparently mild mannered and respectful with all directive positions.
- The target has a dilemma: or he/she denounces the words to the managers, but he/she will be considered a defamer, or worst.
Or he/she takes it in, and in such case, he/she will be slowly destroyed psychologically.3 -
Trying to read the description/usage for WP functions to figure out what's going on is like getting lost inside a maze...inside a maze.
I swear people write these descriptions for people who already know what the functions are and what they do. #UselessToMe -
everything is fine when you didn't forget to put container class inside div. otherwise you need to find out why everything messed up for few hours.
-
Some days: I have a completely perfect focus on my BAU tasks!
Other days: It's difficult to focus on my BAU tasks. Maybe I'll slack off in dR for some time.
Recent days: Impossible to focus on BAU tasks. Impossible to focus even to complete reading a single rant in dR.
I am an apolitical person, politics don't bother me. The pacifist inside me is yelling "STOP THIS MADNESS!!!". This yelling is why I can't concentrate. It's not like ANC Headset can block out this scream....3 -
Was tasked with going over an app that my company owns to see what aspects of it we can use for our next project. So, I checkout the codebase in Android Studio, and to my surprise after going through tons of confusing classes I don't find a single comment! How am I supposed to to figure out how anything works if the previous developers didn't comment ANYTHING!
Now, I'm still fairly new to programming professionally (about 2yrs) but I've learned how beneficial comments can be.
Ugh, now I have to spend the rest of this week deciphering this code like an archaeologist inside an Egyptian pyramid. -
Shitting is getting out hand for me. Last night when i laid in bed to sleep i woke up at 2am because of the urge to take a big shit. Incredible. And so i did. Now today almost 12 hours later i was having lunch and in the middle of eating i had an urge to take another big shit. And so i had to pause the lunchbreak just to take a fat shit. Its getting quite annoying. Why cant i do something or be somewhere without having the urge to shit. Why am i so full of shit. Probably got all this bullshit inside me because of recruiters5
-
Ah, the Sunday start. It’s like being in a parallel universe where the week starts a day early. You walk into the office on a Sunday morning, while the rest of the world is still in weekend mode. The streets are quiet, and there’s a peacefulness in the air that’s in stark contrast to the hustle and bustle inside your office.
Your inbox is already filling up, and it feels like Monday came early. The code you left on Thursday, which was working perfectly, now seems to have developed a mind of its own.
And then there are the meetings. It seems like everyone saved their most pressing issues for Sunday, and your calendar is filled with back-to-back appointments.
But despite the challenges, there’s something uniquely satisfying about being ahead of the curve. While everyone else is still enjoying their weekend, you’re already gearing up for the week ahead. It’s not always easy, but it’s definitely an adventure.
So here’s to all the Sunday warriors out there. May your code always compile, your inbox be manageable, and your coffee be strong.2 -
This is my iphone charger. I have to charge my phone 32 hours per day because the battery is dogshit.
U can see how fucked it is from charging so much. The cable itself ripped apart and u can see the wires inside but no wires are sticking out.
I get ZAPPED when i touch anything in my environment. Anything i touch electrocutes me. Like im the fucking Zeus.
Could this cable be the reason?21 -
Rant 1
---
Seriously what is the fucking difference between github gitlab bitbucket? Is it like the whatsapp/viber/signal shit?
Whatsapp was the first to create a system for free chatting? Then viber came along and copied the exact same fucking bullshit like whatsapp? Then signal came along and copied the same bullshit? And all other apps too?
Github was the first to create a system of GIT? And then gitlab came along and copied the exact same bullshit? Then bitbucket copied the same horseshit too?
Rant 2
---
1) echo "shit" > recruiter.txt
2) echo "shit" >> recruiter.txt
> Will create the file if not exists and OVERWRITE the text inside it
>> Will create the file if not exists and APPEND the text inside it
This is the only difference
Correct?
Rant 3
---
Fuck this devrant ass shit for making me wait 2h to post a new rant. What are we in 1995? Not even facebook has this stupid restriction. Not any social media app EVER in existence. This shit is whack. U fear someone spamming the shit out of the app. But thats GOOD FOR U because you then have active people creating content on ur platform. Put this restriction away before i slap my dick on ur face!12 -
You know there's something seriously wrong with a "framework" when it takes 20 minutes to figure out how to SHIFT A BUTTON INSIDE A HEADER.
Fuck you jQuery Mobile. I wish you had never been born.
:|3 -
Question for all you Java devs out there (and a story). We have a customer that we interfacing with their machine. They sent us a simulator that runs in Windows written in Java. I did try running it in Linux, but the JVMs I have installed did not like it at all. Complained about missing deprecated stuff. I start up their sim in Windows and find it is opening between 50 and 100 network ports. Then I tell the simulator to run inside the gui for their program. It pegs all of my processor cores at 100%. I have pegged cores in software before, then corrected my errors in my code. However, I have never pegged all the cores at once. I am kind of in shock.
So, how hard is it to peg all the cores in a Java program? I assume they have a thread on every port or some nonsense?6 -
I made this: https://gitlab.com/snippets/1992288
Spare me if the title makes no sense grammatically, not a native speaker.
I'm building a microservice that keeps a check of the subscribers on my product, I wanted to keep an eye of those subscribers that may be missing the latest payment.
One way to do that is to make it work with my code and some ORM magic, but that may become unsustainable as the customer base grows, another idea that occurred to me was doing it fully inside (?) the database. The solution is to compare how many days have passed since the last payment and right now, if 'right now' is larger than 'last payment' then the subscriber is late with their next payment.
I did this as a PL/pgSQL function with an example usage accompanying that code.
Now, I just need to figure out how to use the result of those calculations in a WHERE statement...2 -
Way too long story short: Needed to figure out how to use jQuery to update a table that had no classes or IDs to help you tell what's inside it. Worked out a looping structure to read the contents of the cell with the dependent data in each row, and then update the cell that needed changing depending on the value of the first cell.
Minified the solution and dropped it into the console. Worked exactly right on the first try. -
Hey DevRant Fam!, hope everyone is very well,I just started using exercism with python inside my chosen editor Emacs, and well... the first problem i'm doing is the Hello World problem...
So the code i have is here:
def hello(name='world!'):
return "Hello, {0}".format(name)
hello()
and it prints out the output "Hello,World!"
but i'm getting a strange error in my command prompt saying something like this '1 Failed Assertion error None != 'Hello, World!'
anyone have some advice its my first time working with Exercism :-) cheers!
Thank you :-)13 -
Let the dogs out, smoke a clove, watch some metal videos, have a eureka moment, go back inside and code.
-
My shitting streak has begun again. Fuck. Its cold where i live and in my house. Shitting liquid shit doesnt help because my asshole burns. Its not fun and not enjoyable. Im trying to hold shit inside me but it forces me to shit. And if i shit it burns. Imagine being in a cold -75° weather while your asshole is burning heat at +45°. Why is life such a constant stream of pain and suffering. I write this as i sit on the toilet and fight demons not to shit more in order to prevent pain
Why did our designer invent shitting and thought it was a good idea?
I can think of a better idea: whatever i eat gets dissolved into particles by acid that my body produces like an implosion inside a submarine and transforms into pure energy that my body absorbs and thus makes the body more powerful -- no need to shit it out because its now a bunch of fucking particles!
WHY wouldnt that be a better solution. Shitting is disgusting and makes no sense if this solution is also possible. And for an omniscient all-powerful all-knowing celestial being -- NOTHING is impossible to do.
what we perceive as "magic" is normal to an all-powerful celestial entity. Therefore any thought you can imagine, should be possible to do. Even the idea i just proposed because i proved i could imagine it so it must be possible to create such existence
And as i finish writing off this rant, my asshole burns less and everything is coming back to normal Thank God. The pain was bearly bareable. As a finishing touch of this rant imma go wipe my ass for 100th time today and continue working with nextjs on my project3 -
Is ColdFusion still a thing? I just got a contracting job at this startup. I know nothing about ColdFusion. Spent yesterday and today just figuring how to dynamically create a folder inside this <cfscript></cfscript> tag. I am yet to figure it out. -_-
-
TFW your laptop battery dies twice as fast as yesterday because you're compiling all the things ... but you don't want to go back inside yet.
I'll stay out here just 2 more percent, then I'll grab the charger. -
Just turned myself inside out why parsing data from serial didn't work. A full day, and 20 minutes before going home I realize the uart interrupt function was too slow. I just didn't get all chars...
-
Asp.Net MVC core
Me: this is really cool scaffolding out models.
1hr later: This really sucks have to bind models
1hr later. This is awesome only one nav bar to worry about.
1hr later this is total shit controller inside controller.
1 hr later wow I love MVC
Anybody can relate++
Feel like I'm loosing my mind. -
What's the worst part about testing React components? Using the equivalent of fucking stone tools to do your component integration tests! We got errors with no context and errors with no stack trace, just spewing out bullshit! A sample:
The classic "Can't access .root on unmounted test renderer"
The unforgettable and ALWAYS visible "Warning: An update to YourShittyComponent inside a test was not wrapped in act(...)."
We do love it! -
as i was wiping my ass after shitting right now i literally grabbed shit inside the toilet paper that was somehow stuck to my asshole. it didnt fall down in toilet. literal shit was stuck to my asshole skin like a glue. so i was holding basically my shit with my hand. it was a tiny ball of shit tho so nun too scary. most of the big shit has fallen out4
-
I was hired about 6 weeks ago to help the company take ownership of a piece of software written by an external team. The whole thing was MEAN stack. I had never done anything extensive in nodeJS, but I am quite comfortable in JavaScript and so there weren't any problems. I even ordered myself a JS DevDuck for my new desk.
Just about 2 weeks after my new DevDuck came in, my boss told me that everything the external team wrote is shit and is going to be thrown out. Instead, we're going to rewrite the whole thing inside the existing middleware in Java. Luckily for me, I am also pretty comfortable with Java, though it has been about 5 years, and I know a bunch has changed. But I'm confident I can do the work.
I guess I need a new cape for my duck. Or maybe I'll just start a duck family.1 -
¡¡Good news!! Finally solved the image upload problem with lumen and angular. It happens that, even the $request in Lumen was "empty" it turned out that the actual image file was a binary object inside the Lumen $request variable that didn't render because the browser, postman and everything I tried couldn't understand it (maybe something to do with the Content-Type). I figured out and solved it, now I can easily save, delete and even modify images when are in the server side.
One more thing... My code was fine the whole time, l mean like, 3 days of finding a big that doesn't exists haha
Everyday we learn some new si*t
For those who don't know what I'm talking about, the story is right here:
http://stackoverflow.com/questions/...
PS: thanks guys, I really appreciate your comments: @champion01 @itsdaniel0 @dfox @joetj3 -
I'm having troubles with gRPC inside Docker, cannot figure out why some references are undefined in the *_pb.go files
pkg/proto/notify/notify_grpc.pb.go:14:11: undefined: grpc.SupportPackageIsVersion7
pkg/proto/notify/notify_grpc.pb.go:71:30: undefined: grpc.ServiceRegistrar
More details: https://stackoverflow.com/q/...1 -
PAGE BREAK AFTER IS FUCKED UP. FML
ok guys, if you have any recommendation or alternative to page-break-after, please let me know. im desperately in need of a goddamn solution.
heres my problem, ive got a table, inside the table is the tbody, now i only want two rows to be displayed in each page (im doing html for pdf docs). so what ive been trying to do is adding <tr class="display:block;page-break-after: always !important"> whenever it meets the condition (rowCount%2!=0).
Ive been trying to figure this out for the last 12 fucking hours. cheesus fucking crust. ik this isnt stackoverflow but stack hasnt really been helpful as well :( FML6 -
Why is it acceptable for dev think it's ok to skip testing? WHY?
Today i was told that a co-worker had good enough judgment when it comes to CSS if it will break in other browsers other than chrome. I'd accept that if they knew the browsers inside out and read all the release docs but no, not them. Even more so when it's not their field of expertise.
After working for 2+ years at the some company, with a QA team, it's become evident no one does any proper testing, even the friking QA team!
I'm close to define the supported browsers as "What ever the developer used at the time of build".
Am I really the only Dev to test in at least 2 other browsers? -
I'm sure we all have those moments when we feel spacey, but there is fine line between thinking deeply and being under a strong hypnotic trance! I honestly believe there might be something wrong with me because usually when I start blanking out, it's like my mind falls into another universe that is far away from earth! I can not ( see / hear ) what is going on around me!!! I sometimes even forget where I'm at and what I'm doing... until someone tries to get my attention! NOW WAIT A MINUTE! HOLD UP!!! BEFORE YOU ASSUME ANYTHING, NO I DO NOT SMOKE OR DRINK. AND I DON'T DO DRUGS EITHER!!! I AM A CLEAN HEALTHY PERSON... I just can't seem to understand why I am so mentally outside of the box instead of inside...
-
Hey guys, any WPF developers here?
I'm having lotsa trouble getting WPF XAML data bindings to work. Disclaimer - I'm new to OOP and thhe syntax of OOP is so damn confusing I'm never sure anything is the "right" way.
The task is to create test data for certain classes and output it in WPF. The code I have is a public static class that generates test data for certain classes and stores these objects inside a static List<Object> depending on the object. I couldn't figure out any other way to store all these objects to later be able to output them.
Then I found out that you can use ObservableCollection to automate a lot of the CRUD stuff. So I tried to change the Lists to static ObservableCollections. It mostly works and I even got it to output the data in XAML by using DataGrid.ItemsSource = TestDataCreationClass.authors in the MainWindow.xaml.cs. However, I can not for the life of me figure out how to do the bind through XAML only using the ItemsSource property. No matter what I do, it cannot find the Collection.
I googled for quite a while and every example seems completely different from mine so I'm at a loss.
If you need any more info or code snippets I'd be glad to provide them.
Any kind of help is appreciated.
Thanks in advance!1 -
It is 39 deg F and it is snowing. I was out in the snow for a while, but it is also lightning. So I decided not wanting death I came inside. I was talking to a coworker about the snow.
ed: That is hail.
me: It is thicker, but not hard.
I just looked at ed for a minute realizing what I had just said.
me: You realize what I just said?
ed: Yeah... -
The build broke right before code review with the Lead. It didn't just break in one place, oh no, that would be too simple. It broke everywhere, right down to the core mechanic. I spent the next 3 hours trying to find out why it broke, checking everything involved in this part of the system. It was a freaking Initialization call placed inside a conditional statement instead of outside.
-
I just released another UI, Auth, & CRUD scaffolding/starter kit package.
This is similar to my last package, but I've put everything inside one package. This makes it easier for me to integrate different features, as well as maintain it. This package has a bunch of improvements and some new features.
- Video: https://youtube.com/watch/...
- Repo: https://github.com/bastinald/ux
Thanks for checking it out. Hopefully someone finds it useful.