<?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:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-13810835</atom:id><lastBuildDate>Wed, 23 Nov 2011 17:47:46 +0000</lastBuildDate><category>Work</category><category>Life</category><category>adobe</category><category>romania</category><title>binary blog</title><description>Forging the Next Web</description><link>http://blog.binarycrafts.com/</link><managingEditor>noreply@blogger.com (cosmin)</managingEditor><generator>Blogger</generator><openSearch:totalResults>197</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/cosmincimpoi" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="cosmincimpoi" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13810835.post-10041006162840587</guid><pubDate>Fri, 18 Nov 2011 12:07:00 +0000</pubDate><atom:updated>2011-11-18T14:07:40.212+02:00</atom:updated><title>HTML5 rocks!</title><atom:summary>Just a little insider joke for those who know what's what and what was what 10 years ago...


;-)</atom:summary><link>http://blog.binarycrafts.com/2011/11/html5-rocks.html</link><author>noreply@blogger.com (cosmin)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-QnU64zzfi8A/TsZKQHGUdEI/AAAAAAAAAQA/GnLNQJ4f4c0/s72-c/html5_package.jpg" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13810835.post-2309832094375398566</guid><pubDate>Thu, 10 Nov 2011 14:15:00 +0000</pubDate><atom:updated>2011-11-15T11:06:11.626+02:00</atom:updated><title>Mobile flash is dead. The future is mobile!</title><atom:summary>So where the heck does that leave Flash as a platform?!
Lee urges the community to caution reasoning that
"Flash is not nearly as ubiquitous on mobile browsers as it is on the desktop"Aral, long time parted from the mothership tweets "I told you so!".

So the future is mobile, the future is native and there's place only for HTML5 in the browser. Go figure...

In truth I haven't had a decent flash</atom:summary><link>http://blog.binarycrafts.com/2011/11/mobile-flash-is-dead-future-is-mobile.html</link><author>noreply@blogger.com (cosmin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13810835.post-5287091392060562078</guid><pubDate>Thu, 10 Nov 2011 08:46:00 +0000</pubDate><atom:updated>2011-11-10T10:49:43.567+02:00</atom:updated><title>first rule of GIT</title><atom:summary>Yep, GIT rocks!
I just had to do some search and replace on a local version of a static website and I needed a way to quickly version my changes as the muti-file search and replace in TextWrangler cannot be reversed. GIT to the  rescue. I just made a local git repo of the website, a first commit, the search and replace and another commit.
Brilliant!
I was able to make a backup before the search/</atom:summary><link>http://blog.binarycrafts.com/2011/11/my-first-rule-of-git.html</link><author>noreply@blogger.com (cosmin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13810835.post-524465824852138149</guid><pubDate>Thu, 10 Nov 2011 08:34:00 +0000</pubDate><atom:updated>2011-11-10T10:54:50.506+02:00</atom:updated><title>To SQL or NoSQL to...</title><atom:summary>I'm pretty fond of MySQL and I really think that paired with MySQLWorkbench it provides an unbeatable solution for your regular web development needs.
But it's hard to ignore the NoSQL crowd with their stories of sheer heroic victories over latency in deploying and scaling complex online applications. Like only yesterday I was going over this presentation of Jesper Richter Reichhelm of Wooga in </atom:summary><link>http://blog.binarycrafts.com/2011/11/to-sql-or-nosql-to.html</link><author>noreply@blogger.com (cosmin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13810835.post-2022755337993349003</guid><pubDate>Thu, 25 Aug 2011 17:54:00 +0000</pubDate><atom:updated>2011-08-25T20:54:05.220+03:00</atom:updated><title>how to check a file digest on OSX</title><atom:summary>
openssl sha1 /path/to/my/file | grep -c "the_digest_to_check_against"
sould print "1".</atom:summary><link>http://blog.binarycrafts.com/2011/08/how-to-check-file-digest-on-osx.html</link><author>noreply@blogger.com (cosmin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13810835.post-8432138711673410943</guid><pubDate>Wed, 10 Aug 2011 13:21:00 +0000</pubDate><atom:updated>2011-08-11T10:04:07.927+03:00</atom:updated><title>OpenCV with Python on WSGI on CentOS with Plesk10</title><atom:summary>Well it all comes together rather nicely...
My old-ish saying that "If I can make it work on OSX I'll make it work anywhere!" proved true again!
In the past I managed to make Python+WSGI+OpenCV work on Snow Leopard with MacPorts. You can find the articles related to that on this very blog. It was quite a ride.
But the final goal was to get it working on a bad ass CentOS hosting server we run at </atom:summary><link>http://blog.binarycrafts.com/2011/08/opencv-with-python-on-wsgi-on-centos.html</link><author>noreply@blogger.com (cosmin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13810835.post-2791829342979195849</guid><pubDate>Wed, 10 Aug 2011 12:35:00 +0000</pubDate><atom:updated>2011-08-10T15:39:47.348+03:00</atom:updated><title>Facebook Page Tab Canvas IFrame Application with CakePHP</title><atom:summary>Ahhh, the joys of Facebook development!

I remember back in 2007 when they launched _THE_ Platform. Man was it a weird thing. At the time I worked on a Flash prototype but quickly gave up. If only I would've persevered maybe Farmville would have a different owner :D
Last year I tried again. FBML, page scraping, localhost dev with port forwarding, lakes of tears...

Now it's take 3.
It definitely </atom:summary><link>http://blog.binarycrafts.com/2011/08/facebook-page-tab-canvas-iframe.html</link><author>noreply@blogger.com (cosmin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13810835.post-4972797247965430836</guid><pubDate>Thu, 30 Jun 2011 08:17:00 +0000</pubDate><atom:updated>2011-06-30T11:17:30.146+03:00</atom:updated><title>what panel? OpenPanel!</title><atom:summary>
"OpenPanel offers all basic hosting services for setting up domains, including DNS, email, websites and databases. A layered authentication system allows the administrator to create accounts with specified limitations for end-users. All of the system’s users are able to control system configuration using either an intuitive graphical interface or a powerful command line configuration shell."</atom:summary><link>http://blog.binarycrafts.com/2011/06/what-panel-openpanel.html</link><author>noreply@blogger.com (cosmin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13810835.post-6564987378332367129</guid><pubDate>Fri, 24 Jun 2011 07:23:00 +0000</pubDate><atom:updated>2011-06-24T10:23:31.607+03:00</atom:updated><title>for bigger problems use a smarter hammer</title><atom:summary>PHP won't detect faces anymore. The OpenCV extension does not support the last PHP and I'm sick of using a small screwdriver to put big nails in place. I will build a set of utility APIs that can be used by all my web apps. They will run on Python and I'll tame the snake using a lightweight framework.
Enter the perfect Python wsgi hammer:

Werkzeug, das
Wortart: Substantiv, Neutrum
Worttrennung: </atom:summary><link>http://blog.binarycrafts.com/2011/06/for-bigger-problems-use-smarter-hammer.html</link><author>noreply@blogger.com (cosmin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13810835.post-286044362403557696</guid><pubDate>Tue, 10 May 2011 14:17:00 +0000</pubDate><atom:updated>2011-11-10T16:22:27.395+02:00</atom:updated><title>StageVideo in Adobe AIR 2.6</title><atom:summary>
Sorry!

My carefully crafted title describes a thing that does not exist.
You can get it only on AIR for TV. And I bet your hardware specs do not contain such exotic devices!
And another bummer is that AIR 2.7 won't have it either.

So what can you do?

Well if the thing you're building has a mouse and asking the user to initiate Full Screen is acceptable you can try this.

If you can choose the</atom:summary><link>http://blog.binarycrafts.com/2011/05/stagevideo-in-adobe-air-26.html</link><author>noreply@blogger.com (cosmin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13810835.post-3619129153553957542</guid><pubDate>Tue, 10 May 2011 05:26:00 +0000</pubDate><atom:updated>2011-05-10T21:04:53.189+03:00</atom:updated><title>The JavaScript Trap</title><atom:summary>
Important notice for free software supporters using Gmail!

