DJ Spiess on Flipboard

@deege | 3,954 Articles | 11 Magazines | 7,746 Followers | Coder, beer lover, extrordinaire

Applying Artificial Intelligence to Nintendo Tetris

The Mechanics of Nintendo Tetris

The aptly named Tetriminos class describes Tetriminos. It acts like an enum containing constants for all of the …

How to parse JSON string via command line on Linux

If you often deal with JSON-formatted texts from the command line or in shell scripts, you may wonder if there is any command-line utility which can …

Linux

Pure CSS Dancing Tree

Pen Actions

PCreate New Pen

SSave

IInfo Panel (if owned)

⇧5Re-Run Code

Editor Commands

[Indent Code Right

]Indent Code Left

/Block Comment

⇧ TabTidy Up …

JavaScript

Java 8 Repeating Annotation Explained in 5 minutes

At IDRSolutions, I have been working on our new JavaFX PDF viewer implementation. In doing so , I have been taking advantage of the new features that …

Java

Fixing Java 8 Stream Gotchas with IntelliJ IDEA

Java 8 has been released almost one year ago in March 2014. At Pondus we've managed to update all of our production servers to this new version back …

Java

Controlling Complexity in Swift — or — Making Friends with Value Types

People tell you that you’re supposed to avoid mutable state, but how can anything happen if you never call a setter? People tell you that you’re …

Core Data

Immutable values and iOS

Recently, the iOS development circles have been pretty busy talking about functional programming concepts. One of those is using immutable values, …

Values

Storing and querying RDF in Neo4j

Hands-on experience with another NoSQL database manager.In the typical classification of NoSQL databases, the "graph" category is one that was not …

RDF

Comics Relief: CONVERGENCE Gets A Purr-fect Cover, Stan Lee Teaches Superhero History, & More SECRET WARS

It’s Comics Relief time kids, and this week we’ve got news on how you can get certified in “Superhero 101″ from none other than Stan Lee himself, …

Architecting Your App for WatchKit with Natasha Murashev (Video) via @realm

Sign up to be notified of new videos — we won’t email you for any other reason, ever.

Overview (0:00)

When you’re developing for the Apple Watch, you …

iPhone

Gigantic

Choose your hero. Summon your guardian. The battle awaits!

Gigantic is a team action game where heroes battle alongside a massive guardian in a fight …

Xbox

Ben Carson: Prisons Prove Homosexuality Is A Choice

Less than 1 min
TO READ

“Prisons prove being gay is a choice because many people enter the slammer straight and walk out gay.”

Prisons prove being gay …

Ben Carson

Myth Busting Docker: Six Reasons Why the Containerized Future is Closer Than You Think

Even in an era where cloud is becoming the preferred application platform, and where DevOps is set to dominate application delivery initiatives, …

Containers

8 Tips to Help You Work Better With Git

Git is a very powerful version control system. It can be a little bit daunting to try to learn everything around it, so most people just use the …

Version Control

Turning the database inside-out with Apache Samza

This is an edited and expanded transcript of a talk I gave at Strange Loop 2014. The video recording (embedded below) has been watched over 8,000 …

Databases

Microservices must serve the business

This post originally appeared as Microservices must serve the business on our COO, Carlos Meléndez, Under Development blog at InfoWorld and is

Architecture

Library patterns: Why frameworks are evil

This article is a follow up to my previous blog post about functional library design, but you do not need to read the previous one, because I'll …

FizzBuzz

FizzBuzz is a classic programming problem / interview question. In this post we'll solve FizzBuzz in SQL using a row generator.The FizzBuzz …

Oracle

STUDY REVEALS AVERAGE TECH WORKER’S WARDROBE IS 85% FREE TECH T-SHIRTS

A team of UC Berkeley researchers has discovered that the 85% of the average tech worker’s clothes are free tech t-shirts, hoodies, and other …

TodoMVC

Helping you select an MV* framework - Todo apps for Backbone.js, Ember.js, AngularJS, Spine and many more

Syntax

Valve announces Source 2 engine, free for developers

Valve has just revealed Source 2, a new, more powerful game engine, at Game Developers Conference 2015.

The Source 2 engine is a successor to the original Source engine, which debuted in June 2004 with the launch of Counter-Strike: Source. Games running off the original Source engine include Valve …

Half-life

How to Map Distinct Value Types Using Java Generics

Occasionally the average developer runs into a situation where he has to map values of arbitrary types within a particular container. However the …

Java

Swift: Madness of Generic Integer

Handling Integers with Swift is not an easiest task. Especially when I need generic function that can do some work on any kind of Integer.

There is 11

Protocol

RaspBMO (Handheld Raspberry Pi Emulator)

Presenting my second handheld emulator project based on everyone's favorite sentient game console. The specs are as follows:
Overall size: 4" X 5" X …

DIY

Employers Complain of Rising Premiums, But Workers’ Comp Is at 25-Year Low

Despite the drumbeat of complaints about costs, employers are paying the lowest rates for workers’ compensation insurance than at any time in the …

North Dakota

Robots are hurting middle class workers, and education won’t solve the problem, Larry Summers says

AFP PHOTO / JOHANNES EISELETwo weeks ago, the famous economist Larry Summers sat in a chair on a stage at the National Press Club, talked with …

Economics

Superhero Bits: Green Lantern, Luke Cage, Wolverine, Avengers: Age of Ultron, Stan Lee, Supergirl - /Film

Will the Luke Cage show be a little more violent than the other Netflix shows? What’s going on with DC’s Green Lantern? What’s the name of the latest …

Green Lantern

Solder a Mini Flip Light

The argument for a basic income - CNN.com

John D. Sutter is a columnist for CNN Opinion and creator of CNN's Change the List project. Follow him on Twitter, Facebook or Instagram. Email him at ctl@cnn.com. The opinions expressed in this commentary are solely those of the author.

(CNN)Earlier this year, I visited a town where residents are …

Basic Income