WordPress and the irrational desire to avoid using plugins

I have seen many times questions having these scheme: „I want this and that functionality on my WordPress site, I know there exists that plugin, but I don’t want to ‚clutter‘ my plugin directory with that and I want ‚just‘ to add this functionality directly to some php file of the template“.   I am strongly against this distorted way of thinking, because I believe in the utility of separating logically distinct things into distinct layers. If we ignore this, we are returning to the point where graphical layout of a HTML website was created directly by some HTML tags, mixing the content and the form randomly together. That was the reason why CSS was estabilished and why <em>emphasis</em> does not necessarily have to look always as italics, but also <em>bold italics</em> When text to speech system is used, it may not tell the emphasised phrase with the comment „written in italics“, but it may just speak it more loudly, for example.

Pokračování textu WordPress and the irrational desire to avoid using plugins

Backup Truecrypt bootloader in MBR using dd

Truecrypt system encryption of Windows partition uses first 512 b (sector 0 – MBR) for the bootloader, next 2048 b (sectors 1–5) should be used for decompressor SW and next 29 184 b (sectors 5–61) as the compressed Truecrypt boot loader. Considering the hard drive geometry to pretend having 63 sectors per track, the last sector of the first track (therefore sector no. 62) contains the system partition volume header. (Very important, because without it the partition cannot be mounted. For non-system encrypted partitions, the volume headers are backuped at the beginning and end of the partition.)

Pokračování textu Backup Truecrypt bootloader in MBR using dd

Advanced Format HDD s 4kiB-sektorovou vnitřní geometrií

Poslední přibližně dva roky se nové pevné disky, ale i SSD disky vyrábějí s vnitřní geometrií 4096bajtových (4 kiB) sektorů s emulací klasických 512bajtových sektorů pro BIOS, operační systém i aplikace z důvodů kompatibility (většina BIOSů ani operačních systémů na 4kB sektory není připravena). Snadno ale nastává problém s výkonem, pokud hranice clusterů (jednotek souborového systému) nedosedají přesně na hranice sektorů na fyzické vrstvě. Téměř zaručeně se to stane u Windows XP a starších a rovněž v případě, že takřka jakýkoli „partition manager“ včetně toho výchozího ve Windows s diskovými oddíly manipuloval.

Pokračování textu Advanced Format HDD s 4kiB-sektorovou vnitřní geometrií