DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: apparent issue with aliases, notably "DC search"  (Read 10,892 times)

jdmarch

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 186
apparent issue with aliases, notably "DC search"
« on: July 11, 2007, 09:55 PM »
When I type "Upd", FARR correctly locates
D:\Program Files\DcUpdater\DcUppdater.exe
and several other items in the same folder.

But when I type "DCU", it finds none of these. It only finds donationcder.com URLs

presumably this is finding (only) the dc search alias; I'm still not at all up to speed on aliases, but isn't this an incorrect parsing?

Thanks!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: apparent issue with aliases, notably "DC search"
« Reply #1 on: July 11, 2007, 10:06 PM »
hi jd,
i'm not experiencing that behavior.. DCU is searching as expected..  anyone else?

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: apparent issue with aliases, notably "DC search"
« Reply #2 on: July 11, 2007, 10:12 PM »
Same here. DCU works.
Notice that 'DC U' doesn't. But that isn't supposed to work, since 'DC ' (notice the space) triggers the DC search alias, and anything you write after that space will be used in the query to be made to the forum.

Maybe you could try disabling that alias, to see if you get the same results.

(instructions: see attached image, just deselect that box)
Screenshot-07_07_11,23_09_51.png

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: apparent issue with aliases, notably "DC search"
« Reply #3 on: July 11, 2007, 10:16 PM »
jgp's idea for testing is good -
i think i will also add an ability to see what alias/plugin created each result for debugging such things.

jdmarch

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 186
Re: apparent issue with aliases, notably "DC search"
« Reply #4 on: July 11, 2007, 11:59 PM »
Sorry, I should have done this test first.
It's the "DC forums" alias, whose regex was:
Code
^dc[ ]*(.*)
(Why ever?)

Presumably an obsolete alias or at least an obsolete regex for this alias. I've changed it to simple:
Code
^dc (.*)

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: apparent issue with aliases, notably "DC search"
« Reply #5 on: July 12, 2007, 12:30 AM »
Code
^dc[ ]*(.*)
(Why ever?)
Probably
Code
^dc\s+(.*)
would make more sense than the current one, but i think that's overkill.

Glad we got that figured out ;)

hamradio

  • Amateur Radio Guy
  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 893
    • Plugin Coding Medal
    • Participated in NANY Challenge Fifteen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
    • Hardware Hacker
Re: apparent issue with aliases, notably "DC search"
« Reply #6 on: July 12, 2007, 01:35 AM »
Sorry, I should have done this test first.
It's the "DC forums" alias, whose regex was:
Code
^dc[ ]*(.*)
(Why ever?)

Presumably an obsolete alias or at least an obsolete regex for this alias. I've changed it to simple:
Code
^dc (.*)

Hmmm if it is the Core-Websites alias I wonder why you got that alias regex...as the normal one that goes with the program should of been what you changed it to as that is what shows in my farr and I do the core alias files for mouser now.

jdmarch

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 186
Re: apparent issue with aliases, notably "DC search"
« Reply #7 on: July 12, 2007, 02:52 AM »
I would imagine that existing aliases don't get overwritten, right? I've been using FARR for several years now. If this was an early version of this alias, then presumably the corrected version would never have replaced the early version?

hamradio

  • Amateur Radio Guy
  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 893
    • Plugin Coding Medal
    • Participated in NANY Challenge Fifteen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
    • Hardware Hacker
Re: apparent issue with aliases, notably "DC search"
« Reply #8 on: July 12, 2007, 03:05 AM »
The core alias files I think should get replaced if newer on each install.  If it was FARR2 and also in the Core-Websites.alias...then I don't know why it showed that.  If it is in FARR2 and also in Core1.alias, then that alias file isnt getting updated anymore as the aliases that was in Core1.alias has been seperated for better management and such into 10 core alias files with icons for most of the stuff. :) So any help you can give into this would help us determine the cause for it.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: apparent issue with aliases, notably "DC search"
« Reply #9 on: July 12, 2007, 03:59 AM »
good guess ham, i can have the installer delete Core1.alias if people have that file.

jdmarch

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 186
Re: apparent issue with aliases, notably "DC search"
« Reply #10 on: July 12, 2007, 09:57 AM »
Problem solved. No, I do not have Core1.alias. I apparently copied the alias from this forum 17 months ago, in particular the regex from this post: http://www.donationcoder.com/forum/index.php?topic=2378.msg16259#msg16259
My fault for heedless emulation.

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: apparent issue with aliases, notably "DC search"
« Reply #11 on: July 12, 2007, 11:00 AM »
Oh, then that was my fault :)

hamradio

  • Amateur Radio Guy
  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 893
    • Plugin Coding Medal
    • Participated in NANY Challenge Fifteen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
    • Hardware Hacker
Re: apparent issue with aliases, notably "DC search"
« Reply #12 on: July 12, 2007, 06:08 PM »
Ah ok at least we found out where it was coming from which is the main thing. Thanks for helping track it down for us. :)

Original address: https://www.donationcoder.com/forum/index.php?topic=9181.0