Archive for the ‘Web’ Category

www. What ?

Friday, April 17th, 2009

Have you ever pondered about the “www.” prefix you type when you go to most websites ?

For some time I was sure that it’s actually the root of The Internet, the address of all addresses, the “Earth” of snail-mail addresses.

Later on I just stopped caring and assumed it was a mandatory part of the address like “http://” (I’m not going to recurse on the meaning of that, yet) which most browsers append if you forget, or like me, just plain too lazy to type.

That idea changed a little when I saw sites starting with www2.something.com, and I thought to myself – “Ha ? A second internet ? Is that where all the cool stuff go ? Or is that the Web 2.0 hype everyone is talking about ?”. But as with most random thoughts that blur through my head, a whole 20 picoseconds later I forgot all about it and moved on.

Today I was confronted head on with the true meaning of WWW, and I don’t mean the “It stands for World Wide Web” thing, but the reason it’s there.
While setting up a sub domain in gpgemini.com to redirect gpgemini.tumblr.com to zero.gpgemini.com for the Division By Zero blog, I was asked by the tumblr help page to set my domain’s A Record to their IP address.
Without a glimpse of an idea what that’s all about, I carried on.
Then I noticed at the very bottom of the page the following note:

We also fully support custom domains with a sub-domain other than "www". So you can use a domain like "blog.mywebsite.com" if you’d like.

My first reaction to this was - “WHAT ?”
”www.” is just another sub domain ? That is ALL ? What about the World Wide Web stuff, the Entire Internet ?
With hands shaking and cold sweat pouring I search “www” in Google…
After realizing that’s stupid, I search “wiki www” in Google,  get here a
nd read the following:

The letters "www" are commonly found at the beginning of Web addresses because of the long-standing practice of naming Internet hosts (servers) … This use of such prefixes is not required by any technical standard; … The "www" prefix has no meaning in the way the main Web site is shown"

World shattered and all I continue reading and find this little note:

However, some website addresses require the www. prefix, and if typed without one, won’t work; there are also some which must be typed without the prefix. Sites that do not have Host Headers properly setup are the cause of this. Some hosting companies do not set up a www or @ A record in the web server configuration and/or at the DNS server level.

And I think – Did I set my A Record right ? I take a look and I notice that my main domain is setup – “*.gpgemini.com” and “gpgemini.com” pointing to some address, but my new sub domain has only “zero.gpgemini.com” pointing to the tumblr address. So should you try to enter www.zero.gpgemini.com it wouldn’t work since I don’t have the “www” sub domain defined for it.
Now I do anyway, and my site is www-friendly.

Here is one more thing wiki had to say about www:

World Wide Web is the only thing I know of whose shortened form takes three times longer to say than what it’s short for.

Douglas Adams, The Independent on Sunday, 1999

Self Hosting gpgemini.com

Sunday, April 12th, 2009

http://www.cre8tivecontrol.com/cre8tive3/images/stories/wordpress/wordpress-logo.pngA while ago I’ve purchased a hosting plan on IX Webhosting. It allows me to host contents and traffic in the Gigabytes, map domains to separate folders on the server, create a ftp server, run php, sql and all other sorts of stuff I don’t really know much about.

Originally I decided to go for web-hosting for my musinatic website (which should go online in a few days). Later on it turned out to be a great chance to move this wordpress.com blog to a self hosted wordpress.org blog, which basically means I put the open source WordPress code on my site and let it rip. Since I now have full control of the website it allows for much greater customization.
Event though I’m totally clueless with php, setting up the WordPress blog turned out to be quite easy. I then used up the opportunity to change to look of the site a little and updated some of the contents. Dividing the posts to categories also helped to better understand the nature of what I write about here, which persistently alludes me.

http://blogs.microsoft.co.il/blogs/yosit/WindowsLiveWriter/WindowsLiveWriterandDownloadAcceleratorP_95D5/Windows_Live_Writer_logo_3.pngOne more thing I’ve discovered is Windows Live Writer - a desktop application that allows writing and editing blog posts within a solid, fast and easy to use desktop application instead of using a browser, which is usually much slower in user interactions and less powerful in text editing features. I’m really impressed by this piece of software, it has a sleek design, it’s easy to use, it’s fast and it’s free.
My hope is that by removing the technical burden of posting via a web interface, I will now be able to more freely express myself in this blog.

