News for hackers. Stuff that matters.
Re:How is it that 'Hacker News' still doesn't have search? by pg on Monday September 17, 2007 @01:26PM (#55784)
What's going on is that I have a few other things to do. Like writing essays and dealing with 58 (so far) startups we've invested in. Since the main advantage of implementing search would be to save people from going all the way to Google (http://www.google.com/search?q=site%3Aycombinator.com+Readmo...), it's not a huge priority.
Re:How is it that 'Hacker News' still doesn't have search? by ntoshev on Monday September 17, 2007 @01:56PM (#55804)
You can easily put a search box executing in-site search in Google. This saves the users the context switch of going to Google.com.
Re:How is it that 'Hacker News' still doesn't have search? by axod on Monday September 17, 2007 @02:31PM (#55829)
Google never spiders everything. I'd be really surprised if google had caught every single story that had been posted here.
Re:How is it that 'Hacker News' still doesn't have search? by jey on Monday September 17, 2007 @03:10PM (#55846)
I know I have had trouble finding things I've seen on news.yc when using Google.
Re:How is it that 'Hacker News' still doesn't have search? by nailer on Monday September 17, 2007 @07:35PM (#55953)
An example: I'm running a startup from Melbourne Australia and read an interesting comment from someone in the same boat, including details of a meetup type event, a week ago.

I didn't bookmark it because I didn't expect it would be hard to find. But now I can't find it at all.

The poster mentioned Melbourne was the 'artichoke end of the world'. Googling for 'artichoke' on news.yccombinator.com has no results. How frequently does Google spider most sites anyway?

Re:How is it that 'Hacker News' still doesn't have search? by bootload on Monday September 17, 2007 @11:21PM (#56088)
"... The poster mentioned Melbourne was the 'artichoke end of the world'. Googling for 'artichoke' on news.yccombinator.com has no results. How frequently does Google spider most sites anyway? ..."

Yeah the search here sucks. My attempt at finding stuff is to

A) save it on my blog so I have the original copy I can then search via google

B) in FOX: site: http://news.ycombinator.com search+term

Look one way to get around it is for someone to spider the site and link back (damn I lost the link .... someone has a search site where???), another is to get a google box for what USD$5K and integrate google search. As the site grows, search is becoming important for historical articles, phrases or people who you want to ascribe a comment. Guess this is what's meant by users loving new features. I'm just glad there is somewhere for stuff like this to be discussed. So while search sucks, it's not integral, for me at least.

And by the way the word "Artichoke" is a vegetable reference from Wallace & Grommit, "The Curse of the Were-Rabbit" ~ http://en.wikipedia.org/wiki/Wallace_%26_Gromit:_The_Curse_o...

Re:How is it that 'Hacker News' still doesn't have search? by dane on Monday September 17, 2007 @08:24PM (#55968)
Re:How is it that 'Hacker News' still doesn't have search? by rms on Monday September 17, 2007 @07:07PM (#55947)
I had problems finding stories from before the switch to putting all comments and news stories on item?id=x, because a search would go to a broken link. But the object numbers stayed the same, so if you find a story with a broken link, you can just switch comment?id=x to item?id=x.
Re:How is it that 'Hacker News' still doesn't have search? by bootload on Monday September 17, 2007 @11:30PM (#56090)
"... I had problems finding stories from before the switch to putting all comments and news stories on item?id=x, because a search would go to a broken link. ..."

Deleted node probably. Means it's been deleted or removed by user and/or was probably edited because it was "spammish" or poor quality in nature.

"... so if you find a story with a broken link, you can just switch comment?id=x to item?id=x. ..."

This one I noted after some changes in the code probably about 2 months after I started using it. I save all my posts and the links started breaking (link checking). The term was changed from 'comment' to 'item' (guessing) because it was shorter.

Re:How is it that 'Hacker News' still doesn't have search? by rms on Monday September 17, 2007 @11:40PM (#56092)
Before the update, items were broken down into 'comment' and 'link' (not sure if link was the object, it might have been news) but their ID numbers didn't overlap so I assume PG combined them because their was no reason not to, except for breaking old links.

The links I was trying to find weren't actually deleted, I just wasn't finding them because I only recently figured out I need to change the link to 'item?id='

Re:How is it that 'Hacker News' still doesn't have search? by bootload on Monday September 17, 2007 @11:48PM (#56096)
"... tems were broken down into 'comment' and 'link' (not sure if link was the object, it might have been news) but their ID numbers didn't overlap so I assume PG combined them because their was no reason not to, except for breaking old links. ..."

Thanks for that explanation. Hadn't taken the time to work this out.

