-
99 bottles of beer and hello world programming examples
I’m a sucker for different programming languages, especially in trivial and whimsical implementations… 99 Bottles of Beer in 1200+ programming languages Esoteric Programming Languages wiki – contains Hello World samples. The hello world collection (420+ languages) Hello World project List of hello world programs on Wikibooks
-
Found some Gtk/Ruby signal stuff.
(For gtk2+ruby, I used the Windows installer package) For some reason, I'm trying to learn a portable language/toolkit. First, I had to find the correct signal to connect to. Looks like focus_out_event is it. currentMileage.signal_connect("focus_out_event") { mileagePerDay.text=((targetMileage.text.to_f – currentMileage.text.to_f) /(Time.parse(targetDate.text)-Time.now)*3600*24).to_s} signal_connect vs signal_connect_after… apparently, improper usage of signal_connect (for "focus_out_event") will generate the…
-
A better 20 miler than last time
Elevation chart: Got about a 10 am start, and temps today ended up warming up quite a bit faster than the last few days–no risk of frost this morning either. Still, the temperature was in the low 50s and sunny to start–a little chilly for a sleeveless running shirt. By mile 15, I was happy…
