skysight-inc/HackerNews huggingface dataset:
He made a post last summer saying that he has to pretend to support Clinton otherwise when he goes out he'll probably be shot by a Clinton supporter... He's gone a bit off the deep end.
Pushing the practice underground will make it less effective and less common.

That's also the logic of the "war on drugs". It may or may not work in this case -- I don't know -- but it will definitely make lobbying less documented and regulated.

What are the sanctions for undocumented lobbyists going to be? How will they be enforced, when the Trump administration is so strongly biased against transparency everywhere else?

Trump brags about exploiting loopholes: he said he would be smart to not pay any taxes (while not actually answering the question of whether he does). Applying that mindset to lobbying will lead to a situation where corporations pretend not to be doing it, the administration pretends not to see it -- and one campaign promise is delivered.

His tax returns matter as the very minimum expected gesture in transparency. At present Americans have no idea what the President owns and how he makes money (or maybe he doesn't -- in which case he would have a strong incentive to use his office to prop up the failing parts of his business empire). It's hard to believe this situation exists in a Western democracy in 2017.
This article makes a broad statement which is bad. It loosely links research done that is not about fat shaming and uses fat shaming in its propaganda.
Even if fat shaming makes the fat person less healthy, mayhap the shame will deter the rest of the population from being fat, and therefore have an overall benefit. We can see this in asian countries where being fatty is not advertised like it is in the western world.
But why would they bother. The point of collecting data for surveillance is to provide signals that help sort the real threats from the noise. But the Nieman Foundation is such a well-known and widely-read blog that just reading an article there is not at all noteworthy, regardless of the subject.

Most government employees are not even in a position to access leakable data even they wanted to. Targeting them based on reading an article would be a waste of effort.
Has pale moon ever moved past their "windows first, foremost (and practically only)" attitude?

I seriously looked at it when australis happened before classic theme restorer was stable, but at the time they seemed to have no interest in anything but desktop windows. I suspect a single-platform browser (especially when the platform is windows) is a non-starter for most people.
I did not see Romney on the list of Appointees. It was a nice show with a lot of backchannel negative comments to the conservative press by Trump's staff.
> FTDI is not and never was especially big in the USB-to-Serial market

... whaaa? They're probably the biggest company in that market, closely followed by Prolific (PL2303).

> ...and their chips tended to implement CDC in variously broken ways

No, their chips implement a proprietary protocol. Not CDC at all.
This CMU AI – Libratus is wrecking poker pros in casino tournament
The Tragedy of the Commons states that I am free to exploit this flaw. But we as a society should probably do something about it
Slightly less inflammatory heading this time
Arthur H. Rosenfeld has died
I tried all of that and it still doesn't work. In chrome://gpu/ I have "WebGL: Hardware accelerated".
[poll] do you use Firefox mobile?
Every time firefox mobile is mentioned, everyone claims nobody used it. Do you?
I feel like the article took a surprising and unusual position - "We prefer Java to Clojure now" - but, then, instead of justifying that position, instead showed how Optional lets you write more functional Java.

It's been a long time since I've written any Java, so I wonder, how is this better than Clojure?
In my case above, there's just one object, maybe (or maybe there isn't?).

In the case you're presenting, one might consider:

Stream<Foo> myVals = gateway.callThatApi(...)
return myVals.forEach(val -> getFooOrBar(val).apply(val))

Not quite as nice as Scala would let me do it, but closer, simpler.

Streams also let you add filters to the "list" of values, reduce them to a single value with a reducer, or use a nice set of "collectors" that reduce to Java generic collection types. (Collectors.groupBy is so handy).

Streams are also lazy, which I think is more good than bad.

