
My family, books, photos, technology, language and some math משפחתי, ספרים, תמונות, טכנולוגיה, שפה, וקצת מתמטיקה
Wednesday, August 6, 2008
היקום על חולצת טריקו מאת דן פאלק

על הספר מאתר טקסט: http://www.text.org.il/index.php?book=0605031
והנה דעתו על הספר של אריה רוקח באתר עיתון הארץ: http://www.haaretz.co.il/hasite/pages/ShArtPE.jhtml?itemNo=728733&contrassID=2&subContrassID=12&sbSubContrassID=0

וסקירה יסודית ומאירת עיניים של אהן קנטרוביץ' באתר הידען: http://www.hayadan.org.il/wp/univese-on-tshirt-006081/
הספר לא ארוך (פחות משלוש מאות עמודים), וכתוב ומתורגם בשפה קולחת.
הסטוריה של המדע בתחומי הפיסיקה מתוארת בתמציתיות כאשר חוט השני הוא הניסוח התמציתי של תופעות הטבע והיכולת לתאר באוסף קצר של נוסחאות את החוקים שלהם מציית הטבע.
בעוד שקל מאד היה להבין את הרעיונות, הקשיים, ההתפתחויות והנוסחאות עד וכולל תורת היחסות ואפילו תורת הקוונטים (לא פלא, את הרוב הבנתי ולמדתי בבית הספר ואת השאר לעומק בלימודי הפיסיקה בטכניון), היה לי קשה להבין את הדימויים מתורת המיתרים. גם נדמה לי שהמחבר עצמו הרבה "לרפד" את הקוראים בתחושה שהנושאים החל מתורת הקוונטים הם קשים ומורכבים מידי לאדם פשוט שאינו מומחה ושהמדע כפי שהוא מתואר בתיאוריות אלה הוא מעבר ליכולתם של רוב האנשים והוא זמין ונגיש רק למתי מעט שבקיאים במתמטיקה ובעקרונות הפיסיקליים.
מי יודע, אם לא בעוד כמה שנים, הנושאים הללו כבר יובנו היטב ויימצאו להם ניסוחים ברורים ותיאורים מאירי עיניים כך שבר בתיכון או לכל היותר בלימודי תואר ראשון במדע ובהנדסה ניתן יהיה ללמוד ולהבינם על בוריים או לכל הפחות את העקרונות ולקבל אינטאיציה ברורה.
נהנתי מאד מהקריאה.
אני ממליץ על הספר בחום.

הנה גם הדף על הספר באנגלית מאתר אמאזון, שם ניתן לקרוא ביקורות נוספות על הספר: http://www.amazon.com/Universe-T-Shirt-Quest-Theory-Everything/dp/155970733X/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1217994006&sr=1-1
Tuesday, August 5, 2008
מכונת הכביסה לא סוחטת ונשארים מים בדוד

