Thursday, December 25, 2008

Frohe Weihnachen!



Merry Christmas and a Happy New Year!

Sunday, November 23, 2008

Hier auch!



Winter's here, too, not only here.

Wednesday, November 19, 2008

Morning on Lake Zurich

Sunday, November 02, 2008

MythTV progress

With a nice 32" wide-screen LCD plain analog TV doesn't look very exciting, so I finally took the plunge and got a Silicondust HDhomerun. Setting it up was a breeze. It's supported since MythTV 0.20. Simply connect to cable and Ethernet, scan for channels (use QAM-256/cable-high) and we are in business.

Recording works, but playback ... oh, boy. That poor Celeron D 2.66 has no chance to show HD content. I went through the motions to update the Nvidia driver, update MythTV to 0.21, scoured the Internet for all the tricks to make XvMC work a bit faster, and I got almost to the point where the choppy audio stayed in sync with the choppy HD video. Bah, no fun.

In the end I replaced the Celeron with a Dual Core E2200 processor. A few data points for comparison: With the Celeron we got occasional hiccups when watching a recording while something else is being recorded, or commflag ran. With the E2200 I recorded two analog channels, and two HD channels, and watched another HD recording in parallel with no problem whatsoever. Neat.

Tuesday, October 28, 2008

Arriving back home in the evening



I'm impressed by the quality of the camera in T-Mobile's G1, given how crappy it's optics look from the outside.

Friday, October 24, 2008

Monday, October 20, 2008

Coffeetable - take 2

It turns out the proportions of the first try felt right only when making the table a mere 10 inches high. That didn't quite work. I need the coffee table to be about 18 inches high, and stretching the legs looked really bad. I don't want the table to grow too big, and found a nicely sized glass tabletop at IKEA. The Granas coffee table has just the right size. ... and it's cheaper than buying just a glass tabletop at a local shop.



Here is my second try. I made the box for the layout slightly higher, so that I can fit drawer, landscaping, buildings, and other items under the glass. I think the new foot arrangement makes the table less bulky, and it should work well in our living room.

Friday, October 17, 2008

Proposition 7 a really bad joke

One would think that Proposition 7, which would require to have 50% of all energy produced in California come from renewable sources would be a good thing. Ballotpedia has a good summary.

The Vote Solar blog has a nice analysis of the actual effects of Prop 7. Furthermore, the vast majority of the renewable energy industry opposes it, too. Even the Sierra Club doesn't like it.

I continue to be amazed at how american politics work.

Thursday, October 16, 2008

Train in a coffee table?

Yes, I'm serious with building a train layout in a coffee table. Here are my constraints:

  • It needs to be a glass table (duh)
  • The glass should cover the whole top of the table (i.e. no exposed wood on the top)
  • It needs to be big enough to allow for a continous run N scale train layout
  • There needs to be more to the layout than just a train on a loop



This is my first try for the table, made with Sketchup. The table is about 10 inches high (25cm), 46 inches long, and 30 inches wide (~120x75cm). The glass tabletop is made from tempered safety glass, so if it breaks it will break into small pieces. Right under the glass is a 10cm high box that will hold the layout. The layout sits on a sliding drawer (not pictured), that can slide out all the way, so if I need to work on the layout I can do so with minimum fuss.

Electronics, transformer, and stuff, would be mounted under the table and connected to the layout with a multi-pin connector, so that it is easy to disconnect the drawer from the table. There would probably be some kind of connector on one side to hook up a tethered control. I'm thinking of using a very basic EasyDCC or Digitrax setup. Controlling switches and whether to use uncouplers is still an open question.

I haven't decided yet what kind of landscaping I'd use either. One option clearly is to leave it fairly bare-bones and build something with LEGO bricks. Or let the kids decorate. Or actually model some pretty landscaping. Maybe a desert theme with an old ghost town, or something that more closely resembles California's Sierra Nevada / Gold country.

Sunday, October 05, 2008

Braking in digital and how my expectations have gone up again

Several Web sites deal with approaches to how to make digital trains stop in front of a red signal. It seems a need that was implemented trivially simple in analog times (isolated section before signal; red signal removes power from section; no power, train stops), somehow fell under table when we entered the digital world. While it is now possible to run multiple locomotives independently on the same section of track, stopping them in some automated fashion at the right place as needed is surprisingly hard.

The standard solution (and most similar to the old analog way) is to use a little module that generates a brake signal in an isolated section. The implementation details vary from system to system, but they all share the property that you have no control over the locomotive until the signal is set to green. At list the loco lights stay on, and the loco decelerates in a somewhat controlled fashion before the signal, which is much better than the analog way. The cost of the brake modules, which can run as high as $40 per module and signal, is steep, too.

Other solutions that track locos with IR or RFID, are even more expensive.

Making matters worse is how most decoders implement the deceleration part: If the brake signal is detected, the decoder gradually reduces the speed by one speed step every 1/nth of a second. This means a locomotive of an express passenger train going full speed needs a longer distance to stop than a slow local freight train. In order to reliably stop both kinds of trains, one needs to size the brake section long enough for the express train to make a stop in front of the red signal. ... Which means the local freight will stop much farther away from the signal, when in reality I want both to slow down and stop before the signal, or even slow down from the advance signal until the "engineer" can "see" the main signal, then creep to the main signal, and stop only if it's still red once we get really close. This is exactly what real trains do to avoid the hassle of first stopping several hundred tons of steel to a dead stop, just to get it going again a minute later.

Yes, given that digital control should be able to give me this behavior, my expectations have gone up ... again.

The only way this actually can work is with using computer control for the trains not under manual operator control. While it's a lot of fun to really "drive" a train around a larger layout manually and do all the right moves, sounds, etc. at the right time, my layout is neither big enough to provide for long train running, nor do I have the space (or interested people) to actually keep traffic up.

The next best thing is to have a set of trains run on a (pseudo) schedule, and control a few of them manually. E.g. swapping out cars from a freight train, run a passenger local, or even switching work in the yard along with deliveries to local industries. This is fun, but I still want the feeling of a busy railroad with train meets, and background traffic, that I enjoyed with my fathers layout as a boy, and not have only one train operating at any one time.

There is actually software that implements the kind of train behavior and control I'm looking for with minimal amount of detection points. Railware substitutes detection points around signals with precisely measured distances of track, and calibrated locomotives. Since the software knows at any point in time how fast a loco is going, and keeps track of occupancy state of the various sections, it can deduce at what location of track a train is, and make them stop within centimeters from arbitrary points on the layout, ... e.g. just before a red signal.

Now that my expectations have gone up, I want the signals to show red behind a train. I want trains to stop properly at that signal. I want to be able to see traffic happening on my layout without me doing anything ... Well, ok, not so sure about that one. I want switches lined as needed. But at the same time I also want to be able to intervene manually at any point in time, and most importantly, I don't want to sit in front of a screen.

There. I said it. And just created yet another money sink.

Yes, I actually don't want to control my switches and signals from a screen. I stare at a screen long enough during my day job. I want the tactile feedback of buttons, switches and knobs to run my trains, not using a mouse.

Some visual feedback about the state of what the computer thinks what train is where and where it's going will still be needed, so there will need to be a screen somewhere. I'm dreaming of a self-built digital enabled control table.
Alternatively, I control switches and signals the old analog way (still using a control table, but not nearly as slick), but then I can also say Goodbye to most of what I wrote in the previous paragraph.

Time to pull out plans of the layout again, and figure out what I need where, and how much it's going to cost me to do all this... Then take a deep breath put it back in the drawer and concentrate on building the coffee table for the living room first...

Tuesday, September 16, 2008

I'm on the map

A little while ago Streetview did a gimmick to celebrate their one year anniversary. They did a special photo shoot of the Google campus with Googlers lined up along the street. It was quite some festive atmosphere.

