# Older blog entries for shlomif (starting at number 194)

17 Dec 2003 (updated 21 Dec 2003 at 08:54 UTC) »

Studies

I had two tests one in each subject I'm taking this semester. The Thermodynamics test went pretty well, but I'm not entirely sure I did it perfectly. I'll see what my grade will be.

Yesterday, I had a test in Statistics. It went so-so, and I had difficulties with some sections. Nonetheless, both tests just protect the main score from the main test, so they are not critical.

I had a relatively hectic few couple of days. On Monday, I had to get up early to attend the Statistics lessons (as usual), and in the evening I had a Haifux meeting, which meant I arrived home late. On Tuesday, I had the test in Statistics from 17:30 to 19:30, and I returned home again, and went to sleep at about 10:30 PM. And today (Wednesday) I had to get up early and go to the Thermodynamics lessons. But I'm glad it's over and now I have an extended weekend in front of me.

Perl Meeting

I had a Perl Meeting last Thursday. I went there by bus and had to walk. When I came there, there were few people there and not too many joined us. But it was fun. Before the meeting, Ran collected money from everybody and we went together to buy the snacks. Then the presentations started.

Shlomo Yona gave a presentation about the Perl Garbage Collector. I could not say he renewed too much to me. (except in telling that the Java garbage collector supported distributed GC). Still, it was a very good and fun lecture. It was followed by a small demo by Ran Eilam. He demonstrated how he started from the Java test in Eclipse, and gradually wrote the rest of the code with the help of the IDE that did a lot of code writing for him. We concluded that it would be very difficult to do it with Perl, because it's a more complex langauge and such that is much less easy to manipulate.

Then, some people had to leave and could not hear me give the presentation on Haskell. The audience asked many questions during the lecture, and I had to explain some of the simpler examples in detail. Eventually, I ran out of time and skipped some of the more complex ones. But it went quite well, albeit I'm not sure how many understood it.

During the meeting, I returned the "Writing Perl Modules for CPAN" book and took the "Perl and XML" book (by O'Reilly) which was something that someone returned.

Afterwards, the guys decided to go to the bar, including the one who was supposed to give me a ride. I decided to skip it as I was tired and found a ride with Thomas Maier. On the road, we talked about his job and my educational/employment status.

Ran Eilam wrote a meeting report on the new Israeli Perl Mongers Wiki.

Haifux Meeting

On Monday, Aviram Jenik gave a presentation about Spam to the Haifa Linux Club. The presentation was very entertaining and fun, with many interruptions from the audience to discuss the dynamics of Spam and how to deal with it. I was especially amused by the "Time Traveller stuck in 2003" junk-mail he received.

After the Meeting, Aviram gave a ride to Tzafrir Cohen and me until the Netanya Junction. I called Dad on the way, and he drove us from there to Tel-Aviv.

I finished reading Mary Poppins. It's a very nice book, and I might order the sequels if I feel like it. I also read more of "Extending and Embedding Perl". I also read things I found on the web like myths open source developers tell ourselves.

Hacktivity

I added some idioms to the page in progress of Idiomatic Perl. The Wiki implementation gave me some trouble and sometimes reported the page has changed during its editing, which it didn't.

I also added some things to the newly set up Israeli Perl Mongers Kwiki: a page for Israeli Perl Projects which is now more up to date than the one at the regular site. (I imported all the existing content there); and I also started a book reviews section, where I place my book reviews without having to wait for the webmaster.

I also downloaded and installed the latest GIMP 1.3.x and played with it a bit. It's very impressive and polished, but so far it seems that the Script-Fu logos scripts got broken. This may have been fixed according to a message I saw in its developers list.

9 Dec 2003 (updated 25 Sep 2004 at 11:51 UTC) »

Wine Lecture at Telux

The Sunday before the last, Shachar Shemesh gave a re-run of his lecture about Wine to the Tel Aviv Linux Club. This time, the lecture was more polished than the time he gave it on Haifux. He threw a lot of funny jokes throughout the lecture and it was very entertaining. Shachar is a great lecturer.

Next I have a Perl-IL meeting, with presentations by three people including me. In the Haifux front, there was a meeting yesterday of a post-mortem to the Welcome-to-Linux series. I could not attend it because of an exam I had (see below). In any case, next week, Aviram Jenik will give a lecture about Spam, which I look forward to.

Studies

I had to hand out three statistics homework sheets yesterday. Two exercises gave me some trouble. One of them was tackled, but the other - a very similar one yielded a solution that was similar to the correct one but not identical. I ended up handing it as is because I could not find what the trouble was, despite the long hours of staring.

Otherwise, I had an exam in Thermodynamics yesterday at 18:30. It came out quite convenient to me because I study that day and plus my father had a conference at the Technion, so he could give me a ride there and back. I woke up early so I was quite sleepy throughout the day, but during the exam I was OK. The exam was not too hard, but I'm not sure I did all the exercises correctly. I'll see what my score is.

Yapcom

I finally got Yapcom to work. As expected it turned out to be a problem in which the E-mail could not be sent. After that was fixed everything worked. Still it is a bug.

Meanwhile, I bugged the other developers with comments about the PATH_INFO environment variable and other such things.

IGLU Jobs Tracker

I implemented an ad-hoc administration screen that so far only displays the records with some inactive links. Now I have to restrict it to a a certain logon, which would take some work. Having done it, I was glad I used Template::Toolkit because I was able to extend the template of the job to display the links.

I talked with Eran on the ICQ about it and he gave some useful commentary which I may choose to implement.

Read some more of "Extending and Embedding Perl". The book is not too interesting so far, but I suppose it can prove useful if I need to write a Perl extension.

I also read another chapter of Mary Poppins. Maybe I should get myself to read more fiction.

Dmoz

Another day - more pending links. Only this time, I was able to clean the pending links out of the User Groups category. Now, all I have to do is add all the remaining groups there. Guess, it's time for the editorial about it.

fc-solve-discuss

There was quite a lot of action recently in fc-solve-discuss. It started when Danny A. Jones posted some questions that were raised after he wrote a Breadth-First-Search Freecell Solver to find optimal or near-optimal solutions for Freecell. Then it took on a more active tangent when Eric Helser posted some question on how to actually write a solver, as he had problem doing so. So, the guys and I helped him.

I hope this trend goes on.

2 Dec 2003 (updated 25 Sep 2004 at 11:48 UTC) »

Computer Science and Software Engineering (cont.)

kilmo: I agree with most of what you said in your entry. I agree that the CS department should teach theoretical computer science, because these are the foundations that a good programmer eventually needs to know or at least understand. I don't agree that the definition of Computer Science is "the science that deals with the study, implementation and creation of algorithms". This is more like the definition of Algorithmics which is a subset of Computer Science. CS is more inclusive and also talks about writing modular code, computer language design, OS design, and everything else that has to do with writing software for a computer. (hence the name).

Between the time the algorithm is written in paper in pseudo-code, to the time it runs inside the computer, many choices can be made that will affect its performance and ease of integration. I remember one time where two optimizations I implemented in Freecell Solver made the program run about 50 times as fast (in brute, with the overhead of executing a separate process for each of the inputs), while not decreasing the overall complexity at all.

And naturally, there is the art of designing a software right: choosing the right tools and APIs, creating good interfaces, writing modular code, etc. Then, of course, there is software management: working as a team, building a schedule, writing tests for the software, using version control, bug tracking procedures, and so on. All of these fall under Computer Science. Unless, of course you want to claim that they (and CS) are included under Software Engineering, and then we can continue the argument over the meaning of terms ad infinitum. :-)

