Search This Blog

Tuesday, December 31, 2013

How to delete a property from Google Analytics ?

One always wishes for better user interfaces, with that rare characteristic of being intuitively boring.
Boring as in things put where one expects to find them, even if he had never used them before.

Sadly, deleteing a property from Google Analytics was not desgined with this aspect in mind, as you know by now, if you got to this page by deliberately searching for an answer to that so simply appearing to be question  of "How to delete a property from Google Analytics ? "

The answer is annoying and simple (and yet annoying):
1. Choose Admin (top right corner);
2. Choose the account;
3. Choose the property to be deleted;
4. Now, for each of the views that this property has -
a.  under the right-most "view" tab, choose the "View Settings" option


b. Roll to the bottom of the screen, and choose "Delete view";



















c. Confirm that you really do wish to delete this view, forever and forever, by pressing "Delete view".



Believe it or not, after you delete the last view of this property, the property will be deleted as well. 

Wednesday, November 20, 2013

מה עדיף לקנות נייד או נייח ? התשובה: זה לא מה שהיה...

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

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

לפני שאמשיך, אני צריך להזכיר שכל מי שמתלבט אם לרכוש נייח או נייד היום, צריך לברר לעצמו מהם הצרכים המחשוביים האמיתיים שלו. יש לא מעט משתמשים שהתשובה הנכונה עבורם בהתלבטותם בין desktop לבין laptop היא בכלל tablet, או אפילו רק smartphone. הצרכים של בת-שיחי היו כאלה, שהבירור הספציפי הזה היה קצר וחד-משמעי: הצרכים שלה חייבו מחשב "אמיתי". וכך נותרה השאלה: כשמחפשים מחשב "סביר", מה עדיף כלכלית - נייח או נייד ?

אז נכון, תמיד כשמשווים חומרת desktop לחומרת laptop יש אלמנט של השוואת תפוזים ותפוחים, אבל מהפרספקטיבה של משתמש הקצה, יש שורה תחתונה של היבטים פונקציונליים שבה הדברים ניתנים להשוואה, ובמסגרתה, אם אתה לא הולך אל הקצוות של הvery high end של גיימרים ושרתים, או של הvery low end של מחשבים שנועדו לקריאת דואל וחדשות ותו-לא, נראה שהלחץ המתמשך שמפעילים הטבלטים על הניידים יצר מצב חדש, בו מחשבים ניידים מציעים עסקה שמחשבים נייחים לא באמת מסוגלים להיות תחרותיים מולה.

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

התוצאה היא שמול העיניים שלנו הולכת ונוצרת התמיינות שיש לה השלכות כלכליות מאוד מעניינות, וזה עוד בלי להזכיר את ההשלכות האפשריות של התפתחויות בתחום המחשבים הנייחים כמו Raspberry Pi, Chrome box, Intel Nuc; התפתחויות בתחום המחשבים-על-מקל כמו Smart iSMRTV, ChromeCast והמחשבים הזעירים דוגמת Kinetis.

המושג של "מחשב", שהיטשטש עם עלייתם של הטבלטים, הולך ומיטשטש עוד ועוד הודות להופעתם של מוצרים כמו Google Goggles ושעונים חכמים (סמסונג אולי אכזבה, אבל השוק של שעונים חכמים הולך ומתמלא במתחרים, דוגמת השעון של סוני, pebble, ואחרים;  הקטגוריה של שעונים חכמים כבר מספיק גדולה לאתרים שמייחדים עצמם אליה, וקל להעריך שבנושא הזה, אנחנו רק בהתחלה). בתוך התהליכים הנמרצים של עליית עידן הpervasive computing (כן, כבר אמרנו שהוא כבר כאן, זוכרים?) קשה לחזות אילו קטגוריות ישרדו את העשור הקרוב ואילו ייעלמו, אבל אם הדינמיקה של השתנות המחירים מול עינינו מלמדת משהו, נדמה שהיא מאותתת על כך שהlaptop-ים עתידים לתת "קרב טוב" ולהפגין שרידות גדולה מזו שחזו להם.

Tuesday, October 15, 2013

