De Tout Et De RienComputer & Life Interactionstag:laurent.etiemble.free.fr,2024:/dotclear/index.php2008-08-11T18:51:32+02:00DotCleardaily12008-08-11T18:51:32+02:00Raytracing with Mono on Mac OS X2008-08-11T18:51:32+02:00tag:laurent.etiemble.free.fr,2008-08-11:/dotclear/123Laurent ETIEMBLEA while ago, Luke Hoban implemented a ray-tracing sample application. I have made a Cocoa port of this application by using the Monobjc bridge, and it was over in less than one hour. Here is a screenshot:
The source code is available into the Monobjc all-in-one archive.... <p>A while ago, <a href="http://blogs.msdn.com/lukeh/archive/2007/04/03/a-ray-tracer-in-c-3-0.aspx" hreflang="en">Luke Hoban</a> implemented a ray-tracing sample application. I have made a Cocoa port of this application by using the <a href="http://www.monobjc.net/" hreflang="en">Monobjc bridge</a>, and it was over in less than one hour. Here is a screenshot:</p>
<p align="center">
<a href="http://www.monobjc.net/uploads/images/tutorials/ScreenShot.png"><img src="http://www.monobjc.net/uploads/images/tutorials/ScreenShot.png" width="200" height="200" alt="Ray Tracer Application in Cocoa"/></a>
</p>
<p>The source code is available into the <a href="http://www.monobjcnet/">Monobjc</a> all-in-one archive.</p>Never trust a computer you can't lift2008-03-13T08:26:02+01:00tag:laurent.etiemble.free.fr,2008-03-13:/dotclear/122Laurent ETIEMBLE"Today, I met an IBM mainframe. Never trust a computer you can't lift" (via Maceinstein)... <p>"Today, I met an IBM mainframe. Never trust a computer you can't lift" (via <a href="http://macenstein.com/default/archives/1215">Maceinstein</a>)</p>
<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/G0FtgZNOD44&rel=1&border=0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/G0FtgZNOD44&rel=1&border=0" type="application/x-shockwave-flash" wmode="transparent"width="425" height="355"></embed></object>Time Machine Icon in Menu Bar2008-02-15T09:02:58+01:00tag:laurent.etiemble.free.fr,2008-02-15:/dotclear/121Laurent ETIEMBLESince Mac OS X 10.5.2, there is a Time Machine Icon in the Menu Bar. Have you ever noticed that when a backup is in progress, the icon's clock goes backward ?... <p>Since Mac OS X 10.5.2, there is a Time Machine Icon in the Menu Bar. Have you ever noticed that when a backup is in progress, the icon's clock goes backward ?</p>Extracting iLBC code from RFC 39512008-02-13T08:18:03+01:00tag:laurent.etiemble.free.fr,2008-02-13:/dotclear/120Laurent ETIEMBLEiLBC (internet Low Bitrate Codec) is a free speech codec suitable for robust voice communication over IP. It is provided as freeware under a royalty-free licence from Global IP Solutions. This codec is used within Skype for the sound transport.
One nice thing is that Global IP Solutions has setup a... <p>iLBC (internet Low Bitrate Codec) is a free speech codec suitable for robust voice communication over IP. It is provided as freeware under a royalty-free licence from <a href="http://www.gipscorp.com/">Global IP Solutions</a>. This codec is used within <a href="http://www.skype.com/">Skype</a> for the sound transport.</p>
<p>One nice thing is that <a href="http://www.gipscorp.com/">Global IP Solutions</a> has setup a <a href="http://www.ilbcfreeware.org/">developer community</a> which provides everything for the iLBC implementation and distribution and they also have submitted two Requests For Comment (<a href="http://www.ietf.org/rfc/rfc3951.txt">RFC 3951</a> and <a href="http://www.ietf.org/rfc/rfc3952.txt">RFC 3952</a>) related to iLBC codec.</p>
<p>Unfortunately, the source code is not available as a tarball, but it is embedded in the <a href="http://www.ietf.org/rfc/rfc3951.txt">RFC 3951</a>. Yes, it is embedded. You can find various Open Source projects that have extracted the source code and embedded it in their source trunk. But if you want to use the code from the RFC you have to extract it yourself, and the best way is Awk scripting. Here is the script:</p>
<pre>
# extract.awk
BEGIN { srcname = "nothing"; }
{ if (/^A\.[0-9][0-9]*\. [a-zA-Z][a-zA-Z_0-9]*\.[ch]/) {
if (srcname != "nothing")
close(srcname);
srcname = $2;
printf("creating source file %s\n", srcname);
}else if (srcname != "nothing") {
if (/Andersen\, et al\./ || /Internet Low Bit Rate Codec *December 2004/)
printf("skipping %s\n", $0);
else
print $0 >> srcname;
}
}
END {
printf("ending file %s\n", srcname);
close(srcname);
}
</pre>
<p>Put the RFC text and the script in the same folder and run the following comand:</p>
<pre>awk -f extract.awk rfc3951.txt</pre>
<p>Et Voilą !!!</p>Monobjc is alive (hourray)2008-01-17T08:23:17+01:00tag:laurent.etiemble.free.fr,2008-01-17:/dotclear/119Laurent ETIEMBLEAfter six month of casual development, I am pleased to announce the Monobjc project. The Monobjc project provides a .NET/Objective-C bridge that can be used to add the power of the Mac OS X API (Cocoa, CoreGraphics, WebKit, QuickTime, etc) to .NET application (thanks to Mono).... <p>After six month of casual development, I am pleased to announce the <a href="http://www.monobjc.net/">Monobjc</a> project. The Monobjc project provides a .NET/Objective-C bridge that can be used to add the power of the Mac OS X API (Cocoa, CoreGraphics, WebKit, QuickTime, etc) to .NET application (thanks to Mono).</p>What I really like about Mac OS X 10.5 (Leopard)2007-11-21T08:50:32+01:00tag:laurent.etiemble.free.fr,2007-11-21:/dotclear/118Laurent ETIEMBLEI recently successfully upgrade my MacBook to the new version of Mac OS X, also known as Leopard. After one hour, I had a ready to go system, without any problem.
I think Leopard is a great upgrade especially for:
The Finder is now very smart and responsive. The search is amazingly fast and... <p>I recently successfully upgrade my MacBook to the new version of Mac OS X, also known as Leopard. After one hour, I had a ready to go system, without any problem.</p>
<p>I think Leopard is a great upgrade especially for:</p>
<ul>
<li>The Finder is now very smart and responsive. The search is amazingly fast and QuickLook is very handy, especially on text documents and images.</li>
<li>Time Machine is one of the killer feature that makes backup a breeze. The initial backup is pretty long, but after that, it is very stealth. and the Time Machine animations are REALLY cool.</li>
<li>Spaces is very handy, and its integration is nicely done. Moving a window from a space to another space is simply as dragging and dropping .Maybe, an permanent overview of the spaces will be neat.</li>
<li>In Terminal, you can now have tabs, which reduces the screen pollution. Another feature long seen before in Linux.</li>
<li>And what I like, is that EVERYTHING seems to go faster than in Tiger. It is totally subjective.</li>
</ul>
<p>So, my piece of advice is go and get it.</p>It's a Geek Geek World #54582007-11-21T08:30:00+01:00tag:laurent.etiemble.free.fr,2007-11-21:/dotclear/116Laurent ETIEMBLE... <a href="http://iiaggw.stripgenerator.com/strip/57862/"><img src="http://static.stripgenerator.com/generated/letiemble/strip/2007/10/09/5458_thumb.png" alt="It's a Geek Geek World."/></a>It's a Geek Geek World #54492007-11-14T08:30:00+01:00tag:laurent.etiemble.free.fr,2007-11-14:/dotclear/115Laurent ETIEMBLE... <a href="http://iiaggw.stripgenerator.com/strip/57861/"><img src="http://static.stripgenerator.com/generated/letiemble/strip/2007/10/09/5449_thumb.png" alt="It's a Geek Geek World."/></a>Change the large size of dock icons2007-11-13T09:29:29+01:00tag:laurent.etiemble.free.fr,2007-11-13:/dotclear/117Laurent ETIEMBLEWhile testing the glass effect on the MacOS Dock on Leopard, I was suprised to see a curious parameter in com.apple.dock.plist. It is related to the large size of the dock icons when magnification is enabled. The preferences pane let you set this value to 128 at most, but you can put arbitrary value... <p>While testing the glass effect on the MacOS Dock on Leopard, I was suprised to see a curious parameter in <code>com.apple.dock.plist</code>. It is related to the large size of the dock icons when magnification is enabled. The preferences pane let you set this value to 128 at most, but you can put arbitrary value in the <code>plist</code> file.</p>
<pre>
defaults write com.apple.dock largesize -int 256
killall Dock
</pre>
<p>And your dock will show bigger icons. To revert to a normal size, open the Dock Preferences Pane.</p>It's a Geek Geek World #50732007-11-07T08:30:00+01:00tag:laurent.etiemble.free.fr,2007-11-07:/dotclear/114Laurent ETIEMBLE... <a href="http://iiaggw.stripgenerator.com/strip/57657/"><img src="http://static.stripgenerator.com/generated/letiemble/strip/2007/10/08/5073_thumb.png" alt="It's a Geek Geek World."/></a>