skysight-inc/HackerNews huggingface dataset:
> 1. No targeting of tech companies, private sector or critical infrastructure.

In peacetime, the last item is okay — clearly in wartime it's appropriate to degrade a foe's infrastructure, consistent with the accepted laws of war and humane concerns.

I think the private sector ought to be generally off-limits — but surely there are times when that might not be the case. Do spies never duck through a dry cleaners'?

I'm negative about privileging tech companies vs. the private sector in general.

> 2. Assist private sector efforts to detect, contain, respond to & recover from events.

Sure, that sounds reasonable.

> 3. Report vulnerabilities to vendors rather than to stockpile, sell or exploit them.

I can't possibly imagine that will or should ever happen. Nation-states have a duty to their citizens to be able to conduct offensive & defensive cyber operations; a necessary condition of doing so is the ability to stockpile & exploit vulnerabilities.

There's a gain-loss calculation to be made for report any vulnerability: does the gain to national defense of closing that vulnerability outweigh the loss to national defense of being able to exploit it against an adversary? I see absolutely no reason to believe that the answer is automatically 'yes,' or even mostly 'yes.'

> 4. Exercise restraint in developing cyber weapons and ensure that any developed are limited, precise and not reusable.

Restraint of course is laudable. Limited & precise capabilities are obviously a good thing. Trying to limit reuse, though, seems impossible to ensure in the general case, and not really desirable anyway. Why restrain makers of software munitions from using one of the most powerful tools in a software developer's toolkit: reuse?

> 5. Commit to nonproliferation activities to[sic] cyberweapons.

Meh, I always thought nonproliferation in general is either a case of pulling up the ladder behind oneself (on the part of states which have already achieved a capability) or a exercise of wishful thinking (on the part of those who think that the genie can be crammed back in the bottle). As applied to cyberweapons, I have difficulty understanding what this is even supposed to mean.

> 6. Limit offensive operations to avoid a mass event.

This is already addressed by the existing laws of war, particularly the principle of proportionality.

Overall, I imagine this is really meant to be a starting point, not a draft: there is absolutely no way that a serious person can expect point 3 in particular to universally hold.
Same story here !

For nostalgia's sake, may I ask what games/software you developed at the time ?

On my end, I did:

- Snake, and a Snake level editor,
- Sokoban, and a Sokoban level editor,
- an adventure game Zelda (NES) alike (but was not fun at all !)
- Graphic calculator (to help me visualize the change of parameters quickly),
- a software to visualize my grades compared to the rest of the group
- I made a software to search and categorize html tags

(during my high school years)

What impressed me the most at the time, was that my binary file compiled on Windows ME would work directly on my other computer with Windows 3.1.

This is something I still really enjoy today with Go(lang); the fact that I can just compile for other platforms and run it natively.
Basic, Assembly (6502, 8088), Pascal, Fortran
Why NULL references are a bad idea
And in your mind, "javascript hackers" are worse than "people with a university education in computer science" at doing modern front-end web development?

In my experience, building performant web applications is much more about things like reducing bundle size, making sure animations are hardware-accelerated, being smart about _when_ you do complex work... The cost of using an O(n^2) algorithm over an O(n) algorithm will rarely have a tangible impact, since you don't typically deal with item sets that large on the client.

Not debating that CS fundamentals are valuable, just that they are _far_ from the most important skillset to have. Give me a JS hacker who understands page load times over a CS grad who writes his own bucket sort algorithm any day.
> And when a power plant in a region is taken offline via conventional means? That isn't covered by the Current Laws of Land Warfare

