AMF news coming?

Today I’ve read a couple of guys who posted about the new Ted’s post on his blog.
Nothing new about amf, just some “best practices” on how to save using writeObject and readObject ByteArray’s methods.

But what caught my attention was the last sentence in his post:

“There is some big AMF news coming in December…. :)”

Damn, This is cool!
Does anyone know anything about this? I can’t wait!

Firefox 3 beta 1!


After the early alpha development version of Firefox, Gran Paradiso (it was December 2006 if I’m not wrong), today Mozilla announced the first Firefox beta version.
Here you can find the full post which introduced the new Beta.

What’s new?

Well, looking at the “What’s new” page, it seems that there are tons of changes, fixes, improvements. I’m reporting here just a couple of things from that list:

  • Gecko 1.9 Web rendering platform, which has been under development for the past 27 months and includes nearly 2 million lines of code changes  (!!)
  • One click site info: Click the site favicon in the location bar to see who owns the site. Identity verification is prominently displayed and easier to understand. In later versions, Extended Validation SSL certificate information will be displayed
  • Malware Protection: malware protection warns users when they arrive at sites which are known to install viruses, spyware, trojans or other malware
  • New Web Forgery Protection page: the content of pages suspected as web forgeries is no longer shown
  • New SSL error pages
  • Add-ons and Plugin version check: Firefox now automatically checks add-on and plugin versions and will disable older, insecure versions
  • Secure add-on updates: to improve add-on update security, add-ons that provide updates in an insecure manner will be disabled (I hope this wont break half of the current extenions!).
  • Anti-virus integration
  • New Download Manager
  • Resumable downloading
  • Full page zoom
  • Improved Platform for Developers (mmhhh.. this it’s interesting!)

Download Firefox 3 beta 1 now!

Flex Canvas bug when it is zoomed in and “horizontalCenter = 0”

Recently I came across a Flex bug when working on canvas. If you have a canvas with an object centered inside ( horizontal or vertical, it’s the same ) and scale this object the result is that the canvas will clip left and top its contents!
To understand what I mean see this example and try to scale the image:

Get Adobe Flash player

And this is the code used:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
< ?xml version="1.0" encoding="utf-8"?>
<mx:application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundAlpha="0">
   <mx:number id="scale">1</mx:number>
   <mx:vbox horizontalCenter="0" verticalCenter="0">
      <mx:hbox width="100%" horizontalCenter="0">
         <mx:label text="Zoom" /><mx:hslider value="{scale}" change="{scale = HSlider(event.target).value}" width="100%" />
      </mx:hbox>
      <mx:canvas width="200" height="200"
               backgroundColor="#EEEEEE" borderColor="#666666"
               borderStyle="solid" verticalCenter="0" horizontalCenter="0" >
         <mx:image id="image" source="@Embed('../assets/test.png')" scaleX="{scale}" scaleY="{scale}"
                 verticalCenter="0" horizontalCenter="0" />
      </mx:canvas>
   </mx:vbox>
</mx:application>

As you can see once the image is scaled and it’s bigger that its parent, you wont be able to see it top left corner anymore. This is an annoying bug for me!

Later I found that someone opened a ticket in the Flex bug management system here: http://bugs.adobe.com/jira/browse/SDK-13009
A couple of days ago I received a notification that the bug has been closed… and incredible they closed it as NOT A BUG!
I can understand that finding the bug in a file with 5000 and more lines of code it’s not easy and can cause horrible headache, but the reason they gave it’s nosense! It’s completely a different thing that the reason of this bug.

Moreover what’s the connection between flash and html?

Flex have been designed since the 1.0 version as a framework for building RIA (Rich Internet Applications).
A RIA have to behave as a desktop application that runs using the web browser. One of the advantages of Flex agains Ajax is that the first technology provide to the user a behaviour which is much more similar to desktop applications that the one provided using HTML+Javascript. And so my questions is: why should Flex behave like HTML when one of its most important features is to be different from HTML ?
Flex behaves like other SDKs used to develop desktop apps in many situations which are much less important than the one hilighted above. So why close this bug (yes. it is a bug) providing as explanation that it is correct because it behaves like HTML ?

(my)SQL-Front is back!

After more than one year I received an email saying that finally mysql-front is back and no it’s SQL-Front.
MySQL-Front was one of the first mysql clients I ever installed and I was very disappointed when it closed..

Here I quote the Nils entry about the comeback and the new name:

“Hi,
16 months ago, many users of this program were surprised and disappointed to see the project discontinued rather suddenly. I am sorry that I was unable to find a way of continuing the project at that time, so that the users had to suffer from its disappeance. This discontinuation was the result of a senseless fight – from which, at the end of the day, noone had an advantage.

So the question is: Why do people fight when they don’t have an advantage from it? There are multiple answers to this question, but often jealousy of other people or fear about one’s own future are the reasons for it. In my humble opinion, if someone fights against you, you should consider how to help them instead of getting involved in senseless fighting. Therefore, I decided not to fight with them last year, but to withdraw.

In the past weeks, I was able to find a solution…” (read full article)

P.S. Great, my old license key is still valid!