I'm on two shots. One on Charleston Rd. I'm to the right of the guy in the black pullover raising both arms.


The other shot is on Amphitheatre Parkway. I'm a little bit to the left of that no parking sign on the street.

How did I manage to be on two shots? The Streetview car with the cameras was driving down Charleston Road to Rengstorff and Amphitheatre Pkwy, then headed towards Shoreline Amphitheatre. Between Charleston Rd and Amphitheatre Parkway is Charleston Park. As soon as the car passed, a whole bunch of us ran to the other side of the park and waited for the car to show up again. It was much slower than expected, so we could have walked leisurely over and still made it...

Sunday, September 14, 2008

Catenary installed

I completed installation of catenary on the underground sections that are permanent. I used the old Maerklin parts, since they are very sturdy and easy to install. Later in the visible areas I'm planning to use Viessmann or maybe even Sommerfeldt. Next up, the ramp to the second level, as well as testing automated, digital braking.

---

Die Oberleitung ist nun auf den permanenten Abschnitten im Schattenbahnhof installiert. Ich habe die alte Maerklinoberleitung wiederverwendet, da sie sehr robust und einfach zu installieren ist. In den sichtbaren Bereichen der oberen Ebenen werde ich wohl Viessmann, oder sogar Sommerfeldt verwenden.
Als naechstes ist die Rampe zur zweiten Ebene dran, sowie Experimente mit digitalen Bremsen.

Sunday, September 07, 2008

Evolution of a layout

While I'm working towards getting the complete layout built, I still want to run trains continously, test tracks, learn about this newfangled digital stuff, and experiment a lot with new technologies that were in their infancy when I stopped working on my father's layout many years ago.

The first phase consists basically of the tracks for hidden staging and a loop.



The track closely follows the final layout with the following exceptions:

  • the curve in the lower right corner to the cross-over switch has no elevation
  • the pink track closes the gap to a loop


This setup allows me to test both loco and switch decoders, and get used to the Intellibox. It's also a nice opportunity to set up a temporary programming track, and pull some freight and passenger cars from storage.


The second phase adds a ramp to the second level, as well as the trackage at Talheim station, and the second level connecting tracks. Again, I'm using a short stretch of track marked in pink to allow for continous running.

Lower Level:




Upper Level:


This phase makes the layout substantially more complex, adds K-track for the first time, and allows me to test out train detection techniques, as well as computer control. I can learn about building the ramp properly. At this stage the layout is small enough to easily correct mistakes in how I'm planning to do things, but complex enough to already make for interesting operation. I could even start working on roadbed, or landscaping around the Talheim station.

---

Waehrend ich darauf hinarbeite, die komplette Anlage zu bauen, moechte ich trotzdem Zuege fahren lassen, Gleise testen, und mehr ueber diese neuen digitalen Sachen lernen, die noch in den Kinderschuehen waren, als ich vor vielen Jahren aufhoerte an der Anlage meines Vaters zu bauen.

Die erste Phase besteht im Wesentlichen aus dem Schattenbahnhof und einer Schleife.

Die Gleise folgen dem endgueltigen Layout mit den folgenden Ausnahmen:ns:

  • die Kurve in der unteren rechten Ecke hat keine Steigung
  • das rosa Ubergangsgleis verbindet die Gleise zur Schleife


Mit dieser Anlage kann ich Lokomotiv- und Weichendekoder testen, und mich an die Intellibox gewoehnen. Ich habe auch ein temporaeres Programmiergleis installiert, und kann ein paar Gueter- und Personenwagen ausprobieren.


Mit der zweiten Phase waechst die Anlage in die Hoehe. Ich werde die Rampe in die zweite Ebene bauen, sowie die Gleise in Talheim und die Verbindungsgleise der zweiten Ebene. Wie in der ersten Phase verwende ich ein kurze Stueck Gleis um die Schleife zu schliessen.

Die Anlage ist in dieser Phase um einiges komplexer, und ich verwende zum ersten Mal K-Gleise. Ich kann verschieden Techniken zur Zugverfolgung erproben, sowie Computersteuerung, und noch problemlos Fehler in meinem Ansatz korrigieren. Ich kann sogar anfangen Gleise einzuschottern und die Station in Talheim auszugestalten.

Friday, September 05, 2008

Layout Update

It's been a while since I posted an update on the layout.



I added a 3rd track in Talheim to allow for more interesting switching.

Thursday, August 28, 2008

Flextrack is amazing

Once I figured out how to use the flextrack options in XTrkCAD, laying track made a lot more sense and was much more fun. The trick was to turn off easements. Easements are very prototypical. When you need to make a curve, the radius is gradually lowered, i.e. the curve gradually becomes sharper. In the real world, this prevents sudden movements when entering a curve and is used for streets and railroads alike.
However, I just don't have the space on my layout to do them properly, so regular curves have to do. Once I did that, laying flex track quickly was super-easy. The result is most visible in Talheim where I redid pretty much all the trackage. My goal was to allow for more shunting in this small station right in front of the operator, so I added a third track, and set up the tracks to resemble a timesaver. I would have liked the industrial spur to be a little bit more complex but again, limited space made this hard, given that I need to convey a believable sense of place for the industry. Depending on how the track alignment will work out in the end I might have enough space to do something more interesting, but still operable.

I'm still toying with the idea of controlling all switches and signals digitally, but this does become quite expensive, and I'm more interested in getting a train to stop automatically before a red signal (Hp0) with decent deceleration before the signal. This alone means I have to make a decision whether I want to use Maerklin's Motorola format, or switch to DCC and accept that any digital Maerklin loco I'd buy in the future would have to get a multi-protocol decoder.

Thursday, August 14, 2008

Uhlenbrock 75200 in Maerklin 3075, BR 216


I tried my first conversion of an analog locomotive to digital today. For this first time around, I made it easy on myself and used a decoder that is specifically made for Maerklin AC motors (Uhlenbrock 75200).

The photos show the locomotive with the cover removed before and after the conversion.



The motor has 3 arms and thus runs not quite as round as the BR 86 I have. However, this is my first conversion, I didn't break anything and the locomotive ran on the first try. What else can you ask for?

Musings on a plane

I'm on a flight to Zurich, Switzerland, reading Tom Friedman's "The world is flat". Stories of how virtualization makes travel less necessary. How people around the world can easily interact over the Internet. How time zone differences make it possible to easily have work happen 24 hours a day. And I experience all of this in my daily worklife. However, still, here I am on my way to Switzerland to meet with all my team mates in person, because there's no better way to build and manage personal relationships than face to face meetings.

Yes, you might be able to conduct business efficiently and effectively using "the power of the net". I find IRC and individual chats an amazingly effective medium for coordinating and collaborating with co-workers around the world to work together and solve problems. The expert on a specific part of the system might not be in my office, but I can quickly loop them in to help me debug an issue. In other situations, just asking a question on an IRC channel, or web based forums, often gets me a correct and complete answer, or pointers to documentation, faster than trying to use my favorite search engine and digging through results (yes, that's ironic, showing there's still plenty of room for improvement in search engine technology...)

However, I also find that oftentimes the most value-add happens after you leave the conference room, in hallway conversations. When you run into someone by accident. When you thought about a topic for a few more minutes and then pop over to the other person's desk for a follow-up. This personal interaction is very hard to harness in a virtual environment, particularly if people work in a regular office, instead of tele-commuting. In some teams I worked with there is zero "virtual socializing", idle chatting on an open IRC channel, with random work-related comments. In other teams, such channel forms the life-blood of the team. It's the way how a globally distributed team keeps its act together and it's amazing to watch when it works.

...

