Sunday, May 12, 2013
Disruptions: Tech Elites Leave Gadgets Behind, a NY Times article from their Bits section.
Wednesday, March 13, 2013
Sunday, January 06, 2013
Sunday, December 09, 2012
picture shows a mountain range on the Pacific Crest Trail. This is a follow up to a question in a previous image grid post. In this post, I have the first image displaying larger than the rest. The only significant difference in the code between this and that earlier post is the CSS rule that allows the first image in the list to be larger (CSS selector: #grid li:first-child img). The same thing could have been accomplished by giving the first li an id and targeting that id with the CSS rule. e.g. id="big-image" and #big-image. The other modification was to change the widths and heights in the CSS to reflect the different image sizes I am using here. Your grid images will likely be self-descriptive and distinct. The reason I used cutups from a single image was for simplicity.
Saturday, December 08, 2012
In this post, I'll describe how to do automated processing on a set of Microsoft Word documents. The task is to compare an old version of a document to a new version section by section, and generate an output table listing sections that were modified, added, deleted, or stayed the same.
You can do this sort of thing manually in Word by opening up the document and telling Word to compare it with the older version of the document. Word will show you the diff marks and you could then scroll through the document and record all the section numbers and whether there are changes or not. Very labor intensive and tedious. In this case there are dozens of pairs of documents to be compared, and the whole process will need to be repeated every month as new versions of each document are created. Clearly the manual approach would not work - this has to be automated.
Sunday, November 25, 2012
Friday, October 19, 2012
Painted in 1865 for an exhibition where it was rejected by the jury, Bread and Eggs is a still life by Paul Cezanne.
Cezanne ignores the laws of classical perspective, allowing each object to be independent within the space of a picture while the relationship of one object to another takes precedence over traditional single-point perspective.
Tuesday, October 16, 2012
Friday, September 21, 2012
I'm reading "The Shallows: What the Internet is Doing to Our Brains", by Pulitzer Prize Finalist Nicholas Carr who says that the Internet is having a different type of effect, "a much stronger and broader influence" on him than a stand-alone PC ever had in the earlier days of computers (Carr 16). I know what he is thinking, a PC with a word processor and a spreadsheet running locally just did not waste as much of your time as today's wirelessly connected computers can :)
Seriously, it's astonishing how fast and how much the interactive web - and all the devices small and large that are connected to it - have become a part of our lives. When I walk past neighbors, I see as many computer screens as TV's flickering hues of blue in the evening darkness.
Thursday, August 16, 2012
- To create a CSS list like this one, include the styles for numberedlist class and write your markup as shown in the blue box. You can switch to an ol from a ul if you think it'll help your code semantically
- You can build your own sprite image in an image editor such as Adobe Photoshop or use this image which goes up to number 9
- If you create your own image, compute the new offsets for the background-position property which is where the spriting is done
- Good luck!
Sunday, August 12, 2012
I replaced my home computers this summer. You can find great reviews of these machines on the web so I'll just point out some of the issues I encountered along the way. The HP desktop has the entire computer built into the back of its HD quality, touch sensitive, 23" screen. Fan stays on but is on the quiet side.
Friday, July 20, 2012
I added a thin line of shadow to two divs in my footer using the CSS box-shadow property which takes 6 parameters, h-shadow, v-shadow, blur, spread, color of shadow and inset. First two parameters are required, the rest are optional. Since I want the shadow to appear as a horizontal line, I'm going to be moving the v-shadow 2 pixels and doing nothing in the x-axis which is the h-shadow. So far, box-shadow: 0 2px. My blur is 2 pixels for the first div, color is self-explanatory, I chose inset to have the shadow fall inside the div. [box-shadow: 0 2px 2px #397896 inset;] To see the effect, scroll down to the footer below or click here.
Sunday, July 08, 2012
Or, poor woman's board in my case. I think I actually prefer it to a dry erase board because of the way I can move the Post-it notes around.
Kraft Paper + Post-it Notes + Sharpie Pen + Hardware Store Masking Tape is the recipe :)
Tuesday, June 26, 2012
Friday, June 22, 2012
After working with Blueprint last week, I want to generate the same layouts using the 960 Grid System, which is a CSS framework based on a width of 960 pixels with either 12, 16, or 24 columns. The column widths for these difference schemes are 80, 60 and 40 pixels respectively. In this post I am only going to focus on the 24 column layout of 960 grid.
Monday, June 18, 2012
You can use the Bluprint CSS framework to easily create complex multi-column layouts. Some people are against using CSS frameworks because the class names are not semantic, and are instead used to specify the layout. In that sense the frameworks are mixing presentation into the markup. But even if you don't want to use it on a production site, you might still find it useful for rapidly prototyping a layout.
Sunday, June 10, 2012
Using a popular media player called JW Player, I'm going to show you how to change your markup to embed a video player. The video shows a dolphin that swam alongside my kayak. You can hear his breathing clearly. The best part was when he would swim away, turn around, lift his head slightly out of the water so his eyes and the top of his nose were visible and then swim straight back to the kayak at a fast pace, looking at me at the same time. I would start laughing nervously, thinking we were about to have a collision.