Posted
5 days
ago
by
Brian
I meant to write about this a while ago, but I forgot, and it just popped into my head for some reason.
If you’re ever using POSIX signals as a means of primitive IPC, and SIGUSR1 and SIGUSR2 aren’t enough for you, never, ever
... [More]
, EVER make use of SIGRTMIN and/or SIGRTMIN plus some offset. Always use SIGRTMAX and SIGRTMAX minus some offset.
Why?
(Disclaimer: this might only be a problem on Linux, but if you want your app to be portable, blah blah blah…) Depending on what C library you’re using, and what pthreads implementation you’re using, the actual numerical value of SIGRTMIN may not be the same in different applications, depending on — get this — whether or not the app links with libpthread. In my case, the pthread impl makes use of the first 3 SIGRT slots, and so when you use the SIGRTMIN macro, you actually call __libc_current_sigrtmin(), and you get a number that’s 3 higher than what you get when you use SIGRTMIN in an app that doesn’t link against libpthread.
Fortunately, SIGRTMAX (which actually expands to a call to __libc_current_sigrtmax()) seems to be a bit more stable. That is, even if SIGRTMIN gets shifted up 3 slots, SIGRTMAX is still the same.
So, the moral of the story is: I never want to see the SIGRTMIN macro ever appear in your code, unless you really know what you’re doing. Instead, use things like SIGRTMAX, SIGRTMAX-4, etc. It may just save you 4 hours of debugging. [Less]
Posted
5 days
ago
by
Mark
Some of you may have recognized that xfce-4.6 alpha (aka pinkie) still isn't released.
I just decided to pack xfce directly from trunk.
It's available at xfce.rpath.org@xfce:devel.
there are some minor problems when updating to
... [More]
group-xfce=xfce.rpath.org@xfce:devel, so that you probably need to remove some packages not needed anymore.
It's not build automaticly from trunk (yet) and I still use the xfce goodies from fl:2.
using trunk for xfce-goodies would be a next step though.
Here are 2 screnshots:
This is xfce with thunar and a "rolled in" Terminal
But thunar hides the mouse, so I closed it [Less]
Posted
6 days
ago
To the left, my jumpmaster/instructor. To the right, my name on the board to jump. On the left, the perfectly good plane just as I jump, On the right, we see my parachute successfully deploys - bonus! On the left, I’m coming in for the landing. On the right, I’m just about to hit the ground. Apparently, [...]
Posted
8 days
ago
by
Jasper
Yesterday I caved in and bought myself one of those cute little laptop devices: an Acer Aspire One.
Note that the giant machine on the left is my previously considered smallish 14.1″ laptop from Dell.
It comes with a
... [More]
Taiwanese distribution, Linpus Linux, based on Fedora 8. More specifically, it comes with the ‘Lite’ variant of the distribution which features Xfce as its desktop environment. Well, actually, it is part modified Xfce, part Easy(tm) interface created by Acer for this device (they call it xfdesktop2, a bit strange if you ask me).
Wow. A commercial offering available from a store for regular people, with software that I helped create. Awesome. Maybe I should have asked for a discount ;-)
I’ve just started playing with it and I think they did a pretty good job. The interface is really easy, but can only access a few predefined applications. I have wanted to write such a full screen launcher/control center interface for a long time, but never got around to actually doing anything about it. It would be perfect for my parents, who have a very hard time working with their Windows XP.
They use a modified Thunar (My Disk://, Removable://, indication of disk usage in the side bar) that seems to work fairly well.
They don’t provide easy access to changing the configuration, since they disabled the right mouse menu on the panel. However Alt-F2 brings up xfrun as in a regular Xfce installation and Terminal is installed.
There’s xfce-setting-show to bring up our own settings dialog. It doesn’t fit on the screen (1024×600), but this is partly due to the very big icon they added for screen settings, making all buttons in the dialog much bigger than they need to be. I got rid of the XP window decorations and used the Xfce theme instead of RedHat’s Nodoko. Now that looks better!
xfce4-panel -a gives you the add item menu, where you can add for instance the xfdesktop menu. Also in edit mode some right-click menus do become available (not all). I’ve added a menu and a pager to get a bit more functionality.
Since it’s based on fedora you can use yum to install more software. I’ve just installed gimp to be able to create a decently sized picture for this post.
It has an 8GB SSD for storage and two card reader slots for possible extensions. The one thing where the SSD really shows its advantage is boot time. It boots in about 15 seconds, maybe a bit less (although some daemons are still being started in the background), very nice indeed.
Oh, and it weighs slightly less than 1 kg.
So, now I’ll go back to playing with this thing ;-) [Less]
Posted
9 days
ago
by
janimo
I have just made a new release of Kiwilinux, the 'Ro/Hu targeted but useful for international audiences, including New Zealand' derivative of Ubuntu. It is based on 8.04.1 and updated to the most recent packages in the Ubuntu, Medibuntu and Kiwi
... [More]
archives. As usual, very comprehensive multimedia support, working Speedtouch 330 ADSL modem, and for Romanian users for the first time a distro with OOo and Thunderbird translations, thanks to the people working on those in Narro .
Release notes
Download links [Less]