קיבלתי שם עיצות ואח"כ ניסיתי ודיווחתי על ההצלחה.
הנה קישור לאשכול: http://www.tapuz.co.il/tapuzforum/main/Viewmsg.asp?forum=149&msgid=119926500
הנה הפעולות שביצעתי:
1. פירקתי את המסנן (צריך קצת לפרק כדי להגיע אליו, כי זאת מכונה עם פתח עליון ואחרי שניקיתי אותו במים זורמים השריתי אותו בחומץ (זה שקונים בסופר: חומץ סינתטי של יכין ב-4 ש"ח לליטר שקונים בסופר במדפים של השמן והחומץ למאכל)
2. אח"כ הוצאתי את צינור הניקוז מפתח הניקוז והזרמתי לתוכו מים בעוצמה מצינור הגינה, במשך כ-10 שניות.
3. ניקיתי את הטינופת שהצטברה במכונה.
4. שפכתי ליטר חומץ לתאים ויחד עם המים שכבר היו במכונה בגלל השטיפה בצינור וסדרתי את המכסה (הפילטר עדיין מפורק ולא מורכב)
5. החזרתי את צינור הניקוז למקומו והפעלתי את המכונה בתכנית של סחיטה בלבד
6. המכונה סחטה כמו חדשה במהירות. ועבדה למשך כל התכנית (5 דקות)
7. פתחתי את המכונה עם סיום התכנית וראיתי שאין מים שנשארו, והתוף מבריק וללא שרידי אבנית.
8. חזרתי על שלבים 2-7 שוב
9. החזרתי את הפילטר הנקי (עכשיו אחרי ששהה כשלושים דקות בחומץ גם הוא הבריק והיה ללא שרידי אבנית) והרכבתי הכל בחזרה והחזרתי את כל הצינורות למקום.
10. מילאתי את המכונה בכביסה והפעלתי כרגיל.
11. התקלחתי ונסעתי לעבודה
12. מיכל התקשרה לבשר לי שהמכונה עובדת נפלא וכבר הפעילה עוד פעמיים את המכונה והכל תקין.
Monday, August 4, 2008
Simple Sign-and-Encrypt and why it is flawed, security wise

Defective Sign & Encrypt in S/MIME, PKCS#7, MOSS, PEM, PGP, and XML by Don Davis
"
...
Users and programmers prefer to think about security by analogy with familiar symmetric-key ``secret codes.'' For mail-handling and file-handling, security designers have relied heavily on simple asymmetric encryption and signing, rather naïvely combined. Naïve sign & encrypt has surprisingly different security semantics from symmetric encryption, but the difference is subtle, perhaps too subtle for non-specialist users and programmers to grasp. Indeed, for senders, sign-and-encrypt guarantees the same security properties as symmetric-key cryptography gives. With both types of crypto, the sender is sure that:
- The recipient knows who wrote the message; and
- Only the recipient can decrypt the message.
The difference appears only in the recipient's security guarantees: the recipient of a symmetric-key ciphertext knows who sent it to him, but a ``simple sign & encrypt'' recipient knows only who wrote the message, and has no assurance about who encrypted it. This is because naïve sign & encrypt is vulnerable to ``surreptitious forwarding,'' but symmetric-key encryption is not. Since users always will assume that sign & encrypt is similar to symmetric-key ``secret codes,'' they will tend to trust naïve sign & encrypt too much.
..."
Thursday, July 31, 2008
JavaScript casting from string to numeral -- The 0 trick
javascript: typeof("17" - 0)
This type casts the string "17" to the number 17. Your result will be number.
BUT:
javascript: typeof("17" + 0)
will type cast the number 0 to the string "0" and will concatenate it to the string "17", so you will get "170". Your result will be string.
AHA!
This looks like a thing that can result in bugs in implementations.
17th USENIX Security Symposium

17th USENIX Security Symposium: http://www.usenix.org/events/sec08/sec08.html
I found some very interesting stuff there in the technical sessions.
Here's the ToC: http://www.usenix.org/events/sec08/tech/contents.pdf
F5 ASM on DevCentral

F5's ASM has its own DevCentral forum: http://devcentral.f5.com/Default.aspx?tabid=53&view=topics&forumid=47
x6 zoon lense for your cell phone

My friend, Dima Rovniagin, referred me to a site that sells gadgets, where they sell a x6 zoon lense for cell phone cameras: http://www.dealextreme.com/details.dx/sku.3570
Wednesday, July 30, 2008
Snapshot of a web page

If you want to have an instant snapshot image of a web page as one would view it in a web page do the following (this is a firefox trick, I think that IE and other browsers have similar tricks):
1. add a bookmark to http://images.websnapr.com/?size=size&key=key&url=%s
2. edit the bookmark's properties: and give a keyword. I used "snap".
3. save
4. goto your browser's location bar and type snap URL where URL is some URL of a web page. Try for example: snap http://shlomoyona.blogspot.com
Cool!
jslint

JSLint -- The JavaScript Verifier.
Online tool to verify and check your JavaScript code.
See: http://www.jslint.com/
לאמיר הערן גוטע בשורות -- שנשמע בשורות טובות -- ברכות וקללות ביידיש
את הספר רכש בעבורי (החזרתי לו את הכסף!) חברי אמיר אהרוני לאחר ששמע שהתלהבתי מתאור הספר
מאז שיש לי את הספר על שולחני בעבודה נשמעות באויר קללות וברכות ביידיש מפי כל עובד ועובדת וזה מכניס עוד הנאה להוואי בעבודה.
שלא לומר שאני מתחיל להיות מסמר הערב במפגשים משפחתיים עם המשפחה מצידה של אשתי (מצד הורי, התורכים, אין ידע ושפה אידיים...).
הארגון בספר לא כ"כ מוצלח לדעתי וגם לא המפתחות שמפנים לעיול על פי מספרו ולא גם או רק לפי העמוד בו הוא מופיע.
מאידך, התרגומים גם לעברית גם לאנגלית וגם לרוסית הם שימושיים מאד מאד.
ספר מהנה ומומלץ.
שמחתי לראות כי יש ספרים נוספים של אותו המחבר בסגנון:
- 2000 בילדערישע אויסדרוקן אין יידיש (2000 מטבעות לשון ביידיש)
- חמש מאות דימויים ביידיש והמקבילות בעברית, באנגלית וברוסית
- אלף ניבים ביידיש והמקבילות בעברית, אנגלית ורוסית
- אויפן שפיץ צונג - על קצה הלשון 500 פתגמי יידיש
גם את אלה אנסה להשיג. מי יודע היכן ניתן להשיג?
"Understanding Shutter Speed" by Bryan Peterson
Here's the link to the title itself on Amazon: http://www.amazon.com/gp/product/0817463011/ref=cm_rdp_product_img
I already own previous titles from this author " Understanding Exposure", "Learning to See Creatively", " Beyond Portraiture" and " Understanding Digital Photography". This book is very similar: it contains great pictures as examples, it contains short text paragraphs that can be read and understood separately and it provides useful tips and examples.
It is unfortunate that some of the pictures are re-used from previous titles. This also happened in his previous titles. I fail to understand why Peterson does this. Being a photographer for so many years, he surely has enough photos available to be able to exemplify without such re-use of material.
Nonetheless, the pictures are AMAZING and worth alone buying the book. The tips are very useful.
I like the style very much and appreciate the fact that the text is short and without useless "filler text".