Re:How is it that 'Hacker News' still doesn't have search? by akkartik on Monday September 17, 2007 @10:55PM (#56072)
Seconded.
Re:How is it that 'Hacker News' still doesn't have search? by axod on Monday September 17, 2007 @02:30PM (#55828)
Why not open source and let hackers on here help ;)
Re:How is it that 'Hacker News' still doesn't have search? by steve on Monday September 17, 2007 @08:12PM (#55965)
brand dilution.
Re:How is it that 'Hacker News' still doesn't have search? by yters on Tuesday September 18, 2007 @02:03PM (#56415)
Someone has to make sure the hackers aren't hacking things up.

(Btw, how about a couple synonyms for 'hacker?')

Re:How is it that 'Hacker News' still doesn't have search? by Readmore on Monday September 17, 2007 @04:32PM (#55891)
Beautiful comment!
Re:How is it that 'Hacker News' still doesn't have search? by bootload on Monday September 17, 2007 @11:42PM (#56093)
"... By adding rel="nofollow" to a hyperlink, a page indicates that the destination of that hyperlink SHOULD NOT be afforded any additional weight or ranking by user agents which perform link analysis upon web pages ..." ~ http://microformats.org/wiki/rel-nofollow#Specification_2005...

Damn I just thought of one problem though. "Rel=nofollow" on low priority submissions means google will have low(er) priority search? Is that right?

Re:How is it that 'Hacker News' still doesn't have search? by Readmore on Monday September 17, 2007 @04:33PM (#55892)
I don't doubt that you have many other things on your plate but surely there is someone at YC that could do this. Or if nothing else take axod's comment and open it up so that someone on here can do it for you.

Update - Make it part of the Winter YC application. Post the data we need to know and let people write the code for you.

Re:How is it that 'Hacker News' still doesn't have search? by SwellJoe on Monday September 17, 2007 @07:00PM (#55942)
"Make it part of the Winter YC application."

As a way to weed folks out, I guess? Automatic disqualification due to inability to focus on ones own problems?

Re:How is it that 'Hacker News' still doesn't have search? by bootload on Tuesday September 18, 2007 @01:27AM (#56127)
"... but surely there is someone at YC that could do this ..."

the headcount is pretty low, who? My idea would be to open up the data, release it as RSS, ATOM or XML. Then you could search it yourself.

Re:How is it that 'Hacker News' still doesn't have search? by paulgb on Monday September 17, 2007 @05:01PM (#55898)
"Make it part of the Winter YC application. Post the data we need to know and let people write the code for you."

Are you just saying that because you want to see the Arc specifications? :P

Re:How is it that 'Hacker News' still doesn't have search? by Readmore on Monday September 17, 2007 @05:56PM (#55916)
Hahah... no but that's a good idea. Shhhhhhush! ;)
Re:How is it that 'Hacker News' still doesn't have search? by henning on Monday September 17, 2007 @04:12PM (#55879)
Thank you for confirming my belief that putting up with the JVM or the CLR is worth it because you get awesome libraries like Lucene, Nutch, and most other things you want but don't want to write yourself or come up with an unsatisfactory workaround for.

Yes there's Google, but Google lacks transparency and if something doesn't index they won't tell you and there's nothing you can do about it.

Re:How is it that 'Hacker News' still doesn't have search? by nreece on Monday September 17, 2007 @12:29PM (#55749)
Your best bet for searching Hacker News for now is http://nycs.bigheadlabs.com/ (an external util)
Re:How is it that 'Hacker News' still doesn't have search? by Readmore on Monday September 17, 2007 @01:05PM (#55775)
Thanks. I knew I had seen a post about an external search tool but since I couldn't search the site I couldn't find it again. ;)
Re:How is it that 'Hacker News' still doesn't have search? by paulgb on Monday September 17, 2007 @04:56PM (#55895)
ycsearch.com is not as fancy, but it is a bit easier to remember. Although, I guess it is just as easy to remember site:news.ycombinator.com, which it is functionally equivalent to.
Re:How is it that 'Hacker News' still doesn't have search? by bootload on Tuesday September 18, 2007 @01:30AM (#56130)
but it doesn't pass the "artichoke" test ~ http://nycs.bigheadlabs.com/search1/?q=artichoke
Re:How is it that 'Hacker News' still doesn't have search? by edu on Monday September 17, 2007 @01:14PM (#55781)
Re:How is it that 'Hacker News' still doesn't have search? by run4yourlives on Monday September 17, 2007 @12:46PM (#55765)
You're a hacker right? You should be building a search tool yourself! :-)

Kidding, but yes, I share your frustration.

Re:How is it that 'Hacker News' still doesn't have search? by ivankirigin on Monday September 17, 2007 @01:47PM (#55796)
I wonder how easy it would be to make a firefox plugin that let you easily search the site of the tab you're in...
Re:How is it that 'Hacker News' still doesn't have search? by Xichekolas on Monday September 17, 2007 @02:30PM (#55827)
I have one made, just trying to figure out how to share it.

