Kafkesc Updates: Docker, __consumer_offsets, byte parsing and Rust

While I haven’t taken the time to blog since the Ksunami announcement, I have been ploughing away at various projects inside the Kafkesc organization, and also continuing the side-objective of growing my Rust skills. So, here is a recap of a few things I have released since. And also, how is it leading to a substantial growth in my Rust knowledge. Ksunami gets an official Docker image In an attempt to make adoption easier, I setup ksunami-docker so that running ksunami can be ever easier; in Docker, Kubernetes or wherever you need. For example: ...

March 19, 2023 Â· 6 min Â· 1216 words

Getting C++ Threads Right

Hans Boehm has given a very interesting lecture on “Getting C++ Threads Right” at Google last month. The lecture is available in video format from here ABSTRACT The advent of multicore processors has generated profound debate on the merits of writing parallel programs with threads and locks. Nonetheless, for many application domains, this remains the standard paradigm for writing parallel programs, and at the moment, there is no apparent universal replacement. And it is the focus of this talk. Somewhat surprisingly, there are a number of often subtle, but generally fixable, industry-wide problems with current approaches to threads programming. We’ll focus on probably the most widely used environments, consisting of C or C++ with a standard threads library. Problems span the spectrum from system libraries through language implementations through supporting hardware. They get in the way both in that they often make it difficult to write 100% reliable multi-threaded software, and in that they confuse even the basics of the programming model, thus making it hard to teach. A surprising number of “experts” do not understand the basic rules. Arguably, these problems really need to be addressed to even allow a meaningful comparison to other parallel programming approaches. Since solutions to these problems generally require a coordinated industry effort, we helped to persuade the C++ standards committee to address them by pursuing a coherent approach to threads in the next C++ standard. The talk will outline some of the proposed solutions, and give an update on this effort. Speaker: Hans Boehm Hans Boehm is a member of the advanced architecture group at HP Labs. He has worked on many aspects of programming language design and implementation, including garbage collection and concurrency, and he was HP’s representative to the effort to redesign Java’s memory model. He is a past Chair of ACM SIGPLAN, and is an ACM Distinguished Scientist. The slides for the lecture are available from: http://www.hpl.hp.com/personal/Hans_Boehm/misc_slides/c++threads.pdf. ...

January 21, 2008 Â· 3 min Â· 430 words

HTML 5: I still love the Web

Who knows me better, knows that I love the [en:WWW|Web]. So, I was seeking for info about the next generation of web. What I mean with “next generation”? I mean “what we can expect to see in the future”. And the best place, is to go were people (with good skills) go and start to discuss and brainstorm about this stuff. I found a very interesting pre-RFC: HTML 5 Working Draft. All the amazing and cool stuff are coming are there and is pointless for me to report them (just one: Client-Side Persistency!!! COOOOL!). But it’s interesting to see WHO is working on this. I mean, who is ALREADY thinking about what we will have in the “next World Wide Web”. ...

November 22, 2007 Â· 2 min Â· 246 words

Stroustrup: an overview about C++0x

A good programming language is far more than a simple collection of features. My ideal is to provide a set of facilities that smoothly work together to support design and programming styles of a generality beyond my imagination. Here, I briefly outline rules of thumb (guidelines, principles) that are being applied in the design of [en:C++0x]. Then, I present the state of the standards process (we are aiming for C++09) and give examples of a few of the proposals such as concepts, generalized initialization, being considered in the ISO [en:C++] standards committee. Since there are far more proposals than could be presented in an hour, I’ll take questions. ...

October 22, 2007 Â· 1 min Â· 180 words

HiEuro 0.2

Here we are. 0.2. 0.2 of nothing but a “divertissment” which help me to learn better and better the Cocoa Framework, and discover all the magic stuff it does. The release notes is: 0.2 (2007-09-09) * Support for Italian, Spanish, French and German (Thanks to [Manu](http://secretum.neminis.org/)). > * New "Preferences" panel to set the "Default Currency" to convert from/to and the "Default Currency Ammount" to set at the application startup (Thanks to the [Alhandra's](http://alhandra.wordpress.com/) suggestion). > * Remove a Bug in the "German Mark" definition (I wrote "Deutsche Mark" in the English version :P ) > One important aspect I learnt is how to bind Preferences to the User Defaults (the Cocoa default preferences system). Pratically, the one that generates, for every app, a file .plist in your ~/Library/Preferences directory. Unix-Style joined with Apple-Style. ...

September 9, 2007 Â· 1 min Â· 155 words

HiEuro 0.1

First release, first problem. After a lot of research about the standard [en:ISO 4217] (the one that define the “3 letter name” for every currency in the world) and all the symbols of European currencies, I miss one: the [en:Slovenian Tolar]. If someone is able to find it out and, ideally, to give me the relative [en:Unicode_Symbols|Unicode] it will be very appreciated. Also, I’m looking for someone able to translate the name of the different currencies (13) in, at least, French, German and Spanish. Other languages are welcome too. Manu, this call is to you ;) .

September 3, 2007 Â· 1 min Â· 97 words

Let's start experimenting new flavours

I started. What? My “project” of learn how to write (serious) apps for Mac OS X. Using Cocoa. Details on the “official” page: Experiments with Cocoa. Cocoa Butter… What’s the first “experiment”? HiEuro!

September 3, 2007 Â· 1 min Â· 33 words

Google Desktop on (My) Mac

I tried it from the first release, but I was disappointed because of the “heavyness” of the indexing process: all my apps seems to be like “yawning” at every interaction I did. But because I like Google (yes, I said! I like it!) I thought “why don’t give to it another chance?”. I read a post on the Official Google Mac Blog about the latest release (1.1.0.520 (8/31/2007)) and I simply installed it (not a classical Mac OS X installer, but we can forgive this…). ...

September 1, 2007 Â· 1 min Â· 106 words

Better Samba File Sharing in Leopard

I know: Samba is Open Source and you can ALREADY do it by hand (on Tiger too) but it’s quite easier if you have a panel to set up it quicker. Take a look at this: Here is a complete gallery of screen-shots of the latest build of Leopard: 9A527. Source, mela|blog.it.

August 29, 2007 Â· 1 min Â· 52 words

Ubuntu Gutsy Gibbon 7.10 - New Features

Straightaway from OSNews.com: “This article will briefly discuss the new features found within Gutsy Gibbon and hopefully give you a better idea of what to expect when the final version of Gutsy Gibbons is released in October. Some of the more notable new features are a Graphical Configuration tool for X, improvements in plug-in handling for Mozilla Firefox, revamped printing system with PDF printing by default, fast user switching, new desktop search (Tracker) application and the new AppArmor security framework.” ...

August 27, 2007 Â· 1 min Â· 89 words