DCSIMG
מקודד לשווא

פוסטים אחרונים


תגובות

rails console pry integration על ידי danielisimo

this gist enables simple support for loading pry console within rails application , instead of typing my-rails-project$ pry -r ./config/environment just type my-rails-project$ rails p just replace script/rails with the content of rails/pry gist ... read more
תגים:, , , , , , ,

תגובות

installing ruby mysql with native extensions on mac osx (64 bit) על ידי danielisimo

getting an error `<main>': undefined method `query' for #<Mysql:0x00000100913e20> or sort (also for methods init, each etc') are common for mysql ruby driver that is not installed correctly or without native extensions. to fix this issue just run the following commands: 1. brew install mysql-connector-c 2. sudo gem install mysql -- --with-mysql-lib=/usr/local/mysql/lib (/usr/local/mysql/lib is my local mysql installation folder) my stack is rvm / ruby 1.9.2 gem 1.8.5 mysql...

תגובות

Show the Current GIT Branch and Tag in Your Command Prompt על ידי danielisimo

Following Eran's post on showing current git branch, here is an improved version including branch or tag number (which is helpful in repositories like nodejs) . in order to differentiate between branches and tags the script prints branches in braces () and tags in square braces . ... read more

תגובות

Installing QT 4.7.x for VS2010 על ידי danielisimo

had some issues installing QT on windows with vs2010 so I thought I'll share the solution that worked for me. I'm using win7 64 bit , vs2010, qt 4.7.1 What do I need ? qt add on for visual studio (qt-vs-addin-1.1.7.exe) qt open source distribution (qt-everywhere-opensource-src-4.7.1.zip) Installation Process download and install qt add on for visual studio download qt open source distribution create qt directory (i used C:\Qt\4.7.1x32\) extract the zip contents into previously created folder...

תגובות

Pong Applied Box2DFlex Physics Engine על ידי danielisimo

I decided to learn by example and assigned myself the goal of building pong in box2d. box2d is an overkill for pong , but what do you know, it's damn easy. the gist of it is : layout world setup event handling read more

תגובות

Working With Large Arrays in Action Script על ידי danielisimo

While working on partly connected system using flex technology I figured out quick enough that working with large data sets (thousands of records) is not applicable. Especially because i held a number of those sets which I needed to cross reference in number of occasions. My solution was to create an indexed collection which i can benefit both worlds of Dictionary and ArrayCollection , with that in mind I designed and implemented the IndexedArrayCollection. The collection extends ArrayCollection...

תגובות

Box2D Flex Complex Shapes Mapping על ידי danielisimo

One of the drawbacks in box2d is that it's not supporting concave polygon shapes . for that box2d flex employs several algorithms and converts a complex shape to a set of polygons (I took the idea from 3d modeling) at this point i would like to give credits to sakri.net for he's shape outline algorithm makc.coverthesky.com for he's polygon2d both state that their algorithms are far from perfect but for a v0.2 it's a good start. in this case I'll start from the demo and then.....

תגובות

Simple Box2D Flex Example על ידי danielisimo

following my previous post announcing Box2D Flex framework i want to share some techniques via examples on how to use the library. First thing we create add a SkinableContentContainer to and drop some contorls inside it This, still, does not do anything fancy it just initializes box2d and registers & measures all controls inside our physics container. next step we add some bindable controls that will change our physics gravity and debug and the bindable properties to our physics container now...
תגים:, , , , ,

תגובות

Announcing Box2D Flex framework על ידי danielisimo

Prefix In a previous post demonstrating box2d integration with flex I made a promise (mainly to myself) to share the demo code. When I started to review with sharing in mind it looked cumbersome and overly verbose. So I started cranking on it fixing and straightening the code & architecture and step by step I realized that I'm creating a small Integration layer rather then a POC. Announcing Box2DFlex Box2DFlex framework allows you easely integrate box2d into flex framework using mxml. The...

תגובות

CSS Mask in HTML 5 על ידי danielisimo

< התוכן שמופיע כאן מועמד לסטנדרטיזציה ב html5 יתכן וחלק מהדברים לא יעבדו כרגע על כל דפדפן > בהמשך לפוסט הקודם על css ב html5 עשיתי עוד ניסוי קטן לגבי masks (אולי מיסוכים?) . רציתי להחליף צבעים תכנותית לתמונה קיימת . כדי לעשות את זה ניגשתי למלאכה והתחלתי לנבור ברשת , די מהר מצאתי שגם לזה יש פתרון ב css3. מיקמתי שני div אחד מעל השני - בראשון תמונה של מכונית (המכונית חייבת להיות לבנה כדי שנוכל לצבוע אותה בקלות) read more
תגים:, , , , , ,

תגובות

Timezone shift in bootcamp על ידי danielisimo

Another short one , each time i open my bootcamp or VM (parallels or fusions) i get different timezone for windows and osx. both are configured correctly connected to the internet and updated from ntp server. But the windows machine is persistently offsets by two hours. After some hunting around and some trial and error I found that the best and quickest solution is adding a new registry key to HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation\ named RealTimeIsUniversal typed REG_DWORD and...

תגובות

Mid 2010 Podcast List על ידי danielisimo

it's time to update my podcast list some shows are RIP and some new came to light. so without further ado my mid 2010 podcast list . This time i grouped them by interest . some have fixed amount of episodes and some reoccur weekly . there are some hebrew podcasts in the list as well , I left the name and notes in hebrew. .NET Hanselminutes - "is a weekly audio talk show with noted web developer and technologist Scott Hanselman. Scott discusses utilities and tools, gives practical how-to...

תגובות

Flex 3 hebrew textbox על ידי danielisimo

following my last post on flex3 RTL label , next challenge was input text with RTL support , in that case I decided to cheat and use html input overlying flex. Not so elegant solution, but a solution non the less. the trick is to pass the flex component coordinate and position the HTML input accordingly , and on the HTML side handle keyboard and mouse event to let the flex developer feel @ home with regular focus and key press events. Add the... read more

תגובות

תהליך תקינה ב w3c על ידי danielisimo

בזמן האחרון אני עובר קצת על מחקר html5 - יש שם הרבה דברים יפים אך לא תמיד מובן מה רמת הבשלות של כל פיצ\'ר. כשמסתכלים על מסמך תקינה בצד שמאל ישנה סימניה שמציינת את הסטטוס של התקינה אך מה אומר אותו סטטוס ? על פי מסמכי תאור התהליכים של W3C תקינה מתקדמת בחמש רמות בשלות: טיוטת עבודה (Working Draft) קריאה אחרונה לטיוטה (Last Call Working Draft) מועמד להמלצה (Candidate Recommendation) המלצה מוצעת (Proposed Recommendation) המלצה - (W3C Recommendation ) טיוטת עבודה - העבודה בתהליך, התוכן יכול להתעדכן...
תגים:, ,

תגובות

Flex 3 label RTL support על ידי danielisimo

If you know or not , I'm leaving and working in Israel, where we have the most annoying text rendering issues. we write in right to left order - that means in the opposite direction of most languages. Letters and words are left to right, though numbers and other symbols remain right to left. Through the years I've seen (and even wrote) noumerous attempts to build an AS class that will provide this functionality to flash, all of them suffered from quirks and different edge cases. About a year...
More Posts Next page »
Powered by Community Server (Commercial Edition), by Telligent Systems