Seapegasus Blog

All | Hacks | Java Mobility | Mac | Misc | NetBeans | NetBeans_de
Main | Next page »
20080504 Sunday May 04, 2008

Drink Solaris

Guess what I found on my way to JavaOne? A wine bottle that says, "Solaris... celebrate the day!"

See you at CommunityOne's NetBeans day tomorrow. I'm off to the maker faire now. That's something like JavaOne, but for hardware only. Kinda Steampunk / MacGyver / Mentos-in-Pepsi / Babbage difference engine themed. You know? Allright I'll take pictures.

Posted by seapegasus ( May 04 2008, 05:55:54 PM CEST ) Permalink Comments [0]


20080219 Tuesday February 19, 2008

New Spelling and More Aggressive Waitresses

Please stand by for a special announcement by John Cleese(*).
Letter to America
Effective immediately. Thank you for your cooperation! :-P

(*) PS: For completeness' sake, and in case anybody asks, it's a "John Cleese-style" letter, but I don't know who wrote it.

Posted by seapegasus ( Feb 19 2008, 11:33:43 AM CET ) Permalink Comments [2]


20071130 Friday November 30, 2007

A Wolf Named Beo

Prague has a pretty cool IMAX 3D cinema, so yesterday I went and saw Beowulf. I don't really know what to think of it. First I was positively surprised that it was indeed 3D. Not just one scene in the end as I had expected (like they did for one of the Harry Potter movies), it was 3D throughout.

Pretty fascinating, although it is hard to read 2D subtitles superimposed on a 3D image. I could never quite focus on them. Apart from the fact that the subtitles were in Czech. So why read them? Well, my Anglo-saxon is a bit rusty... But what Grendel said sounded almost understandable, English and German aren't that far apart from a common root.

Another thing I hadn't expected was, that they would shoot the whole movie with motion-captured actors. Does that make it easier to turn it into full 3D? Possibly, I don't know. You can recognized John Malkovich and Angelina Jolie. But still, they looked like Shrek's royal household with a RAM and CPU upgrade. And why the hyperrealism in some scenes? It made my hair stand on end.

OK, I don't want to complain, it was very well done, considering it's animated. 3D characters and rendering have come a long way in the recent years. When I watched Final Fantasy for the first time, I thought it was about dead people hunting dead animals while they themselves were being hunted by ghosts of, you guessed it, dead aliens. I was waiting for the characters to notice that they themselves were dead. Then somebody told me they were supposed to be alive. Oh well.

There are people who say, don't comment on the puny details of the animations and enjoy the ride. Yes, the landscapes and action scenes are indeed impressive (neither realistic nor natural, but impressive). But it feels shallow (shallow 3D...?) which makes it hard to enjoy: It totally breaks the immersion. As opposed to movies that grasp you and make you feel like "a little hero" at the end, this feeling immediately ended in Beowulf when the end credits rolled. It is difficult not to have an adrenaline reaction when 3D arrows keep flying into your eyes... It's not the movie that excites you, it's just your reflexes.

--- Spoilers follow ---

The depiction of Grendel was quite modern: He's not evil, he is just a poor baby monster, and nobody understands him. (Maybe because he spoke Anglo-saxon babytalk?) The designers did a nice job of making him appear strong and fragile, shocking and cute at the same time. He was also very similar to Gollum, which is not a very novel idea.

Another pity was how heartlessly they hollywoodized the original saga. Sorry, adding value by adding gratuitous (and at the same time censored!) naked scenes only works in the US. ;-) And these scenes were silly. Silly as in Bart Simpson slapstick! WTH?

Zemeckis' version also implies that Beowulf wasn't a hero, but a liar. In the original story, Beowulf brings Grendel's head, kills the demonlady (Grendel's mother) without witnesses, and nobody knows where the dragon is from. In the new version, Beowulf brings Grendel's head, but then he only claims to have killed the demonlady, and the dragon turns out to be his and the demonlady's secret lovechild... Okaaay...?

The idea is not that innovative that it required a whole new movie. Also, these three sentences I just wrote, that was the plot. There is nothing else of substance. Yes, 3D effects are cool if you have never seen a 3D movie before, but I see no reason why anyone would watch this movie in 2D? At the end you get a 30 second Ingmar Bergman moment -- watch out! Late incoming depth! -- and you wonder, will the new king commit the same mistake or learn from it? But then, sorry, at that point I got distracted by the realization that the wide sheet of melting plastic at the new kings feet was actually supposed to depict the waters of the ocean, and then the end credits already started...

