Skip to main content

Drupal: Darrell Ulm User Profile

The Drupal Profile for Darrell Ulm and links to projects such as the Google Books module and other git commits to Drupal projects.

The profile contains information about other projects like IP Path Access, a module to block access by IP for specific pages, except for set IP address or IP address ranges.

Some other projects contributed are Site Map, Sunlight Congressional Districts, and File Field Role Limit.

And it appears the profile has been active for just over 10 years, and recently obtained the Acquia Certified Drupal Developer specification, via a test.

Here is the Drupal profile link for Darrell Ulm.

Also similar posts and info. is obtainable at: SuperPowerPlanet, WordPress, and Tumblr for a different organization of the contents.

Popular posts from this blog

Apache Spark Knapsack Approximation Algorithm in Python

The code shown below computes an approximation algorithm, greedy heuristic, for the 0-1 knapsack problem in Apache Spark. Having worked with parallel dynamic programming algorithms a good amount, wanted to see what this would look like in Spark.

The Github code repo. for the Knapsack approximation algorithms is here, and it includes a Scala solution. The work on a Java version is in progress at time of this writing.

Below we have the code that computes the solution that fits within the knapsack W for a set of items each with it's own weight and profit value. We look to maximize the final sum of selected items profits while not exceeding the total possible weight, W.

First we import some spark libraries into Python.

# Knapsack 0-1 function weights, values and size-capacity. from pyspark.sql import SparkSession from pyspark.sql.functions import lit from pyspark.sql.functions import col from pyspark.sql.functions import sum
Now define the function, which will take a Spark Dataframe w…