093f9da2bf2b9ede5b6a0169b7fe41d3531fb4fa
[wiki.git] / JuneBlog
1 == June 2007 ==
2
3 === Sat, 20th ===
4
5 ==== Random Birthday Paradox ====
6
7 I'm writing you this from ChrisBalls's house.  cjb for IRC friends.
8 Yesterday was his wife's birthday.  And also the birthday of somebody
9 else too.  That's where the title came from: http://en.wikipedia.org/wiki/Birthday_paradox .
10
11 We're having a lot of fun and getting drunk very quickly.  Someone
12 came with a box of Avocados with a picture of Avogardo saying:
13 "let's Party. arriba."  It's the things like these that will make it
14 very sad for me to leave this nation.
15
16 Food is vegan, and incredibly tasty if you ask me.  There are people
17 from the office as well as other nerds from other places.  One guy
18 showed up with a tee saying: "shut the fuck up and write some
19 code!".  We're listening to TheSoundOfSilence from Xyzzy's (*) mp3 player.
20 That's one of my favourite songs, but I thought it was from the Beatles :-)
21
22 (*) We'll call her Xyzzy 'cause she doesn't want her name to end up on
23 Internet.
24
25
26 Xyzzy: remember...all is not as it appears to be and the best place to hide something is in plain sight
27
28 Bernie: hmmm... then I guess I'll hide at OLPC and the USCIS won't find me :-)
29
30 RandomBirthdayParty.jpg
31 RandomBirthdayPartyHouse.jpg
32 RandomBirthdayPartyTv.jpg
33 RandomBirthdayPartyHall.jpg
34
35
36 === Tue, 26th ===
37
38 ==== Long time, no C++ ====
39
40 The title was inteded to be a joke on "long time, no see", because I've
41 not been updating the blog for some time.
42
43 But this reminds me that, yes, indeed I've not been doing any C++ for a few
44 months now. That's probably irrelevant to most of you... but this is my blog
45 and I get to decide what goes in.  Except when *you* edit it.  Damn WikiWikiWeb!
46
47 The reason we don't have any C++ in the OLPC is that, in the Linux world,
48 C++ never flied that much.  The kernel hackers say it's not well suited
49 for kernel programming, and I partially agree.  Of course, C++ can't be
50 used for glibc and POSIX system libraries.  Even MicrosoftCompany uses C
51 for those.
52
53 This leaves us with three more layers to exclude: windowing server,
54 desktop and applications.
55
56 X11 is written in C for historical reasons.  Since its internals mostly
57 deal with interfaces and specialization of interfaces, C++ would have
58 been very beneficial.
59
60 Gnome also uses C, for no good reason.  KDE is older than Gnome and
61 was entirely written in C++, although I clearly remember g++ 2.7.2 being
62 quite a painful experience.  The GObject crap in glib and GTK is expecially
63 ugly, hard to use and error prone due to lack of good OOP support in the
64 language.
65
66 And applications?  Well, applications in the OLPC are written in Python
67 anyway, like many higher level applications in regular Linux distros.
68
69 There's a few exceptions: Mozilla is written in C++ and eToys is written
70 in SmallTalk.  I don't know about TamTam.
71
72 '''rasky:''' in fact, with the raise of scripting languages and fully-featured
73 platforms (like Java's), using C++ for doing almost *anything* is the wrong
74 choice. As you said, system programming wants C for several good reasons, and
75 almost anything else can be done in scripting language. I think one last thing
76 that C++ is still good today at is high-performance libraries (eg: math
77 libraries), where you don't want to use C and you need a lot of performance.
78 But C++ is feeling more and more like a dead horse...
79
80 '''marco:''' About writing kernels in C++: 
81 http://okmij.org/ftp/cpp-digest/toy_OS.txt
82
83 === Wed, 13th ===
84
85 ==== Under pressure ====
86
87 Miletstone B4 was expected to ship today.  I don't care because my work
88 is for due for Trial2.  But many of my colleagues were extremely
89 under pressure.
90
91 There is one last bug with some laptops not coming out of resume.
92 And it's still not fixed at 21:00.  Kernel hackers are scraping
93 their heads.
94
95 We had pizza together and, seeing so many tired faces, I casually asked:
96 "when do we close for summer?".
97
98 People look at me puzzled: "What do you mean exactly by ''close''?".
99
100 "Err... companies don't close for summer here in the States?".
101
102 They look at each other, trying to guess if it's some kind
103 of joke: "Why would companies ever ''close''?  They're not schools."
104
105 I quickly added: "Oh, I'm asking because, you know, most
106 companies in Italy do close a few weeks for summer".
107
108 At this point everybody laughed like if companies closing
109 was an extremely funny idea.
110
111 This is one reason why we have a strong economy here: people
112 are extremely committed at work.  Will I ever catch up?  Hope so.
113
114
115 === Tue, 12th ===
116
117 ==== Eutelia Voip ====
118
119 I have a new public phone number: {{055-3984187}}.
120
121 It's Eutelia's VOIP service, formerly Skypho.  People told me
122 that the quality is good.  All the previous phone numbers remain
123 valid.
124
125 I've also switched from Ekiga to a SIP client that doesn't
126 totally suck:
127
128  http://www.twinklephone.com/
129
130 Actually, the user interface is horrible.  But if you close
131 your eyes, it works beautifully.
132
133
134 === Mon, 11th ===
135
136 ==== Sleeping At The Office ====
137
138 We have a futon here.  And it's quite comfortable.  Sleeping
139 at the office has its pros and cons, hereby listed by Dillinger:
140
141 OfficeSleep.jpg
142
143
144 ==== Bender Down ====
145
146 There has been a longstanding outage of our wiki server since yesterday.
147 Today, my sister finally fixed the problem by rebooting both the modem
148 and the computer.
149
150 http://bender.codewiz.org/bender.jpg
151
152 I'm planning to move bender here one day, so I can properly maintain
153 it, but first I need to consolidate my visa position.
154
155
156 === Fri, 8th ===
157
158 ==== More laptop news ====
159
160 Available here:  http://wiki.laptop.org/index.php?title=News
161
162 Some links to videos in the end.  There's not much about me, mostly because I've not done
163 much this week besides chasing bugs.
164
165
166 ==== Father and son private business ====
167
168  E' una settimana che non scrivi. Dove sei sparito? -- '''Babbo'''
169
170 Avevo problemi di ADSL piuttosto gravi su questo server... ora e' a posto, ma oggi ho da finire delle cose urgenti.  Vedo di scrivere due righe nel w/e, scusate tanto -- '''bernie'''
171
172 === Sat 2nd ===
173
174 ==== Food FUD ====
175
176 Two days ago I went to the local pub for the HappyHour... the HungryHour actually.
177 And I ordered this tasty dish of Cheese Bacon Fries!  Yummy yum!
178
179  http://gastrologica.com/cheesefries.jpg
180
181 Ok, it's a disgusting blob of pure fat.  And the infamous Cheddar
182 cheese, also known as "solid cholesterol":
183
184  http://www.dann-online.com/HappyHour/lrg93.jpg
185
186
187 If you're looking for something healthy, you can always try a
188 salad.  Just make sure you don't get a Caesar salad with its
189 ultra-fat dressing sauce:
190
191  http://www.kosherblog.net/media/caesar.jpg
192
193 You may also want to avoid hot dogs drowned in chili sauce:
194
195  http://onokinegrindz.typepad.com/ono_kine_grindz/images/WaffleDogwithChili-thumb.jpg
196
197 American pizza is edible and even good... But I recently discovered that
198 Pepperoni aren't vegetables, but a kind of hot salami:
199
200  http://imagecache2.allposters.com/images/pic/PTGPOD/409409~Close-up-of-Pepperoni-Pizza-Posters.jpg
201
202
203 And, finally, beware of food franchises pretending to be Italian.
204 There are many:
205
206  http://www.emich.edu/dining/images/sbarro/sbarro.jpg
207
208
209 === Fri 1st ===
210
211 ==== Bernie is going to write something here soon ====
212
213 Yes. Definitely.