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