skysight-inc/HackerNews huggingface dataset:
Snr Software Eng answers your questions live tonight 9pm
Hey all,

I've been doing this for a lil over 20 years, (15 years professionally) and I'd like to give back to the community. When I don't know the answer I'll share with you how I figure things out. If I give the wrong answer I want you to call me out (if you know) - I'm here to LEARN TOO! :)

Live stream copypasta url: https://www.livecoding.tv/mmcfarland

AGENDA:

9PM EST to 10PM EST - Live Q&A and help

10PM EST to 11PM EST - You can tell me to bootstrap an application with certain frameworks and I'll try my best xD

Anyway, I'm happy to answer questions and help out, and I'm calling this live show FridayNightJS, and will be doing this every Friday indefinitely.
The Internet = other people's computers
A single anecdote doesn't discount a trend.

Being able to predict a PS cmdlet based on patterns works. I know, because I use it daily.
legitimate use of force

Explain this. What would you consider "legitimate"?

Next question.

And try not to sound like such an arrogant piece of shit next time you hand-wave difficult questions which challenge your perception of right and wrong.
You should try-out more recent builds of Bash/WSL - I think you'll find A LOT more things work now than did when we shipped Win10 AU :)
None. The people who opposed Trump would still have opposed him, and the people who supported him would have brought up the Clinton email scandal and accused the media of slander and propaganda for even trying to equivocate him with "crooked Hillary."

Trump quipped during the election that he could shoot somebody and not lose voters, and I kind of suspect he wasn't wrong. His support was a matter of reactionist ideology - it didn't matter if he was honest, competent, or sincere, only that he served as the vessel for the right wing zeitgeist.
... so, a C-ABI + per-language wrappers, or perhaps a high-quality cross-platform, multi-language wrapper generator? That effectively accomplishes what you're describing in your second paragraph.

Either way, it'd be great if one could implement efficient GUI's (and full apps more generally) on Android in C/C++/Go/Rust without having to generate JVM bytecode on the fly (or like Xamarin does: at compile time).
The problem is this is the first generation to grow up with warnings about swallowing cutlery and bathing in battery acid.

If you're bombarded with stupid warnings you get into the habit of tuning them all out. I once worked on a military base where every door and wall was festooned with warnings and prohibitions. Don't do this, don't do that. No running. No walking on the grass. No talking about classified information. Warning: wet floors are slippery. Etc, etc.

A few years after I started there about 98% of the warnings were removed. They'd done some research and realized nobody was going to read that blizzard of signs, particularly when the most obvious ones were prohibitions against things only morons would do anyway. It worked, too - you notice a big red sign when it's the only one on the door.
Yeah I forgot we're post-truth now.
That's great advice, man. Cheers.
I think fake news is actually a somewhat intractable problem with the level of ML today... News is usually considered "breaking" and new... meaning there's nothing out there to cross-reference it with. Even if you were able to extract "facts" from an article - you might find it difficult to find any other source (that you trust) that would also be reporting those facts. It is a very difficult problem...

I think we will eventually get to a point where we can flag potentially fake news. But were still a few years away with our current technology.
yeah that's what i was trying to say. Saying you can construct a deep graph using small data feels like "I'm gonna become a millionaire in ten years, only by operating this single lemonade stand"
Yes! I just made a massive digraph last week with http://graphviz.org/ Render above to PNG with:

dot above.gv -Tpng -oout.png
Most influential books on Computer Science/programming
Without giving away too much detail, I was switched from a "tools and infrastructure SWE" (quoting you, not the actual job title) to a regular SWE halfway through the interview process at a top company. The base salary stayed the same but the stock grant got a lot bigger and I was treated better in other ways. I also got a SWE offer from the other top company right before the change occurred, so these factors are entangled and I can't establish causality, but I feel the recruiter considered me higher priority as a standard SWE candidate and told me about the change like it was great news.
Ask HN: Can technologists disrupt politics?
A general theme of this past US election cycle is that the government is corrupt and needs fixing. In the wake of Trump i've seen thoughts around the web regarding "disrupting democracy" because people do not believe he will bring about positive change that the system urgently needs. [1][2] It feels like we may be at a turning point where newer political movements and updates to the system might have a chance of gaining popularity. [3] It seems like traditional political parties have failed and are no longer reliable. Is there another way to govern ourselves? What can entrepreneurs and developers do to improve the political system?

If you know of any startups or organizations doing things interesting please list them. Here are a few of the most promising that I found:

http://voteflux.org
http://democracy.earth
http://liquid.vote

[1] http://facebook.com/shereef.bishay/posts/10157871037085045

[2] https://medium.com/emergent-culture/we-can-restore-democracy-by-disrupting-politics-here-is-how-c9d514a8c194#.f5ut4m988

[3] https://www.youtube.com/watch?v=cOubCHLXT6A
Bill Clinton and Obama, they had a better numbers. Dukakis only was worst and was early 90 or so. And that is despite her having such a well funded campaign.
Anything pertaining to recent events that has more facts than opinions, and no falsehoods.
Solutions for hire
If you ever do need the services of a professional for your cyber/identity issues, then darkwebssolutions on gmail is the one you should consult. Or text +19193076946
I got a crash course in this when I took a journalism class and a history class from a grumpy professor who required handwritten papers and would tear up anything that required two sheets.

Probably the single most important thing I did in college.
Cohort – A New Professional Social Graph
> President Obama's National Security Advisor publicly bragged about the ability of coordination within the interagency to create an echo chamber in the US press.

“He who controls the past controls the future. He who controls the present controls the past.”

“Until they became conscious they will never rebel, and until after they have rebelled they cannot become conscious.”

“The Party seeks power entirely for its own sake. We are not interested in the good of others; we are interested solely in power, pure power.”

“Power is in tearing human minds to pieces and putting them together again in new shapes of your own choosing.”

Akhem.

But seriously though, this "interagency" you speak of sounds a whole lot like State Propaganda Machine.
Windows 10 informs Chrome and Firefox users that Edge is ‘safer’
I'd definitely appreciate any advice you might have :)
Hmm, well… I don't think a paywall is desirable. Maybe the summaries are free and users can pay for individual summaries that they like with microtransactions. A fractional penny up to a quarter perhaps.
Got it!

For those of you who want to play the game without the delays:

- Open drowninginproblems.dart.js in the Sources tab

- Verify you can type in the .js file; if you can't, right-click, Add Folder to Workspace, add any/new empty folder

- Change the ">" to a "<" on line 3753 so it says "if(x<1)this.Hk()" and ^S

Seems to work. The JS debugging in devtools nowadays is awesome, this is first time I've ever seriously used it. Imagine if we were still stuck with IE6 and Notepad. lol

For anyone who wants to play around, line 6950 in :formatted is where to start. this.zo.Fq seems to have the delay value in it, but I was unable to figure out where this came from.

-

Also, here's a simple oneliner to autoplay the game - which works equally well regardless of whether you do the above (in fact it looks really cool with the percentage counter left in):

i = window.setInterval(() => {document.querySelectorAll('a').forEach(a =>
{ a.click() })}, 1200);

Has no fancy features like click randomization or smooth delays (it clicks all the buttons at once, every 1.2 seconds) but this fits in one line.

clearInterval(i);

Stops it.

Edit: I just noticed that the source code is actually available. Ah well.
I'm curious: is Edge actually more secure than Chrome?

