Sorting of products in Drupal Commerce Add To Cart form Sorting of products in Drupal Commerce Add To Cart form

Posted by mradcliffe on 2014.06.11 @ 14:49

Filed under:

This is a quick post regarding the sort order of option elements in the Drupal Commerce Add to Cart form as part of Product Reference fields.

I was confused as to how this was sorting. It does not sort by the Product title. It does not sort by the Product entity identifier. On my development site, the options seemed to be sorting by SKU.

There were a couple options to look into: [more...]

Found: 25-year-old COSI visitor guide Found: 25-year-old COSI visitor guide

Posted by smokris on 2013.07.14 @ 18:44

Filed under:

I’m in the middle of cleaning and packing to move house, and I came across a time capsule I made as part of a workshop at COSI (Columbus, Ohio’s science museum), 25 years ago today (1988.07.14). I was 5 years old at the time.

Included in the time capsule were two pieces of yarn identifying my height and circumference, and a personal-facts sheet, mentioning such things as my favorite musician (Herbie Hancock, of whom I’d recently become aware via his appearance on Sesame Street) and my favorite toy (the Yamaha PSS-470 synthesizer with its wonderful FM modulation control panel).

And this Souvenir Program, submitted for your approval — [more...]

Getting HTML5 video to work with iOS Mobile Safari Getting HTML5 video to work with iOS Mobile Safari

Posted by mradcliffe on 2013.05.17 @ 10:50

Filed under:

I’ve been researching issues regarding serving HTML5 video content to iOS devices this past week. Here’s an outline the issues and some concise answers as to how iOS Mobile Safari 6 will handle HTML5 video. This post won’t touch on video encoding.

Mobile Safari’s QuickTime component does not handle HTTP requests the same as it does normally, say for a web page. Instead [more...]

From celebrating women in computing to changing the system From celebrating women in computing to changing the system

Posted by jstrecker on 2013.03.16 @ 23:47

Filed under:

You’re in a roomful of computer scientists. Most of them are women. All of them are there to promote women in computing.

What do you talk about?

What don’t you talk about?

What are you accomplishing?

What aren’t you accomplishing?

These are the questions I’ve been asking about the recent Ohio Celebration of Women in Computing (OCWiC). [more...]

Rules-provided entity variables: Where are my field properties? Rules-provided entity variables: Where are my field properties?

Posted by mradcliffe on 2013.02.19 @ 16:08

Filed under:

At times I am confused by behavior in the powerful Rules module. Sometimes Rules data selectors for entities have their fields listed and sometimes they do not. I did not find documentation about this behavior.

So I dug through code… [more...]

LLVM generates code that generates code LLVM generates code that generates code

Posted by jstrecker on 2012.11.16 @ 14:53

Filed under:

Back from last week’s LLVM developer’s meeting, I’d like to talk about one of my favorite features of LLVM .

LLVM is the compiler infrastructure that underlies Clang, Vuo, and many other projects. It’s a set of libraries to help you build compilers (and more). Among other things, LLVM provides a C++ API for generating LLVM Intermediate Representation (LLVM IR) code. LLVM IR is an assembly language for a hypothetical computer. LLVM IR code can be either interpreted or compiled down to native code.

So LLVM provides this C++ API for generating LLVM IR code — but it doesn’t stop there. LLVM can also generate C++ code that generates LLVM IR code. In other words, LLVM can literally write part of your compiler for you! [more...]

Kosada is Developing a Next-Generation Programming and Performance Environment for Multimedia Artists

Posted by jmcc on 2012.11.02 @ 22:48

Filed under:

Kosada is developing Vuo, a next-generation visual programming environment. It will enable multimedia artists to create powerful real-time audiovisual projects, data visualizations, and apps — all without writing code.

With Vuo, non-programmers will be able to create their own multimedia software for interactive art and music performances, animations, visualizations, games, special effects, museum exhibits, kiosks and other artistic projects. Rather than writing code in a traditional computer language, the composer will drag and drop building blocks onto a canvas, connecting those blocks with cables to create the composition. Unlike most programming environments, artists will be able to interact with their Vuo compositions while they are running, allowing for live improvisation. [more...]

Compiling code with the Clang API Compiling code with the Clang API

Posted by jstrecker on 2012.08.15 @ 11:46

Filed under:

Have you tried Clang yet? Clang is an open-source compiler, under active development, that aims to replace GCC for compiling C, C++, and Objective-C. Compared to GCC, Clang is faster, while generating comparably fast code, and prints more useful error messages.

Clang is also better for developers who want to compile code programmatically. Unlike GCC, Clang is designed to be both a tool and an API. That makes Clang’s source code easier to understand and reuse. And, for those of us working on projects incompatible with GCC’s GPL license, it’s good to know that Clang is distributed under the BSD license.

Kosada is working on a cool new project that’s built on top of Clang and its underlying framework, LLVM. While using Clang for this project, I’ve been pleased to see how simple it is to write code that builds other code. Simple in retrospect, anyway! The code I wrote turned out to be simple, but it took lots of digging through the Clang source code to figure out what to write. So here’s my first contribution to the Clang community: two examples of using the Clang API to build code programmatically. [more...]

Taxonomy Views Browser of Arbitrary Depth

Posted by bbinkovitz on 2012.08.11 @ 15:12

Filed under:

Here’s a way to create a View (Drupal 7, Views 3.x) that lets you browse an arbitrarily-deep taxonomy hierarchy. With this type of browser you can link, oh, say, a large collection of videos, or photo galleries, or any kind of huge list of content categorized in a nested tree.

First, an simple static taxonomy term browser: [more...]

Add or remove fields in a Views display and override the Defaults display Add or remove fields in a Views display and override the Defaults display

Posted by jstrecker on 2012.04.11 @ 18:31

Filed under:

A quick tip for Views newbies…

In Views 2.x (Drupal 6.x), if you want to add or remove fields in a Views display, and you want that to override the Defaults display instead of updating it:

  1. In the display, click the Rearrange button next to Fields.
  2. Click Override, then Update.
  3. Add or remove any fields you want.