how-to

  • submit to reddit

SDP December 2011: Everything New in C++

Noam and I delivered on Tuesday a joint session called Everything New in C++ at the SELA Developer Practice. It’s been a really fun session to work on, even though it was also a cold reminder how easy it is to forget “The C++ Way” when you stay away...

0 replies - 1659 views - 12/09/11 by Sasha Goldshtein in News

What is Functional Programming? Part 2, Currying

In my last post, I provided a list of concepts that I found to be characteristic of functional languages. We’ve talked bout the first three so far.  

1 replies - 3878 views - 10/30/11 by Christopher Bennage in News

What is Functional Programming? Part 3, Recursion

In the first post in this series, I provided a list of concepts that I found to be characteristic of functional languages. We’ve talked bout the first four so far.  

1 replies - 2413 views - 10/30/11 by Christopher Bennage in News

Using system alerts with the Windows Phone SDK 7.1

With the release of the new SDK developers also gained access to a new set of APIs. One of these revolves around the OS-based alert mechanism. If you’ve used a NoDo (or pre-NoDo) device and activated a standard system alarm or used the calendar to...

0 replies - 2558 views - 10/08/11 by Den Delimarsky in Articles

If you don’t have pet projects, I don’t think I want you

I am busy hiring people now, and it got me thinking a lot about the sort of things that I want from my developers. In particular, I was inundated in CVs, and I used the following standard reply to help me narrow things down. Thank you for your CV. Do you...

14 replies - 4374 views - 09/13/11 by Ayende Rahien in News

The AppStore Business Model is Dead

Back in January, I argued that AppStores are not necessary as mobile economics mature and start to mimic web economics. Why do I need to download Skype from the AppStore when I can just go to Skype.com and do the same?

3 replies - 4162 views - 09/06/11 by Stephen Forte in News

How to sniff web traffic from Marketplace-based Android applications

There are cases when it is necessary to track the outgoing and incoming traffic related to Android applications. However, Android as a platform is not really friendly towards this kind of operations. The most common way I am analyzing the traffic that is...

0 replies - 4081 views - 04/03/11 by Den Delimarsky in Articles

Mock Static Methods using Spring Aspects

I am a Spring framework user for last three years and I have really enjoyed working with Spring. One thing that I am seeing these days is the heavy use of AspectJ in most of SpringSource products. Spring Roo is a RAD tool for Java developers which makes use...

4 replies - 4969 views - 01/25/11 by Shekhar Gulati in Articles

Counting Ruby Objects on the JRuby Heap

I got an email the other day from Michael Yuan. He had been working with some folks who were running an application on JRuby and they thought they might be seeing memory usage problems. Michael put me in contact with Greg Fodor, the CTO of Adtuition who sent...

0 replies - 6408 views - 10/08/08 by Gregg Sporar in News

Ajaxified Body

I've often wondered if it was possible to use Ajax to reload the main content of a web application without reloading the header, menu and footer. SiteMesh allows you to move these common elements to a decorator that gets wrapped around each page.

2 replies - 11697 views - 10/06/08 by Matt Raible in News

How To Implement Row Level Access Control In Lucene

Below I have written some fully functionally code that shows how you could implement row level access control in Lucene (2.3.2). Basically you have to index enough information to be able to search (in a single query) and find all documents that a given user...

0 replies - 6142 views - 10/02/08 by Aaron McCurry in News

GWT: Building A Model

The model layer of a GWT application has to be a little bit smarter than the model in many traditional web applications. It needs to be responsible for notifying the view layer of changes, as well as for receiving updates to its own structure. In desktop Java...

3 replies - 11586 views - 09/22/08 by Schalk Neethling in News

Design patterns and GWT

We have a calculator EntryPoint implementation that places a CalculatorWidget on the RootPanel, so we now need to provide this widget. This will be our own widget, composed of basic GWT components. CalculatorWidget will contain the view for our calculator...

2 replies - 47669 views - 07/21/08 by Schalk Neethling in News

How-To: Auto Deploy A Web Application In Tomcat Using The Maven Cargo Plugin

In the previous section we copied the WAR file manually under TOMCAT_HOME/webapps folder. Here we will automate the deployment using cargo plugin. Include the code below in pom.xml under the project root directory...

2 replies - 20029 views - 07/18/08 by karthikeyan Cho... in Tips and Tricks

Agile Web Development with Grails

Agile Development is all about developing code and seeking feedback from your users to make sure you’re developing what’s relevant. When changes are suggested, they must be affordable and reliable.

0 replies - 10431 views - 07/16/08 by Schalk Neethling in News