"Are you using Gmail? Nearly 50% of the FSF's 40,000 strong supporter mailing list has an @gmail.com email address.
Because of the incredibly high percentage of Gmail-using free software supporters, we're taking action to raise awareness about how to use Gmail without using proprietary software. We'll also be working on longer term </atom:summary><link>http://blog.binarycrafts.com/2011/05/javascript-trap.html</link><author>noreply@blogger.com (cosmin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13810835.post-4851324192631800455</guid><pubDate>Tue, 12 Apr 2011 13:24:00 +0000</pubDate><atom:updated>2011-05-06T09:08:30.368+03:00</atom:updated><title>OpenCV in Python, in PHP, in Flash and everywhere else...</title><atom:summary>A good while ago we were doing a website for one of our social aware clients and the visitors could upload pictures of them and their good friends. But oh my, those pictures needed to be cropped to thumbnails and we couldn't upset the clients by asking them not to upload images in portrait format.
Obviously.
So I looked at my Cake and wondered how could I crop and keep their faces. Ok, that </atom:summary><link>http://blog.binarycrafts.com/2011/04/opencv-in-python-in-php-in-flash-and.html</link><author>noreply@blogger.com (cosmin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13810835.post-7472781731523436426</guid><pubDate>Fri, 08 Apr 2011 06:49:00 +0000</pubDate><atom:updated>2011-04-08T11:58:28.367+03:00</atom:updated><title>to MacPorts or not to MacPorts</title><atom:summary>Soooo...
About this whole Python thing.
It turns out that the more power you get the deeper you have to go.
In my particular case I had to go deep enough that the Snow Leopard 32 bit / 64 bit started to really matter.
The problem arise when I tried to install opencv for Python. Opencv has ffmpeg as a dependency. And ffmpeg is 64 bit only on Snow Leoaprd. And I was running Python in 32 bit mode (</atom:summary><link>http://blog.binarycrafts.com/2011/04/to-macports-or-not-to-macports.html</link><author>noreply@blogger.com (cosmin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13810835.post-5043725090878200078</guid><pubDate>Wed, 06 Apr 2011 17:50:00 +0000</pubDate><atom:updated>2011-04-06T20:50:12.453+03:00</atom:updated><title>riches for rattles</title><atom:summary>You tried Perl, you liked the power but dreaded the lingo?
Try Python!</atom:summary><link>http://blog.binarycrafts.com/2011/04/riches-for-rattles.html</link><author>noreply@blogger.com (cosmin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13810835.post-2830441332453945714</guid><pubDate>Tue, 29 Mar 2011 11:03:00 +0000</pubDate><atom:updated>2011-03-29T14:17:03.008+03:00</atom:updated><title>Python on Django on WSGI on Apache on XAMPP on OSX Snow Leopard on Monday</title><atom:summary>Sooner or later I had to try Python. And since XAMPP is still the best way to do webdev on OSX I had to get Python to play along. Sure there are XAMPP equivalents for Python but well, I already have 2 of Apache and MySQL running, I am not using one of them and I definitely dont need another pair.
As it turns out it was not that hard once I dropped the fuss and added the "easy" keyword to my </atom:summary><link>http://blog.binarycrafts.com/2011/03/python-on-django-on-wsgi-on-apache-on.html</link><author>noreply@blogger.com (cosmin)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-3UTGs7aGAFk/TZGvVqrqLYI/AAAAAAAAANY/gd-chY2Ha8E/s72-c/Screen+shot+2011-03-29+at+1.06.07+PM.png" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13810835.post-5938707030680735470</guid><pubDate>Mon, 14 Mar 2011 07:50:00 +0000</pubDate><atom:updated>2011-03-14T10:23:21.746+02:00</atom:updated><title>monday money maker</title><atom:summary>Jason Fried got good at making money when he was young. Now he's great!</atom:summary><link>http://blog.binarycrafts.com/2011/03/monday-money-maker.html</link><author>noreply@blogger.com (cosmin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13810835.post-8287623621475092115</guid><pubDate>Thu, 06 Jan 2011 08:07:00 +0000</pubDate><atom:updated>2011-01-06T10:08:31.089+02:00</atom:updated><title>W3C vs Newton</title><atom:summary>Thinking about building a room divider using sliding glass panels.
Thoughts about the HTML DOM model kept popping up in the process.
Layout, DIVs and interactions.
So yes kids, you can think of the HTML DOM as a parallel universe with different laws of physics :-)

Happy New Year to all!</atom:summary><link>http://blog.binarycrafts.com/2011/01/html-vs-newton.html</link><author>noreply@blogger.com (cosmin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13810835.post-8113468856280427066</guid><pubDate>Thu, 23 Dec 2010 08:00:00 +0000</pubDate><atom:updated>2011-01-06T09:55:08.773+02:00</atom:updated><title>Hardware Layouts for LAMP Installations</title><atom:summary>written back in 2005 by John Allspaw of Flickr can be found here. Incredibly good strategies for a website that we can all agree has stood the test of time and photo enthusiasts all over the world :)
I wonder what their current infrastructure looks like...</atom:summary><link>http://blog.binarycrafts.com/2010/12/hardware-layouts-for-lamp-installations.html</link><author>noreply@blogger.com (cosmin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13810835.post-1052111469595167962</guid><pubDate>Sun, 12 Dec 2010 11:59:00 +0000</pubDate><atom:updated>2010-12-12T13:59:18.319+02:00</atom:updated><title>weekend wrap up</title><atom:summary>Leo at Le Web. Great old world point of view. Great ideas, questions and answers.
Christian Cantrell AIR plays across devices.Jason Fried does no work at work.</atom:summary><link>http://blog.binarycrafts.com/2010/12/weekend-wrap-up.html</link><author>noreply@blogger.com (cosmin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13810835.post-5136938795630657109</guid><pubDate>Thu, 09 Dec 2010 13:16:00 +0000</pubDate><atom:updated>2010-12-09T15:21:50.847+02:00</atom:updated><title>Flash video is back for good!</title><atom:summary>Woot!
First great news like in ages from the Flash land!
Is it a bird?
Is it a plane?
NO, it's
StageVideo!!!