When it works, you come to work in the morning, India is still awake, Europe getting close to the end of their day, the East Cost is ready to go to lunch, and you are getting breakfast. As the day progresses, Europe signs off (aside from the few night owls that apparently can never leave their computer screen before 10 or 11 pm local time) and you are getting lunch. While the early birds in East Coast offices are starting to prepare to go home at the end of their day, IM status of the first Australians becomes green and you spend the afternoon coordinating projects with your counter-parts in Sydney and then, shortly before you leave for the day, Tokyo. As you go to bed in the evening, India wakes up, and a little later around midnight, the workday in Europe picks up again. When it works, there is always someone from your team online, somewhere in the world who knows the answer to your question, or knows where to look. When it works, it's an amazing experience.

To make it work, you need continuity and critical mass. I think continuity happens by having globally distributed teams that are big enough to help each other locally in a pinch (as well as build and promote a local flavor of the team's culture), but small enough to not be completely self-sufficient (since then they have less motivation to seek out the connections with people outside their office). The critical mass is important in a specific way: If everyone spent all their time on "keeping the channel alive" no work would get done. The socializing aspect is important for team culture. Some people are better at this than others, and there need to be enough people that can keep the chatter and banter going from the random idle time people spent on "something" between tasks.

In terms of technologies I haven't seen anything that beats IRC (Internet Relay Chat). IRC has been around for many years, is amazingly robust, quite easy to administer, and almost trivial to get going. People with a minimum amount of Linux foo can set up a company internal IRC server in no time. IRC has well defined, and well known APIs, that are quite easy to use, so there exist tons of add-ons. It's major drawback is that IRC is not sexy. It's text chat. The clients usually don't look pretty. There's no support images, audio, video, ... but, on the other hand, all that stuff makes other systems more complex and prone to failure. I really don't care that much if I can see my co-worker, as long as I can get my problem solved. Video conference systems tend to work better and are more effective for virtual meetings than desktop conferencing software, especially if they involve more than 3 or 4 locations.

Bottom-line, I like both worlds, but for different reasons. Many relationships that started in face to face meetings, are kept alive and strengthened with regular interaction. People want to communicate. The easier one makes it, the more they are going to use whatever method is available.

Tuesday, August 05, 2008

Marie arrived in Mexico...

... and chronicles her travels at marieunterwegsinmexiko.

Saturday, August 02, 2008

BR 86 and Ground

My digital BR 86 doesn't run very cleanly. Uwe's blog entry has a nice description of the problem, as well as my forum post. I tried the remedy today, but have trouble getting the wires connected properly to motor ground. Whenever I connect the wires to the ground screw on the motor shield the decoder stops accepting any commands. Need to try a bit more...

Update:

And I did try a bit more. Turns out that the screw on the motor shield is intended to connect the decoder ground to the chassis. It's not long enough to go trough the motor shield to the chassis if you squeeze in a cable because you are too lazy/scared to solder in tight quarters around the motor. Once I got over that, I soldered the cables straight on the existing solder spot and voila, the locomotive now runs just fine over those critical switches where it lost contact to ground before.

Friday, June 13, 2008

More thoughts on how to control trains

I'm still trying to figure out wht I really want. Use advanced features to control trains, or keep things simple and economical (so I don't need computer assistance).

While I don't really want to write software (no time to do this right), using computer control sounds very sweet. This would require I stick s88 control points at every switch and track that will hold more than one loco.

The first problem is how to identify locos. There are several commonly used methods:

  • Cut one rail of Maerklin K track and use the loco and car axles to bridge the cut. This is very common, and well supported with s88 modules. The drawback for control is this method can't differentiate between locos and cars, and I have a bunch of M-track on my layout.
  • Use a powersensing circuit to identify if a section of track is occupied by a train, and hook that up to the digital system. This works but isn't well suited for control because it's not very location aware. However, it's good for use in hidden staging to figure out which tracks are occupied by a train.
  • Use a s88 control point that is trigger by the power pickup shoe of the loco. There are contact tracks made by Maerklin, as well as several build-it-yourself approaches. This works well for control if you mainly run freight trains. The method can't differentiate between the pickup shoe of the loco, and a pickup shoe, that e.g. powers lights in the passenger cars, or the rear illumatination of a freight train.
  • Use reed contacts between the rails and a little magnet on each loco. This method clearly identified locos. However, each s88 contact needs to be made from reed contacts which are visible between the tracks and cost additional money, and each loco needs to be fitted with two small magnets.
  • Uhlenbrock offers LISSY which is a digital control system to solve the problem. It's clearly the most complete and powerful solution, but also the most expensive.


In what situations do I need digitally controlled stops?

Stop a train before a signal that shows red automatically.

  • Trains should stop in front of a red signal and preferably decelerate before coming to a stop.
  • Most digital locomotives don't roll very far when the loco looses power, so I don't really want to run them into section of track with no power (like in the old analog days).
  • On a green signal the train should accelerate automatically.
  • lights and functions should remain on while the loco is stopped.

Thursday, June 05, 2008

Digital model railroading for real now

The Intellibox and transformer finally arrived after many shipping delays. After dinner I set up a little bit of track on the dining table and connected everything. My only digital loco BR86 was used as guinea pig. Low and behold, as soon as I set it on the track it ran. It still remembered the speed setting from the store when I tried it out. With some trial and error I figured out the loco address, and was able to control all functions from the Intellibox with minimal fuss. The one irritating thing is that the speed steps are extremely coarse. At step 1 the loco creeps along, step 2 it moves ok, step 3 it feels like full speed, but there are 14 steps total. I need to find a way to reprogram the speed range on this decoder. Looks like it's a fairly new Marklin mfx decoder, which is not supported for programming on the Intellibox. Bummer.

Speaking of which, the connector on the Marklin transformer I got is amazingly whimpy and easily slips out. Not very convincing.

Mit viel Verspaetung kamen heute die Intellibox und der Trafo an. Gleich nach dem Abendessen habe ich alles angeschlossen, etwas Schienen aufgebaut, und die BR86 als Versuchsschweinchen auf das Gleis gesetzt. Zu meiner Ueberraschung fuhr sie auch gleich los. Sie hatte noch die Geschwindigkeit und Richtung gespeichert von als ich sie im Laden ausprobiert hatte. Mit etwas Rumprobieren bekam ich die Adresse des Dekoders heraus und konnte die Lok problemlos mit allen Sonderfunktionen steuern. Das einzige Problem ist dass die Geschwindigkeitsstufen des Dekoders zu grob sind. Bei Stufe 1 kriecht die Lok. Mit Stufe 2 geht's ganz gut, Stufe 3 wird schon recht schnell, insgesamt hat die Lok aber 14 Stufen... Das muss ich noch in Ordnung bringen. Die Intellibox understuetzt aber nicht das Umprogrammieren von mfx Dekodern. Mal sehen...

Der Stromstecker an dem Maerklintrafo rutscht sehr leicht ab, und ist erstaunlich instabil. Nicht ueberzeugend.

Saturday, April 26, 2008

tcp window scaling, Linux, and broken routers

So, what the hell is TCP window scaling and why do I care?

This had me puzzled for a few days: solarguard.solarcity.com worked fine when I was working from my laptop from home, but didn't when I was at work. That's the Web site the monitoring data from my solar panels is sent to.

At first I thought they don't support path MTU discovery properly (e.g. by blocking most icmp packets, including "fragmentation required"). However, lowering the MTU on my workstation didn't help (but it briefly messed up NFS...)

A co-worker pointed out a the Web site doesn't support Linux, but works fine with Mac and Windows. Bullocks, I thought, silly browser requirements. However, sure enough, even a simple "GET / HTTP/1.0" sent via telnet from Linux doesn't work, but works fine from my Mac laptop. I was stumped.

