HNHacker News
TopNewBestAskShowJobs

mohaps

584 karma · joined May 26, 2011

author, artist and bonafide geek (http://mohaps.com). twitter: @mohaps
submissionscomments
mohaps··on Show HN: TL;DRizer - an algorithmic summarizer webapp/api in java (weekend hack)
Updated the app with some goodies like links to summaries, ability to summarize all types of urls (not just feed urls) and a "spiffy" new logo :) Also did some css fixes etc.
mohaps··on Show HN: TL;DRizer - an algorithmic summarizer webapp/api in java (weekend hack)
Now the url can be a page, I try to extract the article text using boilerpipe. :) Also added a simple GET endpoint for linking. Try this summary of PG's "Writing and Speaking" essay: http://tldrzr.herokuapp.com/tldr/?feed_url=http://www.paulgr...
mohaps··on Show HN: TL;DRizer - an algorithmic summarizer webapp/api in java (weekend hack)
Thanks for the idea. Try this :) http://tldrzr.herokuapp.com/tldr/?feed_url=http://www.paulgr...
mohaps··on Show HN: TL;DRizer - an algorithmic summarizer webapp/api in java (weekend hack)
okay, added a fix to try and extract article text from non-feed urls. try http://tldrzr.herokuapp.com/tldr/?feed_url=http://matt-welsh... :)
mohaps··on Show HN: TL;DRizer - an algorithmic summarizer webapp/api in java (weekend hack)
the algo is listed at the bottom of the home page. Will be opensourcing this code soon.
mohaps··on Show HN: TL;DRizer - an algorithmic summarizer webapp/api in java (weekend hack)
well put, hayksaakian. Also, never underestimate the built in auto-correct of the human mind :) There will always be a market for expert-curated approaches, but sometimes it's just cheaper to algorithmically "Crunch" it. Sometimes RAIN MAN counting toothpicks is enough, but when you need Ramanujam... :D

Also, do keep in mind... this is 2 hrs worth of coding time late on a sunday night. I don't have a CS degree, just a utilitarian/curious programmer who sometimes is stupid enough not to realize how hard a problem I'm tackling. :) Someone better qualified can do a much better job. Sometimes "just good enough" is good enough! :)

mohaps··on Show HN: TL;DRizer - an algorithmic summarizer webapp/api in java (weekend hack)
try this url: http://matt-welsh.blogspot.com/feeds/posts/default?alt=rss it works. same feed url pattern will work for google blog too http://googleblog.blogspot.com/feeds/posts/default?alt=rss
mohaps··on Show HN: TL;DRizer - an algorithmic summarizer webapp/api in java (weekend hack)
ah, it won't work directly for webpages (html). the url is expected to be that of a RSS/Atom feed. for the html web pages, copy pasting the text to the textarea works.

Will try to add url content type detection in the next cut and summarizing non-feed url's next up

mohaps··on Show HN: TL;DRizer - an algorithmic summarizer webapp/api in java (weekend hack)
trying to figure out (short of creating a new repo from current code) how to mirror the heroku git repo for this on github
mohaps··on Show HN: TL;DRizer - an algorithmic summarizer webapp/api in java (weekend hack)
thanks
mohaps··on Show HN: TL;DRizer - an algorithmic summarizer webapp/api in java (weekend hack)
try now. the blog.medusis.com/rss link works now. Thanks for the feedback. since this grabs the page text (when no rss text is found) a lot of junk like copyright notices etc. shows up in summary. Will have to add some logic to scrub those. It also behaves horribly with code snippets.
mohaps··on Show HN: TL;DRizer - an algorithmic summarizer webapp/api in java (weekend hack)
ah, got it. if no entry text is present, I was assuming each entry to have a description field. Fixed it. if both entry text and description are missing, it fetches the url text of the link and summarizes it. pushing to heroku
mohaps··on Show HN: TL;DRizer - an algorithmic summarizer webapp/api in java (weekend hack)
no, i use ROME to parse RSS feeds. So it should be able to handle whatever that can handle. Let me check
mohaps··on Show HN: TL;DRizer - an algorithmic summarizer webapp/api in java (weekend hack)
well, it ain't called TL;DRizer for nothing! :P
mohaps··on Show HN: TL;DRizer - an algorithmic summarizer webapp/api in java (weekend hack)
yeah, I'm working on adding more summarizer algorithms. I've been thinking on the lines of weighing up rhetorical questions, weighing down exclamation mark (cheap sarcasm detection) etc.
mohaps··on Show HN: TL;DRizer - an algorithmic summarizer webapp/api in java (weekend hack)
nice :) much better UI. As you can tell, I really suck at HTML/JS coding.
mohaps··on Show HN: TL;DRizer - an algorithmic summarizer webapp/api in java (weekend hack)
yeah, I plan on open sourcing this. waiting on some technicalities.
mohaps··on Show HN: TL;DRizer - an algorithmic summarizer webapp/api in java (weekend hack)
the algo is still kinda "dumb". It basically tries to get top N keywords - most frequent non stopwords, stems them and goes through the sentences looking for which of them (upto max summary length) contain the keywords. I'll keep whittling at it over nights/weekends to see if I can make it more "semantically aware"

edit: some work is needed on the tokenization also. currently, I don't preserve non-period punctuation.

mohaps··on Show HN: TL;DRizer - an algorithmic summarizer webapp/api in java (weekend hack)
haha! :) Yeah, this was kinda fueled by the news of the summly acquisition and too many red bulls drunk during the drive from LA to SFO after wondercon.
mohaps··on How I Wrote a Book in 3 Days
tjic, it CAN be done. e.g. Michael Moorcock's "Write a novel in 3 days" or Lester Dent's pulp master plot

http://boingboing.net/2011/08/05/write-an-adventure-novel-in...

That being said, it's different for every project. Some subject matters / genres follow a certain cadence/form that can be fast tracked through.

Any research or period elements though tend to slow it down.

I do have some experience with writing/publishing :)

PS: my current book took me 4 years to finish :D

mohaps··on Why is GoToMeeting being a scumbag?
we faced this we were running dimdim. even now this is what the ads GTM runs for keyword "dimdim" looks like : http://static.inky.ws/image/2152/image.jpg

Just ignore it and build a better product.

mohaps··on Doom 3 source released
idlib/Heap.h and idlib/Heap.cpp implement a replacement malloc/free.

From the header comments:

/* ===============================================================================

Memory Management

This is a replacement for the compiler heap code (i.e. "C" malloc() and free() calls). On average 2.5-3.0 times faster than MSVC malloc()/free(). Worst case performance is 1.65 times faster and best case > 70 times.

=============================================================================== */

mohaps··on ActiveMQ: Not ready for prime time
ZeroMQ is cool from a technology angle. Before considering it though, keep in mind it's LGPL v3 licensed. :(
← PreviousPage 2 of 2