Certainly with Chrome I've noticed a large number of malicious sites don't trigger any warnings from Chrome at all, so Chrome certainly has a lot more work to do.
Announcing the new Streamup – live streaming music community
No, they published later after The Guardian and The Washington Post had already covered a majority of the leaks.
Facebook's job is to show you what people in your network are sharing with you, filtered to what seems most likely to keep you engaged with the site. It's not to act as peer reviewers for the "news". All these people suddenly complaining about "fake news" are really complaining about the unwashed masses' content preferences and world views. Maybe the urge to complain is justified, but it's aimed in the wrong direction.
The interagency here just means getting together the DoD, the White House, the BBG, USAID, CIA, etc to coordinate messaging so that they are all giving the same story.

Actually, the interagency is a catchall term to mean communication between different parts of the executive branch, as they otherwise report up to different Secretaries and command structures.

There are a number of different manners and ways that interagency coordination and collaboration is done and it is not specific to public messaging.
Why Don't Computer Scientists Learn Math?
Pensions are deferred pay not a hand out.

Also, I can't do this is different from I can't do anything. Many people have part time or lower stress jobs in retirement as something to do. Working a 40+ hour week on a factory floor is much more demanding than teaching a welding class 2 days a week at the local community collage.
I, for one, am really excited that Google has approached these "experiments" in the manner it has. I'm a designer with a keen eye on new media; so by no means a programmer/developer. For me, it has made machine learning a lot more accessible. Up to this point, I hadn't figured out how to "play" with this technology and now I can.

For Quick, Draw specifically, I'm interested in a "search" functionality where I can input a term such as "computer" and see not only the average representation, but more importantly, the fringe.

The possibilities for creative brainstorming are tremendous.
SQL Server on Linux runs inside Microsoft's Drawbridge Sandbox
Sorry about that - we lost control of our startup times in PS V3 and have been working to get it back under control. PowerShell V5 had substantial improvements but we keep working on it and V5.1 is even faster. Give it a try - I think you'll like it.

Jeffrey Snover [MSFT]
I went through the code and it doesn't look like it does anything as described, only checks images. I'm afraid this is fake news. Good effort, though.
These amazing Graphviz examples by AT&T research are linked in the docs, but now only on archive.org: https://web.archive.org/web/20130514141942/http://www2.resea...
How do you know your laptop is being portscanned?
Perhaps the different stories that would emerge without coordination would actually give transparency to statements handed down from on high. It's extremely difficult to trust a government when they don't explain themselves.
Until the 2000s there was only one evening news broadcast and a few newspapers. But most people didn't bother with those and got their informations from friends and family. It was mostly nonsense before Facebook too. Facebook just made it digital and public.

And that's the problem. The people who make up this stuff can see when it's being shared, and commented on, and what resonates most with people. They can write up the perfect crazy story for my Mom and Uncle to talk about like they have done for the past 60 years.

I can go in and say this is fake, don't believe anything you read from this website or facebook page, and sometimes they'll believe me. But that doesn't stop the content from flooding in.

The only thing I can think of is getting people to stop using Facebook altogether.
Your concept is pretty cool.

On a technical note, something is causing two issues in iOS Safari: extreme lag when typing each character in the search box, and something is crashing the page and forcing a reload between hitting search and seeing results (sometimes).
We are incapable of sustained error.
25+ years was enough. :-)

Jeffrey Snover [MSFT]
Dynamic languages typically aren't compiled, though. So either a language would have some kind of VM of its own (which is typically implemented in C, and hence can be implemented in CIL), or else they have some form of JIT compilation, which can use CIL as a target.
If Facebook has a fake news problem it's not in small part because Facebook users will share fake news articles more than real news. Google's decision to not serve AdWords on fake sites is because those sites were taking advantage of the high traffic fake news generates to make money.

Fake news is popular. And the entire social economy is based on facilitating that which is popular. Because the more eyes you can drive to your content the more advertising you can sell.

While Google vilifies the website for making the fake news, they also profited by selling the AdWords those sites hosted. While Facebook says it's difficult to distinguish legitimate news from fake news, they make more money from the frequently shared fake news than the less popular real news.

