Ramblings Of a Madman

Yeah, like i would know a good description…

Posts for Tag: technology

'3-sweep : Extracting editable objects from a single photo'

Insanely cool. Imagine the applications for game developers: Need a 3D model of a sword? Oh, i have one at home, let's model it in 2 seconds :)

The only question is where can we find this fantastic piece of software?

![](http://images2.wikia.nocookie.net/__cb20130802133046/dragonball/images/6/61/Shut-up-and-take-my-money.jpeg)

JasperReports - Unsupported major.minor version 51.0

Just ran into something a bit far fetched: My Jasper reports were not working in VOS, our JAVA Swing application at Inforviegas. It complained with an error along these lines: Exception in thread "AWT-EventQueue-0" java.lang.UnsupportedClassVersionError: CCClient_1334580618412_476658 : Unsupported major.minor version 51.0

The only difference from business as usual was that i changed laptops.

We are using the jasperreports-maven-plugin to compile the reports from maven. In our pom.xml files we always define the maven-compiler-plugin target and source versions of the virtual machine. One would assume that the jasper plugin would use the same version of the maven-compiler-plugin, right? Wrong. It uses the default virtual machine set in your computer. And since i had Java 7 as the default and we are compiling to Java 6, the reports end up with the wrong java version, making them not show in our application.

Hope this helps some people save some time, since i couldn't :)

Updating Google Chrome on MacOSX is broken!

Or am i the only one who could never, ever, update Google Chrome through the "About" box?

Everytime i press "Update" here:

I get this:

Anyone knows if there a solution to this?

Count (group by) number of line occurrences in file

Here's a neat ruby script to group and count the number of occurrences of lines inside a given file.

count.rb list = IO.readlines(ARGV[0]) h = Hash.new {|hash, key| hash[key] = 0} list.each {|item| h[item] += 1} h = h.sort_by { |k,v| v }.reverse h.each_with_index do |p,i| puts "(#{p[1]}) #{p[0]}" if ARGV[1] and ARGV[1].to_i <= i + 1 break end end Usage is: ruby count.rb <file> [show_at_most_n] If you have a file named "faren.txt" comprised of the following lines: test test awesome dude dude dude faren meran Running the script  with: ruby count.rb faren.txt Will yield the following result: (3) dude (2) test (1) awesome (1) faren (1) meran In addition, if you pass the "show_at_most_n" parameter (a number), it will only print that number of results. For example 2 will show the following: (3) dude (2) test

Idea - HTML WYSIWYG editor with Flickr upload support

The biggest problem with this, is that WP's interface to create posts is, again, awesome. You can find plugins for pretty much anything, especially to do tasks that are otherwise plain boring, like uploading pictures to your flickr account and instantly have them available in your post for inclusion. I've been trying to find something like that for those nice HTML editors out there (like tinyMCE and CKEditor), but so far have had no luck.

Anyone out there knows if something like that exists yet and where can i find it?

HTML WYSIWYG editor with Flickr upload support?

Lately i've been tinkering around with the idea of recreating my blog in a more handcrafted way (ruby on rails) as opposed to the current implementation using Wordpress. Don't get me wrong Wordpress is awesome. It has many years and millions of websites as a testament of it's awesomeness behind it. But i guess my hacker's vein popups up every now and then to whisper the reasons why i should have something custom made :) The biggest problem with this, is that WP's interface to create posts is, again, awesome. You can find plugins for pretty much anything, especially to do tasks that are otherwise plain boring, like uploading pictures to your flickr account and instantly have them available in your post for inclusion. I've been trying to find something like that for those nice HTML editors out there (like tinyMCE and CKEditor), but so far have had no luck. Anyone out there knows if something like that exists yet and where can i find it?

My selection of top iPad 2 apps

After buying my shiny new ipad2 I, like most other tablet enthusiasts, devoted a fair amount of time in search of the coolest and most useful apps to install.

The major problem in most results that google returns is that they all mention the same list: twitter, IMO.im, friendly, dropbox, etc. (for a list of the obvious, follow this link).

After some deeper searches I found the following apps to be extremely interesting to me. I'm hoping they will be to you as well:

Writing

If you write anything, these are the most well spent 79 cents, believe me.

Log your life, with notes, pictures, and music.

Find the perfect word to convey your message :)

Games

Snowboard fun :)

Awesome card game, kinda like Magic the gathering. Warning: Massive time waster :)

Cool top down RPG.

Reading

Read all your google reader subscriptions in this clean RSS reader.

There's a few marvel comics for free in this app.

The great classics are free in the Kindle store. And the iPad is the perfect e-reader.

News and Magazines

A beautiful way of keeping track of current events worldwide.

A new take on wikipedia articles; everyday a new selection of wonderfully formated articles.

A kind of magazine with a gazillion tips on how to make the most of your shiny new iPad.

Notes and doodles

Keep all your notes in sync across your computers, tablets, and phones. Much better than evernote, in my opinion.

Everyone doodles from time to time :)

Remote desktop and media centre control

Money well invested, if you have a mac mini in your living room and don't want to spend $100+ on a wireless keyboard + mouse setup. This app allows you to use the iPad as both. And does one hell of a job at it.

To control your XBMC from the iPad.

A remote viewer for your computers (VNC).

Video streaming

The best way i found to stream video and music from my server to the iPad and other computers. It compresses video on the fly, allowing you to stream even through a 3G connection. Priceless.

Graphics

Just in case you need to retouch some pictures on the iPad.

Cooking

If you're lazy like me, this will come in handy to discover new recipes to cook.

Data

View your Google analytics data from this cool app.

Alarms

And finally, everyone needs an alarm. This one is simple and gets the job done :)