Google Analytics הסבר למתחיל: איך אפשר לדעת את מקורות ההגעה לדף ב ?

חבר שעושה את צעדיו הראשונים בתחום קידום האתרים (search engine optimization) ועדיין נאבק עם היסודות של google analytics שאל "איך אפשר לדעת את מקורות ההגעה לדף (פייסבוק, גוגל+, וגוגל)?"

התשובה היא מאוד פשוטה:
1. הולכים לreporting (כפתור שלישי משמאל בפס הכתום למעלה)
2. בוחרים acquisition
3. בוחרים all traffic

וכך אתה רואה את מקורות התנועה.
דוגמא לאתר עם מקורות תנועה מוגבלים. פרטים מזהים טושטשו. 


אבל זה לא נכון לעסוק רק במקורות התנועה. חשוב לא פחות לבחון את ההתנהלות שלה בתוך האתר. איך עושים את זה ?

התשובה היא מאוד פשוטה:
1. הולכים לreporting (כפתור שלישי משמאל בפס הכתום למעלה)
2. בוחרים Audience
3. בוחרים Visitors Flow

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

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

Monday, September 30, 2013

using bash to generate random numbers

I did not know it but it was fun to discover: you can use bash to generate random numbers 
/dev/random and /dev/urandom generate random strings. 
(you can read more about it here and here).

Some examples of the foolish play i found myself engulfed in:
[gil@XXX ~]$ head -1 /dev/random  
?????K                                                                                                       

[gil@XXX ~]$ echo $RANDOM                         
2688                                                                                                                                 

[gil@XXX ~]$ echo $RANDOM    
1348 

[gil@XXX ~]$ echo $RANDOM       
17522                                                                                    

[gil@XXX ~]$ echo $((RANDOM%200-100))
4                              

[gil@XXX ~]$ echo $((RANDOM%200-100))
-2 

[gil@XXX ~]$ echo $((RANDOM%200-100))
-86                                        

[gil@XXX ~]$ echo $((RANDOM%200-100))
-65                                   

[gil@XXX ~]$ echo $((RANDOM%200-100))
97                          

[gil@XXX ~]$ echo $((RANDOM%200))
15                          

[gil@XXX ~]$ echo $((RANDOM%200))
95                     

[gil@XXX ~]$ echo $((RANDOM%200))
59                              

[gil@XXX ~]$ echo $((RANDOM%200))
166                        

gil@XXX ~]$ od -An -N2 -i /dev/urandom   
 61417        

[gil@XXX ~]$ od -An -N2 -i /dev/urandom         
 3756            

my source for this lovely discovery - Bash Shell Generate Random Numbers.


Sunday, September 29, 2013

Oracle tidbits: IN vs. EXISTS and more...

As I was trying to recall how does oracle execute a correlated subquery I ran into several discussions by tom kyte about in, exists, and more ... 

Not every day you get a chance to see a discussion spanning more than 12 years, exemplifying how the development of the Oracle Optimizer changes technical answers over time... 

Tuesday, September 3, 2013

installing a virtual linux guest: CentOS on VirtualBox

I've been asked on occasion to guide/assist/point/encourage/support/whatever in the process of installing a virtual linux guest. 

Finding myself doing some installations following a sad incident , I thought i might use the enforced opportunity to document my steps (to some extent, and not too deep a resolution), and provide a post which may interest some. 

So, here it is - a play-by-play description of the process of installing a centos 6.4 as a guest on a windows7 host. 

=getting the stuff=
download virtual box 
https://www.virtualbox.org/

the downlodas area: https://www.virtualbox.org/wiki/Downloads
the user manual: https://www.virtualbox.org/wiki/Downloads#manual

download centos 6.4
http://www.centos.org/modules/tinycontent/index.php?id=32
i did it from 
http://mirror.isoc.org.il/pub/centos/
and chose an iso 
http://mirror.isoc.org.il/pub/centos/6.4/isos/

Accessing the iso
the most convenient way, in my mind, is to access iso files with the kind help of a virtual dvd-drive. my preferred option for windows being the free virtual clone drive provided by slysoft which can be downloaded here

