Hello again! Today I’d like to show a nice little trick you can do in Scala to make your methods look more “like Scala”, and require less typing :-) Let’s take a look at the two methods bellow: // before: val cookie = unmarshall(classOf[Cookie], jsonRepresentingACookie) // which is the same as the bellow sample [...]
Tags:
manifest,
marshalling,
scala,
tips,
tricks
Remember the ol’ days with Maven where you had to create a project for just about anything if you wanted to keep your depencencies clean and separated? We’ve encountered such a problem with a current project, and started to tackle it “the maven way”. It wasn’t too long that we’ve realized that we’re in scala [...]
Tags:
#maven,
compile,
dependencies,
project management,
sbt,
scala
Today I have presented yet another *new* Android Talk at the Cracow.Mobi conference. This time I focused on RoboGuice, and Guice in general. As from what I’ve seen a lot of android apps still get written without dependency injection – which saddens me – static global variables or weird helpers still come up in apps [...]
Tags:
android,
conference,
di,
fun,
guice,
ioc,
java,
jsr330,
presentation,
slides,
tweets
After not even one day of hacking, I’m releasing my first IntelliJ IDEA plugin. It enables “Tasks” (that default plugin in IntelliJ) to see tasks on the Kanbanery.com board. Thanks to this you’re able to commit always “refering to” some specific task. Using GitHub and Kanbanery such commits are linked back to the task on [...]
Tags:
android,
free software,
intellij,
kanban,
kanbanery,
open source,
plugin,
release
Just a quick tip if you ever happen to run into such an error: Launching application: pl.project13.kanbanery/pl.project13.kanbanery .ui.activities.InitActivity. DEVICE SHELL COMMAND: am start -D -n “pl.project13.kanbanery/pl.proj ect13.kanbanery.ui.activities.InitActivity” Starting: Intent { cmp=pl.project13.kanbanery/.ui.activities.InitAct ivity } java.lang.SecurityException: Permission Denial: starting Intent { flg =0×10000000 cmp=pl.project13.kanbanery/.ui.activities.InitActivity } from null (pid=13301, uid=2000) not exported from uid 10061 The error is [...]
God is a nice “framework” and daemon to watch Linux processes and restart them if necessary. As I’ve configured it today to work on an ubuntu machine here’s a quick howto: First install ruby, gem and god. apt-get install ruby, rubygems gem install god Then paste this initscript into /etc/init.d/god: got init script. Configure it [...]
Tags:
admin,
centos,
devops,
fedora,
god,
keep alive,
process watch,
ruby,
ubuntu
I’ve released my keyboard event mapper for the Microsoft Sidewinder X6 in an quite usable state right now. Take a look at sidewinder-x6-linux-macro-key-events on github. Here’s a quick description what it does: As the Sidewinder is an Microsoft keyboard, it obviously does all it can to not work at it’s full potential on GNU/Linux systems [...]
Tags:
keystroke,
linux,
macro,
sidewinder,
sidewinder x6 linux,
xdotool
I’ve finished a one could say major stepstone in my student project yesterday. I’ll be implementing this tool to be production ready over the next few months so keep your fingers crossed. But what is it actually? ProtoDoc, is for Google Protocol Buffers what JavaDoc is for Java. As simple as that. In order to [...]
Tags:
alpha,
free software,
github,
open source,
protocol buffers,
release,
scala
It’s been a long time since the Academic IT Festival 2011 but I didn’t have the time to post about it somehow. Anyways, now just a quick recap about it :-) Aparently some people did really like it, see tweets bellow :-) I also got feedback that “not yet real programmers”, that is students, didn’t [...]
Tags:
git,
konrad malawski,
live coding,
presentation,
SCM,
sfi,
video
This time just a quick post about something I’d really want to share with you all, and that’s been kind of forgotten during the release of JDK7 – java.util.Objects! Be sure to check out it’s javadoc to see what this small helper class can do for you :-) We’ll focus on two of it’s methods. [...]
Tags:
java,
jdk7,
lang,
oop,
release,
tips,
tricks