Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
m0th87
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
181.
▲
by
m0th87
12y ago
At least in my application, views are always bound to either an `m.prop` or an immutable value. What if you tracked when an `m.prop` was updated and queued up a redraw automatically? Redraws would be rate-limited via requestAnimationFrames&
182.
▲
by
m0th87
12y ago
Thanks for Mithril - we're experimenting with it vs react.js for production use. There's a lot of very smart design decisions there expressed in very terse code. One thing that threw me off was startComputation() / endComputa
183.
▲
by
m0th87
12y ago
Also it arguably opens the doors for corruption. Bloomberg ran on a campaign of "I'm so rich, no one can bribe me." If a non-billionaire politician receives the minimum wage, they could be more susceptible to financial incent
184.
▲
by
m0th87
12y ago
The other side of the world is quickly catching up to developed nations. Granted there's still a while to go, but there's good reason to think that at some point countries everywhere will be more or less on an even keel.
185.
▲
by
m0th87
12y ago
Apologies, polymorphism is a loaded term that could mean different things depending on your background. I mean parametric polymorphism , i.e. generics. What makes you unexcited about them?
186.
▲
by
m0th87
12y ago
I thought the debate was about polymorphism. It's apparently not worth including because...? It's not already in the language spec? Because the people who advocate it are using the wrong tool? Surely there's a better argument
187.
▲
by
m0th87
12y ago
I'm not sure how you can create a pragmatic language while ignoring the most common complaints about it. There's this common attitude of "if you want feature X and Go does not have it, Go is not for you." To some extent
188.
▲
by
m0th87
12y ago
You're right, Golang is all about pragmatism, and a very pragmatic thing for language designers to do is to listen to the marketplace on how the language should evolve. Lack of polymorphism must be the most common critique of Golang. I
189.
▲
by
m0th87
12y ago
This is an ongoing debate in science and philosophy, so it's certainly not a meaningless juxtaposition of words. The counter-arguments against Searle's Chinese room argument alone should be enough to put the handwaving to bed.
190.
▲
by
m0th87
12y ago
This article made zero sense. An example: > Look at Fastly, a new August Capital-backed Edge Computing CDN built just for Mobile architectures. A new CDN? Not something we look to AWS and Google for. Yet. I'm not sure how Fastly is
191.
▲
Pilbox
(github.com)
1 points
by
m0th87
13y ago
|
0 comments
192.
▲
Libc considered harmful
(sylvain-henry.info)
2 points
by
m0th87
13y ago
|
0 comments
193.
▲
by
m0th87
13y ago
It's not worth relying on IMO. We had some pretty straight-forward backbone views populated by AJAX content in production, and it was never crawled. In general it's very unclear what capabilities the crawler is capable of.
194.
▲
by
m0th87
13y ago
Try prerender [1]. We use it in production with backbone. This combined with keeping the most content not-client-rendered has alleviated most of our issues. In the long-term I'd love to see a web framework that uses react on the server
195.
▲
Google speeds up Chrome by compiling JavaScript in the background
(thenextweb.com)
2 points
by
m0th87
13y ago
|
0 comments
196.
▲
by
m0th87
13y ago
As far as I can tell, Sphinx has a more involved setup process. Also our search runs against JSON documents, which seems to suit Elasticsearch better than Sphinx. I might be wrong on both counts though, we really didn't look into Sphin
197.
▲
by
m0th87
13y ago
FWIW, Elasticsearch builds on Lucene. It's just working at a much higher level of abstraction.
198.
▲
by
m0th87
13y ago
It was two weeks ago, and our startup was on the precipice of a major launch. We had completely rewritten our online publication site, which drives the bulk of our traffic. The product had to be shipped on-time - we had press releases, eage
199.
▲
by
m0th87
13y ago
For an alternative, check out RQ: http://python-rq.org/ We use it in production and it's been rock-solid. The documentation is sparse but the source is easy to follow.
200.
▲
by
m0th87
13y ago
Isn't memory only shuffled around during compaction? Why not mark/sweep in parallel, then stop-the-world at compaction time?
201.
▲
by
m0th87
13y ago
I literally just hacked something together that does this a couple of hours ago using opencv/python: http://yusufsimonson.com:8000 . Edit: and here's the source: https://github.com/ysimonson/instant
202.
▲
Gevent 1.0 released
(gevent.org)
2 points
by
m0th87
13y ago
|
0 comments
203.
▲
Rays
(github.com)
2 points
by
m0th87
13y ago
|
0 comments
204.
▲
by
m0th87
13y ago
Obviously take this with a grain of salt since I didn't publish anything, but When I did some analysis on battery life impact of HTTP polling vs websockets two years ago, the difference was completely negligible compared to keeping the
205.
▲
by
m0th87
13y ago
That link errors out for me. That said, I've never seen time constraints actually enforced in any real way at a hackathon, and I suspect there's a good amount of cheating at events with decent-sized rewards. Multiply that a thousa
206.
▲
by
m0th87
13y ago
For starters, markets cannot be perfectly efficient unless P = NP: http://arxiv.org/pdf/1002.2284.pdf
207.
▲
by
m0th87
13y ago
I don't even see how the article brings up a good point. A very small percentage of Stanford undergrads are dropping out and starting up, so what? Maybe it's part of their pursuit to work at whatever inspires them.
208.
▲
by
m0th87
13y ago
Then it's a good thing computer science isn't driven by feelings.
209.
▲
Catnap
(github.com)
1 points
by
m0th87
13y ago
|
0 comments
210.
▲
by
m0th87
13y ago
I have, and I grew up downwind from it. Parts of it are nice (e.g. Boone and Asheville where I grew up in NC), but off the beaten track are villages that look like they haven't progressed in the last hundred years. I've been to th
More ›