sesam.hu

Engineering Manager | Trail Runner | Stockholm, Sweden

「なう」ってどういう意味?

On Japanese Twitter I saw a lot of tweets ending with「なう」— a grammar structure I wasn't familiar with. Only it looked a lot like 'now' in Hiragana. But it couldn't be that easy, could it…

Turns out that yes, that's exactly what it is: a compact way to indicate something happening presently. It can be used with a noun or a verb, like 'coffee now'「コーヒーなう」or 'eating ramen' 「ラーメン食ってるなう」. It's not proper Japanese though, of course.

If you speak the language, here's a thorough explanation: twitterの「なう」の意味と使い方.

No Connected Camera Error in Mountain Lion

Quite annoyingly after the computer goes to sleep and wakes up again, some applications have trouble recognising the built-in camera. Up until now I resorted to rebooting the Air, which is not that a big deal when you have an SSD, but still I wished I didn't have to. Turns out there is an easier solution: an application called VDCAssistant is reserving the camera in these cases, which is safe to be killed either from the Activity Monitor or by issuing:

sudo killall VDCAssistant

27th Nike Budapest Half-marathon

Tomorrow, the start/finish will be broadcast by Ustream. Look for us in the We.Are.Running T-shirts!

Coexist

New album by The xx, stream here and check out the neat share map:

Installing FFmpeg on OS X Mountain Lion

From time to time I need to do simple jobs with videos, such as a container change. I used to use mencoder for that back on linux and I still think that the versatility of a command line tool is unparalleled by any GUI solution. So I set out to get FFmpeg on my Mac.

There is a static build available from the FFmpeg website, but I decided to take a somewhat more complicated approach and compile it from source myself.

To do so, one first needs Xcode, available from the Mac App Store. The current versions, however, do not contain the command line tools needed. A separate package called Command Line Tools needs to be installed from either navigating to the Downloads for Apple Developers site from Xcode by Xcode > Open Developer Tool > More Developer Tools... or using the built-in package manager at Xcode > Preferences... on the Downloads tab.

Two packages need to be installed separately first: LAME for mp3 encoding (compulsory) and FAAC for AAC (optional). The tar.gz files can be unpacked by, for example:

tar -xzvf faac-1.28.tar

Then enter their respective directories and issue:

./configure
make
sudo make install

Finally, check out the latest source code of FFmpeg:

git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg

Compile it with LAME and FAAC enabled (the latter only if it's installed). The --enable-nonfree switch is required by FAAC and I got an error unless I disabled Yasm.

./configure --enable-libmp3lame --enable-shared --enable-libfaac --enable-nonfree --disable-yasm
make
sudo make install

That's all, FFmpeg is ready to use:

Daenerys:Downloads sesam$ ffmpeg
ffmpeg version N-44141-g9de7622 Copyright (c) 2000-2012 the FFmpeg developers
  built on Sep  4 2012 16:10:11 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
  configuration: --enable-libmp3lame --enable-shared --enable-libfaac --enable-nonfree --disable-yasm
  libavutil      51. 70.100 / 51. 70.100
  libavcodec     54. 55.100 / 54. 55.100
  libavformat    54. 25.104 / 54. 25.104
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 15.103 /  3. 15.103
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'

Ozora

This year's Ozora Festival photographed by my colleague, Zsutti:

2012 Main stage first look

Opening Ceremony 1

Totality!

Mountain Lion and the freezes

Not that I expected otherwise, but Mountain Lion did naught in fixing the iMac graphic driver freezes that Apple claimed are the result of hardware issues. If anything, the crashes are more frequent, albeit it can just be caused by the fact that it's Summer and with no A/C it's 30°C+ inside.

The freezes are often somewhat more graceful now with a kernel panic message and an automatic restart. After such an event a report is generated and sent to Apple. Not that I have illusions of them taking it seriously.

Interval Since Last Panic Report: 170834 sec
Panics Since Last Report: 3
Anonymous UUID:

Sun Aug 26 15:02:46 2012
panic(cpu 0 caller 0xffffff8014ab7b95): Kernel trap at 0xffffff7f962e6821, type 13=general protection, registers:
CR0: 0x000000008001003b, CR2: 0x0000000106861000, CR3: 0x0000000020979000, CR4: 0x0000000000000660
RAX: 0xdeadbeefdeadbeef, RBX: 0xffffff8023edb0b8, RCX: 0xffffff802421a228, RDX: 0xffffff802421a368
RSP: 0xffffff808de93a20, RBP: 0xffffff808de93a40, RSI: 0x00000000deadbeef, RDI: 0xffffff8020ffcf00
R8: 0xffffff80150bec60, R9: 0x00007fff5527b2d0, R10: 0x000000000000002c, R11: 0x0000000000000206
R12: 0xffffff807f4ed000, R13: 0x00000000000002aa, R14: 0xffffff8020ffcf00, R15: 0x00000000051ca000
RFL: 0x0000000000010282, RIP: 0xffffff7f962e6821, CS: 0x0000000000000008, SS: 0x0000000000000000
Fault CR2: 0x0000000106861000, Error code: 0x0000000000000000, Fault CPU: 0x0

Backtrace (CPU 0), Frame : Return Address
0xffffff808de936c0 : 0xffffff8014a1d5f6
0xffffff808de93730 : 0xffffff8014ab7b95
0xffffff808de93900 : 0xffffff8014ace4ad
0xffffff808de93920 : 0xffffff7f962e6821
0xffffff808de93a40 : 0xffffff7f96331571
0xffffff808de93a80 : 0xffffff7f962eb2fd
0xffffff808de93aa0 : 0xffffff7f962e4235
0xffffff808de93af0 : 0xffffff7f962e2dba
0xffffff808de93b10 : 0xffffff7f962e4e30
0xffffff808de93b40 : 0xffffff8014e63e8b
0xffffff808de93bc0 : 0xffffff8014e65eb3
0xffffff808de93c20 : 0xffffff8014e638ef
0xffffff808de93d70 : 0xffffff8014a981a1
0xffffff808de93e80 : 0xffffff8014a20abd
0xffffff808de93eb0 : 0xffffff8014a10448
0xffffff808de93f00 : 0xffffff8014a195fb
0xffffff808de93f70 : 0xffffff8014aa5ad6
0xffffff808de93fb0 : 0xffffff8014aced13
Kernel Extensions in backtrace:
com.apple.ATIRadeonX2000(8.0)[F2643601-396F-313A-8D94-5A36091345D0]@0xffffff7f962c7000->0xffffff7f96592fff
dependency: com.apple.iokit.IOPCIFamily(2.7)[8C9E06A4-13D0-33F5-A377-9E36F0ECC229]@0xffffff7f9508a000
dependency: com.apple.iokit.IONDRVSupport(2.3.4)[E37F420A-B5CD-38ED-9441-5247583B6ACE]@0xffffff7f955d1000
dependency: com.apple.iokit.IOGraphicsFamily(2.3.4)[5D671681-D21B-3CCA-9810-B15E648C1B27]@0xffffff7f9558e000

BSD process name corresponding to current thread: WindowServer

Disclosure

My very favourite band, The Gathering's 10th studio album will be available on 12 September. For 24 hours, however, on this day the whole album is free to stream and listen to on Bandcamp:

Devinsupertramp

So, what have you been doing this weekend?

Broadcast For Friends

It was quite the ride, but this is something I've been a part of from the very start. It's insane to realise that something I worked on ended up to get a press release in San Francisco and then articles in TechCrunch, The VergeVenture Beat or The Next Web.

TNW tested the app, finding it to be quick, and free from errors and lag.

From a QA POV, that's quite the compliment.