<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tynambule &#187; snippet</title>
	<atom:link href="http://tynambule.net/tag/snippet/feed/" rel="self" type="application/rss+xml" />
	<link>https://tynambule.net</link>
	<description>Synapses over the rainbow</description>
	<lastBuildDate>Mon, 31 Mar 2025 18:29:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title></title>
		<link>https://tynambule.net/2010/03/12/122-interpreteur-brainfuck-cpp/</link>
		<comments>https://tynambule.net/2010/03/12/122-interpreteur-brainfuck-cpp/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 15:26:28 +0000</pubDate>
		<dc:creator>Tyn</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://tynambule.net/?p=122</guid>
		<description><![CDATA[Connaissez-vous le Brainf***? C&#8217;est un langage de programmation ultra-minimaliste inventé par un compatriote helvétique dans le but avoué de torturer les neurones des programmeurs de tous poils. J&#8217;ai profité de quelques instants libres pour travailler un peu mon C++ en écrivant un énième interpréteur pour ce langage. Il se veut standard, sans fioritures, et donc [...]]]></description>
		<wfw:commentRss>https://tynambule.net/2010/03/12/122-interpreteur-brainfuck-cpp/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title></title>
		<link>https://tynambule.net/2008/05/27/30-le-python-c-est-bien-mangez-en/</link>
		<comments>https://tynambule.net/2008/05/27/30-le-python-c-est-bien-mangez-en/#comments</comments>
		<pubDate>Tue, 27 May 2008 00:27:34 +0000</pubDate>
		<dc:creator>Tyn</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[markov]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://localhost/blog/2008/05/27/30-le-python-c-est-bien-mangez-en/</guid>
		<description><![CDATA[Ce week-end, j&#8217;ai fait mes premiers pas en utilisant Python. J&#8217;avais évidemment entendu parler de nombreuses fois de ce langages au cours de diverses discussions et dans le domaine professionnel (notamment parce que je bosse avec Trac), mais je n&#8217;avais jamais mis les mains dans le cambouis pour voir quel tronche ça avait. En lisant [...]]]></description>
		<wfw:commentRss>https://tynambule.net/2008/05/27/30-le-python-c-est-bien-mangez-en/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title></title>
		<link>https://tynambule.net/2008/02/25/46-recuperer-un-loader-depuis-un-callback-de-type-ioerrorevent/</link>
		<comments>https://tynambule.net/2008/02/25/46-recuperer-un-loader-depuis-un-callback-de-type-ioerrorevent/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 15:38:37 +0000</pubDate>
		<dc:creator>Tyn</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://localhost/blog/2008/02/25/46-recuperer-un-loader-depuis-un-callback-de-type-ioerrorevent/</guid>
		<description><![CDATA[Tout le monde aura déjà écrit un code de ce genre : var ldr : Loader = new Loader&#40;&#41;; ldr.contentLoaderInfo.addEventListener&#40;Event.COMPLETE, onComplete&#41;; ldr.contentLoaderInfo.addEventListener&#40;IOErrorEvent.IO_ERROR, onIOError&#41;; ldr.load&#40;new URLRequest&#40;&#34;http://www.bidon.com/trucmuche.jpg&#34;&#41;&#41;; Ca marche bien. Mais il se trouve que dans mon projet, on a tendance à avoir besoin de beaucoup, beaucoup de loaders. Je me suis donc dit &#171;&#160;Allons, Tyn, utilise donc [...]]]></description>
		<wfw:commentRss>https://tynambule.net/2008/02/25/46-recuperer-un-loader-depuis-un-callback-de-type-ioerrorevent/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title></title>
		<link>https://tynambule.net/2008/01/12/44-c-est-moche-le-public/</link>
		<comments>https://tynambule.net/2008/01/12/44-c-est-moche-le-public/#comments</comments>
		<pubDate>Sat, 12 Jan 2008 15:11:59 +0000</pubDate>
		<dc:creator>Tyn</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://localhost/blog/2008/01/12/44-c-est-moche-le-public/</guid>
		<description><![CDATA[En AS3, on peut faire un chouette truc tel que décrit dans le billet sur les balises embed, à savoir ceci : package net.tynambule.exp &#123; import flash.display.Sprite; &#91;Embed&#40;source=&#34;assets/test.swf&#34;, symbol=&#34;test&#34;&#41;&#93; public class PrivateEmbed extends Sprite &#123; public function PrivateEmbed&#40;&#41; &#123; &#125; &#125; &#125; (Pour les détails, se référer au billet sur la métadonnée embed.) Maintenant, imaginons que [...]]]></description>
		<wfw:commentRss>https://tynambule.net/2008/01/12/44-c-est-moche-le-public/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title></title>
		<link>https://tynambule.net/2007/12/13/41-calcul-du-framerate-reel-d-une-animation/</link>
		<comments>https://tynambule.net/2007/12/13/41-calcul-du-framerate-reel-d-une-animation/#comments</comments>
		<pubDate>Thu, 13 Dec 2007 11:44:28 +0000</pubDate>
		<dc:creator>Tyn</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[optimisation]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://localhost/blog/2007/12/13/41-calcul-du-framerate-reel-d-une-animation/</guid>
		<description><![CDATA[Parfois, avec Flash, il faut savoir réinventer la roue. Par exemple, lorsque l&#8217;on veut coder un moteur d&#8217;animation qui s&#8217;intègre au sein d&#8217;un système de rendu isométrique complexe, on aimerait à la foi pouvoir disposer d&#8217;un framerate le plus élevé possible, tout en jouant les animations au framerate dans lequel elles ont été réalisées. Pour [...]]]></description>
		<wfw:commentRss>https://tynambule.net/2007/12/13/41-calcul-du-framerate-reel-d-une-animation/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title></title>
		<link>https://tynambule.net/2007/12/12/40-et-boum/</link>
		<comments>https://tynambule.net/2007/12/12/40-et-boum/#comments</comments>
		<pubDate>Wed, 12 Dec 2007 15:40:22 +0000</pubDate>
		<dc:creator>Tyn</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://localhost/blog/2007/12/12/40-et-boum/</guid>
		<description><![CDATA[Un petit crash du player 9&#160;! 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 package net.tynambule.exp &#123; import flash.display.MovieClip; import flash.display.LoaderInfo; import flash.display.Sprite; import flash.net.URLRequest; import flash.events.Event; import flash.display.Loader; &#91;SWF&#40;backgroundColor=&#34;#ffffff&#34;, frameRate=&#34;250&#34;, width=&#34;100&#34;, height=&#34;100&#34;&#41;&#93; public class MovieClipSpriteTest extends Sprite [...]]]></description>
		<wfw:commentRss>https://tynambule.net/2007/12/12/40-et-boum/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title></title>
		<link>https://tynambule.net/2007/12/06/39-la-metadonnee-embed-en-as3/</link>
		<comments>https://tynambule.net/2007/12/06/39-la-metadonnee-embed-en-as3/#comments</comments>
		<pubDate>Thu, 06 Dec 2007 19:38:16 +0000</pubDate>
		<dc:creator>Tyn</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[mxmlc]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://localhost/blog/2007/12/06/39-la-metadonnee-embed-en-as3/</guid>
		<description><![CDATA[Il y a peu, le monde merveilleux de l&#8217;ActionScript 3 s&#8217;est ouvert à moi. Même si certaines choses sont un peu déroutantes, ayant parcouru un très long chemin en AS2 (raah, l&#8217;absence de constructeurs private/protected! Enfoirés de l&#8217;ECMA, laissez tomber cet héritage par prototype à la con!), certaines des nouvelles fonctionnalités tuent carrément. Un truc [...]]]></description>
		<wfw:commentRss>https://tynambule.net/2007/12/06/39-la-metadonnee-embed-en-as3/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Récuperation de l&#8217;ID d&#8217;une instance d&#8217;objet</title>
		<link>https://tynambule.net/2007/11/02/36-recuperation-de-l-id-d-un-objet-via-__tostring-par-defaut-desactivee-avec-php-52/</link>
		<comments>https://tynambule.net/2007/11/02/36-recuperation-de-l-id-d-un-objet-via-__tostring-par-defaut-desactivee-avec-php-52/#comments</comments>
		<pubDate>Fri, 02 Nov 2007 16:11:49 +0000</pubDate>
		<dc:creator>Tyn</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://localhost/blog/2007/11/02/36-recuperation-de-l-id-d-un-objet-via-__tostring-par-defaut-desactivee-avec-php-52/</guid>
		<description><![CDATA[Depuis PHP 5.2, il n&#8217;est plus possible de récupérer l&#8217;ID interne d&#8217;un objet via un cast en string sans avoir implémenté de méthode __toString sur ledit objet. Ancienne méthode: 1 2 3 4 5 6 7 class foo &#123; public function __construct&#40;&#41; &#123; echo &#34;Hi, it's me!&#34;; &#125; &#125; $bar = new foo&#40;&#41;; print $bar; [...]]]></description>
		<wfw:commentRss>https://tynambule.net/2007/11/02/36-recuperation-de-l-id-d-un-objet-via-__tostring-par-defaut-desactivee-avec-php-52/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sauvegarder l&#8217;état d&#8217;un objet</title>
		<link>https://tynambule.net/2007/10/30/37-sauvegarder-l-etat-d-un-objet/</link>
		<comments>https://tynambule.net/2007/10/30/37-sauvegarder-l-etat-d-un-objet/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 14:38:05 +0000</pubDate>
		<dc:creator>Tyn</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://localhost/blog/2007/10/30/37-sauvegarder-l-etat-d-un-objet/</guid>
		<description><![CDATA[En nos temps où l&#8217;orienté-objet est roi, un schéma de fonctionnement revient régulièrement&#160;: Un objet dont chaque instance correspond à une ligne en base. On charge les données lors de l&#8217;initialisation de l&#8217;objet (dans son constructeur), puis on les sauvegardes lorsque l&#8217;on a fini de les modifier. La problématique est la suivante&#160;: mais quand a-t-on [...]]]></description>
		<wfw:commentRss>https://tynambule.net/2007/10/30/37-sauvegarder-l-etat-d-un-objet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moteur 3D sous Flash</title>
		<link>https://tynambule.net/2006/11/12/24-moteur-3d-sous-flash/</link>
		<comments>https://tynambule.net/2006/11/12/24-moteur-3d-sous-flash/#comments</comments>
		<pubDate>Sun, 12 Nov 2006 03:37:43 +0000</pubDate>
		<dc:creator>Tyn</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://localhost/blog/2006/11/12/24-moteur-3d-sous-flash/</guid>
		<description><![CDATA[Il y a longtemps, en octobre 2003 (fichtre&#8230; un coup de vieux&#8230;), j&#8217;avais codé un petit moteur 3D en AS1, permettant d&#8217;afficher des wireframes d&#8217;objets à partir d&#8217;un fichier XML. J&#8217;ai repris le même principe pour cette note, mais en recodant la classe en AS2, parce que quand même, c&#8217;est plus mieux. J&#8217;en ai également [...]]]></description>
		<wfw:commentRss>https://tynambule.net/2006/11/12/24-moteur-3d-sous-flash/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
