skysight-inc/HackerNews huggingface dataset:
For single-page apps I use two session tokens. One in localStorage (csrf_token), one in a secure, HttpOnly cookie (auth_token). Both tokens are required for the API to authenticate a request.
Shouldn't this type of library be done in rust from now on?
Article is from 2013
Not sure how you compare 1) and 2) to ad-injections. Those are companies which purchase ad-space on websites which sell ad-space, solved by visiting those sites less. Not ad-ware installed to deliver ads to your browser, solved by switching browsers..? reformatting hard-drive..? replacing your computer..?
ICYMI: Sensible Bash addresses this well:

https://github.com/mrzool/bash-sensible
I made a point and you guys chose to ignore it in order to say my argument was a fallacy.

The point was that as a Trump supporter Thiel is OK with using false conspiracy theories to manipulate the public.
Is this replacing ads, or just adding more?

Even if it is replacing ads, to argue that it's illegal seems to require saying that ad blocking is illegal (adblock plus has been sued for this, but so far not successfully).

Also https://brave.com/ uses basically the same technique.
Introducing Pegasus: One Does Not Simply Pip Install Hadoop
You need 1600x1200 resolution to accurately emulate a 320x200 90s PC Game
By some measures, poverty already is a solved problem in the United States. Relative poverty is all we have left to solve....
Ars longa, vita brevis. I don't have time to do justice to the top three things I'm trying to do.
Here's a couple of papers describing metadata resistant anonymity systems that may help you understand how "chaff" traffic can help obfuscate real traffic. It's not as simple as generating random noise because real traffic patterns can be identified with confirmation or intersection attacks.

Aqua:
http://conferences.sigcomm.org/sigcomm/2013/papers/sigcomm/p...

Dissent:
http://bford.info/pub/net/panopticon-cacm.pdf

Of particular interest to your question are the threat models.
For web developers with serious skills in Ruby on Rails and/or Javascript, (either full stack or backend):

These seem to be the typical salaries for what I've noticed from web-based companies in Toronto. And I think it's on the low side. Developers should be paid more.

* Intermediate level (2-4 years): $70-85K

* Senior level (5+ years): $90-120K

A web developer ultimately needs a solid handle on SQL, Javascript (React/Angular/Ember), and a server-side language/framework like Ruby on Rails/Node.JS/etc. And be comfortable with Linux/GNU tools. The better your skills, the higher the salary you can command.
I'd encourage you to look at glassdoor (https://www.glassdoor.com). One of the best sites for finding out what people are getting paid and whether your pay is truly competitive.
in my experience security guys and privacy guys are very different people. Theres a lot of overlap in interest and skillset at lower levels but it usually diverges hard with experience.
From my very minimal accounting course I remember my teacher, who was serving as part of the tax appeals board at the time, telling us that we were allowed to use any opening in the law to save tax but we were not allowed to lie.
as someone who do both I have to say two things

if you see beautiful art and feel a yearning to explore art it probably means you might have some talent for it.

the best place to start in my opinion is by learning about colour theory which is one of the fudamentals of visual art, like with programming learning some fudamentals at the beginning saves alot of time in the long run. Learning how to use colours will instantly stop the stuff you make from looking like it is made by a 5 year old, it will make it look at minimum presentable and something you will want to show to other people and that they will react positively to.

It is a time taking investment but a very emotionally rewarding one.
The very first argument in the article is flawed which leads me to wonder how much of it is or isn't flawed. It talks about a Universal Basic Income for everyone over 21.. then it complains that would cost 3 trillion dollars for all of the 300 million Americans. According to the Census Bureau as of 2015 there were 321 million Americans and 24% were under 18. No clue how many were under 21. But that still takes it down to 244 million people. If we left Social Security alone then that would cut another 46 million people out as well.
The article doesn't even attempt to explore cost savings by eliminating excessive management of all of the existing programs.
Poverty is an issue long solved in USA. We are talking about relative poverty and governments are trying to push totalitarian redistribution schemes everywhere.
A fool and their money are soon parted.
Despite the examples you give, I don't think it's fair to lump Facebook and Google in with 50onRed. The former two are mostly above board, with some occasional exceptions, while the latter is completely, morally, underwater.
> In the end, I just did it his way because there wasn't a good alternative.