The thing I tell everyone to do right now, today, is to open their Java code and search for "return null", then replace it with "return Optional.empty()". It'll break your code in lots of places, but things will be better when you fix all those things. Often you'll find lots of places that didn't handle the null possiblity at all!
Ask HN: What tools do you use for creating diagrams?
We're looking for some open source tools for creating UML diagrams and the sort. What's your goto tool set for creating diagrams/visual organizations of systems?
I'm pretty sure I didn't mention President Obama in my comment, so why ask me that question? Are you probing for what party I support and trying to draw some equivalence?
Note though that this is n=2, and I'd assume the two subjects were not sampled even remotely randomly from the set of split-brain patients...
Here is something similar I did in JS

https://gist.github.com/JakeCoxon/d78fa1debc13e46ae54a
That is why I have a bath... and I have tablet with stylus (in case). Always get crazy ideas.
This comment exhibits how far the propaganda of energy efficiency has gone
Fascinating read, thank you for the link!
you shouldn't really be running `optional.isPresent()`, but rather, use a map operation, or a flatMap operation, all the way until you need to interface an outside api (in which case, you use a `getOrElse(defaultValue)`).

You're right about code that branches based on `isPresent()` is semantically the same as null checks - and if you only did that and didn't use any functional paradigm like mapping on the types, you don't really get any real benefit!
How to successfully enter the Open Source emerging market
But don't you see what I'm saying? I assume the order is important, and if the else: (or whatever else you decide to use) were first it would match everything and prevent the other cases from being used. So it's exactly equivalent to an if/elif/else chain. The structure is the same.
Store your graph as an adjacency matrix, using either a 2D array of edges (if your problem is small enough), or as a sparse matrix (hash table or similar).
If Amazon adds ability to pay with Paypal, I'll start buying from them tomorrow.
Paypal is my main means of payment online, both outgoing and incoming, and Amazon has lacked much of my business because it didn't allow me the option.
Once they open up to PayPal, I'm sure many people I know will also start to shop more Amazon immediately.
Heh, there was this business insider piece from Aug 2016:

A month before the hacking revelations, Bilton reported, DNC staffers were told they should use this "Snowden-approved" app whenever they were mentioning Donald Trump, especially if their message was disparaging.

Signal is an incredibly easy-to-use app for iPhone and Android that allows both encrypted text and voice communications. Founded by Moxie Marlinspike in 2014, it requires no sign-up, registration, or exchange of information between parties. You just download the app, install it on your phone, and call whoever you want to talk to, using regular phone number.

http://www.businessinsider.com/clinton-dnc-snowden-signal-20...
The title of the article says "... from trips". It's the HN title That's stupid.
There's a decent amount of research into functional graph algorithms. The right approach depends on the application, but two interesting ones are inductive graphs[1] and zippers[2].

I also agree with other commenters that you should make certain you actually need your arbitrarily complicated graph, though.

[1]: http://web.engr.oregonstate.edu/~erwig/papers/InductiveGraph...
[2]: https://www.cs.tufts.edu/~nr/pubs/zipcfg.pdf
If you're talking about NSLs, they've been found constitutional for almost a year now. Still time to buy that first birthday gift!

https://arstechnica.com/tech-policy/2016/04/in-a-reversal-ju...
Was this created using the /newpoll page?

https://news.ycombinator.com/newpoll

If not, I recommend resubmitting.
I thought everybody knew that a big chunk of Twitter works this way. I got to see it in action just a couple weeks ago with a pro-Trump network of fake Twitter accounts. I had the misfortune of having one of those @TrumpRulesMAGA4Eva style Twitter accounts reply to something I'd written with a standard pro-Trump meme. A couple people liked and favorited within an hour or so and then nothing. Then late on a Saturday night several days later, a whole network of Twitter accounts favorited and retweeted it. Most of them had similar style names but some had generic ones or random character strings. About half had an egg profile picture. Many of the others had tried to look legitimate with real names and pictures of people but tineye reverse searches showed 10,000+ hits on the images. Looking at the histories of the accounts, they'd all been used similarly for months.
I'm the same, I think I'm going to stop updating and secure the last version that support them.

Between auto-update, security patches and new web standards support, how long will this approach be viable though?
An “aha” moment while trying to grok the projective plane
How he acquired citizen-ship is not as controversial as people are trying to make it out to be: a lot of his investments have been deemed charitable or for the public good, so special citizen-ship rules apply.