Verdict: Can't really recommend it, but if you've never seen IMAX3D, you might as well start with something that does not distract your attention too much by having a plot. ;-) Did you notice those 3D movies never have any depth, content-wise? It's always "Sharks attack!", "Dinosaurs attack!", "Aliens attack!", or "Mars rover is attacked by alien sharks and dinosaurs! (On a rollercoaster!! And it's haunted!!)" *tsks*

PS: And now for something completely different: Google News now speaks Czech. Is that new? Never noticed that before.

Posted by seapegasus ( Nov 30 2007, 08:14:55 PM CET ) Permalink


20071017 Wednesday October 17, 2007

Rainbow Microsystems

The glass doors in the new Sun office in Prague come with built-in rainbow-enhancing prisms.

Beat this, IBM! ;-)

Posted by seapegasus ( Oct 17 2007, 03:08:21 PM CEST ) Permalink Comments [1]


20070718 Wednesday July 18, 2007

Music Overdose (2)

Yupp. Got empirical proof now that Tori Amos > 128MB.

As a follow-up to an earlier entry where I mentioned I'll go to the Tori Amos concert in Prague: I did manage to shoot a few short videos with my camera, but since I wasn't exactly in the front row they are not really worth posting. Mental note to self: Buy a bigger memory card; 128MB are ridiculous when it comes to recording video.

Other audience members came with better equipment, and made better recordings that you can find on youtube. There even was a guy from Czech TV next to me with a camera, but he disappeared halfway through. I wonder whether he just went over to the other side, or whether he really missed recording the second half? (If any of you saw the show on TV, post a comment.)

I am mentioning the second half because Tori performed a unique "improvised" prelude to Velvet Revolution, "1989", with lyrics like "It was YOU, in 1989, YOU did something that we will sing about, in a thousand years YOU will be a fairytale"... (And something about how she was miles away at that time time, arguing with her &*%$#@! record company about Little Earthquakes.) :-D Wow. It took the listeners a couple of seconds to get it. A song about "us"? Then a audible and visible motion went through the crowd and she got a lot of cheers.

This was special because, actually, there weren't many hints from her that confirmed she knew which town she was in, and that she knew there was an audience. ;) Doesn't exactly chat much with the crowd, that Tori, eh? Sure, she introduced the band at one point, and dropped a few words mentioning she was glad to have come "here" to "this magical place". But, well, she seemed to avoid stating explicitly where she thought "here" was... Until when she was about to play Velvet Revolution. Then it all came back to her, hence the special prelude.

Oh and if you look at the videos on youtube and think, "Ugh, ugly wig", then, well, better don't look at the current album cover... She's seriously into this "Meet two of my five split personalities" shtick, and I have to admit I didn't like this aloof cold look at all. *shrug* The selection of songs she played was perfect (a few were performed in a very agressive and disharmonic way though); the look of the stage and the lighting was okay too, apart from the fact that it was annoyingly blinding at times. Both the lights and her "fashion" eventually resulted in me keeping my eyes closed for half of the concert and just listening. :-P Serves her right.

Then in the end (when the band pretends to leave before coming back for an encore) all the hard-core fans jumped up and ran to the stage... A security(?) guy quickly emerged, glanced at the cheering crowd (now only 2m away from the holy piano) -- shrugged, and left. It was like: "Oh look, lots of Czechs. Weren't they, like, those velvet revolution guys? Why bother, they're not gonna bite her." ;-)

Posted by seapegasus ( Jul 18 2007, 05:22:24 PM CEST ) Permalink


20070611 Monday June 11, 2007

Bad Avatar, No Physics for You!

Just when I thought I was making progress with my weekend project (a 3D adventure game) I find a serious flaw in my implementation: I cannot use the game engine's physics for the avatar.

Nothing is wrong with JME physics: They work perfectly well for e.g. ping pong, or vehicles in racing games. You assign a car a material and apply forces to it, and you'll get a life-like enough simulation of car behaviour on uneven ground. But cars are low and bulky. Avatars are tall and thin. And what happens if you apply a sideways force to a tall object? It staggers and topples over, naturally. It's not a bug, it's a feature! *sigh...*

