#perl
05 October 2007
Total 43 pages. You are browsing page 4/43.
First :: Prev :: [...] [2] [3] [4] [5] [6] [...] :: Next :: Last
00:51 <****> schemelab: if you don't explain it, I'm going to assume the rest of the channel is right and you're just a troll
00:51 <****> schemelab: this would be bad for you. I'm an op.
00:51 <****> too bad GumbyBRAIN isn't here to explain it for us
00:51 <****> gumbybrain knows all
00:51 * schemelab is metaperl
00:51 <****> dkr++ GumbyBRAIN++
00:51 <****> perlbot, metaperl
00:52 <****> schemelab is metaperl?
00:52 <****> ok
00:52 <****> schemelab: then why are yu providing random fucking python *PDF*s into of asking an actual question?
00:52 <****> serfbot, bucket hashing
00:52 <****> so, the web is slow by design? How the fuck bucket hashing implementation rather than merely using the command line utility from MS that allows you to query them with me?
00:52 <****> People should be forced to stick with their nicks on IRC
00:53 <****> jagerman, So I should be dealing in metallic primates, or the infinite?
00:53 <****> I haven't changed mine since 1998, and then it was just to lc() it.
00:53 <****> lolz
00:53 <****> well, that was pointless
00:53 * Limbic_Region thinks he knows a fair amount about data structures and algorithms but still doesn't understand what schemelab is trying to get
00:54 <****> seems like he wants to access the interns of the bucket hashing system?
00:54 <****> internals...
00:54 <****> apparently you can't use a bucket hash as a bucket hash
00:54 <****> he wants a reverse hash
00:54 <****> I know you believe you understood what you think I said, but I am not sure you realize that what you heard is not what I meant.
00:54 <****> dkr, Indeed.
00:54 <****> I think what he wants is to map AA, AB, AC etc to A; BA, BB,BC to B
00:54 <****> then look up everything in A
00:54 <****> then everything in B
00:55 <****> ror, So $hash{'a'} = [qw/aa ab ac/]; # ?
00:55 <****> yup
00:57 <****> wtf does that have to do with the implementation of hashes in perl?
00:59 <****> he wants BUCKKKET hashes apparently
01:00 <****> actually, when you do bucket sorting, the bucket allocation algorithm to determine size and quantity of buckets sounds like what schemelab may have been after
01:01 <****> Which... is the same as "a directly exposed bucket hashing implementation" (e.g., Perl's), yes?
01:02 <****> apeiron - not sure, I didn't follow the entire conversation
01:02 <****> That hardly seems difficult to implement
01:02 <****> no, it doesn't
01:02 <****> the postman sort - which is a refinement of the bucket sort is a bit more complicated
01:02 <****> but not terribly so
01:02 <****> I think what he actually wanted all along is the split function, a bit of regex and hashes
01:03 <****> well, it would have been nice to see a tangible pseudo code example
01:03 <****> Apparently he cited something with Python code, though I never looked.
01:03 <****> even if it was nothing but trolling, it might have stimulated worthwhile conversation
01:04 <****> yeah I wanted to see where he was going
01:04 <****> metaperl is known for both trolling and thought provoking questions
01:04 <****> thing about perl is you can get all worked up over a huge problem and someone in #perl can reduce it to a one-liner :\
01:04 <****> Limbic_Region: The latter is probably by accident.
01:05 <****> in cpan, is there any way to install more than one module at a time, like with apt-get you separate by space. how do you do it wiht cpan?
01:05 <****> I've had some fascinating conversations with metaperl
01:05 <****> jagerman - actually, it is more likely very intentional form of refined trolling
01:05 <****> kb3llm: perl -MCPAN -e 'install($_) for @ARGV' Foo Bar Baz::Quux
01:05 <****> trolls, like arsonists, have on average high intelligence :\
01:05 <****> perlbot, learn metaperl as A troll, but sometimes his trolling produces thought provoking discussion.
01:05 <****> added metaperl to the database
01:05 <****> yeah
01:05 <****> I've also had some conversations with metaperl where I wanted to stove in his face with a brick
01:06 <****> preferably a brick with aids.
01:06 * apeiron notes new meaning of word "stove".
01:07 <****> Are you worried he might survive the brick?
01:11 <****> jagerman: no, I'm worried the brick might survive him and be traumatised.
01:11 <****> general poll - what is the most LOC you have written without testing it and had it run bug free the first time?
01:12 <****> mst: I typed up a description of my problem here - http://perlmonks.org/?node_id=642787 Limbic_Region apeiron iank ,etc
01:12 <****> Oh, good point, I was thinking of the brick.
01:12 <****> your profanity was really out of place. You just needed to discuss the issue in a civil fashion
01:12 <****> Limbic_Region, 1 I think; if you include #!/usr/bin/perl -w
01:12 <****> schemelab - reading now. I was thinking you might be looking for something implementing the postman sort
01:13 <****> Limbic_Region: I've never considered LOC a decent measure of anything, so I've never counter.
01:14 <****> jagerman - *shrug*. substitute number of subs or modules or file size or any other metric
01:14 <****> ror: EHHHH, wrong, you should be using 'use warnings;' instead :P
01:14 <****> I am just wondering how much code one could expect to write reasonably and have it work
01:15 <****> HAH then I can't write *any* without error
01:15 <****> schemelab - I have implemented that algorithm a number of times myself as has BrowserUk and a number of other mmonks
01:15 <****> schemelab - I have not seen anyone reference a CPAN module
01:15 <****> Limbic_Region: where?
01:16 <****> schemelab - perlmonks of course
01:16 <****> I searched for hashing, etc
01:16 <****> Limbic_Region: link?
01:16 <****> schemelab - perhaps tomorrow
01:16 <****> can't you just fussy match it to fileB=~/^$bucket/
01:16 <****> or am I missing something about your description?
01:16 <****> I am chatting here, watching Jeopardy, and spending time with wife and daughter
01:16 <****> that would take more concentration than I have ATM
01:17 <****> Is it just me, or is this completely missing the point of hash buckets?
01:17 <****> probably ^^
01:17 <****> good morning folks. I'm having hassles with the cpan module on a fresh debian install... in a nutshell, 'make' fails for all 'install' commands... can anyone suggest where I should start with fixing this....?
01:18 <****> jagerman: without buckets fuzzy_match() would have to be applied to all elements of B for each element of A
01:18 <****> schemelab: apt-get install build-essential
01:18 <****> sonichedg: apt-get install build-essential
01:18 <****> schemelab: Shouldn't it anyway?
01:18 <****> sonichedg: debian doesn't come with make or gcc by default
01:18 <****> only
01:18 <****> schemelab is looking for a data structure that will store his data such that searching for a given item is minimized
01:18 <****> gr.
01:18 <****> unlike hashes
01:18 <****> thanks mst... doing that now...
01:18 <****> schemelab: Is there some reason that the first letter not matching must have a match score of 0?
01:18 <****> it isn't an either or question
01:18 * apeiron needs to be more heavy-handed with his ^A:
01:18 <****> jagerman: maybe you missed thi line - But let's also assume that the first character of each member of B will always be the best result from fuzzy_match for A. This means that instead of looking through all of B, you simply need to retrieve all records from B which start with the same first letter as the current record in A.
01:19 <****> schemelab: I know soundex words that way, but that's why soundex fails for misspellings like "sycology"
01:19 <****> it is like breaking up a dictionary file into 26 files (by first letter) and then scanning each file linearly
Total 43 pages. You are browsing page 4/43.
First :: Prev :: [...] [2] [3] [4] [5] [6] [...] :: Next :: Last