What's more interesting is that NZ is a progressive welfare-state, i.e. significantly more left than even Obama (closer to Sanders)...not exactly a haven for a trump associate
I didn't expect to get any contract work out of that. I wanted to simply send them a message. Maybe they got it, maybe they did not. But I don't want to work for people like that. And this was the guy I would be working under testing, so if he thinks that this is a good test, then I don't think that this is a good job.

Developers complain all the time about these stupid tests. But they do nothing about it. Do something about it, maybe something will change. And they will stop testing stupidly.
Article title: "Trump Executive Order Could Block 500,000 Legal U.S. Residents From Returning to America From Trips"

Suggested alternate: "Executive Order Could Block 500K US Residents From Returning to US From Trips"
Honestly, that's so much easier and faster than dealing with native dependencies sometimes.
Yeah, but such expressiveness, and subtlety.
Forgot to add choices?

I use Pale Moon for android
Incorrect. Compare it to your 8am photo and it is much more filled in. Please post another rear image from the Washington monument to properly compare the two. Or keep posting low-angle front-shot photos to fit your personal narrative.
But if we just forced web developers to use 486s with 32mbs of ram, imagine how fast the internet would become. No more linking to 15mbs of Javascript, CSS, and Web Fonts.

The mobile web would be amazing.
One more thing: the `repl/repl*` function call's map argument is missing a closing `}`.
True. In practice, though, this isn't a problem. Most Scala code I've worked with just pretends `null` doesn't exist, which is a fair assumption if you're interfacing with well-behaved Scala libraries that never return null.
Less likely, no. Easier to fix, yes. There is only one thing that can break: Docker. And Docker is developed by a company who's job it is to fix their software. With homebrew, we rely on each package maintainer to fix their software, and that fix to be pushed to homebrew.
I'd hate to maintain that.
Always wanted to try Tarsnap for personal use, but I can only budget if the cost was comparable to Dropbox/Microsoft OneDrive/Google Drive/iCloud/Amazon Drive which are all ~$10/TB/mo, but instead Tarsnap seems about an order of magnitude more expensive? Or is the product just not aimed at me?

I currently use Arq[1] for backups (which has its own encryption[2] with a user choice of cloud backend), but Tarsnap has such a stellar reputation I'd definitely try it if I could :)

[1] https://www.arqbackup.com
[2] AES-256 with PKCS5_PBKDF2_HMAC_SHA1 for key derivation, implemented by OpenSSL, with an open file format https://www.arqbackup.com/arq_data_format.txt
One upside of the Boogie Board approach is trivial battery usage.
I understand exactly what you mean. But expert practitioners say that this is only the initial and the hardest phase and that it can be overcome with practice. What lies beyond is another question, but I want to trust that I will be able to get there and experience it first hand.
Tl;dr -- you're gonna have to stick your neck out, so don't work with someone who will get your head chopped off.
Specifically I'm referring to my personal experience doing on-site contracting, can't comment on 100% remote positions
Relevant.
Watch Jordan Peterson's talk on "The Necessity of Virtue", goes deep into psychology, philosophy, history, to deliver the point that: life is suffering, not in a pessimistic way, but by recognizing your "being" has limitations. This gives meaning to this adversity, because its far too easy to sink into a state of resentment and "why me". I'm currently dealing with adversity in terms of losing a job right now and this really shone a light forward for me, resonating much deeper than any self-help material I've come across.
I associate generic domain names with "comparator" sites. If I go to shoes.com, I want to access all and every shoe on Earth. A search engine for shoes. It works well for hotels.
A Tantonalizing Problem
> Apply functional programming idioms and use immutable data structures if you can.

