skysight-inc/HackerNews huggingface dataset:
This tool seems useful. I'm wary of installing extensions with broad permissions like this one needs (read and modify all data in all websites I visit). Chrome extensions are known for being modified after they become popular for mischievous purposes (e.g. selling data or installing malware). I wish Chrome provided a better security model for extensions like this. I guess one choice is to install it but leave it disabled.
Google and others rarely ever mention DNS/DNSSEC, even though just as much information is being sent insecurely in the form of DNS queries/responses.

Learn more:

https://github.com/jedisct1/dnscrypt-proxy

http://dnscrypt.org/

Check if you already have it enabled (unlikely if this is the first time you're learning about this)
http://test.dnssec-or-not.com/
The OP was implying that Norway wasn't of any strategic importance.

This is both wrong (Oil and partial control of North Sea) and irrelevant.

For example, bugging is often done over commercial concerns. That has little to do with strategic factors and instead is more related to money.
Berkeley’s RISC-V Wants to Be Free
Hold it! This is to fast.
Didn't mean to come across as mean, merely factual.

There are plenty of similar implementations around, in fact, and this is the kind of thing I've also seen as part of ActiveState recipes.
Security Keynote by Bruce Schneier (QCon)
It will if you recursively define it:

from collections import defaultdict
def dd(): return defaultdict(dd)
d = dd()
d['a']['b']['c'] # => defaultdict(dd, {})
d['a']['b']['c'] = 'test'
d['a']['b']['c'] # => 'test'
I like .attribute syntax as much as the next developer but the mutate-on-get behaviour strikes me as... undesirable.
This is just a possibility, but according to Julian Assange, Google works for the US State Dept and the FBI and CIA have unfettered access to users' emails.
Wait, what? What decent programmer will ever find herself with N slightly different copies of their classes instead of planning ahead or doing some basic refactoring?
It does recursive access but not attribute access. The problem I see is that attribute access is only part of the problem you're attempting to solve. That's a nice feature but a pretty well known problem (check out the self.__dict__ = self trick) with fairly clear behaviour mimicking the usual dict.

The surprising bit that would stop me dropping this in any real code is that as an end user, it's not immediately clear how the mapping interface should apply to this class. It's all implementation defined but it's not actually defined in the implementation. e.g., Does my Dict() have the key 'a.b.c'? Nope, it only has 'a' and the other keys are managed through some magic. Same.applies to iteration, it might be reasonable to assume that'd be a depth first terminating node iterator but it would actually just iterate the top level of the main Dict instance.
But what if the site loads JavaScript from an insecure origin?
Norway invented everything from the Groupe Spécial Mobile group? Citation needed.
I agree with this. Even though I've used my Struct thing for a long while now _and_ subclassing dict directly in my case, I've been bitten by similar issues.

The syntactic sugar is very nice and saves up on oodles of brackets and quotes for nested objects, but if you try to mutate this sort of object you'll eventually run into trouble.
Elliott certainly knows a lot about programming JavaScript, but reading his piece I have no way of knowing whether he knows a lot about programming in general, or architecture.

He tells us, again and again, that it's best to avoid trying to emulate inheritance in JavaScript, because that often goes horribly wrong - in JavaScript. I'm not sure it's valid to extrapolate his experience to outside JS. I get the impression he's teaching us how to avoid problems that we wouldn't have (or less so) if we weren't saddled with JS.

His enthusiasm for JS, meanwhile, seems a little misplaced. A language riddled with many horrible gotchas that inspired Mr. Crockford to write a book on how to avoid them? Why should we need to tiptoe around the fact that "this" means different things in different contexts? The "prototypal functions that happen to contain data" idiom is refreshingly different and interesting, but does it really offer advantages not found in "conventional" OOP or FP?

JS commands a huge following. But as Elliott hints at the beginning, its popularity is not a matter of choice. Netscape saddled us with a legacy where the API of every browser is necessarily JS. JS is the best language for programming browsers simply because it's the only one. That it's not a universal favorite is evidenced by the many projects that offer a "cross compile to JS" option. The users of those products would rather code in a different language.

All that said, a disclaimer: Though I've read _The Good Parts_ and other JS books, I avoid JS, I barely know JS, I have next to no experience with it and I suck at programming in it. So the foregoing is an opinion not backed by a wealth of knowledge and experience. I submit it as a kernel for discussion, hopefully by more knowledgeable people.
Telegram Issue #384 – Backup or archive chat history
From what I gather, lack of user defined generics is primary reason, followed by the loose typing in interfaces.

I'm not an expert in Go, so feel free to correct me there. Additionally, IIRC Rust wanted to take the same route like GO regarding interfaces and generics, but Niko made an argument that it is wrong turn to make.
Uber: testing the app driving UK black-cab drivers round the bend
That quote is literally "I don't like the data, so I will pretend no data is better". There are no studies that contradict it, so claiming it is "some tests" is pretty dishonest. Even their flimsy reasoning makes no sense. Who says a plain potato is so unpalatable? That is a subjective question. Is it really any less palatable than plain white bread or plain rice or plain lentils? The other point is outright dishonest. Yes, 220 calories of potatoes is more food than 220 calories of jelly beans. That's part of satiety. It is a measure of fullness per calorie. I'm sure celery would rate pretty high on a satiety scale too, but nobody pretends celery is some sort of evil carb monster you should never eat like they do with potatoes.
Secure Mail for Devs
Yep, it is a true concern. But I am on of two developers behind it. We started it as a tool for ourselves to generate jQuery request code and later decided to put it for public use.
I doubt it will be wildly popular to give us incentive to include something bad in it. After all, it is useful only for those who know jQuery and Javascript. Enjoy.
Public and private sector efficiency
See my other response: https://news.ycombinator.com/item?id=8744945

Summary: "I don't like the evidence so I'll ignore it" is not compelling. Being a low calorie, high volume food is not "artificial" satiety, it is satiety.
there is a HUGE body of research to show that the
single best hiring process you can use for hiring
a worker

The best process, assuming you have to use a single process for every job in the world? Or the best process even when hiring for a specific role?

I can understand IQ being the best choice if you had to judge poets, plumbers, town planners, golf instructors, programmers, salespeople and warehouse workers using the same process. But surely if you're exclusively hiring for one of those roles, you'd want to test their domain-specific knowledge?
Employee Engagement Ideas
Astronomers Spot Hundreds of Pluto-Size Protoplanets Revolving Around Young Star
The parent was probably just nitpicking because the word impossible rubs him the wrong way. Switch impossible with infeasible and add "for us" and everyone should be happy.
I was already expecting he'd talk about favoring composition over inheritance 1/3 the way into the article... which he finally does in the 40 minute+ videos after the end of the whole article.

There're a lot more problems with JavaScript than that. It's not even the most important problem IMHO.
>Insulin is elevated when your blood sugar is elevated

Insulin is released when your blood sugar is elevated, yes.

>When that happens, your body goes from it's fat burning mode (default state) to carb burning

That is a complete misrepresentation of reality made by people pushing a fad diet.

>When those stores are full, then it stores the rest as fat.

So? What do you think it does with fat?

>but most people eat so many carbs that their body never relearns how to do it.

Your body does not forget how to burn fat, it does it all the time.

>This isn't rocket science, it's basic biology.

Yes it is. And it does not support this weird fixation on insulin. https://evolvinghealth.wordpress.com/2013/05/22/is-it-time-t...
I've been writing JS for a few months, after years of hating it from a distance. I must say it's not as bad as I expected, inasmuch as you can basically pretend it's a somewhat wonky Scheme.

The nicest part of it is the built-in hash table type and the related syntactic sugar that everyone for whatever reasons insists on calling "object".

One thing that makes me freeze right up, though, is I hear they're adding classes and inheritance and that whole OO clusterfuck to what's a nice, trim little dynamic language.

Like the article, I think it's possible to write good code in JS as it is, by accepting what it is, rather than trying to force it to be an OO language, by emulation or extension.
Is this working for everyone else? I get a "server not found" message.

http://downforeveryoneorjustme.com/http://test.dnssec-or-not... tells me that the server is up.
Don't forget Israel, they are known for very active spying operations against European countries. In neighboring Denmark it was found that Mossad had been wiretapping the parliamentary overseer for years.
That's an interesting way to put it.

Yes. It might be.
I'm familiar with DRF, and yes, it is terrific. However, because I want to interface directly with Elasticsearch, I am inclined to drop Django altogether.
I am hopeful that Let's Encrypt will do better than StartSSL's SHA-1 and paid revocation.
Is CDMA better?
This is missing some code examples. I just want to know what to use instead of constructors.
*whose values
Ok, let me rephrase then:
On modern systems, checking the return value of malloc() is not a proper way to check that the system is out of memory and therefore it doesn't guarantee that the program will run correctly in any case.

That's what I wanted to point, and I agree that it remains useful to detect other types of errors such as the ones you mentioned.
I imagine they're probably using a chroot jail.
I actually went through the Golang quickstart before writing my original post. It is very tempting, but I'm concerned it might be a long journey for what should be a simple app. In your experience, how productive is Go at kicking out basic CRUD APIs?
I think you could implement it like this:

from collections import defaultdict

class D(defaultdict):

def __init__(self):
super(D, self).__init__(D)

__getattr__ = defaultdict.__getitem__
__setattr__ = defaultdict.__setitem__
__repr__ = dict.__repr__
Yes, the Digital Copy - I was very confused about it.
I don't think that's the message.

We are focused on making people professional, employable programmers. While I agree that everyone can play with scratch or build a basic webpage, that's different than the programming skills required to be employed in most dev jobs today.

(Codeup CEO here.)
If tiny Norway, which imposes no real threat to any other country, including it's mighty neighbor, Russia, is a target for intelligence services, then every country is a target.

Y'know, I've been more surprised at how surprised everyone else is. Maybe I put too much faith in James Bond and the whole spy cliché, but the reaction to the Wikileaks revelations surprised me because I'd assumed governments were doing those things to each other and their citizens anyway. I mean.. they were in the movies! ;-) (I'm not suggesting being blazé to it is a good thing, of course.)
I didn't learn anything from the article. What effects are you forecasting?
Well, just a curious question - do you lint your JavaScript code?
Obviously, given that the TLAs can just national-security-letter a CA (if that's even necessary). That doesn't change anything about my recommendation. You should still use HTTPS, always.

It still has an effect of making your traffic not stand out from anybody else's in a DPI. Also, the TLAs are not the only attacker, and HTTPS may not be transparent to them.

The key feature is that it requires a MitM. That is not easy or cheap, compared to simply catch everything with a simple passive beam-splitter. The idea it is easy to get bulk data with XKEYSCORE/PRISM, but requiring the use of QUANTUM, FOXACID, and other fancier tools is not something that cannot be [cheap, undetected, used against everybody] simultaneously.
Simple but efficient Airport Express hack
Npm.js
Join us for the first 24 hour live hackathon
http://en.wikipedia.org/wiki/Torleiv_Maseng
>How is indexing an array OK with functional programming of the level of purity Haskell strives for (not to mention without bounds checking)?

How is it not? That is a complete non-sequitur and makes no sense. What sort of definition of functional programming are you using that you think it restricts what data types you are allowed to use? Do you think you aren't allowed to use lists in C?

>In "Real World Haskell" they advise you to forgo of arrays

You might want to read it instead of misrepresenting something out of context. You might also wish to consider that many of the haskell shootout submissions came from the authors of RWH.
Using MATE [1] I don't have this problem at all.

1: http://mate-desktop.org/
If you are Armin, I want to take a moment to say I love your work. This ruby-like dict class probably doesnt belong in the std python lib, but it is nice to have in pypi because of the syntactic sugar. No denying that it is kind of a leaky abstraction, one might even say a hack, but it has the potential to be useful for concisely expressing nested key-value objects, as long as the object instantiation is explicit so a reader would immediately know what they're working with. It's really easy to implement something like this by inheriting from dict and setting some magic methods, but I feel like I find myself implementing Struct classes like this for myself because it can be more elegant sometimes than nested dicts. If the python community agrees on the correct semantics for a defaultdict-like object with __getattr__ and __settattr__ implementations, it might be more elegant than the status-quo for ad-hoc objects: http://stackoverflow.com/questions/2827623/python-create-obj...
A Novel Approach For Computer Worm Control Using Decentralized Data Structures
Mutability and strictness aren't a disservice to Haskell. They're both considered to be things which are available as choices and should be taken when needed. In particular, the entire ST monad is all about mutability and is very well behaved.

Furthermore, even if you write nearly everything in the IO monad Haskell you'll gain a lot from the type system and from easily peeling out small, meaningful pure segments.
Does using a less commonly used function for its intended purpose make the code unidiomatic?
I think it's a mistake to consider a "clean" version of the human genome that "got polluted" along the way. We co-evolved with these other factors all together. Tinker at your own risk.
it's depressingly good at deployment though isn't it. there's nothing easier to "port". it's the write once run anywhere that's been promised so many times. i just don't feel like writing anything in it!

i don't think that this is a great article because there's a lot of bloat around the content to wade through and filter.
Thank you both for your insights
Did I say everything?

> Another SINTEF-originated project is the radio technology behind GSM (Global System for Mobile Communications). Digital GSM (or 2G), replaced the old 1G analogue networks.

http://theforeigner.no/pages/news/ways-norway-changed-the-wo...

> In February 1987, eight systems from five different countries – Germany, France, Sweden, Finland and Norway – were in the running for creating the new standard. Some competitors were backed by major companies, such as Bosch, Philips, Mobira (Nokia) and Ericsson. Eight cars were outfitted with equipment from each candidate system.*

> The systems would be driven around Paris and the system’s transmission capacity and ability to continuously correct errors would be measured in the city’s narrow, windy streets. The system that transmitted the most data with the fewest errors would win. At first, the international press did not think the Norwegian GSM contribution was likely to win. In September 1986, the journal Communications Systems Worldwide wrote:“Since ELAB is attached to a Technical institute and has no manufacturing capability, it would appear to have little chance of success.” However, when the test was finished, the conclusion was clear: The Norwegian system was best.

http://www.ntnu.no/gemini/2005-01e/gsm.htm

> All that was left was for a little known University based outfit from Norway to trundle around Paris with their lash-up of a narrow band TDMA system. The large industries hardly gave it a second thought. Then even bigger shock waves of seismic proportions emanated out of Paris. The Norwegian lash-up of a narrow band TDMA system from Trondheim University had outperformed the SEL wide band system from a star studded industrial consortium.

http://www.gsmhistory.com/chapter/chapter-10-the-technology-...
You think right.
> >When that happens, your body goes from it's fat burning mode (default state) to carb burning

> That is a complete misrepresentation of reality made by people pushing a fad diet.

What's your understanding that happens then?

>When those stores are full, then it stores the rest as fat.

>So? What do you think it does with fat?

For most people, it stores it as fat and does nothing because most people eat enough carbs (quick burning source of energy) to never have to switch to fat burning.
I just ran a few of my longer files through jslint.com and it looked like all the errors were related to me using two spaces for indentation instead of four, and some missing semicolons. But I don't know what sort of errors I should be expecting?
would you not have to do some 3g/4g jamming for this to actually work?
Maybe, depends.
Sisson ends up being fairly pragmatic. I really like the encouragement to do self-experiments to see what works for you. All dogma should be secondary to the results you see personally.
The story reads like a great example of how a war-time leader will obliterate a team if he fails to integrate. Despite all the initial good karma between Hughes, Foer, and other editors, Hughes and the team clashed badly whenever Hughes' personal network risked damage due to TNR issues (e.g. the leak about Amazon pulling ads). The article seems to set SV culture at odds with TNR, but I think there's a much more basic explanation for the tragedy here: Hughes failed to integrate himself. The very fact that Hughes felt it necessary to conceal the search for Foer's replacement is a red flag that Hughes had no reason to ignore himself.

For a war-time leader to have a fighting chance, he'll need to integrate himself and leverage the existing culture (and product). Regardless of how much spin this article may cast, there's plenty of undeniable evidence that Hughes failed to integrate. Hughes brought this failure upon himself.
You are asking an interesting question. What utility does it have to compare such large and diverse populations. Without further data like standard deviation of compared units this may be point-less.

It's also not just Europe. The USA is similarly non-uniform. Coasts and Bible-Belt differ significantly, arguably more that certain European countries.
OK. I accept much of what you say.

But it's perhaps not a coincidence that calculus and classical mechanics were invented at the same time in history - indeed, both were advanced significantly by the same person. Classical mechanics and calculus are two sides of the same coin.

Fundamental Theorem of Calculus: <=1670
Principia Mathematica: >=1687

So which order do you prefer to teach them?

In truth, HS math students do learn about differential equations, and easily have the capacity to apply them numerically. Some historical context and a little creativity in teaching could greatly help the understanding of both and benefit many students.
You know you sound like a condescending prick, right?

Client compromises happen a lot (I mentioned them too).

My point was "security of connection" != "security of service". But when user sees green padlock, they assume the latter.

This feels as though its caused by the conflation of Certificates (Identity), Encryption (SSL), and Privacy into one big ball we call: Valid HTTPS (aka. Green Padlock with your company name in the URL bar). Do these all have to be the same thing? Are Certificate Authorities really the answer?

Given Chrome (the browser) is run by a company that scrapes the internet every 3 seconds... can that not be used to verify content/server/etc?
is this a published paper? O_o
If the goal of using the less commonly used functions is performance, then it probably does.

I mean: it's not like the specific problem domain needed a "less commonly used function" (e.g. you need a function to do X, where X is something that you rarely need to perform).

Rather it's: "we need to code A, but we will use less commonly used functions instead of what we'd normally use for A, just to get more performance".

Plus, it's not like you merely exchange function f with g, while all other factors stay the same. The choice of those "less commonly used functions" also affects other aspects of the program's design (e.g. making it into a more imperative style, going for unsafe, opting for mutability, etc).

So the interesting question to call it idiomatic or not, for me, is:

"If ultimate performance wasn't a factor, would a Haskell programmer write this program in the same way?"
You summed up my thoughts about the language in a much better way than I could.
I didn't want to touch it ever (especially after seeing what a coworker got up to with it).
Then I built an interest in how to build something on Firefox OS and now I've come to really like it for some things.
I think that's not the best analogy. You're imagining a constant amount of mutations (artillery shells) spreading over the size of the genome (the beach). It doesn't quite work like that, which is why mutation rates are usually measured in errors per base pair per generation.

In fact, copying DNA is more like downloading a large file over an unreliable network. There's a certain chance that each individual bit is flipped and the file becomes useless. You can reduce that chance by sending it multiple times, or introducing checksums, both of which add redundant data. But simply adding an extra TB of junk bytes to your download won't help preserve the integrity of the original file.
> Nothing processed, whole foods only

> butter
> yogurt

Hmmm.
> So why and to whom is it vital to spy on these fax politicians whose international influence barely exceeds that of an American senator or governor or a member of a German Landtag?

Here's your answer.

http://www.nytimes.com/2014/09/07/us/politics/foreign-powers...
As was written above:

> Work-sample tests are also very good for hiring for specific jobs, and are grossly underused in hiring in the United States.
Glutenvrije pannenkoekjes zonder suiker, zuivel en eieren
One of the best things about the Python ecosystem is the acceptance and idealization of "Pythonic" solutions. While I acknowledge and praise the authors effort in making this complete and correct, the aim itself is misguided because it is grossly unpythonic. I reject it and hope it does not see significant use.