Earlier quoted context omitted.
oh, interesting. I wanted to use redis for log-parsing, but was scared by the prospect of keeping everything in ram. Ended up using mongodb instead, but I'd be interested to hear how you get on with redis.
If you know what stats you want to collect before parsing, the memory usage is very low. The most resource intensive part in this application is loading the filtered logs for all machines into a sorted set (which is necessary to get all the events in chronological order). That key is only temporary though. That said, Redis 2.x supports virtual memory so it's less of a problem for a longer-term data-store.
Ask HN: What are you working on today?
301–310 of 314 posts
Re: Ask HN: What are you working on today?
#302a hacker news rss filter written in haskell that uses redis to store feed information. i've found a few filters that are like "only show feeditems which have 10+ votes" etc. I'm going for something a little more complicated - most popular n posts by hour, day, week and month.
I've been thinking about something like this. Basically, seeing the Top 'N' posts for a given time period. Like a digest of the Top 20 posts for the previous 24 hours delivered by email or RSS. I want an option to retrieve some/all of the comments for these stories as well. Does something like this exist already? RSS is not an optimal delivery method for crowd sourced news sites like HN, Reddit, etc.
http://weeklyreddit.appspot.com/
yeah basically you want some sort of digest, unfortunately weekly is often too slow to contribute, so dayly is pretty good. I personally don't mind if its done via rss.
Re: Ask HN: What are you working on today?
#303Today I released my three-day project "I Write Like". You paste some text, it analyzes it and tells you what famous writer you write like. Link: http://iwl.me
Nice idea. I'd be intrigued to know what features of the writing (other than vocabulary) you're comparing. [some advanced work in this area, plus a perfect UI, could be a really interesting project to work on, and something you could sell]
Re: Ask HN: What are you working on today?
#304Earlier quoted context omitted.
This is a lot of fun but the great variety of results I received left me without any sense of who I may actually write like. I analyzed a series of correspondence, all written within several weeks, and similar in tone, and I was told that I write like: Dan Brown, James Joyce, Isaac Asimov, Stephen King and Douglas Adams. Anyway, I love the concept. Please add Robert Louis Stevenson (Strange Case) to your collection.…
Thanks! I'll add Stevenson on the next update.
Re: Ask HN: What are you working on today?
#305Earlier quoted context omitted.
I just spent about 15 minutes messing around with this. Very neat. I then made the unfortunate decision to show it to my girlfriend, who is now angry at me that it said she writes like Dan Brown. I'd be curious to know how large the pool of authors is.
:-) Currently 29 authors. Will feed it with more.
Re: Ask HN: What are you working on today?
#306Re: Ask HN: What are you working on today?
#307Client side image resizing for an image uploader, part of a larger web app build. Saves a ton of time/bandwidth/CPU. So far its turned really well. Its pretty easy actually, thanks to the most recent beta of SWFUpload. If you want to implement yourself, make sure to grab the patched .swf or you may have trouble queueing uploads. SWFUpload 2.5 Beta: http://code.google.com/p/swfupload/downloads/detail?name=SWF... Patch…
Re: Ask HN: What are you working on today?
#308Backing up my entire hard disk so I can shift to Ubuntu from Windows, all necessary because virtualenv doesn't play nice with Windows.
Re: Ask HN: What are you working on today?
#309In addition to that, I recently adjusted my fork of RVM[1] to work with Gentoo again (installed and managed systemwide as root, with users read-only).
Also, for the past week or two, I've been helping with RDBI[2], a new project aiming to be to database access what Rack is to web servers and web frameworks.
Re: Ask HN: What are you working on today?
#310Today I released my three-day project "I Write Like". You paste some text, it analyzes it and tells you what famous writer you write like. Link: http://iwl.me
Good work; show me more (I subscribed).