Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gildas
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
391.
▲
by
gildas
12y ago
Here's the one I got on linkedin recently https://twitter.com/check_ca/status/480784849260019712
392.
▲
by
gildas
12y ago
You can use SEO4Ajax [1] to crawl your SPA and generate an up to date sitemap dynamically. [1] http://www.seo4ajax.com/
393.
▲
by
gildas
12y ago
Same question than the one asked some months ago [1]: > Why should someone use your service instead of existing ones? What is your added-value compared for example to seo4ajax.com? It loooks like the innovation is just to use Firefox ins
394.
▲
by
gildas
13y ago
> You don't make an app/website secure by deciding on a list of things you need to sanitise. I agree > You sanitise everything to start with. So you need to list everything you need to sanitise... A better approach is to b
395.
▲
by
gildas
13y ago
If you're OK to delegate the scraping process to a SaaS then you may be interested by SEO4Ajax [1] which will make it much simpler. Disclaimer: I'm one of the co-founder. [1] http://www.seo4ajax.com
396.
▲
by
gildas
13y ago
If you are interested by the pricing you can have a look at prerender, brombone, getseojs, ajaxsnapshots or blitline. You'll see that it varies a lot.
397.
▲
by
gildas
13y ago
The crawler is just mandatory if you don't want to penalize the site with long response times or to prevent serving 5xx pages the first day you launch your Ajax site in production. BTW, be prepared for headaches, they are some surprise
398.
▲
by
gildas
13y ago
FYI, seo4ajax.com doesn't need any sitemap (but it generates it) and is very easy to configure. Actually, I still don't see where your service is better currently...
399.
▲
by
gildas
13y ago
Does crawlspa really crawl sites? Or is it just yet another "prerender-like" SaaS? Why should someone use your service instead of existing ones? What is your added-value compared for example to seo4ajax.com?
400.
▲
by
gildas
13y ago
Shameless plug: http://seo4ajax.com It's a SaaS which is much more elaborated than this project (there is one year of development into it). We serve and crawl thousands of pages every day without any issues.
401.
▲
by
gildas
13y ago
Are your URLs predictable? If that's not the case, then I highly recommend you to take a look a http://seo4ajax.com (disclaimer: I'm one of the co-founder) which is the only service that handles this problem correctly.
402.
▲
by
gildas
13y ago
I guess I have the same issue with Chromium (29.0.1506.0). Codeblock demos won't work because 'codeblock.js' is served with the wrong MIME type (i.e. 'text/plain') and the browser refuses to execute it. You could host your JS file on GitHub
403.
▲
by
gildas
14y ago
You don't need to call the slice method: Array.prototype.forEach.call(document.querySelectorAll('thing'), function (elem) { value = somevalue; });
404.
▲
by
gildas
14y ago
You're right, it's better to write it with a CSS3 transition.
405.
▲
by
gildas
14y ago
> You'll find yourself needing a method to add or remove classes eficiently. So you'll rewrite .addClass() and .removeClass() You don't need to rewrite it, cf. this shim [1] for example. > Then you'll need a clean way to make Ajax a
406.
▲
by
gildas
14y ago
> You know what I love about jQuery ? It's readable. Can you tell me what does this line of code without checking what the f value is? $(f);
407.
▲
by
gildas
14y ago
How can you say that a language that is hard to read helps developers to be more productive? My experience in development shows that I spend more time to (re-)read my code than to write it.
408.
▲
by
gildas
14y ago
> There's one queue (that one thread), and it's job to is delegate jobs so it can respond to new requests quickly. Ironically, you can find this JavaScript code in the page $(document).scroll(function(){ self.didScroll = tru
409.
▲
by
gildas
14y ago
I'm pretty sure that concatenating strings is not the "fastest way" to create HTML tables.
410.
▲
by
gildas
14y ago
It makes my Chrome and IE9 freeze because of an infinite loop at #228 in the demo.
411.
▲
by
gildas
14y ago
It would also be nice if the documentation mentioned that it requires jQuery.
412.
▲
by
gildas
14y ago
If I had to make a choice, I'd prefer to use a polyfill [1] implementing the constraint validation API [2] instead of using a proprietary API. [1] http://afarkas.github.com/webshim/demos/demos/webforms.html [2] https://developer.mozilla.
413.
▲
by
gildas
14y ago
You should set the node property instead (e.g. standard textContent or innerText). It will work everywhere.
414.
▲
School in Belgium makes iPad mandatory
(vr-zone.com)
1 points
by
gildas
14y ago
|
0 comments
415.
▲
by
gildas
14y ago
> In absolute positioning, we define exact pixel for html element where it will appear. This starts from the top left of the parent element. This is quite wrong. Here is what the W3C specs say: > In the absolute positioning model, a
416.
▲
by
gildas
14y ago
A library should not create so much global variables. It seems a lot of them are undeclared.
417.
▲
by
gildas
14y ago
No I was refering to your examples. I sent you a mail to show you how to reproduce the problem.
418.
▲
by
gildas
14y ago
The demo site is also leaking (a lot of) memory. Use the "heap snapshot" in Chrome Dev tools [1] and do some heap comparisons when going from one page to another one (switch between two distinct pages multiple times). [1] https://developer
419.
▲
by
gildas
14y ago
This library requires an HTML5 compliant browser but does not use HTML5 features? When looking at form elements example [1], I see that new input types (e.g. date, color, range, datalist...) are totally reinvented. What's the point? [1] ht
420.
▲
by
gildas
14y ago
As far as I know jQuery is written with "native API", so there is obviously a way to do this in JavaScript. document.body.addEventListener("click", function(e) { if (e.target.className == "clicky") { doSomething();
More ›