Jerry Stratton's Blog, page 65

February 12, 2016

Converting an existing Django model to Django-MPTT

Using a SQL database to mimic a filesystem will, eventually, create bottlenecks when it comes to traversing the filesystem. One solution is modified preordered tree traversal, which saves the tree structure in an easily-used manner inside the model.
 •  0 comments  •  flag
Share on Twitter
Published on February 12, 2016 04:00

February 10, 2016

Can Californians drink a train?

The meme goes that even if we���re wrong about global warming, the money spent will still make the world a better place. That is only true if you can drink a high-speed train.
 •  0 comments  •  flag
Share on Twitter
Published on February 10, 2016 04:00

February 9, 2016

Newaygo, Michigan: Bay Leaf Books

If you���re passing near Newaygo Michigan, don���t miss this bookstore hidden among the antique stores and art stores of little Newaygo.
 •  0 comments  •  flag
Share on Twitter
Published on February 09, 2016 04:00

February 6, 2016

Test classes and objects in python

One of the advantages of object-oriented programming is that objects can masquerade as each other.
 •  0 comments  •  flag
Share on Twitter
Published on February 06, 2016 11:43

February 4, 2016

Did government funding help keep Flint���s water unsafe?

When researchers rely on government funding to keep their jobs, it should come as no surprise that they aren���t eager to publish findings that reflect badly on those government agencies that fund them.
 •  0 comments  •  flag
Share on Twitter
Published on February 04, 2016 11:10

February 3, 2016

Is Iowa the end of the game, or the beginning?

It depends on whether your job is to win, or to guess the winner.
 •  0 comments  •  flag
Share on Twitter
Published on February 03, 2016 04:00

February 2, 2016

Basic Economics: A Citizen���s Guide to the Economy

Economics is an important topic, because unlike every other complex field, ���from botany to brain surgery���, we cannot avoid taking part: while we can, and usually should, refuse to perform brain surgery, we should not refuse to vote for politicians (and, in some states, initiatives) that have wide-ranging economic effects.
 •  0 comments  •  flag
Share on Twitter
Published on February 02, 2016 04:00

January 27, 2016

Cargo cult climate science

When your real-world evidence contradicts your theory, that isn���t a boon for deniers; that���s a boon for you, because, if you are a scientist, that is how your scientific knowledge advances. Real scientists are embarrassed when they ignore real-world evidence in favor of a mere theory.
 •  0 comments  •  flag
Share on Twitter
Published on January 27, 2016 04:00

January 26, 2016

Benson, Arizona: Mary Ann���s Mostly Books

Set up in an old storefront, the place is very disorganized but worth browsing through���especially if you need a break from driving I-10.
 •  0 comments  •  flag
Share on Twitter
Published on January 26, 2016 04:00

January 22, 2016

Should Apple enable exes to access their ex-spouse���s iPad?

Chris Matyszczyk wants Apple to just believe someone who says their spouse died, and give access to their iPad, then claims that this is how everything else, from house titles to bank accounts work. Unfortunately, he���s not far off there.
 •  0 comments  •  flag
Share on Twitter
Published on January 22, 2016 04:00