• submit to reddit
Gary Sieling07/22/13
0 replies

Rhyming with NLP and Shakespeare

“Natural Language Processing with Python” has lots of motivating examples for natural language processing, focused on NLTK, which among other things, does a nice job of collecting NLP datasets and algorithms into one library.

Mitch Pronschinske07/21/13
0 replies

DZone Weekly Link Roundup (July 21)

Witness the 10 most epic design failures, check out all the best humorous lorem ipsum generators, get some performance lessons from Facebook, and hear a programmer's review of VisualStudio vs. Eclipse. Plus read a huge research overview of why mobile apps are so slow and hear about the new pure-JavaScript database.

Gary Sieling07/20/13
0 replies

Exploring Zipf’s Law with Python, NLTK, SciPy, and Matplotlib

Zipf’s Law states that the frequency of a word in a corpus of text is proportional to it’s rank – first noticed in the 1930′s. Unlike a “law” in the sense of mathematics or physics, this is purely on observation, without strong explanation that I can find of the causes.

Mitch Pronschinske07/20/13
0 replies

GitHub Releases Code Search API

GitHub's advanced code search is really comprehensive in providing so many filters with which to search GitHub's repositories. Now that amazing utility can be integrated into your site or app because GitHub just released an API for it!

Olga Kouzina07/20/13
0 replies

Why People Don't Understand How to Use Your Software

You’ve invested tons of effort, time, care and thought into your new software product. You live and breathe, sleep and wake up with it. You’ve been so thoughtful and caring about your future users, and you’ve performed to the best of your ability to make it the best software product in the world.

Mike Driscoll07/19/13
0 replies

PyPdf: How to Write a PDF to Memory

At my job, we sometimes need to write a PDF to memory instead of disk because we need to merge an overlay on to it. By writing to memory, we can speed up the process since we won’t have the extra step of writing the file to disk and than reading it back into memory again

Mike Driscoll07/19/13
0 replies

Connecting to Dropbox with Python

This article has a simple class for accessing my Dropbox. Once you’re connected, the client is instantiated and you can extract all kinds of information about your Dropbox.

Mike Driscoll07/19/13
0 replies

Python Logging: How to Log to Multiple Locations

Today I decided to figure out how to make Python log to a file and the console simultaneously. Most of the time, I just want to log to a file, but occasionally I want to be able to see stuff on the console too to help with debugging.

Jurgen Appelo07/18/13
0 replies

The New CEO: Creative Ecosystem Organizer

Jurgen Appelo recently became the CEO of a new company. He doesn't like the title Chief Executive Officer. So he came up with a new translation for CEO. Here's why he doesn't like the old title and how he came up with the new one.

Michael Norton07/18/13
0 replies

Best Practices are Subjective and Fleeting

Every team should be looking at their approach, questioning their perceptions, and putting their "best practices" to the test. Let's look at Hungarian Notation as an example of reviewing a "best practice".

Allen Coin07/17/13
0 replies

Dev of the Week: Dr. Richard Warburton

This week we're talking to Dr. Richard Warburton, developer at jClarity, author of an upcoming O'Reilly book on Java 8 Lambdas, and PhD in Computer Science.

Leigh Shevchik07/17/13
0 replies

In Any Language: Adapting to the Polyglot Programming Challenge

Do you write most of your software in the same language? If so, you might be getting left behind. One obvious tactic: get familiar with new languages and decide when to take them seriously.

Nick Johnson07/16/13
3 replies

Algorithm of the Week: Log Structured Storage

Typically, if you're designing a storage system, one of your major concerns is how to store the data on disk. You have to take care of allocating space for the objects to be stored, as well as storing the indexing data; you have to worry about fragmentation and extending existing objects.

John Cook07/16/13
0 replies

Bayes : Python :: Frequentist : Perl

Perl has the slogan “There’s more than one way to do it,” abbreviated TMTOWTDI and pronouced “tim toady.” Perl prides itself on variety. Python takes the opposite approach.

Gary Sieling07/15/13
0 replies

Building a Directory Structure Index in Python

I’m working through examples in “Natural Language Processing with Python” and found that the corpus I have to work with is large enough to require special performance tuning exercises.