Category Archives: Uncategorized

Reduce size of LV and PV in GNU/Linux LVM

  We want this 32G PV to be smaller # pvs –segments PV VG Fmt Attr PSize PFree Start SSize /dev/sda1 lubuntu-vg lvm2 a– <32.00g 1.04g 0 7680 /dev/sda1 lubuntu-vg lvm2 a– <32.00g 1.04g 7680 244 /dev/sda1 lubuntu-vg lvm2 a– … Continue reading

Posted in Uncategorized | Leave a comment

Parallelization – is it faster?

I have earlier written about parallelizing I/O. It is not that surprising that you can overload your disk with parallel requests and get worse I/O than serial access. What may be more surprising is that parallelizing CPU intensive tasks may … Continue reading

Posted in Uncategorized | Leave a comment

Excuses for not installing GNU Parallel

Over the time I have seen people, who could benefit from using GNU Parallel, give excuses why they should not use GNU Parallel. I believe most of the reasons are based in a lack of due diligence: To avoid doing … Continue reading

Posted in Uncategorized | Leave a comment

Luk pengekassen for tilflyttere til socialt belastede områder

Kan vi lave bedre integration for de samme midler? Vi kunne prøve at lukke pengekassen, hvis man flytter til socialt belastede områder. Danmarks Statistik laver hvert år en undersøgelse af indvandrere. Gang på gang viser tallene, at når man korrigerer … Continue reading

Posted in Uncategorized | Leave a comment

Tidsbestemt elpris

Hvorfor er forhøjet elpris kl 18 en grøn ide? Eet ord: kogepuklen Danskerne forbruger ikke el jævnt hen over døgnet. Lige omkring kl. 18 topper danskernes daglige elforbrug. Denne top kalder man populært for kogepuklen, da den bl.a. skyldes madlavning. … Continue reading

Posted in Uncategorized | Leave a comment

Testforberedelse

45 stk 20 min 3×3 Aldrig diagonal 6 muligheder Start i midten. Understreg kandidater, så de kan vælges ved 1 min mark.

Posted in Uncategorized | Leave a comment

Grønstsagsblandingstest

Vores bønneblanding: 8 Vores orientalsk inspireret wokblanding: 7 (med kokosmælk) Vores ratatouille med krydderier: 7 (med ketchup) Vinterblanding med rug: 7 Vores indisk inspirede grøntsagsblanding: 4 Vores romanescoblanding: 2 Vores grøntsagsblanding: 3

Posted in Uncategorized | Leave a comment

Python with braces

I have tried using Python for more serious work, but has been thrown off by its forced whitespace indentation. In Emacs I want to press TAB and get to the correct indentation level – no matter the code, so I … Continue reading

Posted in Uncategorized | Leave a comment

ssh-agent in new terminal window

You are smart. You use ssh-agent. But when you start a new terminal, you have to start ssh-agent again. That is annoying. If you put this in your .bashrc then you only need to enter your pass phrase once: alias sshr=’export SSH_AUTH_SOCK=`cat ~/.ssh/SSH_AUTH_SOCK`;export … Continue reading

Posted in Uncategorized | 1 Comment

Why you should fix odd bugs

As a maintainer of GNU Parallel I often get bugs reports from people using my software in ways I had never imagined. The simple reply to that could be: Do not do that. My tool was never intended to do that. … Continue reading

Posted in Uncategorized | Leave a comment