Iashido told me last evening that he dropped by Flashcamp@Bucharest and got me a Flash tshirt. Finally I will own a Flash tshirt :)
And they showed a flash StageVideo demo. And it was awesome!

I actually saw it yesterday mentioned on the web with some screen shots on OSX. Impressive CPU </atom:summary><link>http://blog.binarycrafts.com/2010/12/flash-video-is-back-for-good.html</link><author>noreply@blogger.com (cosmin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13810835.post-8713041591781497778</guid><pubDate>Mon, 06 Dec 2010 06:06:00 +0000</pubDate><atom:updated>2010-12-06T08:06:47.961+02:00</atom:updated><title>Latitude friends</title><atom:summary>"Latitude lets you share your location with friends you choose and Google"on Motorola Milestone with Android 2.1.
I guess Google is the one friend you don't choose...</atom:summary><link>http://blog.binarycrafts.com/2010/12/latitude-friends.html</link><author>noreply@blogger.com (cosmin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13810835.post-9091097991238802888</guid><pubDate>Tue, 30 Nov 2010 10:15:00 +0000</pubDate><atom:updated>2010-11-30T12:16:48.887+02:00</atom:updated><title>MySQL Workbench XAMPP system error: 61</title><atom:summary>Here comes another one!
Today the Workbench threw this in my face:
Lost connection to MySQL server at 'reading initial communication packet', system error: 61
It seems that XAMPP is really serious about security. Kinda odd considering that everybody uses it for development and not production...
So it comes with the skip-networking option enabled by default :p
That doesn't bother php but it does </atom:summary><link>http://blog.binarycrafts.com/2010/11/mysql-workbench-xampp-system-error-61.html</link><author>noreply@blogger.com (cosmin)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13810835.post-8427105102407692626</guid><pubDate>Sun, 28 Nov 2010 12:45:00 +0000</pubDate><atom:updated>2011-05-17T10:47:52.563+03:00</atom:updated><title>XAMPP access denied for root with NO password</title><atom:summary>So far XAMPP is great for localhost web development. No problems with tweaking it or deploying local developed stuff on robust systems like OpenSUSE or CentOS. Works on Windows and Mac.
Well it works until it doesn't. And when it stops working u start digging :D
Today it was MySQL that said NO. I will not allow this nonsense of logging in as root and using NO password!
Access denied for user '</atom:summary><link>http://blog.binarycrafts.com/2010/11/xampp-access-denied-for-root-with-no.html</link><author>noreply@blogger.com (cosmin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13810835.post-1302187643479050900</guid><pubDate>Sun, 07 Nov 2010 17:00:00 +0000</pubDate><atom:updated>2010-11-08T08:47:49.065+02:00</atom:updated><title>OS X XAMPP permissions</title><atom:summary>Just a quick note to tone down my previous post about how easy is to move to a new OS X version.
As far as I can remember I hit this problem with 10.5 Leopard as well when using XAMPP.
The bottom issue was that the darn php is_writable and siblings were always complaining that they cannot read or write to the file system. Even after chmod 777 from the DocumentRoot up.

My solution is to change </atom:summary><link>http://blog.binarycrafts.com/2010/11/os-x-xampp-permissions.html</link><author>noreply@blogger.com (cosmin)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-13810835.post-306466343934374382</guid><pubDate>Sun, 07 Nov 2010 14:20:00 +0000</pubDate><atom:updated>2010-11-07T16:20:00.293+02:00</atom:updated><title>Snow is coming. Snow Leo is already here!</title><atom:summary>In order to celebrate the fast coming of the white season I installed myself a brand new and fresh Snow Leopard!

Well not really...
My old MBP was having the blank screen of death Nvidia issue and it had to go back to the green fields of Bavaria to the nice Apple support guys in Landshut. Who so happens also fixed my current MBP for the same issue. I still wonder how long would the Apple support</atom:summary><link>http://blog.binarycrafts.com/2010/11/snow-is-coming-snow-leo-is-already-here.html</link><author>noreply@blogger.com (cosmin)</author><thr:total>0</thr:total></item></channel></rss>

