Live data from Hacker News

Ask HN: Do you have any code or projects of your own you would like to talk about instead?

news.ycombinator.com

41–50 of 106 posts

Re: Ask HN: Do you have any code or projects of your own you would like to talk about instead?

#41

I'm writing my own compiler and designing my own programming language, just like everybody else! Practical, no. Fun, YES.

Practical, yes.

I am going back to 5 year old notes on instruction scheduling and using the same code and algorithms to deliver targeted advertisement on the net.

Re: Ask HN: Do you have any code or projects of your own you would like to talk about instead?

#42
I am trying to keep online advertising fun by doing it in Lisp.

I "write" one web server a day, mostly customizing hunchentoot in some way. I have it malleable and obedient; nothing like having total mastery over your tools. I am at the point where I can look at a Lisp web app and I can see the cost of each form; thanks to weeks of disassembly, tweaking and benchmarking.

Re: Ask HN: Do you have any code or projects of your own you would like to talk about instead?

#43
post #34

I'm working on implementing a hyperspatial text classifier in Haskell. It's conceptually similar to the hyperspace classifier in CRM114 (essentially a weighted nearest-neighbor search), but shouldn't crash as much or corrupt its data files. I've thought of some interesting problems to point a fast and effective classifier at that aren't spam detection. I'm also working on a library/framework in Clojure for apps that…

Zak, by classifier I hope you mean "categorizer". i.e. given a text and a list of categories, return which categories the text belongs to, along with a confidence number.

If so, I say chase that thought a bit. You might save me from actually messing with NLP.

Re: Ask HN: Do you have any code or projects of your own you would like to talk about instead?

#45
post #41

I'm writing my own compiler and designing my own programming language, just like everybody else! Practical, no. Fun, YES.

Practical, yes. I am going back to 5 year old notes on instruction scheduling and using the same code and algorithms to deliver targeted advertisement on the net.

As a former compiler junkie that sounds interesting, can you elaborate?

Re: Ask HN: Do you have any code or projects of your own you would like to talk about instead?

#46
I'm working on improving eventlet: http://devel.ag-projects.com/~denis/eventlet/

Eventlet is a networking library that uses greenlet, Python implementation of coroutines [http://codespeak.net/py/0.9.2/greenlet.html] to handle asynchronous events in a synchronous way. Greenlet can be thought as an analogue to Python's enhanced generator, however, without "yield" keyword and the limitations it brings.

For the applications that are network-bounded it effectively brings Erlang-like scalability in Python: you can spawn as many greenlets as you like (they're cheap) (e.g. one or several per incoming connection), control their execution, etc.

If that sounds unclear, just look at the examples:

http://devel.ag-projects.com/~denis/cgi-bin/hgweb.cgi/file/t... http://devel.ag-projects.com/~denis/cgi-bin/hgweb.cgi/file/t... http://devel.ag-projects.com/~denis/cgi-bin/hgweb.cgi/file/t...

Compared to the original eventlet (home - http://wiki.secondlife.com/wiki/Eventlet) our branch has - a number of bugs fixed and "onions" removed - twisted integration - you can use any twisted reactor or twisted protocol or any other feature you like (this part is heavily influenced by corotwine) - proc module for advanced coroutine control (spawn, link, waitall, etc)

Re: Ask HN: Do you have any code or projects of your own you would like to talk about instead?

#47
post #43
post #34

I'm working on implementing a hyperspatial text classifier in Haskell. It's conceptually similar to the hyperspace classifier in CRM114 (essentially a weighted nearest-neighbor search), but shouldn't crash as much or corrupt its data files. I've thought of some interesting problems to point a fast and effective classifier at that aren't spam detection. I'm also working on a library/framework in Clojure for apps that…

Zak, by classifier I hope you mean "categorizer". i.e. given a text and a list of categories, return which categories the text belongs to, along with a confidence number. If so, I say chase that thought a bit. You might save me from actually messing with NLP.

Yes, I do. The usage is essentially identical to the Bayesian probability classifiers commonly used for spam detection. I compared several of the classifiers available in CRM114 and found hyperspace to be the most accurate as well as being much faster when checking a large number of categories.

Re: Ask HN: Do you have any code or projects of your own you would like to talk about instead?

#50
A tree-based forum visualization using js and canvas. It is intended to make it easier to follow longer discussions.

Link (using proggit as test data): http://www.webnodes.org/reddit

Source: http://github.com/csytan/webnodes/tree/master

Post reply on HN