tag:blogger.com,1999:blog-24237093096875620062008-07-16T09:15:02.731+02:00Babs' It !Barbarahttp://www.blogger.com/profile/05710833314004885986noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-2423709309687562006.post-15992267390242683562008-07-15T20:35:00.008+02:002008-07-16T09:15:02.773+02:00My trip to Boston (2) The 7 tips from Y Combinator<div style="text-align: justify;"><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_TD4BPu4B5Gg/SHzv3dz_s2I/AAAAAAAAAAY/GMtV_BiFyr0/s1600-h/DSC00443.JPG"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp2.blogger.com/_TD4BPu4B5Gg/SHzv3dz_s2I/AAAAAAAAAAY/GMtV_BiFyr0/s320/DSC00443.JPG" alt="" id="BLOGGER_PHOTO_ID_5223313404017488738" width="200" border="0" /></a><br />During my stay in Boston in June, I've had the great opportunity to meet Jessica Livingston and Paul Graham from Y Combinator.</div><br /><br><br /><div style="text-align: justify;"><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_TD4BPu4B5Gg/SHzv3hbZaMI/AAAAAAAAAAg/ZTZsZNsEvf8/s1600-h/DSC00444.JPG"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp1.blogger.com/_TD4BPu4B5Gg/SHzv3hbZaMI/AAAAAAAAAAg/ZTZsZNsEvf8/s320/DSC00444.JPG" alt="" id="BLOGGER_PHOTO_ID_5223313404988057794" width="200" border="0" /></a><br />A fantastic meeting during which they both gave us great comments and tips on how to succeed with your start-up:</div><br><br /><div style="text-align: justify;"><br /><ol><br /><li>Start as early as you can.</li><br /><li>Perseverance is the common point to successful entrepreneurs.</li><br /><li>A succesful company is a company that just doesn't die. You'll get rich if you just manage not to die (and if you're OK with eating ramen noodles a few months or years if you have to). </li><br /><li>Just don't die! Most startups die of suicide.</li><br /><li>Don't pay too much attention to competitors and all the legal stuff. Just develop your product.</li><br /><li>The VCs from the Silicon Valley don't care that much about how you'll make money, so focus on the product.</li><br /><li>Guess what? Just focus on the product.</li><br /><br /><br /></ol><br /></div>Barbarahttp://www.blogger.com/profile/05710833314004885986noreply@blogger.comtag:blogger.com,1999:blog-2423709309687562006.post-21945977049881696182008-07-14T20:47:00.009+02:002008-07-14T21:13:32.201+02:00Scope of Actionscript 3.0 Variables<div style="text-align: justify;">Did you know that in Actionscript 3.0, there is no block scope for a variable? The minimal scope is the function, meaning that the declaration of a variable in an <span style="font-style:italic;">"if"</span> statement for instance, can be reused in the <span style="font-style:italic;">"else"</span> statement. Incredible for an old C++ developer like me!!! A small example to illustrate my thoughts:</div><br /><code><br /><span style="color:blue">public</span> <span style="color:green">function</span> <span style="color:black">helloWorld() :</span> <span style="color:blue">void</span><br />{<br /> <span style="color:lightblue">var</span><span style="color:black"> a:int = 0;</span><br /> <span style="color:blue">if</span><span style="color:black"> ( a )<br /> {</span><br /> <span style="color:lightblue">var</span> <span style="color:black">u:int = 5;<br /> }</span><br /> <span style="color:blue">else</span><br /> <span style="color:black">{<br /> u = 6;<br /> }</span><br /> <span style="color:pink">trace</span><span style="color:black">(</span> <span style="color:darkred">"u -> "</span><span style="color:black"> + u );<br />}</span><br /></code><br /><div style="text-align: justify;"><br />Guess what? No compilation error, and <span style="font-style:italic;">u = 6</span>! Careful though if you declare an Object! The variable exists, but if it's initialized in the <span style="font-style:italic;">"if"</span> statement, it will equal <span style="font-style:italic;">"null"</span> if you pass in the <span style="font-style:italic;">"else"</span> block!<br /><br />An interesting <a href="http://flexblog.faratasystems.com/?p=115">link</a> on differences between Java 5 and Actionscript 3.0.</div>Barbarahttp://www.blogger.com/profile/05710833314004885986noreply@blogger.comtag:blogger.com,1999:blog-2423709309687562006.post-59510409481771618542008-07-05T14:10:00.008+02:002008-07-05T15:50:42.377+02:00My trip to Boston (1) Meeting Jerry<div style="text-align: justify;">On June 10th, I've travelled to the great city of Boston with my 19 <a href="http://www.venturelab.ch/fr/vLeaders.asp">venture leaders</a> fellows!<br />We've spent 10 days there learning everything there is to know on entrepreneurship, how to move to the U.S with a swiss company, what is paramount to make it work, and most importantly, we've met with greatly experienced people who have given us important feedbacks on our projects and next milestones.<br />On our first morning there, June 11th 2008, we've met Jerry Schaufeld, an Angel full of expertise in entrepreneurship and management. His talk was very interesting. The slides of his presentation are available hereunder.</div><br /><center><br /><div style="width:425px;text-align:left" id="__ss_500093"><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slideshare.net/swf/ssplayer2.swf?doc=sharepresentation0620081-shrt-1215264841282978-9"/><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slideshare.net/swf/ssplayer2.swf?doc=sharepresentation0620081-shrt-1215264841282978-9" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object><div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;"><a href="http://www.slideshare.net/?src=embed"><img src="http://static.slideshare.net/swf/logo_embd.png" style="border:0px none;margin-bottom:-5px" alt="SlideShare"/></a> | <a href="http://www.slideshare.net/babsyersin/jerryschaufeldpresentation-500093?src=embed" title="View Jerry_Schaufeld_presentation on SlideShare">View</a> | <a href="http://www.slideshare.net/upload?src=embed">Upload your own</a></div></div></center><br /><div style="text-align: justify;"><br />Just a few of my notes taken on the fly while Jerry was presenting:<br /></div><br /><span style="font-weight:bold;">The commercialization cycle (see slide 7)</span><br /><div style="text-align: justify;"><br />Basically, there was a time (before the internet bubble) when Business Angels (BAs) used to invest when the risks were very high, right after Family, Friends and Fools' (FFF's) funds had been used. <br /><br />At that time, Venture Capitalists (VCs) used to invest at the bottom of the curve.<br /><br />Now, they come after the first customers. They basically take much less risk, they want to see sales, IP, etc, before investing. In summary, they want to see all the things you need money to get!!!<br />In consequence, BAs started to invest later in the process too.<br /><br />People investing on the left side of the curve have 2 characteristics: they believe in your vision, and they usually invest their own money.<br /><br />People on the right side of the curve are professional investors.<br /><br />The implications of this cycle is that everything changes. You have to anticipate these changes. For instance, in finance, you have to anticipate how many people you’ll have to hire, the expenses, etc in order to have correct accounting. Otherwise you are fooling yourself and the investor. <br /><br />You need to find the resources that will help you anticipate these changes.<br /></div><br /><br /><span style="font-weight:bold;"><br />Questions (slide 11)</span><br /><div style="text-align: justify;"><br />1. Should you grow slowly and avoid VC funding or go for VC in order to grow fast?<br />A lifestyle company is a very nice alternative, but more difficult to liquidate.<br />If you don’t expect big promises with outside capital as compared to a lifestyle alternative, don’t do it. Otherwise, it’s worth thinking about. It’s a math question. What does it bring to you and is it worth losing majority? Calculate your “Return On Equity” (what you get in exchange of this tough deal).<br /><br />2. How do you create a board of directors/advisors?<br />A board of advisors is composed of known scientists and they are useful to comfort the investors, but the decision making is up to you in the end. They add value with their names and that’s about it. If it’s advice you’re looking for, you can get the same input with consulting and avoid creating a board of advisors. <br />A board of directors is responsible for the shareholders’ interests. In the USA, it’s a very formal process and it takes years to make it work.<br />You can create ideal profiles of who you’d like in your board in order to choose the board: what sources you will lack in the future that you can’t get with consulting? Anticipate your needs and choose the board accordingly. People of experience. Only bring people that have knowledge and experience in the domain you lack.</div>Barbarahttp://www.blogger.com/profile/05710833314004885986noreply@blogger.comtag:blogger.com,1999:blog-2423709309687562006.post-44383616003032090832008-05-13T13:54:00.004+02:002008-05-16T14:22:46.212+02:00Camera and Transform Matrices in Papervision3D<div style="text-align: justify;">I've had some troubles to fully understand the matrices system in Papervision3D: between the view matrix, the transform, the camera eye, etc, etc...<br />But I think I've got it now. All you need to know in order to make transformations between world and camera coordinate systems is this formula:<br /></div><center><br /><b>o.view = camera.eye * o.transform</b><br /></center><br /><div style="text-align: justify;">In other words, any DisplayObject3D <b>o</b> has a <span style="font-weight: bold;">transform</span> matrix that represents its transformation in the world coordinate system. It also has a <span style="font-weight: bold;">view </span>matrix that represents its transformation in the camera coordinate system. The camera's <b>eye</b> matrix allows to pass from the world to the camera coordinate system. In papervision3D:<br /></div><center><br /><b>o.view.calculateMultiply(camera.eye, o.transform);</b><br /></center><br /><div style="text-align: justify;">will compute your object's updated <b>view</b> matrix. In the other direction:</div><br /><center><br /><b>o.transform.calculateMultiply( invEye, o.view);</b><br /></center><br /><div style="text-align: justify;">will update the object's transform according to its view matrix. Note that <b>invEye</b> is the inverse of camera.eye.<br /><br />One last piece of advice: I've noticed that modifying a view matrix alone doesn't change anything. If you modify the view, you need to update the transform according to the second formula.</div>Barbarahttp://www.blogger.com/profile/05710833314004885986noreply@blogger.comtag:blogger.com,1999:blog-2423709309687562006.post-18803370103915400402008-04-16T22:02:00.006+02:002008-04-16T23:01:43.922+02:00How to display text in papervisionI've been looking for a tutorial to display a simple text field within papervision without much success. I finally tumbled on this <a href="http://www.dgrigg.com/post.cfm/04/18/2007/Flex-form-with-a-3d-twist">blog post</a> where it was quite well explained. The example however might be a little long to demonstrate my sole purpose: how to display text in papervision.<br /><br />So I've decided to put here an even simpler example to make things crystal clear:<br /><code><br /><span style="color:black"><br /><span style="color:green">// create your text field and set its content.</span><br /><span style="color:blue">var</span> t:TextField = <span style="font-weight:bold;">new</span> TextField();<br />t.text = <span style="color:red">"Hello world!"</span>;<br /><span style="color:green">// create a BitmapData of your wished width and height</span><br /><span style="color:blue">var</span> bitmap:BitmapData = <span style="font-weight:bold;">new</span> BitmapData(100,100);<br /><span style="color:green">// Fill bmp with the content of your TextField. <br />//It's as if you took a picture of t.</span><br />bitmap.draw(t);<br /><span style="color:green">// Create a material with the resulting BitmapData and you can use it on any DisplayObject3D!</span><br /><span style="color:blue">var</span> material:BitmapMaterial = new BitmapMaterial(bitmap);<br />material.smooth = true;<br />material.doubleSided = true;<br /><span style="color:blue">var</span> p:Plane = <span style="font-weight:bold;">new</span> Plane(material,100,100);<br />scene.addChild(p);<br /></span><br /></code><br />First observation is that it seems impossible to directly embed a UIComponent within papervision *sigh*. Whatever the UIComponent (Button, TextField, etc), it has to be put somehow in a texture and applied on a DisplayObject3D such as a Plane. <br /><br />Or at least, I have no knowledge of another way to do it. Does anybody know better? My worry is that it may slow down the frame rate to display text in a texture rather than directly as what it really is: good old plain text.Barbarahttp://www.blogger.com/profile/05710833314004885986noreply@blogger.comtag:blogger.com,1999:blog-2423709309687562006.post-19082356931177470662008-04-15T14:06:00.001+02:002008-04-16T23:00:21.621+02:00Underground parking lot + empty bottles = Mario theme songI just discovered this video which I confess, made me laugh a lot. That's crazy how some people have nothing better to do than aligning empty bottles, but the result is so funny that you can't really blame them, can you?<br /><br /><object height="338" width="400"><param name="movie" value="http://embed.break.com/NDg3NjE2"><embed src="http://embed.break.com/NDg3NjE2" type="application/x-shockwave-flash" height="338" width="400"></embed></object><br /><span style="font-size:78%;"><a href="http://view.break.com/487616">http://view.break.com/487616</a> - Watch more <a href="http://www.break.com/">free videos</a></span>Barbarahttp://www.blogger.com/profile/05710833314004885986noreply@blogger.com