Until I did these two tcpdumps of a telnet session to solarguard.solarcity.com.

21:09:37.486875 IP bbeck-mac.wlan.lostentry.org.50292 > sol6.solarcity.com.http: S 3232032404:3232032404(0) win 65535
21:09:37.502028 IP sol6.solarcity.com.http > bbeck-mac.wlan.lostentry.org.50292: S 3190318898:3190318898(0) ack 3232032405 win 16384
21:09:37.502098 IP bbeck-mac.wlan.lostentry.org.50292 > sol6.solarcity.com.http: . ack 1 win 65535
21:09:43.279950 IP bbeck-mac.wlan.lostentry.org.50292 > sol6.solarcity.com.http: P 1:17(16) ack 1 win 65535
21:09:43.476237 IP sol6.solarcity.com.http > bbeck-mac.wlan.lostentry.org.50292: . ack 17 win 65519
21:09:43.616030 IP bbeck-mac.wlan.lostentry.org.50292 > sol6.solarcity.com.http: P 17:19(2) ack 1 win 65535
21:09:43.632860 IP sol6.solarcity.com.http > bbeck-mac.wlan.lostentry.org.50292: FP 1:559(558) ack 19 win 65517
21:09:43.632967 IP bbeck-mac.wlan.lostentry.org.50292 > sol6.solarcity.com.http: . ack 560 win 65535
21:09:43.633327 IP bbeck-mac.wlan.lostentry.org.50292 > sol6.solarcity.com.http: F 19:19(0) ack 560 win 65535
21:09:43.650105 IP sol6.solarcity.com.http > bbeck-mac.wlan.lostentry.org.50292: . ack 20 win 65517

and

21:14:19.460778 IP chef.lostentry.org.56146 > sol6.solarcity.com.http: S 3539793334:3539793334(0) win 5840
21:14:19.474075 IP sol6.solarcity.com.http > chef.lostentry.org.56146: S 3721548036:3721548036(0) ack 3539793335 win 16384
21:14:19.474105 IP chef.lostentry.org.56146 > sol6.solarcity.com.http: . ack 1 win 365
21:14:24.092355 IP chef.lostentry.org.56146 > sol6.solarcity.com.http: P 1:17(16) ack 1 win 365
21:14:24.238705 IP sol6.solarcity.com.http > chef.lostentry.org.56146: . ack 17 win 65519
21:14:24.844354 IP chef.lostentry.org.56146 > sol6.solarcity.com.http: P 17:19(2) ack 1 win 365
21:14:30.238534 IP chef.lostentry.org.56146 > sol6.solarcity.com.http: P 17:19(2) ack 1 win 365
21:14:30.263687 IP sol6.solarcity.com.http > chef.lostentry.org.56146: . ack 19 win 65517
21:14:30.263723 IP chef.lostentry.org.56146 > sol6.solarcity.com.http: P 19:21(2) ack 1 win 365
21:14:30.476289 IP sol6.solarcity.com.http > chef.lostentry.org.56146: . ack 21 win 65515
21:15:59.668923 IP chef.lostentry.org.56146 > sol6.solarcity.com.http: F 21:21(0) ack 1 win 365
21:15:59.680890 IP sol6.solarcity.com.http > chef.lostentry.org.56146: R 3721548037:3721548037(0) win 0

What is up with the tcp window size in the Linux dump once the connection is established? 365, vs. 65535 on the Mac. And what does wscale do?

This made me suspicious and a quick visit to our favorite search engine brought up this most excellent blog entry, as well as a somewhat old article on LWN which, however, explains he basic technicalities quite well.

In a nutshell: TCP window scaling is used to work around limitations in TCP that restrict the maximum window size to 64kBytes, by negotiating a multiplier for the window value during session setup. Apparently, there are some broken routers out there that set the wscale option to 0, effectively transparently disabling window scaling without telling anybody. The result are TCP connections that appear to hang for data, but control traffic (like syn/ack, rst, retransmit, etc.) still works!

Sure enough, if I disable TCP window scaling on chef, the SolarGuard website sends the response just fine even in a telnet session, where it didn't work before. Setting the tcp_rmem and tcp_wmem values to the pre-2.6.17 values makes this work properly even with window scaling enabled.

I left window-scaling enabled, but manually set

sysctl -w net.ipv4.tcp_wmem="4096 16384 131072"
sysctl -w net.ipv4.tcp_rmem="4096 87380 174760"

and the Website works fine now.

As an aside, kudos to SolarCity staff. I called Support, they forwarded my problem to someone in Engineering, and I had a sensible answer in my inbox in less than 20 minutes after my initial problem report, followed up with a confirmation that they verified connectivity from multiple places and networks without problems. They even confirmed that my box is working properly.

Maybe they happen to have control over that old router that is not compliant with RFC 1323 from the year 1992, and either fix it, or take it out back and shoot it...

Update:

In Windows the registry key HKLM/tcpip/parameters/Tcp1323Opts is a bit field that controls whether tcp window scaling is enabled (1) or not (0). Setting this to 0 disbles tcp window scaling for both incoming and outgoing connections.

Windows Vista has tcp window scaling enabled by default (so it will have the same problems, that I had with Linux). It can be turned off using the network tuning wizard, or above registry key.

Friday, April 25, 2008

SolarCity SolarGuard


A couple days ago, SolarCity came out and installed the SolarGuard unit. With my Xantrex inverter they can install it straight into the cabling box. It connects via serial port to the inverter and reads the status every few minutes.

The unit itself is actually quite small.


From the outside only the antenna indicates that this inverter is enabled for remote monitoring. I have quite some concerns how long this antenna will last, given that the inverter is in the side-yard of the house and we regularly run trashbins and stuff right by it. To reduce the likelihood of damage to the antenna I turned it side-ways against the recommendation of the technician.


The unit in the inverter communicates with a base station that is connected to my network. The wireless connection doesn't show up when looking for regular wireless networks. I suspect they are using ZigBee (802.15.4) for this link.

Tuesday, April 22, 2008

Train "Room" Update

The train "room" in the garage is taking shape. The platform frame is done and level. I built this from the faux beams left over from last summer's Asbestos action. The floor is 3/4" plywood supported by 2x4 joists and some additional left-over wood pieces. The whole platform is screwed together, so I can disassemble it easily, if ever necessary.

The final size of the room is 8ft by 8.5ft (240 x 255cm). When I looked at the layout plan I realized that I was working with 240x220cm. I just gained a full 240x40cm of space, which allows me to decompress the whole layout quite a bit.



PDFs: Upper Levels - Lower Level

Underground staging gained a forth track. The ramp to staging got longer, with less grade. I also managed to correct an earlier mistake with where I would place the transition track between K and M tracks.

I angled the Emsingen station at only 15 degress now, which makes for a better flow of track and at the same time moved the station a bit north to have more space in the center of the layout. I could even squeeze in another track to keep cars at the station overnight. The (otherwise flawless) Maerklin track geometry isn't quite accomdating with the 105 degree turn I needed on the West side of Emsingen station, so I will need to fudge a little bit here using flextrack.

Having a deeper northern portion of the layout presents serious access problems, escpecially because I will have track underneath Emsingen station in all the places where one would want to place an easily accessible access hatch. I'm currently planning to make the area around the Emsingen station building removable, so that I can access the north end of the layout.

The tunnel ramp from Emsingen West down the east side of the layout around the mountain has exactly the same grade and location as the respective ramp underneath to staging. I'm planning to build the staging ramp solid enough so that I can simply build the Emsingen tunnel ramp on top it.

I'm not quite sure yet how to arrange trackage in Talheim. Would be nice to connect the two industries in a little bit more prototypical way. I also have a lot of tunnels on this layout, so I want to make sure that the visible track is as conducive to train watching as possible (wide curves in the visible sections as much as possible). There is very little straight track and I might end up scrapping the industry at the south end altogether in favor of building something a bit more interesting near the tunnel entrance to staging, now that there is some more space there.

