Commanding Chaos for Coworking, Open Source and Creative Communities

code

The Drupal 8 version of EntityFieldQuery

Tue, 07/08/2014 - 09:08 -- rprice

In this query, we retrieve the node ids of all the published nodes that have been last updated before the current time, that have the word cat inside their title and that have a taxonomy term called cats as a reference in the field_tags. As you can see, there is no more distinction between propertyCondition and fieldCondition (as there is in D7 with EntityFieldQuery). Additionally, we can include conditions based on referenced entities tacking on the entity.(column) to the entity reference field name.

drupaleasypodcast
code
oop
drupal8

Programming Sucks

Wed, 06/11/2014 - 20:19 -- rprice

There's a theory that you can cure this by following standards, except there are more "standards" than there are things computers can actually do, and these standards are all variously improved and maligned by the personal preferences of the people coding them, so no collection of code has ever made it into the real world without doing a few dozen identical things a few dozen not even remotely similar ways.

Programming
code

Creative coding; discovery and joy | The Pretentious Gamer

Fri, 07/12/2013 - 12:22 -- rprice

This particular video was using footage of the results from a 6 hour crash course with students who had no programming experience. They began with the source code for a simple breakout clone provided by Thirion, and ended up with this beautiful montage. The wonderful thing about the computational, the generative, the procedural, is that things emerge that often cannot be accurately predicted by the person responsible for the underlying logic.

artists
Games
creative
processing
code
Video
battideas

Dropbucket

Mon, 02/25/2013 - 09:30 -- rprice

Dropbucket.org is created by Tim Kamanin (TimOnWeb Drupal developer). I created this project because of the need to have one place totally dedicated to Drupal snippets. The place where you can store your snippets, share them with others and discover new cool drupal snippets. It's all about snippets and Drupal :)

resources
sharing
drupaleasypodcast
code

Things You Should Never Do, Part I - Joel on Software

Tue, 01/08/2013 - 07:17 -- rprice

a cardinal, fundamental law of programming:

It’s harder to read code than to write it.

This is why code reuse is so hard. This is why everybody on your team has a different function they like to use for splitting strings into arrays of strings. They write their own function because it's easier and more fun than figuring out how the old function works.

As a corollary of this axiom, you can ask almost any programmer today about the code they are working on. "It's a big hairy mess," they will tell you. "I'd like nothing better than to throw it out and start over."

best_practices
code
Programming

Things You Should Never Do, Part I - Joel on Software

Tue, 01/08/2013 - 07:17 -- rprice

a cardinal, fundamental law of programming:

It’s harder to read code than to write it.

This is why code reuse is so hard. This is why everybody on your team has a different function they like to use for splitting strings into arrays of strings. They write their own function because it's easier and more fun than figuring out how the old function works.

As a corollary of this axiom, you can ask almost any programmer today about the code they are working on. "It's a big hairy mess," they will tell you. "I'd like nothing better than to throw it out and start over."

best_practices
code
Programming

Output Arts » I have a message for you...

Tue, 08/21/2012 - 10:13 -- rprice

Listening without speaking alludes to eavesdropping and the covert monitoring of communications. The audience can influence the clarity of the message by adjusting the controls on the machine, giving a physical side to the sense of searching and trying to hang on to the messages. However, the piece includes the deliberate design of interfering with the descrambling process to cause the gradual degradation of the audio so that the messages eventually become engulfed in machine noise before cutting off suddenly to silence.

installation
history
art
battideas
museum
spy
wwii
code
uk
raspberry_pi

Pages

Subscribe to RSS - code