So the problem is not (as I thought) that my avatar's physical properties are wrong. The problem is that I used physical properties for walking at all. Just think about it... When you walk, you don't just apply a sideways force to yourself. You shift your weight in a way that is so complex that you need to carry a whole extra CPU with you all the time (aka. cerebellum) just to calculate steps and balance... I think I pass on implementing a sense of balance for my avatars, thank you very much.

To give you a picture, the smooth kind of walking behavior that I want can be seen in this nice trailer for Spirit, a game that is currently being developed, using the same game engine (JME) as myself. Avatars in 3D games never seem to stagger, they walk like on rails, so what's the trick?

Well, drop physics, and code rails. Use terrain.getHeight(x,z) (which returns the terrain height (y) for any (x/z) position) at each step to set the avatar's (or cam's) y position to the terrain height + x, and ta-daa, smooth walking. In an advanced variation of that, you add extra "triangle picking" code to detect obstacles on top of the terrain (otherwise the avatar will not climb up on them).

As always with JME, it comes with a great sample for this method included, which you find at jme/src/jmetest/intersection/TestObjectWalking.java. I thought about combining it with a ThirdPersonController (jme/src/jmetest/input/TestThirdPersonController.java) but presently I just set the cam loc to somewhere close to the avatar.

With the sample code at hand, it's easy to implement. I hope to be able to use the triangle's "normal" value at the player's loc to determine whether the avatar is walking or climbing (so I can change the animation -- or even stop when the slope is too steep). A few downsides: By getting rid of physics and turning the avatar into a non-physical node, I also have to rewrite the code I already had for jumping. Second, I haven't yet figured out how to make the fancy triangle picker look inside a building too ("Look ma, I walk on the roof! Look ma, I -- fall through the floor!") And the third bug not yet dealt with: *drumroll*... the famous walk-through walls.

Hmmm. I wonder, if I didn't fix the walls, how long would it take the average player to notice they weren't real obstacles? ;-) Leave a comment, and tune in again next week!

Posted by seapegasus ( Jun 11 2007, 05:17:25 PM CEST ) Permalink


20070415 Sunday April 15, 2007

Music Overdose

This summer I'm gonna get an overdose of music -- for my means. Usually I don't go to concerts or festivals a lot, but this year, I'm gonna venture out to the Sziget together with my friend the konzertjunkie.

If you should go to the Sziget too, make sure to check out Kaizers Orchestra! And if you like weird ethno stuff, don't miss Värttinä. I heard both live before, and they are worth the money. Other bands I'm gonna give a chance to convince me with their live talents ;-) include Chemical Brothers, Faithless, Gogol Bordello, Pink, Sinéad O’Connor, Madness, Mari Boine... if you have seen any of the these or other Sziget bands live, why not leave a comment how you liked them. And what please is "!!!"? Whatever it is, it doesn't sound bad either.

Oh, and today -- Tori Amos posters! In Prague! They are everywhere! And this time I really gotta go see her, she'll be in Prague in June. I kind-a skipped her last two albums, but today I heard 'Big Wheel' from the new album, and yup, this sounds more like it. So I went to look for Prague tickets on an international online shop: The cheapest tickets were like 130 Euros. Hmmm... In a German online shop, tickets cost 100 Euros, and the cheapest ones 50... Hmmm. Tomorrow I'll go to the bookshop at the metro station. I would not be surprised if I could get a seat in a good category there for less than 50 Euros... I'll keep you posted. =-)

PS: Yup, indeed: 50 Euros is the max price. The Prague Congress Center (right at Metro B stop "Vysehrad", some place as the Sun tech days recently) may not be the must beautiful venue judging from the outside, but alegedly it has excellent acoustics inside, and the inside counts, right? ;) Is anybody going?

Posted by seapegasus ( Apr 15 2007, 11:31:26 PM CEST ) Permalink Comments [1]


20070412 Thursday April 12, 2007

Two Worlds celebrating Yuri's Night

Just a quick mention that tonight (Thursday, April 12) is Yuri's night. Yuri as in "Yuri Gagarin", the first cosmonaut. There are Yuri parties in 124 parties in 35 countries on "two worlds" (if you count Secondlife as a world). Check the website for the address of a party close to you (In case you are wondering: Prague is listed under Afghanistan. Go figure.) -- or come meet space fans in Space Port Alpha on Second Life (clicking the link should magically open your second life client if you have one). See you there!

