LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-12-2011, 01:51 PM   #16
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320

This is in a separate reply because there's a possibility that the thread might be split.

A "hash code" is what you get when you run something through a "hashing algorithm." A "hashing algorithm" is, quite simply, one that takes an input and returns an integer as output.

http://en.wikipedia.org/wiki/Hash_function
 
Old 01-12-2011, 02:06 PM   #17
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Original Poster
Rep: Reputation: 62
Quote:
Originally Posted by dugan View Post
No, not an animated gif. A Javascript animation sequence. Set a timer and a function to run when the timer runs out. Set a timer and a function to run when the timer runs out. Repeat. For example, set a timer and put the letter "l" into the text box when the timer expires. Set another timer and put the letter "e" into the search box when the timer expires.

I cannot split the thread. Mods can. Feel free to report the thread and make the request.
oh ok - that's for the BOX. how is the ARROW animation done?
 
Old 01-12-2011, 02:09 PM   #18
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Probably by manipulating the arrow's CSS positioning properties.

Last edited by dugan; 01-12-2011 at 02:10 PM.
 
Old 01-13-2011, 08:27 AM   #19
wje_lq
Member
 
Registered: Sep 2007
Location: Mariposa
Distribution: FreeBSD,Debian wheezy
Posts: 811

Rep: Reputation: 179Reputation: 179
Quote:
Originally Posted by resetreset View Post
OK, it's got too off topic - let's get it back on now.... what does "hash code" mean?
After all our discussions, you still haven't learned to use google before asking a question? Try it on this one, and you'll see some very useful, transparently accessible stuff at the top of the search page.
 
Old 01-14-2011, 08:18 AM   #20
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
resetreset,

Let me try to rephrase that more politely:
Did you try "hash code" in:
  1. Google:
    http://www.google.com/search?q="hash code"
  2. Google Linux:
    http://www.google.com/linux?q="hash code"
  3. WikipediaŽ
    http://en.wikipedia.org/wiki/Hash_code

If so, do you have specific questions to clarify what you found?

I did look at all 3, & I think WikipediaŽ probably is your answer, but I'm not sure.

BTW, I usually find regular Google the least helpful of the 3, & WikipediaŽ, even for Linux questions, the best. (As we say in Texas, go figure.)
 
Old 01-14-2011, 08:25 AM   #21
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
I've noticed a pattern in resetreset's threads: every time someone points out that he needs to change his approach or attitude, a mod shows up. Here is another example. Resetreset, if you're hitting the report button every time someone points out that you're approaching things the wrong way, then you are approaching things the wrong way.

Last edited by dugan; 01-14-2011 at 08:27 AM.
 
Old 01-14-2011, 08:26 AM   #22
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
resetreset,

Let me try to rephrase that more politely:
Did you try "hash code" in:
  1. Google:
    http://www.google.com/search?q="hash code"
  2. Google Linux:
    http://www.google.com/linux?q="hash code"
  3. WikipediaŽ
    http://en.wikipedia.org/wiki/Hash_code
If so, do you have specific questions to clarify what you found?
Was my earlier "... it's an optimized way of finding symbols in a symbol table." not sufficient?

I did look at all 3, & I think WikipediaŽ probably is your answer, but I'm not sure.


BTW, I usually find regular Google the least helpful of the 3, & WikipediaŽ, even for Linux questions, the best. (As we say in Texas, go figure.)
 
1 members found this post helpful.
Old 01-14-2011, 08:26 AM   #23
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Original Poster
Rep: Reputation: 62
no no, I already read the Wikipedia page. So what's "hash code" then? The number it generates by DOING the hashing? That's what it should be, I guess....?
 
Old 01-14-2011, 08:29 AM   #24
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Original Poster
Rep: Reputation: 62
Quote:
Originally Posted by dugan View Post
I've noticed a pattern in resetreset's thread: every time someone points out that he needs to change his approach or attitude, a mod shows up. Resetreset, if you're hitting the report button every time someone points out that you're approaching things the wrong way, then you are approaching things the wrong way.
Eh? I've never reported anyone in my life!
I don't LIKE to Google, because I do it about 99 billion times a day, and I hate looking at that machine generated page to find out which page is the most relevant. I prefer to TALK to people and pick up stuff that way, and that's what this lovely site facilitates. A search engine will never replace a human!
 
Old 01-14-2011, 09:30 AM   #25
wje_lq
Member
 
Registered: Sep 2007
Location: Mariposa
Distribution: FreeBSD,Debian wheezy
Posts: 811

Rep: Reputation: 179Reputation: 179
Quote:
Originally Posted by archtoad6 View Post
BTW, I usually find regular Google the least helpful of the 3, & WikipediaŽ, even for Linux questions, the best.
I usually try Wikipedia first. It usually works quite well for me, except when it has no entry at all. When I made my ... um, less polite suggestion, I was comforted by the knowledge that, at least when I searched, the wikipedia article was the very first one on the search results.

