News for hackers. Stuff that matters.

stummjr

This repo may be helpful to you: https://github.com/satwikkansal/wtfpython

It’s a collection of snippets to explain behaviors that may be considered unexpected.

Re:A CS degree is better than teaching yourself how to code? on Sunday November 03, 2019 @09:32AM (#21434052)
I disagree with this article in so many ways. I have a CS degree and I work with many people who don’t, and they are just as good as (or even better than) me at all the points raised by the article.

They meet deadlines, they are incredibly good at communication and collaboration and they have pretty good networking. Most of these traits come from the fact that they needed to develop them in order to succeed in learning by themselves.

It is a pretty limited view of the world to think that only college can bring you this. Immersing yourself in a coding bootcamp for some people means leaving the jobs they need to survive in order to have a better job in the future. I can’t imagine how being on college can teach more about meeting deadlines, teamwork, communication and perseverance than that.

I wish this article provided more facts to back its beliefs up.

Re:Ngrok: Secure tunnels to localhost on Saturday May 06, 2017 @07:52AM (#14279807)
Ngrok is just awesome! A huge shout out to the developers!
Re:How to Crawl the Web Politely with Scrapy on Thursday August 25, 2016 @02:39PM (#12361331)
Crawl-delay is not in the standard robots.txt protocol, and according to Wikipedia, some bots have different interpretations for this value. That's why maybe many websites don't even bother defining the rate limits in robots.txt.
Re:How to Crawl the Web Politely with Scrapy on Thursday August 25, 2016 @12:30PM (#12360347)
That's kind of what Scrapy's AUTO_THROTTLE middleware does.
Re:How to Crawl the Web Politely with Scrapy on Thursday August 25, 2016 @12:03PM (#12360127)
Yeah, but that's not just because of web scraping. Plagiarism has been an issue for centuries.
Re:How to Crawl the Web Politely with Scrapy on Thursday August 25, 2016 @09:24AM (#12358778)
Scrapy is asynchronous, but it provides many settings that you can use to avoid DDoS a website, such as limiting the amount of simultaneous requests for each domain or IP address.

And yes, crawling politely requires a bit of effort from both ends: the crawler and the website.

Re:Ask HN: If you don't permit telecommuting, why? on Friday July 22, 2016 @01:55PM (#12145337)
Scrapinghub is 100% remote from day zero. Nowadays there are ~140 people spread around the world, covering almost all timezones.
Hey! I work for Scrapinghub. Feel free to ask any questions.
Re:Introducing Scrapy Cloud 2.0 on Thursday May 05, 2016 @11:13AM (#11636804)
Hey, Valdir from Scrapinghub here! Feel free to ask any questions you might have about the platform.
Re:A (not So) Short Story on Getting Decent Internet Access on Wednesday April 27, 2016 @08:53AM (#11579901)
This is such an inspiring story! I guess a lot of people today go the opposite way, renting or buying places where they know there is a decent internet access. I'm guilty about it. :)
Re:Scrapy Tips from the Pros: April 2016 Edition on Wednesday April 20, 2016 @01:15PM (#11535972)
Hey, I'm the author. Feel free to ask any questions.
Re:Scrapy Tips from the Pros: February 2016 Edition on Wednesday February 24, 2016 @01:49PM (#11169114)
Hey, of course. We are glad that you are interested in testing Kumo.

Please email us (help at scrapinghub . com) your user id, organization ids and the project ids you want to migrate to Kumo. Then we'll get back to you, giving early access to Kumo beta and documentation.

Just keep in mind that it is still an experimental platform.

Re:Scrapy Tips from the Pros: February 2016 Edition on Wednesday February 24, 2016 @12:47PM (#11168616)
Hey, I'm the author of this post. Feel free to ask any questions or to suggest topics for the next month's post on the "Scrapy tips from the pros" series. :)
Re:Scrapy Tips from the Pros on Thursday January 21, 2016 @07:13AM (#10944697)
All sorts of careers, for example:

- developers who want to develop some data-based product (a travel agency website, who finds the best deals from airline companies);

- lawyers can use it to structure the data from Judgments and Laws (so that they are able to query the data for things like: which judges have interpreted this law in their judgments) (more on this: http://blog.scrapinghub.com/2016/01/13/vizlegal-rise-of-mach...)

- (data-)journalists who work on investigative data-based articles (they use it to gather the data to build visualizations, infographics, and also to support their arguments).

- real state agencies can use it to grab the prices of their competitors, or to get a map of what people are selling, what are the areas where there is more demand.

- large companies that want to track their online reputation can scrape forums, blogs, etc, for further analysis.

- online retailers that want to keep their prices balanced with their competitors can scrape the competitors websites collecting prices from them.

More on Quora: https://www.quora.com/What-are-examples-of-how-real-business...

Re:Scrapy Tips from the Pros on Wednesday January 20, 2016 @03:11PM (#10940966)
Maybe you should give a try at Portia (http://scrapinghub.com/portia/). It does exactly what you mean.

You may also be interested in this library: https://github.com/scrapy/scrapely

Re:Scrapy Tips from the Pros on Wednesday January 20, 2016 @11:29AM (#10939195)
Re:Scrapy Tips from the Pros on Wednesday January 20, 2016 @09:34AM (#10938307)
Scrapy can do the job, for sure. We use it to crawl more than 2 billion pages a month. :)

Older »