Doclanx

I wrote a Mission Statement for Doclanx. I don't intend to publish it until I have some serious content to show for, but at least it's there to organize my thoughts. Next, I wrote a small section about how to learn Perl in the first place, so people can understand the reference.

Meanwhile, there was a lot of messages posted to perl5-porters on the original thread. Most of them were bashing me, but some came with bizarre albeit perhaps useful suggestions.

IGLU Jobs Tracker

Worked a bit on the IGLU Jobs tracker. I converted it to use CGI::Application and fixed some bugs and made the interaction a bit nicer (added colours to the table rows, etc).

Someone reported a bug in which transmitting an illegal parameter in the area, caused the server to display an "Internal Error" error. He initially thought it was an SQL injection bug, but I realized it was a non-harmful Perl bug, that could have been caused with any area that's not on the list.

Next on my agenda is a small redirect bug that someone else has discovered (relatively by mistake), and converting the code to use Tangram. And then ton of other stuff. :-). So many things to do, so little time.

Wrong Predictions

In Java's Cover Paul Graham says: "Sun's business model is being undermined on two fronts. Cheap Intel processors, of the same type used in desktop machines, are now more than fast enough for servers. And FreeBSD seems to be at least as good an OS for servers as Solaris. ". Of course, what he said was true, only that Linux became the most common operating system for Intel servers.

This reminded me of a similar prediction in the C++ Programming HOWTO: "As memory (RAM) prices are dropping and CPU speeds are increasing, scripting language like PIKE will EXPLODE in popularity. PIKE will become most the widely used scripting language as it is object oriented and it's syntax is very identical to that of C++ language. " Obviously, Perl, Python, PHP, Ruby and Tcl are more popular than Pike is, and there isn't a visible trend of Pike becoming more popular. Guess that similarity to C++ is not the top priority when choosing a scripting language.

29 Nov 2003 (updated 29 Nov 2003 at 12:05 UTC) »

Computer Science vs. Software Engineering (cont.)

