skysight-inc/HackerNews huggingface dataset:
Not knocking the guy at all but..

'Recently I needed a library to build query strings, just a small one so that I wouldn’t have to include jQuery just for that. After a couple of hours of research, I had found several candidates'

That right there is the problem, learn your language. You don't need to spend 2 hours looking through other peoples code to solve your (string!) problem. Learn the language and write it yourself, it's not 'rolling your own' when it's something so basic.
IANAL but the plain-English reading of the license is extremely straightforward: the license is void if the licensee engages in patent litigation against Facebook or React contributors.

That's narrow, clear and (IMO) sensible. This entire article is just pure misinformation.
I don't think there's much evidence that these fighter jets have destabilized the region further (there's plenty of instability as is) and the US has a very long history of providing advanced weapons to the Saudis — well before HRC came along. I don't think it is at all obvious that donations + arms deal = bribes for arms deal.
Actually no, it's not.
I think so. And related, I haven't seen a good way of managing abstractions in a way we do it with text. The dataflow paradigm feels a bit too weak for that (but maybe it's only my impression). With textual programming languages we're used to, there's - for better or worse - pretty much no upper limit for the stack of abstractions we can create.
What if I can solve all of my problems with a picture or a Video
I'm open to compromise. If we're willing to hold everyone involved to the same standards, I would consider if fair to have Snowden face a hearing.

However, that standard would also require numerous CIA agents to be tried and possibly hanged in Nürnberg-like trials, and for HRC to have a real possibility of 20-years-to-life in prison.
Pokemon Go and the traveling salesman problem
He violated policy and broke the law, but that doesn't mean he's done wrong.
> Well for one, the numbers don't work.

How not? If you're claiming that the numbers don't work, please explain how reducing expenditures on luxury services couldn't free up additional money for financial aid.

You're nitpicking. Obviously, by itself serving better food is not by itself exclusive evidence of "evil." Princeton serves better food than either Vassar or Bowdoin, but also does an even better job with financial aid.

I don't think Bowdoin is "immoral" any more than I think someone who only donates 20% of their income (vs. 30) is "immoral." The point is that, at the margin, spending a dollar on financial aid is more moral than spending a dollar on fantastic food.

The specifics of Bowdoin food vs. Vassar food really don't matter to me. The general point is totally valid though: spending on luxury services absolutely takes dollars away from financial aid.

In fact, the podcast actually got me thinking about whether the most moral thing would be for super-rich universities (ex. Princeton) to switch to need-aware admissions in reverse, with a goal of 100% of students qualifying for financial aid.
OK i will be that guy: wrong!

first, ddg has only a single source of data. and it's Microsoft bing. yahoo doesn't have any search and Google gave the middle finger to ddg.

ddg links to many sources. if you add !g you go to Google. if you add !i you go to Bing images. etc. but any search on ddg site is only Bing and nothing else.

lastly, and ironically, Yahoo is the only one still fighting for freedom online. i think it's one of the perks of being an underdog with lots of money. see how recently they were the first to publish several secret government data requests.
The more apt comparison, IMHO, is John Deutch, who did virtually the same thing, but was pardoned by Bill Clinton before his plea deal could be filed.
That would work as long as the author isn't seriously abusing reader macros in the serialized format :).
At the risk of sounding negative...

Only a complete idiot or crook would think Snowden's activities make him a spy. He is a hero. He risked his personal safety to expose the _criminal_ activities of the U.S. government. There is nothing more to the story than that.

So if you want to determine if someone is an idiot and/or crook, this question is a great test.
When you say he admitted doing "wrong", did he admit to actually making a moral transgression, or to just breaking the law?

Because if you're equating breaking the law per se with a moral transgression, I think you'll need to hunker down for a pretty tough debate.
This isn't about a defense. The problem is that those "select few" are supposed to be subject to the same laws as the rest of us.