This is what I've tried to do when learning Rust. However, I find it ends up more boilerplatey than a language like Haskell. I had to do lots of clone() and iter(), which cluttered up the functional idioms. Maybe I'm doing it wrong though.
I think devs should be responsible for maintaining what they build. You get your incentives aligned better that way, and it removes the tension.
How the heck do I pause it?
Use the "web" link under the submission title.
The closing of NY Times, I guess.
This took me a while to figure out, but if you use UEFI, and have Windows and Linux on different drives / different EFI system partitions, you can use grub-install --force-extra-removable to keep Linux bootable after Windows helpfully clears out the NVRAM Boot* variables: https://github.com/ludios/ubuntils/blob/master/bin/reinstall...
There's a product called The Noteboard [1] that's relevant here. It's basically a 7x5 grid of index cards laminated to be a whiteboard that you can toss in your backpack.

I didn't end up using it regularly because the surface doesn't erase as well as a whiteboard, but still a cool product.

[1]: http://thenoteboard.com
This payment system is already a generation behind
In Scala, you're encouraged to write more bulletproof code by avoiding exceptions at all time, simply because it's easier to realize that (in your case) getSomeRiskyNumber returns an option instead of an integer.

getSomeRiskyNumber map {
case Some(i) => Map("risk" -> i)
case None => Map("error" -> "Error retrieving number.")
} map { response =>
Json.toJson(response)
}

Reading this code you know you're always going to generate a json response to the user, and depending upon what getSomeRiskyNumber() returns, the json response will either look like { "risk": 23 } or { "error": "Error retrieving number." }. No exceptions needed.
and both halves are truly separated

They aren't, they are just mostly separated
As always, picodollar pricing is so confusing.
Funny you mentioned smalltalk. Alan Kay was talking about how Erlang is really an OOP language more so than other languages. In term of message passing and each process is an object...

Erlang just let it crash and you can restart it with a supervisor process. I think most of the time this model is much better since you won't be doing numerical stuff with BEAM anyway, it's not for it and it's too slow.
I might just have to give up on using the internet if treestyle tabs stops working. I'll get a job on a farm or something and lead a simpler life.
Actual title: "The Closing of Trump’s America"
I don't have a lot if time to provide anything to most of the open source tools I use so I've setup monthly donations to them that my company matches. Some of the developers have wish lists as well that you can get them stuff from.

https://esheavyindustries.com/2016/02/have-some-extra-cash-h...
> nobody runs mobile Firefox,

I'm here :(

I use it to play YouTube in the background.
I'm more of a fan of the zip/cycle approach:

https://play.rust-lang.org/?gist=3fb51314d7df9249c9f774dde96...
I used to have a similar whiteboard stick on my old MacBook back in 2011 - it was really useful as long as I remembered to bring a whiteboard marker with me to meetings. It'd be nice to have an eink boogieboad like wrap instead but the problem with those it's it's erase all or nothing so, I'm sticking with ordering a new whiteboard wrap from here as they're so cheap.
Agreed, as a consumer I prefer flat-pricing, even if it's nominally more expensive simply because it's easier to budget for and requires less thinking (honestly).
Yes. OP, please drop by IRC, the forums, or Reddit. We are extremely happy to work through issues and help explain what's going on, generally. Half the time during US working hours you'll literally get me.
> does that mean eventually government can only spy on those citizens not savvy enough to use secured tech to communicate?

One of Signal's goals is to be proliferated in main stream applications (like Whatsapp) so hopefully those not savvy enough to use signal directly can benefit from the pressure that savvy users exert on Facebook and others to be reasonably confident in their crypto. Similarly, I've never personally verified that my version of Signal is the same as one that I could build from source, but I make the tradeoff that someone more paranoid than me would notice a widespread compromising of the app store.
The only problem with being a server janitor is there being a communication mismatch. I've worked with a sys admin type who was told, before being hired, he'd be a space janitor. He loved the reference, because that's what he wanted to do.

If you need a dog crap collector, sell the job as a poop scooper, not a pre-compost collections technician.
Is there any special reason to worry about your Echo being backdoored rather than your PC or laptops with their frequently built-in microphones? Heck even my computer monitors seem to have microphones today.

