2004-12-07 19:02

Not a calculator

I have been playing with this code and it's been lots of fun.

I've hacked it into a functional spreadsheet in (according to eric3) 508 lines of non-doc code, of which 244 are generated by pyuic.

Here's my code so far (requires PyQt). Give it a look, I think it's kinda nice.

The only hard part I wrote (at least hard for me) was the cell dependency and recalculation support.

There's a test file you can use, too.

It is trivial to add functions you can use in the cells, just lookup python docs for eval() and check engine.py.

To use it, unpack it, and from the directory it creates run python ssheet.py

I don't plan to make it a real spreadsheet, but it should be fun to hack on :-)

2004-11-26 14:21

I remember worse!

Funny article at GlitchNYC about looking at KDE 2.0 today.

But hey, I wrote a theming engine for Qt 1.x, so I'vee seen, remember, and even mucked up with worse stuff :-)

2004-11-25 17:58

New favourite palm etext reader

I have been palm-less for a while, because my charger was broken.

So last week I bought a nicer charger, which works from the USB port, instead of Sony's powerbrick-from-hell (which you have to carry around if you ever want to sync).

And since all my data was gone, I looked around for etext reading software again.

Using a CLie means the latest Weasel Reader doesn't work right, and plucker is a pain in the ass. It's cool if you want it to self-update, but I don't. I read static books.

So, I was using TiBR, which is a basic, but nice palmDOC reader. Most of the free ones work like crap on a Clie (I mean you, weaselreader), but this one is nice.

But I got a bunch of zTXT docs (converted when I had a m100 and read using weasel), which TiBR can't read.

Enter PalmFiction a nice and fancy reader than handles palmDOC and zTXT. If it handled plucker I would be too happy ;-)

But really, a very nice thing. Don't be scared by the page in russian, just get it and install it ;-)

Only niggle so far: can't choose a smaller-than-normal font.

2004-11-25 10:24

Interview at KDE Hispano

Late, but linked: I was interviewed by one of the nice guys at KDE hispano, something like Tink´s old interviews. In spanish.

2004-11-23 15:25

Cat news

Brand new cats.

2004-11-16 00:50

Weird stuff at yahoo

I have been playing a bunch of their Java games that say they are incompatible with unix & macintosh computers.

They work great, sound and everything, except for the highscores (requires IE 4.0 or later). Since I am not even spoofing the user agent, I am willing to guess there is a chance of that working too.

But why is yahoo saying it doesn't work? I have not a guess of a hint of a shadow of a reason.

2004-11-15 02:20

On speaking and slides

As I mentioned before, I was at the 3rd CafeLUG event on friday and saturday.

It was a pretty large event, roughly 1300 pople, 63 conferences.

I had two of my own, and here's how they went:

Friday: The PyQt/PyKDE one. Audience: about 50 sitting, 15 standing. I had no time whatsoever to prepare this. But I was luky enough to have someone (thanks Cristian!) lend me a notebook, and so I spent the previous conference (pf/OpenBSD) working on mine :-)

I kept it on a low level, nothing too complicated, since I only had 60 minutes, but the audience seems to have liked it. Or at least they found my attempts at explanation funny.

Anyway, noone was disgusted enough to tell me to my face, and I had a general feeling of it having been good.

I was able to show a quick do-nothing app in 20 lines of code, and show signals and slots, and really really push the idea of interpreted languages as better for hobby programming (which I think is the right path). Not too many questions right then, but about a dozen kids attacked me with questions on the hall after leaving.

Saturday: My generic KDE-for-beginners speech. Audience: 100 sitting, 10 standing. I was a bit too heavy on the philosophical, but it went down nicely. Several of the guys from friday's PyQt session were there, so more evidence it didn't suck too badly.

It was fun, people were surprised by Ogg-ripping from Konqueror as usual, some fun, several questions.

All in all, a nice couple of sessions, and I think I did well, which encourages me to do it more often. Who knows :-)

2004-11-10 15:16

What linux needs on the desktop is...

... oh, screw it, why not say what it doesn't need? It's better for my blood pressure.

  • It doesn't need Be refugees whining about how BeOS was so awesome and Linux desktops suck. You know what, guys? If BeOS was so cool, and Linux sucks so much, how come BeOS is dead? Now put a sock in it and go practice your OS-necrophilia.
  • It doesn't need windows users saying "it's not like windows, it sucks". If Linux was just like windows, you would say that there is no reason to switch, so put a sock in it, because you can't have it both ways.
  • It doesn't need Mac users saying how there's no point working on it because OSX is already as good a unix desktop as there's gonna be, so why bother?. Put a (designer) sock on it, because in order to use OSX you have to buy an ungodly expensive (except the 12" ibook, that's kinda cheap and cute) computer that provides only adequate performance, and I am a cheap bastard.
  • It doesn't need old unix gurus explaining how there's no need to work on KDE or GNOME because Window Maker is lighter, and all that's needed is a way to keep their xterms sorted. Put a sock in it, because xterm sucks, Window Maker is featureless, and you can't do anything useful for a regular user with just xterms and Window Maker, so you are comparing apples to apple orchards.

Most of all, it doesn't need any "What linux needs on the desktop" editorials.

On other news, I will be speaking about Linux on the desktop at the UADE in Buenos Aires, Argentina, this saturday, and about PyQt/PyKDE programming this friday.

More information at the CafeLUG site. If you read it here and mention my blog, I will pay you a beer (offers limited to a maximum stock of three beers).

2004-11-04 18:39

Cool applications

Fwbuilder was one of three GTK applications I used (inkscape and gimp are the other two).

And today I noticed that version 2 is Qt-based :-)

I like it a lot. In fact, as I say in my classes, it's the first firewall configuration application for Linux I've found that is actually easier than editing a script, since almost every other one I've found is a glorified rule editor.

Bonus cool application: p3scan

I found about this today, when a customer asked me for a way to viruscan his incoming mail. Which is stored in a bunch of accounts all over the internet :-)

For webmails, a squid redirector does the job, but for pop3? p3scan is completely transparent (only requires a tiny configuration and a NAT rule) and for what I tested it, works just fine.

I am using it along with clamav, but it also supports Kaspersky, F-Prot, and almost anything, really.

Cool gadget, and it's just a 72KB download.

Contents © 2000-2019 Roberto Alsina