skysight-inc/HackerNews huggingface dataset:
I've been a hold out on ad blocking. It always seemed a grey area between the evils of psychological manipulation, tracking and increasing cognitive load and the good of paying for content delivery.

As it becomes increasingly impossible to live in modern society without the internet and the ad networks become more intrusive and the negative consequences increase, it becomes more and more difficult to full justify the pro-ad stance.

This week I got a cold. I'm not sure which social network I mentioned it on or what search I made, but the ads I see everywhere now are for NyQuil.

That first NyQuil ad was a real dousing in cold water. This isn't the ad network knowing I'm actively searching the web for a web monitoring product and showing me pingdom ads. The ad network knows I'm sick and what my illness is.

I'm actively investigating ad blocking now, enemy mine.
"Do as I say, not as I do". It looks to me as if Ben bundled Archaius several years ago and just recently made it a "soft dependency" which isn't required. Couldn't you say he's learned that a "gazillion other dependencies" are bad over the past several years and has learned enough to share his knowledge and implement it?

And then critiquing other parts of his code which have nothing to do with his talk is completely unnecessary.
Some APIs are not designed very well in the face of the possibility of a time-out on a POST, because the client can't be sure if the request was successful or not.

http://blog.hackensplat.com/2014/07/is-your-api-broken.html
I don't believe this is a bad deal. Hiring a full time remote in another country would probably carry complex legal requirements in the United States (they basically are saying they have a foreign office in your country). This would significantly raise their cost. Then on top of that they would have to follow all regulations for operating their business in your country and all employee/employer regulations which requires even more legal knowledge. (BTW the W8BEN I don't think is valid for fulltime employees because the employer would be specifying how and when you work)

Maintaining all of that for a company in the US is a huge time and money cost. On top of that, maybe operating a foreign office would raise their taxes significantly.

Overall its not a bad deal just because of this. Just make sure that you factor in the cost of any benefits and if you get taxes are worse for being a contractor (though you may be taxed less if you are able to write things off like in the US).
It isn't just the network load. If you are on a small device the RAM use is not entirely insignificant.

The CPU load too, though I think the use of animation/video in adverts is more of a problem in that respect than the overhead of using jQuery instead of modern DOM APIs directly.

Even just considering network load, you need to be careful about the cache control headers that you send to ensure that all common browsers will cache content (see http://blog.httpwatch.com/2011/01/28/top-7-myths-about-https... amongst other references) and you have to be careful not to accidentally indicate that it is OK to cache something sensitive (which is why some servers send blanked "don't cache" headers for HTTPS responses unless explicitly ordered otherwise, it is the safest default).
I commit when I add a feature, fix a bug, anything that "feels" like an incremental step. I try to commit as much as possible so I can revert without losing much work.

I push whenever I'm about to shutdown the laptop or by the end of they day.
For me the simple truth is: I don't care.
Let me explain. I use ad-blocker (ghostery) on all the sites with everything blocked, because it makes my browsing experience better and faster. "But! But! How will the authors survive?". The answer is: I don't care.

Forbes stopped letting me read their site with ghostery enabled? I don't care. There are a million other free sites to read. So I go there.

But.. But Google wouldn't exist without ads??! I don't care - there would be some other search engine that works without ads.

Really, I got other things to worry about than some random company/person on the internet making money off of me.
Get off your high horse - I just pointed you toward where I had seen something about it.
People block ads because they can. It's that simple. Morals and philosophy have little room when all it takes is a few mouse clicks to disable virtually all ads. The barrier of entry (or de-entry, if you will) is incredibly low.

> Ads support the entrance of new products into the market.

It's going to be difficult for this trend to stop until there are some technical hurdles built. Until then, I think it's unrealistic to say we should subject ourselves to ads because "historically the market has worked that way". It may have worked that way in the past, but times are changing.
The icons are non-obvious apart from on/off, settings icon is hard to find, and when in settings there's no easy mode wizard to keep you away from the list of 50 filters and just recommend easylist or fanboy's + a couple of other recommended defaults.

If I gave it to some of the folks I know they'd end up utterly baffled if they ever opened the interface (probably unlikely to be fair :D)

EFF's Privacy Badger does a brilliant job of first run wizard and UI for non techies. Adblock first run is 4 or 5 steps and steers away from the techie guts. uBlock just dumps you at the settings that are programmer friendly (far as I remember there's no first run anything).

For me and reasonably IT literate folks, uBlock is perfect. It's by far and away the best blocker I'm aware of right now though.
One thing about this, is that I don't particularly want an ad-blocker per se: I want a malicious-or-annoying-stuff blocker.

So I primarily use Privacy Badger, which dynamically blocks sites that try to track me (and gives me an excuse to rail against sites that tell me I'm running an ad-blocker, because I'm not running an ad-blocker!) and self-destructing cookies to stop first-party tracking on sites I don't trust.

The down-side of self-destructing cookies being the EU cookie regulation, which relies on sites setting a cookie to tell me that I have to agree to set cookies, when I've actually configured my browser to do what I want with the cookies anyway. So then I need an ad-blocker set up specifically to block the cookie panels (with https://github.com/r4vi/block-the-eu-cookie-shit-list) which requires me to have an ad-blocker installed after all, even if it's not set to block ads...
I don't know anyone who is regularly prepared to go years without income. A lot of people can't afford that.
But that's the ting. You already had AdBlock installed. This page is aimed at people like me, who aren't using AdBlock.
Thanks. That's a good argument.
Title: Inside Medium: an attempt to bring civility to the internet
Most people who are reading Medium or are on the internet are broke or in massive debt (cough Millennials).

They can barely afford rent and food.

If you want to monetize you need to either make medium for baby-boomers or change your govt.
Blocking all adverts is short sighted. It works at present because the ads are delivered in a pretty obvious manner and it's easy enough to drop the scripts/elements. Blocking everything will become a much harder game once the content producers figure out how to bake ads directly into the content. How are you going to distinguish between an image that's part of the article and an advertising image when they are both served from the content producer's host?

Installing an adblocker is a reaction to an overwhelming onslaught of ads. The solution is some sort of compromise between "full on malvertising shitshow" and "eliminate all ad-funded business models".
7 Creative Ways to Market and Promote Your New Mobile App After Launch
Dear hacker.

Save as PDF.
Which makes it tough for publishers, but ultimately it's their responsibility to create a product that people do want to pay for. (The existence of reddits like /r/shutupandtakemymoney shows that this happens all the time.) The beauty of the internet is that there are so many sources for so many things, I can almost always go someplace free for whatever it is I seek.
I do agree that this isn't quite so straightforward, but I also can't see that it's necessary for the compiler to guess what is meant here. Even supposing the array is initialised elsewhere there is a read past the end of the array -- I hope we'd both agree that a segfault in response is perfectly reasonable.

If that's the case then maybe forcing a segfault is better than optimising the loop away, but I do err on the compiler's side here. As others have pointed out, the compiler warns that undefined behaviour is invoked by the code and it probably doesn't actually do what the author thinks it does. The diagnostic also isn't required by the standard.

The clear intent of the code certainly isn't clear to me -- whatever calculation is done involving a value read from past the end of the array only tells me that the return value isn't used in any meaningful way, and if that's the case then why not eliminate the code?

[EDIT] Ok, just re-read the code, I guess the value is actually unused so the function return value is presumably OK, but I think the option of the segfault is still reasonable for the compiler to do.
It's a lost cause unless if you can get someone like Murdoch in as an investor.
From the abstract "We show that elliptic-curve cryptography implementations on mobile devices are vulnerable to electromagnetic and power side-channel attacks. We demonstrate full extraction of ECDSA secret signing keys from OpenSSL and CoreBitcoin running on iOS devices, and partial key leakage from OpenSSL running on Android and from iOS's CommonCrypto. These non-intrusive attacks use a simple magnetic probe placed in proximity to the device, or a power probe on the phone's USB cable. They use a bandwidth of merely a few hundred kHz, and can be performed cheaply using an audio card and an improvised magnetic probe".
> you need to exercise to keep it strong.

I could't agree with you more. In the General Discussion of the paper [1] the authors write

Our data offer an explanation: Vocabulary learning is continuing later into adulthood, possibly because of environmental factors (e.g., continued exposure to new words). Some purchase may be gained by exploring whether performance on other tasks shows similar generational changes.

[1] http://pss.sagepub.com.sci-hub.io/content/26/4/433.full
That's assuming one has the ability to sock away enough savings to ease the burden of any long-term unemployment. The reality though is that millions of US citizens do not even have this option, even knowing full well that they need to be saving more. They simply cannot because the cost of living is too great and wages are too low. The fact that the US is "not a social country, you are on your own when shit happens", while correct, is big a problem for all citizens and it amazes me how pervasive this cowboy mentality has become, especially amongst the populations that are living month-to-month and which would greatly benefit from strong social contracts.
If that's the reason for including the study, then it was a bad study to choose to replicate, as it would be clearly not replicable for students of other cultures - in which case, the meta-study researchers are stacking the deck; they would be guilty of the very thing they're decrying.
Really nice. I'd be better to have them in a single place, similar to http://coffeescript.org/

