Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Mark Leighton Fisher (4252)

Mark Leighton Fisher
  (email not shown publicly)
http://mark-fisher.home.mindspring.com/

I am a Systems Engineer at Regenstrief Institute [regenstrief.org]. I also own Fisher's Creek Consulting [comcast.net].
+ -

  Journal: Consistent GUIs; Or, Using WPF for Good and Not Evil on 2010.08.19 11:43

Journal by Mark Leighton Fisher on 2010.08.19 11:43
Others

Using WPF for Good and Not Evil is a nice little write-up on how we, as developers, need to consider why and how we might change the user interface of programs developed in WPF. My take on it is that "Just because you can do something does not mean you SHOULD do something."

(Ob.Perl: Perlesque should let you program directly in WPF by using the .NET libraries.)

Read More 0 comments

+ -

  Journal: Stupid Lucene Tricks: Document Frequencies and NOT on 2010.07.29 11:13

Journal by Mark Leighton Fisher on 2010.07.29 11:13
Others
  1. You can get the document frequency of a term (i.e. how many documents have that term) through Lucene.Index.IndexReader.DocFreq(t As Term) As Integer.
  2. You can get the IndexReader for a Lucene.Search.IndexSearcher through IndexSearcher.GetIndexReader().
  3. If you want to display the document frequencies for the individual keywords of a search, and a piece is a NOT phrase (like -antibiotic in antimicrobial -antibiotic), you cannot use
Read More 0 comments

+ -

  Journal: Desperate Perl; or A Tale of Two Languages on 2010.07.27 12:25

Journal by Mark Leighton Fisher on 2010.07.27 12:25
Links

Piers Cawley's A tale of two languages (if you haven't already seen it) speaks to the public perception that Perl remains a desperation language ("Desperate Perl") suited only for gluing things together when nothing else will do.

Read More 1 comments
Comments: 1
+ -

  Journal: Stupid Lucene Tricks: Hierarchies on 2010.07.16 11:09

Journal by Mark Leighton Fisher on 2010.07.16 11:09
Others

You can search on hierarchies in Lucene if your hierarchy can be represented as a path enumeration (a Dewey-Decimal-like style of encoding a path, like "001.014.003" for the 3rd grandchild of the 14th child of the 1st branch).

For example, a search phrase like:

    hierarchy:001

would return only the direct children of the 1st branch, while:

    hierarchy:001*

Read More 0 comments

+ -

  Journal: pmtools-perl6-0.01 on 2010.07.02 11:40

Journal by Mark Leighton Fisher on 2010.07.02 11:40
Perl 6

I am pleased to announce version 0.01 of pmtools-perl6, a suite of module tools for Perl 6. (Not quite up on CPAN yet as I write this.)

pmdirs is the only tool in pmtools-perl6 v0.01, as it was the simplest to port (more tools to come...)

On Cygwin (my testing environment), I cannot get the #! to work -- you will need to invoke pmdirs something like this under Cygwin:

Read More 0 comments

+ -

  Journal: Business: Execution vs. Ideas on 2010.06.23 11:32

Journal by Mark Leighton Fisher on 2010.06.23 11:32
Others

If you want to start your own business, you need:

  • A product people want to buy; and
  • The willingness to work amazingly hard to get the business going.

These were my major take-aways from Top ten geek business myths, based on the article and my own experiences.

Ideas? Ha!

Read More 0 comments

+ -

  Journal: Stupid Lucene Tricks: Search case-insensitive, Retrieve ca on 2010.06.17 5:58

Journal by Mark Leighton Fisher on 2010.06.17 5:58
Others

Sometimes when you build an index in Lucene, you want to structure the index so that people can search without worrying about case (case-insensitive search), but you want the display to contain the original mixed-case data (case-sensitive display). The trick is to split each Lucene field into 2 versions:

Read More 0 comments

+ -

  Journal: ZeroMQ: Fastest. Messaging. Ever. on 2010.06.11 15:07

Journal by Mark Leighton Fisher on 2010.06.11 15:07
Others
ZeroMQ (or 0MQ) appears to be a fast (8M+ messages/second), Open Source message-passing engine. I don't have a use for it now, but it does look interesting.

(There is no Perl interface for ZeroMQ, but it sounds (without my actually researching the task) like it shouldn't be too hard to clone the Ruby FFI interface for use with Perl.)

Read More 4 comments
Comments: 4
+ -

  Journal: Technical Debt and the Stakeholders on 2010.06.04 11:18

Journal by Mark Leighton Fisher on 2010.06.04 11:18
Others

Technical Debt (and Technical Debt Decision Making) are a good take on using the concept of technical debt to ensure that your stakeholders understand why you must spend time fixing their system even though it may seem to be working perfectly fine right now. (An example of incurring tech

Read More 0 comments

+ -

  Journal: Not All User Stories Have Happy Endings on 2009.12.23 12:40

Journal by Mark Leighton Fisher on 2009.12.23 12:40
Others

Sometimes, despite your best efforts as a developer, you end up with unhappy users. And that's OK.

In "Consultants: It's not the theory, it's the execution", Chip Camden makes this point:

Sometimes you need to say no to user requests. (Unfortunately, not all user stories have happy endings.)

Read More 1 comments
Comments: 1
+ -

  Journal: 10,000+ Exceptions/Hour on 2009.11.20 12:11

Journal by Mark Leighton Fisher on 2009.11.20 12:11
Others

Although the details are .NET-specific, Are you aware that you have thrown over 40,000 exceptions in the last 3 hours? is a good overview of what happens when you use exceptions for non-exceptional circumstances...

(Just Say No to using exceptions for flow control.)

Read More 0 comments

+ -

  Journal: Checklists, Recipes and Algorithms on 2009.11.13 11:56

Journal by Mark Leighton Fisher on 2009.11.13 11:56
Others

Checklists, Recipes and Algorithms draws from medicine, cooking, and programming to make the point that sometimes you just need to write down what you are going to do. You don't want to impose too much structure (that way lies spending a week to write a 2-line program (see analysis paralysis)), but you do need structure -- and expli

Read More 1 comments
Comments: 1
+ -

  Journal: Regular Expressions: The Ultimate in Lack of Redundancy on 2009.09.23 13:12

Journal by Mark Leighton Fisher on 2009.09.23 13:12
Others

The concepts in regular expressions are simple -- one of anything, a numeric character, a class of characters -- so why do so many people have problems with regular expressions? I think it is the lack of redundancy.

Each concept in regular expressions is expressed in 1 or 2 characters -- "." is one of anything, "*" is one or more of the preceeding thing, and so on. Compare this with C, where matching against a 'b' in a string could be coded compactly as:

Read More 1 comments
Comments: 1
+ -

  Journal: iMacros: Automation for Firefox on 2009.07.17 12:16

Journal by Mark Leighton Fisher on 2009.07.17 12:16
User Journal

iMacros for Firefox is the Web automation solution I have been looking for. Why iMacros? Because:

Read More 0 comments

+ -

  Comment: RE: mirror link (Score 1) on 2009.07.17 11:45

Sorry, but I don't have a mirror link. As of 2009-07-17 12:44 EST, the link was up (which may not help you at all...)
Read More 2 comments
Comments: 2