Here in Australia the general population uses the British DD/MM/YY format for representing dates, eg. today is 07/06/15, and the en_AU.UTF-8 locale in FreeBSD 10.1 honours that:
lrwxr-xr-x 1 root wheel 22 17 Feb 2011 /usr/share/locale/en_AU.UTF-8/LC_TIME -> ../en_GB.UTF-8/LC_TIME
However I wanted programs to use the ISO 8601 YYYY-MM-DD date format (2015-06-07) instead. To do this […]
While cleaning out all the disused apps on my phone & tablet in the hope of speeding it up a little, I thought I’d make a list of Android apps that I use regularly.
Adobe Acrobat
Aus Map (Melway)
Battery Spy
BSPlayer
Calendar
Call Confirm
Camera
Chordbot
[…]
With recent versions of Clang built from SVN in Ubuntu 12.04 Precise, you’ll receive the following error when trying to run clang:
clang: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.18′ not found (required by /opt/clang-svn/bin/clang)
The solution is to symlink /opt/gcc-4.8.2/lib64/libstdc++.so.6 to /usr/lib/x86_64-linux-gnu/libstdc++.so.6:
sudo ln -sf /opt/gcc-4.8.2/lib64/libstdc++.so.6 /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Now clang will run properly:
$ /opt/clang-svn/bin/clang -v clang version 3.5.0 […]
It’s possible to build Clang from SVN in Ubuntu 12.04 LTS (Precise Pangolin), but you need to build GNU C++ 4.8 first, because the version that’s provided with Ubuntu 12.04 (GNU C++ 4.6) isn’t new enough to build it!
Firstly, install some build dependencies:
sudo apt-get install libmpfr-dev libgmp3-dev libmpc-dev flex bison
You might also […]
Clang is a compiler front end for the C, C++, Objective-C and Objective-C++ programming languages, and can often be used as a drop-in replacement for the GNU C & C++ compilers. Clang uses LLVM as its back end. It is possible to checkout the latest version of Clang from the LLVM SVN repository:
mkdir […]
On February 7, the SBS digital television channels in Melbourne (Mount Dandenong transmitter) moved from UHF 536.625 MHz to VHF 184.5 MHz. SBS now use the old analogue VHF channel 7 that was made available when all the analogue stations were finally switched off late last year. Currently the only station remaining on the UHF […]
Recently I’ve been evaluating Elementary OS, a Linux distribution based on Ubuntu Precise (12.04 LTS). Despite the Elementary desktop looking like they’ve cloned parts of the Apple OS X desktop a little too well I appreciate what they’re trying to achieve.
With Ubuntu itself, after about 10.10, their desktop environment started heading in […]
Using the SQLite Integration 1.4 plugin on a newly-installed WordPress 3.6.1 site, if I post a new article with the following text:
Between foo and bar.
The text of the post is deleted (eaten) after I click Publish.
It is saved as a Draft post, with a title but no text.
Other articles are […]
About four years ago when I ran Windows XP on my main desktop PC I used a small bit of software named Middle Mouse Button. It reassigns the middle button of a mouse to act as a left double-click (or right double-click if you use a left-handed mouse). On modern computer mice the middle […]
I’ve belatedly switched my blogging software from Pyblosxom to WordPress (with a SQLite backend). Pyblosxom is elegant in its simplicity but WordPress makes it much easier to add or update posts remotely, among other things. Prior to Pyblosxom I used the original Perl-based Blosxom.
I’ll be manually migrating old […]
ozzmosis
Blog search
Recent Comments
Archives
- June 2015
- April 2015
- June 2014
- February 2014
- October 2013
- September 2013
- August 2013
- February 2011
- April 2010
- March 2010
- March 2009
- December 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- March 2008
- February 2008
- January 2008
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- September 2006
- August 2006
- July 2006
- April 2006
- March 2006
- January 2006
- December 2005
- November 2005
- August 2005
- July 2005
- June 2005
- April 2005
- March 2005
- February 2005
- December 2004
- November 2004
- October 2004
- September 2004
- August 2004
Categories