stuffihavemade

Joined 15 years ago

Karma
216
Submissions
97
Member since
Apr 28
View on Hacker News

Recent submissions

Comment · 13 years ago
You know that Walmart, and gas stations, and bodegas sell these already right? That's why this is a bad idea. Not only is this less anonymous from buying from Walmart, but it's more expensive as well.
Comment · 13 years ago
To expand a bit on with tikhonj is saying, consider the type signature of map:

map :: [a] -> (a -> b) -> [b]

In an implementation of map with this signature, the only way to get a list of b's is to use the function passed in. So, there's no way to do the array unwrapping shenanigans from the js example.

Comment · 13 years ago
Almost no-one really needs to write code like your “bad” example today, and even if they do, it’s the sort of thing you only do once and wrap up in your own library so you can reuse exactly the ideas you need and optimise it using the same tools as any other JS you write.

If you're going to do that, it'd be good to open source it so other people can take advantage of it. Maybe abstract out some other cross browser stuff as well. Also, it would cool if it made the DOM api nicer to work with.

Comment · 13 years ago
Have you experimented with typed channels (http://doc.akka.io/docs/akka/snapshot/scala/typed-channels.h...) at all? I've played around with them, and they seem to work pretty well, but don't seem to compose with the other "extensions" (e.g. the FSM one)
Comment · 13 years ago
So, I just tried this out. I think it would be a lot more user friendly if you could see what "spells" are available when making a new spell (i.e. have auto completion in the text editor). It's a pain to have to look at the spell book, and limits experimentation.
Comment · 13 years ago
That wouldn't do anything. If it's readable, it could be OCR'd.
Comment · 13 years ago
Comment · 13 years ago
Plus, who's to say he wouldn't have cashed out at some point during the downward spiral in the 90's?
Comment · 13 years ago
How does that work zoning wise?
Comment · 13 years ago
It's absolutely insane if they are using Mongo as their source of truth (and not say some kind of caching layer). If there is one thing that should be ACID, it's financial transactions.
Comment · 13 years ago
If they can sell successfully at that price point, I'd consider starting a competitor and undercutting them.
Comment · 13 years ago
You could use PATCH instead (which Rails will be using in 4.0).
Comment · 13 years ago
No, POST for create and PUT for update is correct. PUT is supposed to be idempotent.
Comment · 13 years ago
Comment · 13 years ago
Did/have you considered making this into a native application? I can see this competing with fireworks, but not if it's web based.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton