<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Omer Gertel's Blog - Latest Comments</title><link>http://omergertel.disqus.com/</link><description></description><atom:link href="https://omergertel.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 16 Aug 2011 15:01:54 -0000</lastBuildDate><item><title>Re: How To Read Code</title><link>http://omergertel.com/2010/07/04/how-to-read-code/#comment-380299429</link><description>&lt;p&gt;Grrrreat article!! Thank you. I am implementing your tips right now. The book you recommended is also very good, I keep getting back to it for coding principles.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nurnur</dc:creator><pubDate>Tue, 16 Aug 2011 15:01:54 -0000</pubDate></item><item><title>Re: Messing Around With Images</title><link>http://omergertel.com/2011/03/25/messing-around-with-images/#comment-380299326</link><description>&lt;p&gt;Doh! Fixed (apparently when you try and draw beyond the borders of the canvas, Firefox throws an exception, and chrome just does its best).&lt;/p&gt;&lt;p&gt;Thanks for notifying me.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Omer Gertel</dc:creator><pubDate>Sat, 26 Mar 2011 17:03:10 -0000</pubDate></item><item><title>Re: Messing Around With Images</title><link>http://omergertel.com/2011/03/25/messing-around-with-images/#comment-380299324</link><description>&lt;p&gt;Hmm, doesn't work on FF4?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Yuval Adam</dc:creator><pubDate>Fri, 25 Mar 2011 19:12:40 -0000</pubDate></item><item><title>Re: Google VS Facebook: A Battle Over The Internet&amp;#8217;s Architecture</title><link>http://omergertel.com/2010/03/10/google-vs-facebook-a-battle-over-the-internets-architecture/#comment-380299340</link><description>&lt;p&gt;I believe Google will always be unbeatable... even though Facebook comes closer in competition with Google, we must remember that Facebook is defined as a social network &amp;amp; Google is apparently a search engine. Therefore, both have altogether a different purpose.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Promotional Products</dc:creator><pubDate>Mon, 14 Mar 2011 09:02:08 -0000</pubDate></item><item><title>Re: A Tale of Two Databases</title><link>http://omergertel.com/2011/02/15/a-tale-of-two-databases/#comment-380299319</link><description>&lt;p&gt;There is a solution for database managment, also israeli dev. - called DBMaestro.&lt;/p&gt;&lt;p&gt;where i work, we use it.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ofer Shapira</dc:creator><pubDate>Wed, 09 Mar 2011 12:10:26 -0000</pubDate></item><item><title>Re: A Tale of Two Databases</title><link>http://omergertel.com/2011/02/15/a-tale-of-two-databases/#comment-380299322</link><description>&lt;p&gt;You so right, but there are few tools that enable manage your data. &lt;br&gt;This market is only at the beginning but I am sure it going to grow (regardless the fact that I start to work on such product).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roee Eliezer</dc:creator><pubDate>Wed, 16 Feb 2011 05:52:40 -0000</pubDate></item><item><title>Re: Honing my Craft</title><link>http://omergertel.com/2010/11/16/honing-my-craft/#comment-380299387</link><description>&lt;p&gt;Amir, the education system was designed in the 18th and 19th centuries to prepare people to join the work force. I'm not surprised that the academia is trying to prepare the students to use the common tools of the day. The surprise is that they do not do a very good job at that.&lt;/p&gt;&lt;p&gt;We should separate computer science from software engineering (or software craftsmanship). We are no longer in the early days of computers, and it's time to start specializing.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Omer Gertel</dc:creator><pubDate>Tue, 16 Nov 2010 13:18:10 -0000</pubDate></item><item><title>Re: Honing my Craft</title><link>http://omergertel.com/2010/11/16/honing-my-craft/#comment-380299390</link><description>&lt;p&gt;Great read.  I too began my programming ways in BASIC (only I played with sound) and continued into Pascal.  Our paths diverged around the end of high school.  I started learning Prolog, which I hated then but I am thankful for until this day.  Instead of heading for the uni I went straight to BigCo for a few years.. and then went to uni for a first and currently second degree in CS.  Before my degree I wasn't that great on systematic order in the systems I worked on (*cough* to the say least), but I believe that in order to build a tall and strong building you need a good foundation.  CS is that foundation.  I've gotten better at being tidy with my code and using patterns for structure but more importantly, what my code does and how it gets it done is drastically better.  The solutions I conceive are orders of magnitude more efficient.  Moreover, now that I have CS knowledge - some problems I wouldn't even consider tackling before now seem like a few weeks worth of thought.. if not completely trivial.  On the other hand, systems I had previously considered to be trivial I now understand to be more-than-meets-the-eye (such as writing a new RDBMS for BigCo :)&lt;br&gt;Separating form from function - while the form of what I've done got better as a function of how much code I wrote, the functionality got better as a function of my progression in the academia.&lt;/p&gt;&lt;p&gt;In a nutshell - Design patterns can change, the current fashion in languages (and their families - i.e. functional vs procedural) changes on a whim, even NoSQL vs SQL.  However, the foundation rarely changes.  If anything - it gets wider and deeper.&lt;/p&gt;&lt;p&gt;Unfortunately the industry has pushed schools to teach some current technologies, such as java or a specific RDBMS's SQL implementation, because the industry doesn't want to train the newly minted 'programmers' coming out of the university.  It's an issue of time, and therefore money.  At BigCo, you were given time to read on Big-SQL-DB-That-Shall-Not-Be-Named (Oracle).  At most industrial organizations, they don't want to invest that time in you.  They see you as a worker, so the minute you are hired you should get to work.  They don't care about the difference between what you know and what you can do with what you know - the epitome of Big Org ignorance.  Industry has succeeded in pushing this training period back to the degree.  They regain their initial investment, you lose yet another course in machine learning, graphics processing, digital systems, computer architecture, advanced algorithms and structures etc.  Which, eventually, comes back to bite industry in the ass because when you finally do need to learn these algorithms you do it in 5 hours, with lunch and other disturbances, and you eventually use someone else's implementation whose parameters you barely understand.  Did I say they're ignorant?&lt;/p&gt;&lt;p&gt;You can see this instantly by the companies led by engineers - Google, FB and others.  Even after 15 years of experience they ask how you would sort a million integers, how many tennis balls bit in a school bus and the average flying speed of an unladen swallow.  They care about how you think, not the language you think in.. because when you're faced with a unique problem it's your raw problem solving abilities that take effect, not the language you use to write the solution in.&lt;/p&gt;&lt;p&gt;BTW The monty python link right after \Normalization?\ was hilarious!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Amir</dc:creator><pubDate>Tue, 16 Nov 2010 12:54:48 -0000</pubDate></item><item><title>Re: Facebook Is Going To Be The Next Big Thing. Again.</title><link>http://omergertel.com/2010/03/07/facebook-is-going-to-be-the-next-big-thing-again/#comment-380299374</link><description>&lt;p&gt;Out of 150+ friends, the few (of all ages) I know who have "stuck" to facebook fall into two small groups:&lt;/p&gt;&lt;p&gt;1) Hopeless Farmville addicts. Once a large group, I think I'm down to single digits.&lt;/p&gt;&lt;p&gt;2) People who have something to sell and think that they HAVE to be there.&lt;/p&gt;&lt;p&gt;I thought I was in the second group, but as it turns out -- I don't have to be there. I feel bad for friends who tied up their identity with FB at the expense, in time, of building their own.&lt;/p&gt;&lt;p&gt;Unless you're Zynga, et. al. ...&lt;/p&gt;&lt;p&gt;Facebook + You = ... Facebook.&lt;/p&gt;&lt;p&gt;It has its uses, of course. It's worth having. It's just not worth a lot; and at some point, the numbers will start to show it.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">JustJss</dc:creator><pubDate>Thu, 23 Sep 2010 02:49:39 -0000</pubDate></item><item><title>Re: Do You Own Your iPhone?</title><link>http://omergertel.com/2010/09/21/do-you-own-your-iphone/#comment-380299402</link><description>&lt;p&gt;@Mike - Oops, Got me. Fixed.&lt;/p&gt;&lt;p&gt;@Ivo - You can watch this video on TED: &lt;br&gt;&lt;a href="http://www.ted.com/talks/lang/eng/larry_lessig_says_the_law_is_strangling_creativity.html" rel="nofollow noopener" target="_blank" title="http://www.ted.com/talks/lang/eng/larry_lessig_says_the_law_is_strangling_creativity.html"&gt;http://www.ted.com/talks/la...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I don't like TED's embeddable object, so I used YouTube.&lt;br&gt;BTW, this is the ultimate irony: The video is blocked because of a 2 second snippet, which is trying to explain why Fair Use is so important. It was taken down, automatically, and without any inquiry about the legitimacy of the use.&lt;/p&gt;&lt;p&gt;@Ofri, as usual, I agree with you. You rock, man.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Omer Gertel</dc:creator><pubDate>Tue, 21 Sep 2010 17:07:17 -0000</pubDate></item><item><title>Re: Do You Own Your iPhone?</title><link>http://omergertel.com/2010/09/21/do-you-own-your-iphone/#comment-380299396</link><description>&lt;p&gt;scary stuff for sure. unless we as a people do something, the rest of our lives will become less and less free.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lasersocks</dc:creator><pubDate>Tue, 21 Sep 2010 14:39:32 -0000</pubDate></item><item><title>Re: Do You Own Your iPhone?</title><link>http://omergertel.com/2010/09/21/do-you-own-your-iphone/#comment-380299399</link><description>&lt;p&gt;The whole copyright thing is getting out of control, it literally shouts out pure capitalism. In the end you just get less, for more money.&lt;/p&gt;&lt;p&gt;You cannot stop piracy, there will always be people which either cannot afford a product or just outright refuse to pay for it. The more you do to protect your work, the more you annoy the normal user, which after all, actually bought your product. More barriers also mean more challenge for the crackers, which as we all know have more than enough time to break/circumvent it.&lt;/p&gt;&lt;p&gt;Oh and I'm sorry but I can't watch the video :/&lt;/p&gt;&lt;p&gt;"This video contains content from UMG. It is not available in you country".&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ivo Wetzel</dc:creator><pubDate>Tue, 21 Sep 2010 14:28:00 -0000</pubDate></item><item><title>Re: Do You Own Your iPhone?</title><link>http://omergertel.com/2010/09/21/do-you-own-your-iphone/#comment-380299395</link><description>&lt;p&gt;I think you meant to say piracy "is NOT to be condoned." All in all though, a well argued post.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mike</dc:creator><pubDate>Tue, 21 Sep 2010 14:13:08 -0000</pubDate></item><item><title>Re: Do You Own Your iPhone?</title><link>http://omergertel.com/2010/09/21/do-you-own-your-iphone/#comment-380299398</link><description>&lt;p&gt;A book (and an XBox, and many other things) is made up of two parts : the material (paper, silicon…), and the knowledge embedded in that material (text, firmware…). While ownership of material is a well known concept, ownership of knowledge is a meaningless one. Knowledge isn't owned, it's known. Knowledge isn't shared, it's spread. Knowledge isn't destroyed, it's forgotten.&lt;/p&gt;&lt;p&gt;Up until recently, knowledge was always embedded in some material, with no easy way to transfer it to another. Because of this tight coupling, dealing with the material felt like dealing with the knowledge itself to the unwary. Knowledge and matter didn't feel so different.&lt;/p&gt;&lt;p&gt;Now they do. And refusing to acknowledge it is either foolish or evil.&lt;/p&gt;&lt;p&gt;Licensing is such a refusal: it tries to rent knowledge. Meaning, it more or less tries to prevent you to teach its teaching. Or to make you forget it. This can't work but in the tightest dictatorship.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Loup Vaillant</dc:creator><pubDate>Tue, 21 Sep 2010 13:37:46 -0000</pubDate></item><item><title>Re: Do You Own Your iPhone?</title><link>http://omergertel.com/2010/09/21/do-you-own-your-iphone/#comment-380299400</link><description>&lt;p&gt;Do you know if MS crippling its XBOXs has ever been put up to court?&lt;/p&gt;&lt;p&gt;James Boyle points in his (free as in speech) book &lt;a rel="nofollow"&gt;The Public Domain&lt;/a&gt; to what seems to be one of the major causes of this shift: For years copyright has been the internal regulation of the publishing industry. To infringe on someone else's copyright in any meaningful magnitude you had to be a publisher yourself. In that time we have been accustomed to letting that industry set its rules for itself. With the advance of technology stuff have changed - as you write, simple usage needs copying, every person can make endless number of copies of a work, etc.&lt;/p&gt;&lt;p&gt;I think the solution is in customer deman to be owners of their products and regain their freedoms, but your prologue is way too optimistic. We haven't reached a new working equilibrium. How many people do you see switching to linux, just because its free (as in speech)? On the smartphone market, where more users are early adopters, we see that &lt;a href="http://techcrunch.com/2010/09/05/apple-android/" rel="nofollow noopener" target="_blank" title="http://techcrunch.com/2010/09/05/apple-android/"&gt;people are choosing android mainly because of openess&lt;/a&gt; (which &lt;a href="http://techcrunch.com/2010/09/09/android-open/" rel="nofollow noopener" target="_blank" title="http://techcrunch.com/2010/09/09/android-open/"&gt;can be doubted&lt;/a&gt;, but still).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ofri Raviv</dc:creator><pubDate>Tue, 21 Sep 2010 09:56:16 -0000</pubDate></item><item><title>Re: Democratizing Taxes</title><link>http://omergertel.com/2010/09/06/democratizing-taxes/#comment-380299397</link><description>&lt;p&gt;Interesting  idea !&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Amir</dc:creator><pubDate>Mon, 06 Sep 2010 10:46:44 -0000</pubDate></item><item><title>Re: Virtual Reality, Not What We Have Imagined</title><link>http://omergertel.com/2010/06/18/virtual-reality-not-what-we-have-imagined/#comment-380299321</link><description>&lt;p&gt;the glove technology was very real when Minority Report was filmed. actually, on the scenes when this device appears, the actors really interfaced with a computer display, probably placed behind the cameraman, showing something similar to what we saw on those CGI glass displays in the movie.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shalev</dc:creator><pubDate>Sun, 15 Aug 2010 16:57:58 -0000</pubDate></item><item><title>Re: How To Read Code</title><link>http://omergertel.com/2010/07/04/how-to-read-code/#comment-380299425</link><description>&lt;p&gt;There is one aspect of code reading that one must consider. In the real world you don't generally have the luxury of reading self contained code snippets. Sometimes you get a large bunch of inter-connected code or an conditional statement that runs several pages or even a large class hierarchy. &lt;br&gt;In such cases the more appropriate description of the activity you are doing become "code comprehension" - I write about this in more detail in my post - check it out - &lt;a href="http://technikhil.wordpress.com/2010/07/06/how-to-read-code-a-primer/" rel="nofollow noopener" target="_blank" title="http://technikhil.wordpress.com/2010/07/06/how-to-read-code-a-primer/"&gt;http://technikhil.wordpress...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">technikhil</dc:creator><pubDate>Fri, 09 Jul 2010 15:16:49 -0000</pubDate></item><item><title>Re: How To Read Code</title><link>http://omergertel.com/2010/07/04/how-to-read-code/#comment-380299424</link><description>&lt;p&gt;Actually, modern practice is not to use comments, but make the code self descriptive. This has a few good reasons:&lt;br&gt;A) In modern languages code is much more readable. Think of python, ruby, Java and C#. Object oriented, high level languages are easier to read.&lt;br&gt;B) Comments are usually not updated when code changes, which makes them worse than waste. They actually hurt understanding. Comments should really last resort.&lt;br&gt;Contrary to previous comments, about a function being called only once, it is actually a great way to make the code readable. For example, if you have an if statement - you can create three functions to describe the if statement, and then you don't need a comment at all:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;blockquote&gt;if (OrangeIsRipe(color, size)) {&lt;br&gt;     MoveToBoxing();&lt;br&gt;} else {&lt;br&gt;     ThrowAway();&lt;br&gt;}&lt;/blockquote&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Omer Gertel</dc:creator><pubDate>Thu, 08 Jul 2010 04:51:03 -0000</pubDate></item><item><title>Re: How To Read Code</title><link>http://omergertel.com/2010/07/04/how-to-read-code/#comment-380299418</link><description>&lt;p&gt;Why are we reading code?  Isn't the purpose of comments&lt;br&gt;to help us avoid reading too much code?&lt;/p&gt;&lt;p&gt;-- See &lt;a href="http://www.civilized.com/programming.html" rel="nofollow noopener" target="_blank" title="www.civilized.com/programming.html"&gt;www.civilized.com/programmi...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">gary knott</dc:creator><pubDate>Wed, 07 Jul 2010 21:39:55 -0000</pubDate></item><item><title>Re: Economists&amp;#8217; Little Secret</title><link>http://omergertel.com/2009/10/25/economists-little-secret/#comment-380299297</link><description>&lt;p&gt;@Gal:&lt;br&gt;You said:&lt;/p&gt;&lt;p&gt;"We both understand that if some âmoney chaserâ make 50$ per hour, someone else loss 50$ per hour. and what if this person really need this money for surviving?"&lt;/p&gt;&lt;p&gt;This is so wrong. Wealth creation is not a zero sum game. The more we all work, the cheaper everything gets, the more everyone is able to buy. EVERYONE.&lt;/p&gt;&lt;p&gt;Don't think \Zero Sum\. That's what socialists do.&lt;/p&gt;&lt;p&gt;Thinking \Zero Sum\ makes people obsessed about \wealth redistribution\.&lt;/p&gt;&lt;p&gt;Think \Plus Sum\ (variable wealth) makes people think \wealth creation\.&lt;br&gt;And \Plus Sum\ is how economics work. Not Zero Sum.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jakob Jenkov</dc:creator><pubDate>Wed, 07 Jul 2010 16:20:57 -0000</pubDate></item><item><title>Re: How To Read Code</title><link>http://omergertel.com/2010/07/04/how-to-read-code/#comment-380299421</link><description>&lt;p&gt;Great read! Though, splitting functions, not generally makes code readable to me. If new funcs after a split are called only once, i would keep it as code-block in the calling function. Otherwise stuff is too much spread and has misleadings semantics (a function is meant to be generally usable and to be called more than once).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pl4n3</dc:creator><pubDate>Tue, 06 Jul 2010 09:56:28 -0000</pubDate></item><item><title>Re: How To Read Code</title><link>http://omergertel.com/2010/07/04/how-to-read-code/#comment-380299422</link><description>&lt;p&gt;The sad part is the code itself.&lt;/p&gt;&lt;p&gt;Input is not limited to positive numbers - entering a negative number will give meaningless results. &lt;br&gt;Todo: limit input to positive numbers, use unsigned int variables.&lt;/p&gt;&lt;p&gt;If a rather large max value is use, the resulting sum will overflow - again giving meaningless results.&lt;br&gt;Todo: limit input to largest number that will sum to maximum int value.&lt;/p&gt;&lt;p&gt;If your loop is iterating through every value, use a for loop.  If not, then use a while loop.  The while loop here adds extra code that is not clarifying what the code is doing.&lt;/p&gt;&lt;p&gt;Doesn't matter where your eyes are going if you can't fix these things!;-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ralph</dc:creator><pubDate>Mon, 05 Jul 2010 14:50:18 -0000</pubDate></item><item><title>Re: How To Read Code</title><link>http://omergertel.com/2010/07/04/how-to-read-code/#comment-380299419</link><description>&lt;p&gt;I used to go to Vision Therapy (which I later found out the problem had more to do with my TMJ than it did my eyes), and they used a vision tracking system to watch how my eyes moved when I read something.  The apparatus looked like a circuit board that fit around my eyes, it wasn't bulky at all.&lt;/p&gt;&lt;p&gt;  I was really surprised when I looked at the results of how my eyes were scanning the page, I don't think that I was even aware of the course they were taking.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrew J. Leer</dc:creator><pubDate>Mon, 05 Jul 2010 13:58:51 -0000</pubDate></item><item><title>Re: How To Read Code</title><link>http://omergertel.com/2010/07/04/how-to-read-code/#comment-380299410</link><description>&lt;p&gt;Thanks for the good post.  You have furthered our profession!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rick</dc:creator><pubDate>Mon, 05 Jul 2010 13:24:58 -0000</pubDate></item></channel></rss>