skysight-inc/HackerNews huggingface dataset:
Magic? Luck? Or just plain old government money? ... In fact, he says, before there was was Silicon Valley, there was Microwave Valley, which specialized in electronic intelligence—spying on Soviets air defenses, basically—and the seed capital for it came exclusively from the CIA and military. Private capital arrived much later.

At one point, says Blank, the institutions of the Valley were so totally in the pocket of the Department of Defense that Stanford became essentially a research lab for the CIA. A number of engineering Ph. D. theses were actually classified. The largest employer at the time—and still the third largest for-profit employer in the valley is not Google, and certainly not Facebook. It’s Lockheed Martin."
http://www.inc.com/eric-schurenberg/inconvenient-history-of-...

Is this correct?
Dont worry, here is the source code: https://github.com/adeekshith/Docs-Online-Viewer

But it is lagging a month behind due to Firefox webextensions. I want the code to be compatible with all three browsers so I am releasing it according to Firefox's webextensions. Also, nobody ever cared to check the code from past two years so I never bothered to update it on Github. The only 1 star in the source code is my own star ;) Will do it soon.

That said, feel free to view/modify the crx/zip file as mentioned in the other comments. Will be glad if you can make any comments or suggest improvements to the code. :)
So, drugs legalization can be used as population control. Nothing wrong with that.
How Melinda Gates Got Her Daughters Excited About Science
The example he gives is heartbreaking, however the solution he poses is only treating, in this particular case, symptons of two other issues:

Why does it take 2 years to stand trial for a petty crime?
Why is the accused sent to prison while awaiting trial for a petty crime?

Edit: added 'in this particular case'
This is also an area that can be studied. In addition to the other points it's worth looking at recidivism rates, which are much lower in places like Norway than in the US.

The major reasons for success of Scandinavian countries in crime and punishment are larger than a single metric, IMHO. They have a (more) comprehensive philosophy that touches on many areas, all of which work together.

If the US adopted the prison conditions and lighter sentencing of Norway without other measures, it would be a complete disaster. For the US to get similar benefits we would need to (ideally) first shift our attitude toward thinking of criminals as people, and thinking most of what benefits society rather than how to punish for punishment's sake.
Complete lyrics (is DMCA coming at me?):

Inchworm, inchworm, measuring the marigolds
You and your arithmetic, you'll probably go far.
Inchworm, inchworm, measuring the marigolds
Seems to me you'd stop and see how beautiful they are.

(Kids Singing: 2 & 2 are 4, 4 & 4 are 8, 8 & 8 are 16, 16 & 16 are 32)

Nothing to do with imperial units at all.

Even if she didn't know the song, she might have learned 16+16 from those.
Have you tried something like the Sufferfest videos? They certainly alleviated boredom when I was doing trainer work.

http://thesufferfest.com/
Color perception is very subjective, because color learning differs from childhood to childhood.

That specific color is between the yellow and red range, although it is closer to the ideal yellow. Some people learned that this still counts as yellow, while others learned that this is yellow is "red enough" to count as orange.
What is going on at Twitter?
I'm sure that piracy is the reason like you suggest...as per the email they sent me that referenced that sort of thing....

But the email they sent me said that they are merely conducting a "spot check", and for another thing - if they actually were responding to a flag, them "acting immediately" could be "immediately sending me and email and giving me 24-48 hours to respond" You know?

Like I said, I don't mind verifying my ID (even though I think I did that when I first signed up). I mind the way they did it. They could have given me warning first.
Ask HN: Resources for learning Defensive Programming
After reading the top comment on this article:

https://news.ycombinator.com/item?id=10969843

I was wondering if anyone can point me towards some good resources that teach the philosophy of defensive programming. I say philosophy, because I already know about some sites that talk about security (OWASP, etc...). But I am intrigued about the idea of defensive programming.

The reason I am asking is because I am working on a mobile app with a conjoined website, (python stack through and through :) and I am horrified by the mistakes I see people make and would like to avoid the more common ones.