Posted by seapegasus ( Apr 12 2007, 07:57:16 PM CEST ) Permalink


20070309 Friday March 09, 2007

Something Funny For the Weekend

Before I'm of for the weekend, here two cute links I found: Satai found this insane Apple-vs-PC ad cartoon on youtube. Steve Jobs finally loses it. ;-)

Another youtube find is this cuuute video game, Little Big Planet. It's like an arcade game version of second life. It scrolls left to right, but it's 3D with a backdrop and physics... The avatars look like beanie babies, muhahahaha... And why do the avatars' thinking bubbles look like iPhones?! There's a second part where you can see cool physics interaction and the actual gameplay while the characters run throught the level.

PS: What the...?? Posted by seapegasus ( Mar 09 2007, 05:06:33 PM CET ) Permalink


20070224 Saturday February 24, 2007

It's Like Selling 3D Games to the Blind

... or isn't it? Who says the blind never play 3D games? Listen to the alien shooter soundbite on Surreal Horizon's homepage to get a feeling for what 3D audio games are like. You really learn something new each day! (For instance, what a theremin is. Or that it's Sun Microsystem's birthday!)

Posted by seapegasus ( Feb 24 2007, 06:33:32 PM CET ) Permalink


20070209 Friday February 09, 2007

Me Learn Speak Good One Day

Speaking of "me". Today, after over 20 years of learning English, I learned that "me" is not the same as "I". You know, sentences like "Only me and X are here", or "X and me, we have the same result in the Myers-Biggs test", sentences like that, they are all wrong. It should be "X and myself" etc... Great. Thanks for telling me now. ;o) I'm just glad we don't use the first person in tutorials, that would have been so embarrassing.

Well, less embarrassing than, say, accidentally saying pršim ("I am raining") in Czech conversation class. Or saying "vypalit nekomu prehradu" instead of "rybnik": You don't expect us stupid foreigners to know that it's "to steal somebody's show" and not "to steal somebody's whole theatre", do you? In the interest of international relationships it is also not recommened to mix "vychodni Nemecko" and "zapadni Nemecko" (East and West Germany) to say "zachodni Nemecko"... ... I swear, one day we'll be the death of our Czech teacher. I think Joe and me -- and I? Joe and I myself have a new goal: To make the teacher desperately call out "Jezis...!" at least once per lesson. That's our new goal. It comes right after learning numerals.

Did I tell you the story about the Czech numerals? No?

So that means.... "with 273 (dve ste sedmdesat tri) Czech (cesky) beers (pivo)" = "s dvema sty sedmdesati tremi ceskymi pivy" or what?? What if the last digit happens to be 3, is it treated like a one-digit 3, or as a number bigger as 5? Oh boy. Of course each student of Czech comes up with the standard workaround sooner or later. Me: "I'd like to order some beers!" -- Them: "Well how many?" -- Me: (Holds up 273 fingers)!

Even if it may appear otherwise, you get pretty far with Czech after a year, especially in (vocabulary-wise) closed domains like restaurants. For example, have you ever been to a Chinese restaurant and thought, what am I supposed to do to communicate anything that is more sophisticated than ordering something from the menu? Speak Chinese? No! Speak Czech!

For instance today: I suddenly was missing a mitten. So I retraced my steps and also went into our Chinese lunch restaurant. It was evening. What is this lunch-customer doing here? The Chinese stare at me. I point at my hand and babble something about cervena rukavice? -- The Chinese girl suddenly smiles, nods, disappears through a side door and returns with my mitten. :-) See? Learning Czinese, uh, Czech rules!

This means I still keep my record: I don't recall having lost anything during the last 10 years! (Note my choice of words. The emphasis is on "recall".)

Well, except for the Babylon 5 CDs.

Oh and the Sparks CDs.

