Better HN
topnewbestaskshowjobs
Log inSign up

brilliantcode

1,177 karma · joined Nov 7, 2016 (10y ago) · 644 submissions

Capitalism creates structural pressures which marginalize those without capital. It's a rigged game. One in which the player is told with hard work and wit that the player can become just like them-oppress others in exchange for a diminishing utility for increase in capital that can never be satiated.
Submissions

comment 9y ago · link · parent

Homelessness is a serious problem in Vancouver. Just walking along granville st., aka "entertainment district" (hard to NOT be snarky here too many awful memories) there's vagabond population along the sidewalk in front of luxury shops.

They commit crimes because they are mentally ill and take drugs. They aggressively pan handle even while leeching off our generous social programs while the middle class can't even find proper homes.

Worse, people support the population by pretending to be generous but in reality self serving their own ego to be perceived as a "nice & empathetic human". Pan handlers know this very well and exploit it. Even getting pissy and whiny when you refuse to give change. It's like they feel entitled to free money and too strung out to even put an effort in it.

I've given money to street performers and people hustling. These homeless population in Vancouver are mostly drug addicts and broken humans who are unable to help themselves. They will buy drugs with the money you give them with high certainty.

It's seriously putting inconvenience to the rest of the city and you are absolutely right that the rest of Canada's homeless population are given a one way greyhound ticket to Vancouver.

I refuse to pay taxes towards people who have no desire to change their situation and instead feel entitled and constantly leeching off the backs of hard working folks who are also struggling.

When the housing market collapses in Vancouver, the city is going to have a tough time forcefully relocating the homeless population.

comment 9y ago · link · parent

So you redefined homelessness and end up counting less people in order to call it success.

comment 9y ago · link · parent

Are these developers? Business people? I'm curious because we've been searching for a tool like this for a while but ultimately management thought it was a bad idea to rely on scraping, there's simply no replacement for a REST api.

comment 9y ago · link · parent

The network as I understand will automatically throttle and flag you if you are firing too many RPS. If you are hitting a particular domain over and over especially. So it's not possible to take down websites with TOR unless it's running on Dreamhost's shared hosting plan with a PHP solution.

This is why I find OP's story hard to believe, it doesn't add up.

comment 9y ago · link · parent

You can be sued for crossing the street. You can be sued for flipping the bird and someone happens to get aneurism from it. You can be sued for writing what you just wrote!

comment 9y ago · link · parent

This can't be a solution for people using web scraping:

The goal for web scrapers is to pay as little as possible for as much data as possible.

comment 9y ago · link · parent

Story doesn't add up.

First, it's very hard to pull off a DDOS attack using Tor. The most you could get would be less than someone repeatedly pressing refresh every second. This is because if you hit the same domain repeatedly the network will flag and throttle you.

How bad was your server configuration that it would choke if somebody tried to scrape it? Was this running on a dreamhost $10/year server or something? That's the only way to explain it's poor performance. Either that or your SQL queries are unoptimized anyways.

I'm just trying to understand. Unless this was like 10,000 scraper instances trying to scrape your website, I find it hard to believe this story.

Instead of downvoting, why don't you offer rebuttal to what I wrote and post more evidence to support your original story?

comment 9y ago · link · parent

If someone breaks the TOS, you can block them or send them C&D letters.

If you have the cash to take someone to court but you are going to be on the losing side.

ToS is not a mutually binding agreement. Even if you have a checkbox that says "I have read the terms", it's often thrown out because nobody expects you to read EULA down to the letter.

comment 9y ago · link · parent

No. TOS is not mutually binding agreement. You can't invite people to your garage sales and tell people that by looking at the items they've made a final sale automatically without their consent.

comment 9y ago · link · parent

This feels a lot like the "downloading mp3 is stealing".

If you don't want people stealing your music, don't put it other people's hands. The minute you release it to the world, it can't be reversed. See streisand effect.

Likewise, you cannot place burden on your visitors to read and analyze ToS with their lawyers and submit an official request via fax.

If you don't want people access your server, put it behind a paywall or a login screen at least so that you can easily ban people who don't play by your rules.

Otherwise, you have no excuse. If it's publicly accessible, then you cannot enforce any legally binding agreement as you've left the front door wide open and expect people to read tiny letters you put in front of your mailbox.

ToS is a one way street.

comment 9y ago · link · parent

interesting. are you seeing any product/market fit for this?

comment 9y ago · link · parent

Interesting. So the web crawling/page fetching component is a major value add to you as a developer?

Whereas the parsing is less of a value add because you prefer to code the parser yourself so that you have more control?

What about changing the parser and crawler as the websites changes?

What other pain points about scrapy do you have?

comment 9y ago · link · parent

3Taps became liable because they put their neck out for PadMapper even after they received written letters.

It was a poorly executed business strategy because they were up against powerful legal team.

Best thing to do if you receive C&D or requests to stop scraping, best to not continue and just let that customer go.

comment 9y ago · link · parent

The more I read your comment, the less I'm worried. It's clear that you are not a lawyer but someone just overly reacting to perceived legal liabilities by simply generalizing court cases and attempting to reach a conclusion that tries to fit everyone.

Businesses that utilize web scraping to achieve business goals at a direct expense of another business will get you in trouble not because of web scraping but simply trying to create competition. Businesses with a large cash use litigation to snuff out competition because their businesses are largely undefensible without such forceful litigation ex. craigslist would not exist if they let anyone scrape them.

Businesses that build and sell web scraping sevices and tools are less likely to be impacted for the same reasons if they comply with formal requests to stop scraping. 3Taps received notices beyond just IP ban (this alone does not set enough of a context) but they chose to ignore it and continue on. 3Taps had enough of a financial motivation on the line to put out their neck for their customer, PadMapper. Pretty fucking stupid if you ask me, no one customer is worth risking the entirety of your business operation.

It's far more likely that the law exists to serve those who exploit it to protect their business interests. Generalizing and extrapolating based on a few court cases with their own dynamic set of variables and exceptions as fact is dangerous advice.

I just want to warn people reading your comments not to take it word for word as the reality is far far less legally hostile-you are too small for people to go after and not an existential threat to the target website.

The argument that web scraping puts strain on web servers is a pretty laughable defense. Craigslist alone gets millions of hits every day but can't serve pages requested by a python script? 3taps fucked themselves because they took money AND they put their neck out for their customer.

That's the lesson here, don't risk your entire business for one customer. It's not fair to the rest of your customer base.

comment 9y ago · link · parent

Well, looks like all the HN user's of Scrapy better lawyer up because Scrapy Cloud offers exactly that, as do rest of the web scraping vendors like Mozenda out on the market. They've all been around for 10+ years, doesn't seem like this is an issue for them.

comment 9y ago · link · parent

So the answer is don't get IP banned. That's easy to solve.

comment 9y ago · link · parent

I've been doing research on this but it's not clear whether this problem is a pain for enough number of businesses to justify further investments.

I often feel like web scraping is a commodity without understanding any of the inherent technological complexities and challenges.

Very discouraging field to be in, especially when people claim to have pain but are unwilling to pay very much for it or show appreciation for the effort that goes into it.

edit: thanks for the downvotes. perfect illustration of how innovation is punished and unrewarded in this field.

comment 9y ago · link · parent

Well the difference is pretty clear between your case and the rest. Developers scraping a website isn't going anywhere. A business reliant on scraped data is making money off of it. That will lend you in precarious situation more.

My criticism was that you mixed in service providers and tool providers that enable businesses to make money off scraped data-the vendor cannot be held responsible for misbehaving clients, the best it can do is cut them out when requested by external parties. Toyota doesn't appear as witness to vehicular man slaughter cases. It's a car to take you from A to B but it's not Toyota's fault if the customer runs over something between those two points and not it's intended design (QVC vs Resultly).

It also doesn't help that there are pathological web scrapers who simply does not have the money to do anything fruitful so they will bootstrap using any means necessary and plays the victim card when they are denied. This particular group is responsible for majority of the litigations. People who otherwise have no business by piggybacking off somebody else using brute force to bring heat to everyone involved.

comment 9y ago · link · parent

Splash is not chromium I believe. Therefore it's buggy as hell and doesn't render websites that Chrome can as smoothly and easily.

comment 9y ago · link · parent

Tried the OCR for scraping and gave up because it was too slow and inaccurate.

OCR works well for certain scenarios where UI is fixed like on desktop applications but it's still fragile very much like CSS and Xpath selectors.

In fact, often OCR performs far slower and less accurate than CSS/Xpath selectors.

It has it's niches but I think it's sub optimal for web automation/scraping.

comment 9y ago · link · parent

A few things turn me off about Scrapy is that it feels over engineered for what it does. Why do I need an entire framework?

I'm taking on technical debt to access data I don't have programmatic access to.

CSS/Xpath are very fragile. You most likely will be changing them in the future.

comment 9y ago · link · parent

ToS is not a legally binding mutual agreement between the website and the scraper. Only when it's materialized in the form of C&D and it caused damage to the website. In the QVC vs Resultly, they caused a website crashed. In the Craigslist vs 3Taps, the damages were non-existant but they still won because of the C&D letters.

So if a website sends you a letter to stop, do not continue scraping them. Until that happens, it's fair game. ToS is not legally binding. Those two cases were the result of damage caused to the website.

STOP. SPREADING. FUD. cookiecaper. All of your comments are the same unsound legal advice yet Mozenda, Import.io, and a whole bunch of tools & service providers are humming along just fine.

Disclaimer: I'm not a lawyer, this is not a legal advice, consult a real lawyer and not random HN comments.

comment 9y ago · link · parent

Not quite. https://www.law360.com/articles/757906/qvc-website-crash-sui...

Basically, all damage claims are null because QVC & Resultly never entered into a mutual agreement. You can write whatever the fuck you want in your ToS but it's not law binding.

> Judge Beetlestone also rejected QVC’s claims that Resultly violated the Computer Fraud and Abuse Act by knowingly and intentionally harming the retailer when Resultly caused the shopping network's website to crash, reasoning that the tech company and QVC both could only earn money if the site was operational.

I see you are back on the FUD train surrounding web scraping but there's only very specific case where your fears materialize: "When you receive C&D from said website, do not continue scraping". Such was the case for Craigslist vs 3Taps.

Please do not cite legal resources and grossly twist realities to spread FUD. If you don't want to be web scraped, simply do not put it online.

comment 9y ago · link · parent

The ironic and the most chilling thing is the people in the class action lawsuit aren't remotely aware their sex acts are already all recorded not by dildos but everyday appliances in the bedroom-microphones, cameras, now available to every hacker and selected government employees/contractors.

Forfeiture of privacy as a free citizen to higher powers is absolutely okay but if my dildo starts recording how many times I've been penetrated with it and uploads it to the internet-pitchforks for all.

Such is the mechanism of the common man/woman/ze. Incapable and unwilling to spend the extra brain power associated with understanding the underlying system but quick to get angry and play the victim when that oversight finally burns him.

"A man who procrastinates in his choosing will inevitably have his choice made for him by circumstance." - Some old white guy.

In this case those who procrastinated in their acquisition of understanding and knowledge of systems and signed their privacy away, were unable to reverse their outcome when it turned out to be not in their best interests.

comment 9y ago · link · parent

Seems like publicity stunt only works when you don't have to payout millions to people affected by it negatively.

They got the publicity but at a price that is too high.

comment 9y ago · link · parent

Has the Android side improved with React Native? The last time I took a look at this which was last year, the consensus was the Android result wasn't optimal.

comment 9y ago · link · parent

Having sold all of my bitcoin at ~800 at a small loss (a significant portion coming from commission fee( ~$150+ to convert low four digit USD amount of bitcoins to fiat.) I am paying attention to the bitcoin prices closely. As USD gains more interest it's going to put downward pressure on gold and bitcoin.

There's no way this is going to gain mass adoption by being this expensive.

More importantly, this signals strong government regulation in the bitcoin and cryptocoin industry in general. I wouldn't be surprised if we started seeing security laws being applied retroactively to all the scams like initial coin offering (like IPO but unregulated and heavily manipulated) on Bitcoin and Ethereum.

To the wary trend watcher, this is exactly what VC's feared and noted by the significant decline in VC investment in blockchain and cryptocurrency startups.

comment 9y ago · link · parent

love the minimal approach but your quoted text is elongating horizontally. I don't know why the default behavior is like this for quoted text.
1
678
22