(btw, my preferred option for linux is currently cdemu. for those who can benefit from an installation guide, last time I installed cdemu (on a linux mint 15 trial), this one was beneficial for me).

=installing the guest machine=
having all this around- 
  •  install virtual box 
  • create a virtual machine (haven't seen real differences, but i opt for a "red hat" type when I install CentOS)
  • mount the centos iso using your virtual drive software. 
  • run the machine 
  • upon its run, choose to boot from the virtual drive where the iso resides. 
  • and now - install centos with the polite help of the centos installation wizard 


=installing guest additions=
to install guest machines, virtual box requires dkms
centos doesn't have it in its regular repositories, and for this reason we need the excellent rpmforge repository. I wrote in the past a short howto.  So - 
  • setup rpmforge. 
  • Afterwards, do a "yum install dkms". (As yum will tell you, dkms brings along several friends, from the CentOS repositories. Have no fear - they are all helpful). 
  • Now, Choose from the virtual-box interface: Devices \Install guest additions, provide the necessary feedback to auto-run the guest-additions installer.
And.... voilà, you have a virtual machine running a linux guest !

Remarks:
  1. in 64bit sometimes the dependencies installed with dkms might not be the ones Guest additions shall require. Guest addition also relies on kernel-devel, and I've experienced on occasion situations where /usr/src/kernels/[kernel version]/build was a dead link, and remained thus despite all attempts to bring the relevant packages. the result was that virtual box guest additions step of "building the main guest additions module" kept failing with the log referring to the dead link. the solution was yum install kernel-devel-xxx (where xxx stands for the full version name; in the last instance this was: 2.6.32-358.el6-x86_64, hence the command that saved the day: yum install kernel-devel-2.6.32-358.el6-x86_64
  2. I've been meaning to make a step-by-step installation guide, as I know some may greatly benefit from it. But it is so tedious, that usually at one step or another one just tires and goes for the more generalized style of guide. If there will be enough demand - I promise I'll make one. One day. 



Saturday, August 31, 2013

הגדרת אינטרנט הודעות מולטימדיה בנוקיה C2 שקניתי ברמי לוי - אל מול פלאפון

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

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

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

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

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

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



Thursday, August 1, 2013

פריצה ולקחיה

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

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

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

בנוסף, למרבה הצער, גילינו שתהליכי הרכש של אייפאד חדש עבור אשתי ומחשב (הפעם נייח) עבורי נתקלו בשלל קשיים כאלה ואחרים (למשל - אייפאד מהסוג שהאישה חפצה בו אזל מהמלאי בכל החנויות בארץ; להזמינו ישירות מחו"ל נתקל בקשיי התאמה לcarriers הישראליים).

מה שהותיר, למרבה הצער מעט מאוד זמן לנשימה.....

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

מה שזעזע אותי בעצם היה האובדן הזה של המון רכוש טכנולוגי שהפך לחלק מהחיים, ופתאום הוא איננו: אייפון, קינדל פייר, אייפאד ולפטופ ישן של של האישה (שלמען האמת שימש אותי להתקנות נסיון); סמסונג גלקסי, קינדל ולפטופ שלי (אובדן נורא, כי בדיוק הייתי לקראת סיומה של סדרת התקנות של מכונות וירטואליות חדשות ודחיתי את הגיבויים ליום שאחרי, שעכשיו כבר לא יגיע). אבל נשים לרגע את אובדן ימי העבודה בצד. i've still got my health ויכול לעבוד שוב.

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

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

ובכל זאת, אתה נשאר עם התובנה הזו, שאחרי שגונבים לך מהבית אייפון, סמסונג גלקסי, קינדל פייר ואייפאד, בגלל הדרך שבה הכלים האלה מקונפגים לחיבור אוטומטי וקבוע לענן, מי שגנב אותם, נשאר בעצם עם גישה פתוחה אל החיים הדיגיטליים שלך. אומנם במקרה של הגניבות האלה, עד כמה שהצלחתי לוודא, בכל אחד מהמקרים הם כובו מייד אחרי הגניבה ולא נעשה שום נסיון להתחבר איתם מאז (וכנראה גם לא ייעשה לפני החלפת סים ומחיקה יסודית). אבל בתודעה, רק אחרי החלפת סיסמאות יסודית, ומעבר יסודי על כל נושא המעקב אחרי לוגינים, תוך נסיון להרביץ את כל החומר הזה גם לרעייה, רק אחרי כל אלה אפשר היה להרגיש קצת, רק קצת פחות מחולל. ועדיין - האם אוכל לשוב ולשים את מבטחי בסמארטפון? הלום PTSD שכמוני.... לאשתי אין בעיות כאלה. היא התמסרה מחדש לאייפון ללא שום בעיות (וגם שמחה, כי היא שודרגה בדרך הזו מאייפון 3 לאייפון 4S (למה לא 5 ? בכל זאת מכה פיננסית לא פשוטה , העסק הזה)

וכמובן, הדרך שבה שוטרים בישראל מגיבים לכל העסק הזה -

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

אבל מוכרחים להיות שמח, לא ? 

האמת שלא. אבל לפחות כדאי להביט קדימה ולהפיק לקחים. 

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

מבחינת גיבויים, הגעתי למסקנה שאין מנוס ממעבר לגיבוי מבוסס-ענן, אחרי דחייה של שנים של הנושא, תוך הסתמכות על גיבויים בתוך הרשת הביתית, וגיבויים קרים כמו פעם. dropbox here we come ! 

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

Thursday, July 25, 2013

Who can see a status that I shared on Facebook ? What happens when someone re-shares?

A confused friend asked me to explain what happens when people re-share his statuses (yes, it is ok to use that plural form of status). 

I wrote a long answer, and then realized I might be doing it again in the future, and thought to encapsulate it for re-use, in a post's form... so here it is: 

The Question: What happens when someone re-shares my Facebook status ? 

It depends on the type of shared material: 
On facebook you can share photos, videos , text, links (url).

Facebook has a significantly different treatment for one of those four items. 

 The first three - 
  •  photos 
  •  videos 
  •  text (also known as status updates)

are all treated the same (for now): 
they are considered as private material and are therefore re-shared under the limiting scope of the original shared group. 

Meaning: "a" shares a status. He has 3 choices: friends, friends-of-friends, the world. 
Let's say "a" shares with his friends. 
His friend, "b", shares the status with HER friends. 
But the result is that not all of "b"'s friends can see the status. 
ONLY those among "b"'s friends who are already "a's" friends can see the re-shared status. 
The same goes even if "b" shares this with the public. "a"'s original sharing-scope sets the limit. 
But this means that "a" should pay careful attention with WHOM he shares. 
Because if "a" shares with the world, the "b" can share with whoever he wants. 

After all, "a"'s share with the world, reaches in practice to the knowledge of a limited group - 
 at first stage, before re-shares, in theory - all of his friends and whover searches facebook statuses. 
in practice - the subset of his friends feed that facebook algorithm choses to actually update and whoever searches. 

Bbut when the re-share factor comes into play, and viral distribution may occur, the absence of limitation by "a" has a real impact: because without such limitation, any video, image or text you share on facebook may get those 15 minutes of fame you might not have thought about, when you wished to share with your friends something very private. 

 This is where the default settings of shares come into play. but one must remember that default settings are over-come by your last sharing-preference. Meaning: if you usually share with friends, but had something you felt is proper to share with the "world", be aware - the next time you share, the default setting of the share will be "the world"... making a great potential for guffaws for some and awkwardness for others.... 

As you might have noticed, we have not discussed the middle sharing possibility - "friends-of-friends". the simple sad thruth is that "friends-of-friends", as far as privacy goes, is equal to "world". the two points of difference - 
  1. Only friends who view your timeline can see things you shared with friends. but friends of friends can see things shared at the mid-sharing-setting. and if you shared with the world - whoever sees your facebook profile shall see your shares. excellent for people and bodies seeking publicity. not as good for others. 
  2. Search-ability. content will be found in searches according to the search-setting you marked. The last item on the list, the URL (link) is treated very differently. Facebook assumes that links are always re-shareable. it may create interesting situations in which you share a link+text with friends. when a friend re-shares, the subset of joint friends shall see link+text. the rest of his friends shall see only the link. 
To make a long-reply short in remembering and understanding, what should we pay attention then?
  1. What are your default privacy settings ? your default sharing settings ? 
  2. If you are in the habit of sharing to different audiences from the same facebook profile - pay attention to the last setting in which you shared. the best way would be to adopt the habit of setting the audience in each share. it takes a little while to do it, but then you just do it without thinking, pretty much in the same way one checks the "to:" field in emails. 
  3. An interesting aspect of re-shares is the credit given to the original sharer. as far as links are going, one might not be happy to be attached to certain internet-urls but this may be the case in re-shares and should be taken into consideration when sharing. facebook's policy in this matter, as far as my memory goes, has changed slightly over the years. 
  4. Facebook is a technological platform. As such it is bound to change. Change is inherent for such products. Always stay up-to-date with Facebook's notofication of coming changes (and I mean Facebook's, not the spam messages running around). 

 Further reading 

  • Facebook Privacy Basics  (this aspect of Facebook is getting better and better as the platform ripens. Do yourself a favor, and take a look) 


Friday, June 28, 2013

Some Oracle DB cursors examples

Steven Feuerstein had an excellent article on Working with Cursors on the March 2013 Oracle Magazine. It is a good article for newbies or those who somehow never got to work with this aspect of the DB.

For me, it has been a while since I've delved in Oracle development (mostly non-db web related technologies nowadays), and as I've had my share of returning into Oracle in the past (and can assume with confidence that will also have similar experiences in the future), I think it would be wise to keep around some examples (quoted from that article), to make those head-scratching, 'now, how does this syntax go' moments less annoying...

Simple Fetch:

DECLARE 
   l_employee employees%ROWTYPE; 
BEGIN 
   SELECT * 
   INTO l_employee 
   FROM employees 
   WHERE employee_id = 138; 
   DBMS_OUTPUT.put_line ( l_employee.last_name); 
END;

Working with an explicit Cursor definition:

DECLARE
  CURSOR c1 IS SELECT department_id FROM departments;
  deptid departments.department_id%TYPE;
BEGIN
  OPEN c1;
  FETCH c1 INTO deptid;
  CLOSE c1;
  /* if handled more than one, could put the fetch in loop:
  OPEN c1;
  LOOP
     FETCH x into l_variable; EXIT WHEN c1%NOTFOUND;
     -- do something with l_variable;
  END LOOP;
  CLOSE c1;
  -- don't forget to handle other EXCEPTIONS
  -- see more basic examples
  */ 
 END;

Working with the For Loop and an implicit Cursor definition :
(my personal favorite)

DECLARE
  NULL;
BEGIN
   FOR employee_rec IN (
      SELECT *
      FROM employees
      WHERE department_id = 10)
   LOOP
       DBMS_OUTPUT.put_line (
       employee_rec.last_name); 
   END LOOP;
END;

The Article has much more to offer, and it is a part of an excellent series on PL/SQL that Oracle Magazine is running. Worth the time for those wishing to get acquainted, refresh their memory, or get deeper...


Tuesday, June 25, 2013

כיצד להצמיד כותרת בגוגל-בלוגר לצד שמאל למרות שהבלוג עצמו בתבנית של הצמדה לימין?

סוגיה שחוזרת לעתים בgoogle blogger היא כשאתה רוצה שהמסגרת (framework) של הבלוג תהיה עברית, אבל בכל זאת לפרסם מעת לעת בלועזית (והשאלה האם זה חכם או לא היא עניין לדיון נפרד ואחר).

או, במילים אחרות: כיצד להצמיד כותרת בבלוגר לצד שמאל למרות שהבלוג עצמו בתבנית של הצמדה לימין?
הפתרון הטכני: שילוב HTML בכותרת.
למשל:
<div dir="ltr"> A great headline that speaks well both to humans and search engines !</div>




Saturday, May 25, 2013

A few Tumblr tips & tricks for the beginning Tumbler-er

A few months ago, I though it might be a good idea to add another tool to my blogging-platforms-knowhow. After a short contemplation I chose to have a go at tumblr and open a blog there, and what better a blog than a photographs blog

Having been doodling around I encountered issues that were not immediately resolved by intuition and independent footwork alone. A Search (though in many occasions not too long&deep a search) was sometimes required, and those issues piled together into a short list of tips & tricks for my own usage. As usual, find this blog as a very convenient place to store such a list. 

I still consider myself a Tumblr newbie (and as my current feelings go, shall probably remain so for 
the remainder of my life as a blogger), so if you Tumbler veterans out there accidentally reach this small haven of the net and have anything useful to add, please do so. Much obliged ! 

Let's start with the most basic of all: documentation:


How to get to your archive :
Just add "/archive" to the end of any blog URL to see for yourself.
(and it is very simple to add a link to one's archive, by adding a page re-direct; you go to add a page,
 instead of standard layout you choose redirect, and from there on it is quite self-explanatory...)

links to  tumblr SEO lore

How to add a Tumblr blog to Google analytics 
In many themes it is incredibly simple. You choose customize and you see the theme options on the left, and one of them is...
yes, you guessed it right: Google Analytics UA Code... (from now on it is smooth sailing if you know Google Analytics)

How to add Adsense to Tumblr 
A link to a basic guide at howtogeek  (it is quite straight forward, as long as you are not scared by editing HTML. considering Adsense's sensitivities, you would surely undrstand why at the time  I just wanted to make sure that there are no known pitfalls.   I am a firm believer in the old carpentry (and NASA) saying: 'measure TWICE, cut ONCE');  3 remarks to this good guide:
  1. Each theme has its own build as far as editing the HTML goes, but just be patient in your look-around. you will find it sooner than it may seem... in many cases it will not be where the howtogeek sends you, but it will still be located in front of your eyes, as soon as you enter the custom theme editing state. 
  2. If you are not trained in Editing HTML, this might get really problematic. pay attention that the first section of the HTML is not where you want to put your adsense code. you want to go over the HTML, get acquainted where the <head> starts, and there try and find the strings that correlate with what you see on your tumblr page. (hint: i chose to put my adsense code after the "follow" section)
  3. The howtogeek guide has one problem - it assumes that a new adsense ad is going to show up immediately. as this is not the case, you  may wish to add a document.write('*Hello, there!*') before the </script> to verify the location and also for one's personal ease. Just don't forget to remove it afterwards.... 
[Update: As of 2018, Google adsense has changed the rules once more, and the enforcement of the authorization of selling adsense inventory using ads.txt has made life with adsense on tumblr impossible. I should note that as my tumblr project is a thing of the past, I did not investigate this thorougly. A quick search of first page results indicated that there is no simple solution. I stopped there, removed my adsense code from my tumblr blog, and moved on with life...]








Saturday, April 27, 2013

Why don't search engines get to my blog/website ? (or, how to submit a new blog/website to the search engines?)

This one is for Internet newbies. It sounds like a trivial question, and a simple Web-Search would do the trick for most people, and still, I was yesterday this simple yet rather important question by a friend who was making her really first steps as a blogger....  why doesn't a google search bring up my website?

The answer is simple. Unless your blog/website was indexed, it is unknown by the search engine. 

Indexing can happen in many ways, but the simplest would be to submit your site for the Search Engine. Here are the links for submitting your blog/website to the leading search engines of the English internet: 


Tuesday, March 5, 2013

How do i add sharing buttons in my wordpress.com blog?

Setting up your wordpress.com blog to display sharing buttons for facebook and other social networks is quite simple, as I replied a bewildered friend, answering his email question :
1) make sure your blog is not private thru: settings/reading/site visibility 
2) check with "v" the settings/reading/"Add to each article in your feed"/'sharing'  
3) go to settings/sharing/     and drag facebook to the enabled services. Do the same for 
    each of the social networks you are interested in, as well as the options for email and print. 
    (be sure to differentiate between the sharing buttons you wish to appear individually and those
     that you wish to be grouped under "more"). 

