skysight-inc/HackerNews huggingface dataset:
>> Mac hardware is great!

I think that depends on your view. IMO, Apple generally does make some of the best hardware in terms of quality and design, but there are exceptions.

The Mac Pro garbage can, for example. I don't know why they chose to make an art piece to replace the incredibly functional and expandable tower that existed before.

Another example is the early 2011 Macbook Pro 15" with discrete GPU, which had serious overheating problems that they just pretended didn't exist for more than three years.
In all fairness, did they know it happened? I'll reserve judgement.
Christmas/Black Friday shopping, or was it a fall specific product? EG. were you selling rakes?
Had there been employees, taxes would also have been collected from them. Replacing employees with robots reduces tax revenue. Sure, additional profits going to the owners make for more tax paid by those owners, but not enough to offset the reduction in tax revenue caused by eliminating employees.
Getting started with preact and progressive web apps
Time magazine as well FWIW.
So many things wrong with this list. Fish stuff in the ZSH section, the FreeBSD package manager in the Linux section, Cygwin is not a package manager (you still need apt-cyg or sage to install things in Cygwin without rerunning setup.exe) ...

Sometimes I see good stuff in these lists, but this author looked like they didn't even really try.
Just received an email from Glidera, a Bitcoin exchange. This is the first service to ask me to reset my password. I wonder why Uber, NameCheap, FitBit, and many others have yet to warn their users? Is Cloudflare downplaying this?

> Hi [Username],

> A bug was recently discovered with Cloudflare, which Glidera and many other websites use for DoS protection and other services. Due to the nature of the bug, we recommend as a precaution that you change your Glidera security credentials:

> Change your password
> Change your two-factor authentication

> You should similarly change your security credentials for other websites that use Cloudflare (see the link below for a list of possibly affected sites). If you are using the same password for multiple sites, you should change this immediately so that you have a unique password for each site. And you should enable two-factor authentication for every site that supports it.

> The Cloudflare bug has now been fixed, but it caused sensitive data like passwords to be leaked during a very small percentage of HTTP requests. The peak period of leakage is thought to have occurred between Feb 13 and Feb 18 when about 0.00003% of HTTP requests were affected. Although the rate of leakage was low, the information that might have been leaked could be very sensitive, so it’s important that you take appropriate precautions to protect yourself.

> The actual leaks are thought to have only started about 6 months ago, so two-factor authentication generated before that time are probably safe, but we recommend changing them anyway because the vulnerability potentially existed for years.

> Please note that this bug does NOT mean that Glidera itself has been hacked or breached, but since individual security credentials may have been leaked some individual accounts could be vulnerable and everyone should change their credentials as a safeguard.

> Here are some links for further reading on the Cloudflare bug:

> TechCrunch article: https://techcrunch.com/2017/02/23/major-cloudflare-bug-leake...
> List of sites possibly affected by the bug: https://github.com/pirate/sites-using-cloudflare/blob/master...

> If you have any questions or concerns in response to this email, please contact support at: support@glidera.io
For anyone who has actually watched these press briefings in their entirety: Does anyone else think these are pretty much the worst way to get to the bottom of issues? Here's how it seems to work:

* The press secretary (or President, or whoever) makes a statement

* He or she chooses a journalist to ask a question

* Journalist asks question

* Press secretary answers question in as much or as little detail as he/she wants

* Press secretary calls another journalist

* This goes on for maybe 20-30 minutes, and it's over.

How does this even help at all? It's not like the press secretary is going to answer a question that he/she doesn't want to answer anyway.
The numbers are available: 65,000 CPU years & 110 GPU years.

Assuming that the massive numbers of cores necessary don't cause any extra difficulties (seems like a stretch), we get 68,328,000,000 CPU cores to do the CPU portion in 30 minutes, and 115,632,000 GPUs to do the GPU part in 30 minutes.

Assuming 1U servers each with 2 64-core CPUs, that's at least 533,812,500 physical servers, which is at least 12,709,822 42U server racks. That would take up ~85,000,000 sqft, or 3.04 square miles.

