Martin... mostly

{Notes to self, programming, technology, linux, windows, git} U {Papers, reviews, games, coffee, tabletennis, ramblings} = {things worth saving}

Thursday, September 09, 2010

Proper use of a hand operated milk-frother for espresso based drinks

Introduction

Contrary to common belief, it is possible to froth your own silkysmooth milk with proper microfoam. Altho resulting in a rather labour-intensive cappucino, the process is strangely rewarding because of it's volatility, and is a nice alternative to using an espressomachine, either if you don't have the space for one, or if you're away from home on a location that requires a minimal coffee setup.

The MyPressi is a portable, handheld espressomaker that, despite it's size, produces fabulous results. It operates on widely available gas cartridges, and produces espresso at a pressure of 9 Bar. Another handheld, the HandPresso, is manually operated, and while i haven't tried it, i imagine that having to supply your own pressure is more errorprone towards getting consistent results than using the MyPressi.

Method

Assuming you have either of the mentioned handheldes, or some other means of making espresso, you also need:

  1. An accurate digital thermometer. (Proteins in milk, when heated above 67 degrees c, start breaking down, reducing it's ability to froth.)
  2. Hand-frother. They usually come in either glas or metal. Either can be placed directly on the stove. The one i use is a small Bodum frother, and results may vary with larger versions, as the "plunger" will let increasingly more air into the milk.
  3. A timer. I switched to a time-based method, as i developed better technique.
  4. A container with a spout. Used in the final stage, to eliminate remaining bubbles , resulting in a smooth, silky frothed milk. The container used to pour our milk based drink.
  5. Milk with 2%+ fat percentage.
  6. Heat source

Okay, on to the procedure. It's really very simple, and requires only patience, and a quick hand. I'll add some pictures at a later point in time:

  1. Pour milk into the frother. Not too much, as volume will increase about 50%. More than that and you'll have a milk that's too foamy, and also, you'll be squirting milk all over!
  2. Heat the milk on the stove using a not-too-steep temperature curve, until it reaches 67 degrees.
  3. Start your timer.
  4. Step one is to let some air into the milk. Raise the plunger to the top of the frother, and floor it - repeat about 20 times.
  5. Now, keep the plunger inside the milk, and raise/lower it as fast as you can. Don't let the plunger come in contact with the air. Adding too much air to the milk will create a froth reminiscent of soapbubbles. Not very pleasant.
  6. Every 45 seconds or so, repeat step 4, but only let air inside the milk about 4 times.
  7. Keep the head of the plunger just below the "milk-line", as the volume increases, to get maximum thrust.
  8. At the 2 minute mark, or just below it (experiment), you should be done.
  9. Pour the milk into the spout container, and move it in a circular motion, getting rid of some of the milk bubbles.
  10. Tap the container against the counter to further collapse remaining bubbles, leaving only a creamy, silky micro-foamy frothed milk.
  11. Perform latté art, and enjoy.
Finally

The picture below attempts to depict the end result of executing the above procedure. The result was a delicious cortado. Results may vary for you, but the procedure is a good guide to creating your own technique.

Basically, what i've experienced, is that it's really hard to find the balance between a good micro foam, and milk that isn't too thin, but with the procedure i'm using now, i'm closing that gap. You'll always be able to foam better milk on a good machine, but unless you possess lightning speed, you will always get a froth that's a bit thicker, and not that good for latté art. But as usual, it's the taste in the cup that counts.

Tuesday, September 07, 2010

Using svn+ssh protocol with a Windows based svn client and server

What is this?
A guide towards setting up eclipse to connect to a windows based subversion servers using the svn+ssh protocol. (A guide for setting up both server and client with encryption.)

Requirements?

- FreeSSHd server
- Eclipse
- Subversion
- Putty toolsuite (pageant, puttygen, plink)

[this entry is a stub!]

Monday, July 26, 2010

Monday, February 15, 2010

Tuesday, October 13, 2009

Re-flashing and setting up NSLU2 on Arch Linux

Get upslug2 PKGBUILD file from Arch AUR repo: http://aur.archlinux.org/packages.php?ID=11481

$ pkgbuild -s (not as sudo - for automatic dependency handling)
$ pacman -U upslug2-41-2-i686.pkg.tar.gz

- Get NSLU2 in upgrade mode (Turn NSLU2 on while reset button is held in for 10 secs. Orange will turn to red => RELEASE! Toggles between red and green now and is in upgrade mode, ready to receive new firmware)

- Connect NSLU2 directly to ethernet port with RJ45 cable.

$ sudo ifconfig ethx 192.168.1.2 netmask 255.255.255.0 up
$ sudo upslug2 --device ethx
NSLU2 00:1a:70:99:60:c7 Product ID: 1 Protocol ID: 0 Firmware Version: R23V63 [0x2363]

$ sudo upslug2 --image /home/zrrbite/stuff/NSLU2_V23R63.bin (linksys default firmware)
Upgrading LKG9960C7 00:1a:70:99:60:c7
. original flash contents * packet timed out
! being erased - erased
u being upgraded U upgraded
v being verified V verified

Display:
+
Status:
* timeout occurred + sequence error detected

7fffff+000000 ...VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
Rebooting... done


- Set the network protocol with the web interface before doing anything else, since this is what the NSLU2 will use when using the installer from various distros.

If you accidentally set the network settings to DHCP, use arp -a (works on both linux and windows) or a program like angry ip scanner, to locate the slug on the network segment.

Debian: http://www.cyrius.com/debian/nslu2/install.html

NSLU2 linux wiki: http://www.nslu2-linux.org/wiki/Main/HomePage

Add to sources.list to get unrar package:
deb http://http.us.debian.org/debian/ sarge main non-free contrib

apt-get update
apt-get install hellanzb
apt-get install unrar

edit /etc/hellanzb.conf PREFIX / usenet server and start daemon with "hellanzb"
dump nzb files in QUEUE dir with PSFTP (cd /home/mk/hellanzb/nzb/daemon.queue/ )

MT-DAAPD
(Firefly Media Server)

$apt-get install mt-daapd
$mkdir /home/media/music (dump music here)
$vim /etc/mt-daapd.conf
enable logging, change servername if you want, change port if needed, etc.
change runas user to someone with proper privilges (Root? :D)

$chmod o+r -R /home/media/music
$ /etc/init.d/mt-daapd restart

Repeat bold steps everytime music is added. Start iTunes. The server should show up in the left hand side under "Shared". a restart of the daemon will make the entry disappear and reappear on the fly.

Updating the songlist from cmd line may cause problems. Full system scan @ Web admin - http://192.168.1.xxx:3689/ will fix. Reload in iTunes.

Streaming 1 mp3 : 1,6% CPU, ~13% Memory.

TWONKY on Debian Lenny
Twonky supply these embedded (NAS) versions, as is, unsupported.

http://www.twonkyforum.com/unsupported/4.4.18/

Twonky arm little endian release is built against old glibc not supported by Lenny. Suggested to use the uclibc version. And download old uclibc tool chain.
http://www.twonkyforum.com/viewtopic.php?f=8&t=6086 -

http://www.uclibc.org/downloads/


Other Links:

http://www.cyrius.com/debian/nslu2/linux-on-flash.html

http://www.nslu2-linux.org/wiki/DebianSlug/OpenDebianSlug



Friday, October 09, 2009

Possible fixes to apt-get host resolution problems

/etc/nsswitch.conf :

hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4

Replace it with :

hosts: files dns

Restart network:

sudo /etc/init.d/networking restart

if !work , add to /etc/hosts :

91.189.88.46 ca.archive.ubuntu.com

Restart network again



---------

Check your "/etc/resolv.conf" file. It should have the name servers mentioned


nameserver 208.67.222.222
nameserver 208.67.220.220


That is all you need apart from configuring IP address on your machine.

To check if it works do the following. Type 'nslookup' and press enter:

> server


-------
ping -c2 74.125.45.100
route -nee

Wednesday, October 07, 2009

VMWare networking explained

http://www.extremetech.com/article2/0,2845,1156371,00.asp

Laptop dual-monitor on Linux

xorg.conf:

Extend the appropriate "Display" subsection with the resulting resolution of the two connecting screensizes

Virtual 3360 1050 ((2 x 1680) x 1050)

Restart X server - (Ctrl+alt+backspace)

Run xrandr to check which displays are present. VGA represents external screen. LVDS represents laptop.

xrandr --output VGA-0 --left-of LVDS
xrandr –output VGA-0 –mode 1680×1050

(Distro: Arch Linux)

Links:
http://bbs.archlinux.org/viewtopic.php?id=43138
http://intellinuxgraphics.org/dualhead.html
http://www.linuxquestions.org/questions/linux-general-1/xrandr-screen-cannot-be-larger-than-...-595649/

Followers