Skip to main content

Joshua Brauer

Database Abstraction

July 9, 2004

Jeremy Zawodny has an article about the ills of database abstraction. At first when I read it I thought he was perhaps a bit loony. But the more I thought about it the more it makes sense. I'm thinking particularly of my current favorite database abstraction model for PHP - AdoDB. I've come to use it under what Jeremy calls the "Portability Fallacy".

Read more about Database Abstraction

Webmin glitch with apache

July 7, 2004

I just spent some time finding a bit of a glitch with WebMin and the Apache module. By default the PHP configuration portion of the httpd.conf file is configured to add index.php to the list of directory indices. If you try to override this setting in Webmin it never takes. You can add index.htm all day long but it simply won't add. A quick work around is to add index.htm to the various DirectoryIndex entries for the versions of PHP.

Read more about Webmin glitch with apache

So late as to be embarassing

July 6, 2004

Gartner recently released a report saying that the "unauthorised and uncontrolled use of portable storage devices" could pose a security risk. You don't say?What ever should we do if we didn't have the folks over at Gartner to write reports and tell us, the pedestrian technologists we are, about a four-old-problem. What's next a report saying that guns in the wrong hands kill people? Gartner suggests being very careful about preventing the use of unauthorized devices.... Don't look now but that photo

Read more about So late as to be embarassing

Congratulations Professor Markell

July 6, 2004

An announcement from last week on the 9th circuit court website announces that UNLV's Prof. Bruce A. Markell has been appointed to the U.S. Bankruptcy Court for Nevada. The announcement covers many of his professional accomplishments. What is not adequately covered in the announcement is how instrumental Prof. Markell has been to establishing a wonderful law school.

Read more about Congratulations Professor Markell

Only by going alone in silence

July 5, 2004

Only by going alone in silence, without baggage, can one truly get into the heart of the wilderness. All other travel is mere dust and hotels and baggage and chatter. – John Muir

Read more about Only by going alone in silence

Selecting the most recent entry for a person in MySQL

July 4, 2004

Here's a snippet of code to get the most recent entry for a person from a list of records with dates. I use this in a situation where I have a list of GPAs for students. The list of GPAs is updated each day for a couple of weeks. The challenge is that some students graduate and are dropped from the list each day so I need to pick the most recent record for each person in the database.

SELECT name, gpa, standing, run_date
FROM `ranking` AS a
WHERE ( standing = '123' OR standing = '122' ) AND a.run_date = (
SELECT MAX( run_date )
FROM `ranking` AS b
WHERE b.name = a.name )
ORDER BY standing, gpa DESC

Read more about Selecting the most recent entry for a person in MySQL

Foiled

July 1, 2004

I went with a co-worker to see Spiderman last night. The pre-movie commercials had just concluded as the lights came on and the fire alarm sounded. I still might make it tonight.... Time will tell.

Read more about Foiled

Pages

  • « first
  • ‹ previous
  • …
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • …
  • next ›
  • last »
Subscribe to

Search this site.

© 1995-2016 Joshua Brauer.

GitHub RSS feed 500px LinkedIn