December 2011
4 posts
a fool with a tool
git bisect:
result: 5cca579441abb59ab142a28ce4a37d078f17102f was both good and bad :))
finally ...
after years of reading about getting rid of caps lock, i switched the layout in osx and on my ubuntu machine. both os’es provide a setting in the preferences (you don’t have to hassle around with XF86Config or xmodmap)
prefix notation
while driving something like 3 hours with the car I compared calling c-functions with calling functions in lisp/elisp/clojure. Should not be a big problem for the people when you look at this animation :) black
Grokking
Just finished Stranger in a strange land from Robert A. Heinlein (agains after reading it something like 15 years before). It’s a very good science fiction story about an human, that was accidentally raised by martians.
A very central role in the book plays something which is called “to grok”. Another important thing for martians is to never do something until you have...
October 2011
4 posts
what a nice function :)
http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/partial
as you can see i look a little bit into clojure, thanks to daniel who found the wonderful 4clojure website so … if you have some spare time
check out http://www.4clojure.com.
be sure to check out the solutions from some of the good guys one of the shortest solutions are from darren :)
TRUE
http://www.xkcd.com/963/
i thought my lion update was not satisfying … but compared to my last ubuntu update :)
wanted
http://society6.com/artist/JRSchmidt
beautiful
check out http://simurai.com/ especially the “letter heads”
September 2011
6 posts
brilliant
http://repl.it/
NICE
http://tryruby.org … i still wonder what happened with why …
The Lion is hungry ...
not that much any more … got an update from 2g to 3g on my old macbook … much better … far from snow but better.
should be the default for every ide
http://joconner.com/2011/09/source-code-encoding-utf8/
nice colors
https://kuler.adobe.com/#themeID/42374
nice eclipse plugin ...
if you happen to sort text in eclipse … check out:
http://www.stateofflow.com/projects/2/sortit
it does not happen that often .. but when this comes quite handy!
August 2011
5 posts
performance cpp, java, d - Update 2
Just added ldc2 to the mix. And finally I have an executable that is produced from a d-compiler which performs on par with my traditional coded c++-version. The mmap version is still faster in c++, will have a look at this.
See https://github.com/gizmomogwai/performance for an overview of the current state of affairs.
Androids ViewPager
Checked out ViewPager from the android compatibility package.
After homescreens and actionbars this is “googles” new ui-paradigm.
The small demo project is available at: github. It simply shows some of the builtin interpolators in the android-framwork.
It features three activities, that use the ViewPager. The first one is the simplest thing you can do, which is almost even shorter...
performance cpp, java, d - Update
Added memory mapped versions. As expected this is by far the best solution for every language.
Still c++<java<d (< means faster and better in this case)!!!
Please help me improve on the d solution!
performance cpp, java, d
Recently I wanted to improve on the performance of my protobuf binding for d. After a while I hit a wall … I could not get fast enough. So I decided to start with some basic microbenchmarking.
Please see: https://github.com/gizmomogwai/performance
and help me on improving the benchmarks!
kleine wortschöpfung
drast (als Abkürzung von drastisch).
July 2011
11 posts
must see!
http://nikevideo.nike.com/72451143001/72451143001_956300835001_Leave-a-Message-high-res.mp4
android market ui
just updated an old android application of mine.
this was the first time, that I “worked” with the new multiple apk stuff. not that I used the feature to its full capacity (my app still has only one apk for every target).
but the ui is strange: I added a new apk, but I could not add recent changes for this apk, or change the screenshots for this apk or something like this. seems...
cubic bezier
while searching for information about this very nice topic i stumbled upon this really georgous page.
it has very good explanations + almost all operations you can imagine on cubic bezier curves, and most eye catching: lots of interactive processing.js images for illustration. please share the word!
i really appreciate this site!
http://processingjs.nihongoresources.com/bezierinfo/
grab xcode 4.1
strange as it seems … its free again … and should support lions fullscreen-modes .. lets see how this works out!
android.opengl.Matrix again ...
while experimenting with interpolation of rotations i used Matrix.setRotateEulerM. After wondering why my output looked kind of strange, some debugging and looking into the source i found, that the method is broken. See also http://code.google.com/p/android/issues/detail?id=12964.
plus one yourself
http://www.google.com/webmasters/+1/button/
first time since i am in munich
chlor in the water!
http://www.sueddeutsche.de/muenchen/stadtwerke-muenchen-chlor-im-trinkwasser-1.1121249
2 tags
new version of dvm
http://dblog.aldacron.net/2011/07/18/d-version-manager-0-3-0/
4 tags
funny : ruby vs. java
putting something into stdout is much shorter in ruby
puts vs. System.out.println.
Even if you use live templates from eclipse (sysout) or idea (soutv).
Ok .. you could import static java.lang.System.out and then use out.println.
Rake ...
Don’t get me wrong. I like rake. And if its good enough for huge project like rails or using rails it should be good enough for me. And also it is a million times more fun to use than make.
But still there are some points I would like to improve:
1. api for accessing commandline arguments in the user defined rake tasks.
2. real parallel builds by using the task dependency tree (not...
June 2011
4 posts
pasties ...
just read from the pastie developer about old pasties: http://blog.pastie.org/2010/09/pastes-are-forever.html
some funny pasties to try:
http://pastie.org/1
http://pastie.org/100000
http://pastie.org/1000000
http://pastie.org/2000000
emacs configuration
I’m following http://planet.emacsen.org/ to get introduced to emacs features I am not aware of.
The tips are quite good. Usually I just take the snippets an put them in an …-activator.el file in my packages directory (which is scanned by emacs at startup time). Often the variables are also available via customize, which is more convinient … so be sure to check describe-variable...
rvm rocks ...
you simply have to use it …
- painless install of different ruby vms for linux/osx
- named set of gems
- .rvmrc to activate a configuration for a project
be sure to install ruby at least together with readline and openssl packages:
- rvm package install readline
- rvm package install openssl
- rvm install 1.9.2 —with-openssl-dir=$rvm_path/usr...
May 2011
3 posts
Addiction
Just finished with The Heroin Diaries: A Year in the Life of a Shattered Rock Star
Amazing read … sometimes I am wondering if I also have a hang for addiction. Mostly it
are addictions, that are considered ok with the society and more healthy (e.g. reading books long into the night (sometimes I kind of pass out), or forgetting everything when coding something interesting). But the...
switch off 1.3
added autostart because it annoyed me to reactivate the switchoff notification when my phone ran out of life
sounds good to me
already loving rvm … now there is dvm …
April 2011
1 post
Nexus One and broken powerbutton
Back in the game thanks to cyanogenmod:
- recovery-clockwork-3.0.0.5-passion.img
- update-cm-7.0.0-RC4-N1-signed.zip
- gapps-gb-20110307-signed.zip
- GMail.v2.3.4.1.apk
- Lock Screen Widget
February 2011
1 post
github is simply awesome
today i read about github pages at http://bit.ly/emO3uS. thanks github … this is really convenient!
October 2010
1 post
ssh rocks ...
one of my all time favorites and the first service to be installed on every machine …
e.g. tar cf - blub | ssh user@host “tar xf -“
May 2010
2 posts
emacs and configs ...
since my new start with emacs something like half a year ago i always create .*-activator.el files for new functions i add to my emacs configuration. e.g. i have a google-activator.el file for google searches, a tumblr-activator.el file for tumblr support and so on.
until now i did a load-library or require for each of these files …
now i added this to my .emacs-file:
(dolist (activator...
Favorite quotes ...
Just finishing “Growing object-oriented software, guided by tests” by Steve Freeman and Nat Pryce.
The book showed me lots of cool stuff. For me it showed, that you should always try to improve, even if you think everything is already fine (best example is the step from junit3 to junit4 with hamcrest ….).
My favorite quote (which itself is a quote in the book):
“We...
March 2010
2 posts
I screw you RAKE
Usually I am a really big fan of rake. I simple love the dependency driven way of building software (like make) combined with the power of ruby.
Recently I suffered kind of a data loss because of several points.
- I wrote a generic clean like this
task :clean do
Rake::Task.tasks.reverse_each do | t |
FileUtils.rm_rf(t.name) if File.exists?(t.name)
end
end
- I used the directory...
Static libraries and unreferenced data
Yesterday I had a problem with static libraries and unreferenced data.
The story started like this:
- i had a library i wanted to test.
- i had the tests to use for testing.
- i had a library that contained the testframework that was used for
the tests (complete with main-routines to be used for running the tests).
- i linked all those libraries together.
and no tests where run.
First i...
February 2010
6 posts
Releasing another version of the NetworkBrowser
I’m not sure if the people don’t like the NetworkBrowser because its a lame idea, a lame implementation or because I charge 1€ so I change the distribution model:
- The NetworkBrowser is now free.
- you can donate via the NetworkBrowserDonation application (easy reachable through the options menu).
- plugins can still be developed by everyone you wants to. I provide support for ftp...
Small update for the android network-browser
I just released a very small update to the android network browser.
News and Noteworthy:
- Adapter for ssh (compatible with the intents of connectbot)
- The bonjour progressdialog is now cancelable (with the back key)
funny documentation for haml
check out the haml-documentation and search for “Whitespace Removal”. This is kind of ascii arty :)
ubuntu + apple alu keyboard ... totally
Strange … you can select it in the preferences, but the german keymapping is … broken.
I know … dont use the german keyboard for programming, but i failed with dvorak and after playing some typing of the dead, im pretty used to the german keyboard. so … i want my key …
Some searching and some cursing and now i have this .Xmodmap:
clear mod1
clear mod5
add mod1 =...
g1 roms ...
After some instabilities with the cyanogen rom i now switch back to the original 1.6 rom from htc. adios pinchzoom, sdapp, wifiteether. I want a clean original rom for developing apk’s.
Here is my setup procedure:
simyo apn:
apn: internet.eplus.de
username: simyo
password: simyo
I will try to install as few applications as possible, to keep up a fast system.
Maps with buzz...
Network Browser
I just released NetworkBrowser into the android market. Its just a simple wifi bonjour browser, that integrates into the activitiy system of android.
To keep things simple I did not want to run it as service (I dont consider advertising own services as usecase right now), but instead it simply provides a way of browsing the local network or searching for a service controlled by intent from...