<rant> As an aside, I would like to see the security community do a little outreach to conscientious devs about implementing security besides from the tired "security is hard" and "Don't roll your own". I understand the 2nd one, and take it to heart, but the first one doesn't help man nor beast. Yes, it's hard, now what do I have to do to be as safe as possible? </rant>
Why Spacemacs?
> Not that any of this will ever be deployed[2], because they're two of the most invasive defence measures [...]

SRI is going to be a tough sell. CSP, not so much.

Case in point: within two years, HSTS use by Swiss Banks has gone from 0% to 40%. I managed to get the first deployment up and running, and at this point we made it into the preload lists. If just one company gets any of this stuff up and running (and whomever did it keeps pestering their colleagues at some others about it), adoption is possible.

Right now I'm working on getting some traction with HPKP and CSP. HPKP is going to be challenging as doesn't offer protection against user-installed (or malware-installed) root certificates, but seeing how the cost of adoption is low, it shouldn't be impossible.

CSP should be easier. Being the responsible bank we are, we aren't dropping any javascript files from CDNs into our pages. Anything running in our domain originates from there, so it's basically down to starting with -Report-Only, unsafe-eval and unsafe-inline options and gradually moving towards *-src 'self'. And it provides valuable protection against all sorts of Adware and Malware.

Ping me in a year. I'm confident we'll get there by then.
I can't relate to your way of thinking at all.

Don't steal people's jackets and this problem won't affect you.

I can't understand someone who would take something that doesn't belong to them and then say 'it's not fair you've locked me up'. Did they think that stealing someone's jacket was fair?

If someone can't follow the rules, and is more than once reminded of the rules, and still can't follow the rules, then fucking throw them down an oubliette and let them die of thirst I say.
Then ask harder questions that show the value of the harder (more complicated, less intuitive) methods.

But at the same time, show the value of those answers, because on the face of it, knowing how much is 342x520+92 is not really valuable. Even knowing how much is any number plus any number is not that interesting for basically 90% of the population.
Yes. Please please please do share the picture of autographs.
Leodan – The End of a Digital Bank
Why would you do that? Did you also try to explain the beauty of diffie hellman key exchange and the details of TCP selective acknowledgement before helping your client get an EV cert?
The U.S. had much more violent crime long before its current incarceration policies. At the start of the 20th century, the homicide rate was several times higher than in the UK. Meanwhile, the rise in incarceration in the last several decades lagged the rise in crime over that period by about a decade. It wasn't until 1998 that incarceration caught up to the increase in violent crime since the 1960's, though it has overshot since then.

Handy graph: https://cdn.theatlantic.com/assets/media/img/posts/2015/09/c...
There is something quite interesting about the form of the article. While Mr Minsky talks about teaching using the "deck of cards method" and why it might not be the best approach if the child wants to advance to more complex subjects he also wants us to learn about his experiments (which are quite good!).

Having read the article I find it well written but WHAT THE HELL?! Why doesn't he use pictures? simple diagrams? "sexy" stuff?

It seems that I'm having the same problem as the child is having: the form does suck and it discourages me from reading a boatload of articles like this one. If the presentation of the subject was better I could read 10 more and maybe, finally, take an interest in "teaching methods" that would lead me to being curious and accept any "bad form" of content :)
How I built a user-friendly csv import in Loopback
this needs a tag [2011]
Thanks for the Thomas Silverstein fact. TIL. The "other side" does explain their rationale, valid or not:

> "When an inmate kills a guard, he must be punished," a Bureau of Prisons official told author Pete Earley. "We can’t execute Silverstein, so we have no choice but to make his life a living hell. Otherwise other inmates will kill guards too. There has to be some supreme punishment. Every convict knows what Silverstein is going through. We want them to realize that if they cross the same line that he did, they will pay a heavy price."

The solitary confinement practice needs a spotlight on it. A long-term "no human contact" order seems like torture. I'm glad Obama recognizes the risk of this in juveniles at least.
Show HN: KillerTask: the solution to AsyncTask implementation (in Kotlin)
Grandparents sending money to kids and grandchildren is pro ably their number one use.
Not quite so lame as "electronic body music", which is one of my preferred genres.

