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 - "it got on everything"
-
Got call from extremely angry customer, our product is shit and doesn't work. At all. Important customer so I went to visit.
He had the perfect setup, our product to the left, our competitor's to the right.
He connected the Ethernet cable to their product, it worked. He plugged it out and connected to ours... Nothing. Shit.
I started to debug on the premises, took logs, everything. It seemed like our product didn't receive any data at all. What the fuck? Tried everything, debugged low level, still nothing. Sweating as hell.
After two hours I got a strange feeling. So I swapped place, our product to the right, competitor's to the left. Now OUR product worked, competitor's zilch.
THE FUCKING ETHERNET CABLE HAD A GLITCH. IF YOU BENT IT TO THE RIGHT IT WORKED, IF YOU BENT IT TO THE LEFT IT WAS BROKEN.
I had never seen a customer be this embarrassed in my life. He apologized to me, my boss, his boss, the Queen, everyone.
We got the contract.20 -
Got a phone interview for a backend dev job in an opsec company.
Interviewer:
This is a very serious and prestigious position, we take care of the most important bits of code.
*Proceeds to talk introductory nonsense*
Interviewer:
Do you know what a DNS is?
Me:
Yes, of course! DNS stands for Domain Name System.... Blah blah blah... I explain about the servers, about hosts file, about DNS spoofing and everything else possible on this topic.
Interviewer:
See, I was patient with you - letting you finish. I'm not sure what you're talking about and where you got it from, but a DNS is that line in the browser where you type the site's name.
He didn't ask any more questions, just told me that they'll get back to me. I asked not to do that.
Three weeks later I got an email claiming that I'm not qualified.44 -
I was looking for about a month for a laptop. Then on this one magical day I open kijiji and see a Toshiba Thinkpad T450s with 20gb of ram, 138 ssd and an i5-6300U cpu going fo 500$ (value 2000+).
My first thought was. Okay. Scam alert. But you know. What if?
So I call up this person. And its a girl who got a pc from her bf, but really she wanted a mac so she is selling it.
This straight up blew my mind. I decided, fuck it. Got 500. Ran to her. Ran a systems check on the laptop. Checked for any attempts at opening it up. Checked the harddrive. Checked the ram. Everything is solid.
Long story short. Thank god for apple fangirls!32 -
If you had
one language
One framework
To code everything you want
Would you learn it or let it pass
His code is heavy,
arms are weak,
mind is bending.
It's all spaghetti.
He is nervous but looks calm and ready
to go now
but he keeps on forgetting
what he wrote down.
The manager is getting loud
He moves his mouse but the bugs won't got out
They are features now
Time to ship
Over blaow!18 -
My manager started a company and I was his first employee, he literally started it because he wanted to make use of my talent.
So one day I finished my project on Friday and took in advance Monday and Tuesday off. Went back Wednesday to find my manager angry like "you didn't finish your project, you costed us money with our client company (a big ass famous one) I am putting you on probation and you could probably get fired if you don't get yourself together" and he said that my colleague had to do my whole work that I supposedly didn't do.
So I went to the code and checked. And I found that what my colleague did was re write my code in a different structure and pretended like he did everything and did do anything.
Got passed off so I wrote an email to my manager with the commits and links to them and their builds and made sure it's well explained, and titled the email "resignation letter" with me expressing at the end how angry I am and informing about my resignation.
Later on he replied saying it was a misunderstanding and there was lack of communication and he could give me I raise.
I insisted.
One week later I got hired by the client company and suddenly I was sitting on the other side of the meeting table. And it felt so damn good.4 -
So I got the job. Here's a story, never let anyone stop you from accomplishing your dreams!
It all started in 2010. Windows just crashed unrecoverably for the 3rd time in two years. Back then I wasn't good with computers yet so we got our tech guy to look at it and he said: "either pay for a windows license again (we nearly spend 1K on licenses already) or try another operating system which is free: Ubuntu. If you don't like it anyways, we can always switch back to Windows!"
Oh well, fair enough, not much to lose, right! So we went with Ubuntu. Within about 2 hours I could find everything. From the software installer to OpenOffice, browsers, email things and so on. Also I already got the basics of the Linux terminal (bash in this case) like ls, cd, mkdir and a few more.
My parents found it very easy to work with as well so we decided to stick with it.
I already started to experiment with some html/css code because the thought of being able to write my own websites was awesome! Within about a week or so I figured out a simple html site.
Then I started to experiment more and more.
After about a year of trial and error (repeat about 1000+ times) I finally got my first Apache server setup on a VirtualBox running Ubuntu server. Damn, it felt awesome to see my own shit working!
From that moment on I continued to try everything I could with Linux because I found the principle that I basically could do everything I wanted (possible with software solutions) without any limitations (like with Windows/Mac) very fucking awesome. I owned the fucking system.
Then, after some years, I got my first shared hosting plan! It was awesome to see my own (with subdomain) website online, functioning very well!
I started to learn stuff like FTP, SSH and so on.
Went on with trial and error for a while and then the thought occured to me: what if I'd have a little server ONLINE which I could use myself to experiment around?
First rented VPS was there! Couldn't get enough of it and kept experimenting with server thingies, linux in general aaand so on.
Started learning about rsa key based login, firewalls (iptables), brute force prevention (fail2ban), vhosts (apache2 still), SSL (damn this was an interesting one, how the fuck do you do this yourself?!), PHP and many other things.
Then, after a while, the thought came to mind: what if I'd have a dedicated server!?!?!?!
I ordered my first fucking dedicated server. Damn, this was awesome! Already knew some stuff about defending myself from brute force bots and so on so it went pretty well.
Finally made the jump to NginX and CentOS!
Made multiple VPS's for shitloads of purposes and just to learn. Started working with reverse proxies (nginx), proxy servers, SSL for everything (because fuck basic http WITHOUT SSL), vhosts and so on.
Started with simple, one screen linux setup with ubuntu 10.04.
Running a five monitor setup now with many distro's, running about 20 servers with proxies/nginx/apache2/multiple db engines, as much security as I can integrate and this fucking passion just got me my first Linux job!
It's not just an operating system for me, it's a way of life. And with that I don't just mean the operating system, but also the idea behind it :).20 -
Rant
Why do shithead clients think they can walk away without paying us once we deliver the project !!!
So, here goes nothing..
Got an online gig to create a dashboard.
Since i had to deal with a lot of shitheads in the past, I told them my rules were simple, 20% advance, 40% on 50% completion and 40% after i complete and send them proof of completion. Once i receive the payment in full, only then i will hand over the code.
They said it was fine and paid 20%.
I got the next 40% also without any effort but they said they also needed me to deploy the code on their AWS account, and they were ready to pay extra for it, so i agreed.
I complete the whole project and sent them the screenshots, asking for the remaining 40% payment. They rejected the request saying my work was not complete as i had not deployed on AWS yet. After a couple of more such exchanges, i agreed to setup their account before the payment. But i could sense something fishy, so i did everything on their AWS account, except registered the domain from my account and set up everything. Once i inform them that its done and ask for the remaining payment.
The reply i got was LOL.
I tried to login to the AWS account, only to find password had been changed.
Database access revoked.
Even my admin account on the app had been removed. Thinking that they have been successful, they even published ads about thier NEW dashboard to their customers.
I sent them a final mail with warning ending with a middle finger emoji. 24 hours later,
I created a github page with the text " This website has been siezed by the government as the owner is found accused in fraud" and redirected the domain to it. Got an apology mail from them 2 hours later begging me to restore the website. i asked for an extra 10% penalty apart from the remaining payment. After i got paid, set an auto-reply of LOL to thier emails and chilled for a week before restoring the domain back to normal.
Dev : 1
Shithead Client: 024 -
A small story on digitalization
I had spent an hour in the bank with my dad, as he had to transfer some money. I couldn't resist myself & asked:
Dad, why don't we activate your internet banking?
''Why would I do that?'' He asked, ''Well, then you wont have to spend an hour here for things like transfer.
You can even do your shopping online. Everything will be so easy!
I was so excited about initiating him into the world of Net banking.
He asked, If I do that, I wont have to step out of the house?
''Yes, yes''! I said. I told him how even grocery can be delivered at door now and how amazon delivers everything!
His answer left me tongue-tied.
He said ''Since I entered this bank today, I have met four of my friends, I have chatted a while with the staff who know me very well by now.
Two years back I got sick, The store owner from whom I buy fruits, came to see me and sat by my bedside and cried.
When u r Mom fell down few days back while on her morning walk. Our local grocer saw her and immediately got his car to rush her home as he knows where I live.
Would I have that 'human' touch if everything became online?
I like to know the person that I'm dealing with and not just the 'seller'. It creates bonds. Relationships.
Does "online" deliver all this as well?
Technology isn't life #BeHuman
For those who are not getting the context, this things happen in India. It is truth not a fact.19 -
First year of my study (application development) (5 years ago).
We were finally starting getting courses on using Linux and the teacher knew I was already using it for a while so he said that I had to finish the assignment but could work on whatever I wanted next to that.
Assignment was installing a server, getting a web server up and running and compiling at least one program from source.
I setup the server in 20 minutes, wrote a script to do the rest for me and was finished in half an hour. (we got 10 weeks for this (1 hour every week officially))
Well, I was about to start doing my own shit when people started asking me for help.
Fuck it, I love helping people with the things I'm passionate about so sure!
For weeks, during that one hour, I was probably the second teacher. Got called all over the classroom and helped people with everything.
Afterwards (the course), most people said that I probably helped about the whole class pass that course and I got called the linux God etc.
From that day on, my nickname at my study, which even many teachers used was: Mr. Linux.
It felt awesome though!
And still whenever I visit that place again, one teacher always goes: Hello again, mr. Linux!12 -
Talking to my son today about one of his CS classes, not sure which.
He says: "I missed the lecture yesterday, but I'm not going to bother re-watching it."
Me: "Why? You really should. You're paying for these classes AND you really need to actually learn this stuff."
Son: "Well, because I got 100% on my last assignment without going to class. I just Google'd everything and figured it out on my own from what I found."
My wife out of the blue: "DAMN IT, BUT THAT'S NOT HOW IT WORKS IN THE REAL WORK WORLD!"
Oh, you poor, uninformed summer child. I love her, but she just doesn't know that my son has already learned the key lesson he needed to learn from his schooling in order to get a job and make good money in this field! #ProudTechieDadMoments12 -
Call comes down from the CEO and through his "Yes Man" that some investors are coming by to visit and he want to show off the data center and test servers. There are four full racks of storage servers filled with HDDs and each server has 4 to 16 HDDs a piece.
I got told to "make all of the lights blink", which can be epic seeing it in action but my test cycles rarely aligned that way.
All morning I was striping RAID arrays and building short mixed I/O tests to maximize "LED blinking" for the boss's henchman.
Investors apparently live/die by blinking light progress and it was all on me to get everything working.21 -
Sometime it feels like I'm surrounded with idiots.
Got a Ticket:
Support: Please delete installation ABC from Server D.
Me: Checks everything. Installation is on Server E. Asks if this is correct?
Support: Just follow the instructions!
Me: Okey dokey. If you want me to be a hammer the installation is a nail... Drop database, Remove all files. nuke K8s resources
Support: Why did you delete the installation ABC? You should delete XYZ!
Me: Cause the ticket told to delete ABC on Server D and YOU told me to follow your instructions!
Support: Yeah but we just reused an old ticket. We wanted XYZ deleted!
It's not a big deal I can restore the shit but I hate it if a day starts with this kind of shit!18 -
Just had a customer complain that the website didn't work in Microsoft Edge. After a WordPress update and slight CSS correction everything was fine. Then backend got a hold of us kindly asking "What the effervescent F*** is going on with that website"
Apparently it loads half a gig of data from our servers with each visit, we made the website and host it but we did not cause this. Further inspection shows that it's all images.
Me and the youngest (and possibly brightest) guy in the bunch view the PHP to try and control the amount of posts loading when visiting the start page as a means of controlling this issue.
We soon reached a conclusion we didn't expect, everything was in one post..........7 -
I got board and decided to make a weather app.
I have designed everything except the font which is Open Sans.
The app will be created on Electron and will be my first entry into that world.
It is currently in the design phase but thought it might be nice to share it's development with you guys.
I hope you like it and as always feedback is more than welcome.69 -
I guess that is what you get for bringing up security issues on someones website.
Not like I could read, edit or delete customer or company data...
I mean what the shit... all I did was try to help and gives me THIS? I even offered to help... maybe he got angry cause I kind of threw it in his face that the whole fucking system is shit and that you can create admin accounts with ease. No it's not a framework or anything, just one big php file with GET parameters as distinction which function he should use. One fucking file where everything goes into.21 -
This happened a while ago but I till remember it. I'm an Intern within a nice company where everything is open (one big ass room):
Designer: bob
Salesman: peter
(Random names)
Bob: Hey peter, these PDF files you got from the client are corrupt, could you ask him for good versions?
Peter: [on the phone with PDF client coincidentally] Sir, the pdf's you send are corrupt according to our designer.
.............…….............................................
He says that it must be you using a weird operating system.
Bob: Hey dude (me), could you check?
Me: Sure (checked on my Linux, corrupt indeed), yup deffo corrupt or something.
Peter: [on phone] Sir, they really seem to be corrupt. [Talking on phone] He says it must be your operating systems, can it be that your systems are fucking this up?
Me and bob: Highly unlikely!
Peter to client: Dear sir, I've got two very competent professionals here who say you are not right and the document is simply corrupt and I'm definitely going to trust them on this one so may I kindly request a new version!
He is a great salesman!7 -
Last night I had a virtual machine up on my Mac running Arch Linux. I had 6 of my 8 gigs of ram allocated to the VM. Well I left it open last night when I went to bed and forgot about it this morning. My wife just called me at work to say something is wrong with the Mac. "Everything is running slowly and it looks different." I had to walk her through the process to shut it down, but she got to run her first Linux command: sudo shutdown now.
She is now calling herself a hacker...6 -
Crap.. got myself into a fight with someone in a bar.
Hospitalized, turns out that my knee is bruised and my nose is broken. For some reason the knee hurts much more than the nose though.. very weird.
Just noticed that some fucker there stole my keychain USB stick too. Couldn't care less about the USB stick itself, got tons of those at home and hard drive storage even more so (10TB) but the data on it was invaluable. It held on a LUKS-encrypted partition, my GPG keys, revocation certificates, server backups and everything. My entire digital identity pretty much.
I'm afraid that the thief might try to crack it. On the flip side, if it's just a common Windows user, plugging it in will prompt him to format it.. hopefully he'll do that.
What do you think.. take a leap with fate and see how strong LUKS really is or revoke all my keys and assume my servers' filesystems to be in the hands of some random person that I don't know?
Seriously though.. stealing a fucking flash drive, of what size.. 32GB? What the fuck is wrong with people?33 -
Me: Boss, your new project is ready, we've tested the technical aspect but we're waiting on your approval before deploying, will you test it?
Boss: yeah sure, I'll test it in 5
*2 weeks later*
Boss: why isn't that project deployed yet?
Me: you haven't tested it, and we haven't gotten approval
Boss: oh right, I'll go test it right now!
*2 weeks later*
Boss: I NEED that project to go live RIGHT THIS MOMENT!!!
Me: sure, have you tested it yet?
Boss: nope, but I need it
Me: well, I'll put it live, but me and my colleagues are shifting responsibility to you, since you haven't tested it. Are you sure?
Boss: yeah, yeah whatever...
*put product online*
*2 days later*
Angry call from boss, bugs have been found, tell him that he approved the state of the product and that the bugs will go on the to-do list...
Boss is extremely pissed, but recognized his mistake...
Now, the boss actually tests everything thoroughly at the moment we tell him to! No more bugs, complaints, and I got a raise!5 -
First rant, please take pity on the noob! 😐
Recently I've secured many of my user accounts spread throughout the internet. Using the same old password for everything is bad for security and for mental health! 😫
Since I was on the mood, I've tried to do a 'break glass' scenario, simulating an attacker that possessed my Gmail account credentials. "How bad can it be?" I've thought to myself...
... Bad. Very bad. Turns out not only I use lots of oauth based services, I also wasn't able to authenticate back to Google without my pass.
So when you get home today, try simulating what would happen if someone got to your Google or Facebook account.
Makes you consider the amount of control these big companies have over your life 😶15 -
I was messaged on LinkedIn by a recruiter while I was in the UK for my honeymoon. When we got back home to Colorado I called him back and everything went well enough that a tech screen call was set up between four or five guys on the team, and me.
I was expecting to be grilled about various Linux, networking, video transcoding, database, and transaction handling questions and problems, as that was the bulk of the job's description. But instead they just gushed that they'd used software I'd written at previous jobs and loved it.
It was very friendly and they never challenged me (not being arrogant here-- they literally never tested me) and we wound up just talking about, "the job," and about how the work sucked without the tools and apps I'd written.
I got an offer for $30k more than what I asked, the next day.5 -
!dev
The moment I saw a bird laying on the balcony, unresponsive, I dropped everything.
The balcony has glass walls, which the bird hit pretty hard against. It (I don't know the gender) was disoriented, shaking, and totally out of it.
It was almost night, and I can feel a few drops of rain, a sign of, well, more rain.
So I took it in, did some research, left it inside a quiet dark box with a heating mat on the bottom. It slowly calmed down. We slept overnight, listening to the rain outside, thinking about what would've happened if the bird hit, let's say, somewhere else.
It would've not have any help, or care whatsoever. It would die slowly, having a concussion and oh my gosh my efforts doesn't matter anyway this is the way of life there are bird striking windows everyday and I can't help it Holy noodles I should remove windows from every computer in the house...
I was like this the entire night.
The next morning I discovered that the bird was awake, but something was wrong. The bird was still disoriented. Then I discovered something. Gosh, how did I miss it?
The left eye was completely swollen, which had caused the imbalanced walk, which means that it could not fly.
(*Rapidly typing on phone*) come on where is the nearest wildlife rehabilitation centre....
Initially I thought that the bird just needed to recover, I was wrong. It needs professional help ASAP.
To the SUV! (https://myinstants.com/instant/...)
We went to the other corner of the town. Seriously, we were at the southeast part of town, and we have to drive to the northwest.
It took 15 minutes, but we finally got there. I dropped it off and got home. I will never see that bird again in my entire life.
I don't know what will happen to it.
Good luck out there, little bird.
So... That was my weekend. Here comes Monday...7 -
Less rant, more story.
Tl;Dr: Disney uses "Magic Bands" to track every action of every person within their parks.
So I took my family to Disney World this past summer and we got these "nifty" little things called Magic Bands. These things are little wrist devices that basically handle everything for you in the parks. It unlocks your resort room, it gets you into the parks, you pay for meals and souvenirs with it by connecting a credit card and/or your meal plan. It makes things real simple as it's like putting on your watch each day.
At first I kinda enjoyed how easy it made everything on the trip, but then as we were exiting a ride the couple in front of us noticed the digital signs had their names on them, I looked around and noticed mine too, a sign that said "have a good day $myName." It suddenly clicked. These "Magic Bands" are people trackers. Suddenly everything about the park that I had been enjoying, was part of the system they had in place using these bands as human cattle tags. The ride wait time estimations were perfect, not because of a good algorithm and estimations, but because they had actual real data telling them when a person entered the line and got off the ride.
Using a BLE scanner app I was able to see that they have hundreds of APs throughout the parks tracking every single band on every single person withing their compound. I started to think about all of the data they're collecting and the thought of it was overwhelming. The amount of assumptions they can make about people based on their actions within their parks and what that data would be worth to additional advertisers. By the end of the trip I was cynically pointing out everything to my family about the cattle tags and how much I hated wearing it and yet it was required in order to do anything.22 -
Fuck YOU Xcode!
20 crashes since I started working this morning.
Restarted the iMac, same shit.
Cleared NVRAM/PRAM whatever its called, same shit.
Closed EVERYTHING, restarted iMac again, unplugged from the wall, left it few mins, replugged back, turned it on, continued working, AND IT STILL KEEPS FUCKING ME OUT OF NOWHERE.
FUCK THIS, FUCK XCODE, FUCK APPLE, AND FUCK WHOEVER DARES TO THINK THAT ITS A GREAT PIECE OF SOFTWARE, im done.
P.S. this rage got me to a point where i had to make this paper13 -
!!rant
When I worked at a previous job, they only gave out decent titles (and salaries) to upper management. Everyone else... well... I was the Domain/Sysadmin, responsible for the domain and both DCs, upgrading the physical network (plus recabling it: the MDF was a *disaster*), as well as all backups, migrations, printers, servers, and workstations/lappys in the building, plus pushing software, antivirus, updates, security policies, etc. I had complete access to everything, and ofc was responsible for everything. Nothing on my network caused anyone (else) any trouble except one particular printer I wasn't able to replace. Also, nothing new appeared on my network without me noticing and tracking it down.
But my official title? "IT Assistant".
I made $11/hr.
Worth it? Take a flying leap into an overflowing outhouse during the height of a Vegas summer if you even begin to think so.
I eventually managed to switch to a developer position, and (after several attempts) got a ~$5/hr raise. The girl they replaced me with in IT with some ditz who had never installed an OS before, didn't know what the BIOS was, and couldn't figure out why a monitor... plugged into itself... wasn't working. Things went downhill from there.10 -
Today while livecoding in lecture, my prof got a call that got shown on his Mac. His response to that was very interesting:
“Has anyone else noticed that phones have gotten so advanced that when we receive a phone call we treat it almost like a DOS attack? It impairs is from doing everything that’s secondary to making and taking phone calls and that pisses us off”6 -
So I worked on getting a server ready for about 30 hours last week to be ready for a deploy on Monday Night (last night). Not only did I work on it for 30 hours, we had two other architects and a senior engineer working on it too. We got everything done Friday and it was ready to go with a simple cutover on Monday night.
The only thing left to do was deploy a link change Monday night on the existing landing page. My part was the backend servers and application that had the complicated SSO system and the other part was just a link to get to the SSO. I asked the person responsible for deploying the landing page's link if he was ready about a dozen times. He kept saying he was deploying X (the code name for the project deploy) and that is all he was doing.
Now jump to that night. They have decided that a single landing page wasn't enough and they were going to deploy a full CMS. Well no one knew what the hell was going on and they didn't realize that the landing page was hosted externally on another host. After arguing for two hours they delayed the deployment for multiple days. 24 hours later they are still trying to figure out the CMS on a host.
30 hours and four senior engineer's time wasted to get everything done for the deadline all to be canceled because of on jackass's lack of planning. WTF2 -
Today was fucking awesome!
I always wanted to do a project in C++ since I've been more of a Java guy for years now.
And today, I finally wrote a full console program in C++! (For windows, it's a .exe)
The purpose of that program is to show if a file has a file lock on it (because of copying for example).
It started as simple as that, but got complicated quickly:
- It needs colors! So I added colors.
- Just a single file? Boring. I need wildcards, so I can put a * for anything in the file name! Jup.
- Just one directory? Boring. I need a recursive directory walk! Got it.
- But wait! There has to be an option to switch between recursive and wildcard/single mode! So I checked if the first argument equals "-r"! Hacky but works.
- Oh uh... that spams a lot now! The purpose was to show locked files, so I need another argument to specify that I only want to see locked files! Damn now it get's hard... I need a Linux-like command line argument parser (this -h and -s "hello" stuff). So I took the opportunity to write one myself! Done.
- Refactoring everything to use my new fancy parser...
- Adding more and more arguments, just because I can:
- "-d" hides "access denied" messages
- "-l" shows only locked files
- "-r" activates recursive directory walk
- "-f" formats everything nicely, basically printf("%-150.150s | %s", filename, locked); a maximum width which get's truncated if too long so everything lines up nicely
- "-h" which of course displays the help page
- "-w file" watches a file, if the file is locked it will refresh every 500ms, if it's still locked nothing happens, if it's unlocked, the program prints "unlocked" in green and exits. And yes, it does have a rotating line (something like this: "-" "\" "|" "/" "-" and so forth...)
That project was just awesome to make. I learn languages fastest if I just do a big project in them, and today, I really learned a lot.
Thank you for reading all this!3 -
I'm not even that old and I've had it with young cocksure, full of them self language/environment evangelists.
- "C# is always better than Java, don't bother learning it"
- "Lol python is all you need"
- "Omg windows/linux/mac sucks use this instead"
The list goes on really, at some point you have got to realize that while specialization is great, you have to learn a little bit of everything. It broadens you horizon a lot.
Yea, C# does some nifty stuff, but Java does too, learn both. Yea I'm sure Linux is better for hosting docker containers, but your clients are on mac or windows, learn to at least navigate and operate all three etc. Embrace knowledge from all the different tech camps it can only do you good and you will be so much more flexible and employable than your close minded peers :)
Hell even PHP has a lot to teach us (Even more than just to be a bad example, har har)9 -
Prologue
My dad has an acquaintance - let's call him Tom. Tom is an gynecologist, one of the best in Poznań, where I live. He's a great guy but absolutely can not into tech of any kind besides his iPhone and basic PC usage. For about a year now I've been doing small jobs for him - build a new PC for his office, fix printer, fix wifi, etc. He has made a big mistake few years ago by trusting a guy, let's call him Shitface, with crating him software for work. It's supposed to be pretty simple piece of code in which you can create and modify patient file, create prescription from drugs database and such things. This program is probably one of the worst pierces of code I've ever seen and Shitface should burn for that. Worse, this guy is pretentious asshole lacking even basic IT knowledge. His code is garbage and it's taking him few months to make small changes like text wrapping. But wait, there's more. Everything is hardcoded so every PC using this software must have installed user controls for which he doesn't have license and static IP address on network card.
Part 1
Tom asked me to build him a new PC that will be acting like a server for Shitface's program. He needs it in Kalisz (around 150 km from my place). I Agred (pun intended) and after Tom brought me his old computer I've bought parts and built a new one. I have also copied everything of value and everything took me around three hours.
Part 2
Everything was ready but Shitface's program. I didn't know much about it's configuration so when I've noticed that it's not working even on the old PC I got a bit worried. Nevertheless I started breaking everything I know about it and after next three hours I've got it somewhat working. Seeing that there's still some problems with database connection (from Windows' Event Viewer) I wrote quick SMS to Shitface asking what can be wrong. He replied that he won't be able to help me any way until Monday (day after deadline). I got pissed and very courteously asked him for source code because some of libraries used in this project has license that requires either purchase of commercial license or making code open source. He replied within few minutes that he'll be able to connect remotely within next 10 minutes. He was trying to make it work for the next hour but he succeeded. It was night before deadline so I wrapped everything up and went to bed thinking that it won't take me more than an hour to get this new PC up and running in the office. Boy was I wrong.
Also, curious about his code, I've checked source and he is using beautiful ponglish (mixed Polish and English) with mistakes he couldn't even bother to fix. For people from Poland, here's an example:
TerminarzeController.DeleteTerminarzShematyDlaLekarza
Part 3
So I drove to Kalisz and started working on making everything work. Almost everything was ready so after half an hour I was done. But I wanted to check twice if it's all good because driving so far second time would be a pain. So I started up Shitface's program, logged in, tried to open ANYTHING and... KABUM. UNHANDLED EXCEPTION. WTF. I checked trace and for fuck sake something was missing. Keep in mind that then I didn't know he's using some third party control for Windows Forms that needs to be installed on client PC. After next fifteen minutes of googling I've found a solution. I just had to install this third party software and everything will work. But... It had to be exactly this version and it was old. Very old. So old that producent already removed all traces of its existence from their web page and I couldn't find it anywhere. I tried installing never version and copying files from old PC but it didn't work. After few hours of searching for a solution I called Mr Shitface asking him for this control installation file. He told me that he has it but will be able to send it my way in the evening. Resigned I asked for this new PC to be left turned on and drove home. When he sent me necessary files I remotely installed them and everything started working correctly.
So, to sum it up. Searching for parts and building new PC, installing OS and all necessary software, updating everything and configuring it for Tom taste took me around what, 1/3 of time I spent on installing Mr Shitface's stupid program which Tom is not even happy with. Gotta say it was one of worst experiences I had in recent months. Hope I won't have to see this shit again.
Epilogue
Fortunately everything seems to work correctly. Tom hasn't called me yet with any problems. Mission accomplished. I wanna kill very specific someone. With. A. Spoon.1 -
Finally got myself a Lytro Illum!
I,v been wanting to buy one since it came out but the company who made it closed down in 2015..
Thoose fuckers just thrown everything in the trash and set it on fire, software, firmware, mobile app etc.. no open source, no archives, your expensive camera is now a paper weight! You’r welcome!
So i got myself a new hobby, started reverse-engineering the fuck out of it, luckily it’s based on android (api17), i have adb and it’s running a hidden DHCP server too so it’s coming along nicely :D
I’m planning to make a camera control mobile app for it and maybe some faster image processing, wifi sharing etc..
I love beeing in home office :D19 -
Up for a rollercoaster?
I had a super motivated day where i could focus and wanted to get my work done. My stupid work lappy instead kept throwing tantrums and totally prevented me from working. (Everything caused disk thrashing, took multiple minutes instead of seconds, etc.) Total shit day, but I felt great.
Next morning, I woke up all achy and cold. Ignored it and went to work. I was able to fix everything, and got my benchmarks running smoothly in all of fifteen minutes. Got good results, too! Left work and got married at the courthouse. :)
Went to a restaurant afterward, and two jolly fat guys (Off-duty Santa?!) bought us lunch.
Got home and… started feeling really awful. A little while later, I had a 102*f fever. Collapsed on the floor with an electric blanket and was absolutely miserable. Just kind of stared for hours, aching everywhere. Eventually went to bed, and my wife (!) made me all warm and comfy. And then I proceeded to be completely unable to sleep. Or move. Or think. Laid there for four hours unable to move, and shaking violently at any touch of cold air.
Now it’s 1am and I’m here at the freezing kitchen table writing this.
I am miserable.
Absolutely miserable.
But still happy, too!
🥶👰♀️💍👰🏻♀️19 -
On the top of a mountain, while skiing, -6 °C, no gloves, on my phone.
I use a live wallpaper I made with Processing and it uses gps location and forecast datas to change the background image according to the environment and climate. It sucks and drains battery like a bitch, and as soon as I got the top of the mountain it fucked up everything, home screen froze and camera wouldn't open.
So guess what, it was debug time. Hands dead cold and APDE with no autocomplete on a smartphone keyboard. The agony.
My gf yelled at me and after 10 minutes I switched to a static wallpaper, uninstalled that one and never touched it again since then2 -
So 10 months ago i moved from Cambridge (UK) to Guildford (UK), due to moving this distance i started working from home and going into the office once a week.
Now after 10 months i have finally got my home office how i first imagined it. Everything runs from my laptop which is located on the shelving unit away from my desk. Everything plugs into it via 1 USB lead.
Setup:
27" 2560 x 1440 monitor flanked by two 1280 x 1024 monitors.
Asus Laptop (i5-6300HQ, 12GB ram, 512GB SSD + 1TB HDD)
Home PC (i5-7600, 8GB ram, GTX 770)
Accessories:
StarTech USB hub - This allows me to plug my three monitors, keyboards, mouse and everything else into my laptop.
KVM switch - Allows me to swap between my Work PC and Home PC with a click of a button14 -
Not a rant, just my thoughts :)
At November and October of last year I was very frustrated with everything - everything was annoying me and I was bored even with coding. I needed a break and do something different - go somewhere.
So we decided with friends that we will go to Georgia to spent there New Year Eve. Right now I'm coming back from airport by bus to my city aftertrip but can't sleep because I'm energized as fuck! Whole week without internet (sometimes we got open wifi to check buses or maps), without local sim card, without roaming, just our group and good attitude. We visited almost whole north of Georgia riding in taxis, marshrutka, even autostop, and it was fucking awesome.
So, when you are exhausted, take a break and regenerate your baterries, work is not everything! Just wanted to share this with you :) Can't wait to go to work in monday to write some code :) Life is beautiful!
On photo - my friend takes photo of Kazbek Mountain :)4 -
Today I've been mocked by a fucking coffee machine.
So I was at a small train station, everything was already closed except for a small coffee machine
Dumb I, for whatever fucking reason, decided it'd be a great idea to get a highly overpriced cup there.
Now, the fucker made me the drink but instead of giving change, it started "shooting" coins in my direction (there was no flap on change box)
As I'm picking up my change, this abomination of a machine performs a cleanup, spitting some shit into my drink
I couldnt drink it obviously .. threw the overprices drink away, bought another one... Got shot with coins again... Whata pain... Just to figure out... There's no more cups 😭😭
It made the drink into the tray...
AaaAaAAAaaaaAAA
Fml4 -
At my old job, me and a colleague were tasked with designing a new backup system. It had integrations for database systems, remote file storage and other goodies.
Once we were done, we ran our tests, and sure enough. The files and folder from A were in fact present at B and properly encrypted. So we deployed it.
The next day, after the backup routine had run over night, I got to work and noone was able to log in. They were all puzzled.
I accessed a root account to find the issue. Apparantly, we had made a mistake!
All files on A were present at B... But they were no longer present at A.
We had issued 'move' instead of 'copy' on all the backups. So all of peoples files and even the shared drives have had everything moved to remote storage :D
We spent 4 hours getting everything back in place, starting with the files of the people who were in the office that day.
Boss took it pretty well at least, but not my proudest moment.
*Stay tuned for the story of how I accidentally leaked our Amazon Web Services API key on stack overflow*
/facepalm5 -
A friend bought a new PC and asked me to help him set it up. He said he got everything working except the CD drive. He said it took him forever just to figure out how to get the keyboard and mouse to work. "I mean, have you ever owned a computer where the keyboard and mouse had to plug into the monitor instead of the computer?"
He bought a desktop PC, and and all-in-one thinking it was a monitor. He had the HDMI going from the all-in-one to the desktop, and was trying to use the CD drive on the desktop.
Wish you could've seen his face when I unplugged the desktop computer and his "monitor" didn't shut off. He looked at the desktop, and then the all-in-one, and said, "Wait... How is it still on?"
He also had his old USB wifi plugged into the desktop thinking that's what was providing him with an internet connection.11 -
Yesterday I installed the linux subsystem. Wrote some python code, but it never run no matter what. It was always the same sintax error. I got pretty desperate after finding no solution on google and decided to reinstall the linux subsystem, erasing everything I made.
Turns out the problem was that python pointed to python 2.7 instead of 3. I'm not a smart man.7 -
So, Today was the last day of my internship.
and it was a great last day but everything was fine until.
I started my computer and for some reason it got caught up in boot. It didnt start Nautilus.
So i asked a Senior Dev for help. Nice as these Devs are, he helped me look for reasons. And we found them. My ubuntu hadnt had enough disk space to start. (On a side note there is nothing but Atom Firefox and a few files on there.) So we looked for the biggest files in the system and found them. Syslog was 40 Gb big. And if you think that is shocking behold. Because Syslog.1 was 290Gb big.
Not really a rant but a Story.4 -
Currently working on the privacy site CMS REST API.
For the curious ones, building a custom thingy on top of the Slim framework.
As for the ones wondering about security, I'm thinking out a content filtering (as in, security/database compatibility) right now.
Once data enters the API, it will first go through the filtering system which will check filter based on data type, string length and so on and so on.
If that all checks out, it will be send into the data handling library which basically performs all database interactions.
If everything goes like I want it to go (very highly unlikely), I'll have some of the api actions done by tonight.
But I've got the whole weekend reserved for the privacy site!20 -
Sick.
Worst sleep of my life last night.
Freezing cold, weak, sore, can’t think, starving but can’t eat or drink, as low energy as a dead Chinese “heavy duty” battery.
Finished some changes to my feature today anyway; everything should be done now. Refactored some specs, and got them all to pass.
Falling asleep on my closet floor. Heavy winter coat, fuzzy pants, space heater. It’s warm in here and there’s a shelf for my lappy. Floor is uncomfortable but idc. I’m so tired and out of it I don’t even notice.
This sucks.
At least I have the rest of the week off.21 -
From my last job interview (which I got hired btw)
Lead developer: "so we see quite a lot of frameworks that you listed for php, Laravel,cakephp, codeigniter, we really like the idea of them but have not had the opportunity to use them since as you might know by know our pages run over basic and small scripts, you also listed some cool front end frameworks, react looks amazing and I do have somr experience. Tell me, if given the choice, which framework would you use for php?"
Me: Really depends on the project, but the ones that you have described previously seem that they would not really benefit from them, we should not use them if they are overkill or will not expand to anything else on the future"
Him: "But given the choice?"
Me: my own framework, completed it a couple of days ago, it has its own routing system and everything made by yours truly, used it before on some projects in which the developers work with it with no need to ask me about stuff, the documentation is sound and the code rather simple. Php is and can really be all you need depending on what we are talking about."
Him: **stands up, moves closer to me and fist bumps**
"All right now moving on, i was wondering abouy redux, what are the benefits of..."
Walked out of there like a boss, it got interesting when we started talking about Lisp, apparently they are interested in putting some Clojure to test in small things since they want to learn new things and apply them. Yup, this gon b good!!4 -
Unaware that this had been occurring for while, DBA manager walks into our cube area:
DBAMgr-Scott: "DBA-Kelly told me you still having problems connecting to the new staging servers?"
Dev-Carl: "Yea, still getting access denied. Same problem we've been having for a couple of weeks"
DBAMgr-Scott: "Damn it, I hate you. I got to have Kelly working with data warehouse project. I guess I've got to start working on fixing this problem."
Dev-Carl: "Ha ha..sorry. I've checked everything. Its definitely something on the sql server side."
DBAMgr-Scott: "I guess my day is shot. I've got to talk to the network admin, when I get back, lets put our heads together and figure this out."
<Scott leaves>
Me: "A permissions issue on staging? All my stuff is working fine and been working fine for a long while."
Dev-Carl: "Yea, there is nothing different about any of the other environments."
Me: "That doesn't sound right. What's the error?"
Dev-Carl: "Permissions"
Me: "No, the actual exception, never mind, I'll look it up in Splunk."
<in about 30 seconds, I find the actual exception, Win32Exception: Access is denied in OpenSqlFileStream, a little google-fu and .. >
Me: "Is the service using Windows authentication or SQL authentication?"
Dev-Carl: "SQL authentication."
Me: "Switch it to windows authentication"
<Dev-Carl changes authentication...service works like a charm>
Dev-Carl: "OMG, it worked! We've been working on this problem for almost two weeks and it only took you 30 seconds."
Me: "Now that it works, and the service had been working, what changed?"
Dev-Carl: "Oh..look at that, Dev-Jake changed the connection string two weeks ago. Weird. Thanks for your help."
<My brain is screaming "YOU NEVER THOUGHT TO LOOK FOR WHAT CHANGED!!!"
Me: "I'm happy I could help."4 -
So my in-laws got a new computer 😑
Yup you know where this is going. Ok so after I transferred all of their data set them all up etc.
They wanted to use "word" and could I set it up for free for them. I said no Microsoft office is not free you lost your license and disk and your old computer is trashed so the better choice would be Google services . So I explained the value of using Google drive, docs,sheets etc.. today and told them how much better it is everything would be on their Google drive so if I got hit by a bus they could get a new computer again and still have access to their data etc... So they said great and so I did.
Two weeks later... Can you set up word for us on our computer. Me annoyed at this point " sure no problem"
I made a shortcut on their desktop to Google docs. Them: oh boy this is great see John all you have to do is click on google docs to go to word! Thanks so much!
🤫🤓5 -
Had a great day yesterday. Productive, happy, felt great, and was focused despite a lot of cute distractions. Finished a third of my feature.
Today, I wanted to start work early because I had planned out what I wanted to work on next and how to approach it. I felt motivated. I’d jump out of bed, get ready, and start early. No breakfast but maybe some coffee.
Woke up to two hours of constant distractions, irritations, and time wasting instead. Anger. Everything sought to prevent me from starting.
When I finally got to work, the first thing I saw: political warmongering bullshit.
Guess I’m not getting much done today.13 -
I've dealt with dusty computers, REALLY dusty computers, computers owned by smokers.
I've seen dead beetles and earwigs and spiders with their cobwebs in computers and dealt with them.
I've even seen live moth larvae wriggling about in a computer.
But never, have I ever had to deal with fluids. Until today.
I had to take apart a laptop that had been used as a toilet by a cat. It was still wet, but not warm.
And I had to try to get data off of it. But no, the urine was not compliant.
So, already pissed off customer was less happy about the fact that her data would still be a few days away from recovery to a new computer.
At least her frustration wasn't at us.undefined really i really do really really gross but cat pee though it got on everything i feel bad for her6 -
Yesterday I stayed at home sick. Had a bad case of the EXPLOSIVE DIARRHEA FROM HELL. Was feeling ok but could not walk away from me throne.
Went in today cuz the lead was not gonna be there and shit always breaks on Freyja's day as we all know.
1 and a half hours before we clock out and go home someone calls saying that students are trying to drop from classes at the last minute and our app ain't doing it.
I "fixed" the app last week and ran a small login test. It work so I thought it was fine. Stupid me for making unprofessional and retarded assumptions.
Manager freaks out. The entire school freaks out. Coworker lols cuz he ain't got to work on it. I start mind debugging the entire bitcheridoo.
45 minutes later...and I was able to successfully go through almost 15k lines of code of php/html/js code and fucking FIXED it with tests and all for real.
Went at it hard. Babe ass manager was like 0.0 and then (͡° ͜ʖ ͡°)
Called head office and told them everything was undr control.
Dropped the phone like a mic. Mic drop.
Then I looked at manager and coworker and said "ya I fucked up, but I am still the king"
Both nodded in agreement.
Everyone got wet with my sheer awesome troubleshooting php master skills.
Got home thinking about how boss I am.
Fucking Texas af b. Can't touch this heat. The rangers still suck and so do the cowboys. The astros and the texans don't exist because there is only room for one. Go spurs.
Still have diarrhea.
Fuck yeah.8 -
!rant
So I am building a website and already finished it and ready to be deployed.
Got server access and found that there are many other websites files and folder.
Note : multiple copies of website that I am working on.
So I raise my concern with client about which folder is actually handling the website. She contact the old dev guy and got the webroot for that website. She told me to delete everything and clean it up and make tge current websites available.
I realize that there are many other websites may rely on those files and folder and inform about the consequences. And finally told her I will not touch any files except for the website I am working on.
So, I deployed the website and works good as expected. After 3 weeks clients comes back with an issue that one of her websites is notworking and trying to blame me for it.
Fyi : before my deploymemt she says that she will talk to hosting providers to clean their webspace. I am not sure on that yet.
So I tried to do auditing and found that after 2 days frm my deployment some has already wiped everything from those other websites.
I showed my audits and its someone did it.
You should contact your hosting provider or the other dev who she contacted for wiping.
From the begining I am telling that lady to take backups. She said no need.
The reason I didnt took it because I am not working on those website and obviously client isnt going to pay me for those back.
There is still more to go waiting for her resonses.3 -
Just got my Christmas present from Shopify:
You have 45 days to integrate with our new Billing API or lose your app on our app store.
Because I just LOVE dropping everything to deal with yet another mandatory Shopify change. Have you guys not heard of backwards compatibility?
My coworker just spent *weeks* getting our app approved, including submitting an obscene amount of information and multiple live reviews and now they're threatening to remove our listing from their app store if we don't adopt their new API by the end of January, requiring a complete re-submission and review to get it back on.
This is apparently a completely normal way to do business to Shopify.4 -
I’ve started the process of setting up the new network at work. We got a 1Gbit fibre connection.
Plan was simple, move all cables from old switch to new switch. I wish it was that easy.
The imbecile of an IT Guy at work has setup everything so complex and unnecessary stupid that I’m baffled.
We got 5 older MacPros, all running MacOS Server, but they only have one service running on them.
Then we got 2x xserve raid where there’s mounted some external NAS enclosures and another mac. Both xserve raid has to be running and connected to the main macpro who’s combining all this to a few different volumes.
Everything got a static public IP (we got a /24 block), even the workstations. Only thing that doesn’t get one ip pr machine is the guest network.
The firewall is basically set to have all ports open, allowing for easy sniffing of what services we’re running.
The “dmz” is just a /29 of our ip range, no firewall rules so the servers in the dmz can access everything in our network.
Back to the xserve, it’s accessible from the outside so employees can work from home, even though no one does it. I asked our IT guy why he hadn’t setup a VPN, his explanation was first that he didn’t manage to set it up, then he said vpn is something hackers use to hide who they are.
I’m baffled by this imbecile of an IT guy, one problem is he only works there 25% of the time because of some health issues. So when one of the NAS enclosures didn’t mount after a power outage, he wasn’t at work, and took the whole day to reply to my messages about logins to the xserve.
I can’t wait till I get my order from fs.com with new patching equipment and tonnes of cables, and once I can merge all storage devices into one large SAN. It’ll be such a good work experience.7 -
OMG! I fucking hate it when people who have no idea about technology whatsoever have a conversation about some 'technical stuff' and I've got to listen to trash like:
A: "It's a wonder that all of this stuff actually works!"
B: "Yeah, I heard that it all connects over some kind of WAVES or something like that..."
FFS! I know you can't know everything, but please for the love of god ... just don't!
- Currently sitting on the train and cringing like a madman -11 -
I think I nailed it.
I had an interview on Friday. Never had I ever such a good one. Everything went so smoothly I'm amazed to this moment.
It started pretty much normally. Few questions about me and my CV. Next some soft skills check and few minutes talking in English to make sure I know how to speak.
Next, two funny trick questions. I hope I'll translate them good enough.
1) You've got 6 cups in a row. Three of them, next to each other, are empty. Remaining 3 are full. You've got one movement to make them stand alternately, ie. Full, empty, etc. or Empty, full etc.
2) You've got yourself a cake. Normal, birthday cake in a shape of a cylinder. On three cuts, you have to cut it in 8 equal pieces.
Next was technical interview. The only thing I couldn't answer to was a formula to get angle between camera and two objects on the scene. Something about cos x.
They told me that I was the only recruitee to make project using Hololens SDK. Other people made the images gallery in 2D only.
Also they were VERY impressed that I managed to send them fix that changed a lot of the gallery in an hour. No one was expecting it so fast since the feature wasn't all that simple. Or so they said. Code was written so it wasn't hard to implement this change.
Now I've got to wait at least a week for their response. As you could imagine, I'm nervously checking my email each time I get any spam.
I'd like to thank @fire-phoenix and @Root that were responding to my last posts about this new work tasks and current hardships. I know it's a bit too early to celebrate but I'm just so hyped for how well everything went 😀10 -
Wan't to hear my ridiculous recruiter story? I am originally from MA, and been on a small town since I was 4 (Born in Brazil). Well after years and years on the same town, always going back (MA) when a job here and there wouldn't work out. Going through some depression, and just got tired of everything. Well one day I found a recruiter on linkedIn and he knew a friend of mine. So he said he had a possible job offer but it was in Florida, anyhow he would later contact me and in the mean time for me to send him some examples of my work. Well in the mean time I packed my stuff and called him letting him know I was on the way. He was shocked and didn't know what to say. Went to the interview with him, got the job. 9 months later :) I don't regret taking my changes, it was all I had. I'm currently employed, love my job, and if it wasn't for my ridiculous recruiter... I don't know where I would have ended up. Long story, sorry /: ... here is a potato :) (9gag reference)10
-
First company I worked for, built around 40 websites with Drupal 7...in only a year (don't know if it's a lot for today's standards, but I was one guy doing everything). Of course I didn't have the time to keep updating everything and I continually insisted to the boss that we need more people if we are going to expand. Of course he kept telling me to keep working harder and that I "got this". Well, after a year a couple of websites got defaced, you know the usual stuff if you've been around for some time. Felt pretty bad at the time, it was a similar feeling to having your car stolen or something.
Anyways, fast forward about 2 years, started working on another company, and well...this one was on another level. They had a total of around 40 websites, with about 10 of them being Joomla 1.5 installations (Dear Lord have mercy on my soul(the security vulnerabilities from these websites only, were greater than Spiderman's responsibilities)) and the others where WordPress websites, all that ON A SINGLE VPS, I mean, come on... Websites being defaced on the daily, pharma-hacks everywhere, server exploding from malware queing about 90k of spam emails on the outbox, server downtime for maintenance happening almost weekly, hosting company mailing me on the daily about the next malware detection adventure etc. Other than that, the guy that I was replacing, was not giving a single fuck. He was like, "dude it's all good here, everything works just fine and all you have to do is keep the clients happy and shit". Sometimes, I hate myself for being too caring and responsible back then.
I'm still having nightmares of that place. Both that office and that VPS. -
Ok so this happend in the last 3 days, I didn't post it till now because I had to seriously take a rest with all the bullshit and stress that came with it...
(Legacy project I have the lead in called: "Foo")
Monday:
Management decided it would be effective to add a senior and a junior to Foo, which would make (together with me) to be 2 juniors and one senior developer
Well I've spend most of that day helping both the junior and the senior to setup "Foo" on their local development machines... So I could not do any programming myself
tuesday:
The senior wanted to refactor EVERYTHING... and I had to stop him multiple times because we simply do not have the time to do that...
The junior tried to work on other things as much as he could, and after he had run out of things to do, asked me for EVERYTHING... EVEN WHERE TO FUCKING CHANGE SOME GOD DAMN STRINGS!....
Also he did in total 3 commits, two of which existed of my code (because I had to "help" him
wednesday:
Both the junior and senior were removed from the project and I got another senior.. who fucking deleted the production database on accident
god damn rough few days man...7 -
So... I was using my laptop one day and randomly my mouse started spazzing out, I thought maybe it's broken or something so I paused the video I was watching and waited for a couple of seconds, soon after I played the video, my mouse started moving around again, closing windows and opening up different things. I got so scared I shut my laptop down before it could open anything else.
A few minutes later I turn it back on and everything looks fine, I thought whatever that was all about is probably gone, had to double check my security settings etc. and let it be for now.
A few days later I found out that it was actually my dad, in the next room trying to hook up his Bluetooth mouse to his iMac which for some reason got connected to my laptop instead. He was moving it around trying to see whether or not it's working, thus the spazzing out of it on my screen...lmao boy I felt so relieved after that 😂
~not really a hack however it gave me a good laugh2 -
When I was still a noob programmer, I was working on a website for a big client. We had a demo coming up in big city. So we drove there several hours and went to their office. All the management board and shareholders and what not were there.
So we started the demo. Everything had worked perfect the night before. But on that day, we were right away greeted with some stupid PHP error right there on the first page. Had to fix it quickly so we could continue with the demo, so I logged into their production server with SSH and started fixing the code with vim. I was connected to the projector, so my horrid noob code with cringy joke comments was there for everyone in the room to see.
Eventually got it working, but I saw several people in the room facepalming hard. Can't ever forget the day. :D1 -
JavaScript Motherfucking Asynchronous Bullshit.
I get it, for quite some stuff, async is very, very useful. But why on fucking earth do so goddamn many functions NEED this (and those callback functions) and can't do without?!
If there would be good and nicely understandable await documentation that actually fucking works, I'd be so happy.
I've currently got .then after .then after motherfucking then and its irritating me to no end as it, in this context, shouldn't even be necessary. This thing I'm writing doesn't give a fuck if something takes a few milliseconds before the rest of the program can continue!!
Fuck asynchronous programming in JavaScript for goddamn everything.
(I do love JavaScript!)27 -
Wordpress does not suck. If you know how to work it.
Past period I saw so many rants on WP. My rant is that it is not 100% WP fault. Yes there are seriously structural problems in WP but that does not mean you cannot create top-notch websites.
At my work we create those top-notch WP sites. Blazing fast and manageable. Seriously we got a customer request to make the site slower because it loaded pages to fast (ea; you hardly could see you switched pages).
- We ONLY use a strict set of plugins that we think are stable, useful.
- We have everything in composer (and our own Satis) for plugins.
- We use custom themes & classes. Our code is MVC with Twig.
- In our track history we have 0 hacked websites for the past 2 years.
- Everything runs stable 24/7
- We have OTAP (testing, acceptance & production environments)
- We patch really fast
These are sites going from $15k++ and we know our shit.
Don't hate on WP if you have no clue what you are doing yourself.
That is my rant.23 -
New job was killing me. remote team has an 8 hour time difference to us, and no understanding of it. Constant last minute invites to meetings at 10pm my time. Made worse by the fact that many were unnecessary, duplicates or just plain pointless. So for the last few weeks of last year I made in my mission to clean it up.
New plan: move my hours around on Mondays, stay later, move all the meetings back to back and get everything out of the way for the rest of the week.
First day back and heres how the new plan is shaping out:
- 5:30pm meeting organiser decided we actually need 2 almost identical meetings instead. Sends out a big team meeting for the same time as my 1st meeting at 5pm, as well as the existing one for 5:30pm. Already agreed on by everyone else, so had to go.
- Cancelled my original 5pm meeting for today, said we'll re-arrange it for earlier going forward (not enough time for notice for remote team).
- Went into my new 5pm meeting, turns out we don't need 2. Got everything done by 5:30pm.
- Just to be safe though, a new invite will be sent around for the hour of 5 - 6 "Just in case".
- My 6pm meeting just got cancelled as she has a conflict (despite setting it up 2 months ago)
- Now I have to wait around, after hours for my 6:30 meeting.
..... believe it or not, this is progress.
Happy new year!6 -
I just cant fucking believe this bullshit!
THE PRODUCT YOU'RE ASKING FOR NOW ITS NOT THE PRODUCT WE AGREED ON MAKING. ALL THE ADDITIONAL FUNCTIONALITY AND CHANGES YOU WANT TAKE TIME!
I can't believe how rude can people be! We were supposed to stop working in this product MONTHS ago but you keep asking for changes, for additional things and then you yell at us just because we dont have it ready for yesterday?! You got some fucking balls man just fuck off. You have to understand the development process, every change you ask for can have consecuences that make us rewrite a bunch of code and we also need to test everything again and again to make sure it works! Gimme a break!4 -
I got some work on a new project so I ran the 500, or so, unit tests and it took almost 3 minutes. Everything was mocked and no external dependencies so I got curious as to how on earth they could take so long.
I found some suspicious code doing a while loop over a date range incrementing by 1 day each time. It turned out the tests didn't initialise the start date which defaults to 01/01/0001, and there are 5 scenarios!
I got test execution down to a respectful 10s.5 -
Me:
Totally riffing to my new playlist....
the ideas are just flowing.....
Code flying...
changing in my brain....
I think I've got I might have it.....
...... RING RING ITS THE MOTHERFUCKING BOSS,
Boss:
Why is the whole website down?
Me: WTF, looks fine here, all logs are clear.
Boss: I just got an email saying the whole thing is fucked. Stop everything and fix it now.
Me: but we just agreed dev is taking priority over any support issues within sla and I've checked from everywhere there are no issues, just data issues probably from user error.
Boss: Just get it back and figure it out!!!!! Why are you being difficult?
Me: okay whatever, let's patch each of these shits.
COULDVE SENT THIS ANYWHERE BUT NOW MY IDEA IS GOOOONEEE!!!!!! NULL FUCKING DATA FIELD ON A SINGLE FUCKING EMAIL....FRAAAAACKKK THIS4 -
After four months of working alone, finally got another developer at work. Unfortunately they hired him as my boss. He came to me yesterday with a new project and told me to drop everything I'm working on for it. I asked him the timeline for it, a week. Why. Why the fuck. Go fuck yourself.16
-
I love how i finish a project, dont touch ANYTHING for months, then a few months later i try to run it and NOTHING WORKS. I cant start. I cant compile. Now i have to update versions. Now developer mode has to be turned on and restarted phone. Now i have to configure something specific in xcode. Now i have to update xcode. Now it crashes. Now i have to modify something. AND IT NEVWR FUCKING ENDS. I DIDNT TOUCH SHIT SINCE THE LAST TIME I OPENED THIS PROJECT AND IT WORKED PERFECTLY FINE. I DIDNT EVEN CHANGE MY PHONE OR PC. I DIDNT EVEN DELETE THE REPOSITORY FROM MY PC. AND BY MAGIC EVERYTHING GOT FUCKED A FEW MONTHS LATER FOR NO REASON. NO. I WILL FUCK YOU. U WONT FUCK ME. FUCK U15
-
A client literally just told us "I don't wanna be telling you what I want / require / need. I just want you to give me the best you got."
Like wtf.
The worst thing is they've got but loads of money so we really have to take them serious. They were born rich and probably had a servant as a child who did everything for them without them asking to, and they'll continue to get away with it because they'll continue to be rich and there'll be people like us trying to kiss their ass for some of that money. I hate myself for doing it. They want a system to basically spy on their customers, and I'm a huge advocate of privacy, but I'll still do it for the money. Fuck this world.6 -
It's about a guy that knows better.
I was working as a subcontractor on a bigger system. We (subs) were not allowed to deploy code, we had to wait for contractor to deploy.
One day I got an email that my code is bugged and that my feature is not working on production. I checked it on test env, everything was fine. Then I checked if the code I wrote was deployed. It was not.
I send an email explaining that if they deployed my code it would be working. Then I got a response. There was a bug in my code.
Another email. I asked how would they know? Do they have a test on their environment that failed?
No. There is one guy that READ my code and he said it should not work, so he will not deploy it. He was not a programmer, he was a business consultant responsible for the documentation.
His issue was that I used a function that was not in a class. So if the function is not declared it's obvious it will not work. I had to explain to him in another email, that you can use object of another class inside your class and then call a function, that is not in your class. It was the last time this guy blocked my deploy.
TL;DR, I had to explain a non-dev how object composition works in order to have my code deployed. Took four emails.4 -
So I've decided to go about converting a Java project that I've been working on to Kotlin a little bit at a time. I started out with basic entity classes converting them to simple `data class`es in Kotlin.
Eventually, I got to my first beast of a class to refactor. This class had over 40 service classes depending on it, so even a little hiccup would throw everything into chaos.
I finish all of the changes on all of the dependent classes, update the tests, and the configurations (as necessary), and I was finally ready to spin up the app to test for any breaking changes I may have introduced...
Well - I broke everything! But I was sure I couldn't have! So what the hell happened?
Turns out that as I was building my project with a Gradle watch, at one point something failed to compile, which threw an unhandled exception in the gradle daemon that was never reported.
So when I tried to run my app, gradle would continually re-throw the error in the app I asked it to run...
After turning the daemon off and on again, the app worked like a charm.10 -
During the last couple of days, I got to hear quite a horrible story...
So we start at the beginning, where I have a dev-related chat with some other strangers on the internet. One of them was working on a custom protocol implementation with an API to go with it, written in Python. There were plans to migrate the codebase to another language like Rust in the long term. So the project seemed to be going well.
Another guy and the main subject of this chimed in on various of our messages, and long story short - he uses Express.js for everything he does, and he doesn't know jack shit on what he's talking about. Yet he still does.
Later we got the delight to hear that he had beaten up his mother, and that she's now in the hospital because of it, with broken arms, hands, fingers and severe bleeding. Yet he has the audacity to complain about his sore throat, caused by all his shouting. He refuses to seek any help, or to take medicines he's been given. This has been going on for several days now.
As much as I hate to even think about it, these too are "developers". I too have skeletons in my closet, but goddamn.. that these people even exist. The very idea that you may be talking to them every day. It disgusts me.16 -
I had a manager in a fortune 500 company encourage me to install a web cam with live feed in another team members cube as a prank. Being younger, I trusted him and so figured it would fine and just get a good laugh.
Then another member found the setup and reported it. Turns out, this broke so many company regulations, I could have been fired on the spot. They confiscated my laptop and I got the 3rd degree from my senior director, who told me I was lucky to be a contractor at the time or the situation would have been even worse.
Moral of the story for younger folks in large corporations... don't take everything your higher ups say as gospel. Think for yourself and do your own research if something feels iffy.2 -
Fuck. I can't take this shit anymore.
There was a project where we had to implement third-party system for government agency processes management. For some reason, probably because my work is cheap for my boss, the task was assigned to me. Just as a reminder, I'm a .NET Dev. Zero experience in server management. Zero experience in external services implementation.
Anyway, system producent, also an government agency, got angry, becasue they can only earn money on implementation. They have to give the software to other agencies for free. Because of that I've got client program, incomplete documentation and broken scripts for database creation. It took me 2 months to get it all to work but at the end client was happy, my boss got paid and I've got 500 PLN (~130 USD) bonus.
Everything was fine for a while, but after a month server has started freezing everyday, some time before 7 am. The only way I found to make it work again was to restore snapshot made everyday at 10 pm. For a month I was waking up earlier and restored snapshot, and after that my boss took it upon himself. I tried few times to find a bug and fix it, but to no effect. Even person with much more experience with it tried to help but also couldn't find anything.
My solution? Copy all the data and configuration, create new machine, copy everything and check if the problem persists. If not, kill old server. Client won't even notice. But nooooooooo... It would cost my boss a bit of money and I'd need to work on it and he can't let it be, because I'm the only developer working on his flagship product. He'd rather wake up everyday and restore snapshot. Okay, as you wish.
And today, finally, everything went downhill. Snapshot wasn't created, server froze, backup can't be created. Nothing can be done. Client is furious, because they have had reported this problem and a few times restoration was too late and they couldn't work. No one knows how to fix it, I'm not working today (I'm still studying and am available only 2 days) and situation is really shitty.
BUT SURE. ITS BETTER TO RESTORE SERVER EVERYDAY THAN JUST FUCKING FIX IT.
Oh, also, there's no staging or any other real backup. We have snapshots for each day and that's that. Boss' order. Why do I even care...7 -
We needed a design for our Android and iOS App, everything should be done by an award-winning design agency. What we received was only a design for iPhone X. Only mockups as PDF, no icons, nothing. So we requested the Android design and an iPhone 8 one including icons, color codes and whatnot.
1 FUCKING MONTH LATER we got the new designs... They are all the FUCKING SAME DESIGN where some mockups were "displayed" on an android phone, and some on an iPhone. Still no icons though.
3 weeks pass and we geht FUCKING sketch files, to extract the shit ourselves. Thank you for nothing.
It took again nearly 3 month to get a "proper" Android design and all the assets. You could clearly see, that they never did anything for Android but well, we had to work with it. Award-winning design agancy my ass.5 -
It was my internship and I've end up working on a law company specializing on Australian construction laws they're working on a website that will take care of all the paperworks for the contractors. They have a dev team who's working on it but they don't have a web designer. I was accepted for the job as an intern/web designer/tester. I was so happy that I've got a really cool internship as a designer but that's only for a second.
The hell starts on day one. They've told me that they're using agile workflow and that they need to make the website responsive. It was based on bootstrap and gosh their code was so broken. HTML tags overlay on each other, some are unclosed. I've tried to fix the problems and did a great job at that. Made the front page responsive and all laid out. When I went to the next php file it has a different header.php and footer.php and same problems apply and we're not even touching the worst.
They didn't use any version management and they're cowboying everything. Now that the website is on the staging server they use Cpanel text editor to edit the code! My headache started to pileup.
The Australian client asked me to provide icons and fix the colors of the website. Also the typography looks great already. I've fixed almost all the problems and I'm satisfied with the design when suddenly a new co-worker from a famous and expensive college was absorbed by the company. He worked as the marketing specialist who has no experience at web design at all. He told me to do this and that and the whole website changed. He bullied me for my skills in design (I'm an intern) and just took over the whole design. Everyone even the boss listen to him as if everything he say is right. He's skilled at design but not web design. He made the website look like a freakin movie poster.
All my works are for nothing, I got headache for nothing and I've got hated for nothing.
It was the day when I finished my internship. It was a long 3 months. After a month I've heard from my co-interns that the whole dev team was fired including the marketing specialist. Also the whole website is scrapped and has been rebuilt by a single guy who used WordPress which he did in only a month. -
So I was setting up my friend's NAS. Got everything worked in minutes (dns, port forwarding etc.). Enabled ftp connection tried it locally, working. Tried remotely, timed out...
After half an hour I was about to tear my hair out one by one when he suddenly said to wait a sec he knows what's the problem. Tapped two on his phone and suddenly, it's working.
THE FUCKING PHOTO UPLOADING FROM HIS PHONE TO THE CLOUD BLOCKED ALL INCOMING CONNECTIONS AND HE WAS AWARE OF THAT ALL ALONG. WHAT THE FUCK MAN, DO YOU ENJOY SEEING ME STRUGGLE?? That was literally an "I'm out" moment. -
Hey guys.
Arduino + Bluetooth + L293D + car Chacis and 4 DC motors.
Finaly finished my second bot/Drone.
Actually finished it yesterday but had lots of problems with hardware bugs (learned so fucking much in a day).
Tought I fucked two unos with bad soldering... No they are fine, just won't turn on in the circuit that was already working (was fine running the code).
Redone everything from scratch with a arduino uno, it's perfect now.
Funniest part is how I got my hands on a 50€ car kit for almost free... So some Chinese store sended this kit instead of some cheap stuff. Saved another arduino with the chip rack (that one that you can trade the atmega chip), I'll save it to program single chips. Plus a h bridge and lot lot more cool stuff.
Used only the Chacis.
Next: esp8266 and camera... And maby a gun? Would be cool32 -
While trying to integrate a third-party service:
Their Android SDK accepts almost anything as a UID, even floats and doubles. Which is odd, who uses those as UIDs? I pass an Integer instead. No errors. Seems like it's working. User shows up on their dashboard.
Next let's move onto using their data import API. Plug in everything just like I did on mobile. Whoa, got an error. "UIDs must be a string". What. Uh, but the SDK accepts everything with no error. Ok fine. Change both the SDK and API to return the UID as a string. No errors returned after changing the UIDs.
Check dashboard for user via UID. Uh, properties haven't been updating. Check search properties. Find out that UIDs can only be looked up as Integers. What? Why do you ask me to send it as a string via the API then? Contact support. Find out it created two distinct records with the UID, one as a string and the other as an Integer.
GFG.3 -
Sleep rant time!
As per usual, I got home late and tired, but wanted to keep on with learning to use Electron for a personal project. I setup everything, created the project and began to tinker with it.
One issue, the script I made was not loading, I spent like 30 minutes wondering why, reading docs (it was 12:40AM). When I was about to give in, I opened the index.html file and guess what? I IMPORTED THE SCRIPT AS A FUCKING STYLESHEET.
I laughed like 2 minutes, then shut the lid of my laptop and went to sleep and thought "Oh, so silly"3 -
Not exactly dev related but possible because of my job.
After an interesting and emotional change during the last 0.5years, I am still here in
Ireland.
My job is good, could be better but definitely the best I’ve had so far..
I’m only here because of my job, it wouldn’t have been possible (at least not as easily) if I wasn’t a software engineer.
One of my dreams I saved for for years in Switzerland finally became true with just saving 4 months over here because the government doesn’t take everything you have left at the end of the month.
I finally got an old Jap...
This is my 1997 Toyota MR2 I bought on Monday..
So happy..7 -
So apparently there was a prod issue all day today because some server app couldn't start up.
The error was caused by missing Params...
And seems everyone that got asked to look at it are pretty clueless.
I looked at the text msgs now cuz my phone wouldn't stop vibrating from notifs (yes it got that bad) and I'm thinking, of all the ppl you guys could've asked, no one reached out to me... Who well knows exactly it works, and how to fix it.
But the issue with the team is everyone works on everything but most people have no idea how the apps actually work...
Jack of all trades, master of none...
Anyways, sitting on the sidelines watching the chaos ain't too bad either....1 -
Once in university I needed to write a simple program in c++ and upload it to online complier which would pass test inputs. It was homework, but I was bored during the next lecture, so I wrote the program.
On my phone.
Directly into the "paste" window in browser.
It wasn't comfortable at all, so I wrote everything in one line.
And got bonus points from lecturer later.
After some questions, ofc, like "wtf why everything is in one line"3 -
So I read this morning about some web teacher. Here is my story:
In high school I had a teacher who was "THE GOTO WEB GUY", at least that was what other theachers thought. Here is what reallity looked liked in a lesson of his:
He comes up with some ancient example he just found on some tutorials page and he just remembered bits of how to do it. So when he got stuck he fired up a google search. When a student had a question he fired up a google search. Because he didn't know shit. Of course you cannot know everything but he was so cocky about his skills that it really annoyed me. Best part? He sold web sites (joomla) where his greates achievment was to change the color of the template. Everything he teached in that semester had I already learned through selfteaching and tutorials in an evening. -
I had a project where I completely suprised the client and the company within the beginning. It was silky smooth, working on multiplatform ios android,standalone. I wrote the most complex shader I ever made. Everything was great and I even got a bonus for the project.
Then one day. Videos started to stutter. Not playing, completely black on some cases and some devices.
I started to think about reasons. I tried every solution I come up with. No success.
Updated all the codecs, middleware still nothing. Tried to solve the problem for a week. It was a total diaaster and I even thought I a dont deserve to be a developer.
We encoded the videos a few times. Decided to export the original video again, boom! It worked. Theres no particular reason why it worked. But it worked. I guess I am a good developer. Not the best but, eh. -
Got fed up with having to use the mouse/trackpad while editing code or using the terminal, so I decided to (finally) learn proper vim keybindings and tmux.
Boooooy oh boy, this certainly changes things.
I think I'm in love with tmux. Damn that piece of software is so sexy. Disabled the mouse, propped up my dotfiles and installed tmux + my conf on all machines I use. It's so useful, so fast and so pretty...
Spent some time with vimtutor too. Finally getting faster with the keybindings. Installed neovim, got some plug-ins (nerdtree, fzf etc), disabled the mouse and arrow keys, and made it pretty. It's actually pretty nice, but I'm not at the "buff gorilla who took speed and pressed 24 keys in a microsecond" typing level yet. One day though.
Also I'm using the Nord color scheme on everything. Overall pretty satisfied with the end result. Still not as productive as I was with VS Code, but I think I'll eventually surpass my previous productivity levels.
If anyone has any tips for vim/nvim or tmux, feel free to share!10 -
Spent a month working on a website that relied on crawled data
Got the memory leaks and usage down from 700mb to ~150mb
CPU usage from ~100% to <5%
Shrink-wrapped the DB requirements based on data
Created self-supporting services and what not
When everything FINALLY worked good enough for me to look at it and go "damn, this actually worked"
the whole monitoring sys got dyed in red :v
A quick look up and my crawlers exhausted my godaddy's per-user db limits.
Kill me.
Just fuckin kill me.7 -
On my personal journey to better privacy!
Wanted to change to Qubes, but since I wind down with games, that won't happen sadly and it seems windows still doesn't support proper gpu passthrough either, so might eventually change to linux host and windows guest or create a VM I use for everything else that isn't gaming, since I still really love the idea of having a snapshot backup system.
So since that isn't quite in my timeframe right now though: first move was to move to firefox, already done the change on mobile (love having dark reader and ublock on mobile!), now setting it all up on desktop, pleasant surprise was for sure that firefox finally seems to have chromes devtools pretty much mirrored, even the mobile suite of tools.
Loading of pages is also finally fast and much snappier than chrome from the first testing I could do (on desktop, on mobile it still kind of sucks in comparison, but I can deal with that).
Please suggest me all sort of privacy tools you got, especially with firefox in mind, but also host tools, be it windows or linux (e.g. some sort of traffic obfuscator that visits random pages that are SFW but make automatic traffic filtering hard, could probably make my own, but if there's something like that already, why not), I'll save all I can use.44 -
I just logged into my bank account to see that everything has changed. More basic, primitive styling and in general it is shit. Why am I ranting about this, because I could tell from looking that it has been done to be more mobile friendly. Sure enough I resized the screen and everything snapped into place like it would on a mobile.
Now I've got to put up with an inefficient and more time consuming UX all because some twat in the bank has decided to pander to mobile devices nearly ten years after they've been introduced even though there's already a mobile banking app for that.
Responsive design is like living with a dwarf, because one of you is small, nobody else is allowed to have cupboards on walls anymore. Bastards!4 -
This is my first rant here, so I hope everyone has a good time reading it.
So, the company I am working for got me going on the task to do a rewrite of a firmware that was extended for about 20 years now. Which is fine, since all new machines will be on a new platform anyways. (The old firmware was written for an 8051 initially. That thing has 256 byte of ram. Just imagine the usage of unions and bitfields...)
So, me and a few colleagues go ahead and start from scratch.
In the meantime however, the client has hired one single lonely developer. Keep in mind that nobody there understands code!
And oh boy did he go nuts on the old code, only for having it used on the very last machine of the old platform, ever! Everything after that one will have our firmware!
There are other machines in that series, using the original extended firmware. Nothing is compatible, bootloaders do not match, memory layouts do not match, code is a horrible mess now, the client is writing the specification RIGHT NOW (mind, the machine is already sold to customers), there are no tests, and for the grand finale, the guy canceled his job and went to a different company. Did I mention the bugs it has and the features it lacks?
Guess who's got to maintain that single abomination of a firmware now?1 -
hello devranters,
been a while, past few weeks have been a painful one for me.
I finally got that second monitor and also built the small home server( I'll give details in another rant).
been a lot going on around me, there's a protest going on and a lot of young "unarmed" people including children killed, lots of gory images, all we were asking for was to stop police brutality, they're still shooting at people. it's a lot going on here. I can't even concentrate. I took some time off social media because all the bodies I was seeing was beginning to get into my head.
I really can't Express how I feel right now. we were expecting the international community(I really dont know who exactly) to come to our aid, lol
It's all over Twitter. images, videos, everything.
I just hope everything gets better.
the image is my new setup. I just log hello world on the console and that's all I do with it.
my table is basically two wooden slabs supported by textbooks on chairs(at last I found use for them since I never read them in school ). server is under the table.
keep us in your prayers. thanks7 -
New episode on my clients being morons.
Got a call this morning:
Client: hello, we've got a problem here...
Me: tell me about it
C: well... Do you remember the 1200 account we loaded last week ?
Me: yes? What's wrong, we tested them, everything was alright.
C: yeah... But we just noticed we loaded them in the wrong status... Fix that!
Me: easy, we clear the database and load the correct data back.
C: NO WAY! We already worked on 3 accounts. Don't want to lose any of that. Just change the status, it's easy
Me: well not really, there's a lot more going on when you go from one status to another.
C: Don't care, just do it
So... now I need to delete the bad data, checking nothing else gets impacted in the application. And then reload that same data with the proper status this time.
As weird as this sounds like, this is the reason why I love my job. You get challenges like that every single day.4 -
I spent two weeks writing a WordPress plugin to take some form data, process it through another website, and take the result to Salesforce. the client had a "Salesforce specialist" doing everything on the Salesforce side and refused to give me access to see if the data was properly pushed through.
Finally I got it in working condition when suddenly it stopped working, I hadn't changed anything since it worked so I asked if he could have possibly changed something. We argued for over 4 hours about who changed something, the whole time I was looking for the error in my code. At 6pm I finally told him I would need to take a look at it tomorrow.
Overnight he sent me an email:
"Hey, sorry about the confusion yesterday, I set Salesforce to deny duplicate email entries, looks like once I removed that everything is working."6 -
This happened a few weeks ago at school.
The previous semester we had to work in a group to make a basic Android application. After handing it in to the teacher, we had to present it in front off the class.
During this project, one of the groups was having some problems with a member, mainly because of misunderstandings and miscommunication. He definitely has technical skills, but he really needs to work on his focus and communicational skills.
The member was removed from the group and had to do it on his own. He had 2 days to make the app, which we initially got 2 weeks for.
Skip forward to presentation day.
Every group presented their app and got feedback from the teacher and the rest of the students.
Lastly, the guy that was on his own was giving his presentation. He started his powerpoint and explained what happened during the project and what went wrong. Then he said: "This is a black page in my school career, everything that could have gone wrong, went wrong". Immediately after saying this, he proceeds to go to the next slide: His laptop crashed, Blue Screen Of Death.
This was one of the most painful moments I've ever witnessed during a presentation.
I couldn't believe the timing of Windows to fuck up.2 -
Yesterday I got stoned as never before with a few friends of mine. I don't remember everything, but appearantly I coded a neural network using synaptic.js that teaches itself addition. That's impressive because it's my first NN ever.
Also, my friends are pissed now, because I was on my laptop the whole time doing "some advanced IT stuff".2 -
A BIG SHOUTOUT TO MY FRIEND @theKarlisK
He is the real MVP.
We both spent the weekend to setup OpenVPN + Pi-Hole on Oracle free tier.
He hand held me through the entire process, was super patient with my silly queries and in fact explained me everything so well that it got imprinted in my mind.
And ofc, he was super quick to debug and resolve issues and handed me all the commands for quick execution.
Super glad to have worked with him on this project.11 -
I applied for a frontend dev position.
The HR sent me a mail with details for MERN developer position (Full-stack) and asked me do an assignment with frontend and backend 🤔
I requested to clarify if I'm supposed to do only frontend as that's the position I applied for.
No response on that. They got back and requested me to schedule an interview.
I have worked with NodeJS before but I primarily work on the frontend, still I went along with it anyway.
I aced the first two rounds, but for the final round they emphasized on the backend and then it went downhill. At the end they said I was really good on the frontend but for that position they needed someone particularly with expertise on the backend. 🤷♂️
Well, I didn't intend to work Full-stack anyway.
They wanted me do everything and also lead the team and mentor juniors and take ownership of multiple projects.
I mean, why would I want to work the job of two people (or more) and not get paid that much 🤨5 -
Gotta love Linux!
Wanted to install Arch on my Rasperry PI yesterday, but don't have a cardreader on my PC. Still had an SD with a different distro (RasPlex) lying around. Popped that in, connected power and ethernet only, looked up the default SSH credentials and got to a blinking terminal on my desktop PC.
Well, how am I gonna format my microSD? Rasplex comes without fdisk, and I booted it from the only microSD slot.
Well, here we go - Extracted arch to a usb thumb drive, chrooted into it, switched microSD cards, partitioned and formatted it from the USB-Arch, installed Arch on it, chrooted from Arch to Arch (😁), set up drivers, network and ssh access, rebooted to my why-the-hell-not distro.
Everything worked!3 -
tldr; Windows security sucks. You as a org-admin cant do anything about it. Encrypt your device. Disable USB Live boot in the bios and protect it with a STRONG password.
First of i just want to say that i DO NOT want to start the good ol' Linux VS Windows debate. I'm just ranting about Windows Security here...
Second, here's why i did all of this. I did all of this mainly becuase i wanted to install some programs on my laptop but also to prove that you can't lock down a Windows pc. I don't recomend doing this since this is against the contract i signed.
So when i got my Laptop from my school i wanted to install some programs on it, sush as VS Code and Spotify. They were not avalible in the 'Software Center' so i had to find another way. Since this was when we still used Windows 7 it was quite easy to turn sticky keys in to a command prompt. I did it this way (https://github.com/olback/...). I decided to write a tutorial while i was at it becuase i didn't find any online using this exact method. I couldn't boot from a USB cause it's disabled in the bios wich is protected by a password. Okey, Sticky keys are now CMD. So let's spam SHIFT 5 times before i log in? Yeah, thanks for the command promt. Running 'whoami' returned 'NT SYSTEM'. Apparantly NT System has domain administator rights wich allowed me to make me an Administrator on the machine. So i installed Everything i wanted, Everything was fine untill it was time to migrate to a new domain. It failed of course. So i handed my Laptop to the IT retards (No offense to people working in IT and managing orgs) and got it back the day after, With Windows 10. Windows 10 is not really a problem, i don't mind it. The thing is, i can't use any of the usual Sticky keys to CMD methods since they're all fixed in W10. So what did i do? Moved the Laptop disk to my main PC and copied cmd.exe to sethc.exe. And there we go again. CMD running as NT System on Windows 10. Made myself admin again, installed Everything i needed. Then i wanted to change my wallpaper and lockscreen, had to turn to PowerShell for this since ALL settings are managed by my School. After some messing arround everything is as i want it now.
'Oh this isnt a problem bla bla bla'. Yes, this is a problem. If someone gets physical access your PC/Laptop they can gain access to Everything on it. They can change your password on it since the command promt is running as NT SYSTEM. So please, protect your data and other private information you have on your pc. Encypt your machine and disable USB Live boot.
Have a good wekend!
*With exceptions for spelling errors and horrible grammar.4 -
https://iknowwhatyoudownload.com/
if private tracker then no problem, but on public IP, everything gets listed down.
Problem here is i didn't download any of it, and i also got tagged as "likes porn" (what kind of shit is that ??)
how did this list was generated in the first place ?18 -
Owner of the company I freelance for: The proposal I sent yesterday to [PR Company we do work for] got bounced back. They said it was incomplete.
Me: Well no shit, they didn't provide us with a detailed itinerary of everything they need, nor did they give us access to sections that they want copied to the new website. I can't and won't provide a full quote when I don't have all the information needed to build one. I would be guessing at this point and it would be shitty guesses.
Owner: Here's a proposal they got from another company. We need to make it like this [sends file].
Me: They mention a one sentence footnote about what I laid out. Everything else is marketing jargon that I don't know, because I'm a developer, not a marketer. I'm not sure what it is you want me to do, because you're asking the wrong person.
Owner: Are you going to help me or not?
Me: Help you with what? You got my notes. Paraphrase them if you need to, but I have more important things on my agenda, like being a web developer, not a proposal drafter. -
I was so annoyed by my acne over the past few years that today I went and got the entire area of my facial skin blasted with laser. Now, a several microns thin veneer, containing all that ugly pore openings, is removed.
Isotretinoin, benzoylperoxid, all failed. But I'm not afraid of trying newer methods. Now, serums will be used to grow new skin differently than it might have grown back on its own.
When it grows back, another laser will be used to destroy sebaceous glands. Blackheads and bumps will be physically impossible. A new skin. Even. Glowing. Artificial. Absolutely flawless, absolutely perfect. What a nice reflection of my vision on every thing I make.
When god was sitting in its room, chewing on a donut and designing the world we live in, he never thought much of humans. He got bored and went for a smoke with other gods of other worlds. Little did he know, there was a knock on his door, and a consequential rush of anxiety in realization that it was no fellow god friend, but a human. A human of the generation that figured out Theory of Everything, CRISPR and immortality. Desperate, dirty apes dared to trick silicon sand into thinking, and now they're there, not to talk, but to kill him, a privileged astral plane kid who fell short of those apes who figured everything out on their own.
Disease is natural. Death is natural.
Eternal things are artificial.6 -
Seriously, y'all shitting on CORS but why? literally, why? it protects you. If you need an external api, could you please be fucking bothered to setup redirects, so it's /api and not fucking https://amazon23984723984723984.aws239847329847230948.spyware/...? duh
people who allow cors from "*" are the same people who always do everything with superuser rights. you're the reason why I always got offers23 -
I fucking got scammed.
Scenario 1: Had literally no experience in B2C, no experience in experimentation, 0% fitment.
Verdict: got hired in just one round in a top domestic brand which is a profit making startup.
Scenario 2: A friend from ex-org got referred in a global brand for an international location. Hadn't interviewed for 4+ years. Created his resume in 15 minutes, got shortlisted, screened, interviewed, and hired in less than 2 weeks.
(This guy is a good friend I am incredibly happy for him and that he scored the gig and in now way I wish bad for his outcome).
Scenario 3: I also got a strong refferal for the same brand and location. I have been interviewing for past 6 months, resume is super polished where companies like FAANG spoke to me.
Got rejected in shortlisting. The referral guy got me in the pool because it was his team
In screening round, I was a good fit, answered everything well. Yes, I wasn't concise as much (and that's the feedback I kept getting and I was working on it).
Verdict: rejected. They didn't ask me relevant questions and rejected me on the basis of not having the required experience.
Seems like the hiring manager didn't want me to clear so came up with reasons.
And now it feels that, if the HM wants you, they'll hire you irrespective of anything and if they don't they'll kick you out for lamest of the reason.
My life is split in two part, the first three decades were surely shit and this was my last chance of making sure the next three are worth remembering on the death bed.
I failed. Miserably. For the factors outside of my control. Not that I haven't failed in past. Not that I didn't try again.
But man, I am doing persisting. The game is rigged. One cannot win without extreme luck.
Millions of dreams shattered. A shitty day, is now a shitty life.
Being born in third nation is a fucking curse.5 -
A million years ago I used and loved a WM called waimea. I used it extensively, and even used it on my work machine. It was abandoned by its author for whatever reason, in 2004. I used a derivative wm for a while, called kahakai and loved that too. Since that time, everything has gone from 32bit to 64, and waimea got buried in the past.
Fast forward to this past weekend, when I discovered, on a whim, that there is an AUR for waimea! There was not one for kahakai though-- that appears to have been genuinely abandoned.
So I installed waimea and started working on configuring it, with only a man page and the wayback machine as a reference. As of a couple days into the effort, I'm not quite there yet, but I love the results so far.2 -
!rant
I promised myself I wouldnt cry but ... nah I wont.
So I got the job and today was my first day of work, well not precisely work but introduction to the cultuure of the place, signing tons of paper, I probably sold my soul but who cares?, and I met my team, so far everything seems cool, except tthat I will be using windows and wont be able to use any streaming websites or services (yt, spotify, deezer, etc) yes I know, there are ways around it, but come on guys I dont wanna start screwing my first week of work, anyway everything is cool, even the food is tasty there iis only one thing left, my workspace Im an extremely bad decorator so I need ur help, (and yes I know i have to have a duck and a devrant stressball) but apart from that guys and gals, any ideas? So far ive thought about a debugging body, a lava lamp and an extra monitor.undefined uselesstag1 not a rant pichardo for president happy new job uselesstag2 workspace help wanted15 -
It was a hackathon about this new very interesting totally-not-abused technology called Blockchain, so obviously I ignored everything and focused on picking up this cute tsundere girl (I did).
And somehow still got 2nd place lol ¯\_(ツ)_/¯1 -
I never use linux, we are entirely on windows everything at work...i'm a .net guy, and all my home stuff is on windows too. But, I have to take a linux class so I got ubuntu going on a virtual box. Prompt for updates comes up (shit, here we go. on a virtual machine with hardly any resources allocated to it no less, better get comfortable). Hit install and it's done before I can even finish shitting my pants in shock at its speed. Seeing all these "linux is better" rants in a slightly different light already, and looking forward to poking around with it5
-
At Uni i have a course that basically teaches us how to use python for simulations. So I made all the assignments and everything worked like expected on my computer. After I got my grade back, I checked the corrected file and I saw that in an entire assignment the code did not work. 🙁 So of course I dubblechecked if the code that I wrote really didn’t work. And again the code ran fine on my pc. So I send an email to the TA with my complaint. Today he replied with an email that the code still didn’t work and that he couldn’t give me any points for it.
Next step: his office 🧐13 -
work from home. desk and pretty much everything with it stolen in family dispute. I'm holding my laptop on a small nightstand. finally got a new pc today at least :/1
-
Just got my raspberry pi, installed lubuntu, openssh and sshed into it.
Adjusting to command line only and ubuntu is hard.
I dont know where everything is located and how to get stuff done.
But I will keep on trucking till I figure it out!!4 -
I get it, Java is an old language that's verbose as the day is long. But damn, please don't make it *even more verbose* than it needs to be. We've got the tools now to make it at least somewhat tolerable.
I mean, come on, we've got lombok, we've got streams, and we've had Comparator.comparing since Java 8. That's the best part of a decade you've had the luxury of writing single line comparator implementations out the box, but noooo, certain people have to pretend they're stuck in the 90's by thinking these multiple if / else statements are somehow still the best way of doing things.
Dahhh. Skill up people. This is not an industry where you can just do everything how you did it 20 years ago and call it good.5 -
This was the best hack when I was 11. My computer had a too small fan that was always on max speed, and thus really loud. To overcome this issue I wrapped a thick blanket around the entire computer case. A week later it broke down due to the obvious heating problem, and when it came back from service the repair technician just looked at me saying "Someone has had this computer fucked up intentionally, everything is melted from within. What have you done to it?!" Me being the piece of shit that I was just denied and got a brand new PC for free, nobody ever knew..
-
So I had a really big personal project the last 2 years, which certainly thaught me a lot. But on Tuesday this week it got shut down. How you ask? Let me first explain what kind of project it was.
It was a mobile application for my school to look up substitutions and events, read news and some other stuff. I talked about it with the principal a lot, but back 1 year they said there were too few features. So the last year I spent improving and adding features.
Then the last few weeks, it was time to make everything ready and talking with the leadership of the school about everything necessary. Then one big problem arose. No teacher in school could maintain the app, the ones who maintained IT-Stuff at school left this year.
So it was decided to "kill" the app and wait for an IT interested teacher to come.
And now every day of the week, I sat infront of my PC and didn't know what to do...6 -
Boss: Hey! I know you just got everything working on that new project. But good news: I have a repo you can clone and we can work together. So just clone that and look at my changes, find something that’s broken, and work away. Oh, I also modified everything to use HTTPS locally. HTTP won’t work anymore. Alright, I’m off on vacation! Ciao!
… and that’s the story of how I spent a day and a half fighting with NPM, Brew, setting up a new CA and self-signed cert, and getting passenger to work with it. The good news is that I can connect locally via 443. The bad news is all assets use http and are thus blocked for being mixed-content. And idk how to fix it. Joy!
Not mentioned: npx removing a required package every time I run it, version mismatches, and the usual NPM problems.11 -
So our main web server got ransomware'd.
By some miracle only a shared directory was compromised and not the whole server.
The server is on an end-of-life OS (Win Server 2008r2), no antivirus solution, no WAF, no log hardening or aggregation, so basically our Security MSP told us "lol good luck finding the attack origin, nuke it and rebuild it correctly this time"
Thing is IT leadership is like "Eh, no harm done, everything is fine" and want to sweep it under the rug and not report it to senior management.
How do i go about convincing them that this is actually important and for once in their life, they should give a fuck ? (This web server is the main moneymaker, it goes tits up and heads are gonna roll).9 -
Before I decided to learn C, I had heard tell of pointers being "hard to use". Of course I thought "maybe so, " after all, that was basically the only thing I heard about pointers, "they are hard!".
And so, when I learned C, and I got to the part about pointers, I was expecting at least some trouble (I can't know everything) and it was just... easy? Maybe the trickiest thing was how * has two different meanings based on the context (declare/dereference) but that was easy too.
Why the hell is all I hear from people about pointers is that they're difficult?15 -
FUCKING FUCK ANGULAR!!!!
LIKE FUCK IT IN THE ARSE AND BURN THE MOTHERFUCKER WHILE LAUNCHING A MISSILE ON IT TO BE SURE!
(ノ≧∇≦)ノ ミ ┸━┸
So I am making something on angular and I got everything running in ng serve(development environment) , after handling all issues and showing it to my boss man he approves and asked to put it up on prod for a demo , doesn’t sound like an issue , I make the prod build on cli and BAM! 16 errors ? No issues right?, I’ll just google the issue. Googles.... there aren’t no clear solutions to it as the angular version keeps changing and nobody knows what broke it, I mean people have the issue,but like 100 reasons that can cause it,
HOLY LORD RELEASE A NEWER VERSION AFTER MENDING THE OLD ONE
But nooooooo!
Angular Dev:We fucked this one, lol what should we do boss man?
Angular boss man: lol just leave it, we need to build the new version with newer bugs,
P.S. I like angular, but it’s like a underdeveloped framework, too many issues and too many changes2 -
$ rsync /media/elements /media/data
... Why the fuck are existing files being synchronized as well.. they're the exact goddamn files rsync!!!
^Z
$ stat /media/elements/some.file
$ stat /media/data/some.file
Hmm 🤔 so they've got the same access and modify times, same size and everything, just that the change time is different.. well, guess I'll have to bite the pill then, syncing everything it is 🙁
Next day: rsync aborted because disk quota is exceeded
What the...
*Checks storage consumption on /media/data*
COMPLETELY FILLED TO THE BRIM
Oh God 😰 I didn't completely copy over a duplicate of that elements directory, did I?
$ ls -sh /media/data/elements
*exists*
$ du -sh /media/data/elements
1.4TB
But why..? All because I forgot a single / in my rsync command.
Please kill -9 me 🙂🔫1 -
(first post/rant on here)
So I recently started at a new company. I was kinda aware that the project I'm working on would be rather old school (to put it in a nice way :-)).
Part of my job is to 'industrialize' and update/clean up the existing code so there is less time spent on fixing bugs due to bad design.
One of the first things I had to do was to write a new interface to integrate with external software.
I already noticed some rather nasty habits, like prefixing every variable with m (don't know why), private fields for every property (all simple properties) and a whole lot of other stuff that either is obsolete or just bad practice.
Started writing clean code (simple classes with properties only, no m prefixing, making sure everything is single responsibility, unit tests, ...).
So I check in the code, don't hear much from it again besides the original dev/architect that started the project using my code to further work on that integration.
Now recently I started converting everything from TFVC to Git (which is the company standard but wasn't used by our team yet). And I quickly skimmed through my code to check if everything was there before pushing it to the remote repo.
To my surprise, all the code I had written was replaced by m prefixed private variables used in simple properties. BL classes were thrown in together, creating giant monstrosities that did everything. And last but not least, all unit tests were commented out.
Not sure what I got myself into ... but the facepalming has commenced.14 -
Saturday 9.00 AM. I was sleeping, my colleague (on holiday) sent me a text: "We got a problem on our system, probably we ran out of space". I checked the log and found out that several cron jobs failed due to not enough space on the disk. I started deleting some unnecessary logs (we're paranoid) and ended up to squeeze the vm like a lemon to save some space. Sent an email to the sysadmin, "We got to add more space ASAP, users are getting 500 errror for almost everything". Silence. I thought to myself: "Until monday we're safe..". I did a df (96%) and sent a screen to the sysadmin, just to be sure that we understood each other. Finally monday comes, nobody worries about the issue. At noon I literally takled the guy of IT dept. "Yeah, we read your email. I think the sysadmin didn't take you seriously". "Why? Which part of 'we're running out of space' isn't serious?!!!". "He just told me that we have unlimited space on that vm". Unlimited space...sure.... "Right.....the disk is at 96%, buuuuut if he said so No news to worry. Don't call me if everything burns. Have a good day!!!"4
-
How's the week so far you ask?
> I got dumped with unacceptable reason, I cannot swallow that reason
> My boss says I haven't been doing good work (I'm fresh off the boat)
> I've been working alone for 3 hours extra, because my team members are on CL (again fresh off the boat)
> I've been stuck on an issue which is already live since a week, because according to seniors I have to do it.
Personally, I've lost interest in everything and I and being nihilist.11 -
TL;DR my first vps got hacked, the attacker flooded my server log when I successfully discovered and removed him so I couldn't use my server anymore because the log was taking up all the space on the server.
The first Linux VPN I ever had (when I was a noob and had just started with vServers and Linux in general, obviously) got hacked within 2 moths since I got it.
As I didn't knew much about securing a Linux server, I made all these "rookie" mistakes: having ssh on port 22, allowing root access via ssh, no key auth...
So, the server got hacked without me even noticing. Some time later, I received a mail from my hoster who said "hello, someone (probably you) is running portscans from your server" of which I had no idea... So I looked in the logs, and BAM, "successful root login" from an IP address which wasn't me.
After I found out the server got hacked, I reinstalled the whole server, changed the port and activated key auth and installed fail2ban.
Some days later, when I finally configured everything the way I wanted, I observed I couldn't do anything with that server anymore. Found out there was absolutely no space on the server. Made a scan to find files to delete and found a logfile. The ssh logfile. I took up a freaking 95 GB of space (of a total of 100gb on the server). Turned out the guy who broke into my server got upset I discovered him and bruteforced the shit out of my server flooding the logs with failed login attempts...
I guess I learnt how to properly secure a server from this attack 💪3 -
So i just saw a post about not pushing to production on Friday's and that reminded me of something.
A team we are working with (we needed help on something so we got another company to send us a team and do it for us) recently push to production on a Friday at around 5pm.
We didn't know that they had done it until a shit ton of errors started happening and we had no idea why (it was working so far, none of us did anything, so what the fuck is going on).
To make things better, one of my colleagues tried calling them and they wouldn't answer the phone. They knew what they did, so they went home before we could notice it and we had to correct their mistake.
We had everyone calling us saying they had gotten an error, and they needed to get home but couldn't because of it (it messed up a process that only happens at the end of the day before people go home. I can explain more in the comments if anyone is confused, or just wants to know).
Eventually everything was solved, but that was a very stressful ending of the week.
So yeah, don't deploy on Friday's please and thank you7 -
!dev
Fucking money problems..
Had 20k on the side before relocating..
Old country wanted 10k taxes, 10k left..
Flight, hotel etc 2k..
8k left..
Bought a cheap car, 5.5k left..
After the rental cars, 3k left..
Bank blocks card because of potential fraud, so I can’t pay the insurance and have to take another rental car..
2.5k left.
2.4k deposit so I can’t pay the insurance for 2k..
At least 0.4k left and first salary comes in, but since I’m new, I’m on emergency tax so I only got about 1.5k.. will get the taxes back later but for February I’m so fucking broke..
At least everything is paid now so I can start to safe from 0 again...
Fuuuccckkkk..
Totally worth it though..
#lifeIsSoMuchBetterOverHere,ImNeverGoingBack..
#iDontThinkCommasInHashtagsAreAllowedButIDontGiveAFuck!9 -
Years ago, one of my friends in college was taking an intro to CS class. He asked me for help on one of his assignments. It was a simple Python program, but it wasn't running as expected. I go in figuring it will be easy to fix. But everything looks exactly right. An hour later I'm tearing my hair out! It isn't even entering the function although it's clearly called. I'm beginning to feel very self conscious, as a CS major who can't even debug a 15 line program for a friend.
Then it hit me. This is Python. I used an editor macro to convert all indentation to tabs, lined them up, and it ran on the first try. Turns out, he had somehow ended up with a mixture of tabs and spaces.
I'm not sure what the takeaway is, but I think he got a surprisingly honest introduction to the life of a developer...2 -
Group assignment in a software engineering class. Got that notorious lazy kid in my group of four who failed the class in the last term. I was perfectly aware of his reputation, but accepted him in the group nonetheless, because he already knows what needs to be done in the class.
He started to work on his assignment: mostly boilerplate code that didn't even build. He didn't even bother to fix it. I had a lot of time over the Easter weekend, so I decided to just code as much for the assignment as possible for the mid-term submission. I replaced his broken boilerplate stuff with a working solution. I told the others in the group chat about it. Code works and builds, test coverage is high. Everything is fine.
The lazy kid replied to the group chat, that if I'd wanted to code and document(!) everything on my own, I should have told him in the first place. Also got that "fuck off" emoji in the message. So I restored his broken boilerplate stuff using git, even fixed the build errors and told him to explain to me what he tried to achieve, and that I'd be happy to include his code as soon as it worked. Didn't hear anything since. Commits neither.
I guess he was just looking for an excuse for not doing additional work in the project. -
Whaaaat theeeee actual fuuuuuuuuck. So basically I've got a server running and everything is fine. All services are working and I can access the webserver running on it over every browser. But randomly my ssh access stopped working (can connect but doesn't return shit after last login message) and when loading the web config thingie from my provider it gives me an empty response (all other pages from the provider are working). So basically I've got a working server I cannot access. But I'd like to access it and cannot even restart that shitty thing.
Anybody else had a problem like that or has any idea wtf is going on?5 -
Upgraded from a gen 6 motherboard and cpu to a gen 11. And the difference is asounding.
My old setup did everything I needed it to pretty well. Hell it got me through college as well as multiple part time and full time jobs. As well as the system that I learned about 80% of what I know specifically for my career
But alas the old cpu's age started showing and I'd consistently throttle multiple threads when compiling or even just using 7z on large folders. Hell deleting anything above a couple hundred mb would pause for a few seconds
The new cpu is immensely faster on such tasks (probably cause of the extra 2 cores and cpu improvements since gen 6)
I haven't been this excited since I got my first SSD a few years ago and saw the immense boot time improvements. Maybe soon I'll get an nvme drive and really be zooming with this setup 🤣🤣🤣6 -
I got an extremely hard task in the morning, I asked for some clarification and I got them at 13.23.
Boss ask for updates at 13.45 (during lunch pause).
I work on it 2 hours like never before, he calls me and I said I can manage to finish in half an hour + testing.
I work more 10-15 minutes, time is around 16.15.
2 other enormous bugs shows up on the same project, boss ask me to take care of them, and I manage in only 2h to look up something like 40 web pages and correct each of them, write reports and inform the affected people. After it I work more 15 minutes to report and finish small tasks. Ended up working almost 1h more on a non paid extra time working contract.
In the morning, while my boss was aware I spent that time
In the morning boss ask "everything went fine with the big project, right?"
Because
The
Client
Is
Angry.
I already got a burnout from this job, I really can't go on like this.2 -
So, unlike normal people who just click on an mp3 file in windows explorer, I'm listening to music saved on my windows hard drive, accessed via an sshfs mount, using VLC running inside a HyperV linux VM and Xming/pulseaudio to make it show up inside windows like a normal window and play sound.
Why? Because this is my replacement for WSL which broke (Good Job on the updates as always, M$) and I'm celebrating that I got everything* to work.
* Nevermind the hours I wasted because I forgot to add a rule to the windows firewall allowing pulseaudio to connect and the fact that Xming can't handle vlc playing video7 -
hey everyone.
guess what - it’s my anniversary of first joining devRant. I joined exactly 0x16d days ago, and it’s been great.
ive learnt so much, made more stuff, and y’all are great.
id like to follow up on my resolutions from last year ( https://devrant.com/rants/364344/... ), and im proud to say i did everything except the 3d game (i was looking opengl and got distracted by opencl).
when i first saw devRant, i was on a plane, coming home. i saw a news article and decided to check it out, and when i joined i quickly realized i was the second youngest on the platform. one year, 316 rants, 2181 comments, and a score of 18594++ later, here i am.
thanks for this wonderful platform!20 -
I just got a new phone, a Tecno device with a measly 8GB internal storage. Decided I'll have to root it, and force part of my class 10, 32GB mem card as adopted storage.
Went online, learnt for a few weeks, successfully rooted, and began enjoying the vast benefits.
But there are no good endings. Months later, while doing some heavy gaming, my phone reboots... and everything on the memory, pack up and go on a vacation... -
So last week I got my second 3D printer. I have done a few prints with it and this weekend I wanted to connect it to an Octoprint instance on my Raspberry Pi. Yesterday everything went great, got some plugins installed, changed all settings within octopi, connected it to my network and this morning I thought let's connect it to my printer and try to print something with it. But everytime I executed my gcode it gave an error about the heated bed not being able to heat up. Even though I did see all communication between the printer and octopi, on both ends.
I've disassembled the build plate to see what could be causing the heating issue. Did not see anything. Strange...
I assembled the whole thing again and then turned on the printer and tried printing again. Hmm, now it does work, why? Me thinking a bit and then realizing that before I didn't hit the power switch on the printer and apparently the Pi gave enough power through USB to turn on the display and do basic logic like doing beeps on touches and changing variables on the screen. The worst thing is that octoprint gave me warnings about low voltage on the Pi even though I was using the official Raspberry Pi power adapter...2 -
Spam assassin kills most of the spam I get before I see it. It works pretty well. However, I started getting a fuck ton of spam from some asshole on a Turkey server. You cannot forward spam to the gov anymore so what to do (They use a honeypot. Apparently it doesn't catch everything.)? Well I got the abuse email account address for the server. Then I went into my servers spam filter for the email address I am having issues with. Then I redirect the email to this abuse email address. Then I delete it from the server. This makes it so my email client never sees the message and I automagically notify the abuse account. If the abuse account is owned by the spammer then he is just filling up his own server with shit.
Anybody else have fun or interesting ways with dealing with spam the regular filters don't catch?3 -
why is everyone hating on python lately?
I know it's not perfect, and it takes care of a lot of shit for you. and it's slow, and doesn't have a decent compiler, and PEP 8 encroaches on everything good in the world, and mandatory whitespace, etc.
yea. it's got some issues. but it's still a good language imo. and it's easy to write, it's fun to write, it looks nice (not Ruby level nice but ehh). not worthy of all the "fuck python!" talk.21 -
Fucking shit for brains authors that think the digital world is a fantasy realm where everything can happen just to aid their story. Out of boredom i watched "scorpion" today, a tv series about a group of geniusses which are a special case task force.
They got a visitor from the government saying the servers from the federal reserve bank were encrypted with ransomware. I already twitched when they said the economic system would collapse if the servers were left inoperational for a few days. Then one guy got to his desk and "hacked" the fed network to check... he then tried to remove the malware but "it changed itself when observed". But they got the magical fingerprint of the device that uploaded it. In the end some non-programmers created the malware, but it is super fast and dangerous because it runs on a quantum computer which makes it hyper fast and dangerous. They got to the quantum computer which was a glowing cube inside another cube with lasers going into it and they had to use mirrors to divert the lasers to slow down that quantum thingy. And be careful with that, otherwise it explodes. In the end the anti-malware battled the malware and won, all in a matter of minutes.
This is a multimillion hollywood production. How can a movie this abusive to computer science even air on television? Shit like this is the reason people still think the cyberworld is some instable thing that can explode any second. It's not, it's an instable thing that can break down any second. I remember "ghost in the wires" and people had surreal imaginations about the internet already. Shit like this is why people stay dumb and think everything can be done in seconds. If i ever should encounter one of these idiots i tell him i have an app that can publish his browser history by taking a picture of his phone and watch his reaction.
Time to shuw down the tv and learn vim again.11 -
Most intense day for me was at the very start of my career. Internship... went with product manager to client's office while PM installed new test version of our product for on-site integration testing. Shortly after deploy, client manager came over to ask why production had gone down...
Turns out that manually typing DB name as part of deployment script is not, erm, risk free. PM entered production DB name and took out a very busy call centre for a few hours. Agents in tears, customers raging on phones, etc! After we restored and got everything back up and running, he reached me the keyboard and said "You're doing it this time."
My attempt was problem free, thankfully. Earned many brownie points that day.1 -
My killer PR:
I made a small feature and it was to be merged in my senior's branch.
So I made it, resolved all the conflicts and when it got merged it broke my senior's branch.
This is nothing new and it happens, so me and him sat down and got it working. After two days, his branch got merged and broke it's parent 😂, after investigation my code was the reason, got fixed and merged.
Same thing happened 3 more times, and every time my code was the culprit.
Now for staging we thoroughly tested everything and deployed it, after running for 2 hours the piece of shit broke again 😂😂😂.
A meeting was arranged for scolding the team, and after the meeting the architect comes to me and say "how did you manage to fuck things on so many levels, literally?". I handled it like a pro with an awkward laugh.
We exhaustively checked it for production. Deployed, it did not broke, we were happy. After a month of successful run, I just joked about the above incident while we were working on next release on morning coffee. That cursed thing broke on the same evening. I was like 😮2 -
!dev
Another tinder story from last night.
Matched with a girl, I thought she was cute and all. She texted me first, and we started talking. We kinda just clicked, had similar interests and everything. Conversation turned to musicals, she said she wanted me to come listen to one with her at some point when we were both free. I mentioned the whole story from Sunday night to her (see previous rant), and told her how the girl said I was a "rebound", but nothing actually happened. Then she changed the conversation by saying something like "rebounds normally involve sex, maybe I can make up for it".
After that the conversation got sexual. Dirty talk, nudes, everything. Talking about how hard she wanted me to fuck her and everything. That carried on until about 6 in the morning. We both decided we should go to sleep.
I woke up around 11, we talked for a few minutes, then she said she had to get ready for a doctor appointment, and I didn't think anything of it. Went to work at 2, had to go get a car from a dealership like 20 minutes away. Me and my coworker got back, I decided to check my phone and see if she messaged me or anything.
Come to find out, she basically just fucking ghosted me. Blocked me, unmatched me on tinder, the whole nine yards. No warning, nothing. 8 hours earlier she was saying how much she wanted me inside her (not paraphrasing), and now she just decided "nah fuck him altogether".
I don't fucking know what it is. It's been about 10 hours since I found out, and I just..I don't know. She could have just said "nah I don't wanna fuck" and I would have been 100% fine with that. But nope. No warning, just blocked me.
I'm not mad that she just backed out of it, I'm mad that she didn't say fucking anything about it. Like, even apart from all the sexting and stuff, I genuinely liked this girl. She was nice, cute, funny, just everything I could have asked for. And now, I'm honestly kinda sad about it. Everything seemed like it was going well (maybe all the sexting would have been better for another time in the future ya know, but I can honestly say I didn't initiate it), and now I have nothing again.17 -
Install 18.04 they said. It will be fine they said...
Well.
Apperently it hates my intel graphics card. It was giving me artifacts already during installation. It didnt boot after installation and got stuck on a purple screen with the mouse on it.
Got past that with recovery mode. Googled the solution snd they said "move mouse while booting" yeah that doesn't help.
It also didn't recognize the other monitors connected to it and since it comes without unity now everything was not where I'm used to look for it.
3 hours of grub mangleing, driver installing and a unity installation later, it finally works.
Installed terminator and oh, look, one of the most used short cuts is overwritten by some emoji pick bs.
Ffs.
Longest ubuntu installtion ever and it almost fked up the 16.04 aswell which is in dual boot atm.
And before someone says use Arch: ubuntu is a project requirement and Arch is not supported by the tools we need to use.12 -
"And in a stunning turn of events, he got it to work!"
But seriously... I've literally been throwing shit at a wall and seeing what would stick.
Fucking DTOs and getting shit out of a database. I need better resources on how to do this properly!
Anyways, I found that just using 'object' and letting the compiler deal with the rest of the bullshit actually allowed my code to work and run. I'm still a little in shock.
I'm over here trying to keep things in a nice one-to-one because that's what my PM recommended... and instead I just get slammed by Type casting nonsense and more errors than I can begin to understand. And unfortunately, Stackoverflow is of no help because everyone's issues are very nuanced and unrelated to my problem... Maybe I'm the problem? 🤷
But here it is working without all that bullshit. I don't know man... This code base is not the rager I was expecting. I'm getting my ass kicked with code that doesn't fall in line with the book I'm learning from.
You know how they say, "forget everything you've read and learned"? I'm feeling that really hard right now.
Constantly fighting the urge to rip everything down and do it based on what my book is recommending, but then the logical natured side of me is like "you ain't got that kind of time to be unfucking someone's work, only to get caught in more trouble. Your ego is not worth it"
Anyways, it's fucking late here and I'm glad enough to not have to think about this issue anymore. Bye.3 -
So I did a clean Windows 10 restore recently on my laptop from Insider program to just Anniversary Update . Went away from my computer for a day or so by the time I got updates completed and Visual Studio up and running. So earlier today I went to start back up development on a project of mine to come across the emulators not working. The thing is that I lost 6 hrs of production to figure this out. I tried everything possible so I gave up and reinstalled VS to just remember I forgot to turn on my Hyper-V in BIOS setting. So I'm half way in VS reinstalling and I can't do anything about it. GOD FUCKEN DAMMIT W10!8
-
I run update without where on mysql console on production database Today.
CLASSIC
Just because I needed to fix database after bug fix on the backend of the application.
I thought I wrote good sql statement after executing it on my local machine and then everything got bad.
Luckily it was only one column with some cached statistics data and I checked that it was not important data before I actually started fixing stuff but still ...
Almost got hard attack afterwards.
Made a script to fix this column and it took me only 15 minutes but still...
Bug was caused in part I got no unit tests and application grow after 3 years of development from simple one for one customer and volumes of documents around 50k to over 40 customers and volumes over 2mil per month, don’t know how many pages each, just in one year after we completed all needed features.
I have daily backups and logs of every api operation but still.
I think this got to far for one backend developer.
I got scared that I will loose money cause I am contractor and the only backend developer working on it.
I am so tired of this right now I think I need a break from work.
Responsibility is killing me so hard right now.
It will take a week to get back to normal.2 -
Got a new motherboard today, a Asus crosshair vi hero, AM4 for amd ryzen.
Bought is as broken / defective, it supposedly works except 2 ram slots should not get detected.
On a closer look, the story of water-damage didn't seem right.
Disassembled everything and took another look.
😲😨 "Is that solder tin? What the actual fuck?"
*Scratche it with tweezers
*"Supposed solder tin" becomes liquid and moves
😱 "The fuck that's liquid metal"
😵 Who the fuck sprinkles liquid metal all over a board?
😳Ryzen is solderd why the fuck should someone use liquid metal?
What the heck14 -
So, first: I'm a bit of a perfectionist when it comes to code and love to think I know everything.
We had a group project at university and me being laid back but unknown to the other people, the "rest" of them was together with me in a group. We got to know each other and actually we were a pretty cool group. I guess "the rest" in a computer science course means you get the cool guys.^^
1/6 of us did ever code in C# and 2/6 even knows what an engine is and how unity works. I was in both sixths, got group leader somehow (if you'd know me from school. Omg. I was that one guy not knowing what went on, saying my two sentences at the presentation and took the B-.:D), so what to do to have a nice 2 weeks with them?
We did a crash course, I taught them some basics and everything.
The point is, i was hella nervous and i really get anxious if something is expected from me.
Long story short, I talked a whole week for 5-7 hours straight without real pauses and eating wayyy less a man should. Dude I was literally dead on my way home on friday evening. I felt like I would fall over any fucken second, i was all shakey, dizzy as hell, weird vision, everything. It felt like I was about to die on the spot.
I got home though, ate like 1/2 kilograms of pasta and felt myself coming back to life.:D
What to learn from this:
Keep the fuck calm, do pauses, drink and eat enough and don't rush all in for a fucken week without real rest..^^
It fucks you up and doesn't do anything good for your productivity.
We got an A btw, so in the end, all went good.(: -
!dev
This boring story with stupid ending started on Monday with me going out to buy some food and cook something delicious, day like always until my mind went nuts.
I work from home and cook my meals by myself cause I love cooking.
To buy ingredients I go shopping couple times a week always making the same steps, doing this for over a year now and by this time everything was automatic so I could think about work problems and solutions.
I start usually by getting up from my desk around noon, not many people doing shopping at that time and I can proceed quick.
Algorithm is like this: go to kitchen and look at the fridge, go out, wait for traffic lights, take tram, ride two stops, wait for the traffic lights again, go to supermarket, do shopping and finally go back the same way. Boooring.
When I get out from tram that day l looked at traffic lights to go green, as always and that’s the place where everything started to go bad.
So I was waiting there doing nothing and then stupid idea got me.
I figured out I can stop looking at light to make this day different and look ahead.
Then simply start walking when people from other side start walking.
It worked smoothly on those lights and I was happy I can do things differently from now on. I proceed with this idea on the way back and motherfuckers started walking on red. Twice !!!!
Almost died.
Since then three times some car was driving on green near me in those places and people started walking on red.
It got me worried about world determinism instantly. I might increased some entropy to much and some world developer changed some line of code while I was shopping and from that time death is passing by me.
Now it got me to the point where the more I follow this way the more I am worried about my life. Started thinking about ordering ingredients online.
So if you read this you know that I know your plan and I will be changing supermarkets and paths to it randomly starting from next week.
Or not I hope nobody hacked my mind and only thing that read and write to it is my consciousness.
I feel relief now.2 -
Today we launched the website that I’ve been working on for months. But the stress and fatigue of everything else (my personal life, the sleepless nights) got to me. Even though I got it done and it looks great, all I can focus on is how I ended the project. How I let the frustration of everything get to me. I just needed to get that off my chest.1
-
Biggest one is dealing with idiots who break everything. Can’t space anything properly. Oh you needed that function? I got rid of it because it broke my code, and it was easier. Oh yes, just perfect, get rid of a core fucking function you retard that multiple parts of the code rely on. (Luckily it wasn’t pushed to the main, otherwise everything would’ve broken...)
Another one is finishing a damn project, I have like 20 by now... all in different languages that I want to learn. Time comes to work on it? Oh wait, let’s make this because it’s more fun! Just adding more projects to my graveyard. -
Worst mistake ever :
Didn't care for changing environment while pip or apt, always did sudo for no reason.
One day installed Conda and unity. Didn't realise it changed everything to python3-gi. Everything fucked up.
Tried to fix by started removing Conda removed gnome*, lost GUI.
For first time worked on tty, after a 6 hour redbull session. Got back the system working.
First thing then done is learn to install in virtual and local environments.1 -
Just a short "dafuq?" about VS Code.
I have a MacBook Pro from last year, so it's a capable machine. And there I was today, sitting on the train, coding some Python in VS Code.
Suddenly it got all laggy. Like, one second behind my typing, dropping keystrokes, stuttery scrolling... the whole deal. The system itself was perfectly responsive and the activity manager showed the CPU at 30%. After a minute or so, it magically recovered and worked as if nothing ever happened.
What the actual fuck was VS Code doing? I mean, it's a fucking text editor. In 2019 this should be a bloody solved problem! There's absolutely no reason to use around 30% CPU in the first place, and use that much and still *lag*. Holy crap, and people ask with a straight face "what's wrong with reinventing everything based on web technologies?" Fuck everything Electron-based. Make it ElectrOFF already.
*takes deep breath*
So, editor suggestions are welcome. I used Sublime Text 3 before VS Code, I'll likely return to that.18 -
My first freelance project.
My wallet was almost empty, but I got a 1 week project (YAY!), but paid after completion. Obviously, it didn't work out well. Feature creep followed me into the second week, I didn't get paid, I was out of money. When I asked for payment, their accountant was on vacation, and they told me they would pay me when everything is completed.
Went to stackoverflow (one of the sites that relates to freelancing) and asked about this dilemma. Was advised to move on unless they pay me. When I told them that I want out, because of money, they quickly found that accountant.
But even after that, ODesk (now upwork) was only pain. I was too fast for it. I demanded like 30$ per hour, which nobody wanted to pay, but when someone did risk it, they got too much for it. I ended up living paycheck to paycheck because it's so hard to convince people that you're good enough.
That site is only good for people in countries with very low living cost, that are OK with spending 4 hours per day trying to convince people of something.2 -
Tf is up with google search? Like yeah it got worse and worse over the years but since the last few months it's actually unusable?
I was able to find everything I always found this one forum answer I needed, on page one.
Now it just grabs every single word and shows me where some of them match. What the fuck?
Same for duckduckgo btw.19 -
This weekend I was working on a fun hobby project with a friend of mine. While he was modeling items for the game I started with a dungeon generator.
This morning I got stuck at a bug which took me more than 12 hours and 4 developers to fix. In the end I found the issue. I was checking
If y > arraySize && somethingElse
DoSomething();
It had to be:
If y < arraySize && somethingElse
DoSomething();
After I changed that everything worked without issues... Day well spent... -
Alright, server got hacked a week ago. Bad enough on its own but okay, perfect time to change the server infrastucture completely instead of doing it later this year. Since Saturday we are working on setting everything up (game server, apache, etc.pp.) while making sure to configure everything correctly to be safer this time.
We are finally at the point where we could go back online. And what happens? One team member _now_ (6 days after the hack) suggests that it might be a good idea to format the hacked server and configure just what we need to patch the clients with it.
Great fucking idea, why didn't you have that idea 5 days earlier?! There was more than enough time already to format the old server and configure it. Another day delay, yay. X_X
Aaah, ranting really helps in those situations. Oh and Hi, I'm new here. Nice place, I like it. ^_^2 -
I'm ashamed of it, but I want to share my tifu-story:
My colleague asked me if I could rename his windows user name because he married and changed his last name. I changed it in the Active Directory, but he got some problems when he wants to log on. On every startup his old name appears. Simpliest task. Let me google that.
Easy going, let me just change this registry entry. Reboot. Old behaviour. Okay, I changed some of the other entries. Reboot. Yeah, his new name appears. But wait a moment. Windows just nulled his entire user profile and deleted all the data. "oh, haha you have a backup, right?" - "no, I saved everything on the desktop, all my work is gone!"
But at the end, the boss was mad at HIM, because he doesn't used the file server or any backup system.
i am not a smart man5 -
So... Yesterday I ordered a meal and it had whole jalapenos in it. I didn't order jalapeños. I love the taste but I hate toilet visits after. Hence, was putting them aside. But then I got into that new code, jumping around this new project I'll be working on. We were getting intimate. I liked the architecture, I liked it a lot - it was using event sourcing and respected CQRS. Suddenly I realised I ate everything. Including jalapeños. And the only reason I noticed is because I was eating with my hands. And my eye got watery. And I wiped it.
So, yeah. Yesterday for the first time in my life I was pouring milk into my eyes. Does this count as a proper dev rant? I don't know. Fuck the protein interface that can't process simple food orders, though.6 -
I finally finished my Bachelors Degree that I was studying for while working 40-60h a week with 2 children.
During this whole time (3.5 years) I was totally into learning everything. Not just for my studies but I read many books about programming and architecture read thousands of blog posts and loved it to be a software developer.
And now suddenly I lost every interest in reading even one tiny post.
Software Development got boring and I just don't care about it anymore.
Probably just a down period, but who knows.
At least I finally can build my unfinished guitars that had to wait for so long. working on them makes me really feel happy 😊5 -
Thanks GitLab.
After I get notifications about the final replies to my 6 month quest of updating someones GitLab README, I didn't expect MY fork to have been modified ( and thanks to that, made ugly / they removed all spacing, vertical & horizontal )
Where the fuck even was the option that GitHub offers where it prevents people from just doing whatever to your shit in a PR?
Why the fuck isn't this a permanent setting for either ( lab & hub ) so I don't have to manually turn it off every single time.
I didn't even think about that option up until now, since the maintainers didn't touch anything and everything seemed fine, but now that it was about to be merged, they suddendly got the bright idea of squashing everything into one commit and that on my fork itself, .. really helpful.5 -
A client's site got malware infected, so we decided to remove everything and replace the site with a fresh WordPress installation (very basic site with 4 pages of content).
Contacted iPage live support asking them to check and unsuspend the account (with no files on it), but they kept on insisting that I buy their "firewall" and "SiteLock" services, with zero reply related to suspension. I've had live chat with many other hosting companies, never had such a lousy fucked up conversation. Without providing technical support, they keep marketing their useless expensive services. Fuck you iPage, you just lost a customer.2 -
So... I've been messing arround with my first VPS (with little knowledge of Linux).
First installed lxde to learn how to do it, then back to the terminal. then I started with Apache, watching online tuts ...
Then I changed for nginx... Looks way better.
Installed my sql, php and got stuck. Dropped it for a few days.
Today I restarted, deleted Apache, mysql, reinstalled nginx, my php (with lots of problems because of old instalations). Everything is working now except php.
After going round and arround I changed my focus to relax a bit, and remembered I still have Apache on the firewall...
OK Apache and other stuff that I installed.
Delete everything
New rules only for nginx and reset.
Cant ssh to the server... What?
Oh... Forgot to add rules to OpenSSH...
No matter, I can access the terminal directly on the website....
And it loads to ldxe, with no user set...
Fuckkkk.
Oh BTW I'm in a trial free period with no support...17 -
I've finally got a monitor at work that works with Samsung Dex.
Positive things:
- new super cool monitor
- can remove windows now from the dual boot of the laptop since everything I needed it for can be now done on Dex.
Negative things:
- DevRant doesn't work with Dex. It just doesn't load properly. But maybe it will work through a browser. Need to test...3 -
At work one morning, I was asked in chat for a way to edit an xml file on a Mac. They couldn't open it due to permissions. I told them to open Terminal and run sudo vi /path/to/file.xml. Never got a message back about it, so I assumed everything was OK. Later that afternoon, I received another question: "I'm in, I've made the changes, now what? How do I get out?" It wasn't funny until I realized how many memes existed for this. I'd imagined they'd quickly opened and edited it and spent hours unable to exit it; though, realistically, it probably wasn't attempted until the afternoon. Truthfully, I was new to it, too, and have no idea why I suggested vi over something else.
-
Holly crap..... Just fixed a 7 months old bug in a system i worked on and had to leave it for 7 months coz i just wasn't seeing what i did wrong and today..... everything simply unraveled
It's a flask app and i got stuck on updating a column in the database and also it created duplicate configs on one of the configuration functionality
Figured out what was causing duplicates
A different function was creating new configs instead of updating...bypassing duplicate checking in the config function2 -
Lately my sister's sound wasn't working. So i came over to see, whats wrong. Her boyfriend was also there, who claims to be a programmer himself, so i asked myself why he hasn't already solved the issue. But instead of asking, i just got on her computer and looked around.
First, i checked the audio jack, which was plugged in normally. There's a little wheel on the table, controlling the volume. There was a little light on it, shining. I assumed, it had to be a software problem and got into Windows' Audio Manager. Everything was okay. I spent the next 10 minutes checking EVERYTHING, even tried a restart (obviously changed nothing, but you never know ;D ). Drivers, Audio Settings, everything was okay.
Desperately I leant back in the chair and shot some looks around. Turns out, the plug wasn't plugged in. *facepalm*
The little light, shining on the wheel, seems to get its power through the audio jack.
It's always the simplest thing.3 -
When I was a high school, I did an internship at IT department for a local "center for student guidance".
The IT department consisted of one guy that started to automate everything the first year he worked there. He ended up being low on work and got flak from people above him for not working enough. He threw all his scripts away and the bosses/managers were happy he worked more... But his work was of course slower with more mistakes.
Also, he had an excel sheet of everyone username + password. The excel file was secured with a password. When he went to the coffee machine, he never locked his computer nor the spreadsheet.3 -
I was working on a project for a presentation and had a really bad cold. I was building something in JavaScript and the framework was all new to me. No one else wanted to touch it so I said i would have a go.
Basically I put everything I could into it and the director walked in and started using it, ignoring me who wrote it, talking straight to my boss about loads of changes.
I sat there and quietly and thought whatever I did they would change it again as they don’t know what they want.
I felt crap the next day because of the cold and the previous days experience, so I called in sick. I got a load of abuse about the deadline for the presentation and this time I gave it back and said maybe someone else should have stood up and taken that project then. I wasn’t taking anymore of that crap.1 -
So I was told to look into a new project management tool to replace our home grown one that must be free, decided on visual studio team services because we all have msdn so it's free. We just got everything migrated and we've been using it very successfully for the past few months and it's honestly made task management so much easier.
Get back from vacation and my company just spent $100k on sales force agile accelerator... 😑 I don't understand how upper management works1 -
Three days ago my focus was shifted from a development role to a support role. I was shifted to replace another support guy who had used fraud to get the position. I have no experience with this role but there was decent KT and I'm catching on fine. During onboarding and KT I'm serving as the first contact for new tickets and whatnot...
Today I got a ticket with an error on our production instance that no one had ever seen before. It prevented the guy from using our service entirely. I tried to reproduce it and... I couldn't use the service either. No one could. Everything was down. I could see the sweat building on my manager's forehead.
Thankfully another member on my team has done a bit of support before, so we collaborated with each other and other teams throughout the day to figure out what's wrong and how to fix it. I'm listening to them chat remotely as we speak - so far I've been working on it 9 hours straight.
This service is used by everyone - it's a business critical service with due dates on actions and escalations to managers... Imagine if the support ticketing service for your company crashed. That means a lot of people are asking what's wrong, requiring extensions, etc. I've been answering to managers and seniors in the business throughout the day.
The best part? We figured out why the server went down, and the reason is fantastic: someone updated the server's code without telling anyone, and all they had done was remove critical parsing code. Just took it right out, pushed, redeployed. We don't know who did it or who even has access to do that. I guess I have some detective work cut out for me after we've fixed everything that was broken by that.
I miss coding already.1 -
My father had a PC with Win3.11 where young me was allowed to play solitaire and an educational programs for kids, later on, followed Win98. I was fascinated with this big grey boxes which could do so many things, especially connect you to the Internet where you could find knowledge about EVERYTHING. (Someone remember the "Blinde Kuh" search engine?)
I remember my father connecting the modem with a long cable all the way through several rooms to the TAE-outlet and the weird sounds the device made.
I often heard "Get away from the PC or your eyes will become rectangular!" when I was sitting there for hours over hours reading and playing.
When I was ten, I got my first own computer, a trusty 486er (386 with logical coprocessor! 8MB RAM if I remember correctly. Weeee! :D) which was my uncle's old PC with Win95.
I started writing on the PC and got into several online communities ... it went downhill from there. :D11 -
In a time where a web dev is expected to know, well.. everything... Backend -JAVA, python, nodejs and C++ would be great.
Front- angular, react, other 10 libs
DBs -sql, mongo, redis, elastic, kafka, rebbitmq
Also be devops on the side with AWS and docker kubernetis and more stuff
How the f is that possible?
In my real job for the last couple of years and different companies, I usually use 1 language/framework & 1 main DB.. and although it's possible in some companies, but in mine, ppl dont get access to AWS etc..
So let's say there's me.. a server side dev for years.
So I decide to be better and learn Golang.. cool lang, never needed in my job, after few days of not using it I forgot all I learned and that was it.
Then I realized I gotta know some frontend cause everyone want a fullstack ninja nowadays.. so I tried Vuejs.. it was amazing .. never got to use it at work, cause i was a backend, and we didnt use frameworks on our products back then..
Also forgotten.
Then I decided to learned nodejs, because this is the coolest thing ever.. hated it, but whatever... Never got to use it at work, cause everything was written in other lang which the whole team knew... Forgot the little i knew.
Then I decided, its time to see what Angular is, cause everyone started using it... similar idea to vuejs which i barely remembered, but wow it's a lot of code to remember, or I'll have to google everything.. so I went over it, but can't say i even learned it.
Now Im trying to move on to python, which, I really am learning in depth.. however, since I dont have real experience with it, no one gives me a shot at being a python dev, so again i feel like I'm trying to memorize syntax and wasting my time..
Tired of seeing React in all job ads, i decided to have a look what's that all about.. and whadoyaknow... It's fucking the same idea as vue/angular with again different syntax..
THIS IS CRAZY!
in how many syntaxes do i need to know how to make a fucking crud api, and a page with same fucking post form, TO BE A GOOD PROGRAMMER?!?6 -
TAP - The Art Project.
Started in my college, been working on it for nearly a decade now and during the pandemic I was able to find co-founders and we built an amazing MVP.
But now I got busy with my new job, which is super fun, tech guy got married lol and design guy is little lost.
But over the years, experimenting with people, ideas, and everything around, my idea evolved into something which is loved by everyone I shared it and I can see a huge potential in it.
But meh! Fuck it. Because I am too bored and would rather order a practice pad and start learning to play drums (my childhood dreams), attend more gigs, and live a happier life.
Because the heart wants what the heart wants :)
For the curious ones, you can test the MVP at https://www.tap.prismo.net
And there are few other side projects that I completed which can be found on my portfolio page
https://www.floydimus.prismo.net
I am just wondering shall I redirect my main URL to my portfolio page or keep it pointed to TAP?7 -
Just realized that after 3 months of continuous samsung s9 use my phone is still as fast as it was when i got it out the box.
Man I love this stupid phone so much. Everything opens up so fast and this sob is as smooth as an iphone when it comes to the speed.
Pure goodness. Still would like to try a more pure Android environment u know? Like back when nexus was still a thing. I don't really dig the pixel phones too much but know that I am on a more open carrier and I can use phones like the one plus series I think i know what my next phone would be.
Nothing personal samsung, you have been good ans loyal, but i want to play with more phones.
I really love smartphones.2 -
Kinda pissed. Ordered a WD red plus 8TB on November 20th from newegg along with some other stuff. He drive showed up DOA on the 26th, tested everything I could to make it work. But in the end I couldn't even get it to initialize.
Ok. No problem this happens. request a return and replacement.
Got that in today. Over 2 weeks later. Fucking EXACT same problem.
and just to make sure I'm not fucking crazy I grabbed a 1tb thats been sitting on my desk unused for years. Plugged that into my NAS. Works fucking perfectly. Even able to pull it and wipe it using my USB drive reader on my desk after. I can even fucking reinitilize it back and forth from mbr to gpt.
Not asking for replacement this time. Just refund. Gonna order directly from WD. If this one fucks up I'm switching to Seagate for a couple of years4 -
Fuck these fucking youtube ads! I got blocked on youtube and cant play any video on desktop unless i disable adblocker. Shits so fucking LAME. Fuck off. Switching over to brave browser now and never looking back. Fuck off chrome.
Get fucked google. Now Google dropped to the last place for me from cloud providers. I'll prioritize the pedophille childfucker bill gates Azure cloud over GCP Now! Fuck Off. Shove ur ads into someone elses ass just how bill gates shoves his dick into childrens assholes on the epstein island!
Brave browser found a solution to all this fuckertry! It has built in adblockers for everything including built in vpn IP cloaker trace blocker and so much more for privacy and data integrity. Playing yt videos on brave browser works like a charm with no fucking ads or extensions installed! Everything is the same like chrome including layout development etc, minus ads tracking and data harvesting!
Before:
AWS > GCP > Azure > OCI
After:
AWS > Azure > OCI > GCP
Google ur now worse than a pedophile azure. Deserved to get spot #3 now. Shitheads8 -
Not necessarily a DEV rant, but a rant nonetheless.
This day sucks.
So first, my bus got late 25 minutes, because entire city decided that it will take a car - because it was raining horizontally. At some point I was doing 1 km in 10 minutes. Then my train got delayed by 5 minutes. So l had to do a little bit of cardio and ran to the next bus from station to school.
When I finally made it - surprisingly 5 minutes before the start of the exam, it turned out that I wasn't even on the list of participants. Which was surprising to both me and teachers, because I was clearly registered on the portal. Well, they hand added me in and let me in.
Then I open my laptop, I start it up
I try to start the exam. But it said that I don't even have the examination program - even tho I did install it yesterday.
So I had to quickly download it and reinstall it. Then I could finally write the Project Management exam.
Thankfully the exam went fine, I feel confident about the results, but it’s like everything tried to make sure I am not gonna make it.3 -
Me: *opens devTools*
Firefox: yea bro lemme just ..uh.. hmm yeah so this is the css for the element, see?
Me: Thanks.
Me:
Me: this makes no sense, why would I ever do that?
Firefox: also you can't have width on an anchor tag. I can't put that rule into effect
Me: I didn't put any width on your inline element, you sure about that?
Firefox: yea try using display: inline-block
Me: No. I'll just delete that. *checks file*
Me: Maybe that line is wrong because IT DOES NOT FUCKING EXIST!
What is this shit? I just restarted you! What else do you need, a reinstall? Drink too much over the holidays?
It's like the css editor has become a shallow tray with rules on it, and as soon as you bump it a little everything spills over and then Firefox just thinks oops, I've got this font-size: 200% lying around, lemme stick this into the hr tag which makes sense because THERE CAN'T BE ANY TEXT IN IT.9 -
So I actually got an update for my PC at work, proposing me to postpone it or to do it later. I postpone it to one hour later, since I'll be buying food for lunch, it can update and reboot.
When I came back from lunch, laptop is asking me to postpone or do the update right now. So I sigh because the laptop just stayed locked without doing anything, and ask it to do the update in 4 hours, when I'll be leaving.
2 minutes later, it forces me to update with the "30 min left before rebooting", so I sigh again, closes everything and reboot.
Since it's a Windows, it's slow on booting by definition. Plus launching Slack, Eclipse, Firefox, VLC. Takes time. Plus launching the server. +1000 files to compile then deploying.
I lost 20 minutes because of that edgy bitch called "update".3 -
I hate, I really really hate other students leaving their homeworks and assignments on the school's computers, they clutter everything and bloat the desktop with garbage, at least have some decency and put it inside a folder!
Today I got welcomed by another of those desktops and I decided to give them some help with their assignments, i.e I changed their python scripts for improvised Ackerman functions.7 -
A message from my colleague (product name removed):
"I think I hate absolutely everything on this network. I think <insert product name> wouldn't be so bad if the pointy headed wankers hadn't got involved."
"It's the fuckery with https and screwing with certs that make it utterly shite without that, it would merely be irritating." -
linux mint got wasted and rekt today. in a few hours, we have managed to install git, ssh, terminator and teamviewer. everything failed except for teamviewer. wowie,, i need more time to learn how git works tbh. we tried and tried and fucking tried over and over again until the terminaL WONT TYPE IN WHAT IM TYPING LIKE WHY ARE U REFUSING TO OBEY ME NOW KEYBOArd. the worst part is that i cant even SHUT DOWN because i cant even click on shut down. i had to force it using virtualbox. oh wellll, get ready linux.....
tomorrow is another day!5 -
I'm faszinated by some dev's ability to write legacy code.
Not maintaining but plainly creating code so horrible, that it can be considered legacy.
I wrote a new API for a silly Application because the old one had hardly anything to do with rest. At all. And despite the code being only 2 years old, it was still unmaintainable.
Now that I'm finish with this task, i got the next generation of the angular Frontend.
A guy wrote a completely new version of the frontend in angular5.
Only untyped variables, no documentation, no tests at all, no idea whats going on where,....
I thought my job was to adjust a few URL's and change some DTO's, but now i have to refactor everything again...
And the pain continues.....3 -
Fixed a bug today that I created over a year ago.
It made a machine start doing really fucked up things like running motors when it shouldn't. My boss, an expert on the system and the code, gave me some ideas to check. He couldn't understand why it was doing it either. So I started checking things and comparing to another piece of code that does similar things. I finally found a place where I had used a really sketchy pointer. I even knew it was sketchy at the time and put a ? mark in the comments next to the line of code. I changed the code to match another system that explicitly creates the object. Then I started testing the system and boom everything is working as it should. I talked to my boss and explained everything. He said it was an easy mistake to make. Internally I was saying, "But I don't make easy mistakes. I make hard mistakes!" LOL
Got to walk away from work for the weekend knowing that my other code is a lot more solid than I was thinking earlier this week. I was starting to second guess what could possibly cause this problem and thinking there could be culprits everywhere. Boss was happy problem was solved as he is going to be showing off the system I am working on in a month at a show.3 -
Ooh what a nice feeling it is when you come back from a short vacation and everything is in the gutter... My team is divided into the two other teams... (I said divided but I ment everyone got assigned into team X... And I am the only one who was put into team Y)
Besides the whole team fiasco, I think my legacy project decided to role around in the garbage... Because I have no idea where all those bugs came from...
One positive thing is that I won't be working alone on that legacy project anymore, at the start of next week I get help from my new team... Now let's hope they don't suck!1 -
Scheduled an interview with a company regarding a frontend position, everything seemed perfect until I actually got on my way to head to their office.
They didn't have the address of their office anywhere, it wasn't listed on google maps, their own website didn't have any information on where their office is.
I tried calling them / emailing but they didn't respond until like 5 hours after the interview should have taken place.
So I didn't even get to the testing part.4 -
I hate my brain.
Got a compliment, my brain automatically rejected it and judged it.
Then it started to judge the judgement. Then the judge^3.
Then go all the way to the recursion.
For the last few days my brain is making me lose focus on everything because of this.
And the most fucked up thing is, I am paranoid of my own brain, so I really judged my memories and shit. I think I am losing my mind, my uni doesn't have consulting for students either nor I have money.
Any advices from ppl who went to a psychologists will be appreciated. A lot.13 -
Wow fuck today. I took the day off to watch the eclipse yesterday so coming in today was like Monday squared. Right off the bat I have somebody from last week that I had spend around 8 hours working to get their system right call in and tell me they were cancelling even though everything just got working right.
Also got tasked with documenting the servers which wouldn’t be rant worthy if the dev that set them up didn’t get cranky whenever I ask for credentials or even a rough overview of how the server stack is configured. Then I get a ticket about how a customer is going to get his data from his ‘web guy’ but this customer has been keeping his data in our system for the better part of a decade. Wtf you getting bro? And who is this web guy? What data does he have? Nobody seems to know. And just to smear shit on top it turns out I swapped the addresses on the car parts I sold on eBay and now I have to do 2 returns and cross ship and almost definitely get negative feed back. Fuck everything.
All this before lunch. After lunch I still have the same problems but at least I got chicken!1 -
skyRant, an unofficial devRant client has received a new update!
You can now read devRant's unofficial magazine in the app! Plus, view the latest matrix messages. The user interface has been updated too! [and more]
Read on it over on kbin.melroy https://kbin.melroy.org/m/drbboard/... or even in the new skyRant magazine page!
Note: any previous version of skyRant must be uninstalled before updating. Download from here: https://devrant.com/rants/6573682/...
here's a preview!1 -
wtf GitHub
https://github.com/orgs/community/...
ran into a person today who said their account got suspended with no info and they were writing a speech for a conference on there and now everything is upsidedown for them so I decided to look into it
bruh what the hell is that customer support
is this what happens when Microsoft buys platforms. uegh3 -
One of our servers had a disk fail this week. Luckily it's 1 of 3 in a RAID5 array. And, luckily, it was our mostly-dev box and didn't have any production stuff on it, except for some support things. We scheduled a disk replacement with the hosting company, took everything down, waited. Somebody at the hosting company apparently didn't know we'd scheduled the replacement, saw the machine was down, and brought it up again. Sigh. Finally they did the replacement, got it back up, but now we're seeing an ethernet port flapping, suggested they have someone go in and make sure all the jacks are fully seated, maybe one got loose when they were doing the disk switch. Bureacracy reared up again and we got the boilerplate "if there's a hardware issue suspected please boot into rescue mode and run the tests"... sigh...8
-
Got a Student job during July. When I arrived the first day they gave me the project they need me to work on.
They want me to create an intranet for the department based on a SharePoint infrastructure.
After 3 days of working on it, I'm starting to realize how hard it'll be since I don't have any admin access (would have been too easy). It's a multinational company so I have limited access to everything. No access to Sharepoint designer, neither to Sharepoint Admin Center and on top of everything, I don't even have the right to embed scripts to the pages.
Oh, and did I mention that I'm learning Sharepoint from scratch ?
It's fun to learn and to try to overcome problems and limitations but I'm really starting to stress about the final result ...4 -
GoLive for this big feature is set for Thursday. So the customer approaches me and asks can our team do it. Sure it can be done if everything goes perfectly, but... This means that the feature won't be tested, everything won't probably go perfectly (which it didn't because of customer selected third party api surprise nondocumented features (bugs)) and Thursday release is almost as dumb fucking idea as Friday release. I said it more nicely and I got:
"I don't agree with you"
from a person who has 0 understanding of what is going on and whose boss pays me to tell them what it needs in order to work and prosper.
And we had this fucking conversation three times. So basically he interrupted my coding that directly impacts the schedule in order to debate how fast things can be done. Don't these people understand that everytime you interrupt a software engineer the deadline is pushed by the same amount of time you waste of mine + 30minutes of refocus time to get back into the thing you were doing.
Best part was that the deadline was this magic date the guy pulled out of his ass without consulting the developer team and nobody really cared about the deadline =D
FUCK1 -
Ok, so I got everything running on Ubuntu 17.10. switched to i3 because holy mother of God is never have to resize a window again!
Switched to using the Von editor mode in IntelliJ because dear lord is it faster!
I love all of it. The only problem? Instead of the 6-10 hours of battery I got in Windows, I get MAX 2 hours in Ubuntu because it's always using the Nvidia card and switching to the integrated Intel causes an instant log out after the log in. (Tried everything already, nothing works)
Still, I love it.3 -
I'm going to re-try my ConsoleWidgets/ CursesWidgets project from complete scratch. Here are some things I learned and will do better this time with:
- Keep people updated on progress to maintain motivation (Hence this post)
- Centralize drawing, eliminate curses entirely besides in this static class.
- Don't worry about complicated rendering until basic rendering is done. I really got stuck up on text rendering last time.
- Sort out a color system from the very beginning, and make it as simple as possible. Working with curses, it is a good idea to have a color manager.
- Research how to logically render two items - both sized to 50% of the screen - when there are an odd amount of pixels available.
- Only make one type of widget at the beginning. Don't worry about Buttons and Sliders and such until the base Widget class is completed.
- Truly decide if I want to call them Widgets or Controls
- Don't worry about supporting multiple curses windows. Got hung up on that too. stdscr will do for everything I need.
- Cache inflation values so that they need not be re-calculated each render. Re-calculate on resize.
- This is more of a c++ thing, but drop pointers in favor of references. It's 2018. I have already started to do this in other projects but THIS IS THE ONE. -
so for the past yr i have been unofficially a lead on a project, i wasnt officially a lead but i was the one in control of everything in it and got to do decisions.
the project itself was horrible, and i was the only one who delved into it and understood it thats why everyone relied on me i guess.
recently PMs took charge of it after i told them i want to do something else. now they are bossing the hell out of me to finish their new stuff in that project. Now i hate every second of my job.
i regret telling them i am unhappy with the project because at least i was the only one responsible for it. maybe long term that would have been a good reason to be promoted. but now they took charge so im afraid i wont get promoted anytime soon.
fuck my life if that case i might as well start anew in another company2 -
Helped a colleague today with finding the reason why everything was lowercase after a release. Turns out another colleague made a SQL upgrade script two months ago the did REPLACE(lower(value)... Found it in 10 minutes, saved a lot of time on debugging and still got scolded for working to long on another ticket...
-
!dev
TL;DR: Today my phone Kruger&Matz Live 3+ got ebola. Anyone had same issues?
I woke up and unplugged my phone from charger as always, but it was hot as hell. I was not worried, thought it heated up cause of charging as I plugged it few hours before waking up.
Then things got serious. I was unable to use phone, it freezed randomly, opened apps I hovered when frozen, etc. I thought thats becuse it was hot, so I turned it off and put it into the fridge (I do it sometimes).
I was leaving house in an hour so I hoped that would help. I turned it back on when leaving, but nothing changed and it was getting hot again. I've checked processes, was deleting apps like mad, thibking that was some bug in update of one of them, cleared cache partiotion too. That did not help, so I was forced to factory reset. Guess what... same issues.
I tried everything possible and lost all hope, was ready to send it to service. So I turned it off, so it won't burn my pocket out.
Few hour later I talked with dad complaining about the issue and tried to show him what's wrong, but... it was all right again. No freezes, no heating.
Later that day my sister told me she had issues with her phone - Live 3, described same as mine. Even weirder that my girlfriend had no issues with her Flow 4+ from same company.
Two phones of same company, almost same product line with the same exact issues on the same time frame? Any ideas what happened?4 -
I’ve been trying to find a job in my field for the last four months and nothing. Today I got a lead on a trade job with a construction and renovation company. I have zero experience with anything they do and their rep offered paid training with improved earnings with increased skill over time. I can start next week if I take it. Less pay than I’m used to but more than zero which is what I’m making now.
Another friend who is a handyman is offering me more per hour and training as well. Just handing him tools and shit until I learn enough to be useful.
Now I’m wondering, why have I been wasting time on a dead-end programming industry that ultimately outsources everything overseas for less than minimum wage?6 -
Playing pokemon. I'm extremely into the series and played nearly every gen since the first ones. Even bought the cheap 2ds just to play these 3ds versions even tho i got acutally no time during exams and sometimes even played the different editions of the same gen just because i can.😅
And I have the habit to think about "how is it done?" With everything that is displayed on a screen or just blinks. And with 800 pokemon and their stats and subforms and IVs and all that nerdshit (back then compressed in such a small rom and running on pretty low end devices) i began to think about data structures, organization of them and such, especially when there are many big, wide datasets.😪3 -
Finally got round to signing up to a VPN for my devices and my sons. After a lot of research decided on surfshark, signed up for 3 years with great discounts. BUT, it doesn’t work on iPhone ( tried everything in the help) still bollox. Cancelled it and went for my second choice which was Nord. The software is great. Worked without issue, same on m1 mac. Thousands of servers worldwide. For me this is great and fast. So if you are looking for a fast reliable VPN Nord is the one. PS not affiliated or work for Nord, just an opinion and hopefully save someone else some grief.12
-
So I'm currently "assigned" a task in which I need to fix a slow query problem, which isn't a big deal. The biggest problem is that the original team of this project haven't got any means to develop things on your local machine. Looking at their docs and scripts, it seems like everything is deployed to a dev server. But whilst looking for details for this server, I found out that the network team have decommissioned the server!
So my dilemma right now is that I can't test any of my fixes on anywhere besides staging, or possibly production! Inheriting projects is the bloody worst!5 -
On my last deployment for the musician client I encountered a really nasty bug.
I configured all the settings in my Nginx. Theoretically everything should work, but it did not. Somehow I always ended up landing on my default Nginx page.
After hours of trying to find the typo, turning it off and on again and praying to all gods I ever heard of, I finally analysed my default Nginx config file. Somehow the server config I posted on the clients conf-file got posted beneath the default configs. WTF?
After deleting those everything worked. 🙄2 -
I just finished this app I was working on, an app which I was supposed to be working on with a friend who never committed. It pisses me off that he didn't put in any input. We were supposed to work on different parts of the app. I had everything planned out, on how to make a certain function. But right now I'm just happy because I have no idea how I got it to work without the functions and at this stage I don't wanna check ¯\_(ツ)_/¯1
-
A few weeks ago I ordered 2 8TB HDDs so they can run in RAID 1 on my server. Then I discovered that one of them isn't working.
So I sent it back to seagate and got a new fresh one today. I thought I would install it in my server and everything will be fine ...
First thing was to backup all files on the already working HDD and delete the volume, but windows already put a pagefile on it so I needed to deactivate it.
Restarted and notice that windows wasn't doing anything so I deactivated it again and now the wonderful text "Getting Windows ready screen" appeared and after minutes of starring at a non moving image I force-restarted the server and eventually I could delete the volume.
I activated mirroring and thought "I'm ready to go". After 15 Minutes of waiting, the text changed from "Formatting" to "Formatting (1%)". The only thing I wanted to do was yelling ... Thanks Windows .... thanks4 -
My class team picks me for a competition.
My team tells me to do everything and doesn't give me an outline of what they want for the code or design.
They have 7 members. + me, 8.
I have to design and code the whole app on android.
Furthermore it was my first time with library stuff.
I had to develop from 10pm to 6 am with short rests in between. Almost no sleep.
It's impossible sht. I continue with it.
When it was time for school, I just went to school as per usual.
When it was the interview someone just had to roast the judges.
Our idea was very sophisticated; was to help track down elderly or child with a gps tracker and the app.
Didnt got in the qualifiers because of the leader being an asshole to the interviewers. -
I was working on an annoying bug in my genetic algorithm for about two hours when i realised it's late and decided to call it a night. Turned off my pc, shut everything down. Just as I was brushing my teeth I got enlightened by the code gods and suddenly i knew exactly how to fix the bug. Toothbrush in hand i booted the whole system again and successfully fixed it in 2 minutes.
Thank you code gods, i may now sleep in peace.1 -
Yesterday whole 12 hours we were working on deployment about a feature X that has deadline yesterday itself.
Everything damn perfectly running on Test env but not on Prod.
We made Prod into Dev/Test/Fucking garabage env. Haha.
I was laughing to myself at same time crying hard in my deep heart.
Business guys chasing PM
PM chasing us
And from morning till night we were in same room. Had lunch, and dinner only went out for toilet and to refil water bottles.
And found that feature Y is not working at same time that is related to our feature X. Fucking we have been wasted hours on it.
One of my devs got so fucked up emotionally that he messed up the code (not his fault) he didnt had his lunch and dinner. Had to console him later that its not his fault. Poor guy not sure whether he slept or not; will find out in few hours.
Anyways reported a bug.
But that bug assigned to us for fixing.
Are you fucking kidding me.
Anyways no choice. Had to do it.
Hope today everything goes good or horribly bad. FYI no deployments on Friday damn we are in stalememt till Monday.
Fuck that bug
Or
May be fuck our stupiditiy while makiing mistakes.1 -
My phone got stuck in funky restart boot loop yesterday. The first 2 restarts was odd but after 3 cycles, I started panicking. Went on my PC, googled for all kinds of button combinations of power button, volume button, back button, and home button to get into fastboot, recovery and safe mode to see if I can clear stuff or at least get backup of my stuff. I also tried taking the battery out. Nothing works, except when I factory reset.
Everything was new again and as it booted up, I have to remember to change my authentication keys in LastPass, my private ssh key in Krypt. But fortunately, Google remembered all my apps and suggested if I wanted to install them again since it recognized my phone was an old phone. Thanks for tracking me Google. And now since its a reset, everything is clean, no cache, cookie, and some of my music files are all gone. Well at least its fast like before.2 -
My day couldn't start in a worse day.
We are having a demo this week and I worked yesterday after hours to get the product ready. Tested everything and we were all set for the demo content.
Today we installed the new version with my fixes and nothing worked. Today's version should be the golden version to prep the demo! Obviously everyone starts looking at me as to why nothing works both worried and eager to help. But I got so stressed I just wanted to dig a hole.
Luckily after going through the logs a colleague of mine pieced together something he heard about another colleague on another location we have submitted a fix (without telling our location) that f**ked up the whole system.
Luckily we reverted it since the system was better without it and got it stable again but after all of that I had to go rest because until we found the answer I was starting to think I couldn't get one thing right. I think it was the most stressful moment in 5+ years on this job4 -
Learning New Design Patterns...
When all you've got is a hammer, everything looks like a nail. Arg.
Recently, my code in almost any controller is like so:
return (new MyFancyClass($param))->methodThatHandlesIt();
that can't be the solution to everything.... although it kind of is
how can I beef up on patterns and avoid crushing a screw into the wall without realizing it's not a nail4 -
Best
typescript - I needed to learn it for a project and I like it, I know java and javascript and it is something in between of those two that makes writing enterprise web applications easier, it’s nice that you can debug it directly in chrome, it makes things easier
Worst
docker, Dockerfiles - devops tools - amount of shell commands inside them and mangled && to make everything running in one file layer makes those unreadable mess that you need to think twice to understand, there is no debugger for it, you do everything with try and see what happens, there is actually no real dev toolset for devops and that sucks, since you got builder images that makes things more mangled than before, it’s clearly missing some external officially approved scripting language or at least
FUNCTION and
WITH LAYER and indentation / parentheses syntax and they still trying to make it flat, why are you doing that ?
as a result next to Dockerfile cause you can’t import multiple ones you get bunch bash scripts with mangled syntax and other crap that is glued together to make a monster - and this runs most of current software on this planet2 -
So I created a desktop app a couple of months ago that relies on IG API. Everything was working perfectly. QA passed and everything was ready for rolling out. Took a
vacation last week, when I came back yesterday it was broken. My backup didn't tried checking what was wrong btw. Turned out IG got strict with its apps on June 1 (sandbox). He waited for me and didn't even bother to try to fix it.
Oh, app will be launched today. Good luck PMs and fuck my backup.4 -
Client (who hosts our programs on their website) sends an email there is an issue! Resolve is asap. - I drop a brick if my boss finds out about this he will kick off.
I look into it the best I can but there is no testing environment for their website so do the best I can on our environment. Every thing seems to be doing exactly what it should and can't reproduce. So I email client I can't reproduce and everything looks fine are you sure it's not at your end?
They email back I got someone at our end to look at it and he's sure it's your end. So I spend a rather long time looking into this and still find nothing so email back for more information and a video of them reproducing the issue.
They email back: umm sorry seems it was our side that was causing the issue, only noticed it when making the video.
*sigh* more time wasted thanks clients! -
!rant
I just made my API in my laravel and I understand how it works! It may seem like not a lot, but I got from far.
Just came two years ago in this industry as I worked as a customer service agent for a hostingcompany. I entered a whole new area what I immediatly got into at the time. Mind I already was studying Biomedical labresearch at the same time and was the IT guy in the family. Well, think back then I was just googling and fixing shit most of the time.
I was 21 at the time and began to learn everything I could learn in my position and soon it was not enough and wanted to learn more by working parttime(study already asks a lot of time). I soon applied as Junior System Engineer within the same company without prior education and got the job! And I'm back feeling I entered a new area where you feel you can do so much by just learning how it works. Now I want to learn to develop in PHP so I may make another step further.
Not a rant, but I want to share my experience as labrat starting to someting programming(did some bio-informatics, which was really interesting but with less emphasis on programming but more on data analysis). Still got a gigantic of list I want to learn from languages and frameworks to orchestration systems. -
I just stumbled across this post about signed-only mails: https://k9mail.github.io/2016/11/... (TL;DR: Signed-only mails are not worth it).
So far, I've been signing all my mails (as not that many people I know use OpenPGP, so I'm far from encrypting everything). I've got a few replies like “I can't open that attachment” and “What is that .asc file?” but I have seen it as doing my part in motivating more people to use encrypted mail with little effort.
I DDW for a bit but couldn't find any other comments on the usefulness of signed-only mail per se. Consequently, I'd like to ask you: How do you use OpenPGP?6 -
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 -
Installed on my 2x 980 TI SLI the newest Nvidia Driver 384.76.
Played games on it and some Video Editing. Noticed that I have bad laggs and checked clocks.
Wow clocks were locked at half the max Output. Checked if I can do anything to increase it, nope it's locked at half the Performance.
Tried to install previous Driver, install failed. Went 2 Drivers back and installed the 382.33.
Everything worked again.
WTF are the guys at NVIDIA coding while being drunk?? How the fuck can you lock the powertarget of the GPU at half the Performance and after 4 days not releasing a hotfix? Are they testing this shit even or forcing it into production?
Currently NVIDIA has really crappy drivers and with every update it gets even worse.
And the only option you got is GPU's from NVIDIA and AMD. And Vega is not even released yet.
Hope that AMD will beat the shit out of NVIDIA...5 -
Best/Worst dev experience 2017:
Well I started my DevRant-Stats site and got my RandomQuote bot up and running again (although the quotes aren't as good as before)
I also started a little company with my friend and made some sites for clients.
I reached #13 on Sololearn in Austria! Kinda proud of it.
I learned Lua and Ruby which are one my favorite languages now!
And as always I started some side projects that I've never finished...
Don't remember everything I experienced in 2017 but these are some I won't forget.2 -
Yesterday, I was expecting my merge request to be closed.
I've done all the stuff my tech lead told me to do.
All tests passes, green light boyzzzzz.
Gitlab CI pipeline passes, greeeeeen light I said.
In Jenkins everything f*cked up...
Why ??
Well it was a conflict with 3 other MRs, missing rebase from other dudes.
And because they were remote working, got to clean up all this mess.
That's was a day off.
PS : well that's was not so off, I could fix a UB on a ternary and extend a test which was not covering some cases.
PS2 : learn git damn3 -
I happened to come help with a project that deadline was in two weeks. It was hardware project for customers with UI.
They said to me - help us 2 weeks and it’s done. It only needs polishing. There was nothing working and we finished it after half a year.
Hardware was crap and drivers wasn’t working. Managers called me stupid when I tried to explain that this is hardware team fault. They used to say that it was tested in laboratory and there is no defect. Laboratory my ass fucking assholes never released anything from scratch.
I got depressed after this project for a year. It was fucking nightmare.
Everything, literally everything was rewritten 3 times cause of stupid decisions that I questioned all the time. At the end of project most of those assholes stopped commenting my decisions. I believe we released impossible product that was crap but based on usage rates I got later when I left it returned expenses.
I lost like 2 years of my life and about 20kg during those 6 months. Never again. -
My N3DS is currently on its way to its grave. I've had malloc issues since I got it, but recently buttons have begun to fail and it's begun to randomly hardlock, when it happens it's so badly locked up that even NMIs fail to get through.
Luckily, it's hacked, so I can decrypt and export everything now before it's totally toast.
Still feels bad, though... it's been the home of 2 DSi's worth of data for a while now as well as new stuff. It's got some emotional weight to it.5 -
Help needed.
I got a job offer from a good company and the pay is good. Plus, a major stake of the company was bought by a tech giant few days back and I think it's gonna be a great head-start for my career. The problem is the location is in Mumbai, India, and I really doubt I can live there on my own. I don't personally like the place (though I might have some misconception about it). What should I do? Join and pray everything goes alright or skip and wait for the next adventure?6 -
Recently I stumbled upon some articles on the internet claiming you could use window managers on the windows subsystem for Linux. I got a tad too excited, left what I was studying (today I regret it, I just finished a test I didn't know shit about), and started sudoing apt-get install the fuck out of my terminal. Downloaded an X server for Windows and pressed i3 on the terminal.
The server's window was black, but I knew everything was ok, so I pressed alt+enter. My poor eyes melted on the presence of the brightest, whitest terminal window I've ever seen. I must admit I felt really disgusted by the white, but that didn't matter, I had fucking i3 running on my windows laptop. Now when I get home I'll try to fix the dbus problem that prevents gui programs from starting and make everything look pretty. I hope it works!
tldr: I burned my eyes with a white terminal. -
Ok, so my "so called friend" from high school calls me up and requests me for a CMS for his hoax call center business. I didn’t want to do it and didn't have the time so make the busy excuse.
He keeps on insisting and asking it for old time's sake etc.
Finally we decide a price of 80k(rupees not dollars).
I somehow, found the time and made about half of it in 3 days(Laravel rocks) while the time we agreed upon was 1.5 months as I could only work on weekends.
Suddenly he feels, he has got enough to get it working and says just add 1-2 more features, don't make the complete thing. I felt really angry as be was trying to waive off almost all the money as he thought it got done early.
Finally we agreed on 40k, but I wanted some payment up front.
This was 2 months ago. Since then he has ranted about how he has no money but is going to give me as soon as he gets it.
Now, he is dodging my calls and I don't think the the money is ever coming. I desperately needed it for a laptop.
I had already stopped the feature of adding more users(Create) from the CMS.
What do you think I should do?
1 Delete everything (I still have SSH)
2 Send info to all his clients about his hoax business as I have about 200 payment infos.
3 Do nothing
4 {Add your own}11 -
Alright so cool story about my idiocy and it’s relationship to Learning Ruby on Rails.
So I decided to start learning ruby and it takes a lot from python(idk which One came first correct me off I’m wrong)
The tutorial I started was using version 4.2 of rails or something and the latest version was 5.1 so me being a fucking idiot continued to install and learn plus I had to open 2 questions on stack exchange that could be solved with an apt-get install command and after 3 days of my understanding what the actual fuck was going on. I reinstalled Mint and got it working.
After JetBrains and sublime text and all my shit was off my NAS I started the tutorial again with everything installed correctly and quit at the 4 minute mark because my bundle install command didn’t work correctly still having trouble and I feel like I should just stick to HTML and CSS1 -
So I found put what is maladaptive daydream is. I always had it. Recently when I experienced it again, I tried to understand, and I got to a lot of things about it. Researches on handling it are very new and doesn't provide much support but I will deal with it. This podcast talks about it, I can relate to everything but the suicide part:
https://podcasts.google.com/feed/...
In short, when you daydream so much that you have very detailed daydreams and it interrupts your work, your relationships etc. that's when daydreaming becomes maladaptive. As so many people have it but it is not talked about it much, I wanted to put this post on.
I will try to control it with mindfulness and taking care of my body. I hope it will work.4 -
Initially I wanted to be a sysadmin 6 years ago actually. And to this day I still am, to some extent. But since a while ago - I believe last year - that idea started to shift. I always got so enraged at software going tits up, further fueled by the fact that without programming skills I couldn't do anything about it but weep.
Last year in February I did my first part of the LPIC-1 exam, and this year also in February I did the second part. Failed the second part though so I'll have to go back for that. But in the exam results I found that my shell scripting skills are pretty much perfect. I got a big fat 100% on that part.
So that got me thinking. Is the shell a proper programming language, and could I use this to write my own software? And the answer turned out to be yes. Granted like every programming language "'it's\ definitely\ not\ perfect.'" But hey it does most of what I need and for automation it's absolutely great.
So that's what I do nowadays. Still a sysadmin, but I picked up a habit of writing out everything I would otherwise do manually into code. I love it! -
I just really want to pluck my eyes out...
My sister is abroad for a music festival where she is attending as a speaker.
Her speech got almost ready at the last moment. The slideshow presentation was sloppy cause she gave some half-assed points to put. I saved the files (PDF and PPT) on her laptop and on her USB stick, I didn't keep any copies for me. She rehearsed her speech and I added some more points to enrich it and fill a bit more time. When she got there, she messaged me if it was possible to add those extra points to the presentation. I asked her to e-mail me the new points and the presentation on time (which it didn't happen), expecting a file attached to the e-mail. And guess what:
SHE FREAKIN' TYPED EVERYTHING EXCEPT OF THE TITLE!!!
AND NOW I HAVE TO REDO THE WHOLE PRESENTATION!!!
I can't facepalm myself hard enough to hop onto another universe... -
I've left my MacBook to technical assistance for the thrid time. I've bought it on December (the touchbar model, on day one, arrives on December). I paid a lot for it and since then I got s broken key on my keyboard and a faulty display.
Now I got my battery swollen.
Fucking Apple. At least I'm happy with the OS and everything when it's hardware-faults free.
Oh yeah and I switched to MacBook for the construction quality... Bitter irony.
I hope this is the last fucking time, damn.6 -
Working for friends that want to launch a start-up, providing them with what sounds like reasonable advices to me e.g 'maybe test your concept with some leads before asking me to develop the website', 'focus only on the main 2-3 features so we could launch quicker as I am solo dev on this' and 'once set, don't change everything every morning as I cannot make progress on the site if you keep asking me to code X versions of your fucking landing page (that they don't use)' and the only response I got goes like : "okay okay, BUT we've decided to do it this way, no need to test, customer will love it for sure' SURE ! But I am the only one to have a job and sleeping 3 hours to code your shit at night, while your lazy asses remain peacefully waiting for it to become 'the new Amazon' !3
-
It was a shit idea to try and get async to work in my first ever real programm meant to be used in production.
Unit tests are a bitch to make.
And now everything just kinda falls down on its own.
At least i learned a ton and got a lot of firsts out of the way.1 -
So got my pixel 2 XL screen replaced after months of waiting on the part, took it to my usual repair guy and it was fixed within the hour, everything was all fine.
Went home, went to take a photo aaaaaaaaand cameras aren't working.... For fuck sake!
Why can't I have nice things...3 -
I'm so frustrated right now.
I put a lot of effort in a (voluntary) web project where its main component is based on a html table. Everything tested in dev (Chrome, FF), demo deployed and now I open it in Safari (macOS) just to discover that the rendering is broken. A Google search revealed some people with similar problems and many unanswered StackOverflow questions. It's unfixable.
Why Apple? Even MS got its sh** together.
It's unpaid work... I just wanted to something good.3 -
FML! Icons missing from taskbar..check resources..available memory 1MB.. o.O
Okaaaay, usually with missing icons I restart explorer.exe.. restarts all good..not sure on the ram consuption at those times..
Well now that I did the same thing it fuckin closed everything!! Unsaved changes gone..VS saved changes..fuck me if I know what happened.. didn't check yet as it pissed me off, so I'm rebooting the comp..
So yeah, on top of everything that can go wrong in my life rn.. this..fuuuuuuck!!
P.S. people who actually use wins..how much ram you got?! 🤔6 -
Since day 0, I have been fond of computers. One of my first plush was called "DataDog" and looked like a CRT screen with dog ears around. According to my mum I was "addicted" to it.
At year 2, my dad was arranging some music on some software while I was watching him on his lap. Quick jump to the present: nowadays and since 10 years I run my own home studio with three guitars, two keyboards, one bass, three monitors, a microphone, an amp and a cabinet... coincidence? I think not!
Fast forward 5 years later (so I'm 6-7 years old), and I was playing with the legendary pinball game on Win95, as well as Flight Simulator. Then I was hogging mum's laptop to play settlers II (<3 that game), I eventually got my computer, and got into Quake III Arena being aged 10 (and had to tell my mum that game was safe for my age haha - I eventually removed the blood effects).
The Quake 3 Arena chapter is interesting: it got me into router configuration as I wanted to open a port through the router to host my own dedicated games with friends, it got me into DNS configuration (I was running a no-DNS client that allowed friends to join me through a DNS while having a dynamic IP) and eventually... to modifying .cfg files to tune my server as I wanted it. No programming here but a nice intro into :)
Then I hated the fact everybody would point their finger at me and say "geek" - I was only 13, fragile, sensitive, and I wanted everything but a bad image on me.
Meanwhile I continued on getting interested in hardware and configure my own computers, and investing myself into music production.
Then, university. "What do you want to study?" I thought of everything but IT, fleeing the image of a "geek". Turns out it was a waste of time, and at 21 yo I got into web development (well, just html and css), then learned a bit of PHP, finally got a specialized 2-year training and now here I am!
I was bound to be in IT either way since day 0, and funny fact, I've used every windows edition since Win95. -
So im working on a bot. The response of the bot wasn’t correct according to colleague a. So i fixed the response. Now i have a virtual directoy and the response is wrong again. Meanwhile i fixed issue b where the template path wasn’t correct so i fixed that as well. Then i got a merge conflict because i fixed 2 problems in one file in two different branches. So i fixed that. Then feedback came on issue b so we fixed that again. Now my response is fucked completely because the agent isn’t defined i don’t have a clue why. If i ever find out the output probably still isn’t correct either and even if it was i probably get feedback which fucks everything up again.
My god i landed in development hell3 -
I got the core functionality of my Android app working!
But more importantly the dev felt... Fun. The new GUI designer and navigation view/controller is pretty nice.
But also the fact that I'm coding for myself instead of thinking about how to make it sellable...
That and it's easier than getting it to work via ReactNative...
Guess learning React will have to wait... Until it's needed at work.
On another note... My 1 week vacation has come to an end... But lack of motivation and energy prevented me from doing everything I was supposed to do including the other fun stuff...1 -
Last weekend I was working on a small project for a friend of mine: a dockerized webapp, plus API backend and DB. I had some problems with the installation on the vps and had to try out different images and never really did a complete setup of my usual dotfiles. Got it running on an Ubuntu distro. Everything great.
It was the first release so I still had to check that every configuration worked ok, like letsencrypt companion container, the reverse proxy and all that stuff, so I decided to clone the whole project on the server tho make the changes there and then commit them from there.
Docker compose, 10 lines of code, change the hosts and password. Boom everything working. Great... Except for the images in the webapp.
WTF? Check the repo, here they are, all ok. I try different build tactics. Nothing. Even building the app on another docker always the same. Checked browser cache, all the correct ports are open. I even though that maybe react was still using some weird websocket I didn't know, but no.
Damn, I spent 5 hours checking why the f*** the server wouldn't make it out.
Then, finally, the realization...
I didn't install the f******* git-lfs plugin and all I was working with were stupid symbolics links! Webpack never even throw an error for any of the stupid images and the browser would only show a corrupted image, when decoding the base64 string.
Literally the solution took 5 minutes.
F*** changes on production, now I do everything on a fully automated CI. -
I'm developing an app based on user stories and stuff. The business team used Trello to share them with the devs. Everytime they changed a comma, they'd upload a new file. We got to the point where a simple 1 page story had like 15 versions..
So a couple of days ago I suggested my project's PO she could use Confluence for that, I explained her the benefits like how it'd be easier to track changes and the best part: no 30 effing word files.
I checked it today and turns out she started using, but instead of writing stories on pages, she just downloaded everything from Trello and uploaded the documents there 🤦♂️🤦♂️🤦♂️🤦♂️🤦♂️🤦♂️🤦♂️🤦♂️🤦♂️1 -
Does anyone know how to solve the 'Uncaught SyntaxError: Unexpected token <' error? It's on the first line <!DOCTYPE html>, I've even tried deleting that line, but got the same error on <html>.
I've been looking for answers for a while now, and nothing works for me! I know as soon as I post this, I'll get the answer immediately tho.
All the other pages work fine, with no errors and no warnings, all the js/css/whatever files are called in the same file which is shared by all the pages (app.blade.php).
The only 404 errors I'm getting are from the images, but I've tried deleting the img paths and still get the same error. I'm also getting 404 on the images on app.blade.php but those are working fine on the other pages, so I don't think that's it.
The controller was basically copy/paste from another project. I've tried dd($product) and looks fine.
Long story, short: everything looks fine and I'm going crazy. Anyone know what it could be?12 -
What's the best way to leave a job at a small studio?
After months of searching and interviews, I got an offer for a pretty sweet gig at a large company.
At the moment, I'm working at a tech start-up that seems to be having problems with the "start" part of it.
I am the only fulltime programmer. There is a more good chance that me leaving will shutdown the company.
I don't particularly like my boss, but I don't want to financially hurt the guy.
The job is gonna require some relocation, so once everything is finalized, I'll still have more than a month to wrap up everything here before even starting to move.
What can I do to ensure I've done all I can to leave this company with all it needs to go on without me?9 -
I learned Git in the most ridiculous way possible.
Noob me, is using VSCode and i tried clicking the git icon. Now, i didn't know what i was doing and i suddenly made a git repo and i just checked on things (add changes and commit) and little do i know that it was all absorbed. I got skeptical (spying on files, i didn't know what's happening, etc.) so i clicked the "x" button and it warned me that it will be "completely deleted" and it will be an "irreversible action". Due to my stupidity, i pressed okay.
Then that was the time i knew, i fucked up.
But hey ho it took me 12 hrs to recover all files (1600 loose objects) that has been deleted using a 3rd party app (without any master, no last commit message, no everything, just objects a.k.a the blob files that git saves). I tried looking for easier ways to get the files, but it was there in front of me the whole time, so it took me longer.4 -
I was about to have a screenshare presentation of a month-long work over Skype...
Hours before the presentation I got bored and upgraded from Xorg to Wayland for some reason the universe doesn't want to disclose...
Tried to call a friend to check if everything is working and the screenshare feature was missing! 😑 I thought Skype fucked up, tried Hangouts, still not working, tried praying to saint Ubuntu to somehow please let it work one time. It did fucking not.
My gosh, 30 minutes before the presentation and I was preparing the whole environment on Windows. I had never felt so stressed in my life! 😰
Investigating after the presentation informed me that screensharing only works on XOrg, not on Wayland.
Worst last-minute decision ever. *#-##-:$;"+3($(!#@/)#9"+(2(#1 -
Got mixed feelings about dart/flutter 😕
On one hand, I find it very easy to work with and very fast for prototyping. Everything is smooth once you compile it.
On the other hand, I keep running into weird as shit bugs and missing functionality. The bugs are primarily related to iOS, so that might not entirely be their fault. Last one required me to delete the entire project and rebuild it, the clean command didn't work shit.
It's quite annoying that so many features are missing, but I guess that's life, when you try to work with a multi platform language...1 -
Spending six hours installing Antergos and reinstalling Antergos because I can not log into my laptop when I install i3 nor when I install GNOME...
Turns out the drivers for NVIDIA got installed (I checked it without thinking about it) everytime and that was the culprit...
Lesson learned: install everything by yourself, that way you know what you have on your laptop, and makes it much easier to troubleshoot..1 -
Dear Bethesda, Long time no rant eh?
So, I Pre-ordered your mess called Fallout 76! I was hyped! But you fucktards just fucked everything from behind...
Shit Graphics, over 1001 bugs, everything...
I didnt play it much so, I didnt think about it until now... now when my Drives called, "Porn", "more porn" and "a fuckton of porn" are full, and whats the biggest game ive installed? Yes. Fallout 76... I uninstalled this mess and wanted a refund of my 95.60CHF, Which is A LOT for a game... and you fucks lurking in the background replied with "players who have downloaded the game are not eligible for a refund." Aka: "We now have your money, bought some cheap hookers with it, and now dont have it anymore JK LOOOOL XDDD"
Yeah, and my friend who wanted a refund, got it. Fuck off bethesda, take your shitty shit of a shit piece of shit game with you and fly away with it.
I cant take it anymore...
OH, AND DID I MENTION YOU PUT AN AD ON YOUR MAIL?! Like this:
We have your money now, but please waste more on it on our other shit games.
FUCK OFF!19 -
I finally got my new home server.
A Lenovo ThinkCentre M720q in one of the higher configurations.
Any ideas what top level OS I should put on it?
ATM, I'm thinking Proxmox, ESX or Alpine.
I like proxmox because of the neat UI for everything but I'm kinda worried about how it basically takes the most important parts of the system over.
I like Alpine since I already use it for quite a while as my goto server OS and because of AWALL, which IMHO is the best linux server firewall.
I didn't get to evaluate ESX yet.6 -
After a 3 hour fight with a custom Ajax request I have won the fight of getting a limiter run on the output. My goal was to only display x amount of result from a Json response and I finally got it working by putting everything in a if statement. Might not be the cleanest way but it works.
-
I thought that making an android game was gonna be easy.
And it was easy.
I created everything from zero: logo, banners, UI, etc.
Yet today was uploading an update for internal test (friends and whatnot) and 2 minutes later I get an email from Google saying that my recent update was rejected due to "violation of impersonation policy".
Like what the heck
Did my research on the type of game I was doing, and nothing matched with what I was doing and yet I got banhammered :(1 -
In school we had to make a very basic program to calculate some stuff of triangles, based on the three points of it..
Somehow i got completely into it and made "some stuff" to everything possible, w/ a stylable canvas where shit was drawn to.
Actually that turned out to be very fun.🤓 -
Is it me or everyone else also gets interested in absolutely everything while trying to focus on the project on hand?
I seriously think I got interested in programming the same way at the first place 😂😂😁🤣1 -
Why am I so curious?
You are always talking about Arch linux. Well, I got a second hand (very old) laptop to use as a backup, as I am going to working from home and I just have a desktop pc. So I decided to install Arch on it just to know how does it works. After this first experience, I would change it to a lubuntu (I am talking about a Celeron with 2GB RAM).
Well... I managed to install Arch. It is up and running. Lot's of problems to fix yet, sound, native wifi (I am using a wifi adapter that just works on any linux distro) etc but I am fucking in love with Arch! And I can't use it to work, as it is very unstable and I really need everything always up and running to work. I cannot have any glitch with the computer or I can lose a deadline.4 -
After couiple of hours (Yes, apprently it's insane how hard is to add a new NIC to a linux machine and make it start on boot), I finally got my connexion working !
Story :
Server has original MB 1Gbits card. Internet connexion is 1.1 Gbps. So 1Gb card only picked at 940 Mbits download
I bought a 2.5 Gb card (new nic)
Pluged it in : Nothing
Couple of ifconfig -a etc, bring device UP : Yeah working !
Reboot : Nothing
/etc/interfaces : nothing
And why it's not eth0 and eth1 etc as before but some thing cryptic like enp3s0.
Well, at least now everything working (Apperently there is a new "network plan" config file in yaml... what a waste, DO FUCKING JSON YOU RETARDS)
Ping is awsome tho ! Same cable on windows Machine, I get 5 ms.4 -
!rant
[Update on previous rant at the bottom]
So I had the technical test last friday. I did not try to implement any automated test as it is not my forte.
I had three hours to showcase my knowledge of data structures and OOP so I did that.
The test was somewhat long actually, so I left out one part that I did not have time to implement: validation of input files.
Today I got feedback, everything went well, they liked my code and I only got two negatives: Error handling and automated tests xD
Now I'm going to the second phase: phone interviews and they are gonna asks the whys of my implementation.
I'll have to explain why I did not implement automated tests and the girl on the phone told me "they didn't like it much that you had no tests because tests are very important for us".
I guess I'll have to come clean and say that I'm not very strong on that but willing to learn, so I didn't want to risk it doing something I'm not really good at.
I hope it ends up well.
prev rant:
https://devrant.com/rants/1607302/...4 -
TIL "monorepos" are a thing, where you just whack all your projects into one insanely large repo. And not just a niche thing either - used by some of the biggest tech companies.
I thought this was a code smell that everyone moved past when we abandoned subversion.
I understand the theoretical arguments around ensuring that everything can be compatible, can make large scale changes at once, etc. - but I don't really buy that in practice. Surely if you've got that many inter-dependencies going on that just points to the fact you've got crappy code with way too much internal coupling?!
Does anyone use this paradigm? To me it just sounds like, for the big companies, moving away from one huge repo was too much hassle. So they gave it a fancy new name and pretended it's the new "cool way to work" instead.4 -
Got the update to Android Oreo on my S7 edge yesterday.
I love it. It made my phone work so much faster(really, so much!). Everything is smoother and new cool featured have been added, the UI looks incredybly modern and nice.
But there is one BIG disadvantage.
The batteryusage is terrible now. In bad times my phone lost 7%-8% in a half an our. I heard that they had the same issue when the s8 got the update to android oreo.
Pls samsung you are my favourite phone company. Fix it, it is driving me crazy!!!1 -
uPlay is ramming me down the throat harder than what should be legal, I can barely breathe.
I'm trying to install Far Cry 5, I preordered it. But.. download is stuck on fucking 0B. That being 0 bytes.
I tried disabling all firewall/antivirus, clean Windows boot, restart, reinstall launcher, slam the table, like everything.
Why isn't the shit fucking doing its job? Anyone who got ideas for what I could try next?
I'm not gonna send a message to their support, I'd rather have sex with a hedgehog, where I'm the one being penetrated. Fuck me.6 -
I went to do the "transport-tracker" Google Codelabs that uses JS/Firebase/Maps, and I didn't pick up on how really outdated it was lol... it took me about an hour of ehat seemed like an endless climb out of a shit factory....but I passed my NPM "massive errors" trial by fire with flying colors, got everything working mint, and managed to get most of everything (minus the docs) updated/cleaned up. Holy fuck that was crazy, it's amazing how many things change in such little time!!!
Anyways, the main reason I'm here is.... should I push the used-to-be-old-and-fucked-up codelabs I fixed up and made current to Google?? They are pretty important concepts that cover a lot of ground, so I feel like labs/tutorials should be refreshed by up and comers every so often but I don't know if there's a reason why we leave em to just rot and die haha -
I give up on getting Bluetooth LE to run :/
Got a new 14'' Laptop for travel/mobile purpose. It only got like 2 USB Ports so i thought a fine Logitech 590 might be nice.
I am currently using Ubuntu 18.10 and a tried everything..Arch Wiki had some nice tips, but even then i cannot even detect the damn tool, despite many sites saying hcitool -lescan plus gatttool should do the trick, no avail.
This is quite retarded cause i was really looking forwar to do this. I figure it might be hard but impossible is annoying :/
Stupid Bluetooth6 -
Working on my new WebSite/Shop while discovering an Error....
I got a "Download" button as <input> that triggers an JS-Script that makes a POST-Request to a target=_blank, that downloads the file via a header (so that people won't know where the content is located, but I blocked the source with .htaccess, too)
So the error: While testing in Mozilla everything worked fine, but as soon as I switched to Chrome THAT FUCKING STUPID DOWNLOAD PAGE WON'T FUCKING OPEN! I HAD TO CHANGE IT FROM AN INPUT TO AN DIV AND TO FIGURE THIS SHIT OUT IT COSTED ME FUCKING 1 HOUR! FUCK YOU CHROME! FUCK YOU! YES YOU FUCK YOU! YOU RUIN EVERYTHING! MOZILLA IS FASTER WHY THE FUCK DO I STILL USE YOU BESIDES OF PORN! OH WAIT I DON'T EVEN WATCH PORN BETTER UNINSTALL YOU NOW! FUCK YOUUUUUUUUUUUUUUUUUUUUUUUUUU6 -
!dev
Went to NYC to get an MRI and ate out afterwards around KTown, 32nd St and walked into one restaurant. Got the menu and basically saw everything was at least $20-30... Walked out sorta embarrassed but wondering when did they get the expensive... Were they always that expensive...
Went to a curry place next to it and it was OK, just got a beef curry, but that cost $17...
So this year I got a raise "because I'm a top performer" but today I'm just wondering, is this just another inflation adjustment...
Oh, I also bought some cakes... Those were $4 each but had a 3 for $10 deal... and some special bubble tea was $6, gave a pass on that too...3 -
I think today might be the day I'll bring ubuntu onto my big laptop. It had only windows for many years now and I did all my dev work on my smaller laptop that I carry around with me. Since I leave the small one at the office now - i got tired of carrying. Lol. - but want to continue my dev work at home, it might be time.
It's going to be a pain to setup everything though, although I got rid of the part that was making the setup really painful. We'll see.
Maybe I'll rant about the setup in a few hours. Lol. Wish me luck.3 -
I was originally employed as a Full Stack Python Developer. But this year so far, I only did operations. Now I also got a project to host the legacy Python 2.7 Plone/Zope applications of another company entirely on our infrastructure. This means, that I'll do hardly anything else from now on, i.e. no programming. It was already decided that we'll do the project, and it landed on my desk when everything was fixed.
So I'll quit my job to build my own company with some friends, but I can only leave after a two month notice period. So I have to do the project anyway, for which I feel absolutely zero motivation.
I wanted to become a good programmer, but in my last two jobs I just was a mediocre Ops guy. This is because most other programmers would make even worse Ops guys then me.7 -
200 searchable records (heavily searched and essential to the app) kept getting deleted from their index on our search engine.
we couldnt figure out why, but we wanted to resolve this quickly next time it happens so we got them back up, duplicated the index, and whenever we see they got deleted we resync them from the replica.
Eventually i found that there was a piece of code that updates the index by deleting everything from it and uploading everything back but it was buggy in doing the latter.3 -
I declared it a Heisenbug!
So, basically I was starting multiple threads...
I was getting a list index out of range on line 268 which was a dict. Strange.
36 hours later, a lot of changes, I was still having the same error whatever I put on line 268, log, try, but when I got it on a comment... I lost it.
Restarted Pycharm.
Reset the branch to remote.
Everything worked fine.
Fuuuuuuuuuuu -
I just got my first 17in laptop. It's a dell XPS 9700. I wiped it and installed Arch Linux within minutes of unboxing! lol. I just finished and we're at 6 hours from delivery (4 hours of beer drinking and) 2 hours of config later, I'm posting on devrants. Everything but the audio and nvidia graphics worked OOTB. I'm still working on getting nvidia prime working on Wayland. Tips welcome!5
-
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 -
Manager: we really need to get X live, do you think it's possible at the end of today.
Me: well everything pretty much works as it should but we still need to go over some details.
Manager: that's fine, just ship it we'll go over it on Monday.
Me: you got it
Message from manager at midnight: link X shouldn't open in a new tab!
Me: rolls eyes, opens computer :-/2 -
@BinaryProvider is the best co-worker anyone could strive for. It was my first job, but I got hired on the basis of my will to learn. He got me the most powerful workstation, all the software, and then backed that up with relentless faith in me not screwing everything up. I will be forever grateful for everything I'm learning here! Cheers back at ya :)
-
/(ò.ó)┛彡┻━┻
Why can't you just do what I say... I don't need ur opinion on points that I specifically stated should be done a certain way....
I don't want to spend 30mins arguing with you... I already got enough work as it is and ur supposed to be helping me...
I don't have time to explain everything to you... Just what I need you to do....
There's a reason I got promoted and you didn't...4 -
I just remembered that I still have this somewhat decent micro controller (that even has a gyroscope on it) from a few years ago when I got it as a gift but never used it and was never really interested in it. This changes everything!!
-
I've been playing around with Nim lately, and I'd have a question. Already asked on StackOverflow, but my question disappeared without a trace (if you allow others to delete stuff, at least notify me it got deleted!).
Question is: if I have "defer: doSomething()" in an iterator, does doSomething get called when I break iteration early (before consuming everything) using a break statement?1 -
I just got a new laptop and wanted to dual boot Linux on it.
Everything seemed fine until I realized the laptop had UEFI. I always used easyBCD but this won't work sadly. MS blocked some features.
Any alternatives?
What boot loader do you guys use for dual booting Linux that works with UEFI?
Thanks in advance!14 -
A while ago I got a book on python. I got into it a lot. Learned the basics from that, and everything else from the internet.
-
Joined a new project.
The core of the application has references to pretty much everything in the entire codebase, both api and database layer.
On top of that it uses extension methods instead of mappers or normal methods on classes in order to "keep classes short", so many methods are unnecessarily hidden from view.
Tried to fix it, got told to revert back to the old version because "it might be wrong, but at least it's wrong everwhere". Guess I'm making bolognese for dinner.1 -
Got deployed on a freshly created team taking over an existing project. Was working on a task. One day later, dev lead came along, my current task was being handed to him, I will be transferred over at a different component with less resource. My current work has some setup code changes advised by one of the dev originally handling the project so it could be built and I could start working while somebody else fix it. I asked the devlead if he would like a patch of my current changes along with the setup fixes so he could start working on it. He said, 'just commit it to our feature branch'. Days later, he told me why I committed stuff that wasn't included to the task, referring to the setup code. Accused me that it's because I used git terminal.
I was shookt. From then on, everything I say, I do, weren't taken seriously. I want to quit. fml. It doesn't really help that I look like a kid.1 -
Guys i installed Linux mint 22 with gnome on top of it in a Virtual Machine, I installed everything i use on a daily basis and configured all applications i use, then I did a TimeShift snapshot, then i got an idea which i want your advice about, I currently use Zorin 16 OS, if i did a TimeShift restore on my main machine based on the snapshot i took in the VM without doing a fresh install of Linux mint, would that work? Or it will simply keep Zorins files and adds up Linux mint files and make a conflict?
-
!Rant
I got my first computer 3 years ago. It had windows which I used for nearly 6 months and then switched to linux. Everything is doing fine, I am learning quite well. However, one thing that bugs me is that I don't have much experience on Windows platform and know comparatively less about windows, will I survive once I get to the job market?
By the way, I recently passed my high school.1 -
// Rant 1
---
Im literally laughing and crying rn
I tried to deploy a backend on aws Fargate for the first time. Never used Fargate until now
After several days of brainwreck of trial and error
After Fucking around to find out
After Multiple failures to deploy the backend app on AWS Fargate
After Multiple times of deleting the whole infrastructure and redoing everything again
After trying to create the infrastructure through terraform, where 60% of it has worked but the remaining parts have failed
After then scraping off terraform and doing everything manually via AWS ui dashboard because im that much desperate now and just want to see my fucking backend work on aws and i dont care how it will be done anymore
I have finally deployed the backend, successfully
I am yet unsure of what the fuck is going on. I followed an article. Basically i deployed the backend using:
- RDS
- ECS
- ECR
- VPC
- ALB
You may wonder am i fucking retarded to fail this hard for just deploying a backend to aws?
No. Its much deeper than you think. I deployed it on a real world production ready app way.
- VPC with 2 public and 2 private subnets. Private subnets used only for RDS. Public for ALB.
- Everything is very well done and secure. 3 security groups: 1 for ALB (port 80), 1 for Fargate (port 8080, the one the backend is running on), 1 for RDS postgres (port 5432). Each one stacked on top and chained
- custom domain name + SSL certificate so i can have a clean version of the fully working backend such as https://api.shitstain.com
- custom ECS cluster
- custom target groups
- task definitions
Etc.
Right now im unsure how all of this is glued together. I have no idea why this works and why my backend is secure and reachable. Well i do know to some extent but not everything.
To know everything, I'll now ask some dumbass questions:
1. What is ECS used for?
2. What is a task definition and why do i need it?
3. What does Fargate do exactly? As far as i understood its a on-demand use of a backend. Almost like serverless backend? Like i get billed only when the backend is used by someone?
4. What is a target group and why do i need it?
5. Ive read somewhere theres a difference between using Fargate and... ECS (or is it something else)? Whats the difference?
Everything else i understand well enough.
In the meantime I'll now start analyzing researching and understanding deeply what happened here and why this works. I'll also turn all of this in terraform. I'll also build a custom gitlab CI/CD to automate all of this shit and deploy to fargate prod app
// Rant 2
---
Im pissing and shitting a lot today. I piss so much and i only drink coffee. But the bigger problem is i can barely manage to hold my piss. It feels like i need to piss asap or im gonna piss myself. I used to be able to easily hold it for hours now i can barely do it for seconds. While i was sleeping with my gf @retoor i woke up by pissing on myself on her bed right next to her! the heavy warmness of my piss woke me up. It was so embarrassing. But she was hardcore sleeping and didnt notice. I immediately got out of bed to take a shower like a walking dead. I thought i was dreaming. I was half conscious and could barely see only to find out it wasnt a dream and i really did piss on myself in her bed! What the fuck! Whats next, to uncontrollably shit on her bed while sleeping?! Hopefully i didnt get some infection. I feel healthy. But maybe all of this is one giant dream im having and all of u are not real9 -
context i am 20 y/o student studying in mumbai uni college
SO RECNTLY I GRABBED A INTERNSHIP AT A BIG SOFTWARE COMPANY AS A SDE INTERN
so before all this i was that guy of college who was never been invited to parties or nightouts as i am not from a rich Bg they used to tease me on my style of clothing how i used to talk my english is fluent still i used to get bullied. I just had this female friend of mine which everytime used to support me let it be Leetcode question staying up late with me for studies but she was also teased because of me as i was not from a well known family or had money to show flashy things... she was so happy when i got this internship
PS it is my first day of my internship i went to the campus it was so prettty as i havent see anything pretty as this office campus so i clicked the picture standing next to the company logo the watchmen clicked it for me as i was too early to the campus there were no on, i was smiling like a dumb person that security guy was happy after knowing my story then i posted it on my IG and snapchat then i went it wait for onboarding stuff and then i got to meet my HR and she discussed everything she was sweet enough to explain me everything in detail too friends staff then when i checked my phone when the day was completed from office
guess what all those people who used to mock me and my friend for being nerds and used to mock me because of my financial bg now they were congratulating me and asking me how i got this and all
so i just want you to know please don't judge anyone or bully anyone just because of their bg they are always suffering in dark i will like to thank my close friend which was always with me
ty guys for reading till end1 -
Today our PM planned to deploy in production an e-commerce based on PrestaShop.
A colleague of mine mamaged to implement everything that was necessary, and I made a small script to add random sales on random products every sunday.
We tested it several times in our environment, on multiple machines, and everything was working fine.
BUT
Today we launched the script on production server, and we was a little mistake.
"A bug? Say no more pal, I'll fix it!".
Fixed, tested on local environment, deployed and.... The first steps weren't working.
"Fatal error".
That's what I got. No exceptions, no error messages, no references.. Just "fatal error".
We spent two hours looking for the problem, thinking it was a server error that was just outputting that shitty message.
And you know what? Some fucking fat cocksucker son of a bitch thought it was an excellent idea to stop the code execution with a simple and very helpful "fatal error".
"oh, wait, there is an error here, let me print die(" fatal error"), ao the other developer will be able to find what's going on", he thought.
FUCK YOU MORON.
TL;DR: Avoid French software, they are a bounch of asshole (except some goos guy..) -
For those who ever tried to find and/or implement a crm: everything seems to be based on that bastardized vtiger core which is based on an old version of sugarcrm I'm so fucking tired of that shit. I gonna make my own. The underlying framework makes me sick to the bone. Everything in there relies heavily on magic. Being arround for years and just recently got a new major release yet unable to transfer offer items to the invoice even though it requires a relation?
This is not blunt talk. My thing is based on Laravel, EAV principle for dynamic fields, module code structure, interface for the list view and many other stuff is already integrated. This is gonna be done and will be done because existing stuff is so fucking ugly and broken I can't fathom myself.
Btw I still need a name
PS: I hate smarty, PearDb and their fucking database layout -
Ok so, another post got me thinking…
Every browser I’ve tried sucks one way or another. Chrome, Firefox, Vivaldi etc…
Safari on my work Mac is so far the least annoying one, although it seems to have an issue with Google’s services…
On my personal computer (Linux) I use mainly Vivaldi, tho I have Firefox installed as well since apparently Vivaldi doesn’t quite support everything on the interwebs…
So, fellow ranters, what are your favoured browsers (all platforms go!) and most importantly, why?11 -
I'm in the drive-thru of burger king
can I please get uhh whopper jr with onion rings
make it a meal so I can get a drink
no I'm not finished, that's not everything
can I please get a double whopper with no cheese
I got money so I don't care how much it cost me
so just throw in some extra fries don't make them salty
all this cheese gonna make my booty drip drip
I'm lactose intolerant I don't sip milk
if I see a sight of cheese I'm gonna trip trip
I'm gonna sit on your toilet seat, doodoo then dip
so you got my little whopper jr (i didn't forget that)
and you got my double whopper (i didn't forget that)
what about my onion rings (hold on you can sit back)
burger king, they know me now, cheese I don't want that
(grrr) and I'm getting hungry now, I know you heard that
waiting for my onion rings so I don't have to turn back
burger king don't play with me, your nuggets are so trash
nuggets taste like rabbit nipples why do you even serve that
better stop playing and just give me all of my food
either I pay you right now or leave the drive-thru
gave me the bag and then I took a bite of my food
there's cheese in my mouth, I'm gonna doodooo
I'm in the drive-thru of burger king
man they just gave me a whopper jr with hella cheese
made it a meal so yes I got my drink
but why do they put cheese on everything
they put cheese on my double whopper with no cheese
ill be taking a number two in the morning
hold on, can I please be excused for a moment
the cheese already in my body, booty farting
I farted.. -
Background: Got a macbook, A external HDD(2TB) of which +- 1TB was used.
Yesterday i moved all my personal projects from my work laptop to my external, to move to my macbook.
One of my clients(Freelancing) calls asking me to install new hardware, install software and fix OS(Windows 8.1).
I leave work and go directly to said client and he hands over his Lenovo S20 Touch(No CD/DVD Drive).
I install windows 10 and other software from my flash(Already on there)
Good, Everything is ready to go. I go home and finally get to sit down with my baby(MacBook)
Me: *Plugs in external*
...
nothing.
Opens Finder, can't find flashdrive
Check MacKeeper
MacKeeper: VirusDetected
Me: *Pissed*
Client calls.
Client: Hey is everything ok with the laptop, no viruses no nothing. Because everytime i insert a flashdrive it gets a virus and i have to buy a new one.
Me: I installed windows 10 on it, it should be fine with defender now.
Heart: *shattered* YOU COULD'VE TOLD ME THAT BEFORE FUCKER!!
i never knew people like this still exist1 -
So my win10 PC with everything I have on it just got trapped in a boot loop, because I tried to start a VM.
No backup, no rescue DVD, noone here that could help me but myself.
Well I guess that is what I deserve for trying to try out a Linux system.
Luckily my project deadline is 3h away, so I have still time to fix this mess and start working.
Wish me luck guys.4 -
Ok, there is one good thing. I've reached 333 +1's. Thank you all guys!
Sooo... a few days ago my Power supply from my home pc died. It was a good one, but I don't know.. it just burned nearly..
Today I've received a new one.
Plugged everything in. PC runs - or not?? WTF! Windows (yeah, at home still Windows ) isn't booting anymore. Hardware changes detected. I think, through the broken Power supply something got damaged.. shit.. and know what - don't have any Backup. Shit. At least some important data is on another hdd, which hopefully is fine. Now I'm trying to rescue the data with another hdd installing a fresh Windows.
Whish me luck!
PS: No, the power supply wasn't from Samsung, even when it exploded nearly :P1 -
I got android nougat on my phone and of course my root was gone
It was dearly easy, but along the step of doing it I had to format some partitions (like /data), after that I flashed some zips and put the backup of my data partition back on my phone
Pictures where missing, some app data where missing, also WhatsApp pictures and videos
Turns out, twrp saves pretty much everything, but leaves out the user data folder, where all of that stuff would've been
I'm just happy that I'm not one of those people who don't need to keep thousands of pictures
I don't really know what kind of stuff I lost, probably not too important -
Mr .... what are you doing here she asks
Observing court I say
Why must everything be a pointless pageant of idiocy ?
But that's exactly it
You observed court you weren't on trial
Also you got better5 -
Now I didn't become a dev solei to avoid paperwork but the lack of paper was appealing...
I'm stuck in a support gig because it pays more than any of the dev jobs I got offered and I do is write is docs on Confluence.
Please no "Money isn't everything" comments. I agree but the dev offers I got, I couldn't live on -
So I have a MEAN app that is super simple just basic CRUD operations.
Everything works fine. Decide to extend it by bringing values over into fields on an Edit page. More work than I thought it would be but got it working, just passed values through an array in the URL. Pretty simple. So then I click save and it's broken. _id is apparently now undefined. Oh I posted it on the Javascript chat on SO and got nothing, instead everyone is talking about porn folders, a tweet, a random picture that looks like either a woman doing oral to a guy or a guy reading a book, and now Obamacare. FFS just answer my damn question >.< So I post it on SO itself and still crickets there. Worst part is I know its something simple I just don't know what it is because I'm still new to programming in general only been a few months in a bootcamp just learning the basics of MEAN stack (which I do like a lot tbh)
Man SO is so frustrating. -
been working on this docker thing for 2 weeks. 3 containers each running a different aervice (mariadb, nginx, wordpress) using debian as the base image (not the app image itself). Got all the configs down, all the dockerfiles down, the docker-compose yml down. Run docker-compose up, everything goes up all nice without errors.
Try to access the wordpress website. Only reachable from localhost, no atyling is served, all redirections fail… because it can’t find the local domain it is supposed to bind to. Tried editing the hosts file, didn’t worked. 3 days of googling, havent been able to find a fix. I don’t know what am I supposed to hate anymore. Is it nginx ? is it wordpress ? is it just the host machine’s dns/hosts config ? is it docker ? myself ?
I swear theres nobody in this world who wakes up one morning and happily cracks their knuckles to go write some dockerfiles.1