While details of the context will matter, an attack on such a plant would potentially implicate any or all of Arts. 51-56 (exc. 53) of Protocol I to the 1949 Conventions (the US is not a party to Protocol I but had traditionally viewed it's terms as declarative of and redundant with pre-existing customary international law.)
If you don't want this account to be banned, please stop posting snarky one-liners as we've asked multiple times.
Unless they negatively affect the US? https://www.wto.org/english/tratop_e/dispu_e/cases_e/ds285_e...
Nope, they're still using Solidity.

http://www.stephendiehl.com/posts/smart_contracts.html :

> "Solidity, while being an interesting proof of concept, is dangerously under-contained and very difficult to analyze statically."

Solidity docs are here: http://solidity.readthedocs.io/en/develop/solidity-in-depth....

No referential transparency, no purity, no algebraic data types . . . it's scary stuff for writing contracts.

It sounds like the core team has realized what a hole they're in and are taking it seriously, which is great. But I think a lot of the Etherium-related businesses still have no idea what a sandy foundation they're building on. It's going to be ugly.
Perspectivas de desarrollo inmobiliario para el año 2.017
Analisis sobre las expectativas de desarrollo inmobiliario en el alquiler y venta de inmuebles para el año 2.017 en españa
Thank you for this. I am currently using only a english library as my base. Will add in input cleaning and possibly other languages
Odd choice to start with the iterative factorial before moving on to the recursive one. Usually it's the other way around, since the iterative algorithm is faster and uses less memory.
Inside the Recount
Google Open Source Blog: Announcing TensorFlow 1.0
This is the one of the many things that are anti-features in most languages, but become powerful best-practice tools when applied to Haskell.
This is true for a lot more than friendships. It's less rational than I think you try to give it credit for in your last sentence.

How long were you at your last job? Let's say you spent 3 years and 2 months there. Let's make an assumption and say that your time there was a positive one for your colleagues, and that you left with no animosity and—specifically—no animosity about the timing or circumstances of your departure.

Now let's suppose, though, that you walked in on your first day knowing that you would end up spending 3 years and 2 months there, down to the date of your departure, and during introductions you let your colleagues (including management) know about the limit on your time there. Let's call this version of you You'.

The way this would play out is that You' could make the exact same moves as you in every situation, and yet will be given much fewer opportunities and find much smaller success, despite there being no difference between you and You', save for this small discrepancy. As a result, your colleagues and the company will end up getting much less value from You' than they get from you.

People are bad at maximizing the resources available to them.
Ah, the downloaded file didn't have a .tar extension, and looking at the file with the head utility made it seem like it was just a single TSV file. It is in fact a TAR file that expands into 1,699 .vels files.

Thanks for the explanation.
Nobody Knows What They're Doing (2013)
America is a nation of immigrants, but isn't the USA supposed to be a "melting pot"?

Contrast that to Canada, where the term we used was "mosaic" (when I was growing up in the 70s & 80s).
He is signalling that he has connections. One day we could be as cool as this guy.
I think maybe it should be "pay $5 and you will get a guaranteed response, or don't pay $5 and you can still apply but there's no guarantee you'll get a response". That way I'll pay to be able to hear from the people I know I want feedback from on a case by case basis.

Hell, i might be willing to pay upwards of $20 for a company I really cared about if I was guaranteed detailed, honest feedback.
Oh wow, thanks for the link. Looks like you discovered typescript way before I did. It looks like Mypy is pretty popular these days. Cheers!
Grandma Beheads Toddler's Babydoll
I personally chose to come to University in the US and had a great experience. While my campus had issues with international students and domestic students being divided, we did a lot of research for our newspaper and wrote opinion pieces on how to bridge the gap.

If you'd like to read about another perspective to how international students feel after coming to the US, here's an opinion piece I wrote: http://www.dailynebraskan.com/opinion/agrawal-us-universitie...

If you'd like to read more about what it's like to be an international student making friends with domestic students: http://www.dailynebraskan.com/opinion/agrawal-making-friends...

Here's an article one of my colleagues wrote about making friends with international students as a domestic student: http://www.dailynebraskan.com/opinion/simon-making-friends-w...
The biggest problem with relying on compactness alone is that there are many maps that are equally compact, but have different impact on voter efficiency.

So at the end of the day, you'll end up having to look at efficiency anyway to verify that a compact map is 'fair'.
I always thought the new Visual Studio pricing model was a good way to go for this: Free for teams of <=5, cost/seat for teams above that.

I suppose if you go that route you need a legal team that can afford to be on the lookout for violators though.
Maybe it's me but their test seems to hate sites hosted in europe. (Strato, Germany)

First I tested my site's landing page:

43/100 - ok, no SSL, so HTTP2 and 367ms TTFB - I also apparently committed the capital sin of including a 160kb CSS file (foundation) without stripping it. Serves those 5 visitors per month well!
Comparison: 66(mobile)/77(desktop) of 100 from Google PageSpeed Insights (with more useful hints what to fix) and 75/100 from tools.pingdom.com (224kb incl JS and CSS is apparently still too big and missing caching/Vary header).

But now my gripe:

Same host, https, an empty page with 0b - only gets 72/100 because of missing HTTP2 and slow TTFB of 185ms.

Insights doesn't even render this page and it gets 83/100 from Pingdom.
Faster than 99% of sites, 0B and still only 83/100. I think most of these metrics are a bit off...

Edit: just amended my empty test page to be exactly 200 bytes and be real html.
Insights: 100/100, Pingdom: 100/100, Netlify: 0/100 because 1067ms TTFB
Map shows 12,094 potholes in San Diego and how long it took to fill them
Please note this article is from 2012. I feel like the HN headline should be edited to reflect this.
Probably anyone who's interested will know, but I think that it's worth noting that Ghostery (https://www.ghostery.com) is not tracking software; it is anti-tracking software, meant to track ads' tracking behaviour. (Thus this purchase is, presumably, a good thing.) I think that calling it an "ad-tracker tool" risks misleading the casual reader.
Setting Up Instagram's New York Team
TL;DR

>> We computed the R-Index for studies cited in Chapter 4 of Kahneman’s book “Thinking Fast and Slow.” This chapter focuses on priming studies.
The results are eye-opening and jaw-dropping. The chapter cites 12 articles and 11 of the 12 articles have an R-Index below 50. This result confirms Kahneman’s prediction that priming research is a train wreck and readers of his book “Thinking Fast and Slow” should not consider the presented studies as scientific evidence that subtle cues in their environment can have strong effects on their behavior outside their awareness.
.gitignore is easy but the pw is still naked. Probably a good practice to hash it.
I would love to discuss your disagreements, I've thought a great deal about my implementation, but there may very well be several ways I could improve my approach. Feel free to shoot me an email at zaguios@gmail.com if you would like to talk more.

I don't have anything set up yet to update people on new developments, but it is something that I'm looking at implementing soon as I continue development. I'll let you know once I set something up.
China's Tech Tycoons' Healthcare Dreams Aren't Coming True
Will there be ROS support? So I can use it as a drop-in replacement for Gazebo?
(removed due to wrong company, thanks josephpmay)
> Can't it all be abstracted under a procedural layer and let the OS worry about not blocking anything?

That's exactly what coroutines do.

Here is an in-depth description of how Kotlin implements them:

https://github.com/Kotlin/kotlin-coroutines/blob/master/kotl...
Changed from http://venturebeat.com/2017/02/15/google-releases-tensorflow.... Thanks!
Fixing the Big Bang Theory’s Lithium Problem
Hahaha. Yahoo employees don't read hacker news :-)
Why do you say that the greek system was hostile to foreign students, more so than the regular social experience of college?
I'm not looking for the job, so hard to tell. Everything depends on your unique situation, but most likely the nanodegree alone will not be enough to get a senior technical position. The good experience with algorithms is still important. Some books which I usually suggest: "Gayle Laakmann McDowell - Cracking the Coding Interview - 2016" and "The Algorithm Design Manual Second Edition 2008".
> She could be living a life of luxury, instead prefers to fight

Let's be honest... She is doing both. Have you seen their house? No judgement, but she's not in Mali every day.
Ask HN: What podcasts are you listening to?
I am into Ruby, Apple, Web, Defcon, Elixir, MongoDB, OSes, React, Design, etc. But, I am also curious to whatever is interesting/funny that you guys might be listening.

Side question, what podcast softwares are you using on a iPhone and on a Mac?
> > Can't it all be abstracted under a procedural layer and let the OS worry about not blocking anything?

> No.

Yes. That's exactly what coroutines achieve.

They transparently suspend and resume execution of async code in order to make it look imperative.

See https://github.com/Kotlin/kotlin-coroutines/blob/master/kotl... for a good example.
Going around black neighborhoods arresting young, black men on spurious charges just to give them criminal records.

But I think the effects of this will be much worse, because a rouge cop with someones DNA is really bad news. How do you prove it was not your DNA at the crime scene?
Data Shows Traditional CDNs Are Losing Competitive Edge in U.S. Mobile App Arena
The headache of packaging Linux software for multiple distributions
Recursive might be harder to grok to someone new because of the implied stack.

However, once you understand the iterative version, it's probably easier to understand how the recursion is actually working.
I also could not get an IPSec VPN running on Debian in 2012 (I think it was FreeSWAN), while OpenVPN was no problem. I am planning to run a VPS for VPN and email again and this time looking to do all the setup with Ansible. Two roles came up for StrongSwan when searching: https://github.com/agdsn/ansible-strongswan-server https://github.com/jonathanio/ansible-role-strongswan Not sure how much those help with actual VPN configuation. Anyone have any experience with this?
>international students are cliquey

I've noticed this at my college firsthand; I see groups or pairs of Chinese students speaking solely Chinese. Speaking in their native language isn't necessarily a bad thing, but it certainly makes them less approachable.
Worst case senarios such as damage to critical structures such as dams might have high fatalities. The key is to avoid a war before it happens.
Thanks for the link. However, it seems just a subset of Cormen et al.
Hmm. Lemme see if I can explain this.

Javascript uses "function references" in a similar fashion to C's "function pointers". This...

function fooAllTheBars() { /* ...quux... */ }

...is a function declaration statement which binds a callable reference to my function to the name `fooAllTheBars`. That said, we can express an "anonymous function declaration" as an rvalue, so we can also bind the function to a name ourselves:

const fooAllTheBars = function() { /* ...quux... */ };

Since this is a function reference, I could pass it into a function like this:

setTimeout(fooAlltheBars, 1000);

...which would tell the JS runtime to wait 1000ms and then execute `fooAllTheBars`. I could also express this using an anonymous function:

setTimeout(function() { /* ...quux... */ }, 1000);

This is all fine and dandy, but suppose I also had a function like this:

function quuxify(value, calculator, cb) {
calculator(value, function(err, calcResult) {
if (!err) {
cb(calcResult.toFixed(2));
}
});
}

function bazzify(success, failure) {
quuxify('foo',
function(value, cb) {
setTimeout(function() {
if (value > 100) {
cb("too high!", null);
} else {
cb(null, value - 10);
}
}, 1000);
}, success);
}

bazzify(console.log, () => {});

This is, admittedly, a bit of a pathological example than the simple "nested callback problem", and the code makes even less sense because "bazzify" and "quuxify" don't actually mean anything, but I think it's a better illustration of the problem at hand.

Basically, if you get into callback hell, your control flow starts bouncing around like a pinball hitting bumpers, and figuring out why is nearly impossible (unless you want to dig through fifteen levels of anonymous functions). And the sad part is that in most cases, you can't avoid it altogether because there's something fundamentally asynchronous like a `setTimeout` or an `xmlHttpRequest` waiting at the end of the call stack.
BlackBerry Hits '0%' Market Share Nearly Ten Years After iPhone Launched
I'm not involved in the curriculum development side of things, so I don't have much input into that. And prior to the implementation of Top Hat, our students had all been using physical "clickers" to respond to in-class questions.

However, Top Hat implemented a program where the students could trade in their old clicker and get a 5 year Top Hat subscription. Plus a "Lifetime" Top Hat subscription is cheaper than buying a clicker, so students have seen it as a net win.

We do not receive financial compensation from Cengage, Pearson, or McGraw. The strategic part is that they offer more services to us, let us test new stuff they're toying with, and help our profs develop custom content.

I still take classes, so I definitely feel the hit of these textbook prices. It's also why I've advocated for pushing more towards a "direct integration" method of provide course content in our LMS. Students pay ~$60 for access to the content, instead of $100+ for a textbook. It still adds up, but it's a way to start to lower costs.

(and the prices keep going down. I just found out yesterday that one of our vendors is dropping the price of a range of course content because of high adoption rate)
Silex Web Editor New Features: Dashboard and Sections
You're confusing Magic Leap with Leap Motion. Two totally different companies
> Not sure why the url path includes 'rise and fall' in it,

These days publications are continually A/B testing headlines.
Plink Launches, Making Boring, Ugly Links Loveable with Design and Personalization
Dubai to pilot Flying Drone Taxis this summer
Understanding the Need: A Django Deployment Guide
you're right, my bad.
> But these recommendations would more or less prohibit signals-based spycraft.

That depends on the definition of "cyberattack", a term that in casual use is used both for insertion of monitoring capacities and more destructive actions (e.g., stuxnet.)

I think there is a good case that prohibition of the kind of indiscriminate harm to civilians widely accepted as prohibited by international law now (whether Protocol I for those who are parties, or customary international law in the US perspective) when achieved by means of physical attack ought to apply equally to harms caused foreseeably by cyberattacks. Mere non-destructive espionage (which isn't purely passive) targeting civilians is probably a different issue.
Well there's Office.

But also you provide the content which makes Windows licenses have value. If there were no Windows apps, they couldn't price it higher than Linux.
Would existing protections in the Geneva Conventions against targeting noncombatants apply to damaging infrastructure that leads to civilian fatalities?
> the rest was acquiring cultural references.

Exactly as I was reading this sentence I heard someone use the idiom in English, "You're in the home stretch". A bit of a comical coincidence.
Yeah, this seems like a concern.

Already the biggest data/reality hurdle is not visualization but record accuracy - Amazon pickers get quick-and-easy guides to where products are, but face massive delays when something is mislabeled and they have to scan every item in the bin they're directed to.

Fancy HUD systems may be worthwhile for a handful of high-end industrial tasks that value time very highly and can justify custom purchases (power plants?), but for most applications boosting accuracy and system usability sounds better than investing in new methods of data access.
Analogous scenario: "Oh I think I know of a way to pick you up from the airport. It's a "special" method. But I can't/won't tell you."

How exactly is that useful information in any way? Of course there is a way to get picked up from the airport. Car, taxi, bus, uber, lyft. Infinite number of solutions. That's not the issue. The issue is receiving said help.

Basically saying, "There's a way to help you out, but I can't/won't" is tantamount to saying nothing at all.

That was extremely annoying to read. A hint would have helped. At the least.
We changed it to that page for a few seconds, but it's pretty low-level for a 1.0 release. The official blog post seems best.
This is so depressing.
yeah, I realized that people may have been reading #2 - I cottoned on to that about 5 minutes ago. :)

#1 was what I meant, and it's how I was hearing it in my head in my own voice when I typed it!! :)

Why do people not feel bad about trashing their own public spaces? I don't want to go all "leave it to beaver", but is there no pride in your environment at all?
Deployment, it's always been about deployment.

Gone were the days of having dB passwords on every machine and wandering from PC to PC with a floppy or CD.

And that was the problem with desktop apps 10 years ago.

Even when MS fixed deployment for desktop apps they still left it massively overcomplicated. It should have been a simple one click in visual studio to build an installer and it never was.

One click deployment was/is pretty awful too that came out just as Google pioneered background updates.
It's in the document title.
>But what's with the griping about textbook publishers? The overreliance on adjuncts allows the university to charge lower tuition and the publishers make the feat possible!

Not all publishers. Just those that make trivial, minor changes that prevent you from using used books for classes.

Also, the whole "Let's create a separate text book for each university" thing.