One of the challenges in performing this move was to make it as smooth as possible. I Began with setting up a new site with a static IP address and uploaded the WordPress files to it. After configuring it to work I copied all the old posts from gpgemini(.wordpress).com to this new blog using WordPress’s Export/Import tools. Then I checked what would happen to the RSS feeds, since the new site will also be mapped to gpgemini.com the blog feed “gpgemini.com/feed” should stay the same, and the feeds.feedburner.com/gpgemini feed should also stay the same as long as I update the feed source in feedburner. The only problem could occur if someone is subscribed directly to gpgemini.wordpress.com/feed, which will mean the feed will break.
Finally, making the switch – I’m about to (not yet as to the moment of writing this) remap the gpgemini.com domain at GoDaddy to the IX WebHosting servers, something which should take at most a day to fully apply, after which the transition should be complete.

I never thought that making such changes is a logistical operation, my puny blog is nothing compared to making a move of major websites with millions of users, yet the transition usually goes unnoticed.
I hope this one will go well. Should you see re-occurring posts appear in RSS feeds know that it’s probably due the this move.

Edit: After remapping the domain from the wordpress.com nameservers to the ixwebhosting nameservers everything seemed to work fine, until I reconfigured the blog to use “gpgemini.com” as the blog address instead of it’s static IP – at that moment all hell broke loose and my site turned to black text over a white background. Something was definitly broken in the WordPress files. Luckely I’ve read beforehand a way to bypass the configuration I screwed up and the Blog came back up. So at the moment everything seems to be running ok !

You can do better

Saturday, March 29th, 2008

I got an email titled "Naked Shakira Clip" today.

Thinking "Cool, I got a naked shakira clip right to my inbox" I took a look, and there is a link there named "Download and Watch" poiting to www.someaddress/video.exe

It’s like their not even trying anymore.

The funny thing is that of all the houndreds of spam mails I get, this one got through the Gmail filter.

Come On !

A Trend Named Firefox

Friday, January 4th, 2008

I looked up some statistics of user entries to my DivisionByZero tumblog, and was a little surprised to find that Firefox was the definite leading browser people use.

I was sure Firefox would be at around the 20-30 percent, but it stands at around 45% of total entries, and if you neglect IE 6.0 from the count, since it’s most likely used by people who don’t or can’t make a contious choice of their browser, you’ll get that Firefox is used almost twice as much as IE 7.0 does.

http://img120.imageshack.us/img120/8499/firefox2vw9.png

If you tried Firefox 2.0 (not the old 1.x versions) and you didn’t like it, that’s ok.
But if you’re still using the default IE option, you must try Firefox. The results above speak for themselves

Kleptocracy

Saturday, December 22nd, 2007

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

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

את ההסבר המלא אפשר כמובן לקרוא בוויקי.

גיבוי מלא לאימיילים

Tuesday, September 25th, 2007

גוגל מצחיקים, או שמא זה אני.

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

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

 

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

אז חיפשתי אם מישהו כבר מצא פתרון לבעיה, כי אין כמעט דבר שתחשבו עליו בעולם הזה שלפחות 500 אנשים אחרים לא חשבו עליו קודם, 50 שחיפשו לו פתרון ו-5 שפרסמו 10 פתרונות שונים לבעיה.

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

img222/8002/gmailjk7.png
ואכן מסתבר,שגוגל הכניסו פיטצ’ר לגי’מייל שמאפשר לכם להעתיק באופן מוחלט ומדוייק תיבת דואר אחת לתיבת דואר אחרת. פשוט ומדהים!
הוא יודע להעתיק את כל ההודעות, עם חותמת הזמן שלהם, ועם מבנה השיחות שלהן ללא כל מאמץ, גם הודעות מהעבר וגם כל ההודעות העתידיות שיגיעו. הפיטצ’ר נקרא "Google Mail Fetcher" והוא נגיש מה-Settings בתיבת הג’ימייל והוא יודע להעתיק מיילים מכל תיבה שתומכת ב-pop3 לכל חשבון ג’ימייל.

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

אני ממליץ בחום לקרוא את ההסבר המפורט על איך משתמשים בפיטצ’ר הזה. ניסיתי את זה על תיבת דואר הזבל שלי שמכילה 2400+ הודעות בנפח כולל של כג’יגה והוא העתיק את כולן כמו שהן לתיבה אחרת של ג’ימייל תוך כחצי יום. כעת הוא מעתיק את 3000+ ההודעות מתיבת הדואר הראשית שלי. מסתבר שהוא עושה את זה בקצב רגוע יחסית, אבל זה לא באמת משנה כי המחשב שלכם לא כלל לא מעורב בתהליך, כל העבודה נעשית על השרתים של גוגל שבקפדנות מעתיקים את ההודעות מתיבה אחת לאחרת.

