• Why OSGi? Or why not using it makes your JVM runtime unsafe.

    Updated: 2012-08-31 22:09:18
    . var log mind Dhananjay Nene†s opinions on programming , design , architecture and the internet RSS Blog Archives About Why OSGi Or Why Not Using It Makes Your JVM Runtime . Unsafe Jan 21 st 2012 Comments Not sure how long ago I started using OSGi . Perhaps it was 12 months ago or then perhaps 18. And yet I still find it painful using OSGi especially every time I bring in a foreign set of jars into the ecosystem . And yet I continue to be a dogged proponent . Here†s . why First let us understand one of the many problems OSGi solves . Let us imagine your java application has exactly three classes . One is the class you wrote called “My.java” bundled in a jar called “my.jar” . Another is a class called “Uses.java” whose api and features are leveraged by “My.java” and is

  • Making matrices with zeros and ones

    Updated: 2012-08-30 17:02:00
    So I was trying to figure out a fast way to make matrices with randomly allocated 0 or 1 in each cell of the matrix. I reached out on Twitter, and got many responses (thanks tweeps!). Here is the solution I came up with. See if you can tell why it...

  • Giving Data to JavaScript

    Updated: 2012-08-30 14:12:00
    K . Scott Allen Experiments In Writing Home Giving Data to JavaScript One set of common questions in the world of ASP.NET MVC JavaScript revolve around getting data from the server into JavaScript . This isn't about pulling data with SignalR or the WebAPI , but questions along the lines : of How do I generate an ActionLink in JavaScript and not hard code a URL How do I get the URL for a WebApi How do I get the ID value of something when the user clicks an item in a list If your JavaScript lives inside of your view , you can always use a Razor code expression to inject a value directly into the script . However , this doesn't solve all the scenarios listed above , and if your JavaScript is in an external js file you don't have the ability to use code expressions . Here are a few techniques

  • Clojure & CFML Sitting In A Tree slides posted

    Updated: 2012-08-30 07:27:09
    An updated version of my slide deck for my case study talk about Clojure and CFML at World Singles has been posted to my presentations page. I'm happy to give the talk to other user groups, even remotely if you have the capability for a remote presenter. The talk runs about two hours, or longer depending on the amount of Q&A.

  • My Favorite Visual Studio 2012 Features

    Updated: 2012-08-29 14:12:00
    K . Scott Allen Experiments In Writing Home Giving Data to JavaScript My Favorite Visual Studio 2012 Features I've grown fond of the following features in Visual Studio 2012. Round Tripping Projects Because Visual Studio 2012 doesn't convert solution and project files , you can use 2012 even when the rest of the team uses VS2010. Finally Quick Launch Even when you know where the option or menu item lives , it's often quicker to hit Ctrl+Q and type a few letters to find a command or option . SQL Server Object Explorer It's the real object explorer from SQL Server Management Studio now available in VS . Go to View SQL Server Object Explorer , or use a Ctrl+ Ctrl+S shortcut . You can manage server logins , drop databases , and open a new , un-crippled query window . Search Solution Explorer

  • ASP.NET MVC - Highlight Current Link

    Updated: 2012-08-27 14:12:00
    K . Scott Allen Experiments In Writing Home Async in Entity Framework 6.0 ASP.NET MVC Highlight Current Link In an ASP.NET MVC application , there are many different solutions you might use to highlight the menu item for the current location . Here's one a custom HTML helper for building menu items . The custom helper will detect if the link is a link to the current action , and if so the helper adds an additional CSS class to the link currentMenuItem public static MvcHtmlString MenuLink( this HtmlHelper helper , string text , string action , string controller var routeData helper.ViewContext.RouteData.Values var currentController routeData[ controller var currentAction routeData[ action if String.Equals(action , currentAction as string StringComparison.OrdinalIgnoreCase

  • Work at World Singles? CFML / Clojure Developer wanted!

    Updated: 2012-08-11 04:38:29
    An Architect's View CFML , Clojure , Software Design , Frameworks and more . front page Archives Presentations Software RSS Work at World Singles CFML Clojure Developer wanted August 10, 2012 3 Comments We're expanding our Clojure CFML development team and looking for our next Senior Web Applications Developer You'll get to work from home full-time , with myself , Charlie Griefer and the rest of our small but growing development team spread out across the USA . You'll work on our Internet dating platform in both CFML and Clojure . We're all-Mac for development and all-Linux for deployment so you'll need to have some nix chops and we'd prefer folks with MySQL and MongoDB experience . Yes , I know that's a pretty specific set of skills but we can be flexible if you're the right person for

  • Programming Language Popularity – Part Five

    Updated: 2012-08-04 18:38:16
    I compiled some programming language popularity statistics in April 2009, October 2009, October 2010 and September 2011 . Here’s an update for August 2012: I made a number of Google searches of the forms below and summed the results (some earlier posts averaged the results): "implemented in <language>" "written in <language>" Naturally this is of very limited [...]

Current Feed Items | Previous Months Items

Jul 2012 | Jun 2012 | May 2012 | Apr 2012 | Mar 2012 | Feb 2012