Ironically, that is quite a bit like the real world.
I am a web developer (JS and Python), making 72k

Not too far from downtown Toronto
I had the same question. This Quora thread seems to settle it:

https://www.quora.com/Was-Larry-Ellison-a-good-programmer

tl;dr - yes Ellison is/was a pretty good programmer, enjoyed programming, and could handle serious technical discussions. But there seems to be consensus that the guys real genius was in business. Sounds kind of like Gates in that respect, moreso than Jobs, who I believe was never that strong of a coder.
Similarly, "payed" is something you do on a ship. The hazards of relying on spellcheck.
How to read a mathematics textbook using goal-directed learning
Awesome work! Have you ever tried 3D printing any of it?
I also use script to log both input and output of every terminal, and the timing option to record the timing of that input and output too. Naturally stored with caution, and with a shortcut to a non-logging terminal for dealing with anything sensitive.
As I see it, "solving poverty" isn't something UBI is supposed to do, at least in the short term. UBI is supposed to reduce the trend of returns of economic gains being distributed disproportionately to the already wealthy; its long-term technology development and resulting productivity gains that cure poverty -- but only if the gains aren't all captured at the top of the pre-gain wealth distribution.
It's a little compact for my taste (eg: the mulitple early returns on error, I think I'd like a blank line after a return, to make it stand out a bit more -- but I'm not sure. I don't write C on a daily basis).

The only other thing that strikes me is the convoluted calculation of nBytes, from (sizeof(char * ) + sizeof(i16) + 1) multiplied by the n-argument for resize. Granted nBytes is just used for the custom malloc-call, but I get a little scared with that and the naked mix'n'match of sizeof's in there.

It seems like that (and maybe a few of the other things) could've been DEFINE-d in a header, and or factored out to easily in-line-able functions -- that might have provided an (even) clearer picture of what's going on.
Thank you for the psychoanalysis. However, I made a specific, logical point about how in another context Thiel is OK with the use of false facts to manipulate the public. It was not a moral or emotional argument.
There's no framework at the moment, but will probably be added at some point.

Currently packages are easily installed be just copying the folder into a 'bundles' directory.

Note that there's a lot of built-in functionality, e.g. highlighting for 80+ syntaxes out of the box.

What specifically are you looking for in technical architecture docs?
Sure. Did he include the typedefs in his code?

Not that I can see (on a quick scan).

So the only way to use his library is to create your own wrapper functions. And update them every time he updates his library.

Thanks, but no thanks.
I have this vague recollection that friends whose families subscribed to HBO in the 1980s said they didn't show ads at all, because subscribers were directly paying for the programming through their subscriptions (whereas free-to-air stations felt they had to run ads because viewer weren't paying directly). Was this actually true? Does anyone else have a similar recollection?

I'm just wondering if there was a particular moment when people's intuitions about where you could expect to see ads on television changed.
I'm the opposite — I wish there were more writers who were capable of writing with the same kind of rich texture as Gibson.

J. G. Ballard comes close; The Atrocity Exhibition is very Gibsonesque in places, though with a much bleaker sense of alienation than anything Gibson wrote. Cormac McCarthy is also great, though not like Gibson at all.

People seem to like Neal Stephenson's early work (Snow Crash in particular), but I was always put off by his apparent plagiarizing of Gibson's style.

Edit: Also James Ellroy.
Really? You think their moral positions are significantly better than Saudi Arabia? And they have essentially zero to offer economically? Their governments aren't any more sane or stable, in the enduring sense, than Saudi Arabia.
The importance of logging for Swift (free video series)
Check out the rest of Curtis' documentaries as well.