I can't find anywhere on the Mozilla development site that just lets you upload the xml file. They want to make me fill out a form that builds the plugin for me. Problem is that their form isn't really powerful enough to actually make a decent plugin. What am I missing?

For now it has been uploaded to: http://www.lorebroker.com/ycombinator.xml

Just download and stick in your searchplugins directory (C:\Program Files\Mozilla Firefox\searchplugins in Windows) along with the other plugins you find there.

Re:How is it that 'Hacker News' still doesn't have search? by cosmok on Tuesday September 18, 2007 @12:02PM (#56328)
I have created a plugin, that can be used for searching ycombinator.It is available here: http://trk7.com/yc, on just needs to click on it to install in FF and IE7.
Re:How is it that 'Hacker News' still doesn't have search? by chmac on Monday September 17, 2007 @02:15PM (#55816)
Now that would be awesome. Even better if you could configure your own search engine. I use scroogle, but site:currentsite.com still works...

A quick hunt[1] didn't throw up anything for me... [1] https://addons.mozilla.org/en-US/firefox/search?q=current+si...

Re:How is it that 'Hacker News' still doesn't have search? by joshwa on Monday September 17, 2007 @02:18PM (#55821)
google toolbar has a "search this site" button
Re:How is it that 'Hacker News' still doesn't have search? by ivankirigin on Monday September 17, 2007 @05:14PM (#55903)
i don't want a toolbar. The firefox search area is about all i'm willing to use. It would be nice if pressing ctrl-enter to submit (or something as simple) would just search the site.

It would also be nice to use another key like alt or shift to dictate whether to open a new tab or use the current one.

My guess is that this takes an extension, not a plugin.

Re:How is it that 'Hacker News' still doesn't have search? by tocomment on Monday September 17, 2007 @01:27PM (#55785)
I went ahead and created a Google Coop search here:

http://www.google.com/coop/cse?cx=013284775634912373901%3Avm...

Re:How is it that 'Hacker News' still doesn't have search? by andres on Monday September 17, 2007 @01:57PM (#55805)
Google has already indexed this page. Pretty impressive. One quick hack would be to put up a search box that redirects to a google search.

http://www.google.com/search?hl=en&q=site%3Aycombinator....

Re:How is it that 'Hacker News' still doesn't have search? by dood on Monday September 17, 2007 @02:15PM (#55815)
Google seems to like news.yc. I week or two ago I did a search for something obscure without using site:news.yc, and it returned a post from this site that had been posted something like 48 minutes before my search.
Re:How is it that 'Hacker News' still doesn't have search? by paulgb on Monday September 17, 2007 @05:09PM (#55900)
I remember a few instances of people submitting google searches as stories and within an hour the news.yc story was showing up in the results.
Re:How is it that 'Hacker News' still doesn't have search? by akkartik on Monday September 17, 2007 @10:57PM (#56073)
The recent stuff is easy, but google seems to not do as well once pages aren't already accessible from the front page.
Re:How is it that 'Hacker News' still doesn't have search? by kashif on Tuesday September 18, 2007 @02:50AM (#56162)
With so many hackers here, why doesn't someone familiar with Lisp write a simple search module and send it to PG who can just check it for sanity and plug it in? I know its not easy to do without seeing PG's source code.

PG how about making news.yc open-source so we can all work on it?

Re:How is it that 'Hacker News' still doesn't have search? by ntoshev on Monday September 17, 2007 @01:51PM (#55798)
Use Google.

Search is hard to do if you hack all the code (no external search engine or a database).

Re:How is it that 'Hacker News' still doesn't have search? by Goladus on Monday September 17, 2007 @01:13PM (#55779)
I could be wrong, but I don't think the site has been up quite a year yet...
Re:How is it that 'Hacker News' still doesn't have search? by Readmore on Monday September 17, 2007 @01:23PM (#55783)
Yeah you might be right, it sure seems like it's been that long. I'm sure it was here in 06, 9 months is plenty of time to put in "select * where title like '%query%';"
Re:How is it that 'Hacker News' still doesn't have search? by pg on Monday September 17, 2007 @01:41PM (#55791)
The site launched in Feb 07.

Doing search right is not just a matter of searching titles. And unless you're prepared to work hard to get it right, you're probably not going to do better than Google.

Re:How is it that 'Hacker News' still doesn't have search? by paul on Tuesday September 18, 2007 @04:52AM (#56195)
Adding a sitemap might help Google index the old pages better. Adding date-based archive links (like many blogs do) would probably help as well (making the site structure more like a tree and less like a list).

https://www.google.com/webmasters/tools/docs/en/protocol.htm...

Re:How is it that 'Hacker News' still doesn't have search? by redrory on Monday September 17, 2007 @04:05PM (#55876)
I agree, a Search will be quite helpful