All blogs / Software / engineering practice
Gary Sieling
Software Engineer
Software / engineering practiceDatabasesDevOps / SRE / infrastructureJavaScript / TypeScript
- Posts
- 740 from 20 Jan 2012 to 17 Jun 2026
- Posting
- now and then (1 in the last year)
- Kind
- personal blog
- Feed
- https://www.garysieling.com/blog/feed/
2026 1
2025 1
2024 5
- Import a folder of CSVs into a single Google Sheet (1 per tab)
- R Code to summarize Dept of Ed, Civil Rights Data by school district / LEA
- Export Census ACS5 data by GEOID/block group to CSV in R
- Get US Census population by block group (GEOID) in R
- Get a list of census fields available at the GEOID (block group) level in R
2023 9
- PA Senate Committees 2023 CSV Download
- PA House Committees CSV 2023
- Shapefile of 599 police districts in PA
- Exporting GeoJson data from ESRI Arcgis
- Importing Shapefiles (geojson etc) to Google Maps
- Scraping PA House/Senate Committees to JSON or CSV
- Getting GeoJSON for radio station coverage
- Geocoding with Python
- React Leaflet GeoJSON Component-based Popup
2022 11
- - Gary Sieling
- A simple implementation of data shadowing in R
- OpenAPI Generator CLI – Override a single file
- R: quote vs expr
- R: Read Garmin activity export summary to a dataframe
- R: Read file as text
- R: Plotting CPU% over time
- R: Convert Docker stats output into tabular form
- R: Convert from GiB, MiB, KiB to bytes
- Docker Local Volume – share local folder, includes minikube instructions
- Summarize Withings Sleep data from R
2021 3
2020 5
2019 27
- DynamoDB putItem in Javascript example
- Machine Learning with MXNet to Recognize Household Appliances
- My experience with Apache Zeppelin
- How to get a list of all Cloudformation types in Javascript
- Fix error: /usr/bin/ld: cannot find -lcblas
- Add exif data to frames extracted from videos
- Get frames from a video with ffmpeg
- Extract exif data from images (docker container)
- “SELECT DISTINCT” in AWS Config
- ffmpeg – split video into frames
- Debugging AWS Services with Lambda
- Use “describe-stack-resources” on a nested stack
- Get the stack name of a nested stack in Cloudformation
- Fixing error mounting EBS volume: “appears to contain a partition table (dos).”
- Cloudformation – get the current status of a stack
- Fixing error: “Subnet group name can not be blank.”
- Fix error: “Exactly one of SnapshotIdentifier and MasterUsername must be specified”
- AWS::S3::BucketPolicy – Example with a role
- Fixing: An error occurred (EntityAlreadyExists) when calling the CreateOpenIDConnectProvider operation: Unknown
- S3OriginConfig example
- Cloudformation S3 Website Template
- Specify Canned ACL for S3 website access log buckets in Cloudformation
- Gatsby define global document variable
- aws cloudformation list outputs
- AWS S3 Cloudformation: S3 CORS example
- Apache Zeppelin Form Select Example
- Draw a rectangle on an image with javacv in Scala
2018 53
- Loop over a randomized list of files in bash
- Retinanet Dockerfile with GPU support
- Using apt in a docker Dockerfile
- Customize WordPress footers by tag
- Tensorflow- where do log files go?
- Script to download all models from Apache Gluon ModelZoo
- Make Intellij Render on a Dell XPS 15 4k Display
- Tuning Solr (Lucene) Disk Usage
- jq: Boolean to integer
- Fixing Vespa error: curl: (7) Failed to connect to ::1: Cannot assign requested address
- GatsbyJS: First impressions
- AWS Lambda Experiment results
- Youtube-dl in AWS Lambda
- AWS Lambda + Node: index.handler is not defined
- DynamoDB: SELECT count(*) from table
- Using Postgres in Docker
- Use Cats Effects, Doobie to run and connect to a Postgres Docker image
- Fix ffserver error “Missing Audio stream which is needed”
- Install OpenCV with homebrew on Mac OSX and Python 3
- Fix: ModuleNotFoundError: No module named ‘opencv’
- Convert cv2 image to mxnet image
- Overlay one part of an image on another in OpenCV with Python
- Draw a filled white rectangle with OpenCV in Python
- OpenCV – Convert HSV image to grayscale with hue or saturation channel
- Stream Video from AWS DeepLens to OpenCV
- Stream video from AWS DeepLens camera over HTTP
- How to get a series of still frames (jpeg) from AWS DeepLens camera
- Upload frames from AWS DeepLens camera to slack
- Send JSON data to Splunk Cloud with Python
- Reverse the docker run command
- OS X:
- Stream AWS DeepLens video to a Windows PC over wireless
- AWS DeepLens facial recognition project setup
- AWS DeepLens Setup
- AWS DeepLens: “Awaiting Credentials”
- Parse/tokenize a string with Lucene 7.3.0
- Docker: run from registry
- Fixing Docker error: In the default daemon configuration on Windows, the docker client must be run elevated to connect
- Fix docker error: “Error starting userland proxy:”
- Download a solr index via scp
- Query a Solr/Lucene Repository from Scala
- Fixing error where jCuda and ND4j/Nd4s interact
- Print GPU Free and Total Memory in Java
- Fixing Java error: jcuda.CudaException: CUDA_ERROR_INVALID_CONTEXT
- Fixing scala error java.util.MissingFormatWidthException: %0.2f
- Fixing Scala error on String.format: overloaded method value format with alternatives:
- Box/unbox a primitive in Scala
- Scala: time methods and track average & variance
- Time method and print memory use in Scala
- Fixing .lang.OutOfMemoryError: Physical memory usage is too high: physicalBytes = 1G > maxPhysicalBytes = 995M
- Fixing “Invalid maximum heap size: …”
- Add CUDA to an SBT project
- Talk: “Building a Discovery Engine with Machine Learning”
2017 19
- Fixing sbt error: java.lang.UnsatisfiedLinkError: Native Library C:\Users\gary\.javacpp\cache\nd4j-native-0.9.1-windows-x86_64.jar\org\nd4j\nativeblas\windows-x86_64\jnind4jcpu.dll already loaded in another classloader
- Back up and restore Solr using CSV export and import
- Concept Search
- Suggested Search on Historic Videos
- Semantic-UI React: 100% width search box
- Fix TypeScript error: Property ‘keyCode’ does not exist on type ‘FormEvent’.
- Fixing error talking to Solr: “Unexpected token :” over JSONP
- Fixed error: AttributeError: ‘Word2Vec’ object has no attribute ‘size’
- Node error: stdout is not a tty [Fixed]
- Python Annoy + GloVe example
- Nd4j – normalize vector
- Adding Solr “/get” handler
- Fixing Solrj error: ” Expected mime type application/octet-stream but got text/html. “
- Download a file from a server with scp
- Fixing Solr Error: “TokenizerFactory is using deprecated 5.5.0 emulation. You should at some point declare and reindex to at least 6.0, because 5.x emulation is deprecated and will be removed in 7.0”
- Running word2vec in a remote Jupyter notebook
- Full-Text Search within Closed Captions
- Convert a folder of mp3s into 1 second wav files with SOX
- Apply FFT to a list of wav files with Python
2016 327
- Node: execSync example
- Get array from JSON in Scala Play
- Scala: recursively calling span
- Fixing error: edu.stanford.nlp.ling.CoreLabel cannot be cast to scala.runtime.Nothing$
- Scala Play JSON example
- Using Loki.js in Node scripts
- solr-node-client configuration
- Fixing Typescript error: error TS2430: Interface ‘NodeBuffer’ incorrectly extends interface ‘Uint8Array
- Upgrading type bindings with Typings
- Typings: List Versions
- Node Development on Ubuntu Bash on Windows 10
- Fixing Node error: “Invalid string length”
- Fixing error ” AttributeError: ‘module’ object has no attribute ‘global_variables_initializer'”
- Tensorflow Python Setup on DigitalOcean
- Connecting to a Django app on DigitalOcean
- Fixing error “Killed” with Django
- ufw allow port
- Using Sonatype Nexus with Yarn (npm replacement)
- Building responsive grids with React Bootstrap
- Filter and Freeze top row in Apache POI
- Make all objects in a Google Cloud Bucket Public
- Convert VTT subtitles to SRT
- Run youtube-dl without downloading videos
- Getting started with the Google Cloud Speech API
- Recording on-site behavior in Google Analytics
- Using the Cloudflare API to clear the cache and Enable Development Mode
- Screenscraping Deepgram to map filenames to content IDs
- Fixing solr error: “java.lang.UnsupportedOperationException: cannot encode value: -119”
- Fixing error: praw.exceptions.ClientException: Required configuration setting ‘client_id’ missing.
- Comparing “lecture search” and Youtube
- Kill all node processes matching a pattern
- Replace in files recursively with sed
- Change Tika output format to text
- URLs to unload and reload Solr cores via curl
- Getting a list of books for a speaker from the Open Library API in Python
- Scoring documents for quality in Python – how often does a speaker say “um”?
- Fixing Python Unicode Errors
- Compute the Signal To Noise ratio in audio files in Python
- Solr: Query for the value closest to a user request
- Processing MP3s in python
- Experiments with Named Entity Recognition APIs
- Compute TF-IDF in Python with Google N-grams dataset
- Uploading JSON files to DynamoDB from Python
- Set up the AWS CLI on Windows
- IBM Watson vs Open Calais
- Extracting the text from a Wikipedia article
- Book Review: Relevant Search
- Update documents in Solr from Node
- Avoiding NullpointerException in AddSchemaFieldsUpdateProcessorFactory$AddSchemaFieldsUpdateProcessor.mapValueClassesToFieldType
- Fixing Solr error org.noggit.JSONParser$ParseException: Expected quoted string: char=(EOF),position=15 BEFORE=”
- Postgres: select ‘explain’ output into a query
- Get the Postgres format for an index expression
- Import Google Ngrams data into Postgres
- Access OpenCalais from Node.js
- Installing a clean copy of OS X El Capitan on a new Apple ID
- Fixing scala error with reduce: java.lang.UnsupportedOperationException: empty.reduceLeft
- lodash: flatten tuples
- How to use Microformats in HTML or WordPress
- Fixing error: “Cannot find name ‘unescape'” in TypeScript
- Importing OpenLibrary data into RethinkDB
- Postgres: Explain + Notice
- MSBuild: How to make EmbeddedResource and file includes dependent on build configuration
- Fixing Jest error: Expected undefined to be ‘abc’.
- Using Jest with TypeScript
- Fixing error: SyntaxError: Identifier ‘jest’ has already been declared in file ‘dist\__tests__\import-editions-test.js’.
- Fixing error : Cannot find module ‘jest’ from ‘import-editions-test.js’
- Fixing error “TypeError: define is not a function” with TypeScript
- Changing path of files in Jest unit tests
- Bash – echo text and file contents
- Create readonly session in Postgres / psql
- Nodemon: watch typescript files
- Sonatype Nexus: clear npm cache
- Fixing error on npm login against a Nexus server: “Store operations are only valid for package roots”
- How to set process.env
- Search Engine for Non-Fiction Books (Product Concept)
- ZenDesk for web development projects: Project concept
- Search across DropBox, OneDrive, Google Docs (product concept)
- Open Source Calendly Replacement (Product Concept)
- Fixin Express.js error: Route.get() requires callback functions but got a [object Undefined]
- How to merge two arrays in RethinkDB
- RethinkDB reduce an entire table
- How to import a set of JSON files into RethinkDB
- Where Idea puts “idea.exe.vmoptions”
- Fixing overlapping subtitles from SRT files in Node
- Javascript function to find the overlap between two strings
- Google2SRT Alternatives for command line use
- Get subtitles from Youtube in SRT format
- Node error: ‘..’ is not recognized as an internal or external command [fixed]
- TypeScript: type definition for a function with a variable number of parameters
- Writing a Log4J alternative in TypeScript
- TypeScript enum example
- TypeScript: example of a function type
- Fixing node error “EMFILE: too many open files”
- Interestingness
- Lessons about search engines from building a Search Engine for X.509 certificates
- Parsing youtube subtitles in Node (srt files)
- Random Sort order in Solr
- Additive Boost in Solr
- Solr: bf vs bq
- “Explain” and “Analyze” in Solr
- List of Solr Functions
- Scala: filter vs withFilter
- Scala: Filter Strings and Lists with Regexes
- Scala – multi-line strings
- Strategies for difficult git merges
- Export a CSV file from Solr with Express.js / Node
- Running Typescript from within Node
- Scala: Check if a String fully matches a Regex
- Select relevancy score in Solr
- Fixing solr error: Unable to invoke function processAdd in script: update-script.js: Can’t unambiguously select between fixed arity signatures
- Scala regex split example
- Scala regex anchored example
- Retrieve all books for an author from the Amazon Product API
- Retrieve Book Metadata from the Amazon Product API
- Scala regex examples
- Scala: Filter None’s from a List[Option]
- Scala collect Option
- Listing of Stackoverflow Posts that are closed as Off Topic
- List of reasons Stackoverflow posts are closed
- Fixing java.lang.reflect.InvocationTargetException + java.nio.file.NoSuchFileException
- WordPress: Exporting Settings for a plugin
- WordPress: Add a custom type with custom fields
- Extracting the error messages from a Javascript file
- Extracting all the text strings from a Javascript file
- Lodash: clone without
- Estraverse: Accessing grandparent nodes
- WordPress: Register Taxonomy Example (register_taxonomy)
- Java 8 Lambda example
- Jersey Container Request: why getLanguage returns null
- Building a chart with React and D3, which supports brushing (selectable charts)
- Typescript Cast Example
- Typescript: OR type example
- Typescript: union type example
- Typescript Array Example
- Fixing Typescript error: Type ‘(number | [number, number])[]’ is not assignable to type ‘number[]’
- Fixing Postgres pg_load error: unrecognized configuration parameter “row_security”
- D3: Fixing clipped charts
- D3: Flip X axis
- Project Write-up: SSL Certificate Search Engine (Part 6: Future research)
- Making a selectable D3 chart
- Fixing Solr error: Cannot parse ‘audio_length:[0 to 900]’: Encountered \”
- Project Write-up: SSL Certificate Search Engine (Part 5: Data Analysis)
- Project Write-up: SSL Certificate Search Engine (Part 4: DevOps)
- Fixing “Cannot find module” loading JSX or Typescript modules in Node
- Fixing webpack error: “You may need an appropriate loader to handle this file type.”
- Fixing webpack error: Path must be a string. Received undefined
- Fixing webpack error: ERROR in Entry module not found: Error: Cannot resolve ‘file’ or ‘directory’ ./src/ssl_search/Entry.js in D:\projects\image-annotation
- Project Write-up: SSL Certificate Search Engine (Part 3: Data Acquisition)
- Using the Watson API from Node
- Fixing node error: 101057795:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:openssl\ssl\s23_clnt.c:794:
- TypeScript: typings example
- Fixing Typescript error: error TS2304: Cannot find name ‘React’.
- TypeScript import example
- Typings: “reference” example
- Fixing typescript error: Cannot find module ‘./categories’.
- Typescript error: Duplicate identifier errors using Node bindings
- Fixing typescript error: TS2304: Cannot find name ‘require’
- Fixing Typescript error: TS2666: Exports and export assignments are not permitted in module augmentations
- Lodash: reverse a map
- Typescript, Typings and require
- Using multiple entry points in Webpack
- Fixing webpack error: TypeError: request.replace is not a function
- Typescript and typings
- Typings: browser vs main
- Fixing Typescript/JavaScript error: TS1128: Declaration or statement expected.
- Fixing Typings error: Unable to find “react” (“npm”) in the registry
- Fixing Typings / bash error: “event not found”
- Fixing Typings error: EACCES: permission denied, open ‘/Users/gary/.config/configstore/typings.json’
- Fixing typescript error: Overload signatures must all be ambient or non-ambient.
- Project Write-up: SSL Certificate Search Engine (Part 2: UI Lessons)
- Bulk import JSON files into Solr
- Node: get all text within a div
- Fixing python error: ‘charmap’ codec can’t decode byte 0x9d in position 12180: character maps to
- Get all nested text within a tag with Beautiful Soup
- Project Write-up: SSL Certificate Search Engine (Part 1: Abstract)
- React Bootstrap: FormControl textbox Example
- React and Cloudflare, “bundle.js:38 Uncaught Invariant Violation: Unable to find element with ID 18”
- React: Performance improvements
- Fixing React error: “Input is changing a controlled input of type text to be uncontrolled.”
- Apache: forward directory to port
- Operationalizing a Node app: Webpack to Forever
- Node: log files with Forever
- Tail the output of multiple files
- Apache error: Invalid command ‘ProxyVia’, perhaps misspelled or defined by a module not included in the server configuration
- Fixing solr error: “/var/solr/data/core_name/data/index/write.lock”
- How to temporarily disable an iptables rule
- TypeScript public/protected/private example
- TypeScript Inheritance Example
- TypeScript class example
- Fixing: “React attempted to reuse markup in a container but the checksum was invalid.”
- TypeScript interface example
- Philly ETE talk notes: WebAssembly
- Visual Studio Code: fixing error “Cannot find module ‘eslint-plugin-react'”
- Visual Studio Code: Fixing ESLint says “Parsing error: The keyword ‘let’ is reserved.”
- Philly ETE Talk Summary: “Security Vulnerabilities in Third Party Code”
- Philly ETE Talk Notes: “Adventures in Elm: Events, Reproducibility, and Kindness”
- Philly ETE Talk Summary: Rust in Production
- Update data in Solr from Scala
- Fixing scala error: bad symbolic reference
- Scala: Read JSON from Solr
- Scala: match on value
- Scala/Java: print out entire SSL certificate without OpenSSL
- Philly ETE Notes: Protocol Buffers, gRPC, and Kubernetes
- Philly ETE Talk notes: NixOS
- Fixing webpack/node error: cannot resolve module ‘fs’
- Fixing webpack/npm error: ERROR in TokContext is not defined
- Preventing icon flicker when using glyphicons and Bootstrap
- Server-side rendering with Express and React
- Creating a sitemap in Express.js from a Solr database
- Get every other value from a list in lodash
- Fixing Express Error: TypeError: this.engine is not a function
- Fixing React error: Element type is invalid: expected a string (for built-in co mponents) or a class/function
- Using RabbitMQ with Scala Futures
- Scala: infinite duration / timeout for Futures
- Using RabbitMQ in Scala
- Creating a thread pool in Scala
- Scala: Cannot find an implicit ExecutionContext, either require one yourself or import ExecutionContext.Implicits.global
- SBT: pass arguments to main
- Scala Futures example
- Randomize an array in Scala
- Parsing the issuerDN / subjectDN in an SSL (X.509) certificate in Scala
- Unstaging a list of files in git
- Install Solr on Ubuntu
- Fixing solr error: /dev/null: Permission denied
- Fixing solr error: The currently defined JAVA_HOME refers to a location where Java could not be found
- Analyzing SSL Certificates in Scala with Akka
- Write CSV files in Scala
- Scala: concatenate ArrayBuffer
- Scala: wget/curl example
- Handling duplicate query string arguments in Express.js
- sbt: run command in one project
- Templated markdown with handlebars
- Show the current version, author, and dependencies for a node script
- A simple Pinboard API example
- Scala: read a file into memory
- Scala: new byte array
- Find the most viewed posts on Stackoverflow
- Query Stackoverflow by tag
- ???: Scala triple question mark operator
- Cast a class in scala
- Get current IP addresses in Scala
- Fixing sbt error: java.lang.RuntimeException: No main class detected.
- Converting Javascript objects to ES6 classes
- RethinkDB: FULL OUTER JOIN example
- RethinkDB: RIGHT JOIN Example
- RethinkDB: LEFT JOIN Example
- RethinkDB: INNER JOIN Example
- Why lodash “extend” or “assignTo” can skip properties
- Fixing error: Warning: getInitialState was defined on a plain JavaScript class. This is only supported for classes created using React.createClass.
- Fixing React error: Invariant Violation: ReactClass: You’re attempting to use a component class as a mixin. Instead, just use a regular object.
- Fixing React error: Uncaught TypeError: MyMixin is not a function(anonymous function)
- RethinkDB: coalesce example
- RethinkDB: CASE WHEN example
- RethinkDB: Fixing error “e: No attribute `last_name` in object:”
- RethinkDB: Upsert Example
- Expressjs: proxy requests to Solr
- Fixing Solr error: Error CREATEing SolrCore ‘new_core’
- WordPress: Add custom text to posts matching a tag
- Scala: while comprehension
- Fixing Aspose + scala error: package cells contains object and package with same name: b
- Simple TCP Traffic Monitoring
- How to filter out a MAC address in Wireshark
- Exclude your own traffic from Wireshark
- RethinkDB: Pivot Table Example
- RethinkDB: SELECT DISTINCT example
- RethinkDB: GROUP BY example
- RethinkDB: Fixing error “e: Object field ‘Title’ may not be undefined”
- RethinkDB: Sum example
- RethinkDB: Average example
- RethinkDB JOIN Example
- Fixing “Expected type TABLE but found SELECTION” in RethinkDB
- RethinkDB: “Expected type SEQUENCE but found SINGLE_SELECTION”
- Fixing “Expected type DATUM but found SELECTION” in RethinkDB
- RethinkDB: UNION example
- RethinkDB: UNION ALL Example
- RethinkDB: Column Alias Example
- Fixing “cannot convert number to sequence” in RethinkDB
- RethinkDB: NOT IN example
- RethinkDB: LIKE Example
- RethinkDB: DELETE example
- RethinkDB: Ends With Example
- RethinkDB: Starts with example
- RethinkDB: COUNT Example
- RethinkDB: Paging Example
- RethinkDB: ORDER BY example
- RethinkDB: Case insensitive sort
- RethinkDB: IN List example
- RethinkDB: SELECT * FROM …table…
- RethinkDB: Insert Example
- Accessing values in anonymous row types in Postgres
- Postgres Pivot Tables
- Rounding to significant figures in Postgres
- Book Review: Third Party Javascript
- React Hot Loader: First Thoughts
- Fixing “The following modules couldn’t be hot updated”, “Full reload needed”
- Fixing “Update check failed” with the React hot loader
- Book Review: Single Page Web Applications
- How to escape code blocks in Jekyll
- Fixing error “bash: browserify: command not found”
- HTTPS request with python
- Convert scaladoc output to Markdown and Jekyll
- Fixing scaladoc error “Cannot load the doclet class”
- Scala: fixing error “streamable is not a member of io”
- Build scala and scala API docs from source
- Get current directory in scala
- Scala getOrElse example
- Scala list comprehension
- Scala main
- Scala sortWith example
- Fixing scala error: “error: return outside method definition”
- Scala example “Hello World”
- Scala – generate a list of random numbers
- Scala fill example
- Listing object methods and class structure in scala
- Fixing the error “cannot create /dev/null: Permission denied”, “Operation not permitted” restarting Apache
- Scala array indexing
- Using RabbitMQ for ETL of cloud storage APIs
- Extracting images from PDFs in C#
- Fixing error: “output is not a tty” in Node
- Migrating Node.js apps from Heroku to Dokku
- Testing against multiple jQuery versions
- Lodash debounce example
- Building a Squarespace integration with Node.js
- Regular Expression to match Postgres Vacuum log statements
- Regular Expression for Postgres log messages warning of locks
- Computer Science in the Real World
- Node CommonJS Example Library Template
2015 75
- Sequelize: IS NULL / IS NOT NULL
- Sequelize Update example
- Monitor AppHarbor with the ELK Stack
- Monitoring a WordPress site with Filebeat
- Installing the ELK stack on Azure
- Logstash: fixing “Unable to fetch mapping. Do you have indices matching the pattern”
- Logstash: fixing permission denied errors
- Generate summaries for your WordPress blog posts using Python
- Fixing SSL23_GET_SERVER_HELLO:tlsv1in python
- Script to get values from wikiart pages
- A warning about #twitter advertising… (@TwitterSmallBiz, @TwitterAds)
- Change the owner for objects in a Postgres schema
- “Comparing Hosted Database Performance” on Compose.io blog
- Fixing “error ASPCONFIG: Could not load file or assembly ‘ClearScriptV8-32.DLL’ or one of its dependencies. The specified module could not be found.”
- Fixing scala error “error: recursive value count needs type”
- Scala headOption example
- Scala corresponds example
- Handling Circular Data Structures in Postgres
- “flatMap” in Postgres
- Postgres array concatenation example
- Postgres: JOIN on an array field
- Postgres: Inserting into an array
- Fixing scala type errors in gradle (“incompatible types: inference variable E has incompatible bounds” + “cannot infer type-variable”)
- Scala equivalent for java.String.format
- Scala – get current date and time
- Scala yield example
- Scala union example
- Scala unzip example
- Scala span example
- Scala stream example
- Scala filter example
- Scala take example
- Scala exists example
- Scala foldRight example
- Scala foldLeft example
- Scala collect example
- Scala ++ example (concatenating two lists)
- Scala flatMap example
- Scala case example
- Scala Lambda Example
- Scala zipWithIndex example
- Scala Zip Example
- Efficient storage of large IDs in Postgres
- List of all CSS color properties
- Getting a list of all CSS color properties with jQuery
- Using AppSettings in AppHarbor to keep connection strings out of your git repository
- Getting a list of all colors on a webpage
- Scala fold example (fold over tuples)
- Migrating a SQL Server Database from AppHarbor to Amazon RDS
- Fixing Oracle installer error PRVF-7501 : Sufficient space is not available at location “/tmp”
- Installing Solr 5.x on CentOS 7
- Fixing “Cannot allocate memory” with Solr 5.2.1
- Validating Application Performance in a cloud environment, using C#, Hangfire, and RethinkDB
- Computing Absolute Values in RethinkDB
- Using multiple aggregates (SUM, COUNT, AVG) in a RethinkDB query
- RethinkDB: Truncate table
- Writing a “count distinct” query in RethinkDB
- RethinkDB WHERE clause examples
- Liquibase autoIncrement startWith example
- Finding the number of rows of all tables in a SQL Server database
- Comparing two SQL Server databases with Liquibase
- RethinkDB “IS NULL” in a where clause filter
- Executing a “GROUP BY” in RethinkDB
- Using Hubot for Home Server Monitoring
- Finding template documents with RethinkDB and the Bing API in Python
- RethinkDB: Compute Levenshtein Edit Distance in python
- RethinkDB filter for the absence of a column in python
- RethinkDB cursor to array in python
- RethinkDB LIMIT rows query in python
- RethinkDB Python In-list example
- RethinkDB case insensitive query in python
- RethinkDB filter using equality condition in python
- RethinkDB filter by regular expression in python
- Rendering an SVG containing a zigzag stitch in Python
- Generate a sin wave svg in Python
2014 29
- Trace Logging with React
- Postgres: Time Travelling Debugger
- Auditing Data Modifications in Postgres
- Fixing NullPointerException in EdmNavigationPropertyImplProv.getMultiplicity
- Fixing OData/Olingo error: “Could not find an entity set or function import for ‘x’.”
- Fixing Olingo Error “Format of ‘1’ is not compatible with ‘Edm.String’.”
- Tips for Debugging Olingo Services
- Getting Started with OData in Java
- How to fix MojoFailureException configuring Olingo
- “Postgres for Developers” – Notes from PGConf NYC 2014
- Postgres High Availability (Talk Notes, PGConf 2014)
- PGConfNYC Keynote Notes (Gilt)
- PGConfNYC: KeyNote notes (Goldman Sachs)
- Mining Association Rules with R and Postgres
- Testing the output of tuned Postgres queries
- Extracting Dates and Times from Text with Stanford NLP and Scala
- Exception in thread “main” java.lang.RuntimeException: Error parsing file: edu/stanford/nlp/models/sutime/defs.sutime.txt
- Generating Machine Learning Models with Scikit-Learn
- UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\xe1′ in position 8: ordinal not in range(128)
- “ValueError: Mix of label input types (string and number)” when using LabelBinarizer
- Decision Tree Testing Lessons
- Convert scikit-learn decision trees to JSON
- Inspecting Postgres column types with SqlAlchemy
- Decision Trees: “Gini” vs. “Entropy” criteria
- Adding an “Export to Excel” Option in Fiddler
- Rendering scikit Decision Trees in D3.js
- Building a Decision Tree in Python from Postgres data
- Indexing the filesystem with SqlAlchemy and Postgres
- Hacking Customer Service with Python
2013 103
- Discovering Corporate Open Source Contributions
- “WTF does a Developer Evangelist do?”
- Testing ETL Processes
- Parsing Code in a Search Engine with Node.js
- Discovering Senior Developers from Source Code History
- Talk Summary: What is Acunu?
- Slides – Mining Source Code Repositories with Git and Solr
- Book Review: Secrets of the Javascript Ninja
- Using ORM layers to ease Support
- Base64 Encoding and Decoding Example in Scala
- Fixing Scala Error: Main method is not static in class X
- Improving Performance of Gradle + Scala Build with a compiler daemon
- Fixing Gradle Error: Cannot infer Scala class path because no Scala library Jar was found on class path: configuration ‘:compile’
- Fixing Gradle error: Cannot infer Scala class path because no repository is declared for the project.
- Querying Multiple Postgres Full-Text Indexes
- GIN vs GiST For Faceted Search with Postgres Full Text Indexes
- Fixing Issues Where Postgres Optimizer Ignores Full Text Indexes
- Fixing Solr error “no segments* file found in NRTCachingDirectory”
- Loading PDFs in PhantomJS using PDF.JS
- Maps of Shipwrecks Along the Florida Coast
- Finding Matching Images in Python using Corner Detection
- Fixing the error “TypeError: ‘undefined’ is not a function (evaluating ‘globalScope[‘console’][‘log’].bind(globalScope[‘console’])’)”
- Importing Data from Solr to Postgres with Scala
- A History of Philadelphia Churches through Maps, Part II
- Scraping Tabular Websites into a CSV file using PhantomJS
- Google +1’s and Search Rankings
- Finding Image Boundaries in Python
- Book Review: The Joy of Clojure
- Maps of Philadelphia Churches, Part 1
- Scraping a list of links from a document into a CSV file
- Finding Parties Named in U.S. Law using Python and NLTK
- Counting Presidential Signatures in U.S. Law with Python
- Book Review: Sea Monsters on Medieval and Renaissance Maps
- Generating Fractal Images with Fractal Machine and PhantomJS
- Summary of Weekly R News
- Visualizing Citations in U.S. Law
- Counting Citations in U.S. Law
- Convert a Javascript object to a CSV file
- Examining Citations in Federal Law using Python
- U.S. Laws vs. The Human Genome
- U.S. Code Available in XML Format
- Converting JSON to a CSV file with Python
- Scraping Google Maps Search Results with Javascript and PHP
- Generating Randomized Sample Data in Python
- Part of Speech Tagging: NLTK vs Stanford NLP
- Extracting Tables from PDFs in Javascript with PDF.js
- Exploring Zipf’s Law with Python, NLTK, SciPy, and Matplotlib
- Self-modifying Javascript objects
- Rhyming with NLP and Shakespeare
- Six Join Implementations in Javascript
- Scaling a DataFrame in Javascript
- SQL Execution Plans in Javascript
- Visualizing Six Million Files and Folders
- Building an Directory Structure Index in Python
- Creating N-Gram Indexes with Python
- Uncovering Lexical Relationships with Python and NLP
- Optimizing WordPress Tag Pages
- NLP Analysis in Python using Modal Verbs
- Book Review: Natural Language Processing with Python
- Scraping PDF text with Python
- Finding all images in HTML files over a certain size with Python BeautifulSoup
- Making Maps with Tilemill
- Processing Command Line Arguments in Java
- Javascript to remove line number, author, revision columns from Fisheye/Crucible
- Proxying HTTP requests with PHP
- Identifying important keywords using Lunr.js and the Blekko API
- Data Exploration in Javascript
- Visualizing Pigments with D3.js
- Parsing Javascript in Javascript
- Functional Programming Patterns in Four Popular Javascript Libraries
- Parsing PDFs at Scale with Node.js, PDF.js, and Lunr.js
- My First A/B Test… with Results
- Building a full-text index of git commits using lunr.js and Github APIs
- Full-Text Indexing PDFs in Javascript
- Lessons Learned from 0 to 40,000 Readers
- ExtJs JSON Reader Example
- Entity recognition with Scala and Stanford NLP Named Entity Recognizer
- Extracting PDF text with Scala
- Implementing k-means in Scala
- Scala zipAll Example
- Scala Tree Sort Example
- Extracting Social Media Vote Counts for Reddit, Twitter, Google+ and Hacker News
- Case Study: 10x File Copy Performance with Robocopy
- Reducing page load time by 75% with pngcrush and Apache caching
- Moving files and folders into hashed subfolders
- bash – md5sum – remove trailing newlines
- Cobol v. Fortran
- “Learning ExtJS 4” Review
- Scala vs. Clojure
- Building a Terabyte-scale Math Platform
- Philly ETE – Database as a Value
- Druid – A Column Oriented Database
- Philly ETE – Metor.js Talk Summary
- Philly ETE 2013 – Day 1 Keynote Summary
- Grep.js
- Job Title Trends in Computing Fields
- Simulating a Line-Following Robot in R
- Improving the default Android Keyboard
- Solr CSV DataImportHandler sample
- Solr DataImportHandler example with FileDataSource
- Robot Localization in R
- 2012 Side Projects
- Top Four Proposal Software Applications
2012 72
- Data Warehousing, NoSQL, and the Cloud
- Building a Naive Bayes Classifier in the Browser using Map-Reduce
- Fixing issues where ExtJS charts don’t render in IE
- ExtJS 3.4 Scatter Chart Example with Logarithmic Axis
- ExtJS 3.4 Trendline Example
- ExtJS 3.4 Scatter Chart Example
- Building a JSON webservice in R
- Unit testing in R
- Building a statistical significance testing web service powered by R
- ExtJS Area Chart Example
- R Error: “Error in readBin(fileR, “integer”, n = Length/2, size = 2, signed = TRUE, : invalid ‘n’ argument”
- ExtJS Listener Example
- ExtJS Stacked Bar Chart Example
- Marking time in R
- What is vSphere Hypervisor?
- What is ESX and ESXi?
- Book Review: Envisioning Information, by Edward Tufte
- Architexa Review
- Scraping Videos with PhantomJS
- ExtJS Pie Chart Example
- ExtJS Line Chart Example
- Finding the beat in R
- Book Review: R Cookbook
- ExtJS HtmlEditor Example
- ExtJS xtemplate Example
- What I learned from a failed iPad app
- ExtJS Tooltip Example
- New tool explores Flippa seller history and facilitates due diligence
- ExtJS ListView Example
- Detecting Pitches in music with R
- Installing CouchDB on a VirtualBox instance with Chef and Vagrant
- Fixing error “apt-get… return 100 expected 0” (Chef/Vagrant)
- Fixing Vagrant error “Chef::Exceptions::CookbookNotFound”
- Vagrant: “The following SSH command responded with a non-zero exit status. “
- Fixing “The box ‘base’ could not be found.” (Vagrant)
- First Philadelphia Node.JS Meetup
- Scraping a List of Adsense Sites Within a Niche
- Excel CSV list of Guitar Chords
- How to find Pitches in Music
- Using Prolog to Generate Test Data
- Printing all Prolog answers to a file
- How to Write a Wav File in Scala
- Finding Corporate Sponsors of Open Source
- Recursive cat
- How to find the URL of the current tab in a Chrome extension
- Reading the Youtube API from PhantomJS
- Scraping Adsense Ads with PhantomJS
- Don’t use Access-Control-Allow-Origin
- 1/3 of old Flippa website auctions point to abandoned sites
- Detecting parked domains
- Fixing org.apache.solr.common.SolrException: Length Required
- Detecting auction spam with Weka
- Generating ARFF files for Weka from Postgres
- A brief introduction to Weka
- Expert Search Statistics
- Advertisers used by banned sellers in Flippa auctions
- Converting git commit history to a solr full-text index
- ExtJS TreePanel Example
- Diagnosing Connection Leaks in Node.js and Postgres
- Proxying Apache Bench through Fiddler
- Advertisers referenced in Flippa auctions
- Building a Website Scraper using Chrome and Node.js
- Adding Adzerk Units to Blogspot blogs
- How to fix “Error: NAMESPACE_ERR: DOM Exception 14” in Chrome
- Fix to error installing “forever” for nodejs
- Installing postgres client for nodejs
- Sample Greasemonkey Script in Chrome to process local files
- VirtualBox error indicating VT-X not enabled in BIOS
- Error installing Ubuntu 64 bit Server on Oracle Virtual Box
- Diagnosing Disk I/O issues in a VPS
- Where is apc.php on Ubuntu?
- GeSHi WordPress Sample with Javascript