Rozdajemy Raspberry Pi podczas 33rd DegreeRaspberry Pi to give away at 33rd Degree Conference

Zapraszaliśmy Was już do odwiedzenia stoiska TouK podczas konferencji 33rd Degree i wzięcia udziału w konkursie. Pora powiedzieć, dlaczego warto to zrobić.We’ve already invited you to visit our stand during 33rd Degree Conference and to take part in our contest. It’s time to tell you, why it’s worth to do it.

Zapraszaliśmy Was już do odwiedzenia stoiska TouK podczas konferencji 33rd Degree i wzięcia udziału w konkursie.  Pora powiedzieć, dlaczego warto to zrobić.

Nasz konkurs to konkurs hakerski i gra terenowa w jednym. Oprócz dobrej zabawy macie szansę na powrót do domu z własnym Raspberry Pi. Więc szukajcie piórek TouK, żeby wejść do gry!

Do zobaczenia w środę!We’ve already invited you to visit our stand during 33rd Degree Conference and to take part in our contest. It’s time to tell you, why it’s worth to do it.

Our contest is a hacker competition and a field game in one. Apart from a lot of fun you have a chance to come home with your own Raspberry Pi. So look for TouK’s feathers to enter the game!

See you on Wednesdey!

You May Also Like

Grails render as JSON catch

One of a reasons your controller doesn't render a proper response in JSON format might be wrong package name that you use. It is easy to overlook. Import are on top of a file, you look at your code and everything seems to be fine. Except response is still not in JSON format.

Consider this simple controller:

class RestJsonCatchController {
def grailsJson() {
render([first: 'foo', second: 5] as grails.converters.JSON)
}

def netSfJson() {
render([first: 'foo', second: 5] as net.sf.json.JSON)
}
}

And now, with finger crossed... We have a winner!

$ curl localhost:8080/example/restJsonCatch/grailsJson
{"first":"foo","second":5}
$ curl localhost:8080/example/restJsonCatch/netSfJson
{first=foo, second=5}

As you can see only grails.converters.JSON converts your response to JSON format. There is no such converter for net.sf.json.JSON, so Grails has no converter to apply and it renders Map normally.

Conclusion: always carefully look at your imports if you're working with JSON in Grails!

Edit: Burt suggested that this is a bug. I've submitted JIRA issue here: GRAILS-9622 render as class that is not a codec should throw exception

mount.ntfs high cpu ubuntu

My computer suffers from sudden and continous hard drive load strokes. Sometimes it lasts for a few minutes and hence work is impossible because everything goes very slow.I'm trying to locate the cause because it makes me nervous :)Today I found one of...

Warszawa JUG z nową stroną

Warszawska Grupa Użytkowników Technologii Java (WJUG) ma nową stronę internetową. Kod i layout strony przygotował TouK i przekazał grupie. Niech służy! Cieszymy się, że mogliśmy przyczynić się w ten sposób do budowy javowej społeczności.