Better grepablity.
Not paywall, but IMNSHO dancing on the line of shady practices - "you're a spider? Carry on. You're a human? No text for you, register!"
People prioritise different things, I see homeless people with smartphones. We live in an information age, and people value information.
Somehow i just don't get why this is so popular? Someone care to elaborate on what i may have missed? As far as i understand, it doesn't even simulate the real life condition very well, as some dyslexia sufferers here have pointed out.
https://www.google.com/trends/explore#q=perl
This applies to uWSGI (uwsgi_pass) as well, right?
For me it's even worse scrolling sideways. It looks like it's 5fps on chrome even.
And they ended future attacks by blocking IP address.. :-)
Support Software as an agent for change
I'll commit for small, incremental changes. Each commit is a semantic change to me- could be a small change applied in the same way across multiple files, or a larger change in a single file that does one thing.

I tend to push at the first opportunity it makes sense for other people to see my code, and then push again whenever I make enough incremental progress towards the feature to share. Our team has a culture of opening "in progress" PRs early and often to get feedback before we are too far along. This is great to share ideas and feedback about how things should work (instead of just about how they do based on implementation). It also helps keep the final code review size / time down.
Messaging App Line Plans Up to $3B Dual IPO in New York and Tokyo: IFR
Psychologists Showed People a Traumatic Film Then Gave Them Laughing Gas
> If all models are identical and have been purchased at the same time, one would expect that the same firmware will allocate the same writes to the same cells

Not really, you'd expect them to diverge over time as the cells aren't going to be all 100% identical - they'll have different failures, different error rates, and different read patterns will result in different read-disturb errors, all of which will effect even completely deterministic block allocation.

Regardless, as I said, you monitor endurance. Drives are unlikely to just silently wear out out of the blue unless you've been completely ignoring their SMART readings, in which case, more fool you.
>However, it's not the fault of the people who are being affected by this

So, are the worker bees accountable for the success of a company, or are they merely anonymous cogs? HN seems to like it both ways; when some executive or manager gets acclaim, we're quick to point that it's the regular employees doing the "real work" in the company. But when it goes south, we question what part they played in the thing, and point the blame elsewhere.

It isn't merely incompetent management that are responsible. And there's also a lot of bad luck involved. A plan was implemented, it didn't work; should the 10's of thousands of remaining workers suffer?

>Why is it that we treat this as a necessary evil, instead of something to be disappointed about?

It's both.
Plus, it is obvious that some fanboys will promote it no matter what...
Looks great - well done!
> title is sensationalist

Yep, on purpose. The original title is misleading as well, presenting medium from a false view.
I for one tend to flip numbers around in my head so I never rely on them. This turns out is a good way to make sure that any mathematical calculations you do are correct as I am always double and triple checking them. Einstein also had it and it might of aided him in the same way.
We use a fork model where each developer has their own fork of the "main" repository and the developer fork is cloned to the local dev machine.

Using this model I do work in progress commits as needed for different features using many different branches. Those wips and committed locally and are pushed to the remote fork many times per day for backup. For example I can do a quick push before going to lunch or meeting. I can also fetch, rebase, squash, and force push commits as desired because the only history I am affecting is on my own fork. The final merge to the "main" repository is usually 1-2 commits squashed from all the wip commits. Once that is merged I, since I am usually working on a feature branch, I can delete that branch locally and in the remote fork.

Every 30 seconds seems like a bit much, but it wouldn't be unreasonable to say I commit and push 10x a day.
Should ISPs be required to share their profits with the owners of the sites their users visit?

Never mind the technical hurdles; from a strictly ethical standpoint, would it make sense? The industry seems to have settled on 70/30 being a fair split. Why shouldn't sites be able to opt in to receiving a portion of 30% of the profits coming from a particular ISP subscriber, proportional to how many times that user visited their site compared to other sites?

ISPs profit by transferring other people's copyrighted content but sharing none of that money with the content creators. Wasn't MegaUpload raided and destroyed for doing essentially the same thing?
There are some porting efforts underway in the early stages of development.

SwiftAndroid: https://github.com/SwiftAndroid

Swift for Cygwin: https://github.com/tinysun212/swift-cygwin-bin
We Hire the Best, Just Like Everyone Else
So you're a full time contractor instead of a full time employee. This is a very gray zone in the US, which is probably why they require you to setup a company that you are working through. That's because hiring an individual full time moves them from contractor => employee under US law.

At this point it's just a business decision. Extra taxes and costs for you? Document what they are, bump the offer up by that amount, and counter. They most likely don't know the tax law in your country and so they won't realize this is a burden to you.

"It's fine to not pay me healthcare or give me options, but there's an issue with having to setup my own company. In my country companies are required to pay XX% tax on revenue, and then I also have to pay a personal income tax. I'm happy to setup the company to make this work, however to do so you'll need to bump your offer up by XX% + $Y,000 for the additional overhead that comes with managing the company's paperwork, registration, and legal fees."
> How are you going to distinguish between an image that's part of the article and an advertising image when they are both served from the content producer's host?

