Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: What you refuse to see, is your worst trap

by toma (Vicar)
on Jun 30, 2003 at 06:15 UTC ( #270095=note: print w/replies, xml ) Need Help??


in reply to What you refuse to see, is your worst trap

Good story about the lizards. Whenever I have trouble finding a bug, I say to myself, "It's where you're not looking."

One of the things I like most about California is that I have reptiles living around me. I've built a few lizard-friendly small rock formations. Today I was cooking outdoors and a small (harmless) snake came by for a visit.

I had never considered these tiny beasts as a source of coding inspiration before!

It should work perfectly the first time! - toma

  • Comment on Re: What you refuse to see, is your worst trap

Replies are listed 'Best First'.
Re^2: What you refuse to see, is your worst trap
by ikegami (Pope) on Nov 05, 2004 at 20:18 UTC
    Good story about the lizards. Whenever I have trouble finding a bug, I say to myself, "It's where you're not looking."

    It's a pretty safe bet that the bug is inside the lizard. :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://270095]
help
Chatterbox?
[Corion]: Nicholas Clark++ # read for a multichar block-delimiter by scanning for the last char, and only then check whether the whole delimiter was read.
[Corion]: At least if you're appending the data read to a larger buffer, this means you avoid the situation of "a delimiter was found but the other half has not been read yet"
choroba misses the context
[Corion]: choroba: Optimizing how Perl reads source code on startup (and then processes it line-by-line)
[Corion]: But in general, it seems to be an interesting approach I should think about - whenever I'm searching for something, to consider if I could search for the end of the token instead of the start of the token

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (12)
As of 2016-12-06 15:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (107 votes). Check out past polls.