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 - "replacements"
-
I have this little hobby project going on for a while now, and I thought it's worth sharing. Now at first blush this might seem like just another screenshot with neofetch.. but this thing has quite the story to tell. This laptop is no less than 17 years old.
So, a Compaq nx7010, a business laptop from 2004. It has had plenty of software and hardware mods alike. Let's start with the software.
It's running run-off-the-mill Debian 9, with a custom kernel. The reason why it's running that version of Debian is because of bugs in the network driver (ipw2200) in Debian 10, causing it to disconnect after a day or so. Less of an issue in Debian 9, and seemingly fixed by upgrading the kernel to a custom one. And the kernel is actually one of the things where you can save heaps of space when you do it yourself. The kernel package itself is 8.4MB for this one. The headers are 7.4MB. The stock kernels on the other hand (4.19 at downstream revisions 9, 10 and 13) took up a whole GB of space combined. That is how much I've been able to remove, even from headless systems. The stock kernels are incredibly bloated for what they are.
Other than that, most of the data storage is done through NFS over WiFi, which is actually faster than what is inside this laptop (a CF card which I will get to later).
Now let's talk hardware. And at age 17, you can imagine that it has seen quite a bit of maintenance there. The easiest mod is probably the flash mod. These old laptops use IDE for storage rather than SATA. Now the nice thing about IDE is that it actually lives on to this very day, in CF cards. The pinout is exactly the same. So you can use passive IDE-CF adapters and plug in a CF card. Easy!
The next thing I want to talk about is the battery. And um.. why that one is a bad idea to mod. Finding replacements for such old hardware.. good luck with that. So your other option is something called recelling, where you disassemble the battery and, well, replace the cells. The problem is that those battery packs are built like tanks and the disassembly will likely result in a broken battery housing (which you'll still need). Also the controllers inside those battery packs are either too smart or too stupid to play nicely with new cells. On that laptop at least, the new cells still had a perceived capacity of the old ones, while obviously the voltage on the cells themselves didn't change at all. The laptop thought the batteries were done for, despite still being chock full of juice. Then I tried to recalibrate them in the BIOS and fried the battery controller. Do not try to recell the battery, unless you have a spare already. The controllers and battery housings are complete and utter dogshit.
Next up is the display backlight. Originally this laptop used to use a CCFL backlight, which is a tiny tube that is driven at around 2000 volts. To its controller go either 7, 6, 4 or 3 wires, which are all related and I will get to. Signs of it dying are redshift, and eventually it going out until you close the lid and open it up again. The reason for it is that the voltage required to keep that CCFL "excited" rises over time, beyond what the controller can do.
So, 7-pin configuration is 2x VCC (12V), 2x enable (on or off), 1x adjust (analog brightness), and 2x ground. 6-pin gets rid of 1 enable line. Those are the configurations you'll find in CCFL. Then came LED lighting which required much less power to run. So the 4-pin configuration gets rid of a VCC and a ground line. And finally you have the 3-pin configuration which gets rid of the adjust line, and you can just short it to the enable line.
There are some other mods but I'm running out of characters. Why am I telling you all this? The reason is that this laptop doesn't feel any different to use than the ThinkPad x220 and IdeaPad Y700 I have on my desk (with 6c12t, 32G of RAM, ~1TB of SSDs and 2TB HDDs). A hefty setup compared to a very dated one, yet they feel the same. It can do web browsing, I can chat on Telegram with it, and I can do programming on it. So, if you're looking for a hobby project, maybe some kind of restrictions on your hardware to spark that creativity that makes code better, I can highly recommend it. I think I'm almost done with this project, and it was heaps of fun :D12 -
Man I really need to get this off my chest. So here goes.
I just finished 1 year in corporate after college. When I joined, the team I got was brilliant, more than what I thought I would get. About 6 months in, the project manager and lead dev left the company. Two replacements took their place, and life's been hell ever since.
The new PM decided it was his responsibility to be our spokesperson and started talking to our overseas manager (call her GM) on our behalf, even in the meetings where we were present, putting words in our mouth so that he's excellent and we get a bad rep.
1 month in, GM came to visit our location for a week. She was initially very friendly towards all of us. About halfway through the week, I realized that she had basically antagonized the entire old team members. Our responsibilities got redistributed and the work I was set to do was assigned to the new dev (call her NR).
Since then, I noticed GM started giving me the most difficult tasks and then criticizing my work extra hard, and the work NR was doing was praised no matter what. I didn't pay much attention to it at first, but lately the truth hit me hard. I found out a fault in NR's code and both PM and GM started saying that because I found it, it was my responsibility to fix it. I went through the buggy code for hours and fixed it. (NR didn't know how it worked, because she had it written by the lead dev and told everyone she wrote it).
I found out lately that NR and PM got the most hike, because they apparently "learnt" new tech (both of them got their work done by others and hogged the credit).They are the first in line to go onsite because they've been doing 'management work'. They'd complained to GM during her visit that we were not friendly towards them. And from that point on if anything went wrong, it would be my fault, because my component found it out (I should mention that my component mostly deals with the backend logic, so its pretty adept at finding code leaks).
What broke my patience is the fact that lately I worked my ass off to deliver some of the best code I'd written, but my GM said in front of the entire team that at this point "I'm just wasting money". She's been making a bad example out of me for some time, but this one took the cake. I had just delivered a promising result in a task in 1 week that couldn't be done by my PM in 4 weeks, and guess what? "It's not good enough". No thank you, no appreciation, nothing. Finally, I decided I'd had enough of it and started just doing tasks as I could. I'd do what they ask, but won't go above and beyond my way to make it perfect.
My PM realized this and then started pushing me harder. Two days back, I sent a mail to the team with GM in cc exposing a flaw in the code he had written, and no one bothered to reply (the issue was critical). When I asked him about it, he said "How can you expect me to reply so soon when it's already been told that when anything happens we should first resolve within the team and then add GM in the loop?" I realized it was indeed discussed, but the issue was extremely urgent, so I had asked everyone involved, and it portrayed him in a bad light. I could've fixed it, but I didn't because on the off chance if it broke something, they'd start telling me that I broke the tool, how its my fault and how its a critical issue I have to fix ASAP, etc. etc., you get the idea.
Can anyone give me some advice of how to deal with this kind of situation? I would have left but with this pandemic going on, market being scarce and the fact that I'm only experienced by 1 year, I don't think I qualify for a job switch just now.16 -
Yaaaaaaaaayyyyyyy!!!!! My stickers are here 😀❤
I'm overwhelmed! It was a long, worthwhile wait! The first set that was shipped never reached me ): I had mailed dfox about it and he had replacements shipped! He is so awesome!10 -
Don't you just love it when upper Management people that never wrote a line of code in their life tell you, the software engineer peasant, to refactor all of your projects with Inclusive Terminology?
I mean I'll do it, the company is just protecting their image and money... But I blame the sick mind that came up with this in the first place.... It's implying that all sofware engineers are somehow racist and sexist and I'm somewhat offended by that notion. Whoever started this trend should seriously burn in hell.
P. S.
Apparently "the elderly" is also non-inclusive and should be referred to as "older adult"... What the fuck?
Do you not realize that you're just disassembling words and nothing else? Also "AIDS patient" should be referred to as "person living with AIDS"... Ok? Same fucking thing? If not even worse? At least "patient" kinda invokes that professional help is given... A person living with AIDS just implies you're infected and seeking no help...
You help no one with this non-issue bullshit. All your replacements will be deemed outdated and non-inclusive in the next 5 years again... Fucking hell... Waste of time and money19 -
Follow-up to https://devrant.com/rants/1551635
I think that I've found the reason for this Acer motherboard's refusal to boot up now. Apparently this featureful piece of shit expects "something" on its ID pin as well.. and why ID pin you may ask? I reckon that it's because of "certified replacements". Because you know, if it doesn't come from our shitty factorias it's gotta be shit, right?!
How about no?!! You Acer really aren't the only ones capable of producing a fucking lithium battery! And did you ever think of the edge cases where you may want to feed a lab bench power supply's voltage into the phone to mimic the battery and troubleshoot the bloody thing? Because that's what I initially wanted to do, instead of that Doogee battery. The only reason why I didn't is because the supply is currently charging up another lithium cell that I salvaged from a donated (broken) Samsung tablet, and is taking longer than expected.
Point is, if you receive the appropriate fucking level of angry pixies, YOU SHOULD FUCKING USE THEM AND BOOT UP ALREADY!!! Regardless of whether it's some sort of certified fucking Acer component or not! Somewhere between 4.2 and 2.7V stable should be good enough regardless of what produces it!
At least AliExpress sells these batteries for about €4.5, and another €2 for shipping. Considering that I can buy batteries with this capacity for €2 a pop and free shipping, this would better fucking work. Especially since I'm buying an overpriced battery of which almost half the cost is fucking shipping, just for a stupid "certified" controller that' I'll also have to put between the board and any pixie wrangler or angry pixie containment device that I use to power this shitty board. Acer, you motherfuckers!!!1 -
Been really depressed at work for the last two years. To the point where myself and colleagues would constantly petition our boss to work with us to change our internal process.
After being constantly ignored / seeing no really impact ( he literally renamed a step in our process and said he fixed it forgoing all the recommendations that we suggested and refusing to discuss anything with us );
I decided to resign before I say or do anything to completely burn the bridge.
Two days later one of my colleagues also resigned ( the only other device at the company ) now my boss is frantically looking for our replacements while also trying to maintain that he holds all the cards.. he offered my colleague less than he is on now to freelance for him. And will likely attempt the same with me in my exit interview today.
But I'm working on a web app which I find interesting. Problem is that I'm not as hopeful as the others working on it with me that it will ever make any money. (It seems like a money pit if anything)
I think I may be in for a couple of rough months. But at least I'm not working for a company that made me so depressed that all I would ever think about is how to convince the boss to improve things.
I'm worried but for the first time in 2 years I feel happy.4 -
TIL that Apple has a self-service repair service. They'll ship parts to you, and you can download their official device repair manuals to fix your device yourself.
“Self Service Repair is intended for individuals with the knowledge and experience to repair electronic devices. If you are experienced with the complexities of repairing electronic devices, Self Service Repair provides you with access to genuine Apple parts, tools, and repair manuals to perform your own out-of-warranty repair. Follow these steps to perform a variety of out-of-warranty repairs for iPhone and Mac, such as display replacements.”
https://support.apple.com/self-serv...6 -
Years ago when I was younger than currently I got this first summer job as help in IT departament to answer calls from distressed workers.
Once this lady calls that "her monitor went black" and she cannot work, so I have to get her a replacement. They got only this big heavy CRT monitors as replacements so I had to drag it to 4th floor (no elevator) from basement.
As I reached her it turned out that her monitor is fine, only the wallpaper was changed to black, that what she was meaning :p
Well, at least I got some exercise back then.1 -
FUCKING HATE VUE 3
It's pointless, it's not an incremented version of Vue 2, it's basically a completely different framework, probably one nice to start a project with... But migrating from an existing Vue 2 project to Vue 3...
What the hell were they thinking!
first, setup() with all the logic and functions in it DOESNT MAKE ANY SENSE to me!
second, your old DEPENDENCIES NO LONGER WORK!.. good luck finding replacements for EVERYTHING, and do the necessary adjustments to work with the LASAGNA CODE YOUR PROJECT HAS BECOME!!
PS: the update/upgrade PR has almost 300 changed files!!!!19 -
When I was doing replacements in a text file manually and some smug coder did the same thing in 5 min after I'd spent a day doing it ...2
-
About 5 years ago I stopped pirating and started supporting companies by buying subscriptions or software ( mostly games, apps I use at work, tv shows / movies streaming services ). If it requires payment, I paid the price.
Companies started to screw both customers by delivering shitty products and employees by laying off ( I'm not in a big company, never will be but I feel bad for all the employees that are in this situation )
Started pirating everything, closed almost all of my subscriptions, currently building my home server for git, local ai and anything I need.
Now I'm planning to do some research to find some good replacements for cloudflare and a friendly host provider that is not all greed and doesn't have a history of massively laying off employees just because they overhired or overpromised.
Fuck you greedy capitalist pigs.2 -
I know streams are useful to enable faster per-chunk reading of large files (eg audio/ video), and in Node they can be piped, which also balances memory usage (when done correctly). But suppose I have a large JSON file of 500MB (say from a scraper) that I want to run some string content replacements on. Are streams fit for this kind of purpose? How do you go about altering the JSON file 'chunks' separately when the Buffer.toString of a chunk would probably be invalid partial JSON? I guess I could rephrase as: what is the best way to read large, structured text files (json, html etc), manipulate their contents and write them back (without reading them in memory at once)?4
-
So I just found out in a meeting today that my team will be getting rid of 2 contractors, who have been with the company for about 2 years now and know their way around the projects, and replacing them with 3 university graduates with no to little programming experience. Now I don't mind new graduates coming in, but getting rid of experienced workers before the newbies have learnt the ropes is not the best of plans.
-
DVORAK!!!
I have a Chromebook 15 (CB5-571). I'm trying to switch to the beautiful (and kinda weird) Programmer's Dvorak keyboard layout.
I'm using Sway and Arch Linux, so the software side is okay.
But I need to somehow temporarily write on top of my keyboard keys with the layout replacements.
If there is something already out there for my laptop, yay!
Otherwise, I have tac-it (?) and lots of paper.
What do I do?9 -
Company paying tons for retired old mainframe devs to come teach basic z/OS and to give a hands-on. Third try and they still sent a guy showing off their windows based mainframe replacements without terminal connections.
I set an pirated z/OS up and now I have to deal with 10 coworkers who apparently can't unpack a 7zip, follow basic instructions or failed to open the .torrent with files i distributed 14 days ago. Losing the will to live (in legacy tech)4 -
Soon some of the people who fucked me around will die of old age, what then ? replacements that look younger than me or will they do the hunger games scrub down on me ?1