Older blog entries for shlomif (starting at number 171)

2 Sep 2003 »

Vipe is back online

Vipe returned online this morning. After logging in, I discovered that some of my mail folders had bootloads of messages which I had to delete, and that the mail bounces caused the Mailman-based mailing lists to make me in "no mail" mode. So I had to cover them and change it back.

In any case, without vipe I felt that I was missing a rib, and am very happy that it's back online.

Getting MikMod to Play using Artsd

I wrestled a bit trying to find a solution to get the command line mikmod player to play using Artsd. I believed this was the case in Knoppix, but then discovered it plays there using OSS. After contemplating coding a libmikmod driver for Arts, I found an easier hackish solution:

artsdsp /usr/bin/mikmod -d 2

Smile! You're on camera!

Hacktivity

I advanced a little in the Hebrew translation of ESR's "Homesteading the Noosphere". Other than that, after vipe returned, I've been looking at Subversion Issue 854. The instructions there for reproducing the bug worked flawlessly on my computer. So I closed the bug, and sent in a patch for a regression test.

Reading

I read a chapter or two from "The House of Arden". I also covered some chapters from "Apache: the Definitive Guide". Some of the later chapters were interesting but as a whole the book is quite disappointing.

Finally, I finished "The Art of Unix Programming". Now I'm looking for something else to read online.

27 Aug 2003 »

Linux Events

On Friday there was the conference and installation party. I spent most of the time installing RedHat on a few computers. One installation was done through VMWare which gave some problems in installing the xpdf RPM. Other than that, a guy I tried to install a system for him, brought his computer there and we again failed to install it. Then he drove back home and brought his new computer, on which the installation went fine. (he also drove me back home).

Then there was a raffle, which I did not took part in and so did not earn anything, but it was fun to watch, especially as one name (of someone who wasn't there) came up three times.

On Sunday, I went to the Hertzlia Inter-Discplinary Center to hear a lecture about Mono (the open-source .NET implementation), and also was able to give a lecture about The Cathedral and the Bazaar series. We were about 10 people there.

Finally, on Monday, there was a coordination meeting for the Haifa Linux Club Welcome to Linux series, which I volunteered to be responsible for some of the tasks there. They rejected my suggestion to make a shorter "Linux in Action" series, claiming that the first lecture was about that already. I still think the W2L as it is, wastes too much of our time, while giving very little in return to the beginners.

Hacktivity

This and that. I worked on implementing the Patsolve logic into Freecell Solver. It is working now, but does not give as good results as Patsolve has. I'll have to analyze the results to see if there's a bug.

I also worked on Devel::LineTrace - a Perl module to assign callbacks to lines in the code without modifying it. (for debugging purposes, like adding prints).

I also went over the CatB lecture and fixed typos. There were quite a few of them and two of which (one which I forgot) crept up during the lecture. :-)

Vipe is Disconnected

vipe.technion.ac.il is disconnected because it's lying in the Technion's dormitories network which was entirely disconnected to facilitate dealing with the worms attack. This means part of my homepage and the Haifa Linux Club homepage and mailing lists are inaccessible, and I cannot read my primary E-mail account. The Technion staff is now on vacation so it's not going to be fixed until Sunday.

Reading

I read a lot from "The Art of Unix Programming", as well as some chapters out of "The House of Arden". I also advanced a little in "Apache : The Definitive Guide". The latter seems a bit boring and technical to me, and I'm not entirely sure I need this information.

21 Aug 2003 »

Haifux Meeting and Birthday Party

On Monday, I went to hear a Haifa Linux Club lecture about Real Time and Embedded in Linux given by Iftach Hyams. The lecture was very nice and there were many bursts of laugh throughout it. Afterwards, we went to a restaurant to celebrate Haifux' 4th birthday (which was incidentally ladypine's birthday as well)

