Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

jdporter's bookmarks and miscellany

by jdporter (Canon)
on Jun 20, 2006 at 15:08 UTC ( #556425=note: print w/ replies, xml ) Need Help??


in reply to jdporter's treehouse
in thread jdporter

signs of intelligent life (in case anyone's searching ;-)


Top 10 reasons to start using ack

ack is a tool like grep, aimed at programmers with large trees of heterogeneous source code.

ack is written purely in Perl, and takes advantage of the power of Perl's regular expressions.


Win32 Perl Wiki


Discussion of my CPAN modules⇒ on CPANforum⇒.


The Computer Technology Documentation Project


Computational Linguistics


She's a supermodel. She's a philosopher. What more do you want?

Comic aboutDigitalKitty (by jkva's better half)


On 2005-10-14, I cleaned up some ancient cruft. The most interesting thing I found (and fixed) was the following. In the thread of Site How To (which, btw, is no longer an official site doc), some people had posted "root" question nodes as replies. Apparently they didn't know how to go to Seekers of Perl Wisdom and scroll to the bottom. So I yanked those nodes out and made them root nodes in the SoPW section. They were:


My Free Nodelet Hacks:


my patches

Some of my root and pseudo-root nodes:

2006-02-01SoPW SharePoint automation
2004-04-06Med There's Only One Way To Do It
2006-01-03Med Strategy Handles
2002-11-14Tut PerlMonks for the Absolute Beginner
2002-11-09PMD Make Purpose of each Section clear
2002-11-26PMD Automate your PerlMonks activities
2006-01-12PMD Pre-empt the node named 'Friar'
2003-03-03CUFP Create and Pop Up Outlook Notes from Perl
2006-01-11CUFP Control and Query Win32 Services at the command line
2003-01-27Code Check for recent replies to your posts
2004-08-15Code Statistics::SGT
2004-08-17Code Adso.pl
2005-07-16Code Tie::Scalar::Substring
2002-11-06snip map-like hash iterator
2002-11-19snip IO::MultiHandle - Operate on multiple file handles as one
2003-05-01snip call setrlimit to limit process resource usage
2003-06-06snip Read and write Windows "shortcut" links
2005-08-29pmdevtopic Site section superdocs need sitedoclets
2006-02-06pmdevtopic in monktitlebar, link to sections by id?
2006-02-07pmdevtopic Let link text for patches be 'reason' rather than 'title'?
2006-02-12pmdevtopic Proposal for some new/improved shortcut types
2006-03-20pmdevtopic Uniform set of categories for all sections that have them?

In <32623.959291225@chthon>, tchrist wrote:

A programmer who hasn't been exposed to all four of the imperative,
functional, objective, and logical programming styles has one or
more conceptual blindspots.  It's like knowing how to boil but not
fry.  Programming is not a skill one develops in five easy lessons.


The Young Man and the Beach⇒ by tchrist


Dictionary of Algorithms and Data Structures⇒ at the (U.S.) National Institute of Standards and Technology.


Some interesting homenode replies:


O'Reilly has 36 syndication feeds:

The links above are to their default, which is Atom. If you want RSS1/RDF, append ?format=rss1 to the URL. If you want RSS0.9x/2.0, append ?format=rss2 to the URL.
Interesting thread: Useless unless. The "suggestion that Perl should have an otherwise" came from me. This thread is really about two issues: unless and otherwise. I don't care about the unless bit.

P+++$c--P6++R++M++O+++MA++++E++PU!BD>+++C++>*S+++X+>++WP+++MO
PP!n!PO o!G+OLCC+OLJ+OLP---OLL+Ee-Ev+Eon-uL++uS+w-

I became a ham⇒ on November 22, 2004. My call sign is KI4HTE.

Why do I go by "jdporter"?

This is my entry in the Thread That Dare Not Speak Its Name.

If you're interested in the geographical location of monks:

And don't miss the amazing pmplanet!

Two awesome lists of Perl resources:


Resources for Learning Perl

    In this order:
  1. Learn.Perl.org
  2. Picking Up Perl
  3. Beginning Perl
  4. PerlMeme.org

Useful Bookmarks

Internal: External:

Design Patterns in Perl


Crumbs

  • Greenspun's Tenth Rule of Programming: "Any sufficiently complicated C or Fortran program contains an ad-hoc, informally-specified bug-ridden slow implementation of half of Common Lisp."
  • Zawinski's Law of Software Envelopment: "Every program attempts to expand until it can read mail. Those programs which cannot so expand are replaced by ones which can."
  • Porter's Conflation: "Every sufficiently complicated program includes a half-baked implementation of half of the POP (or IMAP) spec." For example: Adso.pl

On-line Bibles


Sometimes you hear people speaking obliquely about something in merlyn's past. Curious? Check it out⇒.


Single-Serving Goal: "the best phrase guides and language aides on the web and the most useable maps and trail guides."

CultureGrams


Gizmos


Comment on jdporter's bookmarks and miscellany
Select or Download Code
last hour of cb
by Tanktalus (Canon) on Jan 26, 2007 at 20:59 UTC

    Updates more-or-less every 5 minutes (except when there is no activity). Extracted from Tanktalus' CB Stats' database. Feedback
    Shows the last hour or so, but never more than will fit in 64k, nor over two hours. Other sources of cb history
    Last update: Jul 29, 2014 at 18:45 UTC
    [ambrus]thezip: good guess
    [thezip]Since he's the new guy, he must prove that he's legit
    [Voronich]Oh I added some commentary to the email for the self-motivated. :)
    [Voronich]I've never really used them before. Like whatever the hell "vlookups" are, they're something I do in sql, not in a spreadsheet.
    [ambrus]thezip: prove to whom? to Voronich? to Voronich's boss? to the board of directors or whoever gives the ceo their payroll?
    [thezip]The worker-bees. He has to earn their respect
    [MidLifeXis]re: vlookup - absolutely. But to the non-DB type, excel is the end-all-be-all of file formats. It is your report, database, and query tool all wrapped up in a nice little package.
    [MidLifeXis]When you see vlookup, think join.
    [MidLifeXis].oO( well, close )
    [MidLifeXis]Curious why constant isn't found. Ubuntu doesn't muck with the corelist to this extent, does it?
    [MidLifeXis].oO( But ouch - 5.8.0 )
    [RonW]I hear you about Excel. Most of the reports in our issue tracking system generate Excel-friendly output. then the managers modify the Excel sheets, expecting their changes ot "magically" get back into the system
    [RonW]In my experience, distro managers tend to strip out anything not needed to make the system run
    [ambrus]MLX: probably it's in a separate package
    [ambrus]MLX: maybe there's a general package that installs all of the perl core for people who want to use the system perl themselves (not just run the package manager or whatever system components implemented partly in perl)
    [MidLifeXis]But constant? Youch.
    [ambrus]RonW: they try that to what amount? if they get a report saying that some project had finished in 600 man-workdays, will they try to change the number to 1 man-workday and magically expect the project had finished sooner?
    [RonW]More and more, I fond that I am installing a parallel set of tools so I can do what I need to do without risking messing up the system
    [ambrus]MLX: similarly to the general package build-essentials which you install if you want to compile C programs. Just a C compiler core itself might be installed without that, but that doesn't mean you have a working envrionment for compiling C programs practi
    [ambrus]cally.
    [tye]heh, the first few hostnames listed in our graphite instance are $(`hostname`), $(hostname), and `hostname`
    [MidLifeXis]Absolutely RonW. Dependency? package it up with your app (see git under Windows, for example)
    [RonW]The managers alter priorities and add comments. This is information we need, but even though the user interface to the system looks and acts like a spreadsheet, if its not Excel, they won't use it
    [davido]MidLifeXis: My version of Ubuntu ships with 5.18.2, and includes constant.pm
    [Corion]:-D
    [MidLifeXis]Yeah. When Sun started to do that (unpackage even a bare bones compiler, for example), it was depressing.
    [Corion]RonW: A colleague wrote enough VBA hooks to hook up excel sheets directly to the database. People get "their" set of rows and changes write directly through into the DB again ;)
    [ambrus]tye: WHAT? $(`hostname`)?
    [ambrus]MLX: I think distros could try to avoid this by making sure that perl or gcc doesn't get into your path by default when it's installed that way, and only put a symlink into your path when the environment is installed.
    [ambrus]I do like the basic idea that distros try to break big bundles to smaller packages though, and I see this confusion as just an unfortunate side effect they should try to minimize.
    [RonW]Modifying the backend DB would make the issue tracking system puke. In theory, an actual DBA could make it work, but we don't have any on staff
    [MidLifeXis]I can understand it from the footprint argument (sort of) - it just makes it a pain :-)
    [davido]What version of Ubuntu, Mid?
    [davido]because I'm not seeing that behavior.
    [davido]My WTH issue is why Google Maps suddenly stopped speaking street names.
    [davido]:) nothing to do wiht Perl, of ocurse.
    [RonW]I once read that when the content of the Unix system files was originally organized, the system used /bin and user stuff used /usr/bin, so the system and the users stayed out of each others' ways
    [ambrus]RonW: I don't think so.
    [RonW]Likewise with /lib and /usr/lib
    [ambrus]RonW: /usr/local/bin might be used to keep the user's stuff away from the system, but I don't think the hierarchy was ever used to keep the system's stuff away from the user, except perhaps for keeping /sbin and /usr/sbin stuff away from users.
    [MidLifeXis]Not quite (well, at least on the platform I maintained) - /usr/ was post filesystem mount (shared libraries were available), and /bin was static linked. But that I am sure was bastardized from the original.
    [MidLifeXis]esp since shared libs didn't always exist.
    [RonW]Well, there are some "system" tools that are useful to ordinary users
    [MidLifeXis]I think that there is a lot of lore surrounding the distinction.
    [MidLifeXis]On this environment (SunOS), if you were in single user mode (boot failed, for example), /usr may not have been mounted yet.
    [MidLifeXis]s/boot/fsck/
    [RonW]My point is that it should be easier to install, for example, differnet versions of various packages in seperate subtrees of the filesystem. Sure, using perlbrew to do that for Perl is easy enough, but its something I have to do seperately
    [MidLifeXis]/opt (today) sort of allows for that.
    [RonW]I am familiar with single user mode. It's supposed to be for doing unusual sys admin things, not for every day userland stuff
    [MidLifeXis]HP-UX, for example, supports that level of distinction to a point. In my own system I use $APP_BASE/pkg/$NAME/$VER with a symlink from cur to $VER.
    [MidLifeXis](single user mode) Which is exactly why you must not rely on anything from /usr (or other non-root file systems) being available.
    [RonW]I don't use single user mode except when I have to do special sys admin things, so I'm not relying on having anything but the minum systme level tools available
    [MidLifeXis]I had to patch the libc once, but botched the command line and used 'cp' instead of 'mv'. Immediately when libc was truncated by the cp, the cp failed, shell failed, network services failed, .... Fun times.
    [RonW]I am saying it would be helpful if, for example, there were both "system land" and "user land" versions of certain packages so it would not be necessary to do special procedures to allow newer versions of those tools in userland
    [MidLifeXis]Ahh. I always addressed that (and still do) by keeping everything OS-related for the OS exclusively. Anything that was necessary for courses / users was installed under its own root. Users were plugged into...
    [MidLifeXis]... groups based on classes they were taking and their environment managed for them. Everything was compiled from source.

    ↑Previous Hour↑
    ↓Current Hour↓

    [MidLifeXis]Environment Modules (software) was quite useful to this end.
    [RonW]So, you managed to get the package manager to run in a chroot jail?
    [MidLifeXis]Package manager? Pshaw. When I was doing this, horse and buggy was still used to get to work :-)
    [RonW]Oh. Well, I end up building from source far more than I think I should have to
    [MidLifeXis]Yeah. That is one thing I have noticed about some packages - they don't relocate well.
    [davido]Wow, a web form so broken by JS that entering the first three digits of my phone number (983) results in 389 being accepted.
    [RonW]Yes, I'm familiar, but I am not a sys admin by trade
    [davido]That's so bad, it could only be a government entity. (and it is)
    [RonW]I have read "Linux from Scratch", but I really owuld not want to actually do that
    [RonW]I've seem plenty of similarly broken system done by non-government entities
    [RonW]s/seem/seen/
    [MidLifeXis]That's OK, RonW. I'm not an app engineer by training, but I play one in my day job. :-)
    [davido]Oh, it gets worse!
    [davido]Imagine this: Changed password. Logged in again without refreshing browser. The JS was rejecting the password. ...so it's a client-side validation
    [Voronich]o.O
    [Voronich]Voronich notes that this sounds almost precisely the same as an issue with SugarCRM, may it burn in hell for all eternity.
    [davido]I wonder if it's matching against a hash, or if the PW has been sent to the client.
    [MidLifeXis].oO( Holy cow! I didn't realize that 'modules' had had a resurgence. Nice. )
    [RonW]I am the kind of app engineer that is a sys admin's worst nightmare. My projection intent software runs in specialized devices, so I need tools that require special hardware be installed in my PC. So I am forced to do most of my own sys adim'ing
    [RonW]s/projection/production/
    [MidLifeXis]ref
    [RonW]I am having a bad typing day
    [MidLifeXis]Yeah, one-offs are fun.
    [MidLifeXis]Even more fun is when IT pretends that they don't exist.
    [RonW]I wish that the equipment vendors would all switch to high level USB interfaces, but some things have timing requirements that dictate using a PCI card with a special driver and a bunch of other requirements that add up to me needing things that scare the
    [RonW]that scare the crap out of nearly all the IT people I have ever worked with
    [RonW]So I have a "cheap" "office" PC on the the company intranet, and an "engineering workstation" on the "quarantine" network
    [Voronich]and an application server to process the airquotes? :p
    [ambrus]wow, I just wrote a straight unbroken triple index in code. a rare occasion.
    [ambrus]as in foobarbazqux
    [thezip]Geek.
    [thezip]:-)
    [davido]what is a triple index?
    [Voronich]makes more sense in code tags I imagine ;)
    [davido]Oh, $array[D1][D2][D3]?
    [davido]Have you ever wished you could treat a multidimensional Perl array with the same sort of arithmetic you could use on a C array? (ie, just a pointer to the first element, and an offset)
    [davido]Seems like it would be convenient if the last element of a 3x3 array were at base + 8.
    [Voronich]every. effing. time.
    [ambrus]davido: no
    [ambrus]but I rarely work with array data in perl
    [davido]lol, not that it would ever work.
    [RonW]I suppose one could create an array class that overrides arithmetic operators so you could write code like that
    [RonW]But why bother?
    [jellisii2]Greetings

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://556425]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (11)
As of 2014-07-29 18:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (226 votes), past polls