Web scraping with Factor
re-factor.blogspot.com
re-factor.blogspot.com
The OP's template could have some more info on what Factor is, but there's a few links, including this wiki for it: http://concatenative.org/wiki/view/Factor/Learning
I honestly didn't know what a "concatenative" language was until I saw that "Six programming paradigms that will change how you think about coding" post that fronted HN last week:
http://brikis98.blogspot.in/2014/04/six-programming-paradigm...
So this is just a long way of saying...after just learning about concatenative languages, I'm really interested in what that paradigm brings to a common task...maybe there aren't productivity gains, but I love learning different philosophies of coding, and thanks to the OP for showing one practical example.
Concatenative languages are quite interesting, and I'd encourage you to try it out. You might find it helps your thinking about certain problems.
https://web.archive.org/web/20111006171100/http://www.latrob...
...unfortunately, it appears that the webpage of Joy's author has been lost to the web, so therefore the link to the Internet Archive. And don't forget that there was a very mainstream concatenative language at one point in time: PostScript.
@otoburb can you recommend any better guide for the same?
The concatenative.org[3] wiki also has similar starting material and pointers.
Factor is a fun language. The blog that I linked to is written by one of the Factor contributors.
I'd especially appreciate a bottom-up write up, starting with the stack and cells (which feel familiar), and then introducing higher-level abstractions of Factor.
However, we have a stack checker that still supports optional stack effects if you yearn for the good ol' days:
I used to follow his blog about factor with interest some years ago and then all of a sudden... he was gone.
With scrape.ly I can just do this to crawl the entire HackerNews site across pages and grab the urls and extract any data from the page it lands on without defining any fields (it discovers them on it's own) and so doesn't require you to 'relabel' fields when the site changes layouts. It also generates new IP addresses on the fly so you don't get stuck and launches multiple threads for you to speed up the process. It works fully with ajax sites and single page apps. Flash support is coming too.
http://scrape.ly/s/{https://news.ycombinator.com/}
{next:More}{Space Monkey dumps Python for Go}*{fields:'Auto'}
Honest question (I don't mind downvoting if you disagree), but why would you want to waste time writing web scrapers, maintaining it to run and fixing the code? Multiply it by 100 or 1000 different websites and it becomes a full-time job. For me, I want to get the data I need with the least possible of overhead and as soon as possible and I don't really want to be bothered with setting up environments and hosting for it to run and fixing bugs when sites change layout. Web scraping with FactorYour criticism of this post comes across as tone-deaf. You might as well have written the editors of Beautiful Code to lecture them about how the chapter on quicksort is horribly misguided and that everything a good software craftsman should ever care to know on the subject can be found at http://docs.oracle.com/javase/7/docs/api/java/util/Arrays.ht...)