Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ds_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
ds_
13y ago
Python has had generators since 2.2, where as they are just landing in js/node.js.
32.
▲
by
ds_
13y ago
An interesting read on the subject: http://www.amazon.com/The-Unfolding-Language-Evolutionary-In...
33.
▲
by
ds_
13y ago
Wikipedia gives an explanation: http://en.wikipedia.org/wiki/Yoda_conditions Seems kind of meh, especially if you're writing javascript when keywords like undefined can be redefined with no effect.
34.
▲
by
ds_
13y ago
A similar convention, often seen within the node community: https://npmjs.org/doc/coding-style.html#Comma-First Personally, I find this ugly with very little benefit. It seems awkward to edit.
35.
▲
by
ds_
13y ago
It does seem strange, is there a reasoned argument for why this can be better?
36.
▲
by
ds_
13y ago
What do you mean by that? if (constant == variable) type conditions?
37.
▲
by
ds_
13y ago
If express was connect, since koa is basically a rewrite of connect using generators, doesn't it make sense to give it a new name?
38.
▲
by
ds_
13y ago
One way: It leverages generators, which helps in avoiding callback hell ( http://blog.alexmaccaw.com/how-yield-will-transform-node ) Koa is written by the same author as express.
39.
▲
by
ds_
13y ago
That's pretty much what they did (and connect, which was the foundation of express and since bought by senchalabs).
40.
▲
by
ds_
13y ago
I understand it's due to connect being bought by sencha. The FAQ states it's more like connect, with some express goodies moved to the middleware level.
41.
▲
by
ds_
13y ago
And I don't think even that really belongs in this list.
42.
▲
by
ds_
13y ago
I have to agree with RyanZAG, log4j seems a strange inclusion in this list.
43.
▲
by
ds_
13y ago
Wouldn't the secrets file be added to gitignore?
44.
▲
by
ds_
13y ago
I wouldn't say SEO is a major hurdle, there is prerender.io ( http://prerender.io/getting-started#ruby ) and countless other services which help (I made one).
45.
▲
by
ds_
13y ago
It's the Great Rift http://en.wikipedia.org/wiki/Great_Rift_(astronomy)
46.
▲
by
ds_
13y ago
Indeed, it would make a nice wallpaper.
47.
▲
by
ds_
13y ago
You can see it in areas with little light pollution (although not quite like this image), otherwise most of the stars are too faint.
48.
▲
by
ds_
13y ago
Yes, it's the plane of our galaxy. If you click show constellations and objects, you can see where we are in the spiral, bottom left.
49.
▲
by
ds_
13y ago
What's broken about it?
50.
▲
Pre-release of new AngularJS book
(ng-book.com)
2 points
by
ds_
13y ago
|
0 comments
51.
▲
by
ds_
13y ago
Or martini? I liked the look of martini but have not delved deep enough to make an informed decision. Might pick Go for my next side project...
52.
▲
by
ds_
13y ago
A service that allows single page ajax applications to be indexed with minimal effort http://crawlspa.com
53.
▲
by
ds_
13y ago
The documentation isn't great but it isn't terrible either. I hope people thinking of giving angular a try aren't put off by the constant over-dramatisation.
54.
▲
by
ds_
13y ago
Me personally? Or 'one'? :) I think it's like others have said, there is a difference between giving up completely and changing direction/priorities.
55.
▲
by
ds_
13y ago
Yes, but they simulate multiple pages by fetching new data via ajax requests and modifying the DOM with javascript.
56.
▲
by
ds_
13y ago
It already is: http://foundation.zurb.com/docs/applications.html To the foundation team, "makes us to do so much quicker" should probably be "enables us to do so much quicker".
57.
▲
by
ds_
13y ago
I can appreciate that. Is there anything that would alleviate your concerns? It is something that should only affect crawlers and I'd expect most new users of the service to have zero Google presence (so better than nothing/worth
58.
▲
by
ds_
13y ago
Yep, I thought brombone had an interesting pricing model :) I wonder if they managed to get any signups.
59.
▲
by
ds_
13y ago
Cool, ill be interested in seeing what you start charging after the beta :) Good luck with it, its reassuring that im not the only one to have thought this to be a good idea.
60.
▲
by
ds_
13y ago
The crawler is a bit hands on. Crawlspa refreshes the cache in the background after each request. For sites with frequently updated content, having to recrawl may become a headache.
More ›