---

Das Eisenbahn"zimmer" in der Garage nimmt Form an. Der Rahmen fuer die Platform ist fertig und eben. Ich benutze dafuer die alten Deckenbalken von Wohn- und Esszimmer. Der Boden ist aus 1.5cm dicken Tischlerplatten, die von kleineren Balken und diversen Holzresten gestuetzt werden. Die ganze Platform ist geschraubt, nicht genagelt, so dass ich das Ganze wieder einfach auseinander nehmen kann, wenn noetig.

Die endgueltige Groesse des Zimmers ist 240 x 255cm. Als ich mir den Plan fuer die Anlage anschaute, wurde mir klar dass ich die ganze Zeit mit 240x220cm gearbeitet habe, und nun ploetzlich 240x40cm extra hatte, was mir erlaubt die ganze Anlage etwas zu dekomprimieren.

Der Schattenbahnhof bekam ein viertes Gleis. Die Rampe zum Schattenbahnhof wurde laenger mit weniger Steigung. Ich habe auch einen fruehen Fehler korrigiert, so dass das Uebergangsgleis von M-Gleis zu K-Gleis an einer passenden Stelle ist.

Der Bahnhof Emsingen ist jetzt nur noch 15 Grad gedreht, was den Gleisverlauf deutlich verbessert. Gleichzeitig verschob ich den Bahnhof etwas nach Norden, so dass ich in der Mitte der Anlage mehr Platz habe. Es hat noch fuer ein weiteres Abstellgleis gereicht. Die ansonsten einwandfreie Gleisgeometrie der Maerklingleise kommt nicht ganz mit der 105 Grad Kurve in der westlichen Bahnhofeinfahrt zurecht. Ich werde das
mit Flexgleis hinkriegen.

Da das Nordende der Anlage nun deutlich tiefer ist, habe ich ein ernsthaftes Zugangsproblem. Ueberall wo man einen versteckten Zugang anlegen kann, liegen unterirdisch Gleise. Ich plane den Bereich um das Bahnhofsgebaeude Emsingen rausnehmbar zu machen, so dass ich ans noerdliche Ende der Anlage komme.

Die Tunnelrampe von Emsingen West entlang der Ostseite hat genau die gleiche Steigung wie die Rampe zum Schattenbahnhof. Ich plane die Schattenbahnhoframpe stabil genug zu bauen, dass ich die Tunnelrampe einfach oben drauf setzen kann.

Ich bin mir nicht so sicher wie ich die Gleis in Talheim anlege. Waere gut die zwei Industrien etwas realistischer anzuschliessen. Ich habe auch eine ganze Menge Tunnel, und wenig gerade Strecken, auf der Anlage, deshalb werde ich versuchen die sichtbaren Bereiche so anzulegen, dass es Spass macht den Zuegen zuzuschauen (weite Kurven soweit das moeglich ist). Ich kann mir vorstellen die Industrie im Sueden komplett zu streichen und stattdessen die andere Industrie in Talheim etwas interessanter auszubauen.

Sunday, April 13, 2008

Solar Energy and Congress

Wow, I still don't really understand they way American Laws are made. According to news reports the Senate amended the housing economic stimulus bill with provisions to extend solar tax benefits. Last year they tried a similar thing which in the end was shot down. I wonder, if they changed the solar tax credit to not have a cap, whether I could claim the difference between the $2000 cap from last year and the 30% on this year's tax return. Would be nice, but I doubt I will be able to do this.

Summer is here!

Friday it was 30+ Celsius. Saturday, as the first real day of summer, saw the heat topping out at 32 Celsius, the hot tub filled with warm water, the day spent outside, children playing on the lawn with the garden hose, and solar production going down, since now the cells warm up substantially enough to be outside their optimal operating range.

Last week with blue skies, but a steady cool wind from the Pacific solar production peaked at 24 kWh/day. On hot days like yesterday we average between 20-22 kWh/day depending on temperature and the angle of the sun.

Saturday, April 12, 2008

Wie der Schattenbahnhof funktionieren wird

Find the english version here

Nachdem der erste Teil meiner Bestellung von EuroRail Hobbies & More ankam machte ich mir wieder Gedanken ueber die Anlage. Maerklin 2205 Flexgleis und Uhlenbrock 72600 Dekoder waren. I glaube ich werde nicht mehr Flexgleise brauchen. Muss mal rausbekommen, wie man das Gleis kuerzt. Ich freue mich schon drauf Zuege auf weiten Kurven ueber die Anlage fahren zu sehen ... naja, soweit das bei meinen Platzverhaeltnissen moeglich ist.

Die Dekoder sind sehr klein, und passen genau in den Bereich wo derzeit der Richtungsumschalter ist. Ich warte mit dem Digitalisieren der Loks bis die Intellibox eintrifft, so dass ich die Dekoder gleich ordentlich testen kann. In der Zwischenzeit sollte ich mir eine kleiner SPitze fuer den Loetkolben zulegen...

Da der Schattenbahnhof komplett mit M-Gleisen gebaut werden wird, kann ich mir mit den K-Gleisen aber noch Zeit lassen. Dier erste Phase der Anlage wird praktisch nur aus dem Schattenbahnhof bestehen, inklusive der doppelgleisigen Rampe zur mittleren Ebene und einer Kehre am oberen Ende der Rampe.

Ich werde wohl die Weichen im Schattenbahnhof von Anfang an digital betreiben, so das ich die Fahrstrassenunterstuetzung der Intellibox verwenden kann. Hingegen, plane ich die Weichen im sichtbaren Bereich der Anlage analog zu betreiben. Die Anlage ist klein genug, dass man zu zweit schon gut beschaeftigt sein kann, auch wenn der Schattenbahnhof automatisch per Computer betrieben wird. Da die Rampe nun zweigleisig ist, muss ich nicht warten bis ein Zug ganz im Schattenbahnhof angekommen ist, bis ich einen neuen Zug raufholen kann.

So wird das alles funktionieren: All Schattenbahnhofgleise haben einen Zug. Der Computer waehlt ein Gleis, und schickt den Zug auf die Rampe ins Ausfahrtgleis. Bei Bedarf holt man den Zug vom Ausfahrtsgleis und er faehrt in die Anlage.

Die Weichen im Tunnel sind so gestellt, dass es egal ist auf welchem der zwei Gleise ein Zug in den Tunnel faehrt, er kommt so oder so auf dem Einfahrtsgleis des Schattenbahnhofs an. Es wird ein Hilfsmittel/Signal/Anzeige gebraucht, die anzeigt, ob das Einfahrtsgleis frei oder belegt ist. Vielleicht einfach ein Laempchen, eine rot/gruen Anzeige, oder gar ein Vorsignal. Irgendwas das im Kontext Sinn macht, und auf der Anlage ist. Das Einfahrtsgleis beginnt auf der Rampe und muendet in den Schattenbahnhof. Einfahrende Zuege halten auf dem Einfahrtsgleis kurz vor dem Schattenbahnhof an. Von dort uebernimmt der Computer und waehlt ein freies Gleis, in dem der Zug abgestellt wird.

Damit das alles funktioniert brauche ich drei Belegtmelder. Einer am Anfang des Ausfahrtgleises ("Zug bereit den Schattenbahnhof zu verlassen"), einer am Anfang des Einfahrtgleises (stellt Signal auf "Einfahrtgleis belegt, keine weiteren Zuege nach unten bitte"), einer am Ende des Einfahrtgleises ("hey computer, hier ist ein Zug fuer den Schattenbahnhof"). Wenn dieser Belegtmelder wieder frei meldet, kann er das Signal am Anfang des Einfahrtgleises wieder freischalten. Zusaetzlich kann dort zur Sicherheit eine stromlose Stelle sein, um zu verhindern dass Zuege bei der Einfahrt in the Schattenbahnhof kollidieren. Man kann das auch mit 2 Belegtmeldern machen, wuerde dann aber einiges an Sicherheit verlieren.