kilmo: in regards to your comments regarding the usefulness (or lack thereof) of the output of the Computer Science department. First of all, it does not invalidate my point that most students come to the Technion's CS department to learn how to program or at least to get a certificate that will show their competence as programmers. (whether it indeed does is a different question).

Secondly, in regard to the post itself: my condolences. ;-). It is highly possible that 20% of the faculty cater to 80% of the students as far as their research is concerned, while 20% of the faculty cater to 80% of the students. From what I know of the Electrical Engineering department, a larger part of their research is more down to earth and useful. Maybe that what happens when you have a department dedicated to a theoretical science.

I know that in M.I.T., for example, there's one department for both Computer Science and Electrical Engineering. This removes the duplicacy of the courses between the two faculties that we see so much in the Technion, and also possibly injects a lot of practicality to them CS researchers.

Linux in Action revisited

Well, my suggestion to turn the Haifux' Welcome to Linux series into a shorter "Linux in Action" series was rejected (possibly for a good reason), but Linux in Action could still be a good idea as a complement to it. For instance, we could have a day full of Linux demonstrations, in a similar manner to the Linux Circus that took place a couple of years ago.

A Good Reference for Perl

Eran has recently installed RedHat Linux 9.0 in order to learn how to program better. He wanted to learn Perl, having heard so many good things about it, and so started out with my "Perl for Perl Newbies" series, which he claimed was very well written. Then he wanted to look something in the perl man pages, and said he could not make heads nor tails of them.

As he wasn't the first one I heard to express this amount of unhappiness from them, it got me thinking about writing a better reference for Perl, in a similar fashion to what Python and PHP have. So I brought this on perl5-porters and received many heated responses. Apparently, many people believed that the man pages should be left in their current not-so-idiot-proof state, or that it was rightful to expect people to pay to get a better reference.

From my experience getting my patches to the documentation into bleadperl, it was a relatively painful experience. While there were many people who actually had meaningful comments, there were always those few who complained that it's making them too wordy, or loses character out of the document. Eventually, most of my patches were accepted, but it was still a painful procedure, as it seems there isn't a consensus in the perl5-porters mailing list on the exact purpose of the perl*.pod documents.

Add this to the fact that I'm not sure that the Perl POD documents can ever be made very suitable for beginners, and that their organization is a bit lacking, and I think it may be a good idea to simply start a documentation project ("Doclanx" or "Reflanx" both named after the Phalanx project) from scratch that will produce a comprehensive reference that is more suitable for beginners. Our own codebase, our own rules, our own progress.

What I would like to do first or as I start is collect user stories about the existing documentation. That way we can tell how to best organize the new one.

ISP/Phone Company Support Incident

A couple of days ago I sank into an all-time low: I called the ISP support line and he actually guided me in something. It all started when my Internet connection got hanged out and nothing I tried to do to resolve it (restarting the modem, restarting the router) helped. So I called the ISP line. A support person answered and when I told him I had a NAT, he said I should connect the computer to the modem straight or else he can't help me. So I did (I have two Internet cards). Here he guided me through the procedure (my Windows networking configuration skills got a bit rusty lately), and then it still did not work. Then he heard that the modem was configured to use PPPoE, so he said that we either need to set it back to PPTP or he can't help me. (as usual, these support people are more clueless than us hackers or power-users). I knew that my father would not like it so I gave him my father.

My father got angry, and eventually disconnected and tried to contact the Phone company support team. They eventually said that the line was probably OK, and possibly the modem mis-configured itself. So we reset the modem (with a tooth-pick), and it went back to PPTP, but we were able to connect to the Internet again. Pheewww! Now we need to set it back to PPPoE sometime, but still it wasted a couple of good hours.

Browser Wars

I read the beginning of the Browser Wars II: The Saga Continues article. It was quite entertaining, but short of useful information. But it got me thinking: as Mozilla (and browsers based on its engine, like Firebird) is mature and usable and MSIE is buggy as hell, and will only ship with new versions of the operating system, we can expect the user-base of Mozilla and similar alternative browsers to actually grow, at least not if it weren't for all those MSIE-only sites. But I thought of a way to accelerate it: start creating clean, standards' compliant web-sites that may or may not look well in Internet Explorer. I'm not saying that we should break them on purpose. Just not test them on it, and if people complain that they break tell people to switch to Mozilla or whatever. (as it will be good for them).

The question naturally rises why it is not equally as worse as web-sites that are MSIE-only. There are several reasons:

