For the creative person that isn’t satisfied with the beauty of the C++ code itself, check out openFrameworks toolkit for artist and interaction designers (and everybody else to). This is by far the easiest way to create graphical projects in C++! Everything is taken care of, it takes to seconds to get started, and it supports all big platforms.
Love in a Lib!
Source: openframeworks.cc
C++11 Intro
Currently working a lot with C++ and thought it was time to update to C++11! Found this amazing article that goes through the basic changes in an easy way. The worlds best language just got better!
http://www.softwarequalityconnection.com/2011/06/the-biggest-changes-in-c11-and-why-you-should-care/
Source: softwarequalityconnection.com
Assembly OS X Hello World
Hello world in assembly explained in a good and easy way. Exciting stuff..
Mount a HFS+ Journal Enabled drive in Ubuntu
I had some problems with this, and didn’t find any good answers on teh internetz. But after some thinking/more googling I came up with a solution. But first, the problem:
If you want HFS+ support in ubuntu, install the following packages:
$ sudo apt-get install hfsplus hfsutils hfsprogs
I had a FAT32 external usb disk, that showed up on /dev/sdb1 on my ubuntu 10.10 server. Mounting went fine and all was dandy, but then I got the bright idea to reformat the drive to HFS+ to support my Mac. After the HFS+ reformat (on my Mac) and recopying of files, putting it back in to my ubuntu computer and trying to mount it gave me some strange errors:
$sudo mount -f hfsplus /dev/sdb1 /media/external
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail
And dmesg took me to a “unable to find HFS+ superblock” message, witch took me to this page:
http://ubuntuforums.org/archive/index.php/t-991328.html
The clue I found here was that HFS+ had two partions, and for everything to work again I had to mount the SECOND partion, not the first, in otherwords /dev/sdb2 instead of /dev/sdb1. Simple, stupid, but very frustrating if you didn’t know.
Mounting the second partion worked, but the drive was still in read only mode. That was fixed with a flag:
$ sudo mount -f hfsplus /dev/sdb2 /media/external -o forced
and a chmod and chown:
$ sudo chmod 777 -R /media/external
$ sudo chown gordito:gordito -R /media/external
Now everything works fine, and Journaling is NOT tured off! Good luck!
Beautiful Tintin animation that catches something from all 24 Tintin books.
RIP Steve!
Very cool house ad from Svensk Fastighetsförmedling, nice move!
http://www.svenskfast.se/Hemnet/Pages/ObjectView.aspx?objectid=3OK3LB3QRS6LJJ6U
Source: svenskfast.se
Putin is one busy prime minister. Where does he find time to work, I wonder?
http://www.theatlantic.com/infocus/2011/09/vladimir-putin-action-man/100147/
Source: The Atlantic
POCO C++ Lib <3
My love for this very well coded lib is unmatched for the moment!
For some Poco love in Ubuntu do this:
$ sudo apt-get install libpoco-dev
A good solution to an unsloved OS X problem!
http://itunes.apple.com/se/app/moom/id419330170?mt=12
Check out more good stuff at ManyTricks.com
Source: itunes.apple.com
Lion is pissing me off!
Seriously, it’s starting to get on my nerves now. In the start, Lion was fun and quick to use and the new mutitoutch gestures were speeding up my work flow. But now I’m not so sure any more…
- Programs constantly freezes and needs restarting. And finder crashes at least once a day, halting my work over Expandrives SSH-drives. All this reminds very much of how Windows worked.
- The new Mission control looked great at first, but it doesn’t show hidden or minimized windows witch made Apple keep Exposé as an alternative. Exposé now only works on one active program at the time. So now I’m stuck between using two half-assed solutions for multitasking instead of one great (read; Snow Lion Exposé). Apple, don’t try to fix what’s not broken! Implement the hidden/minimized windows into Mission Control and kill Exposé once and for all, I bet that was the reason for creation Mission Control anyway?
- Launchpad! I see you! I understand what you are trying to accomplish and I like it! I would even be ready to call it the smartest and best program launcher EVER in the history of computers! (I can elaborate this another time, but believe when I say it’s a revolution) But why no Delete-love for my old programs, only the new ones I downloaded from Mac AppStore? This makes me dependent of that old Applications-folder that I just wanted to forget forevah. How do I explain that to my unsavvy friends?
- Every time I update or redownload something from the Mac AppStore I’m charge $0.5 again. What’s up with that!? Give me my money back please!
Overall the stability and performance of Lion is bad, or a bag of hurt as Mr. Jobs would have put it. I do remember that so was the case with the Snow Leopard release, and it took more than six months for Apple to get everything in place so maybe it’s just a matter of time. The 10.7.1 update did not improve anything for me, maybe it helped others? So for now, Snow Leopard is still the worlds best OS, and Lion is the aspiring little brother.
But, some things are still great with Lion:
- Multitouch, and with a little help from the free(!) program BetterTouchTool it’s perfect! If you add a touchpad to your iMac or use it on a MacBook, it’s a glimpse of the future of computers!
- Spaces integration into Mission Control+multitouch switch. Saves me hours.
- Speed. When everything works as it’s supposed to, Lion is faster than Snow Leopard!
- iCloud, as a developer I’m already testing out much of the functionalities in iCloud, and I can only say that it’s what MobileMe should have been. And it’s free as well. Never loose anything again ever, or at least a big step in that direction!
- I have still not found a single program that doesn’t work as it’s supposed to in Lion. Except Firefox magic mouse-back function that is, and that can be fixed with BetterTouchTool in seconds anyway…