Archive for December, 2005

Using Apache Torque from JPackage

For some reason which is completely beyond me, Apache java projects – at least the ones I encounter lately and that are a less known outside the Java community – tend to be huge, complicated, and require lots of dependancies (some even circular inter-dependancies).

All this makes using them out-of-the-box as I expect any development library to work, almost impossible. In order to use something simple such as a templating system you need to have a full set of Apache java projects installed, including a project management suite, an HTTP client, a WebDAV client (which for some wierd reason is not the same thing), database persistancy layer, and more and more.

At this point I’m trying to use the Apache Torque (db-torque in jpackage lingo) which is a Java database abstraction layer, as insalled from JPackage 1.6. Apparently, using it is so “simple” – you just need to edit 3 (!!) files :-/.. and then do this and this and this and this.. and none of it is properly documented where you would expect to find such documentation – in the jpackage ..-manual package or the web site for the project. The manual package at least comes with a basic tutorial but its (a) extremly skimpy on actual details, (b) refers to files that cannot be found on the jpackage archive, and (c) apparently was removed from the actual web site for some reason.

(more…)

Using the XML HTTP Request object

Here s a really good primer on starting with all this AJAX stuff: Using the XML HTTP Request object.

It gets you up and running quickly with some basic example of running HTTP requests (the “Right Way(tm)”), including JSON and SOAP.

(more…)

התמונות מאילת עלו לאלבום באתר

ואפשר לראות אותן באלבום כאן.

חוץ מזה רציתי לציין את העובדה שסוף סוף ממש מרגישים את החורף – קר, כל סוף השבוע היה גשום (בשבת ירד גשם כמעט ללא הפסקה) וגם ביום ראשון הגשם הופיע קצת. היום לא ירד גשם, אבל כבר ממש קר בחוץ:

לפעמים העיתונות עוברת כל גבול

בעקבות הארוע הרפואי שהיה לרה”מ אריאל שרון והאשפוז, התקשורת מלאה בדיונים על מידת החשיפה שצריכה להיות למצבו הבריאותי של ראש הממשלה.

הסקנדל התורן היה שהתגלתה העובדה שבמסגרת הבדיקות השגרתיות בבית החולים, ראש הממשלה הורדם בהרדמה כללית לכשעה, והתחוללה מאין סערה פומבית בזעיר-אנפין על האם ה”ציבור” היה צריך להיות מיודע על השתלשלות זו.
(more…)

Windows Vista r5270 has arrived

To some desktops atleast (the real operating system release – what is known in the MS world as “going gold”- is a ways off, don’t get your hopes up for that thing being uncaged before 2H2006), which would not have made a big splash in my little corner, have I not glanced at the above linked article (forum post actually).

(more…)

הסגנון הבא בבבקשה

אני חושב שכולם יסכימו שהסגנון החדש (almost spring) עדיף על הקודם, אבל האם להשאיר או להמשיך לחפש ?
המשאל שוב חזר לצד ימין של העמוד ואתם מוזמנים להשתמש בו.

(די אהבתי את 921 .. 🙁 )

(more…)

עדכונים מסוף השבוע

היינו בשבת באילת – קרן ואני, אורי ושני ידידים של קרן.
לא היה יותר מדי עמוס –
* ירדנו ביום חמישי בשעה סבירה, והיתה קצת פאשלה עם המלון (לא הבנתי מה זה “אכסנית הצוללים של אמבסדור” שהתברר כמבנים טרומיים מחוץ למלון).
* אני ואורי עשינו שלוש צלילות ביום שישי בזמן שקרן והשאר עשו צלילת הכרות אחת וניסו להספיק לטיול גמלים (שהתפקשש)

(more…)

עדכון אתר נוסף

שיניתי את הסגנון לסגנון הבא ברשימה מ-Wordpress Themes.
האמת – אני לא ממש אוהב אותו, וגם די רבתי איתו כדי להוסיף את התמיכה בעברית: דף הסגנון שלו בנוי בצורה די מעצבנת כשהעמוד כולו ממורכז (בלי שום סיבה שאני יכול לראות) וחלקים בודדים מקבלים ישור לימין או לשמאל בהתאם לטעם.

(more…)

ניטור עומסים

במאמץ להבין לאיפה הולך כל ה-CPU time של השרת שלי, כתבתי תסריט קטן שצופה במסד הנתונים (MySQL) ומנסה להציג מידע שימושי לניתוח עומסים.

(more…)

OpenSUSE 10.1

I Installed OpenSUSE 10.1 on my second computer yesterday – a lowly P3-666 with 64MB.
I must say I’m highly impressed.

(more…)