2010
02.07
SELinux seems to be one of the technologies available with great potential but with little or no user-acceptance. I have often ended up disabling the security features due to limited time reading up on, and then configuring the it to fit my needs. However I thought I should give the policies delivered with CentOS a go.
To get started with the targeted policies have a look at the selinux and httpd_selinux manual pages:
$ man selinux
$ man httpd_selinux
Those two manual pages should give enough information to get started.
Something I find myself wanting to do is enabling CGI script to execute and then granting those scripts access to files. To run /path/to/file.cgi as a CGI script reading data from /path/to/read/directory and writing to /path/to/write/directory execute:
# chcon -t httpd_sys_script_exec_t /path/to/file.cgi
# chcon -t httpd_sys_script_ro_t -R /path/to/read/directory/
# chcon -t httpd_sys_script_rw_t -R /path/to/write/directory/
For debugging purposes SELinux for Apache can be disabled by:
# setsebool -P httpd_disable_trans 0
# service httpd restart
To list out what contexts files have use the -Z for ls:
$ ls -Z
For some more information on the subject check out:
2010
01.30
Moving towards Java land I recently took a SCJP certification and got reminded about how hard it is to measure knowledge and skill. Second up is, even if it would be possible to measure it in a good fashion what would you do with the score? Consider a person with both tons of knowledge and skill, but without sense for quality or ambition to do a good job. What would such values give you then?
Not providing any solution here, but it seems as if it is harder to give people a sense of quality and motivation to do a good job compared to improving their skills…
2010
01.08
Today I did some updates on the Gal Gtk+ interface making use of some new shared code between the different player implementations. Showing the three level version of the interface (which is how the curses interface is laid out) in #pekwm (irc.freenode.org) it was suggested that it’s “better” to have previous two-level view.
Conclusion, as always, user interface design is tricky and for some things an extra configuration option is worth it!


2010
01.02
I’ve finally gotten around getting myself a tattoo, was this years x-mas gift to myself. It’s a PI (3.1415) in the back of my neck. Check it out:

2009
12.29
Not all that much going on in the pekwm world these days, there’s been some cleaning and bug fixes but I have still not done any work on 0.2.0. :-/ Anyway, I stumbled across a nice blog post on living with pekwm, check it out!
2009
11.05
After more than 4 years working for FreeCode I’ve decided to move on looking for new challenges. I’m beginning at Bouvet where I’ll be focusing more on development and less system administration (if everything goes as planned).
While at it, I also have a great ambition of not working all that much giving myself time to do more development during my spare time, let us see how that goes. Right now phew-0.1.0 and ganeti-manager-0.1.0 is just around the corner so it’s not going all that bad. ;)
2009
09.04
1 x Drop The Lime / Black Ham - Ruff 01 (12")
1 x Rotator - Curses on your Ghettoblasters (12")
1 x Venetian Snares - Salt (12")
1 x Shitmat / Ladyscraper - Grungecore Vol. 1 (12")
1 x Broken Note - Let 'Em Hang / Meltdown (12")
1 x Broken Note / Starkey - War In The Making / No Struggle (12")
1 x Broken Note - Crux / Zealot (12")
2009
08.24
Was out on Saturday, Oslo Break Fest at The Villa, was awesome! I had to order some music afterwards:
1 x BROKEN NOTE: Dubversion (Ruff)
12": (RUFF 006) - [4.34]
1 x ANTISERUM/RIPPLE: Dungeon Waltz (Mode Recordings)
12": (MODE 006) - [4.24]
1 x ALIEN PIMP/ALCHEMYST/TAZ BUCKFASTER: Worldwide Babylon Vol 1 Sampler 2
(Dubkraft Romania)
12": (DK 002WAX) - [5.21]
1 x TC: Where's My Money (Caspa remix) (D Style)
12": (DSR 015) - [5.21]
1 x MUNGO'S HI FI: Babylon (Scrub A Dub)
12": (SCRUB 001) - [5.21]
1 x ROOMMATE/ALIEN PIMP/ULTRABLACK: Strickly Reggae (Grinch)
12": (GRINCH 002PWAX) - [5.21]
1 x AUDIO/FUTURE SIGNAL: Furyen (Subtitles Music)
12": (SUBTITLES 072) - [4.78]
1 x BCEE/CINEMATIC: Glitter Balls (Future Retro)
12": (RETRO 009) - [5.21]
1 x CABBIE/PAPA G/WARNING: Beer & Pussy (Function)
12": (CHANEL 9630) - [5.21]
1 x CTRL Z/SCREWFACE present STEREO TYPE: Remix Sampler Part 2 Of 3 (Hardcore Beats)
12": (HB 042) - [5.21]
Looking forward to have these in my mailbox!
2009
07.14
Category:
Music /
Tags: no tag /
Just ordered:
1 x ROTATOR: Choose Your Poison Mine Is Hardcore (Peace Off France)
CD: (PEACEOFFCDMIX 03) - [5.21]
1 x SPOR: Supernova (Lifted)
double 12": (LFTD 002) - [8.50]
1 x VON SCHIRACH, Otto: Oozing Bass Spasms (Cock Rock Disco US)
CD: (CROCK 019) - [7.82]
1 x LIMEWAX: The Kristall Weizen EP (Technical Itch)
double 12": (TI 052) - [8.27]
1 x BROKEN NOTE: Fueling The Fire EP (Damage Spain)
12": (DAMAGE 12011) - [6.95]
1 x DJ PRODUCER, The/DEATHMACHINE: Failed Attempts At Bending Time & Space (Rebelscum)
12": (SCUM 025) - [4.34]
1 x GRIDLOK: Los Angeles (Renegade Hardware)
12": (HWARE 11) - [4.34]
1 x BRETZEL ZOO: Baywatch (EAT Concrete Holland)
12": (EAT 012) - [6.95]
1 x McCOOK, Tommy & THE SUPERSONICS: Pleasure Dub (Pressure Sounds)
CD: (PSCD 063) - [11.30]
2009
05.07
Found a “fun” page on incise.org named “not so tiny window managers” the other day about window manager sizes and got the inspiration to do a incomplete follow up.
The following “measurements” have been done on NetBSD 5.0 AMD64 (GCC 4.1.3) and SLOC has been measured with SLOCCount version 2.26. Binary sizes are sizes after stripping with –strip-unneeded.
| name |
version |
size |
SLOC |
language |
| fluxbox |
1.11 |
1443464b |
38177 |
C++ |
| metacity |
2.27.0 |
- |
56448 |
C |
| openbox |
3.4.7.2 |
309232b |
30651 |
C |
| pekwm |
0.1.11 (GIT) |
817120b |
23562 |
C++ |
The number of lines of code and binary size does not represent how fast, how many features or how much memory the window manager uses at runtime.