skysight-inc/HackerNews huggingface dataset:
> Of course, given the collective ingenuity of the cartel’s engineers and scientists, it should have been possible to design a lightbulb that was both bright and long-lived.

And not energy efficient.

The article lightly touches on it, but the physical reality is that the better the electrical efficiency the less time the bulb lasts.

It's a tradeoff that has not changed in 100 years.

So yes, the cartel did mandate 1,000 hours - but they also saved untold amounts of electricity over then next 100 years.
eBay front end design patterns – MIND
I'm a big fan of the philosophy that "Every literal in a program is a bug." :)

But I know what you're getting at! Personally, I'm a fan of programming with units and dimensions, and safely representing the distinction between absolute quantities and relative quantities.

That doesn't mean I'd want an infinite number of "float" values for all possible units and dimensions, however; just a powerful enough type system I can give myself some help at compile-time for properly threading sensical values through my programs.
The fact that no one in the history of the US government has gone as far to cover up their tracks.
How does using if statements make it easier to introduce locale sensitive computation? A locale should be represented in the arguments or as a transformation, very similar to what the article is doing.
Except neither of those things is "free".
You're confusing the colloquial and legal definitions. Snowden knowingly and proactively committed an illegal act. Even if he thought he was morally justified, his action was deliberate and intentional. Hillary committed an act of negligence. From a legal standpoint, she had no criminal intent and Snowden absolutely did.
That helps quite a lot, although for several, it's more programming-by-name than programming-by-semantics.

I'd like to be able to say the end angle has to be less than the start angle, that the unit has to be radians (AKA unit-less :), the unit of radius & that negative values are sensical, and so forth; and have all these properties checked by a compiler.

Which I can do in some modern languages, surprisingly. :)
Hilary may have gotten special treatment. I'm not convinced that's a bad thing. There are serious Constitutional concerns about the sitting administration prosecuting the presumptive next President. It's not a precedent we want to set.
From the Wikipedia entry for Daniel Ellsberg (who leaked the Pentagon Papers).

"Ellsberg was silenced before he could begin. According to Ellsberg, his "lawyer, exasperated, said he 'had never heard of a case where a defendant was not permitted to tell the jury why he did what he did.' The judge responded: well, you're hearing one now. And so it has been with every subsequent whistleblower under indictment".[21]"
Good point, programming is much about communicating not only with the machine but with other people. Writing serially executable code is a bit like explaining to others and yourself what you are doing there. If instead we have a "wire-frame" of a program it presumably naturally calls for some kind of explanation. Explanations need to be textual because humans communicate textually. Humans prefer to give each other instructions textually, not as graphs, because less interpretation is needed with strictly serial text.

Visual programs are a bit like if you were presented a program which needs to be read from bottom up right to left. Would that be somehow easier to understand? Visual language presumably can combine both left-to-right and right-to-left and up-down and bottom-up interpretations. While it's possible that such model would be more expressive than conventional programs, that is not certain to be so from the outset.
FP and particularly the Haskell community is very aware of the expression problem and you can find many blog posts and papers on solutions.
That's why not everyone's a functional programmer. :)
> Polluting npm with dozen of one-liner is not a good idea (never forget left-pad)

The size or scope of left-pad wasn't the issue, the ability to unpublish modules which were depended on was [1]

http://blog.npmjs.org/post/141905368000/changes-to-npms-unpu...
Comic book about hidden disability symbol gets helping hand from Twitter
Rust is particularly good at it. It makes bugs finding easier as language forces good habits and eliminates whole classes of bugs, tests are easy to add and check, ecosystem has established ways of dealing with CIs, reviews, good autoformatting tools, there's `clippy` for good style, etc.
same topic: https://news.ycombinator.com/item?id=12108158
C++ in your browser today? Check. [1]

C++ in your browser tomorrow? Check. [2]

[1] http://kripken.github.io/emscripten-site/

