Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "old-drivers"
Worst legacy code experience?
Well grab your spelunking gear and follow me down this rabbit hole!
It started early this year when our biggest customer asked us to send ETAs for deliveries. Simple enough, how bad could it be? Just need to add an ETA form for the drivers in their mobile app. And yes, that part was easy, but then we had to go from our mobile app to our internal system.
Welcome to the IBM AS/400! Where time has stood still for two decades and the mainframe is alive and well.
The shitshow started in March and, spoiler alert, it's still not working.
We begin by dumping the mobile app data in to a table that an RPG program watches. I'm not sure if it's a limitation of RPG or a limitation on the brains of our RPG developers, but timestamps do not exist here. There are only varchars. There are also a multitude of formats for these timestamps, because that makes life more interesting. This program breaks frequently.
If by some miracle the RPG program processes the data, then the ETA goes to a table that's completely separate from the entity it belongs on. If the data is needed, it is JOINed. The old ETA field is now permanently blank.
Why, you ask? Because RPG programs need to be recompiled every time the underlying database changes, and half our system hasn't been compiled in like 10 years. God only knows if we *can* recompile at this point. We extensively use Synon/2E, which compiles to RPG, which can (and has) been hand-modified to fix bugs instead of fixing them in the "higher" language. So now if we try to recompile, we might be losing those fixes *forever*.
Naturally, there is NO referential integrity between this tables. There's orphan rows all through the system. There's also one-to-many relationships in tables meant for one-to-one. Also there's no unique keys. You have to combine multiple fields to get a (potentially) unique key.
Now, there's a series Synon programs that run every 5 minutes to check if any data needs to be sent out. These Synon/2E programs do *full table scans* of the database and check for changes. And, of course, they're buggy as shit.
But you can't debug it there, oh no no no, the output gets pumped straight to...
Wait for it..
A fucking COBOL program.
This COBOL program takes the data from the Synon/2E programs and puts it in a horrible format called X12. X12 looks something like this:
This shit is why JSON was invented. Yes, that's what an ETA for 2017-06-10 14:00:00 looks like. The timezone is "Local Time", whatever the fuck that's supposed to mean.
So this COBOL program has logs, which should make life easy, right?
Using the 'search and audit' function in the program dumps 90 char lines of text on the screen with no line breaks. Worse, the terminal can only show 87 of those lines, so you have to push Shift+F8 to move to the right by three characters. There's no way to search for the actual ETA events using the program, and while you can filter by reference number all this garbage is sent in 5 minute batches, so you'll get a dump of irrelevant data along with the thing you're looking for. Also there's no such thing is grep in this environment, or anything even close to it.
I have hundreds of these bad data transfers to debug, so there's no way in hell I'm doing this manually.
I never did figure out exactly where the raw data is kept, but apparently it's tucked away in one of a thousand tables associated in something called "multiple member files". It seems IBM tried the "schemaless" thing long before MongoDB thought it'd be hip, and like so many MongoDB projects this too ended up a shitshow. Multiple member files are now deprecated I believe, and IBM documentation + resources are sparse anyway so that's pretty much a non-starter.
But I did figure out that the "Print" function of this program can be called directly with a batch number... So here's what I do:
Get the dates of the oldest and newest bad ETAs I'm looking at. Find those two manually and note that batch numbers. Call the "Print" function with these batch numbers (provided the difference is less than 32,767 because yay 16-bit programs). Take the print file and convert it to a "PC-Style ACII" stream and put it on the emulated file system and ancient SMB server. Copy that file and parse that garbage to find the relevant events, and finally dump it to a CSV for quick and easy viewing.
That last paragraph took me a couple weeks to figure out. Fuck IBM.
Now, finally, after fixing all the bugs I found on our side, we've finally come to the conclusion that the data we're sending is good. But! The customer is still having trouble parsing it...
You see, they're having some problems with their IBM AS/400. There's a lot of old code that's supposed to parse the data we're sending, and they're just not quite sure why it isn't working.17
So I decided to give Linux a try again.
Created live usb. Prepared myself to go through all the hassles at the beginning.
Booted in live USB. I can't see mouse cursor.
Searched in google, apparently a common problem with GTX 1070/1080 graphics cards.
Installed proprietary nvidia drivers with keyboard only. Took me about 20 minutes.
Finally managed to get the mouse cursor and install ubuntu. Time to boot and smell the fresh air of linux again.
Sound card doesn't work. Even the integrated mobo sound card doesn't work. Looked for a solution, found the bug in lunchpad but not solution yet. Everyone recommending to buy an external sound card.
I can't code without music. Decided to remove linux.
Booted back to Windows and removed linux partition. That fucked up my bootloader although I installed linux's efi loader completely separately.
Now I am sitting in front of my computer, with black grub screen, while trying to make a Windows 10 usb with my 7 years old broken laptop.
Next time I see a rant about Windows 10 that glorifies linux, I swear I'm gonna smack your face over standard TCP/IP52
Now now, chill. I'm using it as my main OS for a few years now. I know what I'm talking and this title is a bit click-baity, but this just has to go out there:
1. It's usable as a Windows replacement just fine - FALSE. XFCE4 is years old and buggy as hell especially on multi-monitor set-up, Gnome3 gets stuck more often than my Windows 98 machine used to, KDE is like a rich kid on meth. Plug in Bluetooth headphones? Well no, sorry, you have to research that online, since you'll probably need to install some packages for it to work. Did I say "work"? Well no, because after more research you realize that Debian on Gnome3 on gdm3 launches pulseaudio on its own, so you have 2 instances of pulseaudio, and one of them is stealing your headphones sometimes and you either have no sound or shitty sound. How do I know that you ask? The same way I know everything else - every time you try to do something new on any Linux, it involves a ton of research. Exciting research, don't get me wrong, but at this point it looks more like a toy than a reliable desktop computer operating system.
2. And why am I using pulseaudio? Why not alsa? years ago people were discussing on forums that pulseaudio is old and dead, yet here we are with new LTS release of Ubuntu still shining with Pulseaudio. How about several different service management systems being deprecated by new ones, each having different configurations and calling methods? Apparently systemd is old and lame now. It's a mix of 10 year old software that works badly, with a 5 year old replacement that works worse, somehow trying to live under the same roof. Does it work? Ask my headphones who sound like a fucking dial-up modem.
3. Let's talk about displays, shall we? xorg is old and deprecated, right? We got Wayland that's mostly stable. Don't know what that is? That's just basic knowledge for Linux. And when you try to install network-manager, it also tries to install Mir toolkits. Because why the fuck not install 3 display managers when you want a network manager, of which one is old and dying, one is young and stupid, and another is an infant that died of cancer?
4. Want to integrate with Google Drive? Yeah, there's a tool that mounts the drive as a local directory. Yeah only for Ubuntu. Want it on Debian? You need to compile it. Oh wait, it's on Ocaml, because fuck mainstream languages, we're hipsters. How do you compile Ocaml? Well you need to have Ocaml on your system, dummy. How do you do that? Well you need to compile Ocaml. Ok, how do I do that? Well, git clone, download and install some dependencies, configure, make... oh sorry, you're using libssl1.0.2g when you need libssl1.0.1f, nope, sorry, won't work. Want to install libssl1.0.1f? Why? You already have the "g", stupid! Want to remove libssl1.0.2g? Bye-bye literally everything that you have on your PC. But at least you got the "f". Does it work now? Well no, because you need libssl1.0.2g for another dependency to work.
And all I ever wanted was to get a fucking document from google drive (not nudes, I promise).
5. Want to watch a movie? Let me tear that screen in half and make the bottom half late by a couple of frames, because who needs vertical sync, right? Oh you do? Well install the native drivers maybe. Oh you have? Welcome to eternal Boot to Recovery mode, motherfucka!
Yeah, most of the times things work just fine. But the reason I know what those things are and how they work is not curiosity. The reason that I know the inner workings of Linux much better than the inner workings of Windows, is because in those few years that I've been using it full time, it has caused me 10 times more headache than I have ever experienced with other systems. And it's not the usual annoyances like "OMG it rebooted when I didn't ask it to", but more like "Oh, it won't work and I need 2 days to find out why" kind of stuff, because even if you experience the same thing again, it's always caused by some new shit and the old solution won't work any more.
I still love it, and will continue to use it. I don't know why really. Maybe because I'm not afraid of fucking it up any more? Maybe because I can do what I want in it and recovering will be easier than on Windows?
It's a toy for me, after all these years. And I also use it for professional reasons.
But whenever someone presents it as a better alternative to Windows, I just want to puke.52
I really, honestly, am getting annoyed when someone tells me that "Linux is user-friendly". Some people seem to think that because they themselves can install Linux, that anyone can, and because I still use Windows I'm some sort of a noob.
So let me tell you why I don't use Linux: because it never actually "just works". I have tried, at the very least two dozen times, to install one distro or another on a machine that I owned. Never, not even once, not even *close*, has it installed and worked without failing on some part of my hardware.
My last experience was with Ubuntu 17.04, supposed to have great hardware and software support. I have a popular Dell Alienware machine with extremely common hardware (please don't hate me, I had a great deal through work with an interest-free loan to buy it!), and I thought for just one moment that maybe Ubuntu had reached the point where it just, y'know, fucking worked when installing it... but no. Not a chance.
It started with my monitors. My secondary monitor that worked fine on Windows and never once failed to display anything, simply didn't work. It wasn't detected, it didn't turn on, it just failed. After hours of toiling with bash commands and fucking around in x conf files, I finally figured out that for some reason, it didn't like my two IDENTICAL monitors on IDENTICAL cables on the SAME video card. I fixed it by using a DVI to HDMI adapter....
Then was my sound card. It appeared to be detected and working, but it was playing at like 0.01% volume. The system volume was fine, the speaker volume was fine, everything appeared great except I literally had no fucking sound. I tried everything from using the front output to checking if it was going to my display through HDMI to "switching the audio sublayer from alsa to whatever the hell other thing exists" but nothing worked. I gave up.
My mouse? Hell. It's a Corsair Gaming mouse, nothing fancy, it only has a couple extra buttons - none of those worked, not even the goddamn scrollwheel. I didn't expect the *lights* to work, but the "back" and "Forward" buttons? COME ON. After an hour, I just gave up.
My media keyboard that's like 15 years old and is of IBM brand obviously wasn't recognized. Didn't even bother with that one.
Of my 3 different network adapters (2 connectors, one wifi), only one physical card was detected. Bluetooth didn't work. At this point I was so tired of finding things that didn't work that I tried something else.
My work VPN... holy shit have you ever tried configuring a corporate VPN on Linux? Goddamn. On windows it's "next next next finish then enter your username/password" and on Linux it's "get this specific format TLS certificate from your IT with a private key and put it in this network conf and then run this whatever command to...." yeah no.
And don't get me started on even attempting to play GAMES on this fucking OS. I mean, even installing the graphic drivers? Never in my life have I had to *exit the GUI layer of an OS* to install a graphic driver. That would be like dropping down to MS-DOS on Windows to install Nvidia drivers. Holy shit what the fuck guys. And don't get me started on WINE, I ain't touching this "not an emulator emulator" with a 10-foot pole.
And then, you start reading online for all these problems and it's a mix of "here are 9038245 steps to fix your problem in the terminal" and "fucking noob go back to Windows if you can't deal with it" posts.
It's SO FUCKING FRUSTRATING, I spent a whole day trying to get a BASIC system up and running, where it takes a half-hour AT MOST with any version of Windows. I'm just... done.
I will give Ubuntu one redeeming quality, however. On the Live USB, you can use the `dd` command to mirror a whole drive in a few minutes. And when you're doing fucking around with this piece of shit OS that refuses to do simple things like "playing audio", `dd` will restore Windows right back to where it was as if Ubuntu never existed in the first place.
Thanks, `dd`. I wish you were on Windows. Your OS is the LEAST user friendly thing I've ever had to deal with.26
To those that think they can't make it.
To those that are put down by those that don't understand you.
And to those that have never had a dream come true.
Not a rant, but the story of how I got into programming
I've always been into tech/electronics. I remember being told once that when I was 3, I used to take plug sockets to pieces. When I was 7, I built a computer with my dad.
There isn't a thing in my room that hasn't been dismantled and put back together again. Except for the things that weren't put back together again ;)
When I was 15, I got a phone for Christmas. It was a pretty crappy phone, the LG P350 (optimus ME). But I loved it all the same.
However I knew it could do a lot more. It ran a bloated, slow version of Android 2.2.
So I went searching, how can I make it faster, how to make it do more. And I found a huge community around Android ROMs. Obviously the first thing I did was flashed this ROM. Sure, there were bugs, but I was instantly in love with it. My phone was freed.
From there I went on to exploring what else can be done.
I wanted to learn how to script, so over the weekend I wrote a 1000 line batch (Windows cmd) script that would root the phone and flash a recovery environment onto it. Pretty basic. Lots of switch statements, but I was proud of it. I'd achieved something. It wasn't new to the world, but it was my first experience at programming.
But it wasn't enough, I needed more.
So I set out to actually building the roms. I installed Linux. I wanted to learn how to utilise Linux better, so I rewrote my script in bash.
By this time, I'd joined a team for developing on similar spec'd phones. Without the funds to by new devices, we began working on more radical projects.
Between us, we ported newer kernels to our devices. We rebased much of the chipset drivers onto newer equivalents to add new features.
Well, it was exam season. I was suffering from personal issues (which I will not detail), and that, with the work on Android, I ended up failing the exams.
I still passed, but not to the level I expected.
So I gave up on school, and went head first into a new kind of development. "continue doing what you love. You'll make it" is what I told myself.
I found python by contributing to an IRC bot. I learnt it by reading the codebase. Anything I didn't understand, I researched. Anything I wanted to do, google was there to help me through it.
Then it was exam season again. Even though I'd given up on school, I was still going. It was easier to stay in than do anything about it.
A few weeks before the exams, I had a panic attack. I was behind on coursework, and I knew I would do poorly on exams.
So I dropped out.
I was disappointed, my family was disappointed.
So I did the only thing I felt I could do. I set out to get a job as a developer.
At this stage, I'd not done anything special. So I started aiming bigger. Contributing to projects maintained by Sony and Google, learning from them. Building my own projects to assist with my old Android friends.
I managed to land a contract, however due to the stresses at home, I had to drop it after a month.
Everything was going well, I felt ready to get a full time job as a developer, after 2 years of experience in the community.
Then I had to wake up.
Unfortunately, my advisors (I was a job seeker at the time) didn't understand the potential of learning to be a developer. With them, it's "university for a skilled job".
They see the word "computer" on a CV, they instantly say "tech support".
I played ball, I did what I could for them. But they'd always put me down, saying I wasn't good enough, that I'd never get a job.
I hated them. I'd row with them every other day.
By God, I would prove them wrong.
And then I found them. Or, to be more precise, they found me. A startup in London got in contact with me. They seemed like decent people. I spoke with their developers, and they knew their stuff, these were people that I can learn from.
I travelled 4 hours to go for an interview, then 4 hours back.
When I got the email saying they'd move me to London, I was over the moon.
I did exactly what everyone was telling me I couldn't do.
1.5 years later, I'm still working with them. We all respect each other, and we all learn from each other.
I'm ever grateful to them for taking a shot with me. I had no professional experience, and I was by no means the most skilled individual they interviewed.
Many people have a dream. I won't lie, I once dreamed of working at Google. But after the journey I've been through, I wouldn't have where I am now any other way. Though, in time, I wish to share this dream with another.
I hope that all of you reach your dreams too.
Sorry for the long post. The details are brief, but there are only 5k characters ;)23
My work laptop (windows) updated yesterday. Today my monitors keep flickering, hanging, and going black for a few seconds then come back with an error that my display drivers crashed. Since I have basically zero access to anything admin on this machine, I put in a help desk ticket with all the details, the error message, even screen shots which took forever to get because of all the crashes.
They finally respond after about an hour, and tell me that my computer does not support 3 screens so I will have to use 2, and that is what is causing the crash. Well I have been using 3 screens with this computer since I started there in 2014, and it has worked perfectly until the update, so I asked if they could revert the update.
He told me that they could not revert it, and not only that, but I couldn't have been using 3 monitors before because the computer doesn't support it and never has. REALLY??? I just freaking told you I have been doing that for over 3 years so obviously it does support it you deaf, stupid retard. Try using your brain for 2 seconds and work on a solution instead of calling me a liar and dismissing my issue without thought.
After going back and forth for about 5 minutes I gave up and hung up. Finally I fixed it by switching out my docking station with another one I found laying around. Not sure why that worked, but I'm back to working on all 3 monitors. I called the guy back to tell him it's working and sent a picture of my setup, his response: "Well I don't know why that works because your laptop is too old to support that."
Just thought I'd share my current project: Taking an old ISA sound card I got off eBay and wiring it up to an Arduino to control its OPL3 synth from a MIDI keyboard. I have it mostly working now.
No intention to play audio samples, so I've not bothered with any of the DMA stuff - just MIDI (MPU-401 UART) and OPL3.
It has involved learning the pinout of the ISA bus connectors, figuring out which ones are actually used for this card, ignoring the standards a little (hello, amplifier chip that is wired up to the +12V line but which still happily works at +5V...)
Most of the wires going to it are for each bit of the 16-bit address and 8-bit data. Using a couple of shift registers for the address, and a universal shift register for the data. Wrote some fairly primitive ISA bus read/write code, but it was really slow. Eventually found out about SPI and re-wrote the code to use that and it became very fast. Had trouble with some timings, fixed those.
The card is an ISA Plug and Play card, meaning before I could use it I had to tell it what resources to use. Linux driver code and some reverse-engineering of the official Windows/DOS drivers got me past this stage.
Wired up IRQ 5 to an Arduino interrupt to deal with incoming MIDI data, with a routine that buffers it. Ran into trouble with the interrupt happening during I/O and needing to do some I/O inside the handler and had to set a flag to decide whether to disable/re-enable interrupts during I/O.
It looks like total chaos, but the various wires going across the breadboard are mainly to make it easier to deal with the 16-bit address and 8-bit data lines. The LEDs were initially used to check what addresses/data were being sent, but now only one of them is connected and indicates when the interrupt handler is executing.
There's still a lot to do after that though - MIDI and OPL3 are two completely different things so I had to write some code to manage the different "channels" of the OPL3 chip. I have it playing multiple notes at the same time but need to make it able to control the various settings over MIDI. Eventually I might add some physical controls to it and get a PCB made.
The fun part is, I only vaguely know what I'm doing with the electronics side of this. I didn't know what a "shift register" was before this project, nor anything about the workings of the ISA bus. I knew a bit about MIDI (both the protocol and generally how the MPU-401 UART works) along with the operation of a sound card from a driver/software perspective, but everything else is pretty new to me.
As a useful little extra, I made some "fake" components that I can build the software against on a PC, to run some tests before uploading it to the Arduino (mostly just prints out the addresses it is going to try and write to).46
For Windows driver update, found a great (open source) tool to update or install missing drivers.
My dell laptop (Windows 10) screen used to go blank or some bubble used to appear may times a day. Used Dell driver update tool, no update, says all driver up to date.
Then used Snappy Driver Installer tool, which detected my laptop details correctly.
Then it showed that my display driver was almost a year old and there were couple of updates, latest being just last month. In addition to that, there were 30+ updates on disk drivers, networking, sensors, bluetooth, audio etc.
First updated my display driver, upon success, slowly updated the rest of it. Now, the system worked entire day without any issue. Also, my laptop fan used to run full speed seems to have slowed down.
Also, my external monitor clarity has improved.
ps: worked for me, but be careful. Check it thoroughly before updating, update only those drivers which are giving trouble and there are no updated drivers available from windows or manufacturers.10
Imagine if you will, a fictional world outside our own.
In this world, the requirement for getting a drivers licenses is 4 years of research into quantum mechanics.
- Was it interesting? Yeah.
- Did I learn it because I had to? Yup.
- Will I use the harmonic oscillation calculations of a particle when driving my car. Fuck no!
- Did it cost me an ungodly amount of money? It sure did!
- Will some dumb people still say it was useful because it is the minimum (fictional) barrier to entry for driving a car. You bet your sweet ass they will!!!
It was about as useful as any made up requirement, make-work, self-funding, circle-jerking, waste or time and money to feed the pockets of people who are too scared to do actual work so they teach, can be.
I paid all that money to be taught technology that was old when my mother was in school.
In the first year out of school, with only a $300 subscription to PluralSight some uDemy courses and hard work, I learned 100X as much as everything they put in front of me in school.
School has its place.
Children who don't understand the importance of learning and need their hand help.
Adult children (some of which on on their 3rd or 4th degree) who also need their hand held.
People too afraid to enter the real world.
I would do it again because it is the minimum requirement of entry, but thats nothing more than a bullshit make-work project.
Play their game as long as you need to. Keep your own game in mind. Don't drink the koolaid, just fake a sip. Then when the time is right, play by your own rules.
Where I work we develop drivers and command-line software for embedded systems. The contracts we have with our customers tend to be in the £100k-£500k range and are usually completed in 6 - 9 months; our team is made up of 20 developers. You would think that it would be worthwhile investing in the department. But no, instead we have to deal with >10 year old build servers on their last legs; limited numbers of development boards with wires soldered on so that we can keep up with new board revisions; no room for R&D into new products; and to top it all off, not one of the executives has a laptop on par with the placement students in the next department. It's like the company is trying to kill the department, we've seen our staffing dwindle with no new graduate (or higher) positions being made available in the last 3 years while we've lost at least 5 people to other places. I just don't get it!3
So yesterday evening I was going to play some games. Checked NVIDIA and saw new update (no beta). So I went to install it and it literally fucked up my graphics card.
One monitor stopped working instantly and the other one got this old tv effect like when you had no signal.
Took me two hours to downgrade to my old drivers because I couldn't fucking see shit.
PLS NVIDIA DONT PUSH NEW DRIVERS IF YOU FUCKIN NOT TESTED THEM13
Throughout the years I have completed many projects successfully. Some projects really stood out and were awesome to do. This is not about these projects. It is however about one of my very first projects for my first real software development client many years ago, somewhere around the year 2000.
I was working for some years at TNO, a well known Dutch organization, and the lady at the reception asked me if I could help her husband out because he was strugling to get some web app developed. So I said sure, I can talk to him and see what I can do.
So I went to their house and talked to her husband. They were living in a huge villa and turns out her husband owns an international flower export business for which he needed some web app for. So we had a nice talk and he showed me some software designs he got from a couple of different big companies. He asked me my opinion about these designs. I remember answering something like that it looks very fancy but for me it didn't make much sense.
He replied that it didn't make sense for him as well and was disappointed that these companies didn't seem to understand him properly. It took about 3 months to get these designs which he thought were useless. So, I asked him to explain me what he was looking for.
Actually a pretty simple thing. He was using paper forms to have his clients order the flowers they need. Think of them as Excelsheets with 3 columns with a list of flower names and besides each column a column for the amount required. He would go to the flower auction at 4 in the morning to collect all these filled in forms, manually aggregate them on new forms, and then go to buy the flowers ordered.
This man had many clients and truck drivers. Some of them only worked or ordered at specific days. It was also important that one could easily indicate which flowers were really important to get.
Then comes this 20 year old guy (me) who delivered a working prototype in 24 hours. You can imagine how happy this man was. He said: if you built this for me I will pay you 10K. In the meanwhile for fun you can borrow one of my sports cars if you want.
I took the deal, drove a big fat sports car for about 1.5 months, I delivered and the man payed me as promised.
The web app I developed is today still being used every day. I don't think there is any other project out there, at least not that I'm aware of, that I have worked on and is still being used today in its form as it was originally developed.4
I have to confess. I'm a distro hopper. I've been a distro hopper ever since last year, and it got me tired. I spend entire hours checking distrowatch, partitioning, setting up hardware and drivers and passwords... I've tried to stop, I swear, but every time I do, there goes a new Solus release, an Openbox Debian based new branch, a forensic floppy disk that I know that I won't ever use for real. I just love assigning swap, fighting with rEFInd icons, testing modules, navigate trough different configs... Oh God, I even set up a virtual OpenBSD, just to see what it can do.
My friends have been telling me to stop, because I don't take care of our relation, that I'm becoming a monster. It's shameful and embarrassing to me when they ask me about my day and I say "you know, installing Manjaro on my desktop, and Lubuntu to that crappy old Asus I have for backups" I think I'm going to lose my head some day, this sickness is driving me straight down to the Slackware pits. I should stop it before I try Ratpoison environment but truth be told; I mean not to stop. I'm a distro hopper.
I ride my way live, unstable and restless.7
for real i can't imagine what all you people are doing wrong getting those blue screens in windows all the time reasoning your change to Linux. been using it like forever and had experienced some in the early days, very few in windows 8.1 when i was messing with some drivers and shit but not a single one since windows 10 while using it normally on a daily base.
sure, there is a lot to rant about in windows generally justifying a change to Linux but are you talking about windows 98 or fucking raping your system till it BsoD's just to point at it and say: oh Linux is so much better because i don't get BsoD's all the time? or are you using 10 year old hardware?
enlighten me pls21
Why I sometimes hate linux:
Found old computer with freya os.. I usually work on Windows, so I thought lets try to work on linux for a change..
First things first: sudo apt-get update / upgrade and while it is doing all the updates lets get something to drink..
Came back, logged inn and mouse is gone.. after some googling and searching on my mobile i found out that alt+ctrl+f1 and then alt+ctrl+f7 fixes problem..
Mouse now is back but upgrade failed half way though because no network.. wifi stopped working.. something wrong with drivers.. so to continue upgrade of OS i need a cable now.. (restart didn't work)
Two hours later I managed to update everything, wifi drivers are working and I managed to post this.. But it's too late to do anything, so I will probably put this away again for couple months and will go through same shit next time I open it.5
I gave you a chance, Nvidia. It could have been a good thing, but no. You are still crap. About two years ago, my son's graphics card (an Nvidia) died, so I thought, I'll give him my nice Radeon card, and got myself a new card. For some reason, reason failed me, and I got a GTX 1070. It's been a nice enough card, and worked well. And then the last driver update happened. Fallout 4 started to CTD before it even booted to the main menu. Me, not thinking (again) thought it was a mod, so I uninstalled and deleted and reinstalled again, with all 120 mods. Nope. Still crashing. Then I noticed, as the game booted, the fans started to ramp up, and I could tell exactly when it would crash be the sound of fans. I was expecting the computer to taxi out the room. Rolled the driver update back to the last one that worked. Now I can log in again, and things are mostly stable. Still crashes, but not as bad, probably due to reloading the mods and missing something. When the RX 3080 hits the market, bye bye Nvidia. You haven't changed a bit over the years. We're through.9
I assisted a Grab driver how to use their app today. We were going around in circles for a few minutes until he stopped and said "Waze isn't working". I checked my Grab app and saw that he hasn't picked me up yet so the app is still directing him to the pickup location even though I was already in his car.
I told him "I think you forgot to pick me up." This is the asshole part, I always knew he hasn't picked me up and we're going around in circles. I just didn't care because I got out of work early anyway so I'm basically there for the "road trip". 😄
Anyway, a part of me hoped that he would figure it out by himself but it turns out he didn't. So he asked me "I don't know how to.. can you?" and handed over his phone. My immediate response was "Sorry, I don't know". Now this is more like a reflex to me. I hate being bothered by people who don't know the basics of their own jobs. But anyway, since he asked nicely, I followed that with "but let me take a look".
The user interface for drivers is simple enough though I understand the confusion. You have to click a button that says "I've arrived" before the button that says "Pick-up" appears. The man is old and I don't know if it was his first time or what but his attitude made me want to help him because unlike all the asshole drivers I encountered, this one didn't choose to curse and blame the company or the rider. I can't count how many times a driver asked me where I'm going when the drop-off location is right there and then giving me an attitude when I don't allow them to use me as their personal GPS for a trip that would last for over an hour just because they forgot to do something on their side.
At least now I know why the whole personal GPS thing keeps happening to me. 😁3
Small update to this rant
A classmate of mine lend me his old laptop with an SSD and an HDD and I could install Ubuntu Budgie on it and use it while my laptop is under repairment. The thing is, this temporary laptop is pretty awesome and fast and the fact that I don't have to deal with all the NVidia proprietary drivers and other gaming laptop bs makes me pretty happy
Update to the story above: the HDD of the temporary laptop died (didn't have anything important on it, so no problem). But I must be going through some bad omen tech times, since, beside my laptop and this HDD dying, my cooking plate, inflatable mattress, some sockets and lightbulbs broke inside my apartment. Hail!
BANGALORE JOKES by Bangalorean....
👉If you throw a stone randomly in Bangalore, chances are, it will hit a dog or a software engineer.
While the dog may or may not have a strap around his neck, the software engineer will definitely have one ! 😜
👉In India we drive on the left of the road.
In Bangalore, we drive on what is left of the road !😜
👉Q: What is the easiest way of causing traffic accidents in Bengaluru?
A: Follow the traffic rules !😜
👉A guy is hunting for a house in Bengaluru.
Meets old lady who is a potential landlord.
Conversation goes thus:
Old lady: "Where do you work, son?"
Guy: "I work in Infosys."
Old lady: "Oh, that bus company! Sorry, we rent only to good IT people!"
It appears that Infosys operates more buses than BMTC in Bangaluru!😜
👉Bengaluru, where PG (Paying Guest) is the first business and IT, the second.😜
👉When someone says it's raining in Bengaluru, be sure to ask them which area, which lane and which road!😜
👉If a Bengalurean stops at a traffic light, others behind him stop too because :
The others conclude that he has spotted a
policeman that they themselves have not!😜
👉Bengaluru is the only city where distance is measured in units of time.😜
👉Rickshaw driver, grocery seller and common shop keeper think that you earn atleast 1 lakh per month if you are in IT sector.😜
👉Out of every 100 software engineers in Bengaluru,
90 are utterly frustrated and the rest have a gf/bf !😜or they are married.
👉Bus drivers use horns instead of brakes !😜
👉I quote: Bengaluru:
The City where more people know Java than Kannada !
👉Universal answer in Bengaluru is
*Power cuts are the only time the whole family assembles together and members speak to each other.
Seeing this, BESCOM has decided to have a tagline called "Connecting people by disconnecting power"!6
TLDR; sometimes I want to murder my friends.
Pratten: Hey Ethan can you image the robotics programming laptops?
Me: Yeah sure no problem. Let me just make a custom windows iso with all the software we need so I don't have to deal with installers after the fact.
Pratten: Ok great!
Me: *makes custom ISO compiles it and puts it on usbs*
Pratten: hey could you also add drivers station?
Me: uggggg... *Recreates iso and preps bootable flash drives*
Me: IS THERE ANYTHING ELSE YOU NEED?
Pratten: nope that should do it ;;;)
Me: ok great. *flashes laptops and runs install. (they're old so it takes a while)
Pratten: ok good job thanks. Did you install *NOT PREVIOUSLY MENTIONED TOOL SUITE 1* or *NOT PREVIOUSLY MENTIONED NEWER TOLL CHAIN THAT ONLY HE KNOWS HOW TO GET* ? If not I'll have you install those later.
Really? You want me to install you an old windows release because "you don't understand the new one"?
What don't you understand? Fucking square buttons? Basic color palletes? Big fat icons with a description below?
What do you miss in a ten years old shitty OS? The need of three antiviruses? The satanic settings layout? Lack of any drivers?
You have a family, you're making them too experience all the security breaches, all the compatibility problems with thing are a "must have" today, and all the slow performance.
Fuck you. Please, please, please, go fuck yourself with your trashy laptop's burnt battery. Pretty please. I already hated you, but now it's out of the charts.
PS: Actually, fuck myself with your crappy laptop's batteries, because my girlfriend told me to help you, and I can't say no, so see you in two weeks, when porn ads are invading your desktop and you're ready to blame me.6
i often do tech support in chat rooms in my free time (because i like spreading good will,) so here's a tech horror story
"hey, can you help me fix something?"
"so i dug my old XP machine out of my closet and replaced the bad Ethernet card with a different one and when i plug in the ethernet cable the PC bluescreens."
did you install the drivers? Sounds like it needs drivers
then install them
"it doesn't need any"
why do you say that?
"it said \"This device is set up and ready to use.\" in the balloon in the corner"
it has generic drivers to deal with devices before the real drivers can be found
"shouldn't they work?"
some devices need the extra support provided by the intended drivers, so the generic ones cause issues in those cases
"ok, well, where do I find them?"
do you have a model number?
"yes, it's " # scrubbed for... privacy? i dunno
gimme a few minutes
<insert 45 minutes of aggressive Googling for (str(DEVICE_MODEL_NUMBER) + " xp drivers")>
alright i have the drivers, go here:
# again, removed for... idk.
"they don't work"
# oh here we go
"These drivers are not compatible with your system architecture."
what version of XP are you using?
x86 or x64?
ok so this is gonna get real complicated real fast: use x86 XP or I can't help you, none exist for x64 XP.
<User left the IRC channel.>
follow up from my previous rant
after a conversation with the intern product owner he came up with the idea of me going to the client and sit next to the person who send me the csv file.... and 'work it out together'... THE INSTRUCTIONS AREN'T IN FUCKING OLD GREEK! Even a potato could do it... No wait, potato's are too smart for that... I mean... it are easy work hours... Without doing much....
But I didn't become a programmer in order to sit next to the client and 'work it out together'... It would also suck to go to the client because I have no drivers licence (never had to have one, yay public transit!)
Why can't it be Christmas already? I could use some free time....
I wonder if you guys can help, nobody else seems to.
Nine months ago I packed my desktop away because I had to move.
I then turned it on a few weeks ago and noticed a curious problem: the audio and video stutters.
I don't know why this happens.
I tried booting into Linux, and didn't see any stuttering. I went back over to windows and updated all the drivers, but nothing worked.
Last night I did a full system wipe, and re-installed windows without leaving any of the old files.
The error still persists.
I have no clue what might be wrong with the computer.
For all I know it's the hardware that's failing, but I don't have any idea which component in the system is leading to this strange behaviour.
Maybe you guys know enough to shed some light on this?26
One time I had to upgrade the OS in an old PC (from around 2001) and I chose Windows 7. This was my best choice ever.
When I installed Win7, I had a poor resolution. Using automatic driver installation software didn't work. I decided to download the drivers myself. After 2 hours of searching, I identified most devices and got the drivers. Guess what happened next...
The drivers were incompatible.
I realized that if they check for my OS, they should work fine on Windows 7, so I used compatibility mode and it worked just fine. Later on I found out the drivers were already on the drive of the PC. If I knew that earlier, I could do everything more quickly.
Still, that is why Windows 7 is great for old computers.
TL;DR was upgrading OS, had to get drivers to work, so I used compatibility mode as they were made for winXP and it worked fine.1
Quick question/update over a previous rant.
My netbook battery status was always 100% on Lubuntu 18.10, I switched to Xubuntu and the same happens, but it reports correctly with Puppy Linux (old version). I thought the problem was in the battery itself, but now I think it's due to some broken drivers in newer version of Debian-based distros, or it is a bug in newer Linux kernel. But since I have no time to spend on a spare netbook, I'm not willing to test more options.
Anyone has a clue? 🤔
When your PC is slow af cause of the hard disk so you make a dumb decision and change your hard disk with a new one and you gotta install Windows on it but you only have very old images of it so it requires a special USB driver to install the system and THEN you realise the setup image has NO DRIVERS for ethernet, wlan OR usb so you can do absolutely NOTHING with your fresh system so you decide to install linux instead but you realise YOU'VE REMOVED ALL X64 IMAGES BECAUSE YOU'RE FUCKING DUMB SO you prepare a bootable Kali USB to copy basic drivers and DriverBooster into the hard disk to install them on Windows.
AND THEN YOUR FRIENDS CALL YOU AND TELL YOU THAT YOU HAVE 2 EXAMS TOMORROW BUT YOU CAN'T JUST LEAVE THE COMPUTER SO YOU JUST GO FUCKING KILL YOURSELF
This is why I HATE MY LIFE SO MUCH IT GOES SO WRONG !!!!4
This is the worst possible thing that can happen, when you setup a new computer.
I live for about a decade on ubuntu. I got an invite for a LAN where games are being played that I cannot run with wine or are not ported to linux.
Fine I get an old harddrive and setup a fresh Windows 7. I have a little update script that takes care of updating and restarting.
BUT I CAN NOT DO ANY UPDATES.
As you can see in the picture the original Windows 7 installation disc that was part of my computer did not carry the matching NIC drivers.
A friend of mine gave me a spare WiFi dongle. That did not bring its drivers on the USB dongle but on disc that he lost.
WHY?! HOW?! This is not plug and play. This is a part that SHOULD be plug and play.
After I got an other WiFi dongle that was plug and play, I could finally download the right drivers.
Why can the Windows 7 disc that was part of the computer setup not contain the right drivers, but a ubuntu 12.04 live disc can?!
Let me introduce you to sys. admin + network admin + teacher at our school... She gave us "materials" to study for our school-leaving exams (called matura here - wiki that shit) so I looked at it and just had to comment everything that's wrong (and that's only the first paragraph)...
Apart from making utterly useless documents she also likes to think she is the best in the world and what she says is right and everyone is wrong. Networks that she builds crash 8 times a month, she can't install proper drivers and believes that open source and GNU/Linux is evil. (She also lives by herself, is around 48 years old, is a lesbian(not that it is a bad thing - just for context) and got one brilliant teacher who actually knew what she was saying and doing fired because she broke up with her)
Thinking about it - no wonder my classmates are all so confused and stressed... she can't teach and says bullshit like printers work with the RGB color space and when confronted she would shout that there are no printers that use CMYK, she has never seen one so they do not exist. (only to proceed changing CMYK ink cartridges in the printer)... I mean it's good for me because I get to teach pretty girls programming and informatics but I am sorry for the boys... Unfortunately I don't have the patience to teach someone programming and informatics unless they are a girl and I see a chance to evaluate that person's qualities to be a girlfriend.7
Bought myself a new graphics card as my old one died. After i got my system runnning again ( Linux Mint 17), by fixing the video drivers i concluded that i may want to get into gaming again.
I have a free Windows 10 Pro licence lying around so lets try to get dual boot running.
Hmm seems like i cant install windows after linux without installing grub2 again through a recovery disc. Well okay wanted to try out mint 19 anyway.
Downloaded both Isos. Linux mint is 1,5Gb and Windows 10 is 4,3Gb. MS what are you doing ?!
Only have a 4GB USB-Drive and dont want to buy a new one. GOD FUCKING DAMNIT MICROSOFT.
So at a forum i found a software to remove packages from windows isos and now i'm sitting here removing windows bloatware for 4 FUCKING HOURS, JUST TO INSTALL WINDOWS.
Ofc that tool was only windows specific so i had to install windows in a vm first.
Fucking tired of this shit.3
It finally happened. They just kept pushing, and pushing, and pushing. Asking for more and more features in an app that was a hard-coded demo from the beginning. Well it's all coming down now.
That database that was added in, missing half the API.
New features, broken.
Old features, broken.
Drivers, need updating.
I tried to tell them, I really did. That maybe we should stop asking the client what they want, and instead sell them what we have. Well, now we have nothing.3
I am an idiot.
Apparently, I was running 2 year old drivers for my APU. I didn't notice until today but now that I did, I get those sweet performance improvements.
think all of this impulsive OS booting is burning out my old laptop,
RemixOS - partially boots then gets stuck on a black screen
Android-x86 - won't boot past a black screen either
Windows 7 - i infected that shit so quickly lmao
Windows 10 - i'm not disgracing my old laptop with that
Xubuntu - boots, but my tablet configurator dosen't start properly wrapped in wine (Shenzen HUION only has Win and Mac drivers), and i am an artist
Gamedrift - haven't tried
ReactOS - Last time i checked, it won't boot but i should try again
any other suggestions?
super low specs on that old laptop7
You know you shouldn't..
But what's the worst that could happen. :-)
Drive Booster 6.0 update drivers..
Oh look, it found quite a few out of date ones, and didn't break anything !
DriveMaster something, update drivers.
Oh look, one of my HD's disappeared !
Lucky for me it has a rollback function..
Only that didn't work..
Luckily it wasn't the OS drive, so I searched the web and after a long long search, found an old copy of the driver to install, and my HD came back to life.
Then used DriveBooster to update and all was well.
Those other options look tempting, speed things up..
Yes I'm reminded that when I used to fix PC's, a lot of customers would use that kind of thing, and then I'd have to fix the PC afterwards !
But it just takes so long to google all the things you need to do to improve your OS/etc...4
So, the past 2 months I get random freezes on my OS(Ubuntu 18.04). ONLY the mouse is working, nothing else but REISUB.
This happens sporadically, but seemingly ONLY WHEN I'M 30-80% DONE AND MY "ADD" HAS ME WORKING ON 4 DIFFERENT THINGS AT ONCE.
Disabling docker hasn't helped.. Ensuring using less than 50% RAM doesn't help. Changing browsers, cleaning my VSCode extensions, shifting to XMonad(lightweight DE) from gnome(which almost worked for almost a couple of days), changing graphics drivers, downgrading kernel AND JUST ABOUT EVERYTHING ELSE.. DOES. NOT. WORK.
AAARGH MY MOTHERFUCKING 7 YEAR OLD LAPTOP WITH SSD IS PROBABLY SINGING ITS LAST TUNES. TODAY IS THE LAST TIME I'LL LET FREEZES HAPPEN.. I'M RUNNING MEMTEST86 AND WILL COPY ALL MY LATEST LOGS AND LEARN A BUNCH OF STUFF I'LL NEVER WANT TO TOUCH AGAIN. I HAVE TO SPEND SUPER VALUABLE TIME TO MAKE SURGERY ON THE MIRACLE THAT IS MY ANCIENT LAPTOP. I'M SO AFRAID THAT IT FALLS APART WHEN OPENING IT.. THE PLSTIC FOR THE COOLER IS BROKEN AND THE SHIT HASENT HAD THE BEST LIVING CONDITIONS (SOME TIMES -5c OTHER 40+)
I'm aware that I should go to the forums, which is my next move. But reading on there, it could be a graphics drive or, kernel problem, a faulty harddisk or RAM problems. It also goes without saying that I'm backing up for the 14th time the past month.
My thing is, that I have dual boot and running Windows for 14 hours straight with loads of loads, while really getting punished, renders a completely functional computer...6
En route to free software. installing Linux on an old pc at office. i think the drivers are still proprietary tho
So I have a dual monitor setup running on windows 10
sometimes the background on the second monitor gets messy for no reason at all.
basically it doesn't recognize the second monitor's background and misplaces the one on the first monitor.
Normally it fixes itself after some reboots, but this time didn't, so I thought to do clean reinstall of the vga drivers (using display driver unistaller in safe mode)
for some reason, I used network less safe mode.
note: I'm using my outlook account linked to windows and it requires my outlook password on login.
now things get weird:
> inputs password : invalid password
> tries again: invalid password
> remembers to have changed the password some time ago, tries old password :
> starts panicking for a sec
then it comes to me the idea that since i changed password I always logged in using a PIN so windows, for some reasons doesn't know the new one? And why even the old one doesn't work?
> starts googling for answers, found nothing useful
> ends up formatting
FINALLY: my Windows 10 sound has been fixed
Go to Device Manager, select audio device, then properties, driver, yes every 10 year old knows this I know, what I didn't know is that you can select to look for a driver on this computer and not have to have downloaded one, but it shows you a list of drivers, including Realtek's signed ones.
Rant still stands though, why was this setting randomly changed by some update to use a different driver and why isn't it obvious to find this one.1
I can't wait until I feel like Dr. Frankenstein when I build my PC this week. My first real computing rig!!
Some backstory: My main dev machine is my old Lenovo laptop running Ubuntu (my baby). I took Windows off of it when I got a Surface through a job and have been using that for Windows specific work. I'm going to be giving that to my little sister next time I travel home. In short, this is the first computer that will be able to cut through anything I throw at it and play games that aren't at least 6 years old.
The build is centered around an i5-8400 and gtx 1060 6GB, and I'll be running Windows as a primary OS for gaming. However, I fell in love with programming on Linux and there is no way Linux won't be on my machine. I understand the differences between dual-booting and virtualization, but I want to hear how you guys run Linux on your Windows gaming machines or if you go about it another way. I also have heard horror stories about drivers for Linux, and wonder if my graphics card being certified by Ubuntu LTS actually means that it will operate correctly. I have also only ran VMs on crappy computers so I haven't had any experiences where that performed better than dual-booting. I'd love some feedback or to hear about all of your setups, as hardware has never been my strong suit.
I'll post a pic of my setup when it's done too.4
tldr: Deleted Win10, turned out for better
**This happened a few months ago**
So one day I decide I have had enough of Windows 10 and wanted to go back to Linux (A long time ago I had dual booted Ubuntu, but messed it up changing video drivers). So I create a Mint installation USB and get to work. I boot up the installation and delete the old partitions from the Ubuntu install. I install Mint and boot it up, everything works fine and dandy! I decide I want to get back on Windows to get back a few files that I wanted copies over. I turn off the computer and *try* to boot up Windows. I get an error message that I am UNABLE to boot. WHAT! After further checking, I realize that I had deleted the MBR partition of Windows. Pretty sure I could remake it if I tried hard enough, but I am starting to realize that it feels good to be totally MS independent! Now I am using all open-source software available to Linux and have no need for Windows. I do miss some of the games though...
PS: No files were lost due to backups. Save Lives, Do Backups!1
I need some help with advice regarding getting new headphones, as my current ones are quite literally about to fall off my head. Thing is that I have a hard time finding what I want, and even then be able to determine stuff based on reviews.
My current ones are a pair of Turtle Beach Ear Force Z60, which is my first headset to have surround sound. They also sit very comfortably on my head without really pressing on my ears at all, and the audio when playing games is nice and clear. Unfortunately that has now set the bar pretty high when trying to find a new pair.
I tried out a pair of HyperX Cloud II, but I can't configure the settings and the surround sound doesn't seem to work at all (there seems to be a "gap" between one o'clock and three o'clock, so to speak, as well as between nine o'clock and eleven o'clock). I tried listening to a 7.1 audio clip, but the only ones in the right positions were center front and left and right fronts. The left and right sides, and left and right rears were all at the center point. And besides that the audio is unbalanced and just... not quite muffled, but not clear as with the old ones.
Thing is also that I don't know crap about audio stuff, like if it's got to do with me doing something wrong in terms of drivers or hardware or something, or if it's actually got to do with the headphones themselves. I've tried to find info but there's just none to be found, it seems, at least nothing that works. :(
Currently I'm considering trying out another pair from Turtle Beach, but it's so hard to trust the reviews. I mean, like the Z60 has pretty halfassed ratings, but I personally like them a lot. :/
Does anyone have any advice at all? Whether it's recommendations of headphones, or ideas on things I could try on my end to make things work.
AND, side note; I don't care for any comments along the line of "surround sound is bullshit, just stick with stereo, it's better", because 1) I don't agree nor do I care, and 2) it's unconstructive as shit.
I'm thankful for any ideas or advice you guys may have. :/11
Upgraded to Ubuntu 18.04 LTS using the built in upgrade option. Now my mouse drivers are shit, and I can't login unless it's in TTY. I just want my old system back now :( might see how to use the System back files I have since I was smart enough to do so a few months ago, has most of the software I want on it, and can take the files I want to keep off of this via USB. Meh, can't even rollback.
At least I can put this in the book to show that Linux systems don't upgrade nicely everytime either.7
Missed the fucking bus to work because they changed up the times here without prior notice...
So no more having the "nice" train (with comfy clean seats, wifi and airco) but the "crap" train (old dirty seats, no wifi and no airco) AND a quarter of an hour wait...
I rly need a drivers license...
Yet another Windows 10 rant:
Since hibernation is broken (just locks the screen), I put my computer to sleep and went to bed. After a few minutes, IT STARTS UP.
So I disable hybrid sleep, wake timers, Update, etc. Same thing.
I try again... This time, it starts up too, but DOESN'T EVEN RESTORE!!
And this is a month-old install with latest update and no fishy drivers.
Windows really does hate me.2
4h spent on installing very old drivers for a old stupid wifi adapter for my little bro's computer... fuck it tomorrow I'm buying a 10 meter LAN cable...
This old phone of mine has a broken display. Touch isn't completely working and while flashing a custom ROM through flashify app I screwed up the flash queue and had bricked it.. the old disply is also broken but it's better. I wanted to replace the display with old one but my brother lost the screw drivers🙃
Because the display is broken I can't pull the slider across the screen in TWRP. THIS had no ROM so this is what I had to do to flash a ROM! Opened up the the back cover connected the digitizer of old display while the image was being shown on the display on the phone and had to swipe on old display. The digitizer connector is so small that it kept unplugging! But finally I manged to flash the ROM!6
It's funny that I still somehow think that windows can do anything but crash itself at this point, so I'm playing an fps, and get an error message that complains about driver failure, so I go to device manager and try to update nvidia drivers, windows as always says that my driver is the newest available, so I check the nvidia website, newest version released literally last Tuesday so I think to check device manager again, date of nvidia newest driver: 05/03/2019, date of windows' "newest" driver's install: 13/08/2018... glad to know that windows keeps my computer up to date.1