skysight-inc/HackerNews huggingface dataset:
There has never shown any evidence about the state of Russia being involved in these hacks. Diplomats would choose their words wisely but media writers whatever their readers want. . It's fake news to one side, and truth serum to another. Repeat other way around...
>What I wonder is whether the leftward-leaning political party abandoned working people, or vice versa. In my state, that party has consistently fought for unions, safety net, employment, education, you name it.

... and immigration, both legal and illegal. To have both a robust safety net and also unrestricted immigration is to turn poor people into wards of the state, and they know it. It shouldn't be any surprise this is rejected by the working class, which after all would prefer to be the working class and not the lay-about-the-house-and-collect-benefits class.
Mutation could cause bugs, but so can logic mistakes cause bugs.
deleted, misread code
> and it shouldn't render us mute when we are victims of it.

so we should do it [hack other countries' elections] and then be pissed when it happens to us ?
Mind as an emergent self-organizing process
Thanks for that link, interesting reading for sure
Given how much the US messes about with itself and the rest of the world when the Government is supposed to have been elected fairly, I shudder when I think of the impact on the world when the elections have been unfair and rigged.

I am appalled at how candidates from the same party - e.g. Hillary and Sanders, Hillary and Obama, Trump and who-ever - first criticise each other a lot, raking muck, raising FUD, casting aspersions, indulge in a lot of rabble-rousing - just to win some popularity contest. If the candidates stoop so low for their own party, then how much lower they must stoop to "defeat" the candidates of the opposing parties.

The world has been seeing regular evidence of how easy it is to tamper with the voting machines, with the votes, and what-not. Does this call for a special situation where the elections are held again but with such concerns addressed?

Otherwise, this farce of elections would simply continue, and the world would continue to be in a worse situation.
Right, but your licensing is per user per year. I add 50 NEW users in a month. Each of them use the product for about 20 minutes, but I believe I would need to license them for an entire year.
regardless of how it's done, it's still being done. and that data is being handed over to governments.

If the ends are a problem, the means are irrelevant.
Or

sum(filter (lambda line: line == "a", lines)) * 2
So I have noticed FB recommend people that all attended the same party that I have no previous relationship to.

It was more people than I'd assume would look me up or be able to spell my name, so quite weird. I didn't assume a mic situation, I assumed the app can read SSIDs or something similar. I don't allow FB to use location services, so either they buy my location from Waze and link it back to my FB ID somehow or the SSID thing. I could see it being technically feasible to sample audio on multiple devices to see who's in the same location, something like Shazam and less for actual content analysis.

Nonetheless it is scary. Imagine you were gay in 95% of the countries in the world. Or Muslim in the US. Or Palestinian in Israel. Or Uyghur in China. Just being in the same vicinity as others in your community establishes a network ready to catalog and analyze.

It's more than FB though.
I could imagine the above being expressed very concisely and elegantly in a language like Haskell:

f = sum $ map (\x -> if x == 'a' then 2 else 0)

I tend to think that as the accumulation condition gets more complicated, the for loop begins to be the clearer choice, but of course there's always a way to simplify into a number of map steps. This can lead to a bunch of allocation overhead for the intermediate lists unless iterators are used in languages where those are supported.

EDIT: Whoops, read and replied on mobile, missed the parseLine() call :/

EDIT EDIT: Looks like my code matched the parent as of when I read it, before the edit. wyager is correct that I messed up my point-free syntax
Wow, how well put. It is appalling that citizens are scared of the dirty laundry that might come out, and are instead prepared to look the other way :(
I misread the comment. I'm incorrect here.
Did you mean special relativity? Or is there some limited way in which you can quantize general relativity?
Who suggested waiting, in any shape or form?
Are you talking about the semiclassical approximation when talking about quantized GM?
Thanks for the reply stephenr. Why is it meaningless to an email client and why would the rules be different for an email client versus a traditional web page?
The primary reason I moved things off GitHub was to self-host. If I wanted someone else to host it I would probably go back to GitHub.
> You don't have any idea what evidence Obama is privy to.

While I agree with you, I'm also reminded of how all the war triggered by "discoveries of weapons of mass destruction" started. That war only resulted in lots of casualties across the Middle East and of a lot of American soldiers, while Bush and others have got away having to answer to nobody about their lies.
I will pay $1,000 to anyone who is able to provide conclusive evidence of Facebook targeting advertising based on listening to all conversations.

It's an easily testable hypothesis which is blatantly false. If Facebook had an always-on phone recording, people's data limits would be swiftly used up. There are tons of alternative explanations.
Each minute writing deserves at least two minutes deleting.
Nice this is great. The original npm search was super frustrating. Typically it involved a process of searching for keywords and then opening up dozens of tabs and finding the package that solved my need, looking at GitHub stars, and verifying it was actively maintained.
Censorship on Social Media: 2016 in Review
Defending Student Data from Classrooms to the Cloud: 2016 in Review
Does "Hot Hand" mean something different to statisticians than then sport's participants? I ask because I'm seeing code in the article's comments that doesn't correspond to what I would think is the definition.
It was really, really uncannily related to what we'd been talking about and a friend that I don't see updates from that often.
>If Facebook had an always-on phone recording, people's data limits would be swiftly used up.

Not if they were converted to text with the phone before they were sent.
This is the feature that is where it all started[1]

> If you don’t turn it on, we won’t use your microphone to try and match TV or music when you write a status update. If you do choose to turn it on and later decide it’s not for you, you can easily turn it off at any time.

> Fact: Nope, no matter how interesting your conversation, this feature does not store sound or recordings. Facebook isn’t listening to or storing your conversations.

> Here’s how it works: if you choose to turn the feature on, when you write a status update, the app converts any sound into an audio fingerprint on your phone. This fingerprint is sent to our servers to try and match it against our database of audio and TV fingerprints. By design, we do not store fingerprints from your device for any amount of time. And in any event, the fingerprints can’t be reversed into the original audio because they don’t contain enough information.

The app does fingerprint the audio and send it to their server to match a movie or audio. But they say they don't save it.

[1]: http://newsroom.fb.com/news/2014/05/a-new-optional-way-to-sh...
Protecting Net Neutrality and the Open Internet: 2016 in Review
Depending on a pseudonym for anonymity is dangerous... It would be better to adopt a real-name policy and consciously remember to only take actions that you don't mind being associated with your real identity forever and always.

When you depend on fake names, it only takes a sentence (or possibly less) to permanently shatter the lie and associate all those actions you thought were private with your real identity.

This is less applicable with things like Facebook tracking ads and Google searches, but in that case, a good approach is separating browsers/devices.
Because the creators won't give us generics
I really don't get Kurzweil's claim to fame. I have never found any of his writing worthwhile. Kevin Kelly on the other hand writes some good stuff (Out of Control: The New Biology of Machines, Social Systems, and the Economic World).
Similar tools:

http://myrepos.branchable.com/
https://code.google.com/p/git-repo/
For another data point, here's my Digital Ocean droplet in Bangalore which sees from 10-60k queries per second depending on the time of day:
http://www.pool.ntp.org/user/bradfa
Stihl
Even text would involve a vastly higher upload amount than Facebook actually uses at-rest.
Not all functional languages are purely functional. (Common) Lisp can be described as a functional language, but it can do loops like those just fine.

A lot of imperative languages don't even have map or reduce; some don't even have proper first-class functions. The same argument goes the other way too.
And it's statically compiled.
Just to be clear, I was speaking from (what I imagine is) the perspective of America's leaders.

Regardless, there is a non-zero chance that the result of unknown secrets being exposed could be anarchy instead of a better-functioning democracy.
The Road to 2M Websocket Connections in Phoenix (2015)
I never truly understood the quadratic formula until I learned about the history of the equation and its discoverer. History of Mathematics should be a fundamental course.
Text is pretty small. It's even a multitude smaller when compressed. It could easily be added to normal send packets without anyone noticing. Furthermore, when things are encrypted, it distorts the actual size of the message. I mean I came up with a way to do it unnoticed in a few minutes, imagine what a top team could come up with in a few months.

I obviously don't know if it's happening or not (deleted my account years ago) but it isn't hard.
A combination of:

1. Incompetent contractors

2. Well-meaning non-technical hiring managers with slim budgets

3. Talent that's not lining up to work for the gov't because it's most definitely awful compared to the opportunities available

The story of the US gov't dismal IT infrastructure. In 2017, IT budget is projected to be 90 billion.

https://www.whitehouse.gov/sites/default/files/omb/budget/fy...

How much of that do you estimate is wasteful?

It'd sure be nice to register to vote/get healthcare/etc on my phone.
Most functional languages cannot do imperative things as smoothly as imperative languages, but there are very few functional languages that can't do them at all. OCaml, Haskell, and their derivatives can all do precisely what you listed above just fine. It's just a tradeoff to make one kind of programming easier at the expense of another (through perhaps not a necessary tradeoff).
This is a slight Rust tangent but I've been thinking a lot about the properties that make functional programming interesting and are called out in the article. Specifically the immutability providing an easy way to reason about functions via only inputs and outputs.

I feel the the memory model of Rust(single mutable ref or unlimited non-mutable refs) combined with the fact that there are no mutable globals(inside safe code) gives you a much easier system to reason about. I know based on inputs and outputs what could be mutated and since I know there's only one mutable reference I can trace that single ref easily.

It really feels like getting a large majority of the benefits of functional programming without sacrificing the performance and predictability we've all become accustomed to in non-functional languages.
xion knows many languages and if i had to guess, i would say that he sees rust in an objective manner because he doesnt latch on to any one language. his presence in the rust community shows that he thinks rust is worth while, though. im glad to have his opinions.
Before you panic (well, before you continue panicking) you should probably read the article. There is nothing in there that even remotely suggests anything untoward happened in this past election.

> Does this call for a special situation where the elections are held again but with such concerns addressed?

No.
What makes you think that they have a legal mandate, when so many other websites and services don't offer the option?
>There's no solid IDE with Golang support

Honestly, there wasn't a solid IDE for Java for a while, and the makers of IntelliJ are working on Gogland.

However, IMHO, the only thing I miss in an IDE for Go is inline debugging (but in truth, I never used IntelliJ's refactoring tools, so I could have missed out on all the benefits of a powerful IDE).

Except for that, VSCode and nvi are all I (personally) need.
Kevin Kelly – 12 Inevitable Tech Forces That Will Shape Our Future
Why don't people just use the mobile site in their browser? The passwords should be saved in your phone's keychain, and phone screen sizes are plenty big enough to use efficiently these days.
Yes, I've noticed that as well. That's why there was even a suggestion to remove `mut` - because the compiler can figure out which things should be `mut` and which shouldn't.

Functional programmers had a meltdown, but I wonder if that wasn't actually a better choice.
I'm amused by the paper's abstract stating that "explicit construction" when I can extract nothing so concrete from the paper (though a monotone boolean function on N bits resistance to any coalition of size N^(1-t) for any positive t sounds interesting to me-- achieving one for N^0.5 is well known and simple).

I think I need a non-randomness extractor. :)
No, because none of that information is protected by copyright. You could try contacting their CS.
Discussions related to the same post 2 years back..

https://news.ycombinator.com/item?id=8943356
Doing that in a rural area is privilege compared to doing it as a member of a group they actively demean, such as being a Muslim working in a gas station in urban America.

I've dealt with these people before (and I have friends that are like this). They're completely out of touch with reality and the consequences of their beliefs.
Graphhopper: An open source routing library and server using OpenStreetMap
this is such a good response. i dont think xion would disagree with the notion that rust is well on its way to being great.
First, I think the author does not share the same value as Jason has. Value of success and failure. More signups? Ha ha.

Second, I think author wants to introduce us to Bitrix. Well, now I know another Basecamp competitor.

Well, it is author opinion on Bitrix side. But Jason also has outstanding opinion by running the company until now.
I find that thinking about things I have to do is much less enjoyable than actually doing those things. It's definitely true that the more often you convince yourself to just get up and at 'em the easier it is to overcome those mental hurdles in the future.
SQL Is Insecure
What does this algorithm do? As far as I can tell there's only an effect if len is wrong, or the list has length 2^31-1 and ends with a.

Even if you move i out of the for loop, you would just get whether the list ends in "a".

Edit: Whoops, 2^31-2 is sufficient for the overflow and i's value at the end of the loop is more subtle than I gave it credit for.
Your website says:

Pivotal bridges the Silicon Valley state of mind, modern approach and infrastructure with your organization’s core expertise and values. Who we are and what we do together can reshape the world

Your article suggests otherwise.
I wasn't impressed with this the first time I read it, and my opinions haven't changed since then. A lot of the comparisons here are straw men, and a lot of the proposed solutions are unnecessarily hard to understand. I'm not going to repeat all my points, so here's a link to the previous criticism.

https://www.reddit.com/r/Python/comments/30w1bn/an_introduct...
Fix for some value of fix. Go's lack of generics make the data structure offerings pitiful. Just look at heap: it's worse than c.

There is a role for a language like that, but calling it fixing c++ ignores 90% of the reasons people use c++ in the first place. In fact, id say that go reminds me most of the version of c++ that operated as a preprocessor. It's almost exactly the same template implementation!
This is pretty much almost already the case for mathematics; understanding of basic mathematical concepts in the general public is piss poor. No one is up in arms about that.
Perhaps, but I've monitored the volume of data uploads by the Facebook app and they're pretty minimal.

There's also the fact that Facebook has gone on the record specifically disavowing this conspiracy. If it were true, they wouldn't so unequivocally deny it. [0] There's far more harm for them deceiving customers than there is in them admitting to a creepy feature.

Additionally, everyone who has promulgated this conspiracy has been fairly suspect. None of them make any effort to analyze the alternative reasons.

But, like I said, I have $1,000 for whoever can prove this is happening. It really shouldn't be hard. If this conspiracy works the way people claim it does, you should be able to mutter about any random product to your phone and have Facebook start showing you ads for it.

[0] http://www.theverge.com/2016/6/3/11854860/facebook-smartphon...
Don't put it on the internet to begin with.
The world would call us out for aggressive retaliation here, and rightly so.

"The World" would not. I don't know what people think they gain by using the term "the world".
A man who cleans up after plane crashes
> iterate through lines keeping state into account

You mean like a fold, the bread and butter of FP data processing?
> They're completely out of touch with reality and the consequences of their beliefs.

Are you referring to the Muslims, or to the 'channers? 'Cause, you know, an argument could be made for the extremists in either set.
Agreed. That's exactly why my username everywhere is my real name (morgante). I'm under no illusion that anything I say online is anonymous.
I don't think there is anybody that does not believe that extremist Muslims are completely out of touch with reality or the consequences of their beliefs.

So yes, both.
> I can't believe people legitimately think Facebook is spying on them through microphones.

But why? There is a specific feature inside the Facebook app that does exactly this: listens to ambient sound around you to hear the TV ads, radio ads, etc that it can identify to know more about you.

Since Facebook has built a feature into the app that makes it so that the microphone listens to your life, I can easily understand why people think it's spying on you by listening to your microphone. Because it does.
All kinds of wall anchors and how to use them
I did choose it partly for the startle effect but also to capture the unexpected character of the griefing behavior when it impinges upon someone immersed in the game world. Maybe a better (if more absurd) example would be shooting fireworks at players at a sports game, so they were trying to duck bright-colored rockets rather than kicking or hitting or throwing a ball. It's easy to see how this could be quite entertaining, but if it were to become a regular thing it would get increasingly annoying to the people who wanted to watch a ball game of some sort, and doubly so to the people who had devoted themselves to playing at a professional level.

The basic problem with griefing is that it depends on the unwillingness of some participants for its entertainment value to the other participants. The non-physicality of this violence - which is often merely replaced by imaginary violence - doesn't make it OK. It's still a violation insofar as it circumvents the agreed-upon rules of the game environment.
> Why is it ridiculous?

I've explained here: https://news.ycombinator.com/item?id=13252108
This, parent comment is literally about nagging people.
> People would start to confuse "your" and "you're" or "its" and "it's".

I am genuinely trying to determine if this is a joke. :) People already do confuse those! I have unfortunately seen many arguments on Facebook over the correct usage.
Your function doesn't do the same thing his does -- his skips comparing some of the lines because he's selectively incrementing the loop counter.
> Also, is your tool is geared especially towards programmers only?

No! I myself am a math enthusiast, as you can see :)
It has also been a long time since I've used php, but when I did there were a few problems here.