https://en.wikipedia.org/wiki/Electronic_body_music
> Hazard sign implies some hazard exists - but in this case the hazard has been averted, so why show a hazard sign still?

The way I see it, the browser actively blocked a hazardous action. The site continues to be hazardous, and another browser might not properly block the action in question. As long as the site is trying to do hazardous things, it should be considered as such (and warned against).
Peasants have been bred by the nobility for thousands of years for improved feed efficiency. Modern humans have become much better at turning the terrible diet the average peasant had into human labor.
My understanding is that they'll generally keep you if the experts have good reason to believe you're still a threat to other people, otherwise you get pardoned at some point.

There aren't very many of these sentences, I think you can find the complete list here in the Danish article on Wikipedia:

https://da.wikipedia.org/wiki/Livsvarigt_f%C3%A6ngsel

About 50 since 1971.
Get a Wifi Pineapple device and show them how easy it is to do a MITM attack. A demonstration might make them care.
Yes, many do, but is that necessarily inherent to all "happy pills"?
Not necessarily true; that totally depends on the licence.
Microsoft Surface, NFL marketing flop. At a cost of only $400M
Does either actually have charisma, or do audiences just come primed?
> We have no intentions on building for Windows Phone or Windows OS and they know that

That is the biggest change in Microsoft IMHO. Talking from personal experience - in the past whenever we worked with MS they always put in stupid requirements such as we had to support X or Y (with X and Y being some new Microsoft technology/platform/product).

It was abuse of their position so I am glad to see this is changing.
Yeah I've been wondering about that. How the hell does mdma work if it's not serotonin. I always understood that the euphoria was caused by a flood of serotonin in your brain.
> I think it's safe to assume HTTPS when it comes to browser indications is broken. In a sense that majority of user don't care or understand.

I'd agree with this as well. I find summarising it as "if you enter secret details when the green lock isn't there, a hacker could steal them" isn't concrete enough to sink in for most non-technical users. To really understand what the HTTPS lock icon means let alone what mixed content warnings means requires a lot of background knowledge most of us take for granted (web servers, networking, hacking, how a web page loads scripts/images/css).

Given many people still use simple passwords and the same passwords everywhere because of lack of understanding of what hackers can do, I think it's a lost cause.

People do pay attention to e.g. Chrome's big red "this site is not secure" screen that you have to bypass when there's something wrong with the SSL certificate though. Showing something like this as standard would help.
Think about it this way...

Imagine you were the caretaker of a public establishment like a school or business, and news broke of the passing of an eminent person who was deeply respected and admired by many of the people who frequent that establishment.

So you went and lowered the flag to half-mast, because that is the customary and respectful thing to do. And whilst most people appreciated the gesture and felt comforted by the shared sense of mourning and respect for the deceased person, a small minority erupted into a noisy debate about how appropriate it was to lower the flag, and whether someone else was more worthy of having the flag lowered in their honour, etc.

If you can imagine this scenario in real life, you can understand how dang feels when this kind of argument erupts on a bereavement thread on a site he runs and cares so deeply about cultivating as a pleasant site to visit.

He can't be the one to call people out for being insensitive, but he can at least say "Thank you" to someone who does, and who in doing so, gives him some much-needed reassurance about the level of emotional intelligence around this place.

Discussions about the merits of customs and policies on the site are fair enough, but if we're to be as humane and compassionate online as we would try to be offline, the time and place of the mourning and honouring of a just-deceased person is not the right time and place.
Most Android devices get pretty impressive uptimes. My phone has 54 days right now, for instance. Weekly random reboots are not normal.
He doesn't use pictures because neither his target audience nor the subject matter require pictures.

His target audience is composed of people who are interested in mathematics teaching (parents, teachers and such). He expects (correctly in my opinion) that these have handled and can handle long texts.

The subject matter is an opinion piece without much underlying data, so graphical representation is not required.

The writing style must be adapted to circumstances. Increases in picture density do not monotonically increase text appeal.
The Dutch tech whiz who could save journalism
> HSTS use by Swiss Banks has gone from 0% to 40%.

