Search This Blog

Monday, September 28, 2015

lampp mysql won't start ?

Well, my lampp stated at startup that another mysql was running, and it persisted saying that even though I made sure that no other mysql is up ? 

After running around in circles for a while I finally got to read some startup scripts, and afterwards looked under the var/mysql/ folder (that 'var' is a sub-folder located inside the LAMPP_HOME folder, not the system's /var folder which is located directly under the / of the filesystem). 

There I searched for a filename 'your-hostname.pid' (that is xxxx.pid, yes?) 
and having found it - I deleted it. 

And then everything was back to normal... 

I'm documenting this because ofr some reason or another, I couldn't find this documented elsewhere. Either it is a strange lampp bug, and I'm to blame for using a relatively old version (mainly for an old internal software), or it is something that expert mysql dbas have another solution for. Go figure. But this worked for me.... 


Sunday, September 13, 2015

Happy Programmer's Day !

Today, new year's evening in Jewish Tradition, also happens to be Programmer's day!

What is Programmer's day ? It is a public holiday in Russia and an international professional day, supposedly raising the awareness of people all over the globe, to the unique and valuable contribution of programmers everywhere to humanity's progress.

The day is celebrated on the 256th (hexadecimal 100th, or the 28th) day of each year (September 13 during common years and on September 12 in leap years). Wikipedia tells that the number 256 was chosen "because it is the number of distinct values that can be represented with an eight-bit byte, a value well-known to programmers. 256 is also the highest power of two that is less than 365, the number of days in a common year."

Do not confuse this day with the System Administrator Appreciation Day or with the World Information Society Day. You might choose to use this day to ponder a little why many programmers prefer to work at night. Or you may choose to think about the kinship between programmers of the present and those of the past. Or you might just dedicate a moment of your time to think what real programmers actually use....

Comics about programmers attitudes towards what real programmers use
This work was licensed under a Creative Commons Attribution-NonCommercial 2.5 License on xkcd
But on a more serious note, this is a great opportunity to remind everyone who has never programmed, why should you experience programming....  In the words of the following short film, the programmers of tomorrow are the wizards of the future:


Happy Programmer's Day ! 

Monday, September 7, 2015

ועוד וורקאראונד לשלט XBOX 360 ששב ומסרב להידלק

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

מה עושים ? מוצאים סרטון ביוטיווב שמלמדים איך להכין מארז סוללות חדש...


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

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