sitepoint.com sitepoint.com

7 Things I Love About Sinatra

I first heard of Sinatra a couple of years ago and have been in love with it ever since. For those who haven’t heard of it, Sinatra is a DSL that is used to create web applications. It is written in Ruby and was originally designed by Blake Mizerany, but there’s now a core team who maintain and develop the code. In case you were wondering, it is named after Frank Sinatra, apparently for having so much class he deserves a...

marckean.wordpress.com marckean.wordpress.com

Australian Digital TV comskip.ini

This comskip.ini file works well for me using MCE Buddy with Windows Media Center. detect_method=255            ;1=black frame, 2=logo, 4=scene change, 8=fuzzy logic, 16=closed captions, 32=aspect ration, 64=silence, 128=cutscenes, 255=all validate_silence=1            ; Default, set to 0 to force using this clues if selected above. validate_uniform=1            ; Default, set to 0 to force using this...

feeds.5by5.tv feeds.5by5.tv

RVM and BDSM

Steve and Wynn caught up with Wayne Seguin to talk about his Ruby enVironment Manager and BDSM shell scripting framework projects. Discuss on Changelog News Join Changelog++ to support our work, get closer to the metal, and make the ads disappear! Featuring Wynn Netherland – Twitter, GitHub Steve Klabnik – Twitter, GitHub, Website Notes and Links Look us up at LSRC V next week. Madison Ruby Conference August 19-20, 2011 in...

  • Wynn Netherland
    W
  • Steve Klabnik
    S
1 min read
mkyong.com mkyong.com

How to convert properties file into XML file - Java

Many developers may not aware of this function, actually, the java.util.Properties class come with a storeToXML() method to convert existing properties data into a XML file. Note Please refer to this Properties JavaDoc for detail explanation. import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.util.Properties; public class PropertiesXMLExample { public static void...

jaxenter.com jaxenter.com

Virgo 3.0 RC2 Updates Equinox to Indigo Version

PLUS, GroovyServ 0.9 released, and the Kotlin issue tracker opened to public. Virgo 3.0 RC2 Updates Equinox to Indigo Version The second release candidate of Virgo 3.0 is out now. In this release candidate, the documentation is finished and has been frozen, and Equinox has been updated to the Indigo version. It also includes bug fixes for the Equinox jar being duplicated in lib and lib/kernel, and unnecessary...

jaxenter.com jaxenter.com

Ex-Sun Employees and CumuLogic Launch PaaS Beta

A beta with support for VMware vSphere, Cloud.com’s Cloudstack and Eucalyptus is now available. CumuLogic, whose Technical Advisory Board consists of ex-Sun Microsystems employees, including James Gosling, commonly referred to as the “father of Java,” and former CIO Bill Vass, have announced that the CumuLogic PaaS controller for private clouds is now available. This beta supports IaaS clouds...

mkyong.com mkyong.com

How to create XML file in Java - (DOM Parser)

DOM provides many handy classes to create XML file easily. Firstly, you have to create a Document with DocumentBuilder class, define all the XML content – node, attribute with Element class. In last, use Transformer class to output the entire XML content to stream output, typically a File. In this tutorial, we show you how to use DOM XML parser to create a XML file. DOM Parser Example At the end of the example, following XML file...

sitepoint.com sitepoint.com

DesignFestival: One JavaScript Design Pattern I Can’t Live Without

I thought it might be interesting to look at a JavaScript design pattern that I use a great deal. I settled on it gradually, over a period of time, absorbing and adapting influences from various sources, until reaching a pattern that offers the flexibility I need. Let me show you an overview, and then look at how it comes together: function MyScript(){} (function() var THIS = this; function defined(x) return typeof x !=...

Next Certified "ScrumMaster for Video Game Development" course

Announcing a two day Certified ScrumMaster for Video Game Development course  in Los Angeles on October 24th-25th at the Sheraton LAX, just before the IGDA Leadership Forum at the same location.  Plus attendees of this course will receive free admission to the Agile Game Development Gathering on October 26th.This two-day course not only provides the fundamental principles of Scrum, it also gives participants hands-on experience. This...

en.wordpress.com en.wordpress.com

Producer-consumer problem

So I’m not well schooled in this area of concurrency.  Poking around on the internet, I learned that the Producer-consumer problem is a classic problem in concurrency.  I was surprised at this at first, because when I read the description, I thought, “Problem?  What problem?  It’s nothing more than a buffered channel in Go.” Let’s say for simplicity that the objects we’re producing and consuming are integers and we want...