Ori Idan (who drove me back to Hertzliya the last meeting) gave Meir Maor and me a ride to the restaurant. (the arrangement was that Ori had a car, Meir knew how to get there, and I neither). We arrived there, and I sat at one end of the table next to Ori and Jess. The food was good, and Jess told a lot of jokes throughout the dinner.

sun gave Jess, some other guy and me a ride home. The first part of the ride was full of jokes, but the second one held a serious discussion of Intellectual Property and whether "all software should be free".

I arrived at home at 1 A.M. and went to bed even later, but had a fun day.

Warcraft III

I finally discovered how I can finish a level I was stuck in. My problem was that the gameplay was fast, and when I switched it to slow it was doable. I did not finish it yet, but I'm getting there.

Movie: Pirates of the Carribean

I went to see the movie "Pirates of the Carribean: Curse of the Black Pearl" yesterday, along with my father and my sister. The movie was very entertaining and Action-paced. Highly recommended.

Hacktivity

I worked on integrating Freecell Solver with Python using the Python bindings I wrote. It was quite straightforward as a basis for it was in the code and all I needed to do was adapt it to my new interface. The Python debugger was a lot of help in tracking some crashes. Now I have it working for most Freecell variants.

Upcoming Open Source Events

There's an installation party and conference tomorrow at John Bryce College in Tel Aviv which I'm going to attend as an installer. Afterwards, on Sunday, there's a lecture about Mono at the Inter-Disciplinary Center in Hertzliya. If there's time, I'll also give part of my lecture about CatB.

Reading

I read several chapters out of "Apache: The Definitive Guide", and chapter 3 of "The House of Arden". I also covered "Homesteading the Noosphere" in preparation of the lecture on Sunday.

17 Aug 2003 »

Perl Meeting

Here's a report I wrote on the latest Israeli Perl Mongers, that took place on Thursday. My father drove me to the meeting, and at first I bought some Burekas in the nearby bakery. Then was the meeting. After the meeting Ronen Kfir drove me and Kfir Lavy home. Kfir and I chatted for a long time and ate supper at McDonalds. We discussed Linux and touched on many topics, including my projects.

Python Bindings

I've been toying up with the idea of integrating Freecell Solver into PySol. Since Freecell Solver is written in C, and PySol is a Python program, I had to create bindings for it. At first I started using SWIG. This created very C'ish APIs without much trace of a native language behaviour. Then I realized it does not handle arrays well. So I set out to write Python in the native bindings language. I consulted the Python tutorial, the Python extensions writing manual, and the people at the #python channel on FreeNode and eventually got things to work nicely enough.

I'm still a bit worried about memory leaks, but I suppose that Valgrind will help me detect if they exist.

Subversion Issue #1473

To further test my Repos->WC file copy code, I wrote a test that set up the svn:keywords property on the source file and then copied it. The result was nothing less than a segfault. So I filed an issue about it. The problem is that the translation is done without an entry existing in the .svn/entries file.

Ben Collins-Sussman and I discussed the best way to resolve it on IRC. Our conclusion was that we should probably create another post-process routine that will do the translation after the entry is created (which is already the case, just that the translation is done beforehand). However, Ben thought it was inelegant and so he wanted to consult the list.

Reading

I made some progress with "The Art of UNIX Programming". I also took the book "Apache : The Definitive Guide" from the Perl Mongers book pool and started reading it. I reached the beginning of the chapter on authentication.

Biking

Two days ago, when I biked, I noticed 1/3 of the way that a lot of air went out from the back wheel. So, I returned. I don't know what causes it, but I'll have to investigate, because I can't bike otherwise.

14 Aug 2003 »

Hacktivity

This and that. I've organized my Subversion patches directory to exclude patches that were already applied. That way, the other maintainers can best know what needs to be applied. I've been looking for other Subversion issues to work on, and found some candidates, but so far did not find the time to work on it.

