This is a quick write-up on how to get started with graphite as a .Net developer. We’re going to start using graphite with a virtual machine in VirtualBox, although you could use something else also. Steps: Download/install VirtualBox Download/install Ubuntu Download/install Graphite Expose VM to network Use Graphite from C# Download/install VirtualBox Start by downloading [...]
Graphite with .Net and Ubuntu 11.10
January 4th, 2012 by Henrik Feldt — .Net, Tips & Tricks
Tags: devops, graphing, graphite, open source, statsd, ubuntu
Facebook Test Java API release 1.1.5
October 20th, 2011 by Tobias Södergren — Java, Testing
The Facebook Test Java API framework has been updated. There are two additions to the API and one bugfix: Bugfix for NPE when calling facebookStore.createTestUser(false,”…”). Added possibility of using a provided HttpClient instance in HttpClientFacebookTestUserStore. Added unit test that displays the use of json-path when asserting data. Here’s a quick reminder of how to create [...]
Tags: Facebook, framework, Java, open source, test
Invoke any Method on any Thread
August 8th, 2011 by Fredrik Olsson — Architecture, Cocoa, Dynamic languages, Tips & Tricks
I previously wrote a blog post titled Performing any Selector on the Main Thread detailing a convenience category on NSInvoication for easily creating invocation objects that could be invoked on any thread. This category has served me well, and even got traction in the iOS developer community, so I never bothered to stop and think [...]
Tags: concurrency, design patterns, iphone, mac, objective-c, open source, programming, tips, tutorial
The state of iOS Open Source – and what to do about it!
May 16th, 2011 by Fredrik Olsson — Architecture, Cocoa, Tips & Tricks
There is a vibrant community of open source projects for iOS. You need a calendar UI components or a JSON parser? No problem, the projects are out there. Most code out there is of very high quality. Unfortunately the distribution of the code is generally very crude, barely half a step away from sharing code [...]
Tags: frameworks, iphone, maven, mobile, objective-c, open source
Java API for testing Facebook application integration
February 3rd, 2011 by Tobias Södergren — Java, Testing
Since november 2010 you may create test user accounts on Facebook for your application, so that you may test your application without creating dummy accounts and possibly break the Facebook EULA. The test users may be managed using the Facebook Graph API. The application I was working on, which integrated with Facebook, needed automated integration [...]
Tags: Facebook, frameworks, open source, testing
Awaitility – Java DSL for easy testing of asynchronous systems
July 20th, 2010 by Johan Haleby — Java, Testing
Introduction Testing asynchronous systems is hard. Not only does it require handling threads, timeouts and concurrency issues, but the intent of the test code can be obscured by all these details. Awaility is a DSL that allows you to express expectations of a asynchronous system in a concise and easy to read manner. Simple example [...]
Tags: automated testing, concurrency, Java, open source
Performing any Selector on the Main Thread
March 30th, 2010 by Fredrik Olsson — Cocoa, Embedded, Tips & Tricks
Many UI frameworks, including AppKit for Mac OS X and UIKit for iPhone OS, require that all methods to UI components are sent on the main UI thread. Cocoa and Cocoa Touch make this quite easy by providing for example -[NSObject performSelectorOnMainThread:withObject:waitUntilDone:] in Foundation. Making updating the text for a text field a snap: [someTextField [...]
Tags: cocoa touch, concurrency, iphone, mac, mobile, objective-c, open source, programming, tips, tutorial
The easy way to test Android applications
January 28th, 2010 by Renas Reda — Android, Testing
I’m going to guess that most of you know what instrumentation is. In the event that you don’t, instrumentation is a feature in which specific monitoring of the interactions between an application and the system is made possible. Instrumentation also makes it possible to write test cases that interact with the application. The problem with [...]
Tags: automated testing, frameworks, junit, open source, tools
One artifact with multiple configurations in Maven
January 21st, 2010 by Henrik Larne — Java, Tips & Tricks
Problem When working on www.beertoplist.com I ran into a Maven problem, that is fairly common: Having a project that should be configured differently for different environments. That is for instance you want one configuration for development, one for test and one for production. I wanted a solution that allowed me to make changes to all [...]
Tags: maven, open source, programming, tools
Classloader Deep-Cloning without Serialization
December 23rd, 2009 by Johan Haleby — Java, Testing
Background In PowerMock we’re using a custom classloader to byte-code manipulate classes that are normally not mockable to make them mockable. But when running a test case there may be some cases when the user needs to byte-code manipulate a certain class (X) in the first test method but needs to have the class unmodified [...]
Tags: classloader, deep-cloning, frameworks, junit, manipulate, open source, powermock, serialization, tools
PowerMock + TestNG = True
December 14th, 2009 by Johan Haleby — Java, Testing
After having it on our todo list for at least a year we’ve finally managed to integrate PowerMock with TestNG 5.11 as of PowerMock version 1.3.5. This is a big milestone of the project since we’ve now demonstrated that PowerMock is decoupled from both a specific test framework and a specific mock framework. The TestNG [...]
Tags: frameworks, open source, powermock, testng
Referential Integrity using Spring LDAP
December 7th, 2009 by Vlado Palczynski — Java
The directory servers of today are packed with a lot of nice features, one of them being Referential Integrity which performs integrity updates on attributes like member, uniqueMember, owner etc. Simpler put, when an entry updates its distinguished name, all references using the old distinguished name get updated to the new one. However, there can [...]
Tags: open source, programming, referential integrity, spring, spring ldap
Getting Android SDK working on Ubuntu 64
October 21st, 2009 by Johan Haleby — Android
Today I was trying to setup the Android SDK (version 1.6_r1) on the 64 bit version of Ubuntu 9.04 (Jaunty Jackalope). After having installed the ADT Eclipse plugin and pointed out the Android SDK directory in the settings I immediately ran into the following error: Failed to get the adb version: Cannot run program “/home/johan/devtools/android/android-sdk-linux_x86-1.6_r1/tools/adb”: [...]
Tags: linux, open source, tools, ubuntu
Pimp-my-Pumpkin!
October 16th, 2009 by Peter Neubauer — Embedded, Java
As Halloween is approaching and the aftternoons grow rainy, it’s time for some tinkering. So, why not try to get the pumpkins a bit more interesting than cut-out veggies? Getting some tinkerers together was no problem, so we got three families with kids, 4 pumpkins, one LEGO Mindstorms set and 2 Arduinos to start with. [...]
Tags: innovation, lego mindstorms, open source, programming
Social Computing or Let the bots talk!
September 1st, 2009 by Peter Neubauer — Architecture
This is a long article to follow up my talk at SSWC, so I will start with a summary for the lazy reader Summary With connected devices, JavaScript enabled web sites and the extensibility of the XMPP protocol, we are at the beginning of a new kind of applications that are operating in the social [...]
Tags: linkedprocess, neo4j, open source, social computing, web, xmpp
