Baruch Even's blog

A geeks blog

Tue, 24 May 2005

Public Domain Enhancement Act
Category: FreeWorld

LWN published that the Public Domain Enhancement Act has been reintroduced to the U.S. House of Representatives by Zoe Lofgren. This law will partially fix the problem with copyrights that currently run up to 75 years after the death of the author, a very long time. This is important since only about 2% of the works older than 55 are commercially viable so we do not have access anymore to the old works under the current copyright regime.

The idea of this law is that after 50 years the copyright author will need to file a request to keep his copyrights and pay $1. This will allow commercially nonviable works to be released to the public domain and still not annoy the copyright giants too much.

I hope that this law will pass this time, and not be buried in a subcommittee.

Comments ()
What am I doing wrong?
Category: Debian

I tried, I really tried.

<rant>

I published on whatsup, I'm talking to anyone who'll listen. But still, most of the Hebrew related Debian issues, I hear from other sources and not from the users. I obviously don't have enough time to read all blogs and be on all boards and mailing lists, but can't people at least send me a note when there is an Hebrew bug in Debian, or a package that can be added?

The latest example is aspell-he, I've read on a blog, that there is support in aspell for Hebrew spell checking. And was never notified by anyone on this new addition. And I've already added hspell and myspell-he once I became aware of them. hspell through linux-il mailing list, and myspell-he from a user filing a wishlist bug report on hspell.

If you know of an important Hebrew related application that you want to see in Debian, please let me know. I might not be able to handle all of them, but I can delegate some of them to Lior Kaplan :-)

</rant>

Comments ()
Planet FOSS-IL
Category: FOSS-IL

There was some talk about a Planet for Free/Open-Source Software, but none was setup. So I struck one up in about 20 minutes, searching for feeds was the biggest issue. Linmagazine really need to fix their website usability wise. There are no feed links, not even in the user pages.

Anyhow, I've got some feeds now, and the Planet will update every two hours.

Here it is: Planet FOSS-IL.

Bugs:

  • Bug 1: Shachar Shemesh was notified that his blog looks like gibberish through the feed. His feed is published as if it is in ISO-8859-1 encoding.
  • Bug 2: The titles for Hebrew blogs are left aligned and not right aligned, will need to figure it out.
Comments ()

Mon, 23 May 2005

THE Programming Language...
Category: Dev

is Python, even Google says so.

This post triggered by this thread.

Comments ()
cvsps memory diet
Category: Advogato

Hacked on cvsps to reduce memory usage, on a large 400MB CVS repository it needed over 500MB of memory to keep the details.

At first I've started to convert it from memory data structures to gdbm, but it got too tedious after a while.

I then found that the cached data on disk, which is a mirror of the memory data, is only 30MB. So I started to look around to find the culprit.

Apparently, there were some huge over allocations, where a log message has a max of 1K in that repository, 8K would be allocated, there were over 15K log messages. For each filename 4K were allocated, a max length for filename was 200 bytes. Revisions and branch information were kept in too large hashes where a linked list would do well. And a few other minor optimizations were needed.

All in all, memory requirement dropped from 500MB to less than 60MB, which is still a lot but liveable. Until such time that the repository grow too much.

I added a small statistics collector/reporter to the code to help guide my way and used the large repository as well as the gaim repository as a base for my decisions, it was fun.

I did notice a need for a statistics collector library for such a thing, it should report max, average, median and such data, I didn't do median because I was lazy. But between the max and average there is such a large difference that a median would help here. Dumping the data and showing histograms would be great for such a task.

Now I need to clear it up at work and submit the patches to the author. I've got one of those all-your-code-are-belong-to-us type of contracts but with a special clause for Open-Source projects, I still need to get permission for each new project to ensure it doesn't clashes with my work related tasks.

Comments ()
Tivo clone
Category: Advogato

It's been a while since I decided that I want to create my own PVR/DVR. A Tivo like device to replace the VCR.

I'll create one instead of buying one since I'm not US based so no-one provides any such toy around, and Tivo won't ship overseas. Probably because their hardware is NTSC only. The Bastards!

I'm considering using an Allwell iTV3036 unit as my base platform. But I'm still looking at other options. I'd also like it to serve as a DVD player (an all in one device), I'll probably hook it up to a coffee machine at the end :-)