archtoad6, your second suggestion (http://www.google.com/linux?q="hash code") was an alternative I wasn't even aware of. Thank you.
 
1 members found this post helpful.
Old 01-14-2011, 09:39 AM   #26
wje_lq
Member
 
Registered: Sep 2007
Location: Mariposa
Distribution: FreeBSD,Debian wheezy
Posts: 811

Rep: Reputation: 179Reputation: 179
Quote:
Originally Posted by resetreset View Post
Eh? I've never reported anyone in my life!
Actually, I believe this to be true.
Quote:
Originally Posted by resetreset View Post
I don't LIKE to Google, because I do it about 99 billion times a day, and I hate looking at that machine generated page to find out which page is the most relevant. I prefer to TALK to people and pick up stuff that way, and that's what this lovely site facilitates. A search engine will never replace a human!
resetreset, I admire the warmth of those words. It turns out, though, that there's a reason that LQ encourages you to search first before asking questions. The reason is that those who give answers also have other ways they could be spending their time. They can optimize use of their time if those who ask questions have made a decent effort of finding the answers on their own. See how that works?

The worst thing you could do, in my opinion, would be to admit publicly, as you have done here, that you prefer the human touch to the extent that you don't do your own research first. This risks making others less likely to help you in the future. Not because they're unfriendly, just because they have other things on their plate. They don't necessarily participate in LQ with one eye on the clock, but if you could focust on the mental picture of them doing that, it might help you.

Just sayin'.
 
1 members found this post helpful.
Old 01-14-2011, 09:48 AM   #27
wje_lq
Member
 
Registered: Sep 2007
Location: Mariposa
Distribution: FreeBSD,Debian wheezy
Posts: 811

Rep: Reputation: 179Reputation: 179
Quote:
Originally Posted by dugan View Post
I've noticed a pattern in resetreset's threads: every time someone points out that he needs to change his approach or attitude, a mod shows up. Here is another example.
A very bad example. The only moderator participating in that thread wasn't reacting to anything anyone else had said; he was reacting only to resetreset's comments, and wasn't even particularly superpolite in his responses. There's no way that he could have been called to that thread by anyone reporting the thread, because the moderator's first participation was as post #2. So nobody went crying to the mods here.
 
Old 01-14-2011, 10:26 AM   #28
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Point taken, wje_lq. Resetreset, please allow me to withdraw my accusation and apologize to you.

*Holds out hand with palm up
 
Old 01-14-2011, 10:50 AM   #29
wje_lq
Member
 
Registered: Sep 2007
Location: Mariposa
Distribution: FreeBSD,Debian wheezy
Posts: 811

Rep: Reputation: 179Reputation: 179
Quote:
Originally Posted by dugan View Post
*Holds out hand with palm up
We've all come to hasty conclusions from time to time. I think LQ needs an icon for "holds out hand with palm up". Not that the icons don't offend my sense of tradition. ;)
 
1 members found this post helpful.
Old 01-15-2011, 06:23 AM   #30
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by resetreset View Post
no no, I already read the Wikipedia page. So what's "hash code" then? The number it generates by DOING the hashing? That's what it should be, I guess....?
I believe so.

Comments
If you had added that to your 1st post, ideally including a link to the WikipediaŽ page, this thread might have been over in about 3 or 4 posts.

Quote:
Originally Posted by wje_lq View Post
...
resetreset, I admire the warmth of those words. It turns out, though, that there's a reason that LQ encourages you to search first before asking questions. The reason is that those who give answers also have other ways they could be spending their time. They can optimize use of their time if those who ask questions have made a decent effort of finding the answers on their own. See how that works?

The worst thing you could do, in my opinion, would be to admit publicly, as you have done here, that you prefer the human touch to the extent that you don't do your own research first. This risks making others less likely to help you in the future. Not because they're unfriendly, just because they have other things on their plate. They don't necessarily participate in LQ with one eye on the clock, but if you could focus on the mental picture of them doing that, it might help you. ...
Beautifully put wje_lq , I may steal some of those words someday to make a personal canned response or quote you in a blog entry.

resetreset,
Think about them, his words accurately/eloquently capture how we would like LQ to work. BTW, have you ever read How To Ask Questions the Smart Way?

Obviously we have different preferences. -- I have to admit that I prefer to speak rather than type, so I my answer finding may involve a phone call to a friend. I am lucky to be one of the leaders of the most active LUG* in the world, so I have a circle of Linux experts only a phone call away. Personally, however, I would rather type good search terms into the right engine, than compose a Raymond & Moen compliant "Good Question" for LQ.

Quote:
Originally Posted by resetreset View Post
I don't LIKE to Google, because I do it about 99 billion times a day, and I hate looking at that machine generated page to find out which page is the most relevant.
I agree, that's why I don't go to Google 1st, not for Linux questions. Here is my list of external search engines in order of preference:
  1. WikipediaŽ
  2. Google Linux
  3. Google
Of course I check LQ Search, too.

While posting w/o searching is not against the rules, one** might make a case that posting w/o searching LQ is against their spirit:
"* Do not post the same discussion in more than one forum. Duplicate discussions can be frustrating for other members. ..."
If you don't search LQ, you might easily ask a question that has already been answered.


wje_lq,
You're welcome. BTW, I always add Google Linux my primary browsers' (Konqueror & Opera) address entry dialog shortcuts.

Also, thank you for gracefully accepting what I intended as gentle guidance -- I was afraid I didn't get the words right.


dugan,
Thanks for making that polite apology. This might have turned into a flame war, instead maturity has prevailed.


Footnotes
*HLUG (Houston, TX) -- we have 13 meetings per month, most LUGs are lucky to have that many per year. I'm sure we're not the largest or best organized, but I firmly believe we are the most active in terms of number of meetings.

** "one" to indicate that this argument is logically possible, but not necessarily my own opinion, let alone LQ policy.

Last edited by archtoad6; 01-18-2011 at 07:16 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] I want to build "ELF 64-bit LSB shared object", not "ELF 64-bit LSB executable" matschr Red Hat 2 11-15-2010 11:55 AM
Difference between Linux ELF Format and win32 ELF Format cmemo Linux - Hardware 1 05-11-2007 05:32 PM
Difference between Linux ELF Format and win32 ELF Format cmemo Linux - General 1 05-11-2007 03:44 PM
Difference between Linux ELF Format and win32 ELF Format cmemo Linux - Software 1 05-11-2007 03:31 PM
/usr/libexec/ld-elf.so.1: Shared object "libgd.so.4" not found lxxy *BSD 1 12-04-2003 12:01 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration