HN user

_arvin

276 karma
Posts2
Comments71
View on HN

+1 for turning it into a Linux laptop. Although I'd understand if you kept it Mac (probably best if it's still supported).

For my 2010 MBP, I'm running Linux on it and it's really brought it back to life. Especially with the 5.4 LTS kernel and Ubuntu 20.04 LTS, both with support until 2025. I say go for it, you'll have a ton of fun on it.

And if making it look like macOS is your thing, here's how I got mine looking: https://i.imgur.com/QgyRvrD.png

1. Day to day, you can incorporate it many ways, preferably by intermittent fasting, but you don't _need_ to do intermittent fasting for caloric restriction, which means just eating less. (30% fewer calories according to this study)

2. Yes, it's what I do and I find it works well. If you love breakfast, skip dinner. If you say I love breakfast and I love dinner, well you just won't have the appetite for one of them because of your new ruitine, so it won't really matter. If you start eating at 12pm, you'll want to stop eating by 8pm. If you start eating at 6 am, you'll have your last meal of the day by like 3pm.

3. See above, but as soon as you start eating, the window is now open for business and you may indulge. Ideally, you'll want to compound all of this with a healthy, balanced diet with lots of water, good nights rest, exercise, and limiting stress.

It's basically applying a bunch of very simple principles, and sticking with it. The results will show, for sure. The biggest thing is getting in tune with your body and seeing what works best.

It's essentially just applying these patches: https://mirrors.edge.kernel.org/pub/linux/kernel/projects/rt...

The above is for kernel 5.4, as the patchset for 5.5 doesn't exist at the time of this post.

After applying the patches, you'll want to run "make nconfig" or "make menuconfig" and search for CONFIG_PREEMPT_RT and enable it and you should be good to go. The only downside in my experience is Virtual Box doesn't work with the -rt kernel as of right now, so I can't use it as my daily driver. It is a my preferred kernel though for gaming and overall desktop use. I use a custom low-latency kernel when I'm not using the -rt and it's been working well for me.

Everyone is talking about Amazon promoting their own products, but can we talk about the type of products being promoted in the top 5? Security camera, Ring doorbell, Echos, i.e. all surveillance devices people are willingly and voluntarily putting in their private homes, just waiting for that data to be compromised by hackers, data leaks, you name it.

Call me tinfoil I don't care, but don't invite me to your homes either if the place is going to be bugged, I'm good.

You can run updatedb more frequently. By default it is run on a daily cron job and has the smarts to not run when on battery. (see /etc/cron.daily/mlocate)

You can also exclude directories in /etc/updatedb.conf that you don't want locate to index. I think in your case a more frequent cron job make sense. If run often enough, it finishes very quickly when running updatedb, which will you give you the instant search you're looking for.

We’ll be here all day. He would associate the code to the person, which goes against the “I am not my code.” that many adhere to. Linus is stepping up and finally owning up to his behavior. We owe him a lot so we gave him a pass before. Now we won’t hopefully need to anymore.

To be fair, he has incredible judgment and we defer to him when it comes to being the road block to merging bad code.

I think there should be a distinction between Canonical and debian, but Ubuntu is certainly based on Debian, and the latter should be used when talking big scale like he did. Many cloud services and providers run on Ubuntu, and as long as Ubuntu uses apt and .deb, it's Debian (along with Linux Mint, elementaryOS, etc)

I've been using duckduckgo exclusively for a year now on all my devices and I'm loving it.

The whole point of a search engine is to give you what you're looking for, and ddg delivers. If I ever need to Google something, I'll use !g query. You can make it look really nice also by changing it from the Default theme to Basic.

I'm sure it was just poking fun. We can't be kernel ricers and get mad when people make fun of it. CFLAGS matter! lol

One thing I will say, compiling your own has many benefits, as all the distribution kernels use Generic x86-64 and miss out on all the Intel/AMD optimizations.

For example, just by switching from "Generic-x86-64" to "Core 2 or newer" in Processor type and features -> Processor family in kernel config, adds these 5 optimizations:

CONFIG_X86_INTERNODE_CACHE_SHIFT=6

CONFIG_X86_L1_CACHE_SHIFT=6

CONFIG_X86_INTEL_USERCOPY=y

CONFIG_X86_USE_PPRO_CHECKSUM=y

CONFIG_X86_P6_NOP=y

You can say it's pulling hairs, but hey, that's what I want. Not many people have the time, know-how, run Linux, etc. to be able to make these optimizations.

I'm right there with you guys.

I made my desktop in 2014 with a Haswell i5-4670K @ 3.4GHz. Overclocked it to 4.3GHz, and I still don't have a reason to upgrade. I really want a Ryzen 2700X also but staying patient. Newer and better hardware will keep coming out so I'm in no rush. (but my next CPU will definitely be AMD)

My current thing right now is compiling the Linux kernel exactly catered to my Haswell machine, and using the latest gcc with "-march=native -O2" optimizations. It might seem minor, but man if she ain't screaming right now. I should mention I have an AMD RX 480 graphics card also. So I'm up-to-date in that world and enjoying the best of team red and blue right now. New drivers, software, kernels, and optimizations keep coming out that make my current hardware faster. But then came Spectre and Meltdown lol.

You so nailed it, man. Thanks for that. I really miss those old days. I'm turning 33, but I'm constantly chasing old nostalgia these days and realizing all the old things that used to make me happy, _still_ make me just as happy. (and you're damn right I still use BitchX)