That's just for the CPUs. You could probably fit 1GPU per server, but I assume this isn't the typical config for cloud GPUs. In any case, it could probably be done in, let's call it 4 square miles of server floor space.

Note: these are pretty conservative estimates at every step. It doesn't take into account any practicalities, like having server aisles wide enough for golf carts (because, really, 3 miles on a side is a bit of a hike on foot). Or how power is delivered. Or how to communicate all of that parallel work. Or the colossal amount of maintenance staff that would be required. Or keeping that many servers cool enough to work continuously... etc.

After you figure all that out, now you can get to the small task of figuring out how to continuously deliver 120-ish[1] gigawatts of power to those servers.

[1] 90 Watts per 64-core CPU (2 of those per server), and 180 Watts per GPU (lifted from fryguy's sibling comment). Turns out the CPU part is a lot more expensive in just about every way than the GPU part. Accordingly, you would probably adjust this so that you spend 55 minutes on the CPU and 5 on the GPU portion, or something like that.

[Edit: added the footnote, and refined my estimate of the power requirements, also clarity edits]
Time also did not attend. They deserve credit as well.
Agreed at ignoring K/D :D

Hmmm. So I don't think of Overwatch as a "Hero" type game (although I'm not sure what you mean by that). I think Overwatch classes map to TF2 classes pretty straightforwardly. And there's no leveling or grinding for functional items, so it is maybe even a better than TF2 in that regard?
Latex...(drops the mike)
True, but Amazon's conversion rate is likely the highest, probably by quite a bit since it's such a trusted store and has a huge number of registered users with stored credit card data.
To be fair, when it comes to those F2P phones games, I would start to agree with the cigarette analogy... those are just skinner boxes with coin slots.
This. Markdown is good for non-technical people who struggle with a real markup language, but reStructuredText is so fiddly that I can't figure out who's better off using it over DocBook, or HTML, or LaTeX, or even nroff.

This is `a footnote`_? Seriously?
.. _a footnote: http://example.com/
No they do not have that right. They have the right to if management is willing as you say, which they aren't, in this case. They do also have the right to play their part in replacing the board, and they do have the right to try and pursue board membership. But they aren't entitled to work within the company to change its culture simply because they're an investor. Companies could not accept investment if this was a right extended to investors.
While I agree on the whole solidarity thing, isn't it better to have more news organizations at the press briefings?
Sounds like an upcoming Postgres announcement at NEXT :)
If you give the option of any language and they choose Java to work on a single instance of an untyped array, they should be disqualified.
Bitter Harvest Official Trailer #1 (2017)
I meant that you definitely want the truncation, not whether you pick SHA2 or not. There are other choices for sure that are also immune to length-extension.
Yes you can code up sum types in the object system of Java or C#.

But are you allowed to do that? The problem write-up makes it sound like you're supposed to be ingesting the interviewer's input. So, how did the interviewer code up sum types? With tons of nasty casting out of List<Object>, or with a slightly less terrible object hierarchy mimicking sum types?

That's what makes the question terrible. It implies you're supposed to be coding against an interface, but in the allowed language (Java) it's totally non-obvious what the interface is.

I'll submit this criteria for coding question: if a big chunk of your candidates can't write down the friggen type of the program you want them to implement -- and if two reasonable people could write down extremely different types for the same question -- then your question is bad and you should throw it out.
Yes, but Conemu already provides access to a lot of unix-y tools.

If your needs are already being met, it's sometimes hard to make time to play with something that does the same.
I agree. I'd like to see more and more frequent policy debates between the parties even when the election might be years away.
Thanks for bringing this up! I would rather expect an anonymous set of questions go up on into a ballot and picked up randomly for the Press Secretary to answer. A follow-up could be decided extempore based on who asked the question.
While those actions (and inaction) at Uber are despicable, part of me thinks that this was inevitable. In order to break up an entrenched, crony industry like ride hailing, you end up taking on some of their characteristics. Getting a female cabbie is incredibly rare in big cities[1], and associating with male drivers all the time is bound to produce some chauvinistic behaviors.