One eyeopener was part of his Pandora's Box series, A is for Atom, where he looks into the buildup of nuclear reactors on both sides of the cold war.

In particular how said reactors, at least in the US, were basically (massively) scaled up submarine reactors.
Crowdfund: Technology for DNA Testing of Rape Kits
That is an awful link! I might expected to see some bad points for Bucharest because of, I don't know, air maybe!? (...considering it's a capital with traffic and all.) But no - it scores badly for fun! This is the city that has furbished its entire central district for fun only! People from all around the Europe and western part of Asia fly in here to party because the local authorities made it easy to party 24/7 all around the year! No fun? ...really!? Those score points are arbitrary as hell!
It varies a lot. Most people whose salary I know earn between 70k and 120k. Entry-level frontend devs go for around 50k-70k. Tech director level goes for around 120k-140k.

When I worked for a Toronto firm (1.5 yrs ago), I made 96k doing Angular. Now, I do remote consulting and it's very difficult to find anyone in Toronto willing to match what I currently make. Highest I've seen from a recruiter is 150-160k for a CTO role.
Hate speech is free speech.

I don't like how the article associates hate speech with the war on terror within one paragraph. Not a good sign for human rights.
The only way to wake up feeling well rested? Your smart alarm
Raise $15,000 to fund the validation of technology for single cell DNA analysis of rape kits.

In the U.S there are currently over 400,000 untested rape kits. At present, laws in many local and state jurisdictions allows for the destruction of kits before they are ever tested. With a little help in the form of donations or spreading the word, we can help expedite the testing of these kits to bring justice to victims.

Please support in any way you feel comfortable.
Gavin Andresen: Recent Rise in Ethereum Should Be a Warning to Bitcoin
We've banned this account for breaking the HN guidelines.

(We've also banned the other account for breaking the HN guidelines egregiously in a different thread, even worse than in this one).

We detached this subthread from https://news.ycombinator.com/item?id=11807079 and marked it off-topic.
How do you not ask what the company does before joining as an FTE? Even discounting moral hazards... wouldn't you want to know what the mission is? Especially at a startup-y type of place?
> a hawkish demagogue with no knowledge of foreign policy and a high opinion of Putin

enlarged on that for you :)
I'm mostly okay with the occasional releases. Once a year feels a little infrequent though? One of the IDEs I use has a quarterly bugfix release schedule.

To be honest, I'm less concerned about new features, and more that there will be paid upgrades so the developers keep maintaining the software. I'd probably expect a new major version every 2 or 3 years, with a discounted upgrade price... that would still only work out to $10-$20/year for Sublime Text, which is crazy cheap. I already budget about $100/year just for annual Parallels Desktop upgrades.
>[...] Why not subsidize workers’ wages instead?

Sounds like a great idea! Companies get to save money and the tax payer effectively pays the companies profit.
Many people are still homeless in the US. Calling that 'relative' poverty is abusing the term enough to become meaningless.

The most enlightening thing about this debate is the idea that we don't care about peoples basic standards of living and are happy to pretend there is no problem.

PS: Although the U.S. Department of Housing and Urban Development in January 2012 annual point-in-time count found that 633,782 people across the United States were homeless, other counts vary widely. https://en.wikipedia.org/wiki/Homelessness_in_the_United_Sta...

Note: Many people end up homeless temporarily which makes counting complex.
To some degree they have the big dog of international politics by the balls...
What is petrocurrency mercantilism?

http://i0.wp.com/cultstate.com/wp-content/uploads/2015/02/Ye...
401K/IRA tax avoidance techniques are codified in law to encourage people to save for retirement so we don't have generations of elderly homeless people.

The tax loopholes that companies like Apple tax advantage of are another thing entirely.
> Poverty is an issue long solved in the USA.

When? How?

EDIT: While I disagree with the parent poster, primarily because I've seen plenty of homeless, underemployed, malnourished individuals in my travels around the US my entire life, and no significant decline in the past several years, my questions were not meant entirely sarcastically.

If poverty is solved, explain how or by what measure you consider it to be solved.