[2] https://github.com/WebAssembly/design/blob/master/CAndC++.md
Yeah, I think because I've heard it shortened to just Bosnia I assumed it was two places. Thanks for correcting me on that.
Hot spot: Is Tokyo finally going wireless?
Scott Aaronson's blog and his lectures notes at MIT. His book "Quantum Computing since Democritus" is quite great as well, no matter whether you are a researcher or just a layman.

If you want to delve deeper in the Quantum Physics side of things try "Quantum Computation and Quantum Information" by Nielsen and Chuang (PhD level textbook).
Special treatment IS a bad thing. Running for president doesn't exonerate you from a felony.
Do you have any advice on websites that generate a decent amount of traffic and email subscribers but are not generating any revenue? I have a website exactly like that but I have no idea what to do with it, and was actually playing with the idea of selling the email list. Would appreciate any advice!
This startup wants you to pay at stores using just your fingerprints
Another alternative is "table-oriented programming", where you define the "classes" and "methods" as an m-by-n structure of code pointers; to add either "methods" or "classes", you would just add a new row/column to the table along with the appropriate code definitions.

and because "expression problem" is not a very catchy name.

It's also not particularly descriptive either, but the page mentions that it's a form of "cross-cutting concern", to which the table-oriented approach basically says "do not explicitly separate the concerns."

(More discussion and an article on that approach here: https://news.ycombinator.com/item?id=9406815 )

As a bit of a fun fact, doing table-oriented stuff in C is one of the few actual uses for a triple-indirection. :-)
Bursting the chatbot bubble
I suggest you read up on stuff like the European Coal and Steel Community and the Schuman Declaration.

Some of their implicit goals were harmonising French and German interests so they wouldn't want to go to war again.
Could you go into detail about how you are technically advanced relative to your competition?

Would be curious to hear what that entails / differentiates you from other investment firms in the same space. The alternative data space taking off among hedge funds is pretty interesting, and I'd be interested to hear how a real estate fund approaches it.
Maybe, IANAL but the article seems presumptuous since neither the executive branch nor legislature have or control courts. Warrants are not needed to search a car either, but a data center is not a car.
Another advantage of pattern matching is extensibility.

Suppose you wish to add a new branch case. Under the traditional if/else (or switch) model, you'd need to modify the function containing the if statements. With pattern matching, you simply introduce a new function; it decentralizes the change and acts as a sort of simple, intuitive polymorphism.
This is not to excuse Clinton's email policy.

Let's agree that Clinton ran a private email server and it had a high risk of being compromised.

Let's agree that Clinton turned over a subset of the emails when it was requested, under the grounds that those were personal emails which aren't related to her actions as secretary of state. Let's agree that there is no clear boundary where to draw that line, so people will argue in good faith that the line was drawn in the wrong spot.

Now, let's imagine that instead of the above scenario, not just Clinton but most of the white house positions including the secretary of state used the DNC email server explicitly to avoid freedom of information act requests. Imagine that when this came to light, the Obama administration claimed to have lost over 5 million emails. When asked to produce the backup tapes, they said, shoot! The backup tapes are corrupted.

Do you agree that that scenario would have been far worse? And how many investigations and calls for impeachment would have happened by now? How many special committees would have called?

Well, the above isn't a hypothetical. The previous administration did exactly what I described, except that they used the RNC mail server of course. All the people who are outraged (outraged!) and think that Clinton committed what amounts to an act of treason didn't say a peep back then. And unlike the perpetual train of special investigations that are brandished for political ends, that whole affair didn't result garner even one tenth the amount of press Hillary has.

Let me be clear: I'm not saying what Hillary did was OK. I'm saying that if the previous administration did something far worse and nobody got body slammed for it, why would you be surprised that Clinton got off the hook too?