I'm not excusing the behavior, but I think this definitely rubbed off on them. It's an ends justify the means mentality, and it might not have been necessary under a different power structure. I suppose there's a chance that Lyft could have done it right, but who knows how they would have handled the other PR battles. Hopefully a new crop of managers at Uber, eventually dealing with a much more diverse group of drivers, one that includes machines, will be much less chauvinistic.

[1]: https://www.theatlantic.com/business/archive/2014/08/how-ube...
Witnesses: Bar gunman shouted ‘get out of my country’
E2EMail research project has left the nest
> The second issue is that a question like that is not even remotely fair across programming languages. What about types?

I wonder if part of this test is to see if a programmer will choose a language that's appropriate for it. Picking the right tool for the job and whatnot.
Sorry but that's just blatant lying. Apple takes great care of optimizing its OS and apps for its hardware, to the point where it's possible to use Final Cut Pro on the anemic MacBook 12 somewhat comfortably(!)
Namecheap: https://blog.namecheap.com/cloudflare-security-incident/
I was accepted and was selling for 3-4 weeks, up to $400 in fees then randomly they shut down the account without a concrete reason. Said I violated terms but have been silent in trying to communicate so I can resolve any issues. :(
Better none than this approach.
You're right, the press briefings are absolutely useless. That said, the message sent by this is not a good one.
Google's threat models include nation-state adversaries: I suspect the effort that seems "prohibitive" to you was seen as necessary after the infamous smiley on that PRISM slide. Security is an existential threat: if user's don't trust Google, they will fail.

Google also has an internal PKI CA - I think they meet and exceed that security baseline for rigor.
Good for Trump. CNN and friends not only have no credibility left, they've treated him with such disrespect and disdain that I'm not surprised he ain't doing them any favors. Trump will probably leverage social media and YouTube a lot, and the media can continue to re-spin stories downstream like before. Just far fewer people will take them seriously.
Nah, I'd rather stick to polymer instead + redux/uniflow :-)

Or i'd go with vue/react as alternative - is the whole react ecosystem compatible with preact?
Yes more not selectively more.
The real damage is that ROFR's often allow partial matches rather than require taking 100% or 0%. Where this goes really badly is an Investor wants to do $2M at 10M and the other investors wants to ROFR half the deal. $1M might be below the minimum investment threshold for VC2 and the $1M from VC1 might be too small for the whole $2M targeted round by the company. So now the whole deal falls apart because you can't fill out the whole round since VC2 won't invest 50% of the round and VC1 can prevent VC2 from taking a large enough block by ROFR some of the shares in the deal.
The difference is there's no length to most video games. If you sit down to watch a movie you've blocked out ninety minutes (or whatever), and when the movie is over you're not going to tell yourself "I'll just watch for five more minutes."

If you're the kind of person who can't ignore that voice you'll end up spending a lot more time gaming than you intended, particularly if your game of choice has some sort of level treadmill.
Wow.. and what if the reviewer sucks? That happens. What if you get a lemon? That happens. What happens if the reviewer is being paid? That happens.

Returning on Amazon is one of the easiest things to do on the planet.

What amazing products are you going to miss out on? Most of the stuff on Amazon is just re-branded FBA shit. Most of each category of consumer products come from the same factories in China. Go to Alibaba and source some stuff... It's what all the FBA'ers do.
Sliddit: Quick, free solutions to everyday fair division problems
Zenysis (YC W16) is hiring engineers for global health and humanitarian crises
http://www.zenysis.com/careers.html

Zenysis helps governments and international organizations analyze massive volumes of data for insights that save lives.
Developing countries are using Zenysis right now to deliver emergency aid to millions of people in need, stop infectious disease outbreaks, deliver lifesaving vaccines to millions of children, and more.

You'll develop core parts of our data integration and analysis platform, working closely with founders and other engineers to grow the only company of its kind in the world. We made extraordinary progress in 2016: our software is already helping governments meet the challenge of providing lifesaving healthcare to more than 100 million people. Now we are looking for exceptional people who can help us reach the next 100 million and beyond.

We’re looking for someone who:

- believes technology should serve a higher purpose and is motivated to help those in greatest need

- has architected applications at scale

- is comfortable dealing with lots of data in lots of formats

- has built great things

Examples of problems we're solving:

- figuring out how to import data for an entire country and make it useful to ministers, senior government officials, program officers and healthcare workers as quickly as possible

- creating an disease outbreak alert system for an entire country

- predictive analytics to help governments get ahead of shortages of items like food and medicine

- empowering health analysts to determine the path of disease outbreak, whether interventions are actually improving health outcomes, and how those outcomes can be improved

To apply, or if you have any questions, email jobs@zenysis.com or check out http://www.zenysis.com/careers.html
Unsure about the random downvotes. It's CloudFlare's "Flexible SSL" offering. Granted, sibling non-speculative comments elaborate more thoroughly for the "non-flexible" cases.
> "Who can find the most abusively unfair strategy first, and then exploit it."

I'm not sure I agree with this. "Finding" the best strategy rewards you for a week at most, until the community absorbs the strategy. Then you're no farther than the people you were beating last week.

Most games have co-opted the word "metagame" to describe this phenomenon. Someone discovers an effective strategy, it becomes the metagame, and competitive play revolves around polishing understanding and execution as it pertains to the metagame.

Imbalanced games tend to self-balance at higher levels - all the crap that doesn't work just disappears from high-level players' playbooks (except occasionally as surprise gimmicks).
No, it isn't a good message at all.

In fact, I'd say it's downright ominous.

FCC is in the middle of legalizing regional monopolies, DEA is busy banning Kratom in the middle of the worst opiate crisis in decades, and the White House is barring media outlets from press briefings.

it doesn't even sound like I'm talking about America, right? something is very, very wrong.
They would probably be banned later anyways. Makes sense for them to pre-emptively not attend.

That said, I do appreciate their taking a stand on principle. Just pointing out the likely future outcome.
Sounds a lot like how most private trackers work.

As you mentioned, it is too difficult to get off the ground with an invite system, but it may be interesting if an existing community became invite-only. Unfortunately the high risk of torpedoing your business is a deterrent.
"Asked about X, press secretary didn't provide more details." is still interesting information. Well... during more normal times anyways.

I do agree it could be more transparent and useful than a reality show however.
There are reportedly algorithms to detect voting rings and such.

If we consider the prototypical HN reader to be working at a startup building a cloud-hosted mobile-first location-based social app then these stories are indeed relevant.
The Obama administration attempted to freeze out Fox News, although it wasn't so explicit. To the credit of the rest of the press, they revolted enough that they backed down.
If AP and Time knew and skipped out, they definitely knew as well.
When you're going through hell, keep going.
Women have objectively measurable differences in body measurements from men. This requires that garments for women be constructed differently than garments for men, in exactly the same way that a garment for a bear-shaped man must be constructed differently than a similar garment for a scarecrow-shaped man.

In principle, the opportunity for unfair discrimination is the same as if the company got a discount for their S, M, L, and XL jackets, but did not get a discount for the XS jackets, and actually had to pay extra for the XXL and XXLT jackets.

By offering males their choice of sizes, even if it was just between L or XL, Uber already obviated that argument. If you give garments to all your employees, you really need to have a lot of checkboxes:

[_] XS [_] XL [_] 0 [_] 8-10 [_] Other:
[_] S [_] XLT [_] 2 [_] 12-14 Chest ____ Neck ____ Torso ____
[_] M [_] XXL [_] 4 [_] 16-18 Waist ____ Sleeve ____
[_] L [_] XXLT [_] 6 [_] 20-22 Hips ____ Cuff ____

There, everyone's covered.

There's nothing inherently female about size 8-10, or inherently male about size XL. They are simply different sizes. Statistically, those sizes were standardized to fit the greatest number of potential buyers with the fewest variations in pattern parameters. There is a great set of US Army recruit measurement data out there if you wanted to try to design different size categories (for non-obese individuals, due to the inherent military bias), but I think you would have a difficult time doing so.
http://thehill.com/homenews/administration/63167-congression...

It's not a 100% precise match, but I'd look dimly on anyone trying to argue it's completely different somehow. Reverse the affiliations and you'd almost think it was written today. (Almost.)
I think the implication is "should they make a suboptimal decision in order to stay on schedule?"

In this case 'suboptimal decision' is denying access to OSS.

I think.
Venezuela, Turkey, Hungary, maybe?
The REX Neo Architecture: An energy efficient new processor architecture
A quick google search suggests Obama did the same thing.

http://abcnews.go.com/Politics/Vote2008/story?id=6156794&pag...
Barring the NYT is a shame. Not sure about Politico. CNN, on the other hand, has become a cesspool compared to its early days of reporting.

Edit: Come on, HN. That downvote arrow doesn't mean "I disagree, politically". Let's not look like the Share Blue-infested mess that is /r/politics on Reddit.
Faced with this problem, I would precisely wrap Lists and Ints in containers implementing a common interface and demand that the input be in that form (actually, the input is text right? so I'd parse it into that form - assuming I couldn't get away with just manipulating the textual representation).

Note that in the genuine sum-type case you're wrapping, too.
Move to the Great Lakes Region. Work at a hospital or something.
I feel like the modern Press Briefing in the USA is a form of the completely useless Canadian "Question Period."
(Responding to my own comment) I guess Churchill would say, "Democracy, the worst form of government, except all the others that have been tried." That doesn't mean we can't improve. Press briefings just seem broken.
Rubric item #10: "No one thinks about generic program so that solution will work across all types."

you fail.

(I don't intend to be mean to you, I intend to be mean to the question ;-) )
Has it honestly not occurred to you that they might treat him with disrespect and disdain because he earned it?
Susan Fowler Rigetti says Uber preparing to smear her
People with integrity value hard questions from their critics.
Not only are they barring news agencies they don't like from press briefings, they're bringing in radio talk hosts in the form of submitted video to fill the gap. Completely insane.
But did you see his inauguration crowds? How about those millions bussed into New Hampshire to illegally vote?
No, it's better to enforce the norms of a free and antagonistic press.
From the article;

“Nothing like this has ever happened at the White House in our long history of covering multiple administrations of different parties,” Dean Baquet, the executive editor of The Times, said in a statement.
Are you talking about buying from Banggood or Aliexpress? If you are buying directly from China via Amazon you are doing it wrong. That is, you are overpaying for the same products that one can easily find on other channels for much less if you are willing to wait for shipping from mainland China.
Aren't they paid to know when things happen?
You can install Gnome Sushi to have that in Linux.
you conveniently forgot about Obama but I guess that was Fox News so lol who cares right?
If the sole goal of the press briefings becomes manipulation and propaganda, then at some point giving them airtime and headline space can be worse than abstaining from coverage altogether. This is why some cable news channels have stopped inviting Kellyanne Conway on the air, for example.
Is there still no way to make iTerm2 refresh faster? When doing quick scrolling or output, it's so noticeably choppy compared to Terminal.app, or even Xterm.
Well proof will come out in the mid-terms. Do most voters want this kind of leadership or not?

Of course the GOP is going to contract voting rights as much as possible in the interim, so it's going to be a battle.

Liberals don't vote. Will that change?
Forget hero entrepreneurs. Here’s how to be a vulnerable visionary
I always see these types of comments, and it seems like they are either talking from pure bias or outdated experiences.

Flagship android phones are close to flawless not only in hardware but in the integration with Google services, which are far beyond anything Apple has the ability to provide. As a Samsung S7Edge owner I simply cannot relate.
While tech giants hire, startups fret – Has Brexit Britain become La La Land?
Agree 100%.

Title of blog post could be "How do I keep failing to convey the basic constraints and requirements of a programming interview question?"