Jedes Gleis im Schattenbahnhof braucht eine stromlose Stelle am Ende so dass die Zuege wirklich auch vor der Ausfahrtweiche anhalten und Zusatzgeraete wie Rauchgeneratoren abgeschaltet werden. Theoretisch sollten alle Dekoder damit zurechtkommen.

Thursday, April 10, 2008

Order Part 1 and how to operate staging

Today, the first part of an order from EuroRail Hobbies & More arrived. Maerklin 2205 Flextrack and the Uhlenbrock 72600 decoders. It's funny to be in California, unpack the box, and read all the German instruction booklets. I think I don't need any additional flextrack, unless it turns out to be cheaper than regular track of the same total length. Will need to figure out how to properly trim the track to length, as well as how track insulation works with K track. I'm looking forward to watching trains on those nice gentle curves through my scenery ... ok, well, mostly gentle curves I don't have a ton of space to play with.

The decoders are quite small and will fit perfectly in the space where the direction changer switch coil of the locomotives is currently located. I'll wait with the actual digitalization of the locos until the shipment with the Intellibox shows up, so that I can actually test the decoder, too. Meanwhile, I need to get a smaller tip for my
solder iron. The solder pads on those decoders are smaller than I expected...

Since the (hidden) lower level of the layout will be built completely from M track, I still have some time to figure out dealing with K track. The first layout build stage will feature the hidden staging yard and associated ramps only. I will probably digitize the switches on that part of the layout right away to make use of the "Fahrstrassen" support in the Intellibox. I am planning to operate switches on the visible part of the layout manually. Aside from maybe having a computer automatically pick through trains from the staging yard and send them on their way, the layout is small enough to easily keep myself (and another operator) busy with manual operation, especially now that the access ramp to staging has double-track and I don't have to wait for a train to make it all the way down to staging before I can send another train up.

Here's how this might work: All staging tracks are loaded with trains. The computer picks a track sends the train to the outbound track on the ramp. Whenever an operator feels like it, they can release the train from the outbound track into the layout.

The switches in the tunnel to staging are aligned so that no matter which track an operator sends a train to staging, it ends up on the inbound track. There needs to be some visual indication to the operator that the inbound track to staging is occupied. Maybe some green/red light? A distance signal? I'd like something that's on the layout and makes sense in the context. Trains on the inbound track to staging stop before the staging yard and automatic operation takes over. Whenever the computer notices a train stopped on the inbound track, it picks an empty staging track, aligns the switches accordingly and the train proceeds under computer control to the assigned staging track.

For this to work, I need 3 occupancy detectors. One at the top end of the outbound track ("there is a train ready to leave staging") , one at the top end of the inbound track (sets signal "inbound track is busy, no more trains to staging please"), one at the bottom of the inbound track ("yo, computer, send this train to a staging track"). Once that detector shows the inbound track free, it can reset the signal at the top to allow another train in. A safety section can be added to make sure no train can proceed into staging if the inbound track is occupied.

I could do this with 2 occupancy detectors, but would loose a little bit safety and feedback to the human operators, since the wouldn't know when the train actually made it safely into the staging yard.

Each staging yard track needs a computer controlled isolated section at the head end, so that trains really stop before entering the exit switch ladder, as well as any accessories (like smoke generators in steam engines) are turned off. In theory, all decoders should be able to deal with this.

Sunday, March 30, 2008

A raised planting bed in the garden

As planned I built a raised planting bed right after we came back from Germany. It came out really nice. I used an article from Sunset for the material and general idea. The bed is 8x4ft and a good 1 foot high. I used pressure-treated fir instead of redwood, since it's made for soil contact, and will last longer than redwood. It also was much cheaper. All that's missing now is the planting dirt.

Here are some more pictures

Where do I get 32 cubic feet of bulk dirt in the South Bay? And how do I get all that dirt to my house?

Update:
Home Depot is selling bulk material (rocks, soil, etc.) delivered to your door step, ... errm backyard. Pricing for soil is about 20% of what you pay for packaged soil at the store. The catch? They charge $60 for delivery, so my 32 cubic feet come out to ~$96 delivered, vs. $76 if I get the cheapest soil they have in the store. Nice idea, but I don't need enough that this is worthwhile.

In the end I got only 18 cuft of garden soil, and Patricia picked up some awesome compost at one of the mushroom farms in Morgan Hill for free.

Friday, March 28, 2008

Viva Die Bahn!

As I arrived at Stuttgart Hbf I went straight to "PresseCenter", got a little bit reading material, was minding my own business, not expecting anything bad to happen. My mom drove me to the station, and helped with the luggage.

As I got to the platform, however, they showed those beautiful notices on the destination signs: "Dieser Zug verkehrt heute nicht" This train is not in service today. ... uh ... huh? I have a ticket with reservation for that ICE 576 I even have a seat reservation!

German Bahn helpfully placed a little lady at the platform, "next connection to Mannheim 13:51 from track 9". But I want to go to Frankfurt Airport! "Frankfurt Airport 14:05, change trains in Frankfurt Hbf". Ugh. 2 large suitcases, one carry-on, and my laptop backpack. No way I'm going to change trains.
The information kiosk confirms that the ICE to Mannheim actually continues on to Frankfurt Airport. Good. Now I just need the ticket changed to the other train. Long lines at the "service point", only one guy behind the counter. I go down to the "ReiseCenter", get in another long line... at least it's serviced by 5 counters. 10 minutes later I'm back at the platform, and say Goodbye to my mom.

From talking to other passengers it appears that the tracks were closed. I'm guessing there was an accident, and the tracks were closed for the investigation.

I tried to see if T-Mobile hotspots on ICE actually work ... hmmm. doesn't look like it. I get an IP address, and can talk to the (squid) proxy on the train, but no connection to the outside world. Looks like either there is no connection, or their DNS server is borked.


United Airlines from Frankfurt

After a joyous 70 minutes in the vestibule of an ICE, sitting on top of my suitcase, I arrived at Frankfurt Airport. Frankfurt is hands down the world's worst airport when it comes to signage. It's not that they don't have signs. Actually, there are a lot. However, you need to know how to interpret them. It doesn't help that my United flight is leaving from a part of Hall C that is under re-construction.

