Archive for the ‘Stuff’ Category

Installing Nvidia drivers on Fedora 16 – the wrong way

This is how to install the official Nvidia drivers on Fedora 16. Its the “wrong way” because in Fedora you should install the Nvidia drivers using RPMs provided by rpmfusion.org, or “better” yet – use the open source nouveau driver that is provided with Fedora 16 and at this point does enough rudimentary 3D acceleration to run GNOME 3.

So why do that? because you can try the latest beta drivers from Nvidia’s web site (the stable drivers are usually already supported by rpmfusion) and sometimes the rpmfusion complex kernel module setup doesn’t work well – especially if you install custom kernels.

If you still want to do this the “right way”, head over to this article on “If !1 0” to get the simple instructions.

Warning: this procedure requires you to know the password for the “root” account and login using the text console.

(more…)

זיהוי ויזואלי ביומטרי בעולם האמיתי

בעקבות דיון שהיה במשרד, פחות או יותר בנושא (“אז מה היה הנושא בדיוק, המאגר הביומטרי של משרד הפנים?” “לא – מה פתאום – סתם דיון כללי בנושא מאגרים ביומטרים של אזרחים במדינה דמוקרטית הכוללים תמונה וטביעות אצבע”), ובניסיון להדגים משהו, הרצתי חיפוש קצר בגוגל – visual identification biometric. לא מצאתי מייד את מה שחיפשתי, אבל כן ראיתי – באחת התוצאות בעמוד הראשון – את המאמר המעניין הבא: Individual animal identification using visual biometrics on deformable coat patterns ( המאמר המקורי זמין להורדה ישר מתוצאות החיפוש של גוגל, אבל הקישור הנ”ל הוא ל-Google Scholar).

הכותרת נשמעת מבטיחה, והנה התקציר הלא מקצועי שלי:

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

(more…)

ה”גבר הישראלי הראשון” וגו’

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

(more…)

Installing Consolas TrueType Font for Linux

This is a short “how to” article on how to get and install the new Microsoft Consolas Monotype font – this is a very nice programmer font and as described in Dan Benjamin’s “Top 10 Programming Fonts” it is highly recommended for use in your programmer’s editor or IDE (As a side note, his top selection, Inconsolata is also very nice and I highly recommend it if you don’t feel like using Microsoft created software and/or aren’t interested in performing the steps below which may or may not be legally problematic).

The main problem with using Consolas on your Linux workstation, is that this font is provided by Microsoft, and while if you are running MS-Windows (or even Mac OS-X) it may already be installed – as it is bundled with many Microsoft products, us in the Linux world have no easy (and legal) way to get to use Consolas in our code editing. Unlike Microsoft Core Fonts for the Web Consolas is not available for download – probably for the same reason the core fonts packages were pulled. But as Consolas is bundled with many Microsoft products, some are available for free download for anyone, we can use that to get us some nifty Consolas prettiness in our day to day Linux computing.

(more…)

כך חולפת תהילת עולם

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

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

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

Enhanced by Zemanta
  1. MySQL 5.5 on Ubuntu 10.10 []
  2. VirtualBox on Ubuntu 11.04 []

In case you’re looking for me on Google+

Using the Google+ Nick service you can now find me at http://gplus.to/guss77.

Just wanted to let everyone know 🙂

Enhanced by Zemanta

Same old Microsoft, at Nortel’s patent sale dispute

As reported on Reuters and Techcrunch, Microsoft is claiming that the sale of bankrupt Nortel’s 6,000 patents to Google (or any other successful bidder) is unfair under the current sale terms that allow the buyer to not carry current licenses to the patents.

Microsoft is understandably concerned, as they currently hold a “perpetual, royalty-free” license to all patents (which means that if the buyer doesn’t get to re-license with existing license holders, then they won’t get any more money from Microsoft on these patents), but what I’m ranting about is not their legitimate concern, but their attempt to color this as “unfair” – quips Techcrunch:

Microsoft says that’s unfair. And while they don’t specifically mention Google, it seems pretty clear who they’re thinking about when they write that a termination of existing licensing agreements “would result in considerable disruption in the development and enhancement of various existing technologies and give the prospective purchaser an unfair competitive advantage”.

This may be unfair, but Microsoft has done this exact same thing in the past, including the very near past where immediately after buying Skype, and just a few days after Microsoft promised that Skype will continue to be offered on non-Microsoft platforms, the “Skype for Asterisk” product was terminated disallowing Digium to sell any more Skype integration module for their successful (and open source) VoIP solution1.

