Recent Updates Toggle Comment Threads | Keyboard Shortcuts

  • Pablo 9:04 AM on 6 November 2013 Permalink | Reply  

    Chrome making weird random requests 

    I was working with fiddler and came accross some weird requests that chrome was doing to some random hosts, all thouse requests always failed, apparently this is not a malware or virus, it seems that chrome does that to prevent DNS Hacking to happen and altering it’s autocompletion behaviour.

    More reading here:

    This is actually legitimate behaviour. Some ISPs improperly respond to DNS queries to non-existent domains with an A record to a page that they control, usually with advertising, as a “did you mean?” kind of thing, instead of passing NXDOMAIN as the RFC requires. To combat this, Chrome makes several HEAD requests to domains which cannot exist to check how the DNS servers resolve them. If they return A records, Chrome knows to perform a search query for the host instead of obeying the DNS record so that you are not affected by the ISPs improper behaviour.




    • locoma 1:28 AM on 17 March 2014 Permalink | Reply

      that is actually kind of awesome

  • Pablo 8:31 PM on 5 August 2013 Permalink | Reply  

    AS3 Shell Sort vs Array.sortOn 

    I came across with this algorithm Shell Sorting

    It is faster than Array.sort only if you sort Numeric arrays, if you try to sort objects, like when you sort DisplayObjects on their X or Y properties, then the Array.sortOn is WAY faster. So, for sorting objects, Array.sort it’s still the fastest option.

    If you want to sort an array of numbers, then Shell Sort is faster.

  • Pablo 9:07 AM on 14 July 2013 Permalink | Reply  

    Sony Vaio Backlit control 

    I was removing bloatware from my vaio laptop and somehow i ended up with the keyboard shutting down the lights a few seconds after i clicked a key. Going to start > Control Panel > Vaio Control Center did nothing when changing the Keyboard and Mouse settings to keep the lights always on.

    The solution? I accidentally disabled the service called VAIO Event Service, which manages the event flow between the hardware and the VAIO control center. So i enabled that service by typing services.msc in the search box of windows, and regain control of the backlit functionality using the vaio control center.



  • Pablo 4:50 PM on 12 July 2013 Permalink | Reply  

    [SOLVED] Embedding bold font in AS3 Flash dynamic field 

    I has going insane trying to make this work… when you have a Dynamic TextField in flash, and you use HTML text with it, to make the itallic and bold fonts work you have to:

    1. embed each variation of the font.
    2. In the flash ide, type “bold itallic normal” inside the Dynamic TextField and give a bold style to the bold word, an itallic style to the itallic word and leave the other normal…

    Now, when you set the HTML using AS3, the <b></b> and <i></i> tags will work as espected using the embeded fonts.

    Idk why, but if the TextField doesn’t contains a bold font it wont show bold text… this is probably a bug or something…

    PS: im using Flash CS6. Hope this helps someone…

  • Pablo 11:02 AM on 14 April 2013 Permalink | Reply  

    NetBeans 7.2 Dark Theme 

    About 2 years ago i did a Dark Theme for flash develop, today i ported that theme to NetBeans 7.2 with some modifications.

    Please note that i use NetBeans for PHP development (Web development).

    It has Color Schemes for PHP, Javascript, HTML, Twig, CSS, Apache Config files (.htaccess) and INI files.




  • Pablo 5:04 PM on 10 March 2013 Permalink | Reply  

    Starling Stress Test [Passed] 

    Below, you can see something that would be impossible without the hardware aceleration, almost 700+ units running at a constan 30 FPS  (at least on my machine)

    107KG no Loader… if you dont see anything, wait:

    Starling rocks!!

  • Pablo 6:24 PM on 3 March 2013 Permalink | Reply  

    Starling FTW 

    1000 running units at a steady 30 FPS the Starling engine really made me change my mind about using just plain MovieClips as usual. So now i will rewrite some code to use this awesome engine and take advantage of the GPU rendering.

    I like the fact that it uses the familiar flash coding patterns like MovieClips, and such, so is not a lot to be learn before being able to actually use it.

    Another advantage it has is that it allows you to use diferent frame rates other than the movie’s main frame rate. Without to mention the particle system it offers.

    Anyway, back to coding.

  • Pablo 2:39 PM on 3 March 2013 Permalink | Reply  

    Picking random path 

    test of the AI to pick a random path when the current path splits in 2 or more pathways.

  • Pablo 2:00 PM on 17 February 2013 Permalink | Reply  

    Graphic test… 

    Graphic test...

    Trying to came up with a style for the graphics of my next game… this looks good, but i still dont like it…

    i think i will start all over again… but i’m getting closer to what i want.

  • Pablo 11:54 AM on 12 February 2013 Permalink | Reply  

    Tower Defense Prototype 

    Preview of the game im working on…

    Working on the prototype, still in very early development stage.

Compose new post
Next post/Next comment
Previous post/Previous comment
Show/Hide comments
Go to top
Go to login
Show/Hide help
shift + esc

Get every new post delivered to your Inbox.