Ir al contenido principal

Ralsina.Me — El sitio web de Roberto Alsina

Fixing old tutorials

I got a mail from a read­er telling me that he could­n't down­load the sources for Not­ty, the toy app I de­vel­oped in my Rapid Ap­pli­ca­tion de­vel­op­ment us­ing PyQt and Er­ic3 ... in re­al­time! tu­to­ri­al.

So, I checked and was shocked at just how much the serv­er moves had wrecked that ar­ti­cle, which is one of my favourites!

No im­ages, bro­ken link to the sources, no syn­tax high­light­s!

So, I re­jig­gered the thing quick­ly with some search and re­place (thanks re­struc­tured tex­t!) and now it should be up to stan­dard­s, ex­cept that... it's still about Qt3 and I am not even sure it works nowa­days.

Nor­mal­ly that would be sim­ple to fix: change the code as need­ed, make it work, and be hap­py.

But the fun thing about that ar­ti­cle was that it was writ­ten in 3 hours, and it talks about how it was writ­ten in 3 hours. So, I think I may have to do keep that and add a note with a link to a cor­rect­ed/up­dat­ed one, some­day.

If you try to use quotactl on Linux...

Al­ways re­mem­ber to do this:

#define _LINUX_QUOTA_VERSION 2

Or else, your code will break in mis­te­ri­ous ways.

That's be­cause sys/quo­ta.h has this:

/*
 * Select between different incompatible quota versions.
 * Default to the version used by Linux kernel version 2.4.21
 * or earlier (in RHEL version 1 is AS2.1, version 2 is RHEL3 and later).  */
#ifndef _LINUX_QUOTA_VERSION
# define _LINUX_QUOTA_VERSION 1
#endif

Why? I have no idea. But this is true at least on Cen­tos4, I have no clue of this is al­so true for your dis­tro, but it is sooooo wrong :-(

A bit sad about this

It seems that dur­ing the big SVN con­ver­sion some da­ta were lost in com­mit­s.

So, if you check KDE's svn for the re­al­ly old stuff, it has no au­thor in­for­ma­tion.

For ex­am­ple, check this out:

http://web­svn.kde.org/branch­es/KDE/1.1/k­denet­work/krn/

I know I wrote pret­ty much ev­ery­thing there, but you are prob­a­bly not go­ing to no­tice it, and I spent a good cou­ple of years work­ing re­al­ly hard on that thing.

Sure, it was crap, but it was hard-­worked crap, and there is at least one thing I am slight­ly not ashamed of: TypeLay­out, which is still nicer than most tool­kits have, even if it was sham­less­ly copied from Lin­ux­Con­f.

But what the heck, it's old stuff.

Antisocial networking

I joined Orkut many moons ago. I hat­ed it. It was bor­ing, va­pid, and use­less. That was my whole ex­pe­ri­ence in so­cial net­work­ing sites [1].

A few days ago I was in­vit­ed to LinkedIn. Since I had heard some good things about how it was use­ful and let you net­work your con­tacts and leads to busi­ness op­por­tu­ni­ties, I took care to fill in some data, start some links.

So far... if the Ques­tions page (help­ful­ly la­belled An­swer­s, of course) is a rep­re­sen­ta­tive sam­ple of the av­er­age LinkedIn fel­low...

Here are a few ex­am­ples (In the tech­nol­o­gy area):

Does any­one has a doc named stau­to.pdf (Se­curID API (SOFT­ID 2.0)) ?

I can make you one if you want it!

Has any­one else re­cent­ly lost Sprint wire­less cov­er­age? Sud­den­ly, our Sprint Mo­to-Q does­n't get cov­er­age at home.

MM­M­MMkey...

Sure, there are some that are in­ter­est­ing, even if most of those are just too vague or lo­cale-spe­cif­ic or both (What's the fu­ture of dig­i­tal me­dia in In­di­a?)

I did find a few peo­ple I had lost track of, and am sur­prised it keeps on sug­gest­ing I know two peo­ple I ac­tu­al­ly do know but am not in­ter­est­ed in re-find­ing.

But, all things con­sid­ered: it is look­ing like a very slight­ly less use­less Orkut.

Is it a prob­lem with me, or would I find somthing like Ohloh more in­ter­est­ing?

Coming ideas

Nowa­days, the very lit­tle time I have for per­son­al projects is spent do­ing things like fix­ing lit­tle things and adding lit­tle fea­tures to Bartle­Blog [1] and think­ing how I could use GLE and mako tem­plates to cre­ate a cool nerdy tool to cre­ate chart­s.

How­ev­er, I will be hav­ing a lit­tle time for per­son­al projects in a cou­ple of week­s, and hav­ing stum­bled on­to chip­munk to­day re­al­ly got me think­ing.

It's a se­ri­ous­ly nifty 2D physics li­brary. Con­sid­er this de­mo video:

Now, what could pos­si­bly be done with it... I need to re­al­ly think.


Contents © 2000-2022 Roberto Alsina