Feed43 (Feed For Free)

Friday, August 10th, 2007

FEED43 (Feed For Free) If you are a junkie feed reader like I am, you would appreciate Feed43.com.
What it does is both simple and smart - you give it a webpage with no RSS feeds, define what you want to receive, and it builds a valid RSS feed for the site.
Just like that !

How it works, from the Feed43.com page:

Once the feed is set up, the service works as follows:
1. Your feed reader sends request to our server to download the feed.
2. Feed43, in it’s turn, downloads the original source URL, processes it, converts to valid RSS feed on the fly, and returns it to feed reader application.
3. Feed reader displays the contents of this feed to you.

To set up the feed, you must tell feed43 what the items you are interested in look like. Note that it requires some basic html knowledge. It took me about 10 minutes to set up a feed for my Google Reader items.
The search pattern looks something like this:

<div class="item">
<h2 class="item-title"><div class="{*}"><a href="{%}" mce_href="{%}">{%}</a></div></h2>{*}
<div class="item-info">{%}</div>{*}
<div class="item-body"><div style={*}>{%}</div></div>
</div>

Where {%} indecates something that is interesting, such as title, link or contents, and {*} indicates something that is not interesting. The <div class …> tags are used as anchors in the search pattern, telling feed43 where items start and end.

Simple, smart and very useful.

WordPress

Monday, August 6th, 2007

The image “http://winnopeg.com/images/wordpresslogo.png” cannot be displayed, because it contains errors.היום בשעה טובה העברתי את הבלוג שלי ל WordPress וזה ללא ספק אחד משירותי הבלוגין הטובים ביותר, כנראה הכי טוב.

השתמשתי ב-vox.com כמעט שנה, ולמרות שהוא מספק, אני כל הזמן מרגיש שהוא נופל על הדברים הקטנים, שכל כך קל לשנות ולתקן אבל משום מה לא טורחים לעשות. השתמשתי גם ב-Blogger תקופה קצרה, אך למרות שהוא נקנה ע”י גוגל, הוא סובל מבעיות שימושיות קשות, בפרט ה-online editor שבקלות יכול לגרום לפוסט שלם להיעלם.

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

ממעט הדברים שהתרשמתי מהם בחצי שעה:

עורך דינמי מבוסס Ajax (אם אינני טועה).
יכולות alignment בסיסיות ללא צורך בעריכת html (אם כי גם זה אפשרי). קריטי עבור תמונות סטייל הלוגו של WordPress מעל.
auto-save של הפוסט בזמן כתיבתו.
יבוא פשוט של תמונות ווידאו לתוך הפוסט (copy paste).
ניהול מתקדם של פוסטים, תגובות ועוד.
מאפשר תגובות אנונימיות ועם זאת מונע spam-comments.

כל זה בנוסף ליכולות הנדרשות מכל שירות בלוג כמו RSS feeds בחירת עיצוב ועוד.

הפוסט הזה בכוונה בעברית, ולצערי התמיכה בעברית הינה רחוקה מלהיות מושלמת, בשביל לכתוב נכון צריך להעביר את הממשק של האתר כולו לעברית. וחלק מהאופציות בעורך כמו בחירת כיוון טקסט (rtl, ltr) קיימות רק בממשק העברי. קצת חבל כי הן שימושיות גם בממשק האנגלי.
אני עובד עם פיירפוקס ובתצוגה העברית יש כמה בעיות תצוגה כמו טקסטים גולשים וכד’, אך למעשה בעיות התמיכה בעברית בIE7 הרבה יותר גרועות, פיירפוקס עוד מתמודד איתן בצורה סבירה.
כמו כן חסרה יכולת לייבא את הפוסטים שלי מ-vox.com.

אם להניח את עניין התמיכה בעברית בצד, השירות הוא כמעט מושלם. מי שרוצה לכתוב, רק ב - WordPress.


Copyright © 2010 קוצים של פחד. All Rights Reserved.
No computers were harmed in the 0.353 seconds it took to produce this page.

Designed/Developed by Lloyd Armbrust & hot, fresh, coffee.