That would at least stop 3rd-party ad tracking, and would make ad malware less likely
Every company will try to get you for as low as they can.

Don't think of it as wasted time, this is a really valuable learning experience regarding contracting, and even a chance to practice your negotiation skills. :)
EXPAND London influencers invite
That's a consumer model - and I'd guess the 2.5in versions are selling faster than the PCIe add-on cards.
Top 5 Amazing Chemical Reactions
A Git repository statistics generator
I like the idea that ad-driven business are not sustainable. Ads are manipulative almost by definition and the world would probably be better without them (even though it's hard to make an argument for disallowing people to present their products in the best way possible).

The problem with monetization I see is that internet usage is so far-spread. The amount of articles I read per week/month might be fairly constant but it's spread among dozens of sites. I don't want to pay for every single read (as that would make me think twice about reading stuff) so the only option is a subscription but then I'd pay $5 or $10 a month for a single site that, last month, I might have only read 3 articles on.

IMO the only solution would be cross-site subscriptions, i.e. you pay for "online reading abo" and get access to like 50 sites. I'd also wish that they then get payed based on how much I read on each site. I'd actually pay for a service like that.
> a nice advert in a magazine does exactly what is the intention: inform people of something, either a product or a service. And I can watch that ad anonymously.

Even ads in magazines aren't there to "inform" people.

"Informing" would be objective. Ads are meant to show the product in the best possible light and get people to buy them.
Link Is the New Stickman in Google Street View
Astronomers just saw farther back in time than they ever have before
Ok ... So that makes a little more sense. It really struck me that I just didn't know how to trust the persistence. In a world where the application could run on any virtual cluster and even across different sets of physical hardware. (Looking at CoreOS for example as a system designed to appear as "one machine" despite spanning multiple hardware instances).

So when I specify the VOLUME (in a docker file/kubernetes-pod-spec) this is managed by the system.

And with respect to ensuring uninterupted service on the database layer then, how are ongoing changes synched? Or is that something I must design for by adding a queueing layer?

To make that concrete, I have one pod with MySQL and the associated VOLUME is configured on KUBERNETES instance.

I tell K to scale MySQL to 2 instances.

It points the second instance to the same physical files and starts up?

So VOLUMES live outside of KUBERNETES and do not spin up or down in a transient nature?

Can 2 instances of a database server use the same files without stepping on each other?

How does the VOLUME scale without becoming the new single point of failure?

Maybe that is the point where you use massive RAID striping and replication to scale storage? (That's far from a new concept and is a pretty stable tech).

If I'm on the right track here I might almost be ready to say I understand and trust persistence!
its sad. i like medium. but i do not pay for articles anymore. somebody's opinion is not worth money. 'free speech' should also mean 'free to access' in the internet age.
I think it is important to always remember that all push models, under the covers, are just pull models at a lower level of abstraction. This goes all the way down to the interrupt level.

So when we say pull models are bad for performance and scalability, what we really mean is that the abstractions we are putting around our pull model at this level are more costly than the one level down (ie your message bus is pulling off a tcp/ip socket but avoiding http).

Depending on what kind of performance and scalability you are talking about, you can either address that by going an abstraction down (which is nearly always a performance booster that comes with a development time cost) or you can pull more, less often, at the high level of abstraction (smart batching protocols also exist at every level of abstraction).
2 to 4 times profit. Add back into the profit in whatever you take out in owners wages. It is that simple.
I'm no expert on the subject, but the term 'air freight' does exist, as well as many articles discussing the pros and cons of transporting cargo by air vs by sea. Google it.
Marriage is about love, not economics (division of labor, risk mitigation, specialization even), and anyone with other opinions on this subject is a bigot.

also /s
It's only good for 3gb bursts. Which is a ton of data to write to a consumer drive at one time. It's also 6gb/12gb for 500gb/1tb drives.

It's a perfectly fine tradeoff for a consumer drive. Just because it doesn't fit your use case doesn't make it junk.
You need to use networked file system, e.g. nfs, samba, gluster, gfs, ceph, MoozeFS, etc. Just mount it into container and then you can move container freely.
Deposits.org API Access
Our startup has interest bearing product data worldwide from P2P, banks, etc. We are looking to reach out to the Hacker news community if we were to open this up if their is any demand for API access for developers. Im certain it could be used in numerous applications but am wondering your thoughts for consideration?
Kids are hardly mobile. Remember that they're kids and may not be capable of coping fully with losing their friends and familiar surroundings to a different place with no guarantee of things being better for them. Minor anecdote, when I moved from Canada to USA in my childhood, my little brother who was 12 at the time tried to run away to avoid losing all his friends he had made.
And did you find that title true after reading the article?
The A-Z of branding in Digital Age