I also made progress in translating "Homesteading the Noosphere". A couple of people contacted me with corrections to it, and I'm grateful for them. Then, I made the data for my version of the Haifux lectures manager up-to-date with recent lectures.

Finally I edited the Wikipedia entry of Freecell to make it less lame and more accurate than it was. I actually woke up in the morning thinking about Wikipedia and whether it mentions Freecell, checked it a bit afterwards, and in the evening changed it. ;-)

Reading

I read part of the book about Statistical Physics and Thermodynamics I have (I'm studying Thermo next semester). I also read the first two chapters of "The House of Arden", after being reluctant to read it for a while.

Free Software "Monopolies"

jlouis, I don't really see free software "monopolies" as a bad thing. It takes a lot of time and effort to create quality software, and so it make sense one or a few packages will rise above the rest, and concentrate most of the effort around them. If we take gcc, for example, then everybody use it because it's a great and trustworthy compiler.

I don't see much point in switching to using anything else, just to make an anti-monopolistic point. If gcc works, I am sticking with it. If something better ever comes along, I might switch, but there isn't anything better now. If you ask me, you'd better hack on gcc and make it an even better compiler than it is now, then try to make a half-decent competition.

Certification

Certified jlouis as Apprentice because of the above and other stuff I found on his homepage.

10 Aug 2003 (updated 10 Aug 2003 at 11:34 UTC) »

Subversion

It turned out my updated patch was not acting according to the Subversion conventions. What I did wrong was not create temporary files, and not use the run log mechanism to perform the operations that could be performed with it. So, I sat on it on Friday, and wrote an updated patch (revision 5). This was applied, and so I'm happy.

Today I took some time to prune my patches archive from patches that were already applied.

Haifa Apartment

I met with the Apartment owners and one of my apartment-mates on Friday to settle the payments for the apartment. There was a bit of a fuss between my dad and the owner, about a payment for replacing a lock that was done a year earlier. But other than that it went fine.

On the way back, I ate lunch at the MacDonald in the Yoqne'am Mall.

Other Hacktivity

I worked and reviewed the lectures I wrote a bit. I've started adding missing slides to the Gimp lecture I prepared, and hopefully, I'll put the full lecture online soon. I also started working on translating Homesteading the Noosphere by esr into Hebrew. If you don't know what it is, it's the second chapter in the Cathedral and the Bazaar series, that analyzes the customs of the hacker culture.

The Hebrew Translation is progressing quite nicely. (seemingly better than I remembered from "the Cathedral and the Bazaar"). Other than that, it seems that I'm not entirely happy with the current translation of the Cathedral and the Bazaar to Hebrew, so I'll probably resume working on it sometime. This time, however, I can start from the existing text, and revise it.

Hard-Disk Problems Revisited

A few days ago, I got the same faulty noises when booting the hard disk. A reboot did not help, but after I started Knoppix and mounted it, everything was fine. Today, the same noises also happened, but this time the system could load. Hmmm... I think I'll try to buy a new hard disk as soon as I can.

Certification

Certified ask to Master for his work on maintaining the Perl online infra-structure. I did not realize he had an Advogato profile until now. Also certified pudge as a Journeyer for his work on Slash and maintaining use.perl.org. Finally, certified Simon (Cozens) to Journeyer for his contributions to Perl, and writing "Beginning Perl". Maybe I'll certify them to Master someday, but I need to be more familiar with their work.

7 Aug 2003 »

Hacktivity

I finished preparing a lecture about LM-Solve. Then I worked on Subversion, and formed an updated patch to Issue #1297. This took a really long time (almost an entire day), but I'm really happy that it's complete now. The fix had a small bug-let which was easy to fix by adding a few lines.

Reading

I sort of finished reading "Games, Diversions and Perl Culture", and reached to the middle of "The Art of Unix Programming"'s chapter about Mini-languages. TAOUP is a very interesting and entertaining book as is the usual tradition with esr's writings.

Perl Meetings

Gabor Szabo, who is the Israeli Perl Mongers leader is abroad, and as it turned out Shlomo Yona, who was appointed to organize the meeting instead is busy moving to a new apartment. Thus, I took the lead and decided on how to resolve the date, place, etc. issues for the next meeting.

Translucent Cursor

I wanted a Knoppix-like translucent cursor for my X-Windows. So, I asked around the IRC. Someone told me a similar effect exists in the cursor_themes package found in the Mandrake Cooker. Looking there, I found it. The cursor is darker than the Knoppix one, but still is nice in a way. The package has other interesting themes, which I may try out.

2 Aug 2003 (updated 2 Aug 2003 at 10:47 UTC) »

August Penguin II

I attended the August Penguin II event yesterday. It was very nice and I met many people I knew there. At first Shachar Shemesh gave an instructive presentation about the Linux activities in Israel the past year. Then, there was a lecture about MOSIX by one of its Hebrew University workers. It was very nice as well. Afterwards, moshez gave a lecture about PyPy, instead of the Python internals lecture that appeared in the agenda. Moshe is a very entertaining lecturer and the lecture went very well.

Then came the geek trivia, which pitted two groups of three "geeks" and "nerds" against each other. It was very fun. And finally, came the key signing party , which I took part in and signed the keys of 20 people or so.

There were a few glitches there, as far as I was concerned. First of all, I discovered the building did not have any coolers and I had to drink water from the taps of the restroom. Then, it was too cold in the lecture hall, and I had to leave once or twice to regain my senses. Finally, my ride back to home, disappeared during the key-signing party, which caused me to have to take the bus again. But all in all, they did not spoil the fun.

After the event was over, I went back home, ate, and went to sign everybody's key. It turned out some of the key could not be checked out of the servers I tried. (read the thread for more information). However, it turned out mulix who organized the key signing party, prepared a keyring with all the keys, and was about to send it to everyone for signing. Thus, I was able to sign the rest of the keys.

Freecell Solver

I discovered a game of Simple Simon that could be solved by hand, but not by Freecell Solver (which gave up after checking only the initial state). So I set out to discover why. Apparently there was a function there which was responsible for performing the initial move, only it had a bug. I only had to remove one = from an <= operator and the bug was fixed and the game was solvable. Hah!

Reading

I finished a large part (most?) of "Games, Diversions and Perl Culture : Best of the Perl Journal". I also read the Freshmeat GUI Toolkits feature and started reading ESR's "The Art of Unix Programming" which is very interesting so far.

Subversion

I wrote a couple of tests for my Issue #1297 patch, and indeed the unpatched Subversion failed them both. However, I was told the patch is not correct because it does not handle some working copy parameters correctly.

LM-Solve

After releasing version 0.8.0 I discovered a bug and released version 0.8.1. Now I think I did not document the Hexagonal Planks ID in the man page of the executable so I'll need to release 0.8.2... :-). In any case, I also revamped the LM-Solve homepage and now maintain it separately from my homepage.

Finally, I announced LM-Solve on Freshmeat.

Dmoz.org

I finally got permission to edit the Perl "FAQs, Help and Tutorials" category on dmoz.org. I created a tutorials sub-category and will move all the tutorials there. I might create other sub-categories there if I feel the main one becomes too crowded. Let me know if there's anything you'd like to see there.

Lectures

I prepared a lecture about my solution to the Graham Function Perl Quiz of the Week. This time I used PerlPoint, which enabled me to quickly translate the summary into the lecture itself. Here's a discussion of it on Hackers-IL.

I also prepared a summary (but not the slides themselves) for a lecture about LM-Solve. Both are intended for the next Israeli Perl Mongers meeting.

25 Jul 2003 »

Subversion and Neon Verdict

At the end, the Subversion maintainer told us we can use the HTTP error code to distinguish between the different kind of errors Neon is returning. So I wrote an updated patch and Ben Collins-Sussman commited it. (thanks, Ben!). Now, there's a part of me in the Subversion core.

LM-Solve Re-work

I spent part of the last couple of days reworking LM-Solve. I started out a Subversion repository for it, changed its namespace to "Games::LMSolve", added a lot of documentation, etc. It's also in CPAN now.

Studies

I took the test of Micro-computers on Wednesday. It went pretty well. I was first worried that I won't have enough time to finish it, but then it turned out I did have, even without the time extension. I still don't know what my score is. This is my last test for this semester, so now I'm free!.

Subversion

I submitted a patch to add a --config-dir option to the subversion command line clients to specify an alternate directory for the configuration files. The first incarnation became out of date after a change in the code. The second one was also more encompassing, and modified more configuration commands. I still have a small queue of patches that did not get accepted yet.

21 Jul 2003 »

Perl Mongers Meeting

This Thursday the Israeli Perl Mongers had a meeting where Stas Bekman gave a several hours talk about mod_perl 2.0. Many people attended the meeting (about 20-25), and we had a lot of fun. The lecture was very instructive, and taught a lot about what can be done with mod_perl besides writing simple CGI scripts.

After the meeting was over, I explained to someone about Subversion as he said he had problems with CVS and was looking for a good alternative. (I eventually wrote an E-mail to the mailing list about it). Oron Peled gave me and Kfir Lavy a ride home as he was returning home to Haifa. We asked him about his past experience with UNIX and what he does now, and we had a very interesting conversation on the way home.

Project Introductions at the TAU OSS Course

Yesterday, I went to a lecture of the Tel-Aviv University Open Source development course. There was a lecture there about CVS, which I interrupted with some corrections and additions. After the lecture several people and I introduced our projects to the students.

I gave a 10 minute introduction about Freecell Solver (that was accompanied by a demonstration of kpat solving Freecell). One of the Xparam developers gave an overview of his Xparam project. Shachar Shemesh said some words about Hamakor NPO, and then introduced the WINE project to the students.

The students in the course are expected to choose a project to work on and to perform about 300 hours of work each on it. The Xparam guy got three students who were interested in the project and gave him their details. When I returned home, and checked my E-mail, I found out from the course initiator that two students expressed interest in Freecell Solver as well, and would probably contact me. I did not hear from them yet, but I'm looking forward to it.

Subversion and Perl Makefile.PL - problem and solution

I now started to maintain LM-Solve using Subversion. However, after importing the project into Subversion, I encountered a problem that I remembered from Linux::Kernel::Module::Builder: the Makefile.PL also did something with all the files under the .svn/ files. (and in my case even corrupted the working copy).

A quick Googling made me realize that the solution was to install the development snapshot of ExtUtils::MakeMaker and use it instead. This has worked, and the Subversion resident Perl guru told me the same thing on the IRC.

Subversion Neon Usage

Subversion has a problem of asking confirmation of a certificate for as many times as the https:// path has path components, as it keeps trying upward components. I wrote a fix for this issue, and posted it to the Subversion development list. Ben Collins-Sussman criticized it saying it was a workaround and maybe we are using Neon (the WebDAV client library) wrong.

I inspected the code of Neon and found it does indeed return a plain NE_ERROR error if the certificate's authenticity failed. This makes it impossible to tell if we failed due to that or due to something else altogether. We decided to wait for the Neon project head to tell us what he makes of it, and what we should do.

Dmoz.org Perl Tutorials Category Blues

My application for editing the Dmoz.org Perl "FAQs, Help and Tutorials" category was rejected for the third time. This time, there were problems in the grammar of my submission (which I'll make sure won't happen next time) and some vague critique of what is present in my exis

162 older entries...

New Advogato Features

FOAF updates: Trust rankings are now exported, making the data available to other users and websites. An external FOAF URI has been added, allowing users to link to an additional FOAF file.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!