I'm sure my PC is a lot easier to break into than the Echo. Depending on how the Echo works, it might not be so easy to back door. It's not likely to be running any system services that can be connected to remotely. It's a pretty simple device without a lot going on internally (compared to a phone or PC). I'd be far more worried about complex electronics like a television or PC being backdoored than an Echo. Furthermore, because these other devices are an order of magnitude more popular, and actually store people's data there's far more incentive for malicious actors of all kinds to develop back doors for them.

The Echo is actually a pretty uninteresting target. It doesn't store any data. Maybe you can break into it remotely and use it to listen, but that's it. That's all. You cannot, just by breaking in, sift over a vast trove of preexisting information, like you can with a PC. You'll never steal someone's documents, or read their email, or steal their passwords. Plus if you get into someone's PC or phone you can probably turn on a mic and record them too! I think the Echo honestly has pretty limited value on average as an attack target. It will be low in the priority list for attackers to target.

Regardless, if any of these devices are backdoored and recording me, then it will be trivially easy to detect that unexpected network activity. I am far less worried about my Echo than my PC, because I expect my Echo to have zero network activity except when I'm using it. Since it does one thing, it has no excuse for unexpected network activity. It's very easy for me to monitor that network activity - built right into my wireless router. With my PC, who knows what the hell it's doing because some software decided to download an update. PCs and phones are not simple enough that you can expect them to have no network activity when idle. The Echo is simple enough to have no network activity when idle.

Because the Echo would be so easy to detect if it were improperly recording you, I do not think a state actor would risk trying to observe anyone security-conscious in that way.
Meta: Is it me or the button is photoshopped? OCCUPY has a completely different light.
Simple answer: never return null.

If something is wrong, throw an exception. If it's the kind of error that must be handled, throw a checked exception. If there's no value to return, return Optional.empty.

The code receiving that Optional<Foo> is now free to do what the author is suggesting: map, filter, all without worrying if the value is actually there or not. The code is cleaner, easier to read, etc.

But no one should ever have to check for null anymore.
Most or all stats will show mobile FF browsing usage at about IE6 levels, and I don't think you'll find anyone caring much for the later market any longer.

We [web developers] owe a lot to FF, Firebug, etc, but the writings on the wall for mobile and desktop. Chrome is going to have to screw up really bad, and likewise for the base installs of IE/Edge and Safari. These days, I'm more likely to suggest Brave over FF, if someone really requires a Chrome alternative.
How long is that period of protection? Anything less than infinity seems deeply problematic.

I consider these questions to be among the main points. If you don't, that would explain our difference of opinion. I really can't understand shrugging off screwing over people born with chronic conditions on the basis that life is unfair anyway. I mean, you can use that argument to justify nearly anything. Why outlaw murder? Sure, it sucks to get murdered, but life is unfair.
Celebrate holocaust memorial day by telling refugees to go away. Well done.
I don't use a backpack and after using this in the past I just wipe it clean after a meeting, nothing more annoying than when people leave writing on a whiteboard after a meeting!
Indeed Red Swoosh was probably one of the first P2P CDN companies, the main difference from them is the underlying technology - WebRTC enabling a seamless experience for the end user.

CDN is still a very expensive business to bootstrap and most companies in the world rely on Akamai and Akamai like companies.

We provide a few advantages over a traditional CDN:
1. Geographically ubiquitous distribution - wherever there's demand, there's capacity.

2. Improved user experience - since each user can download content both from the existing CDN and multiple other peers it can fetch that content faster and be less exposed to network conditions between it and the CDN's PoP

3. Scale - CDNs as big as they are, even Akamai have a limit, and this pronounces it self the most specifically in live events. Today's biggest live events over the internet has been single digit million concurrent users and they were using several CDNs at the same time. The potential of a P2P CDN is to bring TV scale events to the internet.

Please elaborate how you think it can facilitate a DDoS?
Rust makes deep copies explicit, whereas those languages don't. So if you program in the exact same style, it will be a bit more verbose; Rust is exposing a cost here.

That said, idiomatic Rust does lean a bit more functional than many languages.