When we see clear evidence that "rule of law" no longer applies, why should anybody respect the law?
I didn't say that cutting the quality of the food wouldn't "free up resources" that could go do financial aid. Did you go to Vassar or something? Are you going to ignore the various other point I made regarding the poor level of journalism here?

e.g. is it "nitpicking" to point out that Gladwell gave the two college vastly different levels of research and opportunity to address his concerns?

Direct quote from Gladwell. "The food at Bowdoin is actually a problem. A moral problem." I'm sorry I don't see the caveat he made about how this really wansn't his point.
Ask HN: Dad fell for tech support scam. How to help him several states away?
We already called his credit card company to dispute the charge and get a new credit card? It is a new computer that I helped him pick out. Somehow, he got on the phone with someone claiming to be from microsoft, gave them access to his computer. Would a full windows reinstall be enough to remove any software installed?
> the US has a very long history of providing advanced weapons to the Saudis

Well it was not always obvious that SA isn't exactly a US ally. On the contrary actually.

> I don't think it is at all obvious that donations + arms deal = bribes for arms deal.

So why exactly did they do it? There's a time table somewhere online which compares the dates of donation with dates of approval. Care to guess how quickly these things happened after one another?
I'll take your word for it then chief.
i can't think of use of 'if' in a math function; however, if is implicitly used in input, say 0<x<1, f(x)=x, 1<x<3, f(x)=x^2

i see a lot of loop though, summation is so a double integral is loop within loop. i can't think a code analogue with derivative

fta, i take that if in function body makes an ugly code.
There's first time for everything. I don't see anything in liberal democracies that would make them unable to wage a war. Not to mention that regimes change, and their names even more often. Today it's a democracy, tomorrow it gets called fascist, day after tomorrow it goes to war.
I thought we were talking about her handling of classified information?

Regardless, for better or worse Saudi Arabia is a US ally and we have a pretty long track record of selling arms to our allies. We sold the Saudis arms before HRC was in the State Department and we have continued to sell them arms after she left.
Analysis of ant colonies could improve network algorithms
This article seems to imply -- incorrectly -- that the Tor Project is funded only by the State Department and that, as a result, development would cease if that funding were cut.

Neither are true.
Here's one place: http://oalib.hlsresearch.com/Rays/

If you want to actually understand it, this book is pretty good IIRC: https://www.amazon.com/Computational-Acoustics-Modern-Signal...
I've just used this guy's services and he's a legit black hat hacker, he can handle social network hacks, emails and school grade hacks, he's actually the real deal, I was initially skeptical as I already got scammed before but he did come through, his email is Blackhat.hacksolutions@gmail.com
Considering tbeir R&D is relatively low, they do tremendous market research.
I think it is best for Snowden's cause that he stays in Russia looking down the barrel of a life sentence in a supermax. If he either ends up in Colorado or is pardoned then what the NSA was(is) doing will be quickly forgotten. Him staying in limbo keeps the issue in the public mind.
not 100% sure.. only that i have not changed what i do, and the only change I can think of is yahoo is now involved...
>> Is there a deeper link between logical programming and type theory?

There is: types are pattern that data must conform to (and operations also- so, data). To declare a value "x" as having the type "int" is to assert that "x" matches whatever pattern "int" stands for.

The connection to logic programming is that logic programming languages, certainly Prolog, are implemented as relational databases with a search procedure using pattern matching to find relations that conform to the pattern of a query. The pattern matching algorithm in Prolog is called unification: it's like the pattern matching in regular expressions, only Turing complete, so it can represent any program. In fact, Prolog programs are patterns representing themselves [1]. But let's not get too excited.

Prolog's pattern matching makes it indeed very convenient for representing types, even complex types and nested hierarchies of such. For example, Haskell uses something very similar to unification for its type inference system [2].