That's awesome. Do you have a reference? Not doubting you, just want to read more.
http://teachers.sduhsd.net/mgaughen/docs/Mencken.Gamalielese...
> The bad actor is the company whose product grows too wide for them to support. Trimming back is a good actor

You're reframing the argument in an Apple-friendly way. Screaming isn't a sign of a win, it's a sign that Apple doesn't know what to trim ahead of time - that is in no way a win for the customer.
Hot Natomas Slimm   Body
> Maybe you could whitelist the subdomains only.

https://www.npmjs.com/package/csp-by-api can help with that: it contains CSPs for popular APIs so you can just add the the APIs you're using to your own CSP:

var policy = cspByAPI(basePolicy, ['twitter', 'mixpanel', 'googleFonts', 'stripe', 'typekit', 'ractive'])
Secure Reputation Systems with Collaborative Filtering and Social Capital (2008)
Ambronite co-founder here. Ambronite is made out of real food ingredients. We believe that real foods are the most comprehensive, healthy and safe way to ensure intake of all nutrients, also the ones that are not well understood by nutrition science today.

This video explains the same in 1 min:
https://www.youtube.com/watch?v=QusSrxWNWa8

Moreover, it's also quite eye-opening to compare our ingredient list to any of the other products mentioned. :)
Religion and superstition - there has to be a story that is not true for there to be a True story. Goblins and evlves are not real but ghosts and demons and angels and gods are.
Chatpiper
How Developers Use Databases Today: A JetBrains Report
35 Types of DDoS Attacks Explained
No, that's now how the system works in the US. He has nothing left to run for; he's term limited and leaving the highest office in the country.

The election cycle does have something to do with it: in the last year of his presidency, he has nothing to lose legislatively by putting all his proposals on the table. In previous years, he had to weigh each of them against the cost of losing whatever he was trying to accomplish with Congress.

That's not Obama's fault; it's the nature of the system. The President can't do whatever they want; their hands are tied by the other two branches of government. Blame John Adams.
Tearing Kim Kardashian's Ass
I used to love Sublime Text. Been a paid user, even paid for addons (sftp). As accessible as sublime is for newcomers, as restricted and antique it feels. I can't describe it in words right now, it's a feeling of mine.

The release cycle stalled, I looked into Atom for a while, but being browser based has advantages and disadvantages, and I finally discarded Atom because of performance issues (yeah, even with the current release) and most of all: battery usage. I need to work 8h+ straight without outlet on my MBP.

Then I discovered the final solution to my editor/IDE needs: Spacemacs[1]. The unparalleled extensible IDE of Emacs combined with the ergonomic and fast editing style of vim, plus layers of goodies ontop, pleasantly looking. It totally changed the way I work, having only a fullscreen spacemacs open the whole day, except for occasional looking into my browser window. And then I discovered org-mode, and oh my god, this goodie seems to be the final solution for everything remotely organizing/planning related.

Sorry for the mostly unrelated comment here, but I want to spread the word about spacemacs! I came from being a heavy sublime user with occasional vim editing needs to this lovely pieve of an editor/IDE.

[1] http://spacemacs.org/
Java does this pretty well, at least if you use Gradle, I think. You specify the location of the repository in the

repositories { ... }

block and then specify (with maven naming scheme)

dependencies { compile "group:name:version" }

where group might be something like org.apache, name might be apache-commons and version might be 2.5.
Kicking Jesus for Smoking
Nice :) Boy how much India has changed...(for the better)
> I'm not saying he was wrong, but in a lot of educational systems maths is 90% about remembering stuff.

It is/was, but the Common Core Math standards are trying to change that. Children are now being taught how to look at addition, subtraction, multiplication, division, fractions, and other concepts from a variety of perspectives. Predictably, it's driving their parents insane because they were taught the "one true algorithm" for each of these tasks and can't help their kids when confronted with alien algorithms that change from semester-to-semester.

