HNHacker News
TopNewBestAskShowJobs

nzadrozny

111 karma · joined September 10, 2010

Cofounder, CEO, platform and search stuff at https://bonsai.io & https://websolr.com
submissionscomments
nzadrozny··on Features of Solr vs. ElasticSearch
Furthermore, with respect to schema changes, ElasticSearch will refuse to make backwards-incompatible changes. So for either search engine, you'll need to get comfortable at some point with the procedure for creating a new index with the new schema or mapping, reindexing your data, and hot-swapping the Solr Core or ElasticSearch Alias.
nzadrozny··on Features of Solr vs. ElasticSearch
Technically Searchify is based on the open-sourced code from the previously proprietary IndexTank. So in theory you can run your own: https://github.com/linkedin/indextank-engine.

I'm skeptical about claims of different quality of relevancy results, since IndexTank/Searchify is also based on Lucene (looks like 3.0.1 in the canonical repo), and should share all the same fundamental relevancy and scoring functionality.

nzadrozny··on Amazon CloudSearch - Start Searching in One Hour for Less Than $100 / Month
There's a lot to be said for ElasticSearch's data distribution. It does sharding and replication really well. That makes my life easier, as a service provider, as well as the life of anyone that has to manage and scale an ES cluster. Or who doesn't want to have to deal with client-side sharding or worry about how many servers can crash before their search goes down.

Here's a good video on the subject from ElasticSearch's creator: http://vimeo.com/26710663

ElasticSearch has very little ceremony around creating a new index and getting started with using it. You will eventually need to do some configuration to tune its behavior for your specific application, but the learning curve is nice and gradual. This makes ES great for exploration.

The JSON document store aspect of ElasticSearch is indeed very nice. The RESTful API is simple enough that you don't really need a client, just grab your favorite HTTP client library and start integrating. Plus, coupled with solid distribution, you're looking at a pretty viable standalone data store, IMO.

Also, very good documentation. And its user/developer community is all full of the really smart, enthusiastic early-adopter types right now :)

Not least, Lucene itself is hands down the last word when it comes to search.

nzadrozny··on Amazon CloudSearch - Start Searching in One Hour for Less Than $100 / Month
Absolutely agreed. My cofounder and I have real conversations with real websolr customers every day, who are thrilled to have access to search experts.

Not just customer service, too, but end to end developer experience can be a huge advantage. I'm personally very active in maintaining the popular Sunspot Ruby library for Solr, and have passing familiarity with the internals of half a dozen other clients as well. This makes for improvements at all levels of the stack.

While the CloudSearch API looks a bit more reasonable than the recently released DynamoDB, Amazon has traditionally been somewhat poor in terms of end-to-end developer experience.

nzadrozny··on Amazon CloudSearch - Start Searching in One Hour for Less Than $100 / Month
We think our prices actually compare pretty well to self-hosting. Hosting a search engine is not cheap when it comes to memory and disk IO, and I don't envy anyone trying to shoehorn production Solr traffic into a small VPS.

Not to mention, we've got transparent replicated redundancy on all our indexes—one of our better-kept secrets, I really need to update our marketing materials—so double your VPSs there.

nzadrozny··on Amazon CloudSearch - Start Searching in One Hour for Less Than $100 / Month
You seem to like IndexTank ;)

There's also my own http://websolr.com/ running Apache Solr. Some other Solr services are mentioned elsewhere on the page.

I've also recently launched http://bonsai.io/ for a hosted ElasticSearch service. Because ElasticSearch is actually quite awesome (and I'm happy to answer questions about why).

For Sphinx, there's Flying Sphinx (by Pat Allen of Thinking Sphinx Ruby client fame, great guy), and IndexDen (which is Sphinx, not IndexTank).

nzadrozny··on Can you build beautiful sites with Twitter Bootstrap? Hell yes
On my recent bootstrap-based hacking, adding a 'static' class for the topbar has consistently been customization number one.

.topbar.static { position: static; }

nzadrozny··on Ixoth
Neat stuff, qrush!

Some feedback: the order in which you introduce the concepts on the page seems backwards. You're starting with the "how" and ending with the "why."

I know this is just an MVP and you're focused on the tech types, but I, for one, had to read the page more than once to really 'get it.'

My humble suggestion:

1. Set the context with the Siri screenshot, which iPhone 4S users will recognize. ("Okay, I get this. We're sending a text with Siri.") 2. Next, demonstrate the value with the SMS-and-response screenshot. Hook the imagination. ("Wow, that's cool! How can I do that?") 3. Context established, hook in place, continue with the how-to screenshots, technical details, email signup.

Kudos again for the neat project. You may have just sold me a 4S, too!

nzadrozny··on LinkedIn Buys Real-Time, Hosted Search Startup IndexTank
Performance improvements relative to... what?