The Allwell can be mine for about $400 but it only has a 300Mhz CPU which is not sufficient for encoding MPEG2/4 videos. I'll consider using an MPEG2 encoder PCI card to do that.

Another possibility is using my current 700MHz K7 machine by adding a tuner card and a TVout card. But then I won't have any use to the channels on my TV itself. Pretty wasteful. So I want something that has a pass-through mode so that it can actually act like a regular video.

Comments ()
Work
Category: Advogato

I've started to work full time on October 2001, working with Linux doing various things tinkering with firewall internals and other such fun.

Work sure does saps the time from open-source projects, I've hardly did anything during the past few months. LyX was the first casualty, my own Volume Normalizer suffered too. All I had time for is maintaining my few packages in the Debian project.

One often raised problem with Debian is the distribution of resources, and that it's hard to come by all the information and various services offered in Debian. Jamie Wilkinson (jaq) posted a link to a portal page that he created for his own use, my contribution is a generic portal page that generates a similar page by saving the email and name in a cookie. It was a couple hours of fun with Python and cgi programming in Python.

Comments ()
Misc
Category: Advogato

I've hardly done anything really productive lately, I mostly did small things like a small patch for Galeon, changing the look of my website, nitpicking on my resume and doing the usual steps in a job search.

In between I'm learning for my tests and working on my project course (Wavelet Image Compression)

LyX has switched to use some funky construct with templates from the Boost project so now I cannot compile the code from CVS, which also means I cannot work on LyX until I upgrade my compiler (currently egcs 1.12). I postpone this since I intend to switch to Debian unstable which already has gcc 3.0, hopefully this will make sure that nothing Lars will throw in LyX will kill the compiler.

But switching a distribution is such a tedious job, I'll need to find those things that I take for granted and make sure they are installed on the new distribution. I've done most of my preparations by now, I switched /home to another partition (on ext3) and have Debian unstable installed already though it needs updating, but that last mile of actually telling lilo to boot as a default to Debian instead of RedHat is not so easy to do, mentally mostly.

I'll get around to this, promise!

I've switched to using Mozilla some time ago, much better than Netscape 4.7x. I then switched to Galeon since it was even better than using Mozilla directly, even though it misses some features of Mozilla (parts of the Password Management don't work and changing style sheets is impossible), I'll try to tackle this sometime.

The best work I do on Open-Source/Free-Software projects is when it scratches an itch, when everything is perfect for me I have less inclination to do anything.

Comments ()
Posting Hebrew to websites
Category: Advogato

Finally I can post in Hebrew on websites (specifically on The Reading Moose). Until some time ago I used Netscape 4.7x as my browser, until it was rumored that Mozilla has Bidi support for logical Hebrew (most Hebrew sites are visual Hebrew, which is the only thing supported in NS 4.7x), I've installed Mozilla from CVS and got myself a nice Bidi capable browser. Only problem was that is was slow as hell.

Enter galeon.

I've installed Galeon the other day and got myself a Bidi capable browser that runs at a decent speed, as a bonus I got tabbed browsing which is great.

The last step involved a short research into the xkb mysteries and finding the tricks that are needed to get it to use an Hebrew keyboard mapping, and now I can post in Hebrew!

This replaces a hackish script I wrote in Python to post a text file to the website.

One problem though, to install Galeon I needed to upgrade to Gnome 1.4, I now have problems with PowerShell, it's terminals get locked! Anyone knows a cure?

Comments ()
Misc
Category: Advogato

Got myself a MP3 CD Player, the Pine SM200C. A pretty cool thing though I'm not really sure it fits into my budget (full time student), for my defense I claim it was an impulse buy.

This thing has 40 seconds shock protection time when playing mp3s of 128kbps, this is the thing that sold me since I mainly bought it for listening in the gym when running on the treadmill, something that usually means a bumpy ride. It's pretty slow to switch songs and when it's in random playing mode, pressing next-song key will go to the next sequential song and not the next random song. But overall it's a pretty good thing.

Speaking about the gym, I now have Calcaneal Spur from running on the treadmill, got some pills from the doctor and switched from the treadmill to the cross-trainer. The ride is less bumpy now.

I still haven't coded anything for a while, between school chores and a bit of rest.

Comments ()
[0] 1 2  >>