Translate

Archives

GNOME Foundation Quarterly Report – 2011/Q1

The GNOME Foundation Quarterly Report for the first quarter of 2011 is now available. Their new website which is based on WordPress was completed during this period. The next step is to make the new website translatable via a custom WordPress plugin that integrates with GNOME’s translation infrastructure. It will be interesting to see how they do this. Interestingly, the Beijing GNOME Users Group launched a GNOME store on Taobao which is an online Chinese shopping site. Evidently the store sells GNOME 3 T-shirts, banners, stickers, GNOME Balloons, GNOME 3 DVDs. All funds received will be used to benefit local

Dump GCC Preprocessor Defines

Here are three ways to dump the preprocessor defines in GCC. $ gcc -dM -E – < /dev/null $ gcc -E -dM -x c /dev/null $ touch foo.h; cpp -dM foo.h For gcc version 4.6.0 on 64-bit Fedora 15 these preprocessor defines are: #define __DBL_MIN_EXP__ (-1021) #define __UINT_LEAST16_MAX__ 65535 #define __FLT_MIN__ 1.17549435082228750797e-38F #define __UINT_LEAST8_TYPE__ unsigned char #define __INTMAX_C(c) c ## L #define __CHAR_BIT__ 8 #define __UINT8_MAX__ 255 #define __WINT_MAX__ 4294967295U #define __ORDER_LITTLE_ENDIAN__ 1234 #define __SIZE_MAX__ 18446744073709551615UL #define __WCHAR_MAX__ 2147483647 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1 #define __DBL_DENORM_MIN__ ((double)4.94065645841246544177e-324L) #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1 #define __FLT_EVAL_METHOD__ 0 #define __unix__ 1

Fedora 16 1000 System Accounts

Some changes are coming to user and group accounts in Fedora 16 (codename Verne.) According to the project owner, Miloslav Trmač of Red Hat, the UID/GID space allocation in Fedora (and I assume also in Red Hat, CentOS, and other derivatives) is not clearly defined, and is hard-coded in various applications. The intent of this feature is to allocate 1000 ID values for system accounts. Quite a few applications have hard-coded the 500 value as a boundary; instead of replacing this with a hard-coded value of 1000, such applications will be modified to read the boundary from /etc/login.defs. According to

Disable Device Automounting using Udisks

Udisks and udev are related. Normally, as you can see from the above examples, when a new USB stick or DVD inserted, it is automatically mounted and the file manager is displayed. Suppose, instead, that you want that USB stick or DVD to be ignored and not mounted. How would you configure your system to do this? While researching how to disable the automatic mounting of devices for a Linux kiosk project I was working on, I spent a number of hours on the Internet reading purported solutions to the problem. The majority of the solutions (probably 99%) simply did

Low Contract Rates in Florida

Florida is an interesting place to live in many ways. One of the things that I have noticed since moving down here is the opportunist behavior of some employers in regards to employee compensation. If they can push down wages and benefits they will. For example, I noticed this contract opportunity today: System Administrator Responsible for systems and systems software administration of elements of the LC System. Individual is responsible for product systems developed for the LCS and used in the development of supporting non-LCS systems. This position requires the use of UNIX, Linux and Windows based operating systems and