wolf

joined 2 years ago
MODERATOR OF
[–] wolf@lemmy.zip 1 points 10 hours ago

Debian does not enable it by default, cat /sys/kernel/mm/lru_gen/enabled will be a 0.

[–] wolf@lemmy.zip 1 points 11 hours ago* (last edited 10 hours ago)

I am running Debian 12 on all of my devices with Debians vanilla kernel! :-) Just enable MGLRU on Debian like it is described in this blogpost.

One further tip for ZRAM: On my device the LZ4 algorithm was noticeable faster than ZSTD (didn't try ZSTD with the enabled MGLRU, yet) and it was important to disable the RAM page read-ahead on my device.

 

MGLRU.

On my low RAM/CPU netbook it is a game changer; thanks to ZRAM the netbook is perfect for browsing the internet/light work. When running my backups (creates big tarballs) or Ansible though, my desktop/applications would freeze/stutter noticeably. Enabling MGLRU simply solved the problem of freezes/stuttering, it feels like magic and besides ZRAM, I don't know of any other lever with this massive impact on desktop performance.

Just wanted to share this, for other users with low RAM/CPU hardware. I would assume the observed difference is less dramatic, once 8GB of RAM are available, but I would love to hear about other experiences.

I would also love to hear/learn about other levers with high impact to tweak for low RAM/CPU desktop devices. Anything else to tweak under /sys /proc which has impact on performance?

[–] wolf@lemmy.zip 1 points 1 day ago

I don't even know the German word, but can confirm, wood stoves are a thing in my neighborhood, as I am reminded every time I open my windows in winter time. ;-)

[–] wolf@lemmy.zip 2 points 1 day ago

Indeed, I have heard of spelling bees, but never thought about the reasons they exist in the US. Thanks for enlightening me! :-)

[–] wolf@lemmy.zip 1 points 2 days ago (1 children)

Thanks for the info concerning the pneumonia vaccine, I'll check with my family doctor next time I am there.

Yeah, we have the annually flu news-cycle, too. This year they claim it is worse for children, because the hospital beds for children are supposedly at their capacity, and also in my team at work nearly everyone was sick within the last 4 weeks.

Just a heads up: I learned it is 'flu' for the disease and 'flue' is like a device to let go of smoke. Sorry for spreading my bad English!

[–] wolf@lemmy.zip 4 points 2 days ago (6 children)

Wow, nice! Do you have to pay for the shots or do you get them for free?

Sorry, 'flue' is just my incompetence at using the English language, it seems I also learned that it is 'shot' and not 'shoot'.

I have a super bad German accent when I speak English, and although I hope I have a descent understanding of the language, I couldn't write a sentence with correct spelling/grammar if my life depended on it.

Thanks a lot for chiming in!

[–] wolf@lemmy.zip 3 points 2 days ago (1 children)

Thanks a lot for the information! Damn, Canada really deserves its great reputation! :-)

[–] wolf@lemmy.zip 2 points 3 days ago (3 children)

Nope, I am a total boring office worker and the company I work for is not related to health care.

If there is a yearly refreshed pneumonia vaccine, I never heard about it being offered in Germany. (If it is a one time thing, I would trust everyone open to it got it already.)

Exactly what you said is at the heart of my question: Is it an economic consideration to not recommend the covid yearly update shoot or a medical one.

To further elaborate: The flue shoots are provided for free and paid for from the public health care, so in Germany you can just visit a regular family doctor and get it for free, or the flue shoots are given out at universities etc. In summary, while you nearly have to make an effort in Germany to not get a yearly flue shoot, for covid shoots you even have to sign a paper to the doctor to not sue them for vaccination problems, unless you are in the vulnerable group (elderly, asthma etc.).

How does it work in Denmark, if you would ask your family doctor for a covid shoot, will they simply give you one, no questions asked?

[–] wolf@lemmy.zip 1 points 3 days ago (5 children)

Thanks, one follow up question: In Germany (where I live), for flue vaccinations, it is kind of 'free for all', at my work place they even send doctors to vaccinate the employees (who are willing to take it).

This is the confusing point for me, as in Denmark, covid is treated like a flue by now. So why is there the difference between the recommendation between covid shoots and flue shoots?

[–] wolf@lemmy.zip 3 points 3 days ago (1 children)

Thanks for clarification, my question was indeed missing the point, that 2 vaccinations are recommended.

I am asking, because we have a wave right now and I see people, which most likely are vaccinated (or I know got their two shoots in the past), get sick for one or two weeks.

Please allow my follow up questions:

  • Flue shoots are kind of free for all in my country (Germany), even if people are vaccinated and they also get refreshed every so often by the real thing (right now we have a flue wave in children) - is there a reason why there is a difference between flue shoots and covid shoots?
  • From the individual point of view, is there any reason not to get a covid shoot, especially when the person already got vaccinated in the past?
  • Is the benefits of further vaccinations vs. the risks a monetary/effort evaluation or a medical one?
 