Obviously this is a move perpetrated to allow Microsoft’s competing VoIP product (Lync) an unfair competitive advantage by offering features that Digium can no longer offer – not because of technical issues but because Microsoft will not allow it.

Taking that into account, Microsoft claiming the sale of this patents to Google is unfair is just the pot calling the  kettle black.

Enhanced by Zemanta
  1. I know that technically they did not stop supporting the module – just not allowing any new sales, but they also put a deadline to stop supporting the Skype-Asterisk integration module: it will not work past July 2013. Cutting this any sooner would have netted Microsoft/Skype a serious law suite so obviously they did the worst they could get away with []

Using Evolution under KDE – GNOME Keyring issues

Lets face it – Kontact is a nice application but its not really a contender if you want integration with your corporate address book and calendar in your PIM application1 and Evolution is the only solution for the feature set one would expect from a corporate friendly PIM solution.

Evolution works great when running under GNOME, but if you hate GNOME 3 as much as I do2, then you are likely to try to run Evolution under a recent KDE 4. And then problems start mounting – there’s the file dialogs which look completely different and don’t inter-operate with KDE’s virtual file system layer (KIO), but the most annoying problem is saving the passwords for your email, address book and calendar services.

Evolution relies on GNOME’s keyring service to store passwords for remote services, and that service is not running when you start KDE. Without the keyring, Evolution will keep asking you for passwords to all your email services when you start up, and for all your address book services when you try to compose an email. Which wouldn’t have been that bad if not for the fact that before popping up the password dialog, Evolution spends minutes (!!) trying to contact the GNOME keyring service. Only after being frozen for a couple of minutes you get asked for the first password, and if you have more then one service then please wait two more minutes while Evolution tries fruitlessly to contact GNOME keyring again!

The solution is simple – have GNOME keyring launch automatically when you log in to KDE, just like it does for GNOME. There are several ways to do this – for example using KDE’s “startup applications” system or writing custom profile scripts (I’ve tried both), but the more elegant solution I found in fedorahosted.org where someone committed a simple script that generates GNOME keyring startup and shutdown scripts for KDE. I’m guessing this is used in the KDE live CD spins for Fedora.

Anyway, this script can easily adapted to generate GNOME keyring integration scripts for your local KDE installation. Just start Konsole, and paste this into the command line:


cat > $HOME/.kde/env/start-custom.sh <<EOF
#!/bin/sh
eval \`gnome-keyring-daemon\`
export GNOME_KEYRING_PID
export GNOME_KEYRING_SOCKET
EOF
chmod 755 $HOME/.kde/env/start-custom.sh
cat > $HOME/.kde/shutdown/stop-custom.sh <<EOF
#/bin/sh
if [-n "\$GNOME_KEYRING_PID"]; then
kill \$GNOME_KEYRING_PID
fi
EOF
chmod 755 $HOME/.kde/shutdown/stop-custom.sh

Enhanced by Zemanta
  1. also – contrary to popular belief in hacker circles, rich text editing is useful – and Kontact really sucks at that []
  2. if you are a GNOME user and weren’t exposed to GNOME 3 yet, then don’t worry – soon coming to a distro near your, and you’re likely not going to like it []

עוד משהו שמעצבן אותי

ובגלל שזה הולך להציק לי כל היום, אז אני אפיל את זה עליכם:

משקאות קלים

מה קל במשקאות קלים? ממה זה יותר קל, מממשקאות כבדים?1

לדעתי זה מגיע מאנגלית – המונח hard liquor משמש לתאר משקאות אלכוהוליים, ומכאן: “משקאות קשים”.

אבל למה ההפך מ”משקאות קשים” הוא “משקאות קלים”? זה צריך להיות “משקאות רכים”, כמו באנגלית – “soft drink“. 2

  1. בסופו של דבר הכל מורכב ממים ששוקלים קילו לליטר והשוני במשקל בין משקאות שונים צריך להיות מינורי []
  2. באופן עוד יותר מוזר, המקבילה בעברית לערך הוויקיפדי “Soft Drink” הוא דווקא “משקאות תוססים” שהם, אליבא ד-וויקיפדיה, סוג של “משקאות קלים” []

New ice cream flavor

Ok, it might not be new – but it’s new to me: Ben & Jerry’s have managed to make a crunchy peanut butter ice cream! It is called Chubby Hubby and I can totally understand why its called that way – I can eat it all day 🙂

Enhanced by Zemanta