<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Uriel Katz Blog</title><link>http://www.urielkatz.com/</link><description>Latest entries on Uriel Katz Blog</description><language>en-us</language><lastBuildDate>Wed, 11 Nov 2009 02:06:55 -0000</lastBuildDate><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/UrielKatzBlog" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item><title>Getting your dear .py files from .pyc files</title><link>http://feedproxy.google.com/~r/UrielKatzBlog/~3/jnracfTV8Y0/</link><description>&lt;p&gt; Today happened something really strange,i was looking at this blog source code to take some code to use in other site and i notice there is no urls.py(the routing file in django) file,so i wondered how this is working?! &lt;/p&gt; &lt;p&gt; a quick look at the folder(both local/svn and server) showed that there is only a urls.pyc file,so now i need to recover my source file from a bytecode file. searching in google gave me a tool called decompyle but it wasn`t working yelling something about a bad magic number(i guess it didn`t support python 2.5),so i looked around ...&lt;img src="http://feeds.feedburner.com/~r/UrielKatzBlog/~4/jnracfTV8Y0" height="1" width="1"/&gt;</description><guid isPermaLink="false">http://www.urielkatz.com/archive/detail/getting-your-dear-py-files-pyc-files/</guid><feedburner:origLink>http://www.urielkatz.com/archive/detail/getting-your-dear-py-files-pyc-files/</feedburner:origLink></item><item><title>Back to linux on my laptop</title><link>http://feedproxy.google.com/~r/UrielKatzBlog/~3/IXbqea53z4o/</link><description>&lt;p&gt; Well after more than a year with Vista in my laptop,i am happy to get back to Linux land. I used Vista for the reason it could use all of my 4GB(and it used alot of it). &lt;/p&gt; &lt;p&gt; I personally hate Vista,it is a unfinished version of windows that took years to develop,so after getting some really weird problems with application crashing all the time and trying to fix this for few hours I tried to install Windows XP but to my surprise my laptop(HP dv9925nr with 4GB RAM) isn`t supported by HP in Windows XP so there ...&lt;img src="http://feeds.feedburner.com/~r/UrielKatzBlog/~4/IXbqea53z4o" height="1" width="1"/&gt;</description><guid isPermaLink="false">http://www.urielkatz.com/archive/detail/back-linux-my-laptop/</guid><feedburner:origLink>http://www.urielkatz.com/archive/detail/back-linux-my-laptop/</feedburner:origLink></item><item><title>Why JavaScript is NOT the new Assembly</title><link>http://feedproxy.google.com/~r/UrielKatzBlog/~3/IF_Q6MkxpaU/</link><description>&lt;p&gt; There is a bunch of people in the internet saying that JavaScript is the new Assembly(in the sense that developers shouldn`t write JavaScript directly and instead use some sort of compiler like GWT). &lt;/p&gt; &lt;p&gt; I totally disagree with that,first of all i think JavaScript is a great language,it is dynamic and have a compact syntax. &lt;/p&gt; &lt;p&gt; The reason that most of the people don`t use Assembly is that there is no benefit in speed compared to the time it takes you to write the same code in C or even in higher level languages. JavaScript is a ...&lt;img src="http://feeds.feedburner.com/~r/UrielKatzBlog/~4/IF_Q6MkxpaU" height="1" width="1"/&gt;</description><guid isPermaLink="false">http://www.urielkatz.com/archive/detail/why-javascript-not-new-assembly/</guid><feedburner:origLink>http://www.urielkatz.com/archive/detail/why-javascript-not-new-assembly/</feedburner:origLink></item><item><title>JStORM supports Mozilla Rhino!</title><link>http://feedproxy.google.com/~r/UrielKatzBlog/~3/wYNefcYbN1M/</link><description>&lt;p&gt; Thanks to Christopher Thatcher,JStORM now fully supports Mozilla Rhino,using JDBC to connect to either SQLite or MySQL. &lt;/p&gt; &lt;p&gt; There were few difficulties when trying to adapt JStORM to work with Rhino,for some reason Rhino doesn`t enumerate object properties in the order they were declared,that is the reason that tests have a number prefix. &lt;/p&gt; &lt;p&gt; Other problem was that Rhino doesn`t let you change the function name property which hold the name of the function,the problem was that i was keeping the table name on the model in a property called name,the fix was just to not use ...&lt;img src="http://feeds.feedburner.com/~r/UrielKatzBlog/~4/wYNefcYbN1M" height="1" width="1"/&gt;</description><guid isPermaLink="false">http://www.urielkatz.com/archive/detail/jstorm-supports-mozilla-rhino/</guid><feedburner:origLink>http://www.urielkatz.com/archive/detail/jstorm-supports-mozilla-rhino/</feedburner:origLink></item><item><title>JStORM supports Classic ASP</title><link>http://feedproxy.google.com/~r/UrielKatzBlog/~3/jV0giU_Pzys/</link><description>&lt;p&gt; Just wanted to announce that JStORM now supports Classic ASP,with support for SQL Server and Access(with a bug that still need to be fixed). &lt;/p&gt; &lt;p&gt; I hope that this will make easier to maintain those old ASP sites that aren`t willing to die ;) &lt;/p&gt; &lt;p&gt; The support is in the &lt;a href="http://svn.urielkatz.com/JStORM/trunk/"&gt;trunk&lt;/a&gt; &lt;/p&gt; &lt;p&gt; &lt;strong&gt;P.S.:&lt;/strong&gt; a special thanks goes to Nathan Smith for writing this code! &lt;/p&gt; &lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UrielKatzBlog/~4/jV0giU_Pzys" height="1" width="1"/&gt;</description><guid isPermaLink="false">http://www.urielkatz.com/archive/detail/jstorm-supports-classic-asp/</guid><feedburner:origLink>http://www.urielkatz.com/archive/detail/jstorm-supports-classic-asp/</feedburner:origLink></item><item><title>JStORM supports Adobe AIR!</title><link>http://feedproxy.google.com/~r/UrielKatzBlog/~3/rGqehKTwNvg/</link><description>&lt;p&gt; i wanted to see how much time(and changes to the code) it will take me to add a Adobe AIR support,so i tried it today and it took me 2 hours(!) to add a full support for Adobe AIR with minimal code change! &lt;/p&gt; &lt;p&gt; the only thing that doesn`t work is introspection since AIR doesn`t have the sqlite_master table(which is the sqlite standard) you can see the bug &lt;a href="http://bugs.adobe.com/jira/browse/SDK-14904"&gt;here&lt;/a&gt; &lt;p&gt; &lt;p&gt; the support is in the &lt;a href="http://svn.urielkatz.com/JStORM/trunk/"&gt;svn trunk&lt;/a&gt;. &lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UrielKatzBlog/~4/rGqehKTwNvg" height="1" width="1"/&gt;</description><guid isPermaLink="false">http://www.urielkatz.com/archive/detail/jstorm-supports-adobe-air/</guid><feedburner:origLink>http://www.urielkatz.com/archive/detail/jstorm-supports-adobe-air/</feedburner:origLink></item><item><title>Introducing JStORM</title><link>http://feedproxy.google.com/~r/UrielKatzBlog/~3/Qj8Vbbd5e_4/</link><description>&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;Adobe AIR support is in svn trunk&lt;/p&gt; &lt;p&gt; I am happy to announce the first beta of JStORM,a complete rewrite of GearsORM to support multiple backends,currently supporting Jaxer(MySQL and Sqlite) and Google Gears(Sqlite). &lt;/p&gt; &lt;p&gt; This version is a complete rewrite of GearsORM,it changed the way it works internally and also the API. &lt;/p&gt; &lt;p&gt; The first change is that every model have it own connection to the database,this is in order to enable different models connected to different databases. &lt;/p&gt; &lt;p&gt; Another interesting change is the JStORM.Query class,this class allows for easily querying the models.&lt;br/&gt; a query instance can ...&lt;img src="http://feeds.feedburner.com/~r/UrielKatzBlog/~4/Qj8Vbbd5e_4" height="1" width="1"/&gt;</description><guid isPermaLink="false">http://www.urielkatz.com/archive/detail/introducing-jstorm/</guid><feedburner:origLink>http://www.urielkatz.com/archive/detail/introducing-jstorm/</feedburner:origLink></item><item><title>Google Gears ORM v0.2</title><link>http://feedproxy.google.com/~r/UrielKatzBlog/~3/v-RDw-4KoqM/</link><description>&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;:a new version is &lt;a href="http://www.urielkatz.com/archive/detail/introducing-jstorm/"&gt;here&lt;/a&gt;. &lt;/p&gt; &lt;p&gt; New features in this version: &lt;/p&gt; &lt;ul&gt; &lt;li&gt;transactions - used inside GearsORM itself&lt;/li&gt; &lt;li&gt;self relations(i.e. a relation to the same table/model) - very useful when working with Tree-like structures in the database&lt;/li&gt; &lt;li&gt;count method - so now u can do Person.count() instead of Person.select().toArray().length&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;The most important update in this version is of course transaction support.&lt;br/&gt; SQLite is known for really bad write preformence when not working with transactions.&lt;br/&gt; While developing transaction support for GearsORM i had to write a test,in that test it execute 100 inserts and 100 updates,this test ...&lt;img src="http://feeds.feedburner.com/~r/UrielKatzBlog/~4/v-RDw-4KoqM" height="1" width="1"/&gt;</description><guid isPermaLink="false">http://www.urielkatz.com/archive/detail/google-gears-orm-v02/</guid><feedburner:origLink>http://www.urielkatz.com/archive/detail/google-gears-orm-v02/</feedburner:origLink></item><item><title>Google Gears ORM v0.1.1</title><link>http://feedproxy.google.com/~r/UrielKatzBlog/~3/gu2ToqHmfoI/</link><description>&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;:a new version is &lt;a href="http://www.urielkatz.com/archive/detail/introducing-jstorm/"&gt;here&lt;/a&gt;. &lt;/p&gt; &lt;p&gt; this is a minor update to GearsORM that fixes two bugs,one small bug reported by Evgeny Tyazhev and other known bug in which m2m tables forigen keys aren`t enforced. &lt;/p&gt; &lt;p&gt; another nice thing is a new utility class(or should i say object) GearsORM.Introspection which contain a model(sqliteMasterModel) which maps to sqlite_master table which provide information about the schema,also there is a function GearsORM.Introspection.doesTableExist used to check if a table exist when creating m2m triggers. &lt;/p&gt; &lt;p&gt; in this version i moved from JSDoc to NaturalDocs and added a auto-generated documentaion,also i ...&lt;img src="http://feeds.feedburner.com/~r/UrielKatzBlog/~4/gu2ToqHmfoI" height="1" width="1"/&gt;</description><guid isPermaLink="false">http://www.urielkatz.com/archive/detail/google-gears-orm-v011/</guid><feedburner:origLink>http://www.urielkatz.com/archive/detail/google-gears-orm-v011/</feedburner:origLink></item><item><title>Google Gears ORM v0.1</title><link>http://feedproxy.google.com/~r/UrielKatzBlog/~3/0lg0KBDKKmc/</link><description>&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;:a new version is &lt;a href="http://www.urielkatz.com/archive/detail/introducing-jstorm/"&gt;here&lt;/a&gt;. &lt;/p&gt;&lt;p&gt; So after more than a month since i released a proof of concept of a ORM for Google Gears,i am happy to release the first(official) version of GearsORM . &lt;/p&gt; &lt;p&gt; This is a complete rewrite of the code,this version support relations(both many to one and many to many with automatic table creation),easy loading and saving objects from JSON,real foreign keys(SQLite doesn`t support them) using triggers and many more stuff. &lt;/p&gt; &lt;p&gt; Since i am a big fan of examples i will try to show the new api by a example(the code is ...&lt;img src="http://feeds.feedburner.com/~r/UrielKatzBlog/~4/0lg0KBDKKmc" height="1" width="1"/&gt;</description><guid isPermaLink="false">http://www.urielkatz.com/archive/detail/google-gears-orm-v01/</guid><feedburner:origLink>http://www.urielkatz.com/archive/detail/google-gears-orm-v01/</feedburner:origLink></item></channel></rss>
