Joined devRant on 4/15/2018
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
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 :D13
>we increased new releases to once a day
> wow, how'd you do that?
> fired the QA team
Credit - @iamdevloper✓3
Had a rough time. Dropped out of college twice. Got sent by a shrink to be tested for ADHD. Investigation dropped after phone interviewing my scientology parents. Depressed and admitted to the ward twice. Homeless for a month.
But come Monday I'll start my employment as a COBOL developer. My first qualified job! Code and all resources for learning online has really saved me.12
Do you as a developer use
1. Noise cancelling headsets
If music, what kind or genre?
Personally, I listen a lot to Electronic Ambience/Chillstep.58
Project hopping ( basically never completing a project) and wanting to learn everything (I always end up not starting on anything)1
When I say I'm coding, what I *actually* mean is screw around with my .vimrc and color scheme for 6 hours.2
Ok guys I need advice, haven't posted in a long time.
A profesor is asking my team to build a java application that runs on a server with a very specific tech-stack (database, container, encryption, use-case and UI design) it's basically a fully fledged app that I know would cost somebody hundreds if not thousands to buy. The thing is I'm getting the feeling he's using us to write this code and then later distribute it while all we get is 20/100 points we need to pass the course. I heard rumors...
So what I wanna do is throw it on github (he's obviously expecting me to open source it at which point he forks it and bam!) and slap the most restrictive license on it. Now I don't have much experience with licensing or this sort of thing... any advice? I want to be able to go at his throat if I ever find out he used my code which I'm supposed to spend 3 weeks writing for free for a fucking "uni" project that's worth a fifth of my grade in that one semester course!19
Angry customer (😤): Your software is still too slow!!!
Me (🙄): It's running good all in all. Let's divide this into smaller aspects. Which steps do you need to perform faster?
😤: Every step needs to be as fast as google!
🙄: But our software ain't google, not even to mention your infrastructure
😤: Everything needs to run in 2 seconds!!!
🙄: You aren't helping in any way. We need something to grasp...
😤: It's all your fault.
Boy: I love You
Girl: I have a boyfriend
Boy: sudo I love You
Girl: Please enter root password:
Girl: Wrong. Please enter root password:
Girl: Wrong. Please enter root password:
Girl: Wrong. You have tried 3 times.
Girl: I have boyfriend.
Girl: Command not found.23
Interviewer: Do you have created any android application before?
Dev: I just built an application to increase, farming production to help farmers earn some more money. It's less profitable but makes farmers better.
Interviewer: That's so stupid. Do you know Jeff Bezos?
Interviewer: we need someone like that level of visionary to make money for our company. Sorry, we don't think you can make apps that makes people do stupid things for fame.
Dev: Do you know Nicola Tesla
Interviewer : yes
Dev: Well he should have pulled the plug long ago.6
My gf former colleague quit during the bosses rant session (he'd constantly complain about the workers even though they did nothing wrong) so she stod up and said:
He continued his rant like he didn't hear her.
She said again but with the angriest voice: hey, shitface! I fucking quit!
He sat in silence, the last thing he said was: but you behave so I don't have to fire you!
He must allways have the last word, you piece of shit midget(he is very short)2
I was giving an interview this other day and I was sharing my screen with the interviewer.
Interviewer 😦: Is this linux you are using?
Me 😅: Ah yes. Since this is a coding round I am not comfortable on windows for coding.
Interviewer 😳: And this is your personal laptop?
Me 😁: Yes, since the only use of windows is primarily to play games and the games I play are usually supported on linux, I dont see any reason why my daily driver should be anything other than linux.
Interviewer 😯: What distro is this?? Looks cool.
Me 😆: Its Ubuntu with KDE Plasma. There are some really cool things in here which actually make my life quite easier.
Interviewer ☺️: I must check this out today itself. Lets start with the interview then.
Me 😊: *Blushing in my mind
And this is how you score some instant brownie points in an interview. Actually if truth be told, that laptop was actually my work laptop and my personal laptop has windows on it because nvidia and Assassin's Creed.21
How little boys increment:
How men increment:
if($oldx < $x)
$oldx = $x
I use my headphones religiously every time I code, as well as for things like tutorials & courses.
I was devastated that the slider switch on my pair of H8s snapped and I could no longer use them wirelessly.
I didn’t want to be without headphones for weeks while they were replaced abroad, so...
Hello upgrade. Hello business expense.
Lovely new pair of H9is.20