krzysiek-goj.blogspot.com
Less sleep, more science!: Programming language idea
http://krzysiek-goj.blogspot.com/2008/11/programming-language-idea.html
Less sleep, more science! Saturday, 15 November 2008. Well, it's an idea about programming language without a programming language. Think about writing a script that generates assembly. It's doable. Sometimes it's even *almost* sane thing to do, eg. when working on spellchecker I've had a crazy idea about generating code that does dictionary lookup for a hardcoded word set (It's no rocket science, just compare, jump, compare, jump.). But it's so low level and not cross-platform. You would be able to crea...
krzysiek-goj.blogspot.com
Less sleep, more science!: 64-bit Linux + Eclipse Galileo crash - fix
http://krzysiek-goj.blogspot.com/2009/11/64-bit-linux-eclipse-galileo-crash-fix.html
Less sleep, more science! Wednesday, 11 November 2009. 64-bit Linux Eclipse Galileo crash - fix. I had this problem some time ago, and today I've seen someone else on #eclipse IRC channel to have it. If you are running 64-bit Linux (esp. Gentoo) and Eclipse Galileo and your eclipse keeps crashing with XPCOM error -2147467262. Then fear no more. this is what you should do:. Turn off all Eclipse instances. Dorgeclipse.swt.browser.XULRunnerPath=/usr/lib64/xulrunner-1.9.1/libxpcom.so. 16 March 2010 at 13:02.
krzysiek-goj.blogspot.com
Less sleep, more science!: Introducing Zmrok
http://krzysiek-goj.blogspot.com/2009/03/introducing-zmrok.html
Less sleep, more science! Friday, 27 March 2009. It was neither sleep, nor science. It was pure art. Ladies and Gentleman, I present you the Zmrok colour scheme:. Well, I like it ;-). It's easily portable to other editors. Source can be viewed and downloaded at my mercurial repo. Zmrok is Polish for twilight, check out TextMate's (or pastie.org's) twilight colour scheme if you still wonder why it's named this way ;). 28 March 2009 at 22:27. Subscribe to: Post Comments (Atom).
krzysiek-goj.blogspot.com
Less sleep, more science!: March 2008
http://krzysiek-goj.blogspot.com/2008_03_01_archive.html
Less sleep, more science! Saturday, 1 March 2008. Small, pythonic lisp. It's 256 LOC toy lisp. Nothing super-fancy. If you don't count unit tests and Guido's mm.py. It's even 128 LOC. It's quite pythonic. When you write. In LISP it's just a big. It translates directly to if/elif/elif/. which doesn't look good. I used dict of functions instead, which looks better in my eyes. Uses as many Python features as possible. Python functions, python lists. etc. Talking about Python and lisp lists:.
krzysiek-goj.blogspot.com
Less sleep, more science!: zsh tips
http://krzysiek-goj.blogspot.com/2011/03/zsh-tips.html
Less sleep, more science! Saturday, 12 March 2011. One of the nice little things about Git is that if the output of a command is long, then it is displayed in less. If output of a command is short, it is just displayed (there is no interactive Git involved). One can make Mercurial suck less by emulating this behavoiur with Pager extension. Would be it nice to have this automatic less for everything, not just hg and git? Add this one line to your .zshrc:. AL() { $* 2 &1 less -FSRX }.
krzysiek-goj.blogspot.com
Less sleep, more science!: May 2009
http://krzysiek-goj.blogspot.com/2009_05_01_archive.html
Less sleep, more science! Wednesday, 20 May 2009. Controlling roommate's music with ssh and dcop. This is rather old one, but I didn't publish it here before. Both my roommates use Amarok as their music player. I'm OK with music they listen to for 90% of time, but their big, fat playlists hide some real monsters. And they both have a bad habit of leaving the room with Amaroks playing in shuffle mode. This is why I created two little scripts to pause/change the song without leaving the comfort of my chair.
krzysiek-goj.blogspot.com
Less sleep, more science!: February 2008
http://krzysiek-goj.blogspot.com/2008_02_01_archive.html
Less sleep, more science! Friday, 29 February 2008. Well, we all know phpBB is evil. Html code it generates makes you sick. It's a great example of spaghetti design antipattern. And it's written in PHP. Today (it's 29th February) many phpBB by Przemo. Forums have blown. It's because of lap year and their "whose birthday is it" function. Warning. Clicking link below may even make you vomit. I'm ugly, think again. Yes, they didn't use standard. Yes they did their own calculations (using. It's not that hard...
krzysiek-goj.blogspot.com
Less sleep, more science!: Controlling roommate's music with ssh and dcop
http://krzysiek-goj.blogspot.com/2009/05/controlling-roommates-music-with-ssh.html
Less sleep, more science! Wednesday, 20 May 2009. Controlling roommate's music with ssh and dcop. This is rather old one, but I didn't publish it here before. Both my roommates use Amarok as their music player. I'm OK with music they listen to for 90% of time, but their big, fat playlists hide some real monsters. And they both have a bad habit of leaving the room with Amaroks playing in shuffle mode. This is why I created two little scripts to pause/change the song without leaving the comfort of my chair.
krzysiek-goj.blogspot.com
Less sleep, more science!: April 2008
http://krzysiek-goj.blogspot.com/2008_04_01_archive.html
Less sleep, more science! Sunday, 20 April 2008. Bash fun vol. 2. Forget previous post. Bash has functions:. Goj@abulafia $ tail /.bashrc. For x in $*; do $cmd $x; done. Much better now. :). Monday, 14 April 2008. Quote by Terrence Parr:. My Motto: "Why program by hand in five days what you can spend five years of your life automating? We do a lot of actions that make a directory interesting for us and then we want to cd intro that directory. Consider:. Hg init my repo; cd my repo. Mkdir -p a/b/c/d; cd!
krzysiek-goj.blogspot.com
Less sleep, more science!: March 2011
http://krzysiek-goj.blogspot.com/2011_03_01_archive.html
Less sleep, more science! Saturday, 12 March 2011. One of the nice little things about Git is that if the output of a command is long, then it is displayed in less. If output of a command is short, it is just displayed (there is no interactive Git involved). One can make Mercurial suck less by emulating this behavoiur with Pager extension. Would be it nice to have this automatic less for everything, not just hg and git? Add this one line to your .zshrc:. AL() { $* 2 &1 less -FSRX }.