skysight-inc/HackerNews huggingface dataset:
There's so many things wrong with this comment, I don't even know where to begin.

1) There are 320 million people in the US today, which puts 1% at 3,200,000. Where on Earth did you come up with 40,000?

2) There have been 1,100 missing persons from National Parks in the last 100 years. That's 11 per year on average. How did you stretch that to almost 4000x the real number?
> Some of it sounds ridiculous - for every new federal regulation, 2 existing regulations must be eliminated. How is that considered feasible by any rational person? It might sound great if you don't think too hard about it.

IMO this is the best thing in there. The burden of complex legislation is incredible, and there are tens of thousands of pages that could be simplified and/or removed entirely. It'd be a very long time before we ran out of stuff to prune and the benefits of doing this would be enormous.

It's hard to overstate the benefits of individuals being able to actually comprehend the legal areas in which they operate.
> Not the worst outcome, I guess.

It's both comical and sad that I think you're correct in that assessment, but only because it's been so gridlocked already, that it's just the continuation of what we know and what we know it to be pretty shitty.
The article tries very hard to portray Trump's followers as racist, but really I just think they are desperate and forgotten. A quote really resonated with me, from Lori Ayers in Ohio:

> “I voted for Obama the first time, not the second. Now I am voting for Trump. We just got to change things.”

It's obvious that what resonates with blue-collar workers is change. The sad thing is they are probably a dying breed in a world where computers are replacing everything from air traffic controllers to bus drivers.

I'm not sure if there IS a solution, apart from massive education reform (to help their kids break out of that social strata) or massive government incentives to bring jobs back -- which will most likely not happen.

Conservatives definitely have their own problems, but liberals live in such bubbles, it doesn't even surprise me Hilary lost (even though I was leaning that she wouldn't).
Ask HN: How do you manage your digital photos?
I'm the member of family who manages our collection of digital photographs.

What are your strategies of organizing photos? How do you backup your collection? Do you make your library append-only? If so, how? Finally, what software do you use?

(I prefer open source solutions but all answers are welcome.)
> Would also be nice to know how they deal with boilerplate, which is a big annoyance with Elm in my opinion when you come from, eg, Haskell.

We have over 55,000 lines of Elm code in production at http://noredink.com and it's now the majority of our front-end. Students use our site to answer millions of questions per day, and they've answered over 2 billion questions total. I think this qualifies us as a "big project." ;)

Our Elm code is about as DRY as our JavaScript code, and adding language features to squeeze even more DRYness out of it is way down my priority list. When I think about ways I want Elm to improve, I'm thinking about better support for server-side rendering and asset management (e.g. code splitting), not wanting to add type system features.

I'm always a bit confused by "I tried Elm and disliked how it wasn't enough like Haskell" posts. PureScript is a fine language that's already on board with this design philosophy. Instead of lobbying for Elm to change, why not use PureScript? There's plenty enough room in the programming world for both languages to coexist!
Still, trie lookup time is independent from your dictionary size. Sadly, in practice they are hurt by the many pointer dereferences of traversing the tree.

If you have a sorted list of strings, you can speed up the search by tracking how many starting characters on the left and right boundary of your interval already match the given word. In practice, this turns out to be almost as good as tries as most steps eliminate quite a few characters to check.

If you like theory, you can add on Range Minimal Query to get the same theoretical performance as tries. In practice though, this isn't necessary.
But where is the evidence for that? Btw, there are statistics that takes the "giving up rate" into account and they also show that the unemployment rate has decreased!
Mikey Dickerson, the head of USDS, spoke at Velocity Conf in NYC this Sept and he was hinting that the organization was done for after this administration comes to a close. It will be a shame if this is true, as his group is a shining example of great work being done for the people and something to be proud of and continued.

