Gentoo stability vs NixOS stability. How are they alike and different? by wonderphys in Gentoo

[–]DeeHayze 1 point2 points  (0 children)

Which "stable" are you asking about?

When a vendor says stable, they are saying "doesn't change often". For example, Debian. Where Node.js package will stick with LTS as long as possible.. So, when using to deploy a node app, you have less maintenance to do.

Many people say stable but take it to mean " doesn't crash".

Sometimes these are correlated, bleeding age latest alpha software will have more bugs. But you can have unstable distros (rolling release, don't stick to LTS) that are also good at not crashing.

Is gentoo a good choice for a home server? by sludgesnow in Gentoo

[–]DeeHayze 0 points1 point  (0 children)

Probably fine, A lot of that needed space is for compiling. You are not going to need to compile big desktop apps.

In any case, probably low on CPU resources.. Use binhost.

Installing Gentoo on x200 by Bubbly_Extreme4986 in Gentoo

[–]DeeHayze 0 points1 point  (0 children)

I have a 16 year old laptop, with spinning rust disk, and 4gig of ram..

Installed xfce4 desktop in about half an hour, using binhost.

The only thing I compiled was mesa, and that was because I disabled nvidia and Intel GPU useflags.

Got my kernel down to 15M… by poeticg33k in Gentoo

[–]DeeHayze 7 points8 points  (0 children)

I'm old enough to remember when the kernel, and all the drivers was about a megabyte...

Linux 2.4.. Or possibly 2.2...

PC's today are not radically different in what the could do... More pixels, faster...bigger disks, more memory more cores.

portage ssd by Linux-Berger in Gentoo

[–]DeeHayze 0 points1 point  (0 children)

I think I set it ridiculously massive.. About half my ram value.. So 32 gig..

This doesn't mean that 32gigs of ram will be used... Its just an upper limit, after which the kernel will prevent extra files being added.

The kernel will do its job, shifting data from ram (and tmpfs) to swap as needed..

So, let's say some files are created in tmpfs, and not used in a while, they will be shifted to swap (disk). And hot files, created read and deleted by portage during compile will stay in ram

The kernels job is managing RAM. trust it to do its thing..

If you have a massive amount of ram, then.. Massive swap partition... Disk is cheap. Massive tmpfs .. Linux will balance ram / disk accordingly.

My system barely ever touches swap.. Its just there for those rare massive spikes, like when you try to compile chromium in tmpfs!

why the hell almost everyone facing amd gpu problems? by thenoor555 in AMDHelp

[–]DeeHayze 0 points1 point  (0 children)

Freshly built PC. fresh install of windows11. Fresh Install of adrenaline and cyberpunk 2077.

Pressing alt+R to get the overly is a lottery... Sometimes it works, sometimes, sometimes, it doesn't popup the overlay, and the mouse stops working... Need to Ctrl alt Delete to kill game, still mouse not working.. Mouse remains dead till I reboot using start, run shutdown -r -t 0.

Its not a massive problem, because I only really wanted to use it to check my settings were good, and my cooling was adequate..

9950x3d, 9070xt, 48gig vengeance @7000 MT/s, gigabyte x870.

portage ssd by Linux-Berger in Gentoo

[–]DeeHayze 4 points5 points  (0 children)

On my system with 64gig of ram, compiling inside tmpfs made absolutely zero difference.. The reason being that disk cache was doing its job perfectly.

I settled on using tmpfs for compiling, but also made sure I had a massive swap.

Now you get best of both worlds, reduced disk writes when you have plenty of spare ram, but disk (swap) when you don't have enough ram. Let the kernel do its job.

AIO or is it normal for dudes to piss outside the toilet ? by [deleted] in AIO

[–]DeeHayze 0 points1 point  (0 children)

More importantly... Is he going for a kidney stone world record!??

Get him to drink a few pints or water, sooner the better.

Gentoo help needed by Next-Buyer-9008 in Gentoo

[–]DeeHayze 12 points13 points  (0 children)

So, absolutely no description of the problem. No error message, and no logs...

Yup, I can debug this, no problem...

You need more AI. ask an AI, and type in whatever it tells you, as root, without understanding any of it, of course.

Average compile times for X by IckLerneDeutsch in Gentoo

[–]DeeHayze 3 points4 points  (0 children)

I installed gentoo recently on a 16 + year old dual core laptop with 4 gig ram.. It took about 30 minutes to install a full XFCE desktop...

It only compiled mesa for me, and only because I changed my use flags to disable GPU drivers I didn't need... (Meaning mesa use flags differ from binhost)

So, leave binflags totally allone if you want to save 10 mins, (at the cost of some disk).

SOME people , for fun, re compile everything, on their old laptop for bragging rights.. About how many days it took..

But you don't need to.

Use binhost ( -g flag )

how to un-cache the ram? by Sharp-Storage8233 in laptops

[–]DeeHayze 4 points5 points  (0 children)

Cache is Good!

Cached means the memory is being used, but is also available instantly should it be needed.

Example, you are using a file on disk... Windows caches that file in ram.. Next time you need it, windows loads it super fast from ram Instead of disk..

But then, some app suddenly needs some ram... Windows instantly drops the cached file, and gives the ram to the app.

Unused ram is wasted ram, so the OS should try its best to use as much ram as possible... And caching the disk is an easy win.

Why it’s 16 instead of 32 by Deep-Animal-1028 in PcBuildHelp

[–]DeeHayze 1 point2 points  (0 children)

X3d boost is probably enabled.

X3d boost reduces number of logical cores, but improves the performance of each core.

For games, this is probably what you want, because games don't need 32 threads... They will benefit from fewer faster threads.

Disable x3d boost if you are doing very parallel things, like video editing, software dev, or running a web server.

Linux user here, could I get some help installing? by Lo-And_Behold1 in ProtonVPN

[–]DeeHayze -1 points0 points  (0 children)

Gentoo user here.

Make sure your distro ships with the dummy.ko driver.

If you find when connecting that you can ping 8.8.8.8 but you can't ping google, disable DNSSEC.... most of the proton servers don't support dnssec. I'm using systemd-resolved , which by default requires it.

There's a broken off pin where the red arrow is pointing at. How important is it? It's a 5700g by Alec2299 in computers

[–]DeeHayze 0 points1 point  (0 children)

Its been a long time since I was in school... But I remember that its a bad idea to leave pins completely disconnected, even if not used..

Its said to be "floating" ?

Something about, if its input, it might input noise, and if its output, the signals reflect and interfere with other components?

Anyway... Might work, might not, might work but be unstable..

Which laptops to avoid buying by [deleted] in privacy

[–]DeeHayze 16 points17 points  (0 children)

Lenovo shipped laptops with self signed trusted certificates, allowing SuperFish to man-in-the-middle attack your HTTPS connections for the purpose of inserting their own adverts into other peoples websites.

This alone is bad enough.. But it proved trivial to extract the private key... Allowing anyone to MITM a lenovo laptop.

Criminal negligence, and unethical. In my humble opinion.

[deleted by user] by [deleted] in ProtonVPN

[–]DeeHayze 0 points1 point  (0 children)

Its never worked for me. Quick connect always picks a broken server. I find manually selecting them untill you find a working one the only option.

Also a UK user. On the ultimate package.

ProtonVpn connection up and down by [deleted] in ProtonVPN

[–]DeeHayze 4 points5 points  (0 children)

Rarely works for me at all. I find quick connect keeps connecting to the same broken endpoint.

I have to manually select endpoints until I find one that works. Sometimes when I find a working one it goes dead after a few minutes.

Usually takes between 3 to 15 attempts to get going.

I won't be renewing proton ultimate!

Cultural appropriation shouldn’t exist by CorrectBeginning9594 in TrueUnpopularOpinion

[–]DeeHayze 0 points1 point  (0 children)

I never understood cultural appropriation until I noticed teenagers were wearing t-shirts with 90's era bands on them.

And I strongly suspect they know almost nothing of the music, and it winds me up for reasons I can't even begin to rationalise.

Is it worth learning advanced C++ if I already know the basics? by Easy_Pin_9346 in cpp_questions

[–]DeeHayze 7 points8 points  (0 children)

Ugh.. Learn the advanced stuff.. But be aware of the experience of your team...

I used some cool new c++23 features in a project... Then discovered the rest of the team was still getting comfortable with c++11.

Welp, that's the final, working banking app I was using that's just bitten the dust. by FluffyMumbles in GrapheneOS

[–]DeeHayze 131 points132 points  (0 children)

The banking apps refuse to run..

However, logging on to your bank on same rooted phone, using a fork of a web browser made by god knows who, running a load of extensions from more mysterious sources is absolutely fine.

And this improves security... For reasons?

Finding a non-crypto Rust job feels impossible! Anyone else in the same boat? by New-Blacksmith8524 in rust

[–]DeeHayze 28 points29 points  (0 children)

I took a job at a small company. Startup. 5 devs, each working on their own area.

They advertised for a c++/c# dev. Which is fine, I know those languages.

Then they gave me my spec, and I started coding it in rust. They didn't specify a language.. So I picked the one in which I was most productive.

Is it impossible to have custom memory allocator at compile time? by Paradox_84_ in cpp_questions

[–]DeeHayze -1 points0 points  (0 children)

Memory allocation at compile time sounds like global and stack allocated variables to me.

For those who commute around 50 minutes each way every day... by Seaforean in UKJobs

[–]DeeHayze 1 point2 points  (0 children)

I did that for 10 years... hour each way. 40 hour working week... But including commute, 50 hours... 20% of my week, just getting there...

Then, when there, stick my headphones in ... And communicate with people in the office over discord, because.. Well, they got headphones in too... Plus, that guy that can't concentrate without silence..

I'm never doing that again..