1. MSIE 5.5 and above are specific to a certain operating system and architecture. Mozilla and similar browsers are truly cross-platform. - as such MSIE may not be available on the development platform of the web designer. I design all my sites and have tested them on MSIE by using the laptop. Now, I'm not going to bother.
2. MSIE is not open source. Mozilla is - I cannot fix the bugs there even if I wanted to. If bugs exist in an open source project I can either fix them myself, hire someone else to do it, or blame myself for not doing either. With MSIE, I have every right to blame Microsoft for their incompetence. And I can have them eat their own arrogance.
3. Users can always switch to Mozilla or whatever - I can always tell them to do so. On the other hand, I cannot switch to Internet Explorer if I'd like to use Linux (which I do).
4. MSIE is not standards compliant while other browsers are - in fact, a prominent Microsoft engineer said standards-compliance is not a high priority for the MSIE team. Since I design according to web standards, I don't want the new Netscape Navigator 4 to be in my way.
5. MSIE is not going to be maintained independently - the only prospect of getting a browser upgrade for MSIE is to buy a new OS. Buy a new OS just to get a new version of the browser? That's the joke of the month. Other browsers come with periodic upgrades with many improvements - all for free.

So that's it. I'm going to use such cool stuff such as CSS child selectors (html > body), max-width, Alpha-transparency PNGs, and :hover on elements besides links, as well as the full XSLT specification. I'm not going to break compatibility on purpose, but I certainly won't prevent a cool standards-complaint feature from inhibiting my pages. And I can't run MSIE on my choice of system, so Microsoft have themselves to blame if it doesn't work.

Finally, I may put the no-MSIE icon on each and everyone of my sites. With a link to a page explaining this new WWW order. No more Mister Nice Guy! Microsoft: adapt or perish!

(this scheme may not be an option for your organization's sites, but I'll apply it to mine)

27 Nov 2003 (updated 25 Sep 2004 at 11:41 UTC) »

dmoz.org

I finally became editor of the dmoz.org Linux User Groups category. I've been cleaning it up by accepting pending links, and handling errors. When I finish with all my current pending links, I'll probably post an editorial on Advogato, asking for people who are members of LUGs that do not appear them to submit them there. As it is, it is still very lacking.

movement: I agree with you that Linus Torvalds does not understand too much what XML is all about. I don't think it's good for anything. I also, many times invented my own configuration syntaxes instead of using XML, because they were more human readable and maintainable or suitable for what I had to do.

Nonetheless, XML nested nature and the fact that you can apply arbitrary transformations to selected pieces of text, and that you also have attributes are sometimes priceless. Linus' indented example can only get you so far, before you start re-inventing a lot of XML and poorly.

Usually, XML is not very suitable for configuration files which need to be human editable. I don't know if the LM-Bench configuration syntax requires XML or not (I never used LM-Bench), but there are times people should use it. I defined my own XML syntax in two occasions already, create a lot of XHTML and DocBook documents and uses it indirectly in some programs (like OpenOffice).

Women in Linux