Here is his presentation:
https://www.oreilly.com/ideas/two-years-of-the-us-digital-se...
If the Secretary of the Treasury designates China as a currency manipulator, your new iPhone will wind up costing you $2000. What madness.
Warrant Shows FBI Malware Affected Innocent Tor Users
Good question. How did they react after the Clinton Administration put them on that list?
For corporations, there's an odd mix of sticks and carrots. For example these two promises:

"... trillions of dollars of American corporate money overseas can now be brought back at a 10% rate."

"Establishes tariffs to discourage companies from laying off their workers ..."

So a company can more easily bring back offshore billions to the US, but at the same time, new tariffs are put in place that make it harder to lay off people, thus effectively discouraging the company from spending that money on creating jobs in the country?

Seems like the net effect of these seemingly bold new rules could be practically zero.

It's odd that Trump is a businessman, yet his list of solutions includes all kinds of tariffs and trade restrictions to rein in business. There's a reason Western countries don't use tariffs much anymore: they're counterproductive if you want to stimulate growth. But I guess that old economics lesson is about to be put to another test.
You just elected the Baron Vladimir Harkonnen.
That's not awful, btw. The one upside of a large consulting firm is you can retain decent talent for boring projects by bouncing them around between assignments.... but you still have a single entity to hold accountable afterwards.

Plus a certain percentage of these people take the diverse base of experience and go start something useful. Teaching a bunch of smart, ambitious people about how the process actually works and then letting them go start their own operation seems like a recipe for job creation.... (and finding better ways to replace the status quo)
The only good news is that I'm so dead inside I don't think it even matters. "That's the thing, Will. Americans are optimistic by nature. And if we face this problem head on, if we listen to our best scientists, and act decisively, and passionately, I still don't see any way we can survive." https://www.youtube.com/watch?v=6CXRaTnKDXA
Robot 'sets new Rubik's Cube record'
There is imaging innovation happening in cellphones but a lot of it is going to making the physical/optical limitations of a device that people are happy to carry with them all the time not prevent taking a "good enough" photograph. I do think that computational photography is going to become more important and that, as we move away from "decisive moment" photo styles in many cases, even higher-end camera will change as a result.

But it's unclear what exactly makes sense in higher-end camera today, especially given that much of the audience for such cameras generally hate interfaces getting all cluttered up with the consumer features of the moment. (e.g. I think my Canon DSLR has some sort of direct to printer that I've never used--and can't imagine many do these days).
I don't get the appeal of term limits on Congress.

Why would you vote for an amateur politician instead of a professional career politician?

Aren't career politicians better than amateur politicians? If a politician is doing a good job, why would you artificially limit their term?

The branch of government with the highest approval rate is the Judicial branch, where Supreme Court Justices are appointed for life.
Agreement Among the States to Elect the President by National Popular Vote
Trump, our next president, promised to block AT&T/Time Warner merger
The greatest threat from Trump may be his toxic brew of unscientific beliefs
this is where the difference between "which" and "that" is important.
Voting Turnout Statistics
Allowing states to control the elections is a mean not an end. Given that the vote of states are determined by a popular vote within the state, the only end that is accomplished by the EC is introducing volatility.
Pulled it from their website. Should have said 'claims up to' like I did with the Surface Book.
This is so Berlusconi
https://en.wikipedia.org/wiki/Contract_with_the_Italians
Please tell me then, how is Donald Trump sexist?

*Edit to those who want to downvote me, please reconsider. I am asking a serious question, not trying to argue for no reason.
Which demographic would have been unable to put food on the table under Hillary but not under Trump? Not trying to be snide; I'm genuinely curious.
"This just goes to show that education is key."

IF it is accompanied with understanding and empathy on the part of the teacher. Condescension is part of what got Trump elected; going "oh, we have to teach these poor stupid people" or treating an education project in Appalachia as a volunteer tourism lark will do little than breed more resentment.
> The Dunning–Kruger effect is a cognitive bias in which low-ability individuals suffer from illusory superiority

High brow smack (condescension) like that and "basket of deplorables" are what America revolted against.

