Posts

Google Apps Script external version control almost here

Many have desired to collaborate in the development of Google Apps Scripts. Two outstanding issues had been open for some time in this area: Issue 1959: Collaborative editing of scripts Issue 217: Make Google Code the back-end version control for collaborative scripting A feature offered from June enables API access of script source code. This potentially enables connection to an external repository, like Google Code or GitHub. See the linked screencast and talk or the API below. YouTube: Apps Script Crash Course: Import/Export Apps Script Code Google Developers: Importing and Exporting Projects After breaking this barrier, I can now start gathering some of my more useful scripts to share via bkil-open, though I'll probably simply copy&paste for now.

Gmail guessing your keyboard and text

I haven't noticed the keyboard layout switcher yet. How come it automatically contains exactly the three layouts which are relevant for me? I've found out earlier that both Search and Translate can correct your input if it makes more sense in some other popular layout, like Russian. What else is there under their sleeves?

Nano chess engine at 19 lines

I've minified  bkil-open: edu/ai/nanochess.hs  to 19 effective lines of code in Haskell, and I'm running out of ideas. The goal was to construct a tiny snippet of code that illustrates a real chess engine instead of the ever boring 8-queens. It still wouldn't fit on a black board properly without further pruning. At the same time, trivial concurrency has been introduced to bkil-open: edu/ai/minichess.lhs , which seems to give it a linear boost. My next step in the area is to add interaction and eventually introduce a more advanced algorithm like alpha-beta to gain playable speed on a full board with complete rules.

DVB-T XMLTV EPG grabber complete

It runs on over the air broadcast, so you won't see any more grabber failures because of a website that decided to change their design (deliberately). bkil-open: tv/grab-dvb-epg.sh

New achievement: Ubuntu enablement successful

Actually it is not an option for Ivy Bridge, it is a must! In my opinion, a patch would have been in order to the LTS kernel. https://wiki.ubuntu.com/Kernel/LTSEnablementStack Some background: linuxquestions.org: [SOLVED] kernel 3.2.x causes system freeze on Intel Ivy Bridge platform(e.g. ThinkPad T430)? Launchpad: [IVB]12.04 64 bit System freezes (mouse, keyboard) ...

Disable text drag and drop in browser

I have never in my life got any use out of moving text by drag and dropping of selection inside a textbox. However, it has messed up my texts on numerous occasions, of which I might not have noticed it on every instance. Do you know which wise guy's idea it was to standardize on this? Stack Overflow: disable text drag and drop

Deleting your swap - the hard way

A default clean install usually doesn't fit me. However, I've installed Ubuntu LTS just like that on this machine when both were new. It has a small but fast SSD. It has been working flawlessly until now. I've recently reconsidered that I could use a bit more space. From experience, I never had a need for swap, as I'm using zram . So I've decided to simply delete the swap partition. Of course, solving it simply was only my dream. Technically, you need to delete the swap partition, optionally move middle partitions to the end, expand your root file system and be done with it. I've first made whole disk backups. I've booted off a flash drive containing Ubuntu 12.10. Deleting the partition with GParted was a breeze, as well as marking the rest of the needed operations, move and resize. But there was a catch: it bailed out with a cryptic message halfway. (I think it was "GNU Parted cannot resize this partition to this size. We're working on it!...