Title is question, but to clarify my assumptions:

  • Vaccination is a numbers game, and the odds are in your favor that the vaccination will protect you over you get a side effect or an allergic reaction/shock
  • An infection like covid/flue can damage your body long term, not even speaking of long covid etc.
  • To the best of my knowledge it has been shown that flue shoots lower the risk of dementia later in life, wouldn't it be a good enough guess that a covid shoot decreases risks for this too
  • Even if we only assume a covid vaccination is highly to reduce your sick days for only this year, isn't it a rationale tradeoff to get vaccinated, just to avoid 1-2 weeks sick?
  • Given the security of covid vaccinations, I feel like they have been scrutinized and tested extremely well and to the best of my knowledge it was checked that nothing of the vaccination remains in the body after a few weeks (for the argument that nobody knows the long term effects of RNA vaccination)

Again my question: Why doesn't the WHO or don't most countries recommend covid vaccinations for everyone? Are there any health/medical reasons? Are there financial reasons? Are there any countries/governments which recommend the covid vaccination for everyone and not only the 'vulnerable groups'?

Edit: Just to add, I am living in Germany and right now we have a big wave of children flue, where children even die in the hospitals and the children hospitals are near their limits. It seems common sense to just put flue/covid vaccination into every child/adult, to avoid situations like this.

[–] wolf@lemmy.zip 3 points 6 days ago* (last edited 6 days ago)
  • Michael Mans 'Miami Vice' 2006. Absolute shit rating is probably to hard, but the reviews back then were underwhelming (I remember 'style over substance' as a quote)
  • The original XXX with Vin Diesel. It feels that nobody got the joke, that it is a parody of the James Bond movies, although a James Bond look alike literally gets killed within the first scenes of the movie...
 

Fighting game players on lemmy might be interested in the open Beta of Virtua Fighter 5 R.E.V.O.!

 

Some games bring me in the zone/give me flow like no others.

For example the following games do that for me:

  • Olli Olli
  • Contra (NES)
  • Dark Souls
  • Street Fighter II (SNES)
  • Street Fighter 3
  • Street Fighter 6
  • Like Dreamer
  • Choplifter HD
  • XCOM
  • Infested Planet
  • Tetris Effect

What games are providing you with flow experiences?

 

Hello Linux community,

I need some help with shutting down my laptop when the battery reaches a low percentage.

I am using Debian 12 with the GNOME desktop. WARNING: Minimal installation with self selected packages.

What I want to achieve is, that the laptop just does a 'halt -p' or shuts itself down when the battery is below 20%.

What I did so far:

  • Look into GNOME settings in the power settings area and I found nothing helpful
  • I edited /etc/Upower/UPower.conf with my settings and changed the CriticalPowerAction to PowerOff, ensured the upower daemon is running via systemctl status and rebooted. The result was that I get a warning popup message in GNOME when the battery load reaches 21%, but it does not shutdown the laptop at 20% or under 20%, although I get another pop up announcing that the laptop would be shutdown
  • I ensured laptop-mode-tools and gnome-power-manager settings are installed

Any help/pointers for further help would be highly appreciated.

 

The method of loci (MOL)/memory palaces are a widely known mnemonic devices and enable memory artists impressive tasks (like memorizing several decks of cards, memorizing numbers etc.). Further MOL is featured in pop culture e.g. Sherlock Holmes, Hannibal Lector etc...

There is, to the best of my knowledge quite some research, which shows that MOL is working/useful for improved retention, especially when combined with spaced repetition.

It seems I have never seem real world examples of long term memory palaces/method of loci applications. It always seems like a short term crutch for cards, numbers, speeches, grocery lists, phone numbers, vocabulary or for test/exam preparation. For example it seems that in language learning, the MOL is for encoding some vocabulary and visiting it regularly, until it is committed to long term memory.

All examples I find in books about the method of loci are again only about having one location, a route of 10-N stations, and never about building/using mnemonic devices to organize bigger amounts of knowledge.

Are there any examples of people using the method of loci/memory palaces to organize for example their professional knowledge? Or of polyglots having/keeping memory palaces for language learning? Is there any research about long term usage of the method of loci?

36
submitted 6 months ago* (last edited 6 months ago) by wolf@lemmy.zip to c/asklemmy@lemmy.world
 

Can anyone recommend me books about the modern elite/modern nepotism and how it works?

I have experienced/observed modern nepotism several times in my life, to give you some examples:

  • person founds a so called start up with money from person relatives, which boils down to paying other people to do all the work w/o anything resembling a business plan in the first place. Start up is a total failure, person gets job as a specialist for building startups via divine intervention.
  • at several companies there is a level which people who do the work can reach, and above that level people from higher class get positions seemingly out of nowhere (unless they were childhood/study buddies of someone higher up) w/o any qualification/knowledge/experience to do this kind of work
  • from a certain level on (at least in IT where we have more than enough money for it) everything is politics; when discussing technical problems/solutions at that level, the first question is always who is the sponsor behind the initiative and if this comes from the wrong party, the technical merits are of no interest at all
  • a lot of positions even lower level in IT usually are distributed via nepotism/connections, I observed especially SCRUM masters and product owners are chosen for their family names/connections. (Two negative highlights: Product owner was literally boyfriend of company owner and another product owner was son of parent to which company wanted to sell their shit)
  • lower on the list but still annoying and experienced several times: Son of friend of boss/manager/team lead gets internship in company although better candidates are there and often the nepotism sons would never have gotten an internship on their own merits, but end up with fancy internship from known company on their CV.

