Calendar

May 2012
Mo Tu We Th Fr Sa Su
<< >>
123456
78910111213
14151617181920
21222324252627
28293031

Langs

Blog

  • Posted on May 12 2012

    Just for the record, I'm posting this here. It might help other people as well, or myself if I forget exactly how I did it the first time.

    I'm using Thunderbird with IMAP quite often. It works quite nicely. However specifying an alternative Trash folder doesn't always work as expected.

    For instance on your GMail account Thunderbird will correctly detect that your trash is in [Gmail]/Trash, but messages put in that Trash are automatically deleted after 30 days. I prefer in general to keep all my old mails in an Archives folder.

    Thunderbird has a nice option that ask you in which folder you want deleted items to placed, but that's not exactly what it does. Actually this give it another "Default Trash" folder name, as shown in the prefs.js (it is stored in a trash_folder_name key).

    And this other trash folder will conflict with Gmail one, leading in most of the cases your mails being put in the Gmail Trash instead of your custom one.

    One simple fix I found is to Unsubscribe to t...

    (more...)
  • Posted on Apr 17 2012

    Had a lot of fun at the WWX conference this weekend !

    We had many great speakers, covering many different topics. The Haxe ability to target many different platforms is a real freedom that enable a high level of innovation.

    For those who were not there, here's a quick resume until the recordings are made available :

    Day 1

    • I made a keynote about the year that we went past, announced Haxe 2.09 release and detailed its changes, then presented plans about Haxe 3.0 that we will start working now and finally talked about medium and long terms plans for Haxe, such as creating a non-profit foundation. Here's my slides if you want to check them.
    • Franco Ponticelli presented the work he's making at ReportGrid with very nice SVG graphics, entirely done in Haxe
    • The Silex Labs team, which did also a great job at organizing the conference, presented the promising Cocktail library : a full HTML+CSS engine written in pure Haxe, which can run into Flash and NME
    • Hugh Sanderson (GameHaxe) presented the ...
    (more...)
  • Posted on Mar 28 2012

    Today Adobe announced its plans for so-called "Premium Features", check it out here

    Basically, what it means is that you'll have to get a license from Adobe and pay them 9% of your net revenues if you want to use the "premium features" together with Stage3D API which allow hardware-accelerated 3D in the browser.

    Sadly, instead of providing real actual "premium features" that could have appealed to AAA games developers and let independent developers continue making their games and other apps without paying Adobe Tax, the so-called "premium features" consists in one simple thing : Alchemy opcodes.

    For those who don't know about it, there are two actual usages for Alchemy :

    • the Alchemy toolkit allows to convert C++ code to AVM2 Flash bytecode, and introduces additional opcodes for fast Memory access
    • these opcodes can be reused by some tools, such as Haxe flash.Memory or Joa's Apparat for AS3

    Why Alchemy is so much important ? Because the AVM2 - the v...

    (more...)
  • Posted on Feb 22 2012

    I was asked to comment on the possibility of the Apache Flex Community to port Flex to Haxe, and use it has its main technology, so I posted the following mail on the Apache Flex mailing list.

    I'm sharing it as well on my blog because it might also interest people that are not Flex subscribers.

    --

    I would say that there actually two choices to make there : one from a technical point of view, and one from a political point of view.

    From the technical point, and with all due respect to AS3, Haxe as-a-language is way ahead in terms of features. I'll not make the list of all the improvements we made, please look at the documentation and make your own idea about it.

    Of course, Haxe is a different language from AS3. In particular because it's been designed from the very start to be able to compile and run efficiently on different platforms (Flash, JavaScript, but also PHP,C++,C#,Java,etc.)

    Efficiently is the keyword here.

    Everybody working on compilers know that running a X language on a Y ...

    (more...)
  • Posted on Dec 30 2011

    Today I'll not talk about code optimization but instead about hardware optimization.

    First, allow me to say I hate printers.

    They are actually quite useful tools for everyday interactions with the "real world" (or at least, the part of the real world that still use paper instead of digital documents). But the printer vendors are one of the most hateful industry : proprietary drivers, bloated software that you HAVE to install with your printer, and - most of all - toner page counters.

    Today I had to print many documents to send them back as snail mail. This is already an annoying thing to do. But when I was about to print the last page (of about 40) my printer stopped working and all was displayed was Please replace the Toner.

    WTF ? It was just printing very nicely just seconds ago ! In my old printers memories I was thinking that a toner would die when there is no more ink, or more exactly when you can no longer read what it prints...

    Looking at my Brother MFC-7440 printer s...

    (more...)
  • Posted on Dec 20 2011

    I'm please to announce that the World Wide Haxe Conference 2012 (WWX-2012) will take place in Paris on April 13-16 2012.

    This conference will be the best place to meet fellow Haxers and exchange both ideas and drinks ! Expect some big announcements to be made there as well !

    In short : if you are either an experienced Haxe developer or someone that want to learn more about it, this is THE place to be !

    Check http://wwx.haxe.org for all the details.

    This year we have enough room for ~100 persons so we put a ticket system in place, please not do wait for the last minute to get your seat or you might not make it.

    We are also looking for Speakers ! If you want to talk about your work or introduce your tools/library or want to show/teach/introduce something to the Haxe community, take your chance and please send us a mail with your speaking proposal at speakers@haxe.org.

    Selected speakers will be announce little by little but expect the main contributors to Haxe and Haxe libraries to show u...

    (more...)
  • Posted on Nov 23 2011

    Today I had some issues trying to recompile one of our SWF game to work with Flash Player 11.2 Beta. I was getting an error #2500 An error occured while decrypting the signed SWF. The SWF will not be loaded

    After trying different things to understand what's going on, I thought it was just a beta bug that would be fixed in final release. Until I saw the following quote that was added afterwards to the Adobe Release Notes :

    Starting with Flash Player 11.2 and AIR 3.2, content targeting Flash Player 11 and AIR 3 (i.e., content using SWF version 13 and above) will not support the experimental Alchemy prototype.

    What the F.... ?

    But let's explain first what is really Alchemy for those of you that haven't used it. Alchemy is a tool to run C/C++ code in Flash Player. But this is also a set of Flash Virtual Machine opcodes (low level operations) that can be used to get quick memory access.

    These opcodes are available by using Haxe flash.Memory class or Joa Ebert Apparat optimization tool.

    Thes...

    (more...)
  • Posted on Nov 13 2011

    I didn't wrote that much about recent Adobe announcement that they are dropping Flash Player for mobile and focusing on AIR for apps instead. I wanted first to see what kind of reactions people had.

    There is actually many different point of views.

    Joy : people that didn't like Flash (some of them actually hate it) are rejoicing, seeing that as the next step toward complete flash demise. I can understand why people don't like proprietary technologies. As a developer, you get more frustrated since you can't contribute or try changing things that are just broken. And companies are often driving you into some kind of vendor-locking strategies in order to make sure that you can't reuse your skills if you buy another product from another company or - worse - use open source software. Which leads to...

    Fear : "omgwtf I know only about Flash how am I going to eat in the upcoming years if it's dead ???" that's what a lot of flash developers are thinking now. They spent years building ...

    (more...)
  • Posted on Oct 22 2011

    A few months ago I spent some time trying to run perlin noise on full GPU with a hardware shader.

    Of course, thanks to HxSL I didn't have to write it in assembler.

    Before getting into code details, let's have a small demo :

    [perlin_shader.swf]

    Here's the final shader code in HxSL :

    var input : {
        pos : Float3,
    };
    
    var perlinPos : Float3;
    
    function vertex(delta : Float3, scale : Float) {
        out = pos.xyzw;
        perlinPos = ([(pos.x + 1) * 0.5, 1 - (pos.y + 1) * 0.5, 0] + delta) * scale;
    }
    
    function gradperm( g : Texture, v : Float, pp : Float3 ) {
        return (g.get(v,single,nearest,wrap).xyz * 2 - 1).dot(pp);
    }
    
    function lerp( x : Float, y : Float, v : Float ) {
        return x * (1 - v) + y * v;
    }
    
    function fade( t : Float3 ) : Float3 {
        return t * t * t * (t * (t * 6 - 15) + 10);
    }
    
    function gradient( permut : Texture, g : Texture, pos : Float3 ) {
        ...
    (more...)
  • Posted on Sep 25 2011

    I'm very happy to announce the 2.08 release of Haxe, available now on http://haxe.org/download

    This release was initially planned for this summer, but it got a bit delayed because of many new features (and community requests) that needed some additional testing/feedback before a proper release.

    Because Haxe increasing popularity there's still a lot of pending things that needs to be done, but we had to stop a bit adding new things and make a proper release at some time. This is most likely the latest 2.xx release, next one should be Haxe 3.0, around spring 2012.

    Let's see now what's new in 2.08 :

    • For Javascript, we've been improving the .js code output : it looks nicer, more hand-written, less verbose. There's still some improvements that can be done, but don't forget that you can write your own custom JS generator in Haxe.
    • there's now js.JQuery as part of the standard library. It uses the new @:overload metadata to have a fully typed JQuery access in Haxe. By default JQuery-1.5 is au...
    (more...)