The conflation of article content with advertising gives the advertising brokers a disincentive to prevent fake articles. Until readers stop clicking on the fake stories, but one glance at a typical supermarket checkout aisle will tell you that isn't going to happen. If Google or Facebook are serious about not encouraging fake news they will stop using the content of a webpage to drive the price of ads. But that obviously isn't going to happen as targeted advertising is their raison d'etre.

TLDR, Facebook has met the enemy, and he is Facebook.
This is something that big donors and big NGOs spend a huge amount of time talking about. If they've come up with something good, it didn't happen while I was working in the space.

A single global metric is almost impossible. For one thing, it requires a horde of comparative value judgements. What is the exact impact difference percentage between feeding a child in Mali for a month, vs teaching a Kenyan man how to start a bicycle repair business?

How organizations evaluated in the real world?

Most funding comes from two kinds of donors - lets call them whales and consumers. Consumers get advertised to and give < $1,000 a year. Whales however usually have dedicated contacts an organization, and if they are giving enough, probably have access to both per project financials and project outcome metrics.

So in theory whales have good information about the effectiveness of their money.

Consumers though mostly don't. Partly consumers themselves are to blame for this because in general they don't care about how effective their giving is. The William and Flora Hewit foundation gave up on funding charities rating programs because of a study that found that less than 2% of donors ever research the effectiveness of the organizations they give to.