You should also read the juicy contents of the Secretary of State's emails. The vast majority were of the form "Can you contact so and so and see if we can put off the meeting until later." There are very few truly top secret things that crossed her desk.
In traditional harmony something is considered "dissonant" if it's not part of the root triad in root inversion. All such chords are unstable, the theory goes, and must eventually resolve to some tonic chord. Classical harmony sticks almost exclusively to diatonic intervals, triads, and sevenths, and uses inversions and juxtaposition of chords (in sequence, via 'suspension', and so on) to provide "dissonance".

This isn't the kind of dissonant the OP is talking about. I'd be very surprised if you can come up with a clashing jumble like a Dom7#11 in Bach, even as a suspension or pedal. Cluster chords in classical music are almost unheard of.
I think pattern matching is fine, I don't see how it is still "boolean". The additional techniques shown are interesting, but heavy abstractions that should not be prescribed in general.
There are no available quantum devices and there won't be any for the next few years for sure.

Liquid is meant for simulations. Sure, you can run the same operations on the currently available research hardware (which is definitely not going to do anything useful, because the hardware "decoheres" way too fast).

And the notation that you use does not matter much - any program that you will try to run today would be so short and the hardware so experimental, that writing the control sequences by hand for the specific hardware would be the easiest part of the exercise.
I had a hard time as well - the moving image was very distracting, I had to cover it to try to concentrate on what the text was saying.
> Although Saudi Arabia is widely believed to be a US ally, and the US government reports that they are, it is well-known among the cabinet that they are not.

Do you know what Wahhabism is? Do you know who's the biggest financial supporter of Wahhabism in the Middle East?

> It is further well-known among the cabinet that they are such bad allies that they as a state were responsible for the greatest act of war on US soil since Pearl Harbor.

Responsibility takes many forms. But yes, they are at least partially responsible. Google around.

> Hillary Clinton is so corrupt that she will use her office to sell warplanes to a country whose relationship with the US is in truth the same as Japan's in the early 1940s, and in appearance a friend.

It's the same mind set as say BP.

> Somehow, despite being known to Clinton, this information is lost on the previous and future Secretaries of State, who sell warplanes to this country because they are deceived by the pretense that they are allies.

The situation wasn't always like this. Furthermore, if you can provide some data on what weapons were exactly sold under the previous heads of state, that would be useful.

* However, it is not lost on the general public, because you have figured it out.

Google around. All of the things I'm saying were reported in reputable news sources.

* Clinton entered office with the intention to be corrupt, and chose to use a private email server to hide all of her emails from the rest of the government.

Well, she's been in politics for a while and she wasn't exactly not corrupt for most of her career so she didn't "enter" the office with the intention. She was always corrupt.

* As part of that, she told the rest of her government to email her private email server, and never set up a state.gov email address.

Idk how this is related? The rest of her gov't would use whatever email she provided them with?

* However, she failed to remember that records of donations to the Clinton Foundation were public, and records of who the US sells military aircraft to are also public, thereby allowing a newspaper to notice the deals via public data and not via her email records.

No, she's counting on the public not paying attention. Same as with Wall street speeches. Has she released those yet btw? It's a rhetorical question.

> So, we have to imagine not only that she's corrupt, but that she is a traitor of the highest order (she's supporting a country that's secretly at war with her own) and also a complete idiot, and also that the previous and next Secretaries of State are complete idiots in a different way (but in the same way as each other). That's a much larger charge than "she has bad character".

I think that traitor's motivation is causing damage. Her motivation is self-interest and she doesn't care about the means.
Surprised this article, and the researchers interviewed, don't highlight contagious agents as a possibility.

There's a strong case that Toxoplasma gondii, a communicable parasite, can contribute to schizophrenia or other mental illnesses:

http://www.cbsnews.com/news/cat-parasite-toxoplasma-gondii-l...

