5 ms·
Show HN: My first RoR project. Domain appraisal engine
This is my first Show HN: post. Domain Mongrel calculates the worth of a website/domain name based on different factors like popularity, length, search volume, dictionary, etc.
- fekberg 14y agoGot some code to show? The UTF-8 "check" in the URL was pretty cool.
- redmaverick 14y agoThanks for the comment! I have a github account. I will upload it there and paste the link here.
- capsicum 14y agothat would be cool, would love to see how it works
- itsmeduncan 14y agoThat is a workaround for an Internet Explorer bug. You can read about it here: http://stackoverflow.com/questions/4104474/rails-3-utf-8-query-string-showing-up-in-url http://stackoverflow.com/questions/4104474/rails-3-utf-8-que...
- redmaverick 14y agoThis is my first Show HN post and also my first HackerNews submission. Please leave feedback.
- hisyam 14y agoIt doesn't work for me. I tried google.com but it throws a Rails error page.
- byoung2 14y agoThe Domain domainmongrel.com is valued at: $0.01 You should give yourself more credit! I'm guessing you pull whois data, PageRank, Compete, MozRank, and Alexa data, and use that to score the domain?
- redmaverick 14y agoexactly! Alexa Rank and also I applied some linear regression, Zipf power law with R language. R is really cool!!
- fekberg 14y agoI "valued" two of my domains one that has a lot of visitis and one that does not, the one that does not seemed to get higher valued because it was a .com address. Looking forward to see the code on github, thanks for sharing.
- byoung2 14y agoNice! I like it, even though some of my domains aren't worth the $8 I paid for them.
- bdfh42 14y agoanything .co.uk looks to be worth 0 so .com centric?
- redmaverick 14y ago.com .org .info .us .jp .es .in .br .fr pretty much I don't have enough info on .co.uk
- capsicum 14y agosame for .me
- fekberg 14y ago> "The Domain google.co.uk is valued at: $0.00" > "The Domain google.com is valued at: $2,009,961,449.08"
- itsmeduncan 14y agoShould the action of the button be 'Appraise' instead of 'Appraisal'?
- redmaverick 14y agoYeah! It should be 'Appraise' or 'Go', thanks for pointing it out.
- brador 14y agoWhat tools and methods did you use to make that logo? I like the style.
- redmaverick 14y agoI used MS paint. I don't remember the exact font. Image I got from google search.
- mrThe 14y agohttp://www.domainmongrel.com/search?domain[]= http://www.domainmongrel.com/search?domain[]= duuude. Run app in production mode, to avoid this page with debug info. And add some filtration for input data.
- redmaverick 14y agoI thought checking for empty strings and non alphanumeric characters was good enough. Needs more work!
- mrThe 14y agoAlso, precompile assets: http://guides.rubyonrails.org/asset_pipeline.html#in-production http://guides.rubyonrails.org/asset_pipeline.html#in-product...
- xutopia 14y agoThat would happen automatically by running in production mode.
- Inversechi 14y agoI like it :) Some pointers... - Validation on the input form - HTML looks like it's been generated in some WYSIWYG editor... Have a read over this: http://learn.shayhowe.com/advanced-html-css/ http://learn.shayhowe.com/advanced-html-css/
- redmaverick 14y agothanks :-) I did the html with a lot of <br/> statements and ad hoc CSS. I need to learn how to do this more professionally. Thanks for the link.
- volkanvardar 14y agoIt says that my domain (http://vv20.com http://vv20.com) worth $64K cant understand why. http://www.domainmongrel.com/search?utf8=%E2%9C%93&domain=vv20.com&commit=Appraisal http://www.domainmongrel.com/search?utf8=%E2%9C%93&domai...
- flexd 14y agoIt's dead for me. NoMethodError in SearchController#search undefined method `[]' for nil:NilClass http://www.domainmongrel.com/search?utf8=%E2%9C%93&domain=google.com&commit=Appraisal http://www.domainmongrel.com/search?utf8=%E2%9C%93&domai...
- redmaverick 14y agoIt stopped working suddenly! I just restarted the server. Hopefully everything should be ok.
- jimg 14y agoNo Joy. Still NoMethodError in SearchController#search
- travisp 14y agoI'm still getting "undefined method `[]' for nil:NilClass" in "lib/modules/google_count.rb:22:in `search_count'"
- dpritchett 14y agoI'm going to guess that your Google API parser is being rate limited thanks to the traffic volume you're seeing. Try adding some logging to that piece. Also, you are running an outdated version of Rails that needs a security patch. Great look for a first Rails project though, keep plugging away! Remember that most people aren't lucky enough to have popularity break their app ;) Edit for code sample: Rails.logger.info " * Hitting Google now: #{your_google_parser.response.inspect}" Redeploy, then: heroku logs -tail Second edit for Google API advice: From what I remember the GDATA APIs have not-entirely-documented rate limits. One naive solution I wrote in the past merely waited one second between sequential requests. This will obviously impact your app's responsiveness, so you'll want to figure out another strategy once you get it back up. Also, once you implement your rate limiting you still might have to wait ten minutes or so before Google lets you back in.
- 14y ago
- ragnarr 14y ago" NoMethodError in SearchController#search "...
- redmaverick 14y agoIt is down :( :( I really appreciate the good will of the hn community. Any tips on what went wrong.
- egze 14y agoCare to post how you set it up? It seems that the app was running in development mode.
- redmaverick 14y agoyeah I ran it in development mode. I tried running it with rails server -e production -p 80 but it did not work.
- jenius 14y agoopen source it and we'll send in pull requests : )
- redmaverick 14y agoI will need to sanitize the code before uploading it to the github. Also, I found the culprit.. google api :(
- kidgorgeous 14y agodead here. This might be of particular interest to a hacker though: _csrf_token: "nVpKIc5NEHWvddNf5r3Hrzo/4KsB2+1BAVlOk3IY1Mw=" session_id: "e771d56b3c20aff090dc76b3e994fc5e"
- deleted 14y ago[deleted]