You can read more on wordpress' documentation.



Saturday, March 2, 2013

Chrome Start page changed to AVG 2013 search page for no reason ?

Summary:
The tools involved: Windows 7, AVG 2013, Chrome 25. 
The problem: AVG search page suddenly became my start page. 
                      No change in settings. 
                      No AVG Toolbar.  
                      No plausible explanation. 
The solution: Killing a wayward  Chrome process surviving in the background. 
                     (Reboot would have worked just as well. ) 

The full story: 
I love AVG and consider it, currently, as an excellent Anti-Virus to have on one's Windows OS.  
(Warning: Anti-Viruses recommendations, very much like fashion, are a matter which changes quickly and greatly  over time. The best Anti-Virus of the previous year may not be among the top three a year later. Time, in an age where Computer Viruses and Malware evolve in the speed of the information revolution, is of the essence). 

This was why I became worried when I discovered that my favorite browser,  Google Chrome  (Web browsers recommendations, just like Anti-Viruses, also tend to change quickly over the timeline), insisted on opening AVG's search page, and not the prescribed pages I like getting when opening the Browser. 

It was a funny little problem. 

Everything appeared to be in order. 
  • The settings of Google Chrome did not change. 
  • I did not find an Extension (Add-on) which could explain this phenomena.
  • A search on the web  indicated that a toolbar is the common cause others encountered.
