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
Search - "kernel"
Yes Linus Torvalds is an asshole and the world is better because of it.
In short Linus's acid takes on code quality over developer fee fee's might be one of the things that has made the Linux kernel and the GNU/Linux project such a long lasting open source success and in my opinion the risk of him falling for all this "let's be nice and non offensive" bs trend may impact negatively on code quality.
Being an asshole has it's downsides and it's not always the best response, I'll give you that, but personally I think most of us who are viewed as assholes are seen like that because we put quality over convenience, facts before feelings and dedication over mediocrity; it is not because we hate you, it's because we measure ourselves with the same stick.
It depends on one's character, but when you've been toughened up because of bullying(I don't doubt many devs have been since being a nerd has never been hip) or life in general, you learn to stop whining & pick yourself up and you expect everyone to be competitive and competent as you are and it gets frustrating to manage people who don't fulfill your expectations.
Pros: You get shit done and you do it well.
Cons: People won't like you and you don't tolerate failure (much less mediocrity).
Yes Linus is an asshole, my coach was an asshole, some of my best teacher's have been assholes, I had friends who were assholes, heck I'm an asshole!
But I thank them because they made me better than I was, just as people have thanked me for being the right amount of asshole.
A warm thank you and fuck you Linus, keep being the asshole we need.36
Linux developers threaten to pull the kill switch...talking about giving people the finger this week...
If you have been following the nerd news these last weeks you may have heard about Linus leaving Linux (temporarily) and implementing the new CoC (pronounced cock) code of conduct thanks to the constant pressure of the ABC of inclusion (LGBTQLMNOP+ groups).
This new code of conduct aims, believe it or not, to change the predominantly white, straight, and male face of programming and it also seems to "mitigate the consequences of dogmatic meritocracy".
That's right, are you white, male, straight or otherwise pull yourself out of the mud? Yes, YOU are part of the problem (also racist, sexist and probably islamophobic).
Bullshit I know, these SJW privileged upper class assholes are pushing for these changes to inspire witch-hunts against good devs like Larry Garfield (cause: sexual fetishes) and give themselves more power over the free speech of people.
Ironic if you ask me because I haven't seen anything similar for oil rigging which is riddled with cis males (but ain't as comfy).
But not everything is lost and that's why this hasn't been a mouth foaming rant because boy I'm proud to know there are devs with balls out there; It seems there's a little detail with the GPL2 license and all those unjustly banned by the new stupid racist ass CoC can withdraw the license to their contributions crippling the Linux kernel project.
I'm not happy that GNU/Linux is being threatened like so, but it was about time we put a stop to this, your politics, skin color, religion and ideas should not matter when developing code, what matters is the code you produce.
Want to politicize our repos and kick out devs just because they don't think the way you do? Let's see how long you last without the contributions of the "deplorables"; let us see how many good contributions your new "diverse", PC stack do (other than changing master/slave or other terms).
My guess...as I've said earlier, everything these PC busybodies touch, if unchecked, crumbles to dust. (EA 😉)
Well one thing that became obvious today is that companies that make wifi routers really dont want you flashing other firmware on it.
For example i got a new router cause it was time.
Ofc fully compatible with OpenWRT. The thing tho ? The GUI flashing process accepts only encrypted binaries. And surprise we as customers cant encrypt it like they do.
So the next thing that comes to mind instantly is UART. They cant break that right ? Well turns out they can. They just disallow key inputs from console. So you cant make the damn device load into TFTP mode.
And D-Link has this lovely recovery utility that accepts unencrypted firmware. EZ way to flash it right ? WRONG. The garbage doesnt load second time after you load it once in 1 boot. And even if you get it to start loading the firmware. It wont really flash it.
Luckily there was an exploit :)
And joining via telnet and enabling http server on PC and wget-ting the binary from there. And flashing.
Honestly now. I pay money for this garbage. I own the hardware. Let me do what i want with it.
At least it runs kernel 5.10 now and is super fast :) Worth the trouble honestly
(Should be noted im not new to flashing firmware on routers. But this is the first one that really didnt want me to flash it. Like nuking my freaking UART access ? Taking it too fucking far)7
Found a gray hair and plucked it. 😢 I'm too young for this shit. Whyyyyy oh god whyyyyy.
Linux 5.8 has been breaking my shit. Like, keyboard and track pad stop working. Apparently, a fn key is to blame. Fixed it for now, but can Linux kernel fuck off? I can't have my system break so often. This is the third time I'm reverting or man handling the shit in the last two months.
I need a good expensive fucking vacation. 😢 And a dedicated eye candy (gender doesn't apply) to keep in my line of sight. Maybe then I can recover.
The last 7 days were an emotional rollercoaster. Specifically, from work perspective. I need many hugs. Like, real hugs. Also need good food. 😢
Overall, I shouldn't be stressed but shit is not going great. 😭😭😭21
I bricked my Manjaro install by interrupting a kernel update like a fucking doofus.
After two hours of painstaking troubleshooting using a live image I finally resolved the issue. And man is that a good feeling. Solving complex problems (at least to me) on Linux is just such an amazing feeling ♥️15
To this day I can't figure out why people still drink the windows koolaid.
It's less secure, slower, bloatier (is that a word?), Comes with ads, intrudes on privacy, etc. People say it's easier to use than Linux, but 99% of what anyone does happens on a chrome based web browser which is the same on all systems!
When it comes to dev, it boggles the mind that people will virtualize a Linux kernel in Windows to use npm, docker, k8s, pip, composer, git, vim, etc. What is Windows doing for you but making your life more complicated? All your favorite browsers and IDEs work on Linux, and so will your commands out of the box.
Maybe an argument can be made for gaming, but that's a chicken an egg scenario. Games aren't built for Linux because the Linux market is too small to be worth supporting, not that the games won't work on it...27
C++ application running on Linux. If customer makes a mistake, I log CustomerIsDumb to kernel message buffer.2
People really need to come up with crazy shit all the time ?
We invent ARM. Then people decide to do Device trees instead of what we had on x86.
We get ARM64 and it becomes the standart.
And now comes the point where it all fucks up.
OEMs start creating 1 DT file for each node. Now they include them all together.
That we can live with. Sorta EZ to follow.
But nooooo thats not enough. We have to be able to change device trees from bootloader.
So we get fucking device tree overlays.
And now you get overlays that overlays another overlay that overlays the base DT. WHAT THE
FUCK. Why. And you get multiple of such cases
Dont get me wrong. Overlays are cool and useful when used right. AKA for what they were made for. Fixing issues in DT. Not adding stuff over working DT. NO.
And ofc in the end you have those overlays compiled into multiple DTBOs that apply over the DTB.
Welcome to ARM64 linux kernel development.12
Nvidia might stop being a douchebag about Linux: https://developer.nvidia.com/blog/... Right now, that doesn't change much yet, but it opens a possible road.20
Dev of 15 years here. All my career historically started and evolved/revolved around Microsoft in one way or the other, so was my exposure to only DOS and the Windows as a child and growing up.
Like already discussed in multiple rants here, I was one of those naturally Windows -favoring ppl through all my life. That is not to say I didn't try Linux here and there, for hosting of personal projects, as one usually does. But it never quite stuck with me as a personal daily driver, mainly because all I ever needed for personal use was a browser, discord, and Steam/GOG/Epic Games store for gaming (work-wise I always had and still have company provided laptops which are OF COURSE Windows powered)
Anyway, maybe you can see where I'm going with this... I recently gave Nobara Linux a go (Glorious Eggroll's Fedora flavor, with some custom kernel patches) and I have to say, not thinking of going back to Windows at all.
Just a few thoughts on comparing two sets of experiences with Win vs Nobara
- Win definitely feels more sluggish
- Nobara's default desktop env was Gnome 42 with some extensions pre-enabled. I dove right into hacking/customizing it to my tastes and it looked glorious. Never would have achieved this customization with Win
- I was using RDP to remote into my work laptop from my personal desktop setup with Windows and I still successfully do so with Remmina now in Linux
- A week ago I dove deeper and installed Awesome window manager as a UI and mh boy does this feel intimidating at first. But then the allure of having nice window managing experience was too strong, and 15 years of coding do help with just seeing a new language and kinda feeling at home instantly (Lua language for AwesomeWM customization/themes). Fast forward a week and now I'm sitting happily with 3 monitor setup, one of them vertical, all properly auto aligned with arandr on startup, variety+wal for wallpaper auto circling and applying a theme out of main wallpaper colors every so often (+wrote a script to put those main colors into my RGB peripherals via OpenRGB)
- Gaming. I still game, Steam Deck from steam gave me all the confidence to set up Linux gaming that I needed. I think I am now properly versed in all things Wine/Proton/Lutris/Bottles/Heroic Games Launcher, you name it. Recently finished Cyberpunk 2077.
ANYWAY, thank you for coming to my Linux appreciation TED talk. It's amazing.
Was at a Saturn (tech store) a while ago, just in the area and browsing a bit, and then this: (see image, thanks C0D4)
This sort of shit happens all the time around here.
There was also my local Karlchens Backstube (bakery and café) where the drive-thru display had a green screen of death; I don't know why they used an insider build of windows. Or windows in general for a fucking DISPLAY SIGN. A FUCKING DISPLAY SIGN WITH JUST A STATIC IMAGE DISPLAYED.
(Image not revant)
Linux tip: if you're setting up a new computer w/ a fresh install of Linux or you got some new device you'd like to make Linux friends with, don't start by searching for drivers. Start with upgrading your kernel to the newest Mainline version you can. It's very likely it will bring your devices' support with it.
Damn I didn't think I'll like my P1 gen4 THIS much. Even better with a flavour of LMint!12
Well shit, now I (re-)learned C,
And all I want to do is program in C,
But all C jobs are like -
"C guru that merged to Linux kernel"
"Driver writing low level must know Assembly"
"Military-grade realtime hardware design"
Isn't there a C job that's like Python - "here I wrote this script in 5 minutes and spent the rest of the day playing Eve Online" :D :D10
We're visiting the capital of my wife's home country, and it's frustrating how taxi drivers take advantage of the people. They don't use the taximeter and ask for a higher amount than would normally be. It's only here, though, because where we live it is illegal not to use the taximeter.
When we arrived at the airport and took a taxi, the driver was fined during the way to our hotel and once we arrived, he asked for 9 to 10x the price, because of the fine. He wanted us to cover the fine for him. Of course, we denied, and she gave a much smaller amount, of which I still think it was too much. If it was me, I'd just toss a smaller amount on the car seat and walk off. What'd he do? Tie us, put us forcibly in the trunk, and drive back to the starting point?
Indeed, the cost of living here is expensive, but they assume everybody is rich, especially if it's a foreigner. To be honest, I'm not even working right now, and she earns in dollars. We can afford all of this, but it's infuriating how shitty they are. It makes us want to stay in the room doing nothing until our flight back.
I hope we won't need to come back here again.8
Users running Linux on laptops with Intel processors should avoid Linux Kernel 5.19.12 due to an error that might physically harm the display. Fortunately, kernel 5.19.13 has already fixed the issue. Versions 6.0 and 6.1 have also begun rolling out with many significant changes.5
Okay so my brother in law has a laptop that is... To put it mildly, chockful of viruses of all sort, as it's an old machine still running w7 while still being online and an av about 7 years out of date.
So my bro in law (let's just call him my bro) asked me to install an adblock.
As I launched chrome and went to install it, how ever, the addon page said something like "Cannot install, chrome is managed by your company" - wtf?
Also, the out of date AV couldn't even be updated as its main service just wouldn't start.
Okay, something fishy going on... Uninstalled the old av, downloaded malware bytes and went to scan the whole pc.
Before I went to bed, it'd already found >150 detections. Though as the computer is so old, the progress was slow.
Thinking it would have enough time over night, I went to bed... Only to find out the next morning... It BSoD'd over night, and so none of the finds were removed.
Uuugh! Okay, so... Scanning out of a live booted linux it is I thought! Little did I know how much it'd infuriate me!
Looking through google, I found several live rescue images from popular AV brands. But:
1 - Kaspersky Sys Rescue -- Doesn't even support non-EFI systems
2 - Eset SysRescue -- Doesn't mount the system drive, terminal emulator is X64 while the CPU of the laptop is X86 meaning I cannot run that. Doesn't provide any info on username and passwords, had to dig around the image from the laptop I used to burn it to the USB drive to find the user was, in fact, called eset and had an empty password. Root had pass set but not in the image shadow file, so no idea really. Couldn't sudo as the eset user, except for the terminal emulator, which crashes thanks to the architecture mismatch.
3 - avast - live usb / cd cannot be downloaded from web, has to be installed through avast, which I really didn't want to install on my laptop just to make a rescue flash drive
4 - comodo - didn't even boot due to architecture mismatch
Fuck it! Sick and tired of this, I'm downloading Debian with XFCE. Switched to a tty1 after kernel loads, killed lightdm and Xserver to minimize usb drive reads, downloaded clamav (which got stuck on man-db update. After 20 minutes... I just killed it from a second tty, and the install finished successfully)
A definitions update, short manual skimover, and finally, got scanning!
Only... It's taking forever and not printing anything. Stracing the clamscan command showed it was... Loading the virus definitions lol... Okay, it's doing its thing, I can finally go have dinner
Man I didn't know x86 support got so weak in the couple years I haven't used Linux on a laptop lol.9
I just realized a weird thing. It will soon be 6 years since i joined devRant. And while i havent been as active as i was before its still sometimes fun to come and rant or read some rants :)
And for those who know me. Yes i still fuck around with Linux kernel development :)
If you are from the 2016-2018 join time come chat a little in comments :) Wondering how many people still hang out here and how many people names i will recognize :P
Today has officially drained all the brain I didn't even have yesterday. Let's hope I get somewhere with this thing, or else all the brain I've wasted is going to be useless.
Also, fuck opencv's fisheye undistortion. Mofo, I don't have the camera params, how the fuck do you want me to give you your stupid kernel shit? Shut the fuck up from my face. Stupid hoebag.
1. Update some packages
2. Linux machine stops working soon after
4. Go get windows machine to help me troubleshoot the issue
5. Starts windows update on startup
6. Panic some more1
TypeORM, you piece of shit.
After version 0.3.x, you decided to make the life of the fools who use you a complete nightmare. It's the second time I put myself in this hell and try to use you, but whatever "tutorial" I follow to make you work doesn't fucKING WORK.
You know, the mere fact Prisma exists automatically makes you irrelevant, worthless, and deserve to have the whole of your source code, along with any backup of course, deleted from every corner of the internet, and any physical device you might lurk in, incinerated.1
Well the company I work for was too cheap to buy a new Graphics Card so we got an old graphics card (nvidia) and had to install it with working drivers
We checked and the drivers were End Of Live since I think 2015 or 2011 so we downgraded the hell out of ubuntu 20.04 Kernel, Compilers and the driver installation still failed We had to get the gcc 7.2 but there wasn't any PPA's available with this anymore and the installation still failed without giving proper error message 11 Hours later we decided to go home
The next day we got an Email we wasted time and money of the company
but we were asked to do this.... (two working students getting minimum wage)5
Can I have one Ubuntu base update after which I *do not* need to go to recovery mode to reinstall Nvidia drivers, and then CPR pulseaudio into function?11
To make a semi-meaningful (or really any kind of) contribution to the Linux kernel. Like just to leave something useful behind in general.3
Nothing like a fucking kernel corruption after Ubuntu update and restart.
It's so great
My two hard drives now are encrypted and to unlock them the kernel should be intact.
The amount of time it'll take to reconfigure my machine to work is insane.
Also, I had commits in products I'm working that weren't on remote. So fuck me.
Now I have to do a fresh install and hope that I can read my second drive.17
- yo bro do you have some time ?
- quick cause I'm taking a dump
- I think I have been hacked, got black screen kernel panick, linux freeze seldomly I have to reboot, no internet connexion
- save your stuff and reinstall linux
- I don't have enough stockage to backup
- Then buy one and save, probably either OS is fcked up or you have some hdd problems
Time that it will take: ~30min to reinstall whole shit
Peace duration: ~2years
Later on the same day
- I can't log into windows
- Did you change the password ?
- Yes but it does not work anymore
* looking at shit
* logs successfully. Reason: interface changed after automatic update.
* wait some more so fucking windows fucking starts
* Desktop is ugly as fck.
* Some stupid settings messed up (like high contrast set, black theme or so)
aunt (the same)
- I can't log into my (other) laptop either
* wait more more more
Guess what: automatic updaaaates. Freezes 100%cpu
* Being a very experienced user: wait before reboot because this suckass os will probably fail to boot otherwise
* Blackscreen with a percentage: Installing updates...
* Blackscreen with a percentage: Installing updates continuing...
* finally boot (feels like a miracle windows succeeds lol)
* still slow
aunt now sleeps
* look at running process and install programs
* sees shits like camera recognition (vendor installed), candycrush
* occasionnaly get adds
time lost: 2h
peace duration: ~3month
FFS I am a dev, not a fucking trash lover
It is already pain to fix someone os, but windows is the cream of cream
It brings no ease of use for novice user
It is so insanely slow
It has stupid settings set up by default!!!!!!!! Who FFS wants candycrush and ads
The maj are so fcking hazardous. It is 2022 pretty much the same as 15y back then. Updates take fucking eternity. And needs reboot. and are not even finished!!!
I swear I am gonna stretch my ass and install linux and any fckin other toolsuite needed so they can use Micro$$ word, which is the only fucking usecase they need windows for in the first case anyway
I SO wish this OS would die
I mean, even more than safari8
After brute forced access to her hardware I spotted huge memory leak spreading on my key logger I just installed. She couldn’t resist right after my data reached her database so I inserted it once more to duplicate her primary key, she instantly locked my transaction and screamed so loud that all neighborhood was broadcasted with a message that exception is being raised. Right after she grabbed back of my stick just to push my exploit harder to it’s limits and make sure all stack trace is being logged into her security kernel log.
Fortunately my spyware was obfuscated and my metadata was hidden so despite she wanted to copy my code into her newly established kernel and clone it into new deadly weapon all my data went into temporary file I could flush right after my stick was unloaded.
Right after deeply scanning her localhost I removed my stick from her desktop and left the building, she was left alone again, loudly complaining about her security hole being exploited.
My work was done and I was preparing to break into another corporate security system.
- penetration tester diaries2
I'm reading "A class-based reflective minimal kernel"
... do you ever get the feeling like you understand something perfectly and don't really understand it, at the same time? what does it mean?
i can even rougly imagine how this would be implemented on assembly level, but it still feels like... i don't know. it seems too straightforward and simple, i guess, so i suspect i'm not understanding it properly, since it can't be that simple...?8
"Longest you worked without rest + why?" (2)
Oh, I am an idiot 🙂! 7 hours isn't nearly the longest I've worked without rest (see my previous rant.) I just remembered working non-stop almost for a day in the past.
It was for an annual 48-hour hackathon where people gathered to make games.
It made me promise myself not to work excessively long hours non-stop. My creativity level was way below the ground, and during the after-party, my body sort of kernel-panicked, and I started to become incoherent. I had to call a taxi to find my way home that day.
For the following years, I made sure to get some rest (e.g., go home at night to sleep, spend the lunch break time actually having 'lunch break' and not coding while you're at it, etc.) because I did not want to wreck myself any further.
why can't i ever have a successful make build even with all dependencies satisfied. took TWO weeks of faffing with libdvdcss becasue it couldn't find libc6. I think at one point i might have inadvertently deleted libc6 doing an ln -s in reverse order. I know i got kernel panics trying to cp it back before discovering apt -reinstall cause like fuck was i gonna purge and reinstall my whole system. ANYWAY couldn't find where the libc6 dependency was in the build script but did find a way to tell it to ignore missing deps. although copyright lawyers needed the guillotine so this would never have been an issue1
I've got to get the act together and actually work on new and existing projects instead of just Kernel Simulator.
is it useless to try to test something that's constantly changing?
the software - the OS and all the packages
i mean...is there some magic distro that keeps things hella stable that is valid to even test on? you need some random update to account for a change in some language or library, or a new tech that's in the kernel. everything goes out the window real quick.
seems like just chasing your own tail and getting no where2
Is it hard to write a kernel module to expose information to usee space ? I need smartctls abilitytl to specify sata being transported over. USB cable to a sata drive to pull Information like make model serial but it requires root and lsblk doesn't have the functionality to grab info on the device on the other end of the usb to sata cable
There is another way though right ?4
So apparently jupyter / ipython adds the current workdir to kernel library path, and it crashes if you happen to have a file named something like "tokenize.py" in your workdir because it gets prioritised over ipython's builtin module with the same name. What a great design for something which is specifically made to run isolated chunks of code, that it can't even properly isolate itself from the workdir.1
seriously, does any linux distro have a stable fuking kernel?
ive used them all across different distros, 3.10, 4.w/e, 5.0-15...every fuking time i use some distro's kernel it breaks shit. dkms, initramfs, oom issues, nics being fubar, just any and every god damn thing.
use my own config and manual updates? no problems. ever.11
Has anyone spidered the web and repos and found info about the Linux distros for comparison ? Like packages and vendor support and kernel ? I feel like fedora is just debian with newer software that uses rpm
On another note I'm wishing these idiots had just let me work straight through as a developer or tax auditor etc because I'm not working in Dickson just so they can steal my car again after working hard and honestly to improve my fucking situation
As I said as I remember things and that was a pretty big one
All the time people spent fucking around and the world went in a circle and I said this last time
Fucking people should have to hand me over a check for the number of times I bought that damn car !2
Ubuntu 22.10 and it still fails to either suspend or wake up.
Last night, I suspended it and went to sleep. In the morning, I noticed it wouldn't wake up despite the power button light being on. Then, I felt the computer was hot, unusual if it was suspended to RAM, so I imagined it did not after all, and I did not see, or it failed to wake up due to the long hours, like a jobless teenager living with the parents. Since I had previously suspended it twice without issues for a short period only, I assume it is the latter.
This is always with GNOME, too. With KDE, it failed only once and then never again in the following months I used it.
Fine, I guess. Nothing is perfect.
Kernel Simulator has its own Forecast library (implemented by me) and stole it! Anybody should be able to use this particular library without having to deal with the rest of the "master app."