However- a word of caution. Doing simple type inference ish is not that complicated in Prolog (at least if you're doing it as an exercise- doing it industrial-strength would take a lot of effort). Doing something more complicated, like representing Hindley-Milner like in [3], is more of an undertaking, which is (partly) why Prolog itself doesn't have any types in the conventional sense. Then again predicates with implicitly universally quantified variables are themselves types, er, implicitly, so in a way each Prolog program declares its own type system exactly matching itself.

See [4] for a discussion of logic progamming, types and category theory (I'm not affiliated with the author in any way).

_______________

[1] https://en.wikipedia.org/wiki/Homoiconicity#Homoiconicity_in...

[2] https://wiki.haskell.org/Type_inference

[3] http://www.swi-prolog.org/pack/list?p=type_check

[4] http://www.drdobbs.com/what-might-category-theory-do-for-art...
It's a moral problem to spend marginal dollars on food rather than financial aid. Do you disagree?

I do agree that it was sloppy of him to not include an interview with financial aid people from Bowdoin. I actually would be interested to hear them explain why they have higher indebtedness than Vassar.

> I didn't say that cutting the quality of the food wouldn't "free up resources" that could go do financial aid. Did you go to Vassar or something?

No, I actually went to the horrible NYU (on a full ride, though). I just feel strongly that aggressively offering outreach and financial aid to low-income students is one of the primary moral responsibilities for elite universities.
No he isn't, the trade deals which allowed near slave labor in SE Asia and exploiting for natural resources in Africa (by foreign actors) is from the same economic doctrine that allows sweatshops in Mexico (NAFTA) and will be the same ideology that passes TPP.
But, that's okay. Throughout history they have had hits and misses. It doesn't change that this is their approach for how to be successful.
That's not entirely true. When I was uninsured, I was able to negotiate significant cash discounts with many out-patient providers. They had a very good idea what the overhead of billing an insurance provider was and were willing to lop that off their charge.

Where it gets tricky is with in-patient care. There I would agree that it's more like representing yourself in court.
Slagging off RMS is tedious. In this case there appears to be nothing remotely objectionable about what he is saying. If there is an objection to the issue raised it should be stated. Forcing references to others things he has said just comes off as a diversionary tactic to derail the thread.

Like RMS I am suprised at the effort being put to censor something so trivial raising questions about far more important matters.

Is there any way to decipher the kind of things being censored, is there any system maintained or transparency disclosing broadly the orders received and the censorship operational? This is a slippery slope that we seem to be well into.
The Russians will wait until the right moment to leak them. Maybe a week or two before the election.
We are talking about her character. She does not fundamentally care about anyone's interests besides her own.

SA is an US ally maybe on paper. Remind me, from what country were most of the 9/11 hijackers? Do you think that this is a coincidence?
Nice propaganda.

Hillary's intentions were in no way to break the law. That was very clearly declared false by the FBI.
Not before Putin's regime disappear or unless Snowden himself start to become danger. I don't believe Putin will trade him under any circumstances. More likely you'll see Crimea traded.

Asylum for Snowden it's wasn't just foreign policy act, but more act for Russian elites: we provided asylum for almost #1 on US list and we he is safe. Whole regime built on rule that any loyal person in elites is safe no matter if he's murderer, pedophile or any other kind of criminal.

Just think about Magnitsky case. It's was just a bunch of criminals who wasn't even part of Russian elite, but Putin didn't betrayed them even after it was clear that would cause significantly damage to whole county economy.

So giving Snowden would sent signal to elites that they and their capitals no longer safe. It's would be deathly for regime.
I think it's a little absurd to say she only cares for herself. Despite the megalomania that I assume all presidents have to have, I doubt they are in it solely for themselves. Well, maybe Trump, but he's pretty open about it.

I do, however, believe she thinks she's above the law, and so far it seems she's right.
> So why exactly did they do it? There's a time table somewhere online which compares the dates of donation with dates of approval. Care to guess how quickly these things happened after one another?

Because we don't have many friends in the Middle East and we desperately want some help combatting IS. It's not rocket science. We have sold arms to Saudi Arabia for generations. For example, Reagan approved a large deal in the early 1980s:

https://en.wikipedia.org/wiki/US%E2%80%93Saudi_Arabia_AWACS_...
What I mean is transforming I-frames into equivalent P-frames (or even B-frames) that decode to the exact same pixels. The transformation might result in something that is bigger than a directly encoded P-frame (which can tolerate some small errors) but I suspect the new P-frame will be smaller than the original I-frame.

There is no restriction that P/B-frames only reference I-frames, so you don't even need to touch those frames.

For conversion back to MPEG2 it would be ideal to detect or mark the original I-Frames, so you can convert them back (a simpler transformation). But you could also pick any random P/B-frame and convert it to an I-frame with little issue.
I agree but I will correct you in that Snowden made it clear many times his intentions were for the public to know and have a conversation about the mass surveillance not that it should necessarily stop.
Why the donations then? Why is SA not really doing much about ISIS then?

Also lol at bringing up Reagan. Does Iran Contra right a bell?
20 percent of it is 80 percent recursive
I'm an artist - though not well known or anything, nor do I sell often or anything. I do post in a few places online, however. And I have everything backed up, on my computer and an external hard drive. My work isn't digital, so I have that. not all do.

It isn't what we should expect from google, but it still stands that the artist shouldnt have relied on simply one thing to keep his stuff safe. Accidents happen places, perfectly reasonable (albeit unfortunate) ones. This is the main reason for having backups. The fact that the guy didn't have some of this already in place is, indeed, his fault. It is unfortunate that there is little to no human interface.

The interrupt to his interaction with fans/customers is more unfortunate - that is more difficult to replace. However, if he had another website or public communication form, Some of these folks would look him up. The main problem with this seems to be the sort of art he produced, which wasn't welcome on all platforms.
Cyberpower crushes coup
If most people open the emails right away, that’s a signal to Mailchimp that the user isn’t spamming their list.

How do they know if you open the email (aren't third party images etc specifically blocked or cached for this reason)?
In this case, the weird DDG fanboyism that's so popular on HN is also a big factor.
One way to make sure this does not happen is for him to apply for Russian citizenship - extraditing a Russian citizen is forbidden by the constitution.

I'm sure it is not something he really wants to do, but it's not like his US citizenship does much for him now anyway.
This is almost literally how they are marketing their product: https://www.cloudflare.com/overview/

Either you invest effort into security anyway and you don't need CloudFlare, or you don't invest effort into security and CloudFlare won't save you either. In neither case is CloudFlare the solution.
This is what intent to break the law looks like:

http://i.imgur.com/NneHu1w.jpg

I don't know what the right answer is here, but I am certain that I don't find incompetence a better excuse than malfeasance.
Then why would you use CloudFlare at all? You already have TLS.
True. Petraeus and Clapper pretty much sealed that deal. I mean, we already knew those with money and power were treated differently, it just happened in the dark, usually.

The financial collapse, Clapper lying to Congress, and the Petraeus scandal (and subsequent zero punishment for any of the three) made it clear public knowledge and brought it out of the shadows into the light of day.
Someone found a hammer, and now everything looks like thumbs
Lots of math functions are defined with 'if' -- the absolute value, the Heaviside step function, etc.
> Both CC and open-source software use the framework of existing copyright law to guarantee a "fair" use of works, with only few restrictions. Not without any restrictions.

You said it much better than I ever could :). And that's why I used the comparison to the GPL, especially since that has a history of the FSF going to court over violations.
In the evidence they found, they couldn't find sufficient intent that she intended to violate the law to suggest persecution to the DA. That's quite different than what you stated and what you posit the FBI stated. Basically the FBI wasn't a mind reader and there wasn't an email that said "hey we should do this to circumvent the foia"
Also, if he did violate the terms I'm not sure why he would think it would be a good idea to sue.
"It's a moral problem to spend marginal dollars on food rather than financial aid. Do you disagree?"

Of course I don't agree. At what point do you determine that you've gone far enough, with the above stated principle? It's a bankrupt line of reasoning, based on the reduction of a budget with thousands of line items to dumbed-down sound bytes. Does it even bother you that you have mentioned no rational basis for drawing the line anywhere?
What are you talking about? How is it ambiguous?
Blogs, Papers, Plagiarism and Bitcoin
> there's no user data being passed around only articles of mine

That's not quite true. The sensitive data that is getting passed around in this case isn't your articles, but who is reading them.

> besides you being paranoid that Cloudflare will tamper with data passing through them. Evidence?

Why would this require evidence? It's a threat, plain and simple. Threat modeling isn't based on evidence, it's based on assuming the worst-case realistic scenario, because overestimating is less harmful than underestimating.
> If there is no patent rider then there is an implicit grant which cannot be revoked.

That contradicts everything I've ever heard on the subject. Can you cite any legal precedent?
When I read things like "anti-if" I recall this brilliant illustration that I saw several years ago - http://blog.crisp.se/henrikkniberg/images/ToolWrongVsWrongTo...
Do you mind providing an example of possible tests that may be run?
Just use Ramda, it's a utility library that "gets the argument order correct", and supports currying and other nice FP concepts.

http://ramdajs.com/

http://fr.umio.us/why-ramda/
I imagine that SA donated to be seen as a player on the world stage, much like everyone else. The US is the largest arms exporter in the world by far, you don't have to grease the wheels to be able to purchase our weapons.
The method whose to_string method you want to reference isn't in scope. You need a function that calls the method on the argument it's called with.

Why add a feature for this - worse syntax, if you can just use an anonymous function?

Rust is already not the simplest of languages, adding further syntax and features of questionable benefit won't make the language any simpler or easier to understand.
>first, ddg has only a single source of data. and it's Microsoft bing. yahoo doesn't have any search

Duckduckgo has a partnership with Yahoo

https://duck.co/help/company/yahoo-partnership

Wikipedia also states that DuckDuckGo returns search results using data from Yahoo among other providers

https://en.wikipedia.org/wiki/DuckDuckGo

Edit: You can view all of DuckDuckGo's sources right here. Yahoo is included.

https://duck.co/help/results/sources
What would they get out of that? Not a Trump presidency.
The FBI was very clear: it "found no evidence that any of the additional work-related e-mails were intentionally deleted in an effort to conceal them."

That's not at all what you're saying. The FBI isn't full of psychics, and has no ability to detect intention or read emails that have been permanently deleted.
The article covers the fact that while you can in a literal sense setup your own mail server, the mechanisms used internet wide to curb spam (the reputation systems) will penalize you for doing so as compared to using an ESP like Mailchimp.
> Leaking classified material was sacrilege in Washington

Umm, more like it was standard operating procedure. How else do you think all the anonymously sourced articles in the NYT/WaPo/WSJ happen?
I agree wholeheartedly. I think the boolean blindness concept that's in the background of this article is incredibly important. But if you're going to propose an actual concrete solution, you need to assess whether it will be right all of the time, most of the time, or situationally (edit: and any of those answers is ok--it's fine to have a pattern that sometimes works if its presented as such). That requires looking at the ways it can go wrong. And this article just didn't do that.
So ... first whiteboard hazing, then unsolved problems. What's next to get a job writing CRUD apps?
So in Gmail's case, Gmail does cache the image. But.. every email goes out with a slightly different open graphic URL, and Gmail only fetches the image when the user actually opens the email, so the open is still tracked. Further opens by the same user are not tracked, however.
AWS SES is equivalent in terms of delivery compared to Mailchimp at least in my tests of both services. I couldn't see a difference. AWS SES is 10x cheaper or more than MailChimp though.

MailChimp does have a nice WYSIWYG editor that SES is missing. But I can not justify paying many thousands a year extra just for a nice WYSIWYG editor.
Yes, most likely a full HDD wipe would suffice.

I'd do a quick google on the make/model/OS of the system to see if it ships with a restore volume. If not, walk him through the DVD restore.
Snowden's leaks covered far more then just spying on Americans, and did give secret information about legitimate NSA programs. Saying they didn't is just not understanding the full extent of what he leaked.