Other viruses have been posited as contributors to mental illness, and there's a relationship between schizophrenia and season-of-birth that may indicate prenatal/youthful infection with some otherwise mild seasonal illness (like flu) might increase the risk of schizophrenia later.
The irony I find in this depiction is the "hot new" stuff in today's ecosystem is very often stuff that's already existed for 2-3 decades in some less trendy form, given a new brand identity (complete with cookie-cutter .io website), and grows a Twitter & conference clique around it as though it's being discovered for the first time.

"Reactive", "Streams", "Containers", "NoSQL", "Big Data", "Blockchain", the list goes on. I work, or have recently worked, in each of those problem domains to a non-trivial extent, so I'm absolutely no stranger to the leading edge of the marketplace, but I still find it amusing how gaga people get over the new branding, and I'm even more amused how indignant people get when you show them work from 15-20 years ago that was materially similar under the "hot new" brand name it had back then.

Sure the show might be new to a lot of people, but to a lot of other people it's just re-runs that have been in syndication for a long time with tired plot devices and predictable story arcs.

Reluctance to jump on the bandwagon may very well be rooted in the scar tissue built up the last time around, not purely reticence to try something new. They may just be withholding their enthusiasm until they try can something actually new.
Christianity is 72% in the EU according to Wikipedia [1], it's really high. Even if the figures are wrong or have changes, I'm willing to bet it's above 60% regardless. Makes me wonder about where you live?

What do you mean by "I hope you are not all talk and are yourself giving money to other religious entities."? I don't agree with religion in general, but I think the way forwards is to embrace it and it's cultures in order to move forwards.

[1] https://en.wikipedia.org/wiki/Religion_in_the_European_Union
Prosecution by the executive of successors (or other branches of government) raises an existential threat to the republic. It's far more important to ensure succession cannot be questioned than it is to punish every felony.
> Today, with more than one billion websites across the globe

Huh, what? There are estimated to be more than a trillion sites out there, from what I've read.
>Perhaps Facebook should buy and integrate something like OkCupid. A data-centric approach to matching, combined with the largest data set (albeit, not tailored for OkCupid..) seems like a very interesting prospect.

OKCupid has already been bought by the company that owns Tinder and Match.com (unfortunately). This was a year or two ago I think.
Exponential time complexity in the Swift type checker
I'm thinking of using Material Design Lite for my next project https://github.com/google/material-design-lite
MacDBG: C and Python debugging framework for macOS
Here's the thing: This startup wants to change users' financial behavior and it's hard, if not, impossible.
first thing when logging into new server: place /etc under git.
then loss of cron files (or any config file) is easily recovered from.
MacHeap: OS X malloc introspection tool
I got so disappointed with ddg when I discovered it's just a wrapper around Bing. With privacy-related AdBlock filters I get the best of both worlds, Google and no tracking. The world needs a non-US based alternate crawler but no one is offering it.
It's an analogy, not a comparison. Do you seriously not understand the difference?
Because repeated "|x| x" is a common noise pattern.
Running Agile Scrum on Our Relationship
That's not surprising, the lower the efficiency of the bulb the longer it lasts. I bet the filament is very large, so each piece of it is not very hot.
There's also Apache NiFi
Seriously, while I entertain the possibility of voting for Hillary, I still think the fact she's running for President shouldn't exempt her from the law.

Of course, that brings up the question - was she really breaking the law? Were others before her doing the same?
True -- I tried it when I came out but I can't see myself going back. I appreciate the artist-focused approach to the platform and the focus on radio, but I had to have a phone replaced because of the app when it was initially launched (it caused the phone to heat up to the point the battery was damaged and Apple replaced it).
This is an article about web censorship, not The National Enquirer. RMS does, in fact, mention one of the names involved, but only when it is relevant to the matter of censorship.
Python based Image-Crawler
Breaking the law requires intent or gross negligence, and the FBI said there was no evidence of either (gross negligence being a higher standard than "extreme carelessness").
The point of making a comment is not showing off your knowledge, it's being useful to the reader.

You comment was not useful (or at least not as useful as it could be).

