S.Lott -- Software Architect
  • Other Articles
  • Publications
  • S.Lott Biography

Name Matching Alternatives

Date Thu 21 May 2009 Tags metaphone / soundex / regular expressions / software design / SQL

The users want to locate people by last name. They want flexible matching. That's not very hard.

The DBA wants to do some wild-card searches efficiently. The DBA may not be responding to the users actual request, making this more complex than it needs to be.

I'm not in contact …

more ...

Data Structures in Python and SQL

Date Sun 17 May 2009 Tags #python / object-oriented design / SQL

This is -- partially -- about the object-relational impedance mismatch.

But it's also about the parallel concepts between objects and relations. We'll use Python as our object model.

First, the obvious.

A SQL table is a list of rows. A row is a dictionary that maps a column name to a column …

more ...

My Query Is Slow -- What To Do? Or Dumb-As-A-Post SQL (Revised)

Date Fri 06 June 2008 Tags database / jquery / sql / design

First, let me point out that the Data Cartel ("DBA" means Don't Bother Asking) won't release all the information I requested, so some of this is a guess.

We'll look at a number of dumb-as-a-post SQL techniques. This is proof -- if any were needed -- that bad SQL is worse than …

more ...

Python and Reverse Engineering, Part 2

Date Thu 05 April 2007 Tags reverse engineering / PL/SQL / SQL / database

A stored procedure isn't really very easy to understand. There's a profound fascination with triggers and stored procedures, and they're both really bad ideas. I can't say enough bad things about stored procedures. See PL/SQL vs. Java - Which is REALLY faster? and Over-Solving the Problem or When your architect …

more ...

  • «
  • 1
  • 2
  • 3
  • 4
  • »
  • Social

    • Mastodon
    • Github
    • StackOverflow
    • LinkedIn
    • O'Reilly
    • Amazon
  • Categories

    • Architecture & Design
    • Books
    • FOSS
    • Management
    • News
    • Python
    • Technologies
  • Links

    • Pelican
    • Python.org
    • Jinja2
  • Archive

    • February 2025 (1)
    • January 2025 (3)
    • December 2024 (1)
    • September 2024 (2)
    • August 2024 (1)
    • July 2024 (1)
    • February 2023 (1)
    • December 2022 (1)
    • September 2022 (1)
    • August 2022 (1)
    • June 2021 (1)
    • April 2016 (1)
    • February 2016 (1)
    • January 2016 (1)
    • December 2015 (1)
    • July 2013 (2)
    • May 2012 (1)
    • March 2012 (1)
    • February 2011 (1)
    • January 2011 (1)
    • October 2010 (1)
    • September 2010 (2)
    • August 2010 (1)
    • September 2009 (1)
    • July 2009 (1)
    • May 2009 (2)
    • June 2008 (1)
    • April 2007 (1)

© 2025 S.Lott · Powered by pelican-bootstrap3, Pelican, Bootstrap

Back to top