Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mnutt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
128 ms
·
1021.
▲
by
mnutt
16y ago
Heroku is awesome, but one of the drawbacks (to my knowledge) is that you can't set up nginx redirects. So with that setup each user incurs an extra rails request once per session.
1022.
▲
by
mnutt
16y ago
Back when I worked at LimeWire (probably the largest Swing install base in the world) I played around with MacWidgets. It's really an admirable effort, but trying to emulate Cocoa in Java always feels a little off. It's sort of an Uncanny
1023.
▲
by
mnutt
16y ago
I would argue the opposite -- that really simple CRUD stuff really does need a framework. Why waste your time doing mind-numbing work when you can let the framework do it for you? On the other hand, with full-blown web applications that do
1024.
▲
by
mnutt
16y ago
Perhaps because, though Sinatra is actually one of my favorite frameworks, it doesn't work very well for this. The author comments that it's limited to 10 seconds because each connection is handled by a blocking Thin. Eventmachine could a
1025.
▲
by
mnutt
16y ago
This is one of the things that node.js is really good at, and it's interesting that the sample code on the front page of nodejs.org was pretty similar to this app. Here's the rough equivalent in node: require('http').createServer(funct
1026.
▲
by
mnutt
16y ago
Presuming you're a great engineer that dislikes PHP, you'd take a crappy language and build hacks on top of it? Your great engineers would probably have better things to do with their time. Artificial constraints are great for creativity;
1027.
▲
by
mnutt
16y ago
If you're pretty technically inclined and know your way around FireBug/Webkit Inspector, YQL (Yahoo Query Language) is very convenient. It lets you use css selectors to grab data and returns it in JSON or XML. It's great for quick and dirt
1028.
▲
by
mnutt
16y ago
Also, important to note that while 2 million pages a day sounds like a lot, it's around 23 pages/s if distributed evenly. If traffic peaks around double or triple that, it's still very feasible for a single server running a dynamic app to
1029.
▲
by
mnutt
16y ago
I was thinking of a similar thing the other day. Could one make an easy-enough-to-use public-key encrypted social network? One of the ways that sites often scale is denormalization, so if they're generating each person's activity feed anyw
1030.
▲
by
mnutt
16y ago
Is anyone trying to solve the data control problem right now?
1031.
▲
by
mnutt
16y ago
You should check out Homebrew for Mac. I've found it a little bit more reliable than Macports, and it's actually reasonably easy to create your own packages. To create a new package you can just `brew create http://foo.org/crufty-package
1032.
▲
by
mnutt
16y ago
Those are all good points, although as a different method you can offset some of the load time of putting scripts in the head tag by flushing the head as soon as possible: http://yehudakatz.com/2010/09/07/automatic-flushing-the-rail... (n
1033.
▲
by
mnutt
16y ago
Say what you will about his interactions with people, but "not knowledgeable or good at what he does" is an unfair characterization. I find his hook.io project ( http://hook.io/about.html ) particularly interesting, and the BDD testing app
1034.
▲
by
mnutt
16y ago
I think there are a couple of factors here: 1. It was a 48-hour coding competition, so some bugs are to be expected. 2. The hosting for the apps in this competition was turned on literally the day before: http://twitter.com/joyent/status/2
1035.
▲
by
mnutt
16y ago
And the price right now is so high because Polaroid stopped making the film a couple of years ago. Before that, film was a little over $1/picture.
1036.
▲
by
mnutt
16y ago
That's pretty cool. I'm working on a real time analytics tool as well, although I'm only showing aggregate stats and don't have any sort of site map visualization yet: http://hummingbirdstats.com
1037.
▲
by
mnutt
16y ago
That would be cool. It actually wouldn't be hard to adapt Hummingbird to pull from the logs, or of course you could use another existing WebSockets server to serve the requests. WebSockets is a pretty simple protocol, and Hummingbird just