We do get a surprising number of people who are upgrading from SQL LIKE queries. In a situation like that, you might see queries that take a few seconds to scan through a table in SQL get cut down to a few dozen milliseconds to fetch results from an index. That's just a good example of using the right tool for the job.

It would be a little tricky to compare performance to self-hosting, given the myriad of variables involved. And as far as other services go, perhaps someone else can speak to that. Or maybe you have a more specific scenario in mind?

nzadrozny··on LinkedIn Buys Real-Time, Hosted Search Startup IndexTank
IndexTank have already said that they'll open source their code so others can take up the mantle. Another alternative is the excellent open source Apache Solr search engine, discussed elsewhere in this thread.
nzadrozny··on LinkedIn Buys Real-Time, Hosted Search Startup IndexTank
> Plus, Solr just seemed to struggle with geo search.

I hear you on that. Solr only relatively recently got a decent, official Spatial search API with its version 3 release. We've got a Solr 3 cluster up at Websolr (with lots of other tasty stuff, like real-time updates), but Sunspot is lagging behind a bit.

I'm one of the maintainers of Sunspot and we're pushing out a new 1.3 maintenance/bugfix release within the next few days, which should clear the way for Solr 3 support -- and much better spatial search -- in Sunspot 1.4.

nzadrozny··on LinkedIn Buys Real-Time, Hosted Search Startup IndexTank
Thanks for the heads up on that 404, I'll take care of that. See cedrichurst's comment for what I ought to be linking to.
nzadrozny··on LinkedIn Buys Real-Time, Hosted Search Startup IndexTank
> Any chance Websolr offers an option like this down the road?

We're definitely open to adding easier free trials. As a developer myself, I respect when a service meets you half-way on that initial integration cost.

In the mean time, we're pretty liberal with trials. Hit me up at info@onemorecloud.com if you're interested and I'll hook you up with a free month to try things out.

nzadrozny··on LinkedIn Buys Real-Time, Hosted Search Startup IndexTank
Congrats to the LinkedIn and IndexTank folks for the successful exit/acquisition.

Apologies for tooting my own horn here, but for anyone wondering about alternatives for hosted search, there's always Apache Solr and fizx's and my hosted service at http://websolr.com/. We're bootstrapped, profitable, and going on two years old. And we intend to be around for a while!

Feel free to hit me up with questions!

nzadrozny··on Moving On...
I deal with customer support on a daily basis. In my opinion it wasn't just the blog post that was bad. By then it was way too late.

The account auto-suspension may have been a bit harsh. But what they never should have done was explain it in public. The rest is just downhill from there.

Personally, I'd have responded to the friend's tweet with nothing more than, "Account questions should be directed to [email/url] where we can better assist." That way you take that stuff offline as soon as possible before it has a chance to foment into something nasty. And if it's really something private, there's nothing more you can say.

That aside, the tone in that blog post is all wrong. In paragraph one, "our side of the fence" draws lines and creates an adversarial tone right from the start. It's clear throughout that the author is taking this personally.

Paragraph two is mostly fine, but ends on a self-righteous semi-parenthetical, "We don't, for the record." As if they're going out of their way to be better than everyone else.

From paragraph three, the airing of dirty laundry begins. Beyond this, deleting 80–90% of the post would likely add to its value.

In paragraph five there's even some kind of victim mentality going on. They're being "baited" on Twitter, and "[attacked] for reasons unknown." The analysis is starting to get tedious.

All throughout, the message being communicated is: We did nothing wrong. It's defensive, and what facts are present play a secondary role to the message. Better to be proactive about the facts, leave out anything that hints of defensiveness, and just take your lumps.

Any time you're saying "what I intended," you've already lost.

But, again, a better blog post would not have needed to be written in the first place.

nzadrozny··on Rbenv, an unobtrusive rvm replacement
For that, I use Bundler and always install gems to vendor/bundle for maximum isolation and easy cleanup.

:~ which bi

bi: aliased to bundle install --path vendor/bundle

nzadrozny··on Inaugural release of Apache Lucy, Version 0.1.0
Also, Sunburnt: https://github.com/tow/sunburnt/
nzadrozny··on BankSimple: We have cards
You might make a case for "happening" with bitcoin, but the banking industry is far from "revolutionized" in the past-tense.

Besides which, currency and customer support are two very different pieces of a much larger pie. At best, currency is the "implementation detail" behind a much larger set of day-to-day usability concerns inherent in banking.

nzadrozny··on Sitting All Day: Worse For You Than You Might Think
I love my stand-up desk, which I hacked together from an Ikea Galant: http://flic.kr/p/9kYneT

Total cost: around $200.

nzadrozny··on Poll: Display points on comments?
It sounds diplomatic to let each group choose their preference, but what is much more valuable here is to learn what exactly those preferences are, and why they are held. If there were an option to let each choose according to their preference, then we could all quietly revert to our preferences instead of taking the opportunity to be confronted with a bigger picture.
nzadrozny··on What it's like in Egypt: An email from my mom
I think he meant that he hates when people use only the single statement, "This," as commentary.
nzadrozny··on Is there a need for an alternative e-commerce/web search and indexing service?
Hey there, Nick from Websolr here.

Of course I'm a bit biased here, but where search is concerned, Solr is a really great option for you. Certainly I don't need to rehash all its features and benefits here, when you could just as easily figure that out with a bit of light research :)

It's a very fair point that getting started with Solr has a bit of a learning curve to it. With Websolr we (fizx and I) think we at least have taken the hosting and configuration side of that off the table. But there are still client libraries to learn, and schemas to configure. I think learning some of those basics is a great investment that will pay off, but the up front cost is certainly there.

A word about crawling: it's definitely doable with Solr. The advanced approach is to use Nutch[1] to fetch and feed content to Solr. The simpler way is to use wget. In fact, I've got a basic shell script[2] to show off the latter :)

I'm always game to talk about how Solr can see more general usage, particularly when it comes to lowering the cost of getting started. So feel free to keep the questions/feedback/brainstorming coming.

1. http://nutch.apache.org/

2. https://gist.github.com/774946

nzadrozny··on The Mathematics Of Beauty
Actually, as a male who uses OKC, I found it interesting to simply note "the curse of being cute." My takeaway is that there are some "conventionally cute" women who you find attractive, and who you also assume receive a lot of attention. It turns out, many others assume the same, and so end up not sending a message.

Putting this into action, then, means to take more initiative messaging someone who you assume must be receiving a lot of attention.

nzadrozny··on Review of the 11" MacBook Air
> Looking into auto-mounting the partition when a symlink is accessed

Ah, see now that's what I imagined would be going on here ;)

From your SuperUser question it looks like there's a service called, appropriately enough, automountd. Neat! Is there no end to Unix's little undiscovered gems?

Some docs: http://developer.apple.com/library/mac/#documentation/Darwin...

A decent tutorial-style blog article: http://rajeev.name/2007/11/22/autofs-goodness-in-apples-leop...

(My new SSD shows up on Wednesday!)

nzadrozny··on Review of the 11" MacBook Air
Those AppleScripts sound interesting -- mind sharing a link to more info?
nzadrozny··on Ask HN: Textmate Alternatives?
MacVim + PeepOpen (http://peepcode.com/products/peepopen) are a pretty decent alternative, particularly if you already have some experience in vim.

If you don't have a history of vim mastery, you should still think about it. Yehuda Katz wrote an interesting blog article[1] on his experience switching to MacVim as a vim beginner relying on OSX-isms.

1. http://yehudakatz.com/2010/07/29/everyone-who-tried-to-convi...

nzadrozny··on Ask HN: I built a site that just went ridiculously viral. What do I do now?
You've since mentioned that you've gone for a 4 gig box with 55 Passenger workers. Definitely a good start.

If I were in your shoes, these three items would be next on my emergency-scaling checklist:

1. Database sanity check: Are you using indexes for calls like "Find user by username"? Does your database need its own dedicated box?

2. Pick up another box for memcached. Full-page cache everything you can with rack-cache. Don't worry about expiration, just use some reasonably low TTL to put a throttle on your read requests for now.

3. Move all of your static assets to S3 + CloudFront. Gzipped, with a far-future Expires header. While you're in there, move the JS to the footer of your layouts. No sense serving any of that stuff from your Linode boxes if they're as pegged as they sound from your other comments.

As to making money? No clue. Maybe I'll have an idea when I can get a request through and see what the app is all about ;)

One thought occurs: this seems to be a very vanity-driven kind of app. Find a way to charge $1, $2 or even $5 for some simple premium vanity-stoking feature and you could be in good shape. Better than advertising, in my book.

Have fun!

nzadrozny··on Ask HN: what's on your Christmas list?
Anything related to the production and consumption of coffee and tea. Mugs and the like fit nicely in the gift price range, allow the giver to express themselves a bit, and are easy to collect and enjoy. Really, who doesn't love an awesome mug?

Then there's my other Christmas list, the one with the SSD featured prominently on it… ;)

nzadrozny··on Open Source Search with Lucene & Solr
Yeah, great points. Thanks for your feedback! Better general documentation is pretty high on our list right now.

To answer your immediate question: we started as a Heroku add-on, so you might take a glance at our documentation there (http://docs.heroku.com/websolr). It's targeted at Rails applications using Sunspot, so ymmv. We're working on creating and compiling similar guides for other platforms as well.

Seems like it's high time for us to do a "review my startup" post… ;)

nzadrozny··on Open Source Search with Lucene & Solr
Sunspot for Ruby is another good Solr client that's popular with Rails applications.

http://github.com/outoftime/sunspot/

While Solr's API is pretty easy to work with directly, there's definitely something to be said for using a quality client for your platform.

← PreviousPage 2 of 2