Put in more effort next time - a comment is written once, but read many times.
The tradeoff is that techniques like multimethods significantly weaken the contract that people normally expect from methods/classes.

For example, if I'm writing a normal Java class, I know where I go to find methods dealing specifically with instances Foo (namely Foo and its children and direct users); with multimethods, it's more likely that there is some multimethod out there in an unrelated class that looks for instances of Foo.
Tiny robot dog: how can I love a thing so dumb?
It wasn't like that a few months ago.

I think that, in the time since RMS wrote that article, someone has quietly given up on trying to enforce the censorship order.
Waiting for one minute to test is not productive at all.

You could simply find something else to do for a minute, like rechecking that the other pieces of the system are setup correctly as well.
This was explained in the article. If some results for keywords "A B C D" do not exist in the results for keywords "A B C", then you know these results have been censored.
>I imagine that eventually Snowden will wind up serving a life sentence in the underground supermax facility in Florence, Colorado whether he comes voluntarily or not - Russia will eventually use him as a bargaining chip in some trade negotiation, and that will be the end of him. I think it's wrong, but that outcome is almost inevitable at some point.

That's a complete fantasy. Snowden will never be used as a bargaining chip. It would send a terrible message to people who are currently spying for Russia and might have to escape to Russia at some point (and I'm not saying that Snowden is a Russian spy.)

Don't you think that US already offered Russia a ton of deals for Snowden? They turned them down because it would severely damage Russia's reputation. It's really a non-starter. Diplomats won't even waste time trying to negotiate extradition anymore because it's pointless.

Another refrain that I hear is "if Putin is deposed and a new West-friendly government is installed, they will extradite Snowden". Again, zero chance of that happening. Even if new Russian gov becomes best friends with US, Snowden will not be extradited for the same reasons explained above.

And by the way, if the roles were reversed and some Russian leaker managed to escape to the US, there would be exactly zero chance that US would ever extradite them back to Russia. That's why Russia will never extradite him either.

>Obama will not pardon him, and I don't think either of the presumptive presidential nominees are big Snowden fans.

I completely agree with this point. There's about 1-5% chance that Obama will pardon him. Obama has prosecuted more leakers than anyone else in history. Also, pardoning Snowden would send a horrible message to potential future 'Snowdens'. Whole intelligence community would revolt if he was to get a presidential pardon.

>and he will eventually pay for that damage with his life.

Again, extremely low chance of that happening. US and Russia have a gentleman's agreement that they will not kill each others' spies and traitors who escaped.

If Snowden is ever offered a deal by DoJ, it will have to involve jail time. Say they offer him 5 years in a low-security prison, would he take it? Of course not. He is with his common law wife and will probably end up having children. A deal that hinges on him spending years in prison is not something he will ever take.

Gen Hayden believes that Snowden will forever remain in Russia and when he dies, it will be of natural causes or old age. I completely agree with him. Snowden will never set foot on US soil again.
I would argue that her circumvently the freedom of information laws has illegal intent. Government documents must be oreserved, and she weaseled around that.

Politions' actions should be transparent, at least in a better world.
It wasn't like that a few months ago. I think that, in the time between RMS's article and now, someone has quietly given up on enforcing the censorship order.
> Planned obsolescence would be changing the base on the lamp every few years so that people would have to buy new fixtures when they can't buy replacement bulbs anymore.

Have you bought a light fixture recently? That sounds like the new state of affairs. Aided by government regulations that require new lamps not be able to accept older "inefficient" bulbs, there's been an explosion in the variety of sockets.

I've converted every lamp in my apartment to LED except for one, because it uses a GU24 base that is very difficult to find in anything other than CFL.
Right, the former is what I meant. Whether something is "wrong" or not depends upon one's beliefs, of course. I should have been more clear.
Yeah, sorry. He admitted to violating policy and the law. Whether what he did was "wrong" or not depends upon one's own beliefs.