One is that mysql (opposed to oracle or pgsql) is kind of unusual in allowing quotes indiscriminately for all column types, so in order to do this right you have to only do it for string type columns and prevent injection on different types some other way.

Another is that most of the APIs around the more sprintf-style quoting (eg: `query("SELECT * FROM table WHERE x = %", someStr);`) are tied into prepared statements, which carry their own problems that also differ per engine.

It's actually not as simple as you might think. On top of that, php used to have the whole automatic quoting thing that just made a hash out of things.
If you don't use an ORM, PDO, or generally act like PHP hasn't changed in the past decade, yes it is.
> for (int i =0;i<len;i++){ if(lines[i] == "a"){ i+=2; } }

I think you made a typo. This doesn't do anything. If that's the case, a functional formulation would have actually made it quite obvious.

But here's a way to do it in Haskell assuming you didn't make a typo.

f i xs
| i >= len xs = i
| xs ! i == 'a' = f (i+2) xs
| otherwise = f (i+1) xs

There is almost certainly a more elegant way to write your algorithm if I understood what you were trying to do, but here's sort of a "worst case" direct translation.

EDIT:

In response to your edit, a substantially more elegant functional approach looks like

map parse . filter (not . startsWith "a")

I think you ironically chose a task that functional programming is particularly better for.
I don't understand why, in this situation, just make it a compiler option? What are the downsides to options like this? Confusion among Rust users when perusing another code base?
No kill like overkill!
I know it's a controversial point among users, but I think that if Generics were such a show stopper, Google would have implemented them.

Go was invented for internal Google use, and then shared with the world, and Google is an engineering company. If engineers would have rebelled, higher management probably would have done something about it.

-----

Although I don't understand why they keep fighting it. A simple style generics (Java style) shouldn't make code that ugly.
You'd really be surprised if they weren't? I'd be astonished if they were - there's no way they'd be able to keep it secret, NDA or not, and there'd be a massive shitstorm about it.

Also, I suspect it's not so trivial to actually do this - there's a big difference between how people intentionally speak to a phone (e.g. making calls, FaceTime) and just ambient audio from a phone in a pocket or on a table.
It may also be that famous tech people don't want to admit they read the entire Harry Potter series the year the company was struggling. You don't get into the C-suite by not worrying about what people think.
> Most functional languages cannot do imperative things as smoothly as imperative languages

I don't even buy this for most definitions of "imperative things". The only algorithms that I've ever found unwieldy in functional programming are heavily array-oriented algorithms like random shuffles. Almost everything else comes out more elegant.
Nice! That's good to know.