My viewpoint:

From a purely technical standpoint it could be considered solveable. We have sufficient housing, clothing, food for literally everyone in this country, and more. The issue becomes one of distribution. But just having the resources doesn't mean that the problem itself is solved.
It will absolutely solve poverty, what it won't do is make everyone rich.
I think it's great YC is funding some interesting research.

I'm a bit curious as to why they didn't partner with some established academics in this area (there's plenty of economists who have done excellent research here) rather than start a new program - but it's YC's money, and they can choose how to spend it.

How open do you plan to be about things like datasets/analysis plans and so forth? I think this would be an excellent opportunity to push forward open science http://osinitiative.org/about-osi/. Further, if you allow people who are skeptical of the minimum income to register the objections before you gather the data, you can address them before you proceed - at that point, post-hoc critiques are a lot less credible.
Edit: I had a guess about how to escape asterisks here, and it didn't work!
Presumably the ideal use case here is for primarily client-side applications. However, it's worth pointing out that you'd never need to bind to every element individually because of event bubbling:

$('body').on('click', 'a', function() {
this.href += getToken();
});
This happened in 2012 and caused a number of changes to various root programs[1]. Mozilla, for example, is now forcing CAs to disclose any subCAs they sign. This is also from a time when the Baseline Requirements in its current form were not yet part of e.g. Mozilla's root policy (that only happened later in 2012). It also predates HPKP (and possibly the pinning mechanism Chrome used before that for their own domains, I'm not sure of the timeline). A lot has changed since that incident, and I have no doubt that the reaction to something like this would be different today, especially if a CA does this knowingly.

[1]: https://wiki.mozilla.org/CA:Communications#February_17.2C_20...
> If the pilot goes well, we plan to follow up with the main study. If the pilot doesn’t go well, we’ll consider different approaches.

Interesting. What are the metrics to determine the success or failure of the pilot?
But.. what about my version of ethics! If only there were a way to take a tally of issues among groups of people with different opinions of ethics and morals..
Content creators usually tweak their content to increase their metrics, whether those metrics translate in more engagement is different.
And believe me this deal/collusion has created friction between 1.8 billion Muslims and the West;
and before that Russia occupied Poland together with Prussia and Austria, wiping out Polish statehood altogether for 123 years. Russification, heard of it?

the 1920 war was a result of that, Poles trying to reclaim territories in Ukraine - using the chaos of the Russian Revolution. but yeah, totally attacking Russia.

but all of that justifies the occupation by the Red Army from 1945 till 1989. yup.
I don't really see a problem with working on something like that. There's a legitimate use for technologies like that. The problems are laws and social structures that allow those technologies to be abused. I don't fault the engineer who makes a better gun, but I might fault the marketing department that sells it in a market knowing it will be used for harm (don't be a war profiteer), or the the politicians that resist sane restrictions .
Have you given much thought to the effect of a participant taking on debt during your experiment?
If privacy is a distinctly modern idea invented in the 1890's what was the purpose of window curtains before then? Certainly they couldn't have been there to protect an idea that's probably older than language and likely has actual biological basis. I assume also that humans only started to have sex in private in the 1890s according to your theory as it wouldn't have been even possible to conceive of privacy before the idea of privacy existed?

The idea that privacy is something new is absolutely absurd and laughable.
Question: Wouldnt it make more sense to pick an more isolated ecosystem than oakland?

Eg a smaller town or even a small country (eg an island country - yes sounds crazy but actually why not)

Or is the goal rather to find out how people will act? (as in: get lazy or not)
Trivial to have a breaking DB change or a software push where the only part of the app that works is the little part that tells the load balancer, "yep, I'm alive and healthy; send some traffic my way".