Here is my route from the doors of the train to the seat in the waiting room:
- exit train, get luggage cart
- walk around the escalators
- get on long escalator to mezzanine level of the Fernbahnhof
- continue on short escalator to main level of Fernbahnhof [there is a nice glass roof construction here. Reminds me a little bit of the roof at Munich Olympic Stadium.
- enter Fernbahnhof main corridor
- head towards airport, do not stop at Rail&Fly Check-In counters [they are Lufthansa only, boy would *that* be convenient]
- continue through the corridor, avoid other passengers, various small and large booths along the way
- Be puzzled at the end of the corridor: Turn right to Terminal 1, Hall A, or left to Terminal 1, Halls B+C, and Terminal 2.
- Check poster on the wall. Aha! United is in Terminal 1, Hall B.
- Turn left, down the long escalator, cart nose down.
- Watch that carry-on bag! It might slide off the suitcases and hit someone!
- Continue straight ahead, ignore signs to Terminal 2, and continue on short escalator down to the dungeons [I think the reason why they didn't just extend the dungeons to the Fernbahnhof is that there is a large building in the way (parking?) ]
- Watch the really short end of that escalator, climb a few steps backwards on the escalator for more leverage to push the cart over the bump at the bottom of the escalator.
- Make a U-Turn to avoid hitting the wall right after the escalator [Be happy, that you didn't have to take the route in the opposite direction. That escalator was out of order... ]
- Hang left and navigate through cross-traffic of people leaving the airport for the regional train station, towards a rather narrow pair of doors back into the airport. Those folks show no apparent interest for someone trying feverishly to keep his luggage cart on track.
- Get on a long escalator up to Departures in Hall B. Where are the United counters. Good thing I remembered the counter numbers from earlier (501-507). Eventually, I found the United counters in a corner dominated by almost 50 Lufthansa counters.
- Be pleasantly surprised that there is absolutely no line at the United counters. The counter personnel was visibly bored when I arrived. My two suitcases weighted in with a total of 47kg. No complaint from behind the counter. Phew.
- Continue on to Hall C, hang left through a barely marked door into a hallway with a few stores.
- The end of the hallway is fenced off, turn left following signs to C2-26
- Finally, the security check ... uh, wait. All doors are closed? My face must have looked pretty dumb. So the security check is closed. What now?
- Eventually I see more signs to gates C2-26 that lead into departure hall C [huh???] , through the hall into a new hall that was apparently added later and is not in operation yet.
- I turn around head back to the departure hall and get a book and something to drink.
- Walking by finished but empty counters I continue through the new hall, hang right, past closed store fronts with workers still building the stores inside.
- Make a sharp left turn and hang right into a somewhat dimly lit corridor with open ceiling, past construction walls.
- The coolest part was a large tarp hanging under the ceiling with a drain pipe into a waste bin. Apparently water is leaking from the roof into the corridor.
- Continue to the end of that corridor and hang left into another smaller corridor, down a short escalator.
- Finally, the security check for gates C7-9.
- No-one in line, I'm through in no time and find myself a seat near C7.

Boarding starts in 20 minutes. Time to pack away the computer and get in line to the gate area.

Saturday, March 15, 2008

It's gone

The big layout of my childhood no longer exists. Here's how things went down...

Tuesday: 2h, most of catenary.

Wednesday: 2h, more catenary, the first sections of track on the upper level.

Thursday: 3h, bridge, most of the upper level, start with freight area.

Friday: 5h, ramps, main station, rest of freight area and remaining visible track.

Saturday: 3h, dismantle mountain to get to the tunnel tracks, remove tunnel tracks;
4h, box all material, and clean out parts from base plywood.

Sunday: 1h, removing cables from the underside of the layout

16 working hours to take this layout apart cleanly, and pack away salvageable pieces. The saying is true, it's much easier to destroy than to build...

Left to do is cleaning out some more of the electrical from the underside of the layout, as well as removing some control switch boxes for a temporary setup back home.

Wednesday, March 12, 2008

Decoders

In most of the forum posts and descriptions I read, people recommend converting Maerklin's "Allstrom" motors to a regular DC motor (e.g. using Maerklin's "Hochleistungsmotor" conversion kit), or replace the motor altogether, and then use a decoder for the Motorola format (such as Maerklins c90 or c91 decoders) to convert them for digital operation. The conversion kit comes with a decoder and seems to go for ~100 Euros.

While browsing Viessmann's catalog I found a decoder that's made specifically for Maerklin's "Allstrom" motors (Viessmann 5274). The decoder is actually made by Uhlenbrock with part number 72600, is functionally equivalent to Maerklin's c91 decoder, fully programmable using CVs, with speed regulation, and has 4 function outputs. The nice thing about this decoder is that apparently you don't need to do anything to the existing motor. Just replace the direction changer switch/solenoid with the decoder, re-solder a few wires and you're set, provided the loco runs fine mechanically. Sounds too easy to be true. The decoder runs on regular AC, and Maerklin Digital (Motorola format) tracks, and costs around 45 Euros.

I'll see if I can find that decoder around here and try it out with one of the Diesel or Electric locos we have.

And yes, this is a hobby that can get expensive very quickly ... sigh

Update:
Turns out eurorailhobbies.com is selling the 72600 decoder for $47.99. No point trying to get them in Germany. Their pricing on new Marklin K-track is also very competitive compared to German second hand retail, or online retailers in Germany, especially taking into account exchange rates. I see an order in the near future...

Tuesday, March 11, 2008

Starting to dismantle the old layout

It's strange to take apart something you spent months and years to build, and help to build, many, very many years ago. Last night I dismantled the catenary of the family layout. Next up are a few left-over catenary masts, and the semaphor-style signals. Then we'll move on to vacuuming the dust from the layout and brush off dirt from all tracks, followed by removing all the track. In parallel I'm surveying locos and will pick a few first victims to get a decoder.

In the ideal case this will all be done before I'm packing my suitcase again and I'll take enough material back home to start experimenting with running locos and trains using digital controls. I'm particularly interested in ways to control digital trains using analog signals, since I'm planning to only digitize operating trains, but leave controlling switches and signals manually. I might add computerized control later (particularly in my hidden staging area), but we'll see about that when it's time.

Sunday, March 02, 2008

Sunday

It's nice to be in a European city again. There is a working public transit system that people actually use. In the evening there are regular people out on the streets, enjoying themselves while they are trying to decide which restaurant to go to. People walk to work (yes, I know, strange concept). But the thing that hit me the most:

The chime of church bells on Sunday morning. I don't know how to say this, but it makes me happy. The sound of the bells over the background noise of the city... it sounds right.

Saturday, March 01, 2008

Layout Room Revisited

I guess it was hard to follow my explanation of what the layout room will look like. Tonight I spent some time with SketchUp to see if I could master the program at least to the level of getting an image of the layout room in our garage. After quite some swearing I produced this.



That came out quite nicely.

The image shows our garage with part of the side wall not modeled. The front of the garage is to the left. I marked the platform with the raised floor in green. The yellow beams are 2x4's that will keep the layout out of sight from the street. I'll mount regular drywall panels on both sides. The 2x4s don't connect to the surrounding walls at all. However, they do line up with the fairly massive beam supporting the upper story of the house. They are only screwed to the platform, so that I don't penetrate the garage firewall.
Just for fun I added washer and dryer, water heater, and the furnace on the left hand side of the garage, as well as my work-bench and various cabinets in the back of the garage.
The door to the inside of the house is between the platform and the large white cabinet.

The area marked in red is the space for the car.

Tuesday, February 26, 2008

When an express line is not

United has this new feature on united.com to allow international travelers to check in and print their boarding pass online. This is really common for domestic flights for years now, so I was excited to find out I could do this for my SFO-FRA flight yesterday, too. ...

Yeah, things are never that easy. I got suspicous when the printout for SFO directed me for domestic flight to the "united.com BagCheck kiosk", but for international flights "proceed to the International Terminal".

We arrived in the International Terminal to the tune of a LONG line waiting for check in to United Economy. They had a whopping TWO counters serving that line. However, there was one counter with a separate line labeled "Express line, United.com BagCheck". Only 5 people were waiting there, so I got into that line. ["Pheww, thank God I only need to print the label for my suitcase"]

After 10 minutes the woman at the counter was finally done with that one passenger there, and moved on to the next. 10 minutes later she was done with that one and moved on to the next. ["What the heck, this is supposed to be an Express Line???"]

When the couple ahead of me got to the Express counter, she briefly talked with them and then GOT UP AND LEFT. This was after I was waiting for about 30 minutes in the Express Line.

Next thing that happens is the baggage guy walking up to me and said, "I'm making a single line. Please use the other line. " - "no, I'm in the Express Line. I only need to get the baggage label printed." He shrugged and walked away. Meanwhile there were about 10 people waiting in the Express Line behind me.

Nothing happened for 5 minutes. There are still only 2 counters serving the Economy class line. Eventually, a couple passengers from the Express line get antsy. One of the agents behind the counter complains to the baggage guy, "I told you to form one line!" and to us, "you have to get into the regular line", turns off the Express Line sign at the counter, and starts to walk away. We see "Counter Closed", which is met with instant and loud protest from the folks in the Express Line.

Finally, one of the agents from the Economy Line comes over, asks how many passengers. Closes the Express line behind us (HALLELUJA), removes the extra BagCheck sign, and starts processing the line.

"You have to print your baggage tag", he tells me, points to the little kiosk in front of me, and "I'll be back". The kiosk scans the printout from the online check-in, and prints the baggage tag behind the counter. When the agent finally comes back he takes the tag, puts it on the suitcase, verifies ID, and we are done. Less than a minute of actual work. He stayed at the counter for the other passengers behind me. They got processed similarly quick and the line was gone in no time. Overall I was waiting 45 minutes in the "Express Line".

I'm still puzzled by what that first agent was doing that took her 10+ minutes per passenger.

If I had this experience with US Airways, I wouldn't have been surprised. However, United usually has their act together at SFO and I've never seen them this disorganized before. Bad day? Or a sign of the continued strain on their operations and profit margins?

Thursday, February 21, 2008

I Fly - for real

This was a cool team outing. Yesterday we went to ifly in Union City. Those guys operate a vertical wind tunnel. You get dressed up, and then ride on a air stream that's blowing bottom up at a speed of 65-80mph.





Click on the thumbnail image to see the video. I'm the guy in the orange suit flying about 12 minutes into the video.

It's quite an experience. It's not like being weightless, you very much feel the wind pushing you up. It's loud (they made us wear earplugs), too. You can control motion fairly well with slight adjustments of legs and arms. The flight instructor didn't have much to do while I was in the air... and it was FUN. I want to do this again, though this is a bit on the expensive side.

Monday, February 18, 2008

Liftoff!



Today I finally cut the base beams for the layout platform from some wood left over from when we had the ceilings re-done. The rectangle is about 8ft by 9ft (~240x260cm). A nice size. Not too small, and not so big, so that I'd never finish building that thing. I will need to add a couple 2x4's down the center to hold the plywood sub floor of the platform.

I'm pondering whether I should use pieces of the old Pergo laminate I removed from the dining room, or put carpet on the platform. The carpet will be warmer and nicer, but it gets dirty easily, and the Pergo makes it easier to find small pieces that fell to the floor. I have some time to figure this out though...

Monday, February 04, 2008

Layout Room

I mentioned before in various places that I'm planning to build a room for my planned train layout.

The origial idea was to simply take a corner of the garage, install a raised floor on 2x4 wood beams with insulation, and 2 finished walls around that using regular wood frame construction. The existing walls of the garage corner would complete the room. Add a door into the garage in one of the new walls and voila there is my layout room. No windows, and at 7.5 x 8 ft in size not exactly big, but quite sufficient for a nice HO layout. I would need to extend an existing 15amp power circuit into the room, as well as run a new 20amp circuit through existing piping to make sure there is enough oompfh in the room for lighting and running trains. Although I'd probably get by just fine with the one 15amp circuit since the layout is not that big, it's easier to get the power stuff out of the way in the beginning, so I don't have to deal with it later.

I contacted the building permit department of the City of San Jose what I would need to do in order to make this a legal reality. They would classify this as an "unheated storage closet" and pointed out which kind of lighting I would need (since this is still considered garage space). However, after some more emails back and forth it turns out they won't approve such a setup at all, because each single family home in San Jose needs to have two covered parking spaces 18x9ft. The room will take over part of one of the parking spots in the garage, so the city building inspector won't even look at this for approval. Whoops. ...

Our home owners association won't allow any outbuildings in the backyard or sideyard area, nor would they allow me to build a new garage where the side yard is now (not even speaking of the cost of such an endeavour). So, a permanent solution is out of the window.

Moving on to the next idea. Start the same way, build a wood platform for the layout, but instead of building a real room, towards the front of the garage attach a stud wall to the platform. Attach about half of the length of the other open side. Those two walls will support each other and I should be able to build this in a way that I can disassemble it when and if we move. All power connections will be wired into the platform (with outlets and everything), but plugged into regular wall outlets. That way I don't need to worry about building codes as much since the whole setup would be considered temporary from an electrical perspective as well.

As a side-effect I can push out the wall facing the garage front a few more inches than if I had mounted it permanently since I no longer have to pay as much attention to existing studs in walls and ceiling to line up my new wall with. I will still install the additional electrical circuits.

Since I now can no longer rely on surrounding walls for support, I need to spend some more time on coming up with a structure to properly brace the walls attached to the platform, since I don't want them to topple over during an earthquake and crush the layout, or -- worse -- me.
On the positive side, I can use that support structure to anchor the layout to as well.

Wednesday, January 16, 2008

Movies with a twist

I like movies that keep you on the edge of your seat guessing what's going to happen next. Some examples...

Friday, January 11, 2008

All bacon burger anyone?

Found this while browsing mailing lists...
The Deepfried All Bacon Burger

Friday, January 04, 2008

Dining Furniture

The last couple of days we were furniture hunting in the Bay Area. We visited Viking Trader, a locally-owned store in Berkeley and also stumbled upon a branch of Scandinavian Designs.

Viking Trader has gorgeous furniture. Modern, clean lines, but not totally ridiculous and kid unfriendly. Lots of Danish pieces. We loved an extendable oval table from Skovby in cherry wood, with a matching set of chairs.

Skovby has a bunch of inventive tables that can grow or extend without having to add pieces that need to be stored somewhere. Turns out we really liked their cherry finish, much to my surprise. Whenever we saw cherry wood before in kitchens, etc., it was stained very dark and looked just horrible imho. Their tables are finished in light cherry, which gives the table a very warm and friendly look. [Did I really just write that tables can be friendly? Sheesh...]

Scandinavian Designs is a chain store, but actually looks more like an european furniture store than any other furniture place I visited in the US. We found another Skovby table there that we liked, also in cherry, which was substantially cheaper than the one at Viking Trader.

We ended up buying a floor model of that table from the SD store in San Jose (this one), along with matching chairs in cherry (those). They will deliver early next week. I'm really looking forward to it.

I might finally start this weekend putting in the laminate we bought for the family/dining room back in September. Since our regular dining set is still used for staging in the old house, we had the patio furniture in the family room for the last few months, and I didn't feel like ruining the brand-new laminate with those chairs...


As for the couch table in the living room... We resolved that there is nothing on the market that fits our needs perfectly and I'm going to build one myself.

What's up with banks these days?

TechCU messed up the rate on my new home equity line of credit. The statement I received has a much higher rate than the paperwork I signed. I'm seriously annoyed and need to yell at someone.

Smith Barney's web site for my stock options is a piece of poo. Still. ... It's slow, clunky, ugly, and just hard to get anything done.

KeypointCU's Web site is very old-school and disorganized, but gets the job done. Maybe I'm just used to it.

Chase's credit card site is utter crap. Thank God I don't use it all that often. The best thing about that card are the regular $25 Amazon gift certificates. I have no good use for airline miles, but I do for Amazon coupons.

On the positive side...

Vanguard is great. Good returns, low management fees, no fuss. Easy to navigate and do what I want to do. Both for 401k and brokerage accounts.

Fidelity is ok. I had a 401k with them through the first US company I worked for. I don't use them as much anymore as I used to, but they've always been helpful and easy to deal with, both on the Web and by telephone.

For a no-fees german checking account paying interest on deposits, NetBank best serves my needs.

A good place to park some money in the short term (like when preparing to buy a house) is an ING Savings Account. Decent interest rate, and very easy to get money in and out.