To be on the safe side, I sought for a way to identify the presence of a toolbar and its removal method, just in case it is installed as a software component and not as a Browser Extension. 

Sadly, it  turned out that AVG's own replies  regarding changing installed components, as documented on their web site, were no longer correct (Alas, the vailidy of documentation, just like recommended Anti-Viruses and web browsers, is also time-sensitive). 

Thus one had to resort to Control Panel\Programs\Programs and Features\right click on AVG  and choosing change, which finally brought me to the component selection menu (after AVG's Installer startup there was a Next needed there, for those following meticulously, before the selection menu was reached). 

Alas! The components menu did not offer any component which resembled those claims on the web regarding an AVG toolbar forcing a different startup page. 

And thus I returned  to square one. 

To be on the safe side, I closed (Again) all Chrome instances, and then took a look at the Task Manager. And there it was - a wayward Chrome process, still opened (for reasons that will necessitate future - traces). 

Killing it solved the problem.  

Which brings to one's mind the old maxim of computing-operation: reboot. Had I been desperate enough to reboot, the problem would have been solved, without any realization who is the culprit.

But after all is said and done, the really bothering question, remains unanswered as of yet- how and why did a wayward chrome process change the starting pages of all new opening tabs ? 

Thursday, February 28, 2013

What most schools don't teach

Code.org, an everyone-should-know-how-to-code initiative, has made this rather convincing video. Truthfully, I was convinced beforehand. Computing, it seemes, is here to stay. Just like reading and writing, being able to read code, understand it and sometimes even write it, is quickly becoming a necessary base skill in the devloping global vision of the 21st century. 

Although it is true that right now, the majority of humanity is still not logged on to the internet (about 2 billion out of the approximated 7 billion are internet-citizens) but the pace of the information revolution is quick, and with smartphones it is just going to get quicker. 

When every person has a computer, in the form of a cellular phone, a digital watch, or some other wise personal gadget the future holds in store, every person needs to be able to cope with it. And coping in computers is done much better when one has a grasp about coding. 

So - schools should teach coding. And as long as they don't do it, parents should take this responsibility upon themselves. 

Thursday, January 31, 2013

60 seconds later, I have written my first app...

I just ran into a cool comparison article at the SAP Community Network: Top 5 Database Platforms - the Developer Experience Exposed. I was searching for something completely different, and yet, it was a fun revelation, a good read, and it lead me to a surprising visit at a development source I haven't tried yet.

After meddling with Saleforce's developer website, I can say that it was an interesting experience and that I can imagine myself giving it more time, sometime in the future. The headline tells it all: the time it takes to create a first working app (not of the hello world" variation) is amazingly short. Most definitely worth the experience. 

This got me rethinking about cloud-based-development. I'm still letting it sink in, but considering what one could choose in the past in comparison to the vast and rich possibilities waiting out there for anyone entering web development, made me green with envy. 

So, if you haven't tried it yet, why don't you try out Saleforce's developer website