If the liberal left was truly smart, why did they allow the president to run up more national debt than all presidents prior...combined?
I'm an Australian seriously considering moving to America, does that count?
Has anyone tried comparing this against the Spotify web app (https://play.spotify.com/)? That might be another temporary solution.
It's very intense here in Michigan. Personally and via the numbers, and it's definitely the "flyover state" sentiment that did it.
Trump won because of Facebook
> 21 USC §461 & 9 CFR §381.171(d) make it a crime to sell "Turkey Ham" as "Ham Turkey" or with the words "Turkey" and "Ham" in different fonts

Here's the law: https://www.law.cornell.edu/cfr/text/9/381.171

This is one of a large number of sections of the law that define what food products mean, for every food product on the market, and lead to a consistent UX at markets. It's not like someone passed the Turkey Ham Font Sizes Act of 1947 or something.

It's these sorts of laws that prevent people from labeling, e.g., high-fructose corn syrup as "corn sugar". http://corn.org/facts-about-the-cra-petition-on-corn-sugar/

Trump has complained about "the FDA Food Police, which dictate how the federal government expects farmers to produce fruits and vegetables and even dictates the nutritional content of dog food."

So, expect to see corn sugar in your sodas as soon as a new federal regulation gets passed. And something else, as soon as people figure out what "corn sugar" is.
2-for-1 need not be a law, just executive guidance around what Trump will or will not veto. If it doesn't take two substantive--to him--pieces of regulation off the table for each one proposed, he'll send it back for more cutting.
What are you using that causes the discrete GPU to turn on? Install Gfxcardstatus to find out.

I get about 8 hours on my 2 year old 15 rMBP with Safari. Less than 4 hours with Chrome.
what compels someone to downvote this?
"THIRD, cancel all federal funding to sanctuary cities."

Is this explained anywhere?
So, I guess "stay at home" got almost double the votes of any one candidate... :-/
> You lose a great deal of institutional knowledge (particularly critical for civil service which has many long running programs (for various reasons both good and bad)).

NASA and DoD research labs are still dealing with the experience and cultural gaps from the hiring freezes of the 90s. I think for a lot of Americans it's easy to think of the "lazy bureaucrats" of the federal government (which definitely exist) and see a freeze or Reduction in Force as an overall good thing. However, every freeze and RIF has long lasting damage in the federal scientific community.
iHex is an alternative (native) hex editor and it's in the Mac App Store https://itunes.apple.com/us/app/ihex-hex-editor/id909566003?...
The first 100 days is actually a tradition for new US Presidents to create a plan (and a litmus test), which started with FDR in 1933.

https://en.wikipedia.org/wiki/First_100_days_of_Franklin_D._...
Some of these ideas are, I think, able to stand on their own merit. In particular, the revolving door has been identified in a bipartisan fashion to be a real problem.

I defer to actual political experts to discuss the proposed solution and its nuances.
Awesome, wish we had more of this kind of silent heroes, investing into biodiversity and keeping a little bit of nature save from the worst animal on the planet.
"made useless by lack of upstreaming"

... only if you actually need particular features of the CPU. We're running a dozen of these boards with mainline bootloader, kernel, and Xenial.

But they're headless servers. We don't need the GPU, which is the major component lacking support in mainline. You have to run a legacy 3.4 kernel and binary driver for GPU acceleration and OpenGL. :(
> Completely ignorant position.

Completely insulting and repulsive. Perhaps you were searching for "basket of deplorables"?
You can find more detail on how he plans to make Mexico pay for the wall here:

https://assets.donaldjtrump.com/Pay_for_the_Wall.pdf

Specifically, he will threaten to disallow wire transfer of money from US to Mexico by non-citizens. Since that is a revenue source they greatly depend on, he suggests they'd rather fund the building of the wall. If they agree to fund the wall, then the ban on transfers will go away.
Let see regarding new policies
Case in point: http://www.fairvote.org/lessons-from-burlington
Just FYI be careful some of the numbers are definitely mixed. This can't be right...

Registered Democrat 89 % 9 %

Registered Republican 90 % 7 %
I take it you missed the last point:

> Restoring National Security Act: Rebuilds our military by ... expanding military investment;

It reminds me of the "plan" to replace the ACA/Obamacare. Sounds great on paper but probably does fuck all to address the real issues.
In addition to that, I'm not sure what the benefit is to energy producers - oil prices are already not far above a 15-year low and domestic crude production is at a 25-year high, currently almost 10% of global consumption.

Even without subsidies or other incentives, I just can't see where the demand comes from to drive significant oil supply increases. I'm genuinely curious what the restrictions are that are throttling our energy industry.
Just for the sake of a contrasting story here: refusing to take medication for almost a decade ended up almost totally destroying my life. I came dangerously close to suicide. Thankfully I'm finally back on medication now and am slowly rebuilding. I've seen the same thing happen to several friends.

I don't mean to invalidate curun1r's experience, but I do want to make sure that people will not read a post like that and conclude, as I once wrongly did, that they are better off without medication. A bad early experience with a psychiatrist who prescribed the wrong medication for me resulted in this same experience of emotional numbness, and quitting my medication to avoid that was exactly what led me down an extremely dangerous path. It's the single decision I regret the most in my entire life.

For some people, medication really is the best chance of living something approaching a normal life. You may try medication and come to the same conclusion as curun1r, but please do not dismiss the idea out of hand, and if it isn't working well for you, try working with your psychiatrist to make things better, or maybe just getting a new psychiatrist altogether, before giving up.
> Why doesn't San Fran allow massive high rise apartments like in China or Korea?

https://en.m.wikipedia.org/wiki/1906_San_Francisco_earthquak...

Capitalism doesn't require SFO to transform into Hong Kong. You can move anywhere. I live in a mid-size city where my housing costs are approximately the same as a San Francisco bathroom.

Personally, I despise the Bay Area fetishism because I'm 3000 miles away and my livlihood will be impacted significantly when an earthquake destroys hundreds of billions of property and those mortgages get vaporized.
An insanely close election vs a racist conspiracy theory?

False equivalency.
This is actually pretty good and what I was expecting of him once he got to stop the smear campaigns that are U.S. elections. Now, let me cross-reference a few that might be good against what he's said or done in the past where I think he might try to make them happen with a possibility they will.

1. Renegotiate NAFTA and TPP. I opposed both as they were mainly just for the richest to get richer moving jobs & playing games behind peoples' backs. He might clean them up a bit or make them favor U.S. more.

2. Foreign trading abuses. He griped about that on the Oprah show especially pointing out how the Japanese make it nearly impossible for him to do business in their country. He said many of the countries supposedly have trade agreements to make it easy but they trip us up with little obstacles. He'll probably stand by that.

3. Shift from UN to American infrastructure. I have doubts climate change strategies will work at all given how they're partial with lots of noncompliance. Meanwhile, those infrastructure aren't getting much support. Lesser of two evils.

4. Cancel unconstitutional EO's of Obama. I'm for doing that for all Presidents. He should start at Bush by vetoing Patriot Act, mass surveillance, etc. We know he said Obama for a reason, though. (sighs)

5. My family and many local businesses were affected heavily by illegal immigrants where lots of people lost jobs. We've also been hit with the fine letter of the law repeatedly. I'm for tight immigration policies & fair enforcement of law. Opposite of this coin is he should start arresting or fining any business owners that knowingly hired illegal immigrants just to be fair. There are two sides to that problem.

6. Tax Simplification. Often good.

7. Discourage offshoring. Should've been doing that along with maintaining a strong industrial base domestically. A huge chunk of our economy is financial engineering. Need more real stuff.

8. Child and elderly care. Sounds good.

9. Help veterans part of the National Security Act. They've been getting dogged by the system pretty bad that I've seen.
Well, from reading a few articles, it seems like this has worked pretty well in Canada so far, so I think it's at least worth talking about. Gotta try to look for some positives here.
> I thought he had given up on that.

FWIW this document isn't dated that I can see but it does refer to election day like so:

"On November 8th, Americans will be voting for this 100-day plan to restore prosperity to our economy, security to our communities and honesty to our government"

So I assume it was written before the election
Trump Won, so can you
I'm not sure if this is what you're talking about, but unfortunately, I've had a few repos disappear because the original was served with a DMCA. Github is fast when presented with a DMCA (but also equally fast when presented with a counter-DMCA notice, thankfully). You'll need to clone it off of Github if you really want to ensure its survivability.
At about age 20 I realized that the epicureans were right. Sorting the important from the less important became much easier.
That's definitely a BIG part of it from what I'm seeing in my rustbelt state.
> I'm genuinely curious what the restrictions are that are throttling our energy industry.

"Environmental regulation". Who needs clean air or water. Superfunds Sites are cheap to clean up right?
As a serious question. Do you think civil protections for LGBT people, gay marriage, and the like needs debate and/or negotiation?

Because what makes some of us on the left come off smug or haughty is the fact that conservatives refuse to accept that we deserve those protections. Worse still, some of them think that LGBT people should be put into some kind of hospital to be "cured" because "JESUS!" I'm not trying to lash out but it's a real complaint I have as someone who was formerly an evangelical Christian. It's a thread of thought I see that conservatives get looped into that their faith should override their sense of good law. I'm not asking for the Christian churches out there to let me join their congregations. I'm asking for them to respect my civil rights as I respect theirs. It's a reciprocal arrangement with both benefit. It's mutualism at it's best. Why is this so hard for them? I just want a good answer beyond their emotive, knee jerk reactions.
The Trumpist Movement and the Radicalization Process – Lawfare
Years ago, manually vacuuming the several SQLite databases that Firefox used (uses) was often cited as a way to speed up Firefox, meaning particularly an instance/profile that had been heavily used for some time. Not sure about these days, though the other week something had me in Bleachbit (IIRC) and I saw that doing so is still one of that application's selectable functions.
As an unsophisticated screen user without any interest in what seems to be a turf war, what is the deal with the never ending stream of "Use tmux!" articles on here?
Direct link to the repo if you also want to star it.

https://github.com/devfreebooks/devfreebooks.github.io
Ask HN: Where is a good place for a college student to vacation?
I've gotten more work this semester than I'd planned on and have a bit of money saved up, that I wouldn't mind spending part of on a vacation. I live in the southern US and have never been out of the country, so I think that would be a fun experience.

I've seen good things about Africa and Southeast Asia, but I doubt I can get any friends to put up the money to come with me, and I'm not sure I'd like to go there alone with no experience traveling.

I'm looking at going either over winter break (2nd week of December to 2nd week of January) or over spring break (2nd week of March).
2 Marine fighter jets collide off San Diego over Pacific Ocean
> Elm certainly has a lot of boilerplate compared to Haskell

This is not true based on my experiences with Elm and my knowledge of Haskell.

Could you elaborate on why you are certain of this?
Totally agree with you. Just read that book a few months ago. Scary similarities, and prescient (let's hope not too much).
Feature request: Need to know when somebody is actively speaking to you.
My facebook certainly does.
Hopefully Trump will not be able to bankrupt the government in 4 years. Filibuster in the Senate is an option for 2 years and maybe there will be some shift in 2018.
I know what you mean. Talking to people about things like, say, government surveillance. I have strong opinions on that. Nothing that this crowd wouldn't agree on mostly, but I'm the only IT guy in my life and generally encounter infuriatingly simple minded positions with this topic. Nothing to hide, nothing wrong with ogling your data.

I tried to explain. Edward Snowden said to ask people to give you their phones unlocked for half an hour. I extend the metaphors, I give concrete examples, but emotional bias trumps anything I bring up. I get angry, nobody wins anything.
let see the his new policies