I hope I don't get flamed for this, because I really don't mean it, but here goes. After my discussion in the LinuxChix issues mailing list, I spent some time corresponding with one of them. One of the conclusions I reached was that until there were more women in prominent positions in the open source world, then female Linux enthusiasts will always suffer from being viewed as second class citizens by their male peers. (I'm not saying people should view them this way, but they will).

In a sense, in the open source world, as in other worlds, there is the iceberg effect, in which there is always a close to the spotlight elite. For example, in Holywood we hardly ever hear about someone who is not an Actor or a Director (or sometimes screenplay writer), even though the other people involved in producing movies are much more numerous.

If someone told me "Women can't write Novels", I could point him at a great deal of excellent Women Novelists out there. But if someone told me that "Women can't hack open source software", I'll have a harder time, because the examples are more isolated and few.

So my question is: why? The "Encouraging Women in Linux HOWTO" goes a great deal to dispel some of the common myths about why Women are and are not deterred from computers. But all these reasons can only go so far to explain why we see so few of them as project heads or first-class programmers.

Even if we assume that there are fewer Women Linux users than men, then we still have to accept the fact that the number of first class hackers who are female is even lower.

One thing I believe is true, is that less women believe that programming is fun. Many male software professionals share this view as well, but among women it is more severe. Even the correponsdant I talked to emphasized that she much prefers system administration to programming, because the former was more "social".

So, what can we do to convince people (men and women) that programming is fun?

Hacktivity

Worked a bit on the IGLU Jobs Tracker. It is almost ready for replacing the original one. There are still a lot of things on my to-do, but they are not as critical.

I also contributed some feedback and a few small patches to Yapcom, but have yet to do a substantial contribution for it. (partly because it does not work on my system for some reason).

Finally, I wrote an essay titled "The Joy of Perl", which explains why I like Perl so much. It is available upon request. (send me an E-mail)

Made some progress with "Extending and Embedding Perl". Also, read many things on the Net, among them Paul Graham's Java's Cover. The latter is an excellent article, as most of the things by Paul Graham. He was right that there was something very fishy about Java at the time. And I still think it is over-hyped and much less capable as a language than other languages I know.

Talks with Laymen

I went to the Barber on Sunday (finally - my hair was way too long). During the hair-cut, I had a conversation with him, told him about my degree and my projects, and started explaining about Open Source and what it was good for. ( he naturally could not understand why anyone would embark on a software project which he did not intend to sell) I could not explain anything I wanted within my time frame - maybe next time or I could stop by. At the end, another patron came in, who tried to help him with a computer problem he had. Turned out he worked in 012 support and knew Jess.

Yesterday, on the way back home, I talked with a woman on the ride back home. The conversation started from politics (a flat income tax, the settlements in the west bank, the poverty-reduction paradox), and I ended up telling about Neo-Tech, Julian Jaynes' Bicameral mind theory, "Feeling Good" and cognitive psychology, and finally open source software in a nutshell (for completeness sake). She actually knew about Mozilla and heard about Linux, and I explained her the four Freedoms of Free Software, etc. She agreed that most of what I told her indeed made sense, but naturally could not convince her of the my entire philosophy within the time frame.

She told me her son was now studying Math, Physics and CS in the Hebrew University as part of the IDF "Talpioth" project. (a famous project aimed to create very knowledgable and intelligent army researchers). The problem was that each year, several people whose grades are low are removed from the program, and so there's a lot of pressure to suceeed. I'm sure glad as hell that I don't have such constraints in my studies.

22 Nov 2003 (updated 22 Nov 2003 at 12:47 UTC) »

Job Tracker Revamp

I've decided to take some time and revamp the iglu.org.il Job Tracker. I first decided that since practically everything I had in mind was going to be different, I'd be better off starting from scratch. But, then I thought better of it, and started from the code I already have, and don't regret it. I already accomplished quite a bit and only been working on it for a couple of hours net.

Yesterday, I went to sleep at 23:00 because I tried to track a couple of bugs. One of them ended being an Apache mis-configuration. Apparently, when you use ScriptAlias the plaintext non-executable .css files are not served from some reason. Trying to solve it, required writing an ugly configuration code, with a regular alias, and then association of *.pl files with the cgi-script handler. But it works! ( I wish I would remember more of "Apache: The Definitive Guide", but I don't)

In any case, here are a few insights from the process:

• At one time, we needed to add a posting date directive to tell when the job was posted. Someone volunteered to add it, and he created a workaround, that treated the "PostDate" field especially in the code. I still thought back then, that it was a good ad-hoc solution for a complex problem.

When I did the change yesterday, I did it the right way, by designating the field in the fields' list with a few special directives, that were then treated by the code regardless of the field name. This took me exactly 5 minutes. Go figure! (this reminds me of what Joel Spolsky told about the Excel Drag&Drop Prototype).

• Someone was unhappy with the jobs tracker before and suggested he would revamp it. I sent him the code, and he said that the first thing he'll do was convert it to Python. I told him he should rather not do it, because I don't know Python very well. So he told me that as an ex-Perl hacker, I wouldn't have any problem understanding his code. (I forgot to tell him that I would have a problem hacking his code).

Anyway, with his attitude, I knew nothing would come out of it. Last I heard of him, he said his code was "close to be finished", but he then neglected working on it. And my code is working perfectly right now. (in Perl)

• More recently, some other hacker I met, said a completed system he wrote in Python could be used as a replacement for what we have now. However, he turned out to be quite unresponsive, so I don't have access to the code now.

I read Paul Graham's Why Nerds are Unpopular article. It was quite a good read, but I got the central message right at the start, and then it continued chewing it. I also continued reading "Extending and Embedding Perl". It now covers the Perl 5 API, which has a lot of functions, and it is getting quite tedious. Nevertheless, it is probably a better reference and introduction than the Perl man pages on the subject.

Studies

In Statistics, we have to submit each three consecutive exercises in the following lesson. Since I joined late, I had to prepare all of them in one week. It was quite a lot of concentrated work, but I did it.

Other than that - it's fine. Thermodynamics seems quite easy so far and I understand almost everything. I hope this situation will last.

LM-Solve Article

I received a few comments for the LM-Solve article. Ran Eilam (my former boss at Cortext) commented that it was very well-written and that he understood everything. He did say that it raised many questions that will be addressed at the next meeting.

A certain correspondant also responded, that a pattern found in the code was discussed in the perl6-language mailing list, but also that there's a more efficient algorithm (which he sent to me). I acknowledged this was the case, but said that I didn't want to invest time thinking how to do it right when I wrote the code, and also that the original code was conceptually simpler.

Yapcom

My comments regarding Yapcom (the Perl Conference mangement software that Israel.PM is writing) sparked an interesting discussion between Gabor Szabo and I in its mailing list. I commented a bit about the Subversion repository organization. I also had trouble getting all the tests to succeed, and was able to solve it with some consulting. Eventually, a patch of mine was accepted there.

Bill Joy Interview

haruspex: I agree with what you say about the Bill Joy interview. He seems incredibly cynical and pessimstic. His comments about Linux are also strange:

Re-implementing what I designed in 1979 is not interesting to me personally. For kids who are 20 years younger than me, Linux is a great way to cut your teeth. It's a cultural phenomenon and a business phenomenon. Mac OS X is a rock-solid system that's beautifully designed. I much prefer it to Linux.

First of all, there has been much progress in Linux since what was the state of the art at 1979. Secondly, in a way Mac OS X benefits from the progress done by the Linux community. Most Linux programs can run on Mac OS X as well, just as much as they can run on other UNIXes. Hell, some UNIX programs were also made to run on Windows, so in a way Windows people benefit from them, too.

Thirdly, Linux still has some clear advantages over Mac OS X, and many features that are present in Linux are not present there. (and naturally, vice versa). Finally, if you want to compete with Microsoft and Windows, Mac OS X is not enough. You can't tell people that they need to buy a non-i386 computer just to run the alternative Operating System that they want. Linux can co-exist on the same x86 computer as Windows, which is not the case for Mac OS X.

I'm not the kind of guy who would immediately denounce Mac OS X, just because some of the GUI and the desktop there is not open source. Also, while being a big fan of the GNU extensions, I still accept other more minimalistic UNIXes. But saying "Mac OS X Rocks while Linux Sucks" is kind of like saying that "Windows XP Rocks while Windows 2000 Sucks". (or vice versa).

18 Nov 2003 (updated 18 Nov 2003 at 20:38 UTC) »

Article at Perl.com

An Article I wrote to Perl.com was published yesterday. The article covers solving some types of puzzles with the LM-Solve framework. (which I authored). I did not mention I originally wrote it (which was some months ago) here because I did not want to ruin the element of surprise. I'd like to take the forum and thank two correpondants from Perl-IL who commented on an early draft of the article, and for Simon, the Perl.com editor, for instructing me how to do a thorough revamp of it, and for publishing it.

Maybe I should take the opportunity to clarify my opinion on Perl.com, because some people who read the "usabilty" of the Perl Online World for Newcomers misinterpreted it. I don't have a problem with perl.com as a site. It's a nice site, with interesting articles. I do have a problem that it is considered the homepage of Perl, because it is very much inappropriate for it. Recently, www.perl.org got a facelife, and regardless of its shortcomings, is already more suitable as a homepage for the Perl culture. So I suggest people to link to that as Perl and not to Perl.com.

15 Nov 2003 (updated 15 Nov 2003 at 21:05 UTC) »

Linux Day of Haifux

There was a Linux day this Wednesday organized by Haifux at the Technion. It involved an installation party, several instances of the Basic Use lecture, and a presentation about Instant Messaging tools for Linux.

I arrived at the morning with a ride given to me by Ofer Weisglass (who also drove me back from the the first "Why Linux" lecture this year). On the way, we talked about Linux and Open Source. I arrived there at about 10:15, and had to go soon afterwards to a class until 12:20. Afterwards, I bought me something small to eat, took a book out from the Dean Library, and went back there. There were plenty of installers there, and most places were occupied by installations in progress so I did not have much to do. I was able to see Orr giving the Basic Use lecture, but not much besides. I eventually volunteered to carry an extra screen from Alon's room to the hall in the Student house were the insta-party took place. The screen was quite heavy, and my hands have ached for a few days afterwards, but at least I did something useful.

Then Chinese Food was served and I ate to my stomach's content. And then I had a recitation to go to. After I returned, I was able to perform a few installations. One of them had to be carried out in a limited space, so we choose the minimal installation (that was still 3 GB). It was networked. Took about an hour net. I almost forgot to set up a swap space - I'm getting a bit rusty at these kind of things.

The next installation, was done on a computer without an Ethernet card and so was installed from the CDs. The installation took about an hour and a half on a P3 733 MHz computer with a fast CD-drive. (perhaps because of a slow hard-disk). While the packages were installed, I talked with the lady for which the system was installed, and told her about Linux, Unix and their philosophy and gave her some basic concepts. The installation of the updates was pre-empted after all the packages were installed, due to the late hour.

In the party I met (again, I think) Etzion's Girlfriend, who designed the covers for the CD. I heard her say something about the GIMP, and so approached her asking what she meant. She said she really liked it when she used it, and think it has a great potential. I told her I found it easier to use than Photoshop. Still, the CD covers were designed in Windows on Photoshop. (but I told her GIMP could run on Windows as well).

One of the installed computer came with a faulty CD-ROM drive and had to be rebooted a lot for the CD to boot. This was quite annoying. At the end of the evening, Emil (Kohn Dan) drove me home and we talked about the usual things (Linux, the Technion, etc.). I arrived home at about 12:30.

All in all, it was a very nice day, with the usual overwhelming feeling of insta-parties. There is an estimate that 40 installations were done.

Studies

I found the High-Speed digital systems course quite hard to understand and counter-intuitive for me. So I switched courses to "Introduction to Statistics" (of Industrial Eng.). The course seems OK so far: a lot of Probability theory, with exercises that are not too hard. (but require some research as I did not attend the previous classes)

Now, I'm studying Monday and Wednesday instead of Wednesday and Thursday.

kilmo is blogging again

kilmo is blogging again after the long time he's been in South America. It's great reading his diary after all this time. kilmo, welcome back!

TeX Problems (and their Solutions)

I tried to get the Hebrew fonts not to appear blurry when I convert them to PDF and view them using Acrobat Reader. So, I followed the instructions the kind people of the Haifux mailing list gave me and downloaded the latest IvriTeX RP. It did not work at first, and after I did something the Hebrew fonts did not appear at all.

Anxious to get it working (I had a homework to typeset and print), I started researching the source of the problem. It was a dvips problem and I played with the command lines it gave me until I found a command line argument to gsftopk that could achieve it. But I could not tell dvips to use it. Eventually, after a few failed attempts I was able to modify the file /usr/share/texmf/web2c/updmap.cfg and add the map of the culmus fonts of ivritex there. Then it worked like a charm and my documents even look nicer than before.

The error message I got was:

kpathsea: Running mktexpk --mfmode ljfour --bdpi 8000 --mag 1+0/8000 --dpi
8000 rdavid
mktexpk: don't know how to create bitmap font for rdavid.


After I resolved the problem, the maintainer of the package told me that I have to install the updmap-something package in the same directory as it is needed for tetex version 1, and that will resolve the problem. (after I resolved it manually). But it was not mentioned in the README, which also said I should install a separate ivritex-Fonts package, which I was looking for, for a long time. But everything is good now.

Next thing on my agenda: PDF table-of-contents.

Mandrake 9.2

The Mandrake 9.2 ISO files are available to the public. I downloaded them yesterday, partly overnight, and today discovered that their md5sum don't match, and the file size are too long by about a 100 MB. Must be a wget -c problem.

rsync resolved the problem, but it took quite a long time to do so.

I read the recent interview with Linus Torvalds, which was quite nice and entertaining. I also read Paul Graham's Hackers and Painters which was also nice. As for paperware, I finished reading what I wanted out of "Writing Perl Modules for CPAN" and began reading "Extending and Embedding Perl". So far, this book has a complicated feel to it, as it covers the Perl 5 internal data-structures.

Postscript

kilmo, thanks for the certification, and for the nice summary of the Linux Day. As for Computer Science vs. Software Engineering:

The Technion at the moment has a "Computer Science" department, and does not have a "Software Engineering" department. So, if you want to study programming, most people enroll either to CS, or to EE. From my impression, few people enroll to Computer Science to study about the theory behind Computer Science, and that exclusively. Normally, they would want to get a diploma that would qualify them as programmers, so they can later get better jobs or better pays. There are exceptions, naturally, but they are still the exception rather than the rule.

As for saying that CS is for Programming what Physics is for Civil Engineering, I'm not sure this statement is entirely correct. First of all, after reading "Hackers and Painters", I'm not sure Programmers can be labeled as "Software Engineers" so easily. Secondly, there is an entire theory of civil engineering, and many people research it. Ditto for Electrical Engineering. Civil Engineering uses only a small amount of the Theory of Physics, while the entire software body uses practically most computer science out there.

I know Dijkstra said that "Computer Science is no more about Computers than Astronomy is about Telescopes", and I agree that it is partially true. But I think we digress. I think that my claim that most Computer Science students did not came to the Technion to study the CS theory can be easily confirmed.

7 Nov 2003 (updated 25 Sep 2004 at 11:28 UTC) »

Subversion

I tried to resolve Subversion issue #1093. My uneducated attempt at it received a complete depracation from C. Michael Pilato which followed with a discussion on how to best resolve it. The problem is that we need to efficiently trace the history of a file backwards, which can only be done in the repository level.

So, the final question is whether to perform each such lookup for every remote operation that need to do it (which would require changing the protocol in many places), or assigning a separate command to perform the lookup. The second option is simpler and would require fewer modifications, so we'll probably go with it.

Talk with Ya'El (Orr's ex-Roommate)

On the way to the Technion on a Thursday a week and a day ago, I met Ya'El, who is Orr's former roommate and someone who studied Game Theory with me. We talked when we were waiting for the Haifa local bus, and on the bus about various stuff. (details are in my private diary). But it was a fun talk and I enjoyed it a great deal. One thing she told me was that she did not take any programming courses except the required ones, because they were too much work. One would thing one would study Computer Science to become a programmer, but she was more interested in the theory.

I discovered something interesting about the buses that day. Even though, there's a previous inter-city bus that comes 45 minutes earlier, the bus from there to the Technion just leaves, and so I don't get to the Technion earlier. And using the other bus I get to the Technion at 10:20, which is in the nick of time. Oh well.

Transcribing Thermodynamics into LaTeX

My mom suggested that I transcribe the Thermodynamics material into the computer, so it will be more organized and that I'll review it further. So, I fired my favourite Hebrew LaTeX editor (he2) and started transcribing it. So far, I did two lectures out of three. In any case, it's progressing quite slowly because all the formulas slow me down considerably.

For your enjoyment, I give you a group of macros I wrote for one body of equations. Note that my code could still use a lot of modularization.

\newcommand{\parens}[1]{\left(#1\right)}
\newcommand{\halfN}{\frac{N}{2}}
\newcommand{\hNpm}{\halfN+m}
\newcommand{\hNmm}{\halfN-m}
\newcommand{\tmN}{\frac{2m}{N}}
\newcommand{\osomething}[2]{\parens{1 #1 #2}}
\newcommand{\otmN}[1]{\osomething{#1}{\tmN}}
\newcommand{\ox}[1]{\osomething{#1}{x}}
\newcommand{\exprone}[1]{\parens{\halfN}\otmN{#1}\ln\left[\parens{\halfN}\otmN{#1}\right]}
\newcommand{\exprtwo}[1]{\parens{\halfN}\ox{#1}\ln\left[\parens{\halfN}\ox{#1}\right]}
\newcommand{\exprthree}[1]{\halfN\ox{#1}\ln\ox{#1}}


Telux Meeting

On Sunday we had a Telux meeting. Eddie Aronovich gave a nice intro to the advancements in RPC technology from RPC through CORBA to Web Services. One highlight from the lecture was that he prepared it on his laptop in Linux, and then discovered the screen had a problem there, so he had to switch it to Windows. So he converted the presentation from OpenOffice to PowerPoint. Then we told him OpenOffice was available for Windows... ;-).

But it was a lot of fun.

Israeli Perl Mongers Meeting

We met yesterday for the monthly meeting of the Israeli Perl Mongers. Before the meeting there was some food and a lot of interesting conversations with many people. There was someone there named Jason who came to Israel from Australia. When people asked him why he came to Israel, when all Israelis would prefer to be in Australia, he said it was more interesting here. ("May you live in interesting times"). We also discussed many of the books and other stuff.

Then came the lectures. Abraham Bernstein gave an overview of the things Tcl excel in. The lecture waThe lecture was very interesting. There was something there I did not understand about how to write an interpreter with Tcl. Then Gabor Szabo gave a brief overview of the Phalanx project which aimed to provide good test coverage for 100 of the most popular Perl modules. Afterwards, Ran Eilam gave a very entertaining and funny lecture about "Extreme Programming". He compared the common way that software houses manage themselves, which yield the "Big Ball of Mud" syndrome, and how Extreme Programming solves it.

A funny story that he told was that a manager once told the programmer to create a prototype of a software for a deadline in which he needed to demonstrate the software. So the programmer wrote something whose internals were lacking and gave it to the manager on schedule. After the manager returned from the meeting, the programmer asked him how did the software perform. "Great!" said the manager, "we need three more features by Monday".

During the break, I also talked with some people like Oded Resnik, and Eli Marmor. I took with me two books from the library: "Writing Perl Modules for CPAN" and "Extending and Embedding Perl".

The Neo-Tech FAQ

tk suggested to me that I read the Neo-Tech FAQ to gain a better perspective on Neo-Tech and understand why it is an "evil cult". Well, I was reluctant from reading it for a long time, but today decided to take Baz Luhrman's advice and "do one thing everyday that scares you". So I read the most recent version of the FAQ, which was pretty old (1996) that I found on Google Groups.

The FAQ is so ridiculous that it made me laugh a couple of times. I anticipated (from previous impressions of it) that it will try to attack mainly the Neo-Tech staff, while having little to say about the Neo-Tech wisdom, and I was right. Furthermore, most of the attacks on the Neo-Tech people were based on information or reports which I cannot easily assert, and most of the attacks on its wisdom quoted out-of-context snippets out of the Neo-Tech material, which can easily be refuted by someone with a better grasp of the Neo-Tech material. (and sometimes directly contradict other quotes, which state the opposite, plain and simple)

What killed me was the fact that it claimed Frank R. Wallace (the founder of Neo-Tech) advocated dishonesty because he said that in poker it was OK to cheat. (!) Seriously, Poker is very much about cheating as everybody know. Plus, the Neo-Tech Advantages state countless of times that dishonesty and lies are plain wrong and destructive. (except in Poker :-))

tk, if you think this poor excuse for criticism is good enough to invalidate the Neo-Tech Philosophy, then think again. If only, it made me more convinced that Neo-Tech is "The One True Way<tm>". And it certainly did not convince me that Neo-Tech is a cult or is Evil. Granted, Neo-Tech is huge in scope and takes some time to fully understand and integrate. But it is just an idea system, and a pretty darn good one.

In any case, I'm happy, because a huge stone was cast off my chest.

185 older entries...