If you're Israeli, or just concerned about the situation in Israel, you MUST visit Cusbara. As an example, check out their song about Israeli-made corruption. It's so sadly true you have to laugh, otherwise you won't stop crying...
Tuesday, January 30, 2007
Saturday, January 27, 2007
Google Image Search API Fixed but...
I've updated the API to comply with the latest changes by Google. However, since the change required some code changes, in addition to the changes to the regular expressions, we will have to wait until the guys at CodeProject upload the new version to the site. I've sent them an email with a request to do it asap - usually it takes a few days. Hopefully this time it will be a little bit faster.
Update: I checked the article - it is now up-to-date. Please let me know if there are any more problems.
Posted by
Ilan Assayag
at
11:26 PM
3
comments
Thursday, January 25, 2007
What's wrong the Blogger search???
It's not the first time this happens to me, and it's starting to get on my nerves. Many of the things I write in my blog are mostly done for my own personal benefit - easily retrieval of data from anywhere I am.
Today I wanted to find my recipe for my lentil soup. I have it on paper somewhere, but not at my fingertips. So I opened my blog and did a blogsearch for "soup" inside my blog. Sounds reasonable, doesn't it? Well, my recipe was nowhere to be found, even when I tried other searches ("lentil", "rich", "Soup" with capital S, etc.).
The funny thing in all that is that when I do a simple search on Google, I get my recipe immediately.
Posted by
Ilan Assayag
at
2:34 PM
0
comments
Wednesday, January 24, 2007
Problems with the Google Image Search API
My Google Image Search API is currently broken. Apparently Google completely changed the format of the HTML they return, so the API doesn't work. I gave it a quick look and it seems that, unlike previous changes which tended to be rather limited, this time they completely changed the structure of the result, so I have to build the regular expressions from scratch. I'll try to do it in the next few days and post an update in 1 week or so.
Posted by
Ilan Assayag
at
10:27 PM
1 comments
Integrating Matlab and TFS
It IS possible to integrate Matlab with Team Foundation Server. Here are the steps you must take (I'm assuming Matlab and TFS Explorer are already installed on your machine):
- Install the Visual Studio 2005 Team Foundation Server MSSCCI Provider.
- In the registry, search for the providers under:
HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider\InstalledSCCProviders
- Copy the existing registry entry for "Microsoft Team Foundation Server MSSCCI Provider" and give the new copy a shorter name, e.g., "MS Team Foundation Server".
- In Matlab preferences (File => Preferences), select the "Source Control" subsection under "General"
- Choose "MS Team Foundation Server" and click Apply.
That's it. From there on you can use TFS much like you would have used VSS. I suppose most new TFS features are not available, but at least you can do simple checkin/checkout, view history, compare files, etc.
Reference (requires a Mathworks login): http://www.mathworks.com/support/bugreports/details.html?rp=347563
Posted by
Ilan Assayag
at
9:49 PM
1 comments
אני לא ליצן
אבא: גל, תפסיקי לאכול את השקית
גל: אבל אני לא אוכלת אותה
אבא: גל, אני לא רוצה שתשימי את השקית בפה, גם אם את לא אוכלת אותה. אני לא צוחק איתך
גל: אבא, אתה לא מצחיק - אתה לא ליצן!
Posted by
Ilan Assayag
at
11:59 AM
0
comments
Monday, January 22, 2007
Did you know - Installing Team Foundation Server is a nightmare!!!!!!!!!!!!!!!!
Just to name some issues:
- Prerequisites (or Things You Should Install Yourself Because The TFS Setup Team Was Too Lazy To Make The Process Smooth And Automatic)
- IIS
- SQL 2005
- + Some hotfixes
- .NET 2.0
- + Some hotfixes
- SharePoint Services
- Team Foundation Server
- Visual Studio Team Foundation Server Quiescence GDR
- Visual Studio 2005 SP1
- The setup requires some 3-4 users to be already defined on the domain (that is - you don't have the option to add these during the installation process).
- TFS includes a license for SQL 2005 Standard Edition. But nobody tells you where you you can find the required Product Key. So we're now on the phone with Microsoft to figure that out...
I can understand problems related to the conversion of existing source management systems to TFS (up to some extent). But I NEVER thought ANY software could be THAT cumbersome to install. We didn't even reach the point of converting the data, and frankly if the setup is so complicated, I shiver at thinking of the complications we will encounter at converting...
Posted by
Ilan Assayag
at
8:32 PM
2
comments
AI to solve networking problems
Take a look at this excellent article on CodeProject. It describes the use of Ant Colony Optimisation algorithm for network load balancing.
Ever since I took the Anat Bremler-Barr's Advanced Networking course I've had the feeling AI algorithms could significantly help networking problems (not only routing, also various network attack detections for example). I've always been more attracted by Machine Learning algorithms rather than Ant and the like, but still, it's in the good direction...
Posted by
Ilan Assayag
at
6:28 PM
0
comments
Tuesday, January 16, 2007
Why aren't RSS readers smarter???
The blogosphere (both readers and writers) can be roughly split into two groups:
- Those who believe bloggers must have an agenda and stick to it. These people believe that a blogger know to be "technical" shouldn't throw too many stuff about his private life at his readers, political views, etc. Some bloggers take it to the extreme and manage several blogs, each on a different subject (or various RSS feeds).
- Those who believe bloggers should feel free to write whatever they feel like, and it's up to the readers to choose which post to read and which to skip. I'm in this group...
Well, it's fairly easy to merge these two groups. The only thing needed is some smart RSS reader, where you could define "rules" either per blog or general, which describe the content you are interested in and/or the content you don't even want to see. So if people reading my blog don't want to read my soup recipes, they can add a negative rule to my RSS feed and still enjoy (I hope) the rest of my posts. Alternatively, people who are only interested in stuff I write about search engines, could add a strongly positive rule, which will disregard the other posts. Of course, it would work better with blogs that are better organize than mine and also include tags...
As a side-note, this is a good example of applications that can be made much smarter than they are, but people just don't think hard enough how this could be done. Technically, it's no biggy. The only problem is to think about it. I think in many cases, the problem is that people designing the required features either don't understand software well enough, to see the wealth of possibilities, or are too strongly connected to the way developers think, and don't see what would really help the "simple" users.
Posted by
Ilan Assayag
at
1:21 PM
3
comments
The Angle of Health must be pissed off
I'm not a believer. Actually, I'm as far of a religious believer as one can be. But if there is some power orchestrating it all, it must have got something really strong against my family. If indeed there is such a power - then it's completely reciproqual and I'm really pissed off.
It started with all of us getting sick, for 1-2 weeks. That's not very nice with a 2-months old baby, but it's winter, so we can't really complain.
Then my wife's grandpa got sick and hospitalized. More on this later.
Then by big daughter, Gal, got sick again. This time, with a tenacious 40 degrees Celsius we just couldn't fight for several days.
Then my wife's grandpa lost the battle. He died last Thursday. I hope to be able to write a little more about this great man in a few days.
Now Gal is sick again. This time, she's got an extremely rapid fever. It can go up or down by more than 2 full degrees within the hour!! Most importantly, last night she had a (second) febrile convulsion. It's one of the most horrible experience a parent can have to endure. The most horrible thing is to hold your child in your hands for 5 full minutes, the whole body in seizure, not having anything to do to stop it. Once this nightmare is over, the whole body enters some kind of apathic state, and no matter how well you know it's going to fade away, you've got the conviction half her brain got fried by the seizure. Only after 10 more minutes did she start crying, and talking a bit, letting us know she's OK (the ambulance took some 20 minutes to arrive, of course).
So if you were wandering why I haven't been posting much lately, now you know ...
Posted by
Ilan Assayag
at
11:29 AM
0
comments
Thursday, January 11, 2007
WinSnap - makes screenshots better
WinSnap - makes screenshots better.
That's their motto, and it's o so true!!! I don't remember where I heard about it for the first time (maybe the Daily Grind? I'm not sure). Anyway, it's an amazingly cool little screenshots maker, which gives you literally all you need to do the task. When it loads, it automatically takes a screenshot, so it really takes a single click (or keyboard shortcut) to create a cool-looking screenshot.
Highlights (in my opinion):
- Simple, no fuss. One click to create the snapshot, another to directly send it by mail/copy to clipboard/save image locally.
- Various coloring and shadowing options.
- Various capturing modes:
- Full screen
- Application
- Window
- Client
- Popup menu
- Region selection
- Contour, Watermark, simple image manipulations.
- Small.
Since I downloaded it I've made several tens of screenshots, some to be saved locally, others directly sent by mail. I wish all software I used was so simply tuned to fit the needs it was aimed to fullfil as WinSnap.
Sole problem I encountered: it's slightly slower at taking snapshots than I would expect (around 1 second). I'm greedy - I want it to be quasi-instantaneous (say 1/5 second).
Rating on Ilan scale: 9/10
UPDATE: I discovered in the Settings that there is a default delay of 1 second when you take a snapshot while the application is open. Once you change that to 1 ms you get the kind of performance I was expecting.
This changes the rating in my eyes to a perfect 10/10 !
Posted by
Ilan Assayag
at
5:27 PM
2
comments
Misradia.co.il - online shop (Israeli) review
I've been working from home for more than 2 years now. Every now and then I need some office stuff: recordable media, computer peripherals, printer paper, envelopes, etc.
Ever since I've started buying at Misradia I've been trying to do all my office purchases from there. The prices are good, they have a wealth of stuff, everything is always on stock (to my experience), very good service (via Skype). I made an order yesterday at 1PM. It arrived today at 11AM!!!
Pros:
- Good prices
- All office stuff available in their catalog and it's all on stock
- Extremely fast delivery
- Good service
- Simple and intuitive site
- Free door-to-door delivery (for large orders)
Cons:
- Sometimes the packages are not sufficiently well organized and some things arrive crumpled. Usually it's only the carton box that contains the goods.
- Some articles lack more thorough details on the site. Some lack good pictures.
- There is a fairly high minimum order to get a door-to-door delivery (I think it's 223 NIS). So you should calculate your orders carefully to fully enjoy this benefit.
Rating on Ilan scale: 9 (of 10)
Posted by
Ilan Assayag
at
12:27 PM
0
comments
Wednesday, January 10, 2007
Making public transportation easier - an application idea
Tonight I tried helping my sister to figure out how she could get to Jerusalem, in the middle of the night, through public transportation.
For my non-Israeli readers - in Israel there is one major inter-city bus company (Egged) with a few minor ones. Egged also has most intra-city busses, except for Tel-Aviv where it's the Dan company. For inter-city traveling there is also an ever-growing train company. There are no subways of any kind. Most information for these companies is available online.
Now, from where she is, there are several ways to travel to Jerusalem (mainly Afula, Haifa, Tel-Aviv). The thing is - how do you find the best path?
All these companies provide a means to retrieve very straight-forward information. For example, given a bus number - show me the hours of departure. Or given a source and destination. However, none help you actually plan the trip, when you need more than one means of transportation. Let's not even speak of plans that include both busses and trains.
The thing is that it should be fairly easy to do it - there are relatively few companies (2 main ones), all providing an online search form. Writing such an application shouldn't be complicated, and would obviously help a lot of people.
Just an idea...
Posted by
Ilan Assayag
at
10:04 PM
0
comments
Tuesday, January 09, 2007
iPhone
"iPhone combines three products — a revolutionary mobile phone, a widescreen iPod with touch controls, and a breakthrough Internet communications device with desktop-class email, web browsing, maps, and searching — into one small and lightweight handheld device. ..."
And when you peek at the technical properties, you really start druling like a Rotweiler. Some goodies:
- Wide screen iPod (4/8 GB)
- GSM Quad band (for those wondering - works in Israel)
- Wi-Fi, EDGE, Bluetooth
- 5 hours Talk/Video/Browsing, 16 hours audio playback
- 115 x 61 x 11.6 mm
- 135 grams
- 2 MP camera
More info:
http://www.gadgetnutz.com/modules/news/article.php?storyid=272
http://blogs.pcworld.com/staffblog/archives/003462.html
http://www.prnewswire.com/cgi-bin/stories.pl?ACCT=104&STORY=/www/story/01-09-2007/0004502993&EDATE=
(Thanks to my friend Gil for telling me about this little gem)
Posted by
Ilan Assayag
at
10:29 PM
0
comments
Thursday, January 04, 2007
Things that make me hate good software
I've been using Foxit Reader instead of Acrobat for over a year, and I must say that I am generally very pleased with it. I really love it - it's fast (way faster than Acrobat), relatively low memory footprint, supports all PFD files I read (there were some issues with the previous version but the new one really works like a charm) and doesn't even require installation.
But ...
A few days ago I wanted to use their PDF printer add-on. Never mind the fact that it didn't work and got completely stuck - I managed without it in the end. But today I wanted to print something from Outlook, and guess what - they automatically replaced my default printer to be the Foxit PDF Printer!!!
Now THAT's something that can make me really HATE, otherwise EXCELLENT software!!!
Posted by
Ilan Assayag
at
12:24 PM
0
comments
Wednesday, January 03, 2007
Excellent security blog
Alik Levin has started posting very seriously (31 posts last month). His blog is very much focussed on security issues, and it's a real gem. His post are concise and thorough at the same time, each post focussing on a very special topic each of us has/will encounter at some point.
Highly recommended for anyone working with .NET and/or SQL Server.
Posted by
Ilan Assayag
at
3:32 PM
1 comments
Wednesday, December 27, 2006
I may not be cool, but I think this sucks!!!
A new Israeli site provides users a means to retrieve peoples' name and address given their phone number.
Now imagine this scenario: your 16-year old daughter sat for a nice cup of coffee with her friend at some coffee shop and forgets her mobile phone. A guy who noticed her in that coffee shop and found her good looking takes the phone and starts going through her numbers in memory. He finds the "Home" number, and through this despicable site, knows exactly where to locate her.....
This site should go down - the sooner the better! I know that in many cases the database is outdated, but I managed to find the names and addresses of many people very close to me.
(through YNET)
Posted by
Ilan Assayag
at
10:43 PM
2
comments
Article updated
I've updated my API for Google image search article. It now compiles with VS2005 and loads the regular expressions from an external text file, instead of hard-coded.
Posted by
Ilan Assayag
at
9:39 PM
4
comments
Tuesday, December 26, 2006
The Circle of Life in the eyes of a 2.5-year old
Gal: They are going home.
Dad: Who's going home?
Gal: The rain! (pointing at the raindrops on the car window)
Dad: Where is their home sweetie?
Gal: Underneath the trees! (said in a what-kind-of-stupid-question-is-that tone)
Dad: Who told you that's their home?
Gal: I did.
Dad: Hmm, if that's their home, then where are they coming from?
Gal: From underneath the trees! (same tone)
Dad: So the raindrops originate from underneath the trees, and then go back home underneath the trees?
Gal: Yes!
Posted by
Ilan Assayag
at
10:03 PM
0
comments
Monday, December 25, 2006
A goose laying golden eggs?
While reviewing my blog statistics I discovered that, obviously, the highest hit rates occur during periods where I post more and more frequently.
>> No surprise here - where's the gold?
The more interesting bit, is that almost every post is followed by one or more clicks originating in the Bloggers' "Next Blog" button (look at the upper right corner of this page). I always thought this button refers the reader to some random blog on Bloggers' blogosphere. Well, that's not exactly the case. I don't know exactly how it works, but basically, you have a chance of being referred to by this button, if you posted something a short while ago.
>> OK, OK, now didn't you promise gold?
Here it comes - AdSense, and all other advertisement that are based on either clicks or views (CPM or Cost Per Mille (1000) impressions). With AdSense, they work with batches of 1000 views (I don't know how much you get paid for these - I'm not advertising on my blog in any way, as you see). So, with a little program that would write a new post every second (you could split this into several blogs, of course), you get 86400 views per day (assuming each post results in one single random viewer, through the "Next Blog" button), which I suppose should be beneficial...
>> Nice... But aren't they using CAPTCHA's to avoid misuse of the blogs?
Yes and no - you need to prove, for a while, that you're up to no bad. Then you can send Bloggers an email requesting to be exempted from the annoying CAPTCHA. Once they've done that, you're free to go. Also, with the advent of Windows Live Writer and other similar tools, I guess they are getting looser and looser with this issue.
>> Now really - how much could I earn this way?
Well, it depends on a lot of factors. Let's assume you get 5$ for each 1000 views. With one post/second, you get 432$/day or 12960$/month. And once you have the infrastructure up and running, there is very little work to do, and you may be able to increase it by adding more and more blogs to it. The main problems you may encounter, IMO, are:
- How to get CPM deals? I suppose in many cases the advertisers will want to really know the sites on which they will be publishing. If that's the case for all CPM programs, you'll have to rely on clicks, in which case the revenues will be substantially lower (if any).
- How to remain below the radar? Obviously, the more blogs and posts, the more chances you will stand out.
- Generating random posts - it wouldn't hurt if you managed to make those posts look genuine. Somehow...
Summary:
- Create several blogs on Bloggers. I would even go for several thousands, in order to have an average of only a few blogs a day, to remain below any radar.
- For a while, post reasonably valid stuff on all these blogs. It's a lot of work, but it's going to be worth it.
- For each of these blogs, ask Blogger to be exempted from CAPTCHA.
- Create an AdSense account for each of these blogs. You may want to try other advertisement tools as well, why not?
- Write a program that automatically generates random posts. I would make them using concrete English phrases, maybe citing some scanned book or some news website (beware of legal pitfalls). Automaticaly generate a post to one of these blogs every second.
- Start counting the money...
DISCLAIMER: What I've written above is the result of some random thoughts, while I was trying to solve some completely unrelated problem. I have no idea whether it would indeed work or not - I didn't try it and don't intend to. This should also not be viewed as a recommendation to act this way - I have no idea whether it is legal or not, and am not responsible for anyone who tries it and finds himself behind bars because of that. If you have any information that could shed some light as to whether or not this is feasible, drop a line, to fulfill my academic curiosity ;-)
Posted by
Ilan Assayag
at
4:20 PM
0
comments