I understand that when you deal with a group of people politics are always relevant and inherent to groups.

My question is literately, how does this all work and why is this so extremely widespread?

Anyone can recommend some books about this social systems which give some insights?

Further, when I see what is mounted on money/time/energy because of this nepotism or the current favorite ideas of the elite, how comes no companies (that I know of) interrupt the market with a company slightly less dysfunctional.

Are there historical examples how elites/nepotism was overthrown w/o a bloody revolution?

 

I posted about ZRAM before, but because of my totally unscientific experiment, personal experience and the common question, which Linux to run on potatoes...

First, I tweaked ZRAM for my use-case(s) on my hardware, this settings might not be right for your use-cases or your hardware!

My hardware is a netbook with an Intel Celeron N4120 and 4G RAM (3.64G usable).

When I recently played around with ZRAM settings, it felt like the zstd algorithm made my netbook noticeable more sluggish. It never felt sluggish with lzo-rle or lz4.

In a totally unscientific way, I rebooted the computer several times (after a complete update of everything), executed my backup script several times, and measured the last 3 executions. (Didn't touch the netbook during the runs.) The bottleneck of the backup script should not be ZRAM, but it is some reproducible workload that I could execute and measure.

To my surprise, I could measure a performance difference for my backup scripts, lz4 was consistent fastest in real and sys time w/o tweaks to vm.page-cluster!

Changing the vm.page-cluster to 0 further enhanced the speed for lz4, but with this one toggle, all of a sudden zstd is as fast as lz4 in my benchmark and runs with a more consistent runtime.

Changing the vm.swapiness to 180 decreased the speed for lz4, to my surprise.

Obviously the benchmarks are not 100% clean, although the trend for my workload was clearly in favor of lz4/zstd.

To the best of my knowledge, I ended up with nearly the same tweaks that Google makes for ChromeOS:

  • zstd as algorithm (I think ChromeOS uses lzo-rle)

  • 2*ram as ram-size

  • vm.page-cluster = 0

  • Install/enable systemd-oomd

vm.page-cluster = 0 seems like a no-brainer when using ZRAM, on my netbook it is literally the switch for 'fast' mode.

In summary: ZRAM makes my netbook totally usable for everyday tasks, and with tweaking the above settings I run Gnome 3, VS Code and Firefox/Evolution w/o trouble. (Of course, Xfce4 on the same machine is still noticeable more performant.)

I wonder if we should recommend to people asking for a lightweight distribution for potatoes to check/tweak their ZRAM settings by default.

Anyway, I would be interested in experiences from other people:

  1. Any other tweaks on my ZRAM or sysctl for potatoes which made a measurable difference for you?
  2. Any other tips to improve quality of life on potatoe machines? (Besides switching to KDE, LXDE, Xfce, etc. ;-))
  3. Any idea why vm.swapiness didn't improve my measurements? To my understanding it should basically have cached more of my files in ZRAM, making the backup run faster. It even slowed the backup down, which I don't understand.

Edit:

  • zstd beats lz4 on my machine for my benchmark when vm.page-cluster=0!
239
submitted 7 months ago* (last edited 7 months ago) by wolf@lemmy.zip to c/linux@lemmy.ml
 

... I mean, WTF. Mozilla, you had one job ...

Edit:

Just to add a few remarks from the discussions below:

  1. As long as Firefox is sponsored by 'we are not a monopoly' Google, they can provide good things for users. Once advertisement becomes a real revenue stream for Mozilla, the Enshittification will start.
  2. For me it is crossing the line when your browser is spying on you and if 'we' accept it, Mozilla will walk down this path.
  3. This will only be an additional data point for companies spying on you, it will replace none of the existing methodologies. Learn about fingerprinting for example
  4. Mozilla needs to make money/find a business model, agreed. Selling you out to advertisement companies cannot be it.
  5. This is a very transparent attempt of Mozilla to be the man in the middle selling ads, despite the story they tell. At that point I can just use Chrome, Edge or Safari, at least Google has expertise and the money to protect my data and sadly Chrome is the most compatible browser (no fault of Mozilla/Firefox of course).
  6. Mozilla massively acts against the interests of their little remaining user base, which is another dumb move made by a leadership team earning millions while kicking out developers and makes me wonder what will be next.
41
How I manage my KDE email (pointieststick.com)
 

Interesting workflow.

Of course the fact that Nate uses Thunderbird instead of KMail explains a lot. One day I hope KMail/Akonadi get the attention/work they need to become viable options.

33
How I manage my KDE email (pointieststick.com)
 

Interesting workflow.

Of course the fact that Nate uses Thunderbird instead of KMail explains a lot. One day I hope KMail/Akonadi get the attention/work they need to become viable options.

 

Interesting times ahead! I am really looking forward to the Leap Micro release and hope it advances the state of the art. :-)

view more: next ›