Archive for the ‘Programming’ Category

February 25, 1993 - Marc Andreessen Pitches the IMG Tag

Mark Pilgrim has posted an intriguing look back at the birth of the <IMG> HTML tag…
On February 25, 1993, Marc Andreessen wrote:
I’d like to propose a new, optional HTML tag:
IMG
Required argument is SRC=”url”.

An example is:
<IMG SRC=”file://foobar.com/foo/bar/blargh.xbm”>
(There is no closing tag; this is just a standalone tag.)
It’s fascinating to revisit the ensuing conversation between Marc [...]

Project Euler - Problem 2

Here’s my solution for the second problem in the Project Euler series.  I’ve decided not to put the actual numeric answer in my posts since that makes it too easy for others to enter it on the Project Euler site without at least attempting to solve the problem.

# problem002.py
# Find the sum of all the [...]

2009 Coding Standards: Guaranteed to Get You Fired!

Effective immediately, I am implementing the following coding standards and thought I would share them in case they prove useful to others.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Control Statements
Add helpful advice and friendly reminders in the form of comments after branching statements.

public void myFunction(int a, int b) {
for (int i = 0; i < 100; i++) {
[...]

Project Euler - Problem 1

I’ve been going to the programming woodshed in order to sharpen my coding skills.  As part of my self-improvement (self-flagellation?) regimen, I plan to work through the Project Euler problems in Python.  I’m doing this for a few reasons:

I didn’t study computer science or advanced math in college, so this will be a great learning [...]

Handy Oracle Utility: tnsping

I’ve been working with Oracle databases for about 7 years as a developer, but I’d never run into the tnsping tool until recently.  I’m sure every Oracle DBA knows about it.  However, this might be helpful information to coders who are trying to troubleshoot network connectivity to a database.
In an nutshell, tnsping lets you quickly [...]