Personally, I only give to organizations I've worked with.
LinkerD Service Mesh to handle Kubernetes ingress traffic
I used to know some Quid people back in the day, good to see them here (and that they're international now, congrats to them).
"Fake news" is a shitty meme that needs to stop.

If the media truly suggests they be accountable for what they peddle, they will be in for a big surprise.

We are witnessing a mortally wounded animal frantically flailing in a primal, desperate bid to hold onto life.
Frankly it sounds like this was discovered and disclosed a lot faster than most other similar incidents. The OPM hack took years for the government to disclose from the time they first knew of it. Linkedin, Target, Home Depot, and more than I can even remember at this point all took months to years to discover and disclose. 1 week is lightening speed.
If the CIA wants some one dead there are considerably less conspicuous ways to kill some one than a pretty public car crash.

Not to mention there are plenty of journalists that have covered and exposed worse things about the intelligence community that are just fine.

Heck Clinton's bad humor aside Assange is still alive, so is Snowden do you really think they are both out of reach of the US military or any of it's TLA's?

You really think that it's that hard to put a bullet in Assange's head anytime he peaks out of a window at the embassy? Heck I'm surprised an enemy state willing to cause the US irreversible political and PR damage didn't do it as a false flag yet.
> I don't think there is an algorithm that can tell the difference between fact an opinion

So, you're telling me that this news story about a fake news story detector is in fact fake? Shocking. I wonder how the detector would do against the article?

Seriously though. I agree with all the above, and also as soon as we have something resembling a fake news story detector, it will be gamed. Like SEO games search engines. It's inevitable.

Somehow we need to teach people how to spot the bullshit and not propagate.
Thin-wire Ethernet didn't use vampire taps, however. Everything was terminated in BNCs.
Russia performed assassinations on foreign soil before, and it didn't had any major effects.
It's always been AI. Pretty much any decision-making toolset can be classified as artificial intelligence.

Unless, of course, you subscribe to the "AI technique is no longer AI when it becomes real" school of thought
Give me a break.

http://www.weeklystandard.com/in-alabama-jeff-sessions-deseg...
Maybe that would work. Are you familiar with any successful use of micro transactions? I haven't gone out of my way to look. Something like Patreon also comes to mind, though I've only heard of that in the podcast sphere, where people have a more personal relationship with the content creator given the format.
It would be great if the mod team expressed such a commitment by manually reviewing flagged articles to remove the flag and prevent any further flagging in cases such as this, where it seems that the article was flagged for no other reason than that many HN readers disagree with its content and wish to suppress the diffusion thereof.

Disagreeing is fine, but then write a thoughtful reply rather than just hit "flag." "Flag" is supposed to be for spam and grossly off-topic articles, not for articles where you happen to dislike the author's conclusion.
I don't agree with tomp's reasoning but you are confusing cause and effect. If tomp is correct, it only implies that a news outlet biased towards one candidate would predict a victory for the other, not that every media outlet predicts a victory a candidate they are biased against.
That is a good tip.
There are certain product teams that produced ENORMOUS objects and your suggestion helps when dealing with that.

Jeffrey Snover [MSFT]
Sarno worked for me. Ignore his "rage" theory derived from Freud and just use his techniques. It worked for my arm and wrist pain. Now, whenever I experience ANY bodily pain (knee, back, hip, etc.) I assume it is subconsciously generated and use Sarno's techniques. If that fails then rest + advil will usually do the trick.
A language wrapper generator is about right, although for some languages it makes more sense to wrap things dynamically rather than generate code. .NET does it for WinRT, for example.

The problem with conventional C ABI is that it's just too low-level to produce good wrappers. I mean, all you have are global functions, structs, and data and function pointers. There isn't even a standard string type! (you can say char*, but there's the need to deal with lifetime issues - who deallocates what).

So in practice you need the C ABI, plus all those conventions, like how an "object" looks (i.e. how you do things like method dispatch or type queries), how a callback looks, how strings work etc. And all those conventions are expressed in terms of that basic C ABI - but they also have to be standardized, and they become ABI of their own, like COM and WinRT.

And you also need a convention/standard for metadata, for those wrappers to consume, and for any sort of runtime magic like property bindings - like typelibs for COM and metadata assemblies for WinRT.
b/c any math I learned was long forgotten while was figuring out how to compile javascript...duh
When the Russians did the same nothing really happened.

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

Putin might be mad, but they wouldn't give 2 fucks about Snowden, if Russia got anything in return for granting him asylum they already got it.

That said the US would more likely want to exfiltrate him for this specific reason, they would want to know if and what did Snowden handed over to Russian intelligence.
So you're arguing that you don't own the phone you purchase outright? Your argument for scalping falls a bit flat: When it comes to (concert) ticket scalping, you don't own the performance, you're purchasing the ability to view the performance at the given time. When it comes to a phone, you're purchasing the phone (not simply the ability to use the phone) and you should be able to do whatever you want as long as its legally allowed.
> In the worst case, N tests will need N mocks and it will be the same as before.

This very much neglects the probably significant overhead of writing, maintaining, understanding the M mocks on top of the base of N tests, but since, as you said, this is "at Google scale" the trade-off seemingly becomes worthwhile
have been alarmed lately about self-acclaimed "authenticators of truth" being used to dispel accurate but unpleasant information.

damned if one does, damned if one doesn't.
What hand warmers would you guys recommend?
That's essentially using their servers as a middle-man. Which raises the question: why would one trust Axis to build servers that withstand attacks but not to build cameras that do the same?
> we have youtube stars that make millions each year, and there aren't as few of them as you think

I'd be curious what percentage of YouTube channels are actually profitable. Sure, there are probably a lot of people making millions, but I bet there are even more failures out there.

Self employment probably won't work for everyone.
Do you really think corporations aren't greedy? Which I do not think is evil. I know business is hard, but the whole model of cutthroat profit seeking (which encourages bad faith actors) is what I have a problem with, so it's not exactly a compelling defense.
I have noticed that CS majors tend to be separated into two groups, those who got linear algebra and those who got THROUGH it. Programmers are very logical in their thinking but most are not what I would call traditionally mathematical in their approach to problems.
This is great to hear, but it also kinda reinforces the point - .NET generics were reified from the get go, back when they were introduced in 2005. Java got generics a few months earlier than .NET, if I remember correctly; but we're still waiting for them to fully catch up. By the time it does, people coming from C# will be asking about things like sequence comprehensions (well, they already do, since those have been around for 8 years) and pattern matching...
tl;dr LessWrong.