figures to discofox dance ( Disco Hustle )

Where to find information about DiscoFox dance figures

Yesterday I have decieded to remember a little bit about disco-fox dance – especially about some nice looking figures. I have learned it long time ago, but since then I haven’t practised it much often. What I was looking for was description of :

– how to make a figure ( so step by step description)

– some video showing this figure

I’ve started to search in google for keys like “disco fox figures steps dance” etc. and I was suprised not to find much of useful information. There were many sites of dance schools but they mostly have small description about what is in the course but not how to make figures. I also have found some youtube movies – but people were dancing very fast and without description it was hard to follow ( besides it is good to know for the partner what moves he should have – how to show the girl how to follow him).  So I thought to myself: ok it will not be so easy – so let’s make more investigations. I have started with wiki http://en.wikipedia.org/wiki/Discofox , where I have read that this dance is quite popular in german-speaking countries. So I started to search for it in german sites and I’ve ended with splended success! I have found amazing site about dance : http://www.getthedance.com .  You can see there courses for many different dances  (salsa, swing, hip-hop, cha-cha, jive …) , among them disco-fox with a lot of figures.  For any new figure you have detailed video, where teacher describes very precisely how to make steps, how to put your hands etc.  To see all those videos you have to register but it is fast process without any tricks. But… there is one problem, videos are in .. GERMAN.. So if you don’t know this language you may be not so much satisfied. Honestly I think that even without knowlegde of german you can learn a lot just by seeing how the dancers move – all figures are described very detailed with a lot of slow motion so  it occurs to me that even without german knowledge you can follow those courses:)

Links

http://en.wikipedia.org/wiki/Discofox

http://www.getthedance.com/course/show/discofox

Graz parking zones / Graz Parkzonen

How to park your car in Graz

Graz as most of bigger cities has strong no-car-parking-in-the-center-policy. It forces people to use public transport or bikes while going to the city center. Anyway if you  must park the car in Graz,  be aware about parking zones.  Otherwise you may receive very nice letter from one of the parking guards  ( and it won’t be love letter or invitation to dinner:( ) .

Read more of this post

GWT 2.0 + chrome = Unsafe JavaScript attempt to access frame with URL …

Problem description

Some time ago I have made some application in GWT 2.0, then I have compiled it and wanted to test it under Chrome browser. The effect was suprising.. google product does not work with another google product. … I have got an error message from Chrome Console:

Unsafe JavaScript attempt to access frame with URL file:///C:/workspace/war/Blog_Demonstrations.html       from frame with URL file:///C:/workspace/war/blog_demonstrations/3AA8DD86E4E2DF30F0E5F461485CF698.cache.html.  Domains, protocols and ports must match.

followed by:

Uncaught TypeError: Property ‘gwtOnLoad’ of object [object DOMWindow] is not a function

Anyway I have uploaded my application on a web-server and it appeared to work.

Why there is an error

Today I had the same problem so I’ve investigated it a little bit more.. What I have found out is : this is Chrome problem (calling it bug may be to harsh). It happens because Chrome has stricter Same-Origin-Policy than another browsers.  This policy doesn’t allow web-applications to open (via JavaScirpt) files from the file-system (they apparently are not from the same origin;] ).

Workaround solution    for testing your application on local enviroment

Solution for this problem may be sending your static HTML page files to web server. You can even use your local Server (like Jetty).

I am using temporary solution to test my compiled GWT applications under Chrome browser:

0)  launch Launch your project in development mode ( Ctrl+ F11 in Eclipse). ( The point is just to launch the server)

1)  add folder In war directory of your application create folder “chrome-test

2) gwt icon Compile your GWT project . ( all static output should be created )

3) copy Copy all output to chrome-test directory. But remember NOT TO copy WEB-INF directory. My war folder after doing this operation looks like this:war directory

4) go to web site go to  http://127.0.0.1:YOUR_PORT_NUMBER/chrome-test/YOUR_INDEX.HTML

What you will see, will be compiled static gwt-page.  You can see difference between compiled page and page hosted by server by calling

GWT.isScript()

Method. If it will return true it means that page you are viewing was generated by JavaScript, otherwise what you are looking at was generated by bytecode (so it is hosted java code).

Links

bug trace from chrome dev site: http://code.google.com/p/chromium/issues/detail?id=31068


GWT balloon widget

What is Balloon widget

It is a simple widget which shows up with some information for the user. Its appearance is proceeded by some user action, like filling a form or choosing some option from the menu. It can e.g. look like this:

balloon example Read more of this post

GWT Animation – small review

Since GWT 1.5 developers can use simple animated objects. Animation is a useful tool to change properties of widget  components in continuous way. (which seems to be more friendly to end-user, when using for rational purposes).

Animation is very easy to use, you just have to extend Animation class and override onUpdate() method. Let’s see how it works in simple example

Update 1013.10.11: If you would like to see more modern way to add animations to your project, read my post about Animations with GQuery

Read more of this post

Hello world!

Welcome to my blog.. now there is no much beside this silly first post.. In the future I want to put here some stuff I am intrested in.. a bit of computer scienice, travles, my intrests.. or just things I want to share 🙂 Hope you enjoy reading.

see you at next  posts!:)