http://www.corestandards.org/Math/
I just want to mention that this is within the ordinary system. If you're considered exceedingly dangerous that's just crazy. Better give you a treatment-sentence. That means a REAL life sentence.

Denmark had a guy who killed 4 policemen. They let him out 33 years later on a pardon; by then he was 71 and had server about 33 years.
The biggest advantage of this progress is that there is a lot experimentation with new kind of tools (for example Redux Dev Tools. This is fascinating. I mean Redux is great, but the fact that there are dedicated dev tools for this? Wow. I'm waiting for new tools (maybe every popular library from now on will have its own dev tools? Or maybe somebody will make universal dev tools for all React libraries?).

I think what's happening inside React ecosystem and this constant flux of innovations is not comparable with anything in the webdev before (maybe except Ruby community which is also pretty innovative).
It doesn't look to me like he's unfocused or forgetful on the video. What are you referring to exactly?
Xiaomi has a process to request unlock codes, which takes between 3-21 days, and they say it's to protect against malware from sellers.

And some users say they already recieved unlock codes. So maybe it's reasonable.

But it's new , it still requires followup.
As a side note, that "third world" posts in the article's comments are just disgusting.
That's an interesting point on patents isn't it. Things become emerging tech once the patents on it expire.
Hacking the Zsun WiFi SD Card Reader
Interestingly, the first possibility isn't self-contradictory. If you agree to work for a very low salary, you'll bid down the wages for everyone else and require public assistance to stay afloat. From what I've heard, it's happening with Walmart workers in the US.
مدينة+الرفاهية+الطبية+في+دبي+تعادل+مساحة+16+ملعب+كرة+قدم+
It's cargo cult mathematics.

People who understand math can do X, Y, and Z.

Therefore we should make sure children can do X, Y, and Z.

Then they'll understand math too!
I just want to mention (as I've done elsewhere in this thread) that this is within the ordinary system. If you're considered exceedingly dangerous that's just crazy. Better give you a treatment-sentence. That means a REAL life sentence.

Denmark had a guy who killed 4 policemen. They let him out 33 years later on a pardon; by then he was 71 and had server about 33 years.
Show HN: Cluelet – Your notebook for objective and visual comparisons
Why Context Matters in Home Automation
I'm right now TAing a course which uses Go. Tons of people are having trouble with this, and the interaction with $GOPATH.

This course has fourth year undergrads and masters' students. Most are familiar with some languages but aren't too used to production code practices (basically, one of the target audiences for Go -- be simple so that everyone can ramp up). Some have said that they preferred submodule deps or pythonesque easy-to-copy and easy-to-play-with import statements (and pip install) over this.

There is the valid argument to be made that any model for publishing your package is going to be tougher than a simple github URL, but it doesn't have to be much worse. With Rust, for example, you need to run `cargo login` once (which will direct you to a page where you can make an account if you need to) to set up, and then `cargo publish`. Pretty easy to learn.

I like a lot of things about Go, including it's simplicity. I wish I had more time to write Go, because it's a fun language to work with. But $GOPATH and URL-packaging are not amongst the Go features which I like.
I heard xiaomi , in their newer OS versions have a very good standby management so it's very power efficient.That ,plus the new redmi 3 with a large battery in a thin device gives phenomenal battery life.
Founder here. Cluelet is a web app to help you compare & make decisions that you can revisit later.

Features worth mentioning:

- Compare with objective attributes. Select from a crowd-sourced list or add your own.

- Visually see how multiple items stack against each other for any attribute. No tables or grids to scroll horizontally.

- Personalize & reuse : Select only attributes that you care about, save the comparison, revisit later.

- Seek & share opinion on specific aspects that are important to you

- Easily toggle between your perception & aggregate community opinion

- Add short side notes (140 chars) for reference

- We hope that before making decisions, you use Cluelet as your comparison notebook, and also help others along the way by sharing your objective opinions.

Try it out here : https://www.cluelet.com/ . To get started, you can search from a list of pre-categorized items or add your own.
I kinda feel like the VR bike simulation would be the most boring experience. Put something like Mario Kart up there.