Thursday, July 12, 2007

זבל של זכויות?


סתם נקודה למחשבה. האם מי שמפרסם דואר זבל זכאי לשמור על זכויות יוצרים?
אם אני מבצע שיחות מטרידות, והקורבן שלי מקליט/ה את מה שאני אומר, ומפרסמת - האם אני יכול לתבוע את אותו האדם על פגיעה בזכויות היוצרים שלי?
תודה לך, סיינטולוגיה, על שנתת לנו כל כך הרבה נושאים מעניינים עליהם אנו יכולים ללעוג לך.


Wednesday, July 11, 2007

סתם. פשוט סתם.

תודה, תודה, תודה לספרית אוניברסיטת בן גוריון ולחברת בריטניקה, על העונג שאין שני לו: קורס מעאפן להכרת הספריה.
כלומר, ברור לי לגמרי שחשוב שאני אדע איך להשתמש במשאבי הספריה. ודאי וודאי שצוות הספריה יעדיף לתת לי מטלה אוטומטית מאשר להטריח את עצמו בלהכשיר אותי. אבל מה, לא חיפשתי אף פעם בגוגל? בחיי שזה לא יותר מסובך. אני יכול ללמוד על הדרך. זה ייקח לי פחות זמן מהלומדה המעאפנה הזאת. אז אם היא חסרת תועלת, טרחנית, וחסרת ערך אקדמי, אז למה לא להכריח את *כולם* לעשות אותה?
את הכסף בחזרה, בבקשה.
ולא, 100 זו דרישה, לא הישג.

זהירות, ספריה

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

זהירות, אינטרנט!

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

Wednesday, July 04, 2007

I broke everything

I wanted to set up multiple websites on IIS. I thought I'd actually found an answer, but ultimately it just messed up IIS. See, in windows 2000 Server, and maybe win 2000 as well - I'm not sure - you could host more than one website on your computer. This functionality was removed from Windows XP, for some reason. The script for creating an extra website still exists, but you can't run them both at the same time, so you have to resort to Virtual Directories. I think this is fixed in Vista, but I'm not sure. Score 1,000,000 for Apache. DotNetNuke, however, only runs on IIS. Hrnph.

Well, I tried, and things didn't quite work the way I wanted them to, so I tried going back to the original configuration.

Argh.

I had moved (stupid, stupid) my DNN dev directory to the 2nd website folder. So when I wanted to switch it back, VWD Express went apeshit. Nothing would compile, everything reported missing Import statements and unfamiliar data structures... I tried the other DNN and it worked fine, so I tried moving the TimePunch module over there.

Again VWD blew smoke.

What finally worked was zipping the TimePunch files, recompiling the dnndev project, seeing it load, then unzipping theTimePunch modules again, and recompiig everything so this timeit works. Don't knowhow or why, but that did it. I hope. For now.

Friday, June 29, 2007

Done the formatting.


I've got a non-functioning time keeping page. I'm even learning a bit of HTML on the way; in this case, tables.


So I've got the basic access functions going, which means the foundations for the module have been laid. So we have the view, and we have the model. Now, we just need the controller - the part that links the view to the data access functions. That's in chapter 8.


The really cool thing, is that I bought the C# version of the book, but while I'm waiting for it, I "acquired" the Visual Basic edition. So I'm writing the code in C#, which is a great exercise in translation!

Tuesday, June 26, 2007

DNN Module Development Progress

Okay. Taking a break for today. Here's a summary of what I've done:

  1. I've modified the structure of the Punch module database table.
  2. Modified the related Stored Procedures in the db.
  3. Updated the data controller functions in the module souce. These are found in App_Code/[Module Name]/SqlDataProvider.cs
  4. Updated  DataProvider.cs to reflect the modified function headers. In the book, it refers to their signatures. Is this their "prototype" as it used to be called? Or is prototyping the mere act of informing another section of code about the function headers, as in an #include statement in old-time C?
    This is done because SqlDataProvider.cs implements the actual functions defined in DataProvider.cs (sql d.p. is an implementation of the abstract d.p.)
  5. Updated the TimePunchInfo class, which contains the information for a single record retreived from the db. This is cool. This is basically the data item that you insert and retrieve. In the case of the TimePunch module, it's the individual punch (in or out) of a user.
    in the store, this might be a store item, it might be a buyer, a transaction. What else? Oooh. Exciting.

The next thing to do, according to the book, is start work on the presentation layer, which is the part that connects to the DNN UI. This involves the settings control, the edit control and the view control, each with its own .ascx files, source code and reasource files. I'll see you on page 246, same bat-time, same bat-channel!