There are probably way more successful (100-million to couple billion dollar revenue) companies that can be brought offline with a bad push than can't.
It would be great if you could talk in more specifics about attack scenarios against local storage. In particular one attack cited in favor of cookies is the scenario where your 3rd party CDN js hacked and some code is inserted into the JS to lift out the token from local storage.
I wonder how to test controlling for reciprocity. I.e., If I receive a basic income as part of a pilot/experiment I will feel tempted to "give back" somehow, while if basic income is a baseline all humans receive, that reciprocity will not be present. How can you design an experiment so that somehow people don't feel they are receiving money in an extraordinary way, but rather that's just part of how the world works. Wouldn't that change their motivations and thus the behavior you want to observe?
Yeah, I think one of the dirty secrets that doesn't really come across until you've been in the entrepreneurial trenches for a while is that most people who make a lot of money end up doing so not by being paragons of morality, but by skirting rules and doing things other people may find questionable or unfair. YC itself acknowledges this to an extent by saying that good founders are moral, but that they are not "goody-two-shoes" and they break rules "that don't matter".

Of course, the material value of each rule is in the eye of the beholder; surely the cab drivers of the world felt that there was material value to adhering to their regulations and that it would not be moral or necessarily safe to circumvent those regulations. Then Uber came along and its founders entered the pantheon of those that break "rules that don't matter". Ditto for Airbnb.

Most types of marketing and PR are morally dubious. But you have to play that game if you're going to get anywhere.

That's the secret that entrepreneurs have to learn, the secret that doesn't get shown in the profile pieces or the television specials. "Might makes right" in this world and if you want to be a successful entrepreneur, you need to loosen from a theoretical moral ideal to a practical one that is informed by the competitive landscape of capitalism. You can nitpick and find fault with most money-making techniques, so you just have to try to do something you can be reasonably comfortable with, acknowledging that in a competitive landscape, sometimes uncomfortable choices have to be made.

If you do find something that makes money and has no competitors, thus allowing you to not worry about underhanded techniques to steal your marketshare, take advantage of your early position to decisively corner the market. That means employing the same techniques that would be employed against you, because those techniques will be employed against you pretty soon. I know this because one of my companies was roundly beaten after a spammer started a competitor and engaged SEO link rings to inorganically alter his ranking, among other tactics that I was morally "above" until my company was pwned that way. Now I understand you must play that game, that everyone plays that game, and they just don't talk about it because it doesn't help them to do so. It helps them to keep potential competitors naive.

Playing by the rules may be the cool way to do it, but in the real world, it doesn't work, because there is someone who is willing to break those rules. How many entrepreneurs started on something like Uber but quit because they saw the regulatory landscape and a) didn't have the millions to fight cities and the cab industry; b) didn't want to run afoul of city regulations in the first place? Do what YC does: break whatever rules are in your way and then afterwards say they were rules that "didn't matter". If you say this from a position of success, people will believe you.
Religious flamewars are not allowed on HN.

We've banned this account.
I got the impression that the employees in the article were making ads. When you make ads you don't necessarily notice how exactly those ads get in front of users. When they say that the didn't know how the company made money, they probably meant that they thought it worked like other ad companies: paying websites for ad spots.
It would be much easier to believe it was a mistake if the balance of "mistakes in the company's favor" vs "mistakes in the customer's favor" were even.

If all the mistakes go the company's way, then, at best, the company is working much harder at avoiding mistakes that hurt themselves than they are at getting it right.

This goes for credit card companies and many other firms.
A warning: do NOT do what one engineers I used to work with did, and upload his "dot files" onto GitHub for portability. A lot of secrets can be stored in a few months' worth of bash history.
A Better Way for SMB's to Discover and Access Technology
You can so the same with tab . Eg foo/(asterisk)bar<tab><tab>
Thank you for doing this, YC!
There are quite a lot of people in the USA that consistently starve. I'm quite sure that according to most definitions that's clearly absolute poverty, not a relative one.

https://en.wikipedia.org/wiki/Hunger_in_the_United_States
I presume your strong, proud, pull-yourself-up-by-your-bootstraps oneliner throwaway comment was well thought out, so perhaps you could shed some light on the interesting artistic choice of failing to put a space between "find" and "out"?