Tag: programming

  • Python for Data Science: A Rapid On-Ramp Primer

    In my last post, I was waxing poetic about an IPython Notebook demonstration that was one of my highlights from Strata 2014: "this one got me the most excited about getting home (or back to work) to practice what I learned" Well, I got back to work, and learned how to create an IPython Notebook. Specifically, I…

  • Using pydelicious to fix Delicious tags with unintended blank spaces

    I've been using the Delicious social bookmarking web service for many years as a way to archive links to interesting web pages and associate tags to personally categorize – and later search for – their content [my tags can be found under the username gump.tion, a riff on the original Delicious URL, del.icio.us]. In December…

  • How to approximate BorderLayout with GridBagLayout or BoxLayout

    I recently encountered some challenges using Java 6 Swing and AWT components to develop a GUI with a top-level BorderLayout, which did not prevent the shrinking of components in its CENTER area in response to an expanding JList in its WEST area. I provided more context about this problem (and its solution) in my last post,…

  • How to Prevent a JList in a JScrollPane on a JPanel from Resizing

    I've been working on a graphical user interface to enable a user to view, modify and add relevance judgments for a set of results returned by a search engine in response to a set of topics. The GUI was developed as part of some work I've been doing on the Text REtrieval Conference (TREC) 2012…