DZone's lack of a Python Zone

Check out DZone's Coding zone: https://dzone.com/coding. Hover over the "Coding" drop-down menu.

Notice anything lacking?

I'll give you a hint: Python.

They have "Frameworks", "Java", "Javascript", "Languages" and "Tools".

The "Languages" seems to be general programming, and the posts include Java, JavaScript and numerous other languages.

Let's …

more ...





Permutations, Combinations and Frustrations

The issue of permutations and combinations is sometimes funny.

Not funny weird. But, funny "haha."

I received an email with 100's of words and 10 attachments. (10. Really.) The subject was how best to enumerate 6! permutations of something or other. With a goal of comparing some optimization algorithm with …

more ...


FAERIE DUST™

Here's how to recognize a Faerie Dust request:

  1. We have identified a problem. It can be with almost anything: scalability, reliability, auditability, any Quality Measure.
  2. We're pursuing a specific technology. Typically, something that has the lowest impact on our architecture.
  3. We can't address anything other than this specific technology variation …
more ...

Testing with PySpark

This isn't about details of pySpark. This is about the philosophy of testing when working with a large, complex framework, like pySpark, pandas, numpy, or whatever.

BLUF

Use data subsets.

Write unit tests for the functions that process the data.

Don't test pyspark itself. Test the code you write.

Some …

more ...