And where is this green shawl with the pattern? :(

Posted by seapegasus ( Feb 09 2007, 01:22:48 AM CET ) Permalink Comments [1]


20070127 Saturday January 27, 2007

Steven Seagull's Hamster Dentist!

English music is popular all over the world, right? Catchy tunes! Innovative video clips! Carefully crafted lyrics! A scientific study reveals: This is what an average English song sounds like to 80% of its listeners. Seriously. Hold your breath, click here, and be prepared to ROFL.

Posted by seapegasus ( Jan 27 2007, 11:01:00 PM CET ) Permalink


20070122 Monday January 22, 2007

Do you have to write ten things if you get tagged twice?

Didn't post anything for a week, I was involved in a couple of projects...

For one the NASA Space Colab on Secondlife: I donated some 3D models of furniture, a small version of the Mars rover, and... a couple of airstrip Alligators. A NASA guy promptly put up a sign next to the Alligators highlighting Florida wildlife! Hehe, nice gambit.

Then I am still fiddling with my jMonkeyEngine 3D game project: It runs in NetBeans and I am making progress slowly in learning the API; but the executable in the dist directory doesn't run since /dist/lib/ was either missing or incomplete. The readme.txt hinted this happens because I added classes and other resources instead of JARs. So...? I am still about to find out whether this is a bug or a feature. It must be possible to write an Ant task that just dumps everything into one big distributable JAR, including images and other binary data.

Well and yes I know, I got 'tagged' twice, by Tom Ball and by James. Which is pretty tough, because I could not even come up with five things, let alone ten. I've led a pretty boring and average live and I neither was in the military nor in a band, nor did I have a surprisingly untypical job in the past...

The only famous people I ever met were James Gosling and Emil Steinberger. *shrug* But hey, like James, I also got the Arctic Circle certificate when I spent three days in a tent in the Abisko national park (in late summer, not in the snow). Hm, what else is there to tell? Hypertalk was not only the first programming language I taught myself, but it probably also was what my early English vocabulary was based on. Also, I went to a Christian High School. With Latin and Greek and all that. But it was not as bad as this may sound to some of you -- it was actually quite relaxed, we touched Creation in religious education and learned Evolution in the biology class, worship was done after Taize fashion, and they didn't ask questions whether someone was gay or a single mother. Anything else? As a child, I drew so many cartoons and doodles that my parents stuck them into do-it-yourself calendars and gave them away as Christmas presents to relatives, or submitted them to kids contests to get rid of them. ;-) But hey, I won stuff like games, and a BMX bicycle, and once a huge plush crocodile, so why stop? I even sold two pictures to a hair-dresser's. But they say, that when you sell a painting as a child, you will never become a successful painter as an adult... Bummer. Well, back to programming, then. :-)

I don't care whether those where five things or not. (Make the fifth one "Don't bother me with numbers, I have a computer to do the counting for me") And I won't 'tag' others either because I have a long standing tradition of breaking every chain I encountered up to now, and see where it got me, I can't stop now!

PS: I heard rumors that winter will start tomorrow... Means I gotta complete my fantastic insulated-hood-with-shawl-construction. So if you need a winter hood, write me, and I'll send you the instructions. ;-) Oh, that would be item five! I've got a pen and paper next to my bed and every night I invent something fantastic that will save the world and I write it down. Then the next morning, the world-saving ideas are unreadable, and the readable ones don't make any sense. *sigh* Except for the hood.

Posted by seapegasus ( Jan 22 2007, 04:32:59 PM CET ) Permalink Comments [2]


20061206 Wednesday December 06, 2006

Busy Week at NASA

This time it's water on Mars. I'm just watching a stream of NASA's Mars Reconnaissance Orbiter press conference that is associated with the article NASA Images Suggest Water Still Flows in Brief Spurts on Mars. Before-after pictures show a trickle of something liquid, they assume water mixed with sediments, that flew down a hill and froze. The question is, how did it turn liquid inside the planet long enough to flow before it froze again? (e.g. is the water acidic?) The NASA guys are excited, the journalists ask "So... is this the holy grail now or what?" and "So... did we get Mars geophysics all wrong?" Hehe. Poor NASA guys. Did somebody threaten to cancel their funding if they don't bring results this week?

Posted by seapegasus ( Dec 06 2006, 08:12:47 PM CET ) Permalink


20061205 Tuesday December 05, 2006

Moonbase!!

Haha! I was right! NASA did announce a moonbase Monday night! :-D I knew it first, I knew it first, haha! *stops jumping up and down, whistles innoncently, and gets back to work...*

Posted by seapegasus ( Dec 05 2006, 01:21:32 PM CET ) Permalink Comments [3]


Calendar

Content

Search

Links

RSS Feeds

Recent...