25.XI.2015, deetah (ID: e507117)
I recently decided to buy an SSD drive in order to use it as a cache for the rest of my storage. My reasoning was that I don't want to just put my OS on the drive, because: 1) most of my OS doesn't require a speedup (rarely used programs, documentation, etc) and 2) I work on a lot of non-OS data that I would also like to see sped up. Given the volume I was interested in and the amount of money I was willing to spend, I decided that just adding more RAM is not an option and bought Samsung SSD 850 EVO. I backed up all of my data (which on its own took two days because I needed to move some things around) and read up on my caching options.
At first I was interested in dm-cache or bcache, but then got tempted by LVM's caching features. I didn't know much about LVM at that point, so I figured it's about time to learn a bit. I read lvmcache(7) and quickly realized that I'll need to revise my current setup. First of all, I obviously needed to migrate to LVM, which basically meant creating my partition table from scratch. Moreover, I had two separate partitions for two separate disks (pretty much OS and data) and lvmcache could only create cache pools for single logical volumes. I decided that since I was planning to use writeback cache, my setup is not going to be secure anyway, so I can as well combine those two disks into a single LV and just make sure I back them up more often. I installed Fedora 23 with LVM that had no caching yet, backed it up for future reference and decided to play.
23.XI.2015, deetah (ID: e507111)
Widząc, jak wszystkie proponowane na jogger.pl szablony pochodzą sprzed 2010 stwierdziłem, że wypadałoby stworzyć coś bardziej nowoczesnego. Frontendowiec ze mnie żaden, ale miałem już okazję wystarczająco się pobawić z Bootstrapem, żeby przekonać się że jest dość prosty w obsłudze.
Stworzyłem więc projekt na Githubie i testowego bloga i w wolnych chwilach sobie go dziubię. Będę wdzięczny za pull requesty - dzięki hackowi ze stworzeniem katalogu "&HOME;" możliwe jest podejrzenie części strony na Github Pages. Przydałby się tylko Joggerowy tag, który oznaczałby "nie wyświetlaj" i mógłbym łatwo sprawić, że strona na GH pages też wyglądałaby znośnie...
Jeśli uda się dociągnąć projekt do końca, chętnie użyję rezultatu na tym blogu. Z góry dzięki!
( 6 komentarzy )
21.XI.2015, deetah (ID: e507099)
David Fifield, a genius hacker known from his tremendous contribution - among other things - to Nmap and Tor projects taught me once that apart from pure programming skills, it is worth learning software engineering. Those weren't always easy lessons - while programming for Nmap quite a few of my patches were rejected because they didn't conform to (sometimes quite weird) standards of the project. Despite that, I always admired the coherence behind it and I sometimes miss it in other projects.
I just migrated from Fedora 21 to Fedora 23 and in the process I was forced to update KDE. What I saw put me in a bad mood. Remembering what a gigantic catastrophe the first release of KDE4 was, I was hoping that the project's team drew some conclusions. Unfortunately:
- All of the settings I had were ignored and KDE5 loaded the default ones,
- While trying to set everything again from scratch I had to quite a lot of Googling. It hit me how terribly grouped the window appearance and functionality options were in "system settings",
- While I was creating my panel from scratch I found that my time zone apparently changed and "quick launch" widget doesn't exist in this project anymore. Additionally, GMPC stopped displaying its icon in system tray and I read somewhere that it's because KDE removed some API,
- As I was already used to the old appearance of KDE, the new version was simply ugly to me. Of course there was no way I could get back to the old one and the user-contributed alternatives were simply poor.
I could keep going on and on, but fortunately I found a KDE4 Fedora repository and after installing it I managed to buy some time until I prepare a more convenient and stable environment for me. In my opinion that means that KDE team isn't trustworthy in terms of software engineering anymore. Given that I have to take my time setting up everything from scratch again, I'm going to use that as a chance to migrate to another project.
( Dodaj komentarz )
21.XI.2015, deetah (ID: e507096)
David Fifield, genialny haker znany z olbrzymiego wkładu między innymi w projekty Nmap i Tor nauczył mnie kiedyś, że poza umiejętnościami czysto programistycznymi warto nauczyć się inżynierii oprogramowania. Nie zawsze były to łatwe lekcje - programując dla Nmapa niejedna z moich łatek została odrzucona, gdyż nie spełniała (nierzadko dość dziwnych) standardów projektu. Zawsze jednak podziwiałem tę spójność i w niektórych projektach mi jej brakuje.