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 - "acpi"
-
Whoever designed UEFI, FUCK YOU!! Giving the OS control over every fucking thing in the hardware instead of letting the BIOS do that separately, WHO IN THEIR RIGHT FUCKING MIND THOUGHT THAT THAT WAS A GOOD IDEA?!!
And same goes to fucking you Microsoft! How difficult is it to do a fucking ACPI shutdown and do it properly?! How fucking difficult is it to not make the fans spin like jet engines because why the fuck not?! And yes the fucking PC is dust-free and bloat-free so I don't want to see any fucking Wintard comment that.
You know where else I saw the inability to power down? In Linux 4.20-rc2. A kernel that is within active development, and rc2 at that!! A kernel branch that's designed to be unstable, for testing purposes. Meanwhile the stable branch of MS Windows does the same. Also designed to be unstable because fuck QA?! Filthy fucking motherfuckers!!27 -
I love it when a fellow "dev" asks about some interesting security topic (full disk encryption) and I'm like "yeah I use LUKS pretty much everywhere".. and then takes an entire arm when given a hand.
Performance in LUKS? Yeah sure you can benchmark it within cryptsetup. Here's how to do it and choose a good cipher for your CPU.
D: Oh also how do I check my battery life?
M (thinking): you lazy fucking piece of shit.
M: FUCKING GOOGLE IT
D: Obviously that means that you don't know it.
M (thinking): so not only lazy but also disgustingly ungrateful, fucking twat.
M: acpi. Next time fucking Google it.
D: You know what? Never mind.
As if I'm the one that's fucking wrong now!! But you know what, never mind indeed. Because you've successfully wasted my fucking time instead of fucking googling "check battery life Linux" like a sensible dev would.
Fellow "dev", if you're on devRant I hope you read this. You can seriously go fuck yourself.4 -
I'm fairly sure that even if I were to run Windows 10 on a machine with double ECC, it'd still BSOD because of poor memory management. Because why on Earth would Microsoft support such a basic, essential thing properly, hmm?!!
Oh and let's add HDMI to the existing list of ACPI and USB. How difficult can it possibly be to support those basic, most standardized fucking hardware protocols? Pretty fucking insanely hard apparently!!!3 -
From 3 decades of operating system development, yesterday Windows shat itself (for the so many'th time) with the ACPI power button (how one can possibly fuck up interacting with a goddamn fucking pushbutton, I have no idea) and this morning I got back to my PC, only to notice that the USB driver (again one of the easiest and most ubiquitous protocols out there) shat itself as well. So wiggling the mouse to activate the screen? Of course, no says Windows. I can't possibly do that much, even though I'm developed by a team that could easily outnumber most distributions' development teams, and am part of a company that turns over fucking billions of dollars each year.
I feel that Microsoft offends the words "operating system" to the point that it should be changed (call me SJW 🙃), just for Windows. Shouldn't be too much of an effort considering that Microsoft never follows common standards anyway. I'd like to introduce you to the term "operating shitstain" 😜10 -
>starts a new project
>new project is kernel
>clinl.tiff
>implements a big bunch of C++ stl
>wants to implement a FS
>needs ATA-Drivers
>ofuck.vmw
>Writes Ata drivers
>Ata drivers don't work on ACPI systems
>i_want_to_kill_kevin.fossil
>implements ACPI according to osdevwiki
>doesn't work
>decides to read the acpi specs4 -
Just because I don't have any message in my work email account doesn't mean I have to get shit talk from Microsoft (out of all the tech companies)!!!!2
-
ACPI YOU FUCKING CUNT
STOP IMPOSING SUCH SHITTY STANDARDS THAT REQUIRE AN OPERATING SYSTEM TO SCAN THE RAM FOR SOMETHING AND TO INTERPRET BYTECODE BY ITSELF!
JUST BECAUSE YOU WERE MADE TO UNIFY THINGS DOESNT MEAN THAT YOU SHOULDNT BE REDESIGNED FROM SCRATCH YOU FUCKING MOTHERFUCKING BALLS BUSTING SHITTY STANDARD ^1
ALSO, PLEASE FFS DOCUMENT YOUR SHIT-KNÖDEL WELL, PLEASE. WOULD MAKE IT AT LEAST BEAREABLE
^1 I realized I didnt use enough swear words1 -
Time for a rant about shitstaind, suspend/hibernate, and if there's room for it at the end probably swappiness, and Windows' way of dealing with this.
So yesterday I wanted to suspend my laptop like usual, to get those goddamn fans to shut up when I'm sleeping. Shitstaind.. pinnacle of init systems.. nope, couldn't do it. Hibernation on the other hand, no problem mate! So I hibernated the laptop and resumed it just now. I'm baffled by this.
I'll oversimplify a bit here (but feel free to comment how there's more to it regardless) but basically with suspend you keep your memory active as well as some blinkenlights, and everything else goes down. Simple enough.. except ACPI and I will not get into that here, curse those foul lands of ACPI.
With hibernation you do exactly the same, but on top of that, you also resume the system after suspending it, and freeze it. While frozen, you send all the memory contents to the designated swap file/partition. Regarding the size of the swap file, it only needs to be big enough to fit the memory that's currently in use. So in a 16GB RAM system with 8GB swap, as long as your used memory is under 8GB, no problem! It will fit. After you've moved all the memory into swap, you can shut down the entire system.
Now here's the problem with how shitstaind handled this... It's blatantly obvious that hibernation is an extension of suspend (sometimes called S3, see e.g. https://wiki.ubuntu.com/Kernel/...) and that therefore the hibernation shouldn't have been possible either. The pinnacle of init systems.. can't even suspend a system, yet it can hibernate it. Shitstaind sure works in mysterious ways!
On Windows people would say it's a hardware issue though, so let's talk a bit about that clusterfuck too. And I'll even give you a life hack that saves 30GB of storage on your Windows system!
Now I use Windows 7 only, next to my Linux systems. Reason for it is it's the least fucked up version of Windows in my opinion, and while it's falling apart in terms of web browsing (not that you should on an EOL system), it's good enough for le games. With that out of the way... So when you install Windows, you'll find that out of the box it uses around 40GB of storage. Fairly substantial, and only ~12GB of it is actually system data. The other 30-ish GB are used by a hibernation file (size of your RAM, in C:\hiberfil.sys) and the page file (C:\pagefile.sys, and a little less than your total RAM.. don't ask me why). Disable both of those and on a 16GB RAM system, you'll save around 30GB storage. You can thank me later.
What I find strange though is that aside from this obscene amount of consumed storage, is that the pagefile and hibernation file are handled differently. In Linux both of those are handled by the swap, and it's easy to see why. Both are enabled by the concept of virtual memory. When hibernating, the "real" memory locations are simply being changed to those within swap. And what is the pagefile? Yep.. virtual memory. It's one thing to take an obscene amount of storage, but only Windows would go the extra mile and do it twice. Must be a hardware issue as well.
Oh, and swappiness. This is a concept that many Linux users seem to misunderstand. Intuitively you'd think that the swappiness determines what percentage of memory it takes for the kernel to start swapping, but this is not true. Instead, it's a ratio of sorts that the kernel uses when determining how important the memory and swap are. Each bit of memory has a chance to be put into either depending on the likelihood of it being used soon after, and with the swappiness you're tuning this likelihood to be either in favor of memory or swap. This is why a swappiness of 60 is default most of the time, because both are roughly equally important, and swap being on disk is already taken into account. When your system is swapping only and exactly the memory that's unlikely to be used again, you know you've succeeded. And even on large memory systems, having some swap is usually not a bad idea. Although I'd definitely recommend putting it on SSD in a partition, so that there's no filesystem overhead and so that it's still sufficiently fast, even when several GB of memory are being dumped in.6 -
Am I the only one that find Google documentations shit, like they think you know everything and just give you the top part of the iceberg, but there are a lot of detail at the bottom!!!!!!!!!!!3
-
To many "Quantum" this days: Firefox Quantum, Samsung TV Quantum, Quantum computer.......wait does that last one count??5
-
How do you deal when people ignore you avoid you but didn't understood you??? I explained over and over and over again!!!!!!!!!!!!!!!! 😤😤😤😤😖😖3
-
Spent debugging for weeks, then found that error was I didn't add my header name in Access-Control-Request-Header option........COOOOOOOOOOOORS!!!!!6
-
On an interview they told me to do a simple Todo app with angular and one of them said cheat if you want but just get it don't in a week! 😒1
-
What a pain it is getting Linux/Arch setup perfectly on a MacBook Pro. Overheating like a mofo. ACPI shitstorm, integrated GPU disabled by default and need a hack to enable it outside of macos, fan control is wack.
Solved most of this crap but still can't completely disable the Nvidia GPU, so both integrated and dedicated are powered on. Frustrated AF.2 -
Opened my beloved laptop after a week of sickness.
ACPI error...
Spent the evening taking a backup from initramfs. Then installing Ubuntu 17.10
Now, I love me some penguin but that shit gets too crazy too often.
Not that I didn't enjoy spending the day setting up the system, there is some stability I always miss from a Win/Mac environment2 -
Update on the ACPI booting error - i attempted to install antergos onto the SWAP partition (to try to rescue my files and then reinstall antergos) which was 8gb, which is too small to install antergos, a DE, and the bootloader. i wiped everything. Impatience is a bitch. why am i like this.
i also decided on using xfce rather than kde - i feel like it runs faster. I can get the kde WM right? i miss my wobbly windows -
Why is Windows including Linux bash with like Windows is another Linux distro, this pisses me Offfffff the shit!!!!!!!!👿👿👿👿👿 Why can't Windows does his own thing, than stick his finger where it is not needed!!!!!!!!!2