skysight-inc/HackerNews huggingface dataset:
If you deliver a byte per interrupt to be compatible with PS/2 then your system has to wake up more frequently than a DMA/SPI interface.

Nothing says Apple couldn't just add DMA capabilities to a PS/2 controller, sort of like how bus-master IDE works.

USB can be configured to directly store the data in memory, so that in the ISR the operating system simply scans memory.

That's just DMA, but the USB controller itself has to physically poll the bus. (Excepting some features in USB 3.x, which I don't think I've seen any use of currently for keyboards or mouses.)

PS/2 on the other hand has to be polled inside the ISR, whether there is data available or not. Not a problem for a keyboard, but touchpads send a lot of data (of course, this is why everyone uses SPI for touchpads)

If I remember correctly, the polling is only necessary for writing commands to the controller+device, and not the usual reading of data. There are plenty of touchpads that use PS/2 as well, and they usually appear to be mouses until switched to a different protocol mode.

A lot of laptop vendors have to include "compatibility chips" that take up space and draw down battery because they don't control the software, but if they did control the software they could make their users happier.

"compatibility chips" - such as?

Hardware is not mere programmable matter, it has wires and current, and those wires take up space, and that current draws down your battery.

The amount of processing required for a USB stack is far greater than for PS/2 and presumably Apple's custom SPI solution. I think the main point to take away from all this discussion is that although Apple could've taken an existing widespread and compatible interface with similar characteristics and enhanced it to fit their requirements, they didn't.

...and that obviously many users here are not "happier" because of it, but Apple doesn't care.
New Filing Confirms Yahoo Was Aware of Large-Scale Email Hack in 2014
I think the idea in this case is that there isn't re-victimization. The point of these sting operations is to lead to less victims overall.
I wonder if people actually think he's going to do what he said. The guy has a history of talking bullshit to get what he wants. He just said all the right things and made a bunch of promises to become president. He doesn't care about following through. Why would he? His promises were a means to an end. Trump has a history of fucking people over and now it's our turn.
Out of all the comments in this thread, you win the prize.

I said: Liberals just say everyone is a racist bully and then don't want to listen.

You say: Milo is a racist bully. I don't want to listen and debate you.

I hope you are influential and charistmatic, because your desseminated ignorance will help Trump win in 2020.

Thank you!
Mark Zuckerberg: The idea that Facebook influenced the election is ‘crazy'
Based on what I read in the suggested manual fixes in the thread, their SQLite db is constantly being VACUUM'd.
I still dont see why people refer to Trump as some negotiating savant. Time after time, its been shown that hes notoriously thin skinned and easy to rattle. During the 3rd debate he was not doing terrible until Hillary commented that he's only successful because daddy gave him money. Trump's inherent identity and belief that he was responsible for all of his own success being under attack in a public forum caused him to become apoplectic. You could see the anger rise, his face turned beet red, he saw red, wasn't thinking clearly and it was then that he went off the rails and his performance suffered. It was clear he had been rattled and veered far off message.

I imagine this is his personality. Whatever the case, it has been a constant since I became aware of him from Howard Stern during his playboy years in the 1980's. New Yorkers are well aware of this, his ego and his compulsive need to settle scores with reporters and others for any perceived slight whether imagined or real when he was a fixture of Page 6. Someone like Putin or anyone else with a poker face and on even footing could play him like a fiddle, alternating between awe/flattery and hurling passive aggressive insults.
One of the great insights in the Rules of Play[0] (which is a great book but has some frustratingly fundamental issues because it uses a very naive interpretation of semiotics as its first principles), is that games have their own sense "aesthetics" compared to film, photography, or other art-forms before it.

Like film and photography in the last century, we're still figuring those out. But what is clear is that the main aesthetic experience revolves around the interactive loop a player has with a game. This is different from, say, the interaction with a painting.

In short: the aesthetics of games are fundamentally based on the aesthetics of interaction. And therefore much more broadly applicable than just a game-context.

This is why many interaction design studies have a game design course (I gave a few when was an adjunct IxD teacher at Malmo Uni). Other than being a bit of self-indulgence of the professors, that is.

[0] https://en.wikipedia.org/wiki/Rules_of_Play
On docker-machine: https://docs.docker.com/swarm/provision-with-machine/

(Or, how else should I provision Docker on multiple non-AWS hosts at once?)
It is a world-wide backup of a Spotify developers private MP3 archive.
The setup.py for Supervisor noted support for Python 3 starting in May of 2014: https://github.com/Supervisor/supervisor/commit/ad5cd0849a5f....

Here are the blocking issues for official support: https://github.com/Supervisor/supervisor/labels/python%203

I've been running it under Python 3 for a while with no problems.
My reading is that they are legally allowed to have sex, not rape. Whether that has led to abuses is a serious issue, but saying "legally allowed to rape" is misleading.
OK. So it's not offensive to you. Is there no one who would be offended by being told "Happy Ramadan"? I think it's clear that some people would be offended.

Walk a mile in their shoes and maybe you'll understand why some people get offended at things you don't get offended at. Is there anything that offends, disgusts you? Is there anything that causes you to react with anger, sadness, fear, or any other such emotion? If so can you imagine someone that would not be similarly offended? Can you imagine that person saying, "Why is Mikeb85 such a goddamned wimp?"
Great stuff, my only recommendation would be to link to sources where he said these things.
> a Tor exploit of some kind to force the browser to return the user’s actual IP address, operating system, MAC address, and other data. As part of the operation that took down Playpen, the FBI was then able to identify and arrest the nearly 200 child porn suspects.

So, is getting someone arrested as easy as spoofing their network information and visiting those sites? I can already imagine trolls using this to have people swatted.
> let POP_SIZE = 50

c'mon everyone knows genetic population is 30

(I kid I kid but that number has an interesting story https://statswithcats.wordpress.com/2010/07/11/30-samples-st... )
Gource – A version control visualization tool
Not all info is public: e.g. user email addresses aren't.
That being said: fact avoiding filter bubbles are still scary as fuck.
How do you define "custom deployment system"? Jenkins multi-branch pipeline deploy workflow?
Just apply already.
Perhaps a distinction without a difference, but they weren't 'legally' allowed to do this (iow it was still a crime), they were just immune from prosecution.
The FBI certainly didn't catch the creators and distributors of the original content because those people operate as professional criminals. The sting may affect their revenue stream by scaring off consumers who were under the illusion that they could make themselves safely anonymous.
> The wealthy should pay more. ($ amount)

> Cut taxes for the wealthy big time. (Percentage)

Not necessarily. If he lowers tax percentage for the wealthy and they evade less, the $ amount payed will be larger.
So you think it's ok to say everything Trump said during his campaign, and NOT be called out for it because... it's wrong to call people names?
A meeting of very different First Ladies, present and future
IP addresses for anonymous commenters/submitters?

Chilling effects are real and I can imagine that there are sometimes comments critical of governments that people only want to post anonymously.
I applaud your efforts to understand this as I'm eager to also. It's a mentality or similar to one I've found myself in deadlock with before. For example, I asked a relative of mine if they would sacrifice themselves to save the lives of N number of people and there was no value of N they considered worth more than their own life. This relative found it uncomfortably easy to ignore and even justify the suffering of strangers. Not to say that the GP feels precisely this way. I'd hate to ascribe this particular belief to anybody that didn't directly espouse it.
About a week ago commented with a friend of mine his last album was absolutely wonderful and how awesome that he was 80 years old and still creating with the quality that he was. He was the musician that touched the most, others I sort of grew out of but always came back to Leonard - I suspect that there hasn't been a month in the last 15 years where I haven't listened to him. As an aside also discovered Irving Layton, a poet, through him.
I don't think that works well if the view is a complex function of the state. You can break the MVC into smaller components with an inner state, but how do you know which components to update when the outer state is updated? I believe you can't know, unless you duplicate the complexity of the smaller components into your larger component.
I voted for Bernie am a progressive, and the CEO's actions sound like something a right-wing nutjob would do... Have we the left moved so far right we've become the nutjobs? (Bernie people aside of course)
If you haven't already, this is an excellent read -

http://www.newyorker.com/magazine/2016/10/17/leonard-cohen-m...
Unplugged thoughts of enterprise it leaders by W2S Solutions
Is it an actual graph? Can I get all objects pointing to some other and vice-versa? Is that efficient? Does that mean making thousands of queries?
As long as you're not on the autobahn with one of the 2%, you'll be fine!
https://news.ycombinator.com/item?id=12914661
> Something like 98% of suicide bombings were by muslims this year.

I didn't say in the US. You added this refinement. On relevance, US foreign policy affects the world.

> You should have never started suspecting them of being terrorists.

I don't. But people will. You think a Clinton presidency suddenly makes everyone stop thinking things. Not everyone is like you and me.
Ask HN: Is PHP still a mess?
PHP is that one language that people love to hate. And from what I've read of the days before I got into programming, they have good reason to. However, a lot of these popular articles I've found are in the 2008-2012 time frame. Did PHP 5.5 alleviate a lot of concerns? Or did people just get tired of writing WoT about the issue?

In addition, now that PHP 7 is out, would you still consider it to be a hot mess? Is it getting worse? Better? Or staying the same?
Ever heard of Operation Achilles[1]? If pedophiles (and immoral people in general) were all stupid our world would be a much better place.

[1]: https://gist.github.com/grugq/7713916
k8s is a great complement for docker. Usually any arguments against docker are in a context where you are running it outside of k8s.
site says it is not longer maintained
This seems like a great way to vent about the election.
If the evidence supports that conclusion then how come he wasn't convicted? Is it all a big conspiracy and the judges are in on it?
1. Define mental health in terms of adherence to the mean.
2. Find a group where adherence to the mean is mandatory in order to continue in the group.
3. Success, the group makes you mentally healthy!
I have been running MBAM (free version, scan only)/MSE for years without ANY issues, not a single virus on any of my windows machine.

I can't understand the need for bloatware aka "anti-virus", if you take the time to educate the users and train him to stop clicking and installing whatever pops up in their screen then they can pretty much rely on MSE and have a clear mind.

Obviously MSE might not detect EVERYTHING but basic education on how to treat spam/advertisement/phishing goes a long way.
Business process outsourcing/Knowledge process outsourcing
> so I'm assuming he thinks we can somehow talk retail stores into offending their customers again

I don't believe that most people are so intolerant as to allow themselves to be offended when they hear "Merry Christmas". If they truly are that intolerant to western customs, then I don't think it's right give them a pass. Tolerance goes both ways.
What So Many People Don’t Get About the U.S. Working Class
haha, that's exactly what I said in my comment.
Are we all just sharing everything we write on here now? Is this notable for some reason?
however for comparison, presented without comment: python version 0.708s
Newt Gingrich wants new House Un-American Activities Committee

http://www.cnn.com/2016/06/14/politics/newt-gingrich-house-u...
Trump was going to win the election.
Thanks - I probably read a headline somewhere that entering the US illegally is not a felony and did not consider that it could still be a crime - a misdemeanour as you said.
Okay. Done with those edits. This is a tricky thing to try to express, so I hope I pulled it off.
The word condescending is not enough to describe that. That is hatred and disgust in the form of laughter.
Thank you for that article. I shall read it in depth later, but a cursory glance suggests that Mr Thiel believes, as many do, that freedom means not being compelled to help his fellow humans, or even his own immediate society, by taxation or any other means.

The article also has a very alarming quote:

"The fate of our world may depend on the effort of a single person who builds or propagates the machinery of freedom that makes the world safe for capitalism."

What happened to making the world safe for people?
Scientists are not sadists, and welfare is taken extremely seriously. What people don't see are the efforts to enrich living environments, provide sedation and analgesia, or the reams of protocols on monitoring and rapidly terminating experiments if the animal is distressed. None of this exists in livestock farming.

Also, for me intelligence is besides the point. If someone is suffering, I don't factor their IQ into whether or not I should help them. What I am saying is that if we are happy to accept animals suffering for our benefit, then we should not be selective about it.
+1. TDD could be considered as a derivation of the Scientific Method (Hypothesis Testing).

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

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

Test first isolates out a null hypothesis (that the test already passed); but not that it passes/fails because of some other chance variation (e.g. hash randomization and unordered maps).

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

... https://en.wikipedia.org/wiki/Test-driven_development
What event are you pointing specifically in India? (Sorry, not much familiar with events there)
Well i'll be...thanks!
Only 3K!
> The owner of this website (www.fordfoundation.org) has banned the country or region your IP address is in (RU) from accessing this website

Well, I don't see any roads or bridges...
And those people are exactly the problem. They are willing to throw away the Supreme Court, climate change, and fair immigration all over a perceived personal slight.
Thanks, that's cool. I've just bookmarked it for reading tonight.
It's not that hard to work around this:

I've deployed a global unit into our coreos cluster that regularly executes:

#!/bin/sh
while :; do
# remove stopped containers w/ volumes
docker ps -a -q -f status=exited | \
xargs -r docker rm -v
# remove dangling images
docker images -f "dangling=true" -q | \
xargs -r docker rmi

sleep 6h
done

You need to be sure that you don't lose important data when running something like this in your setup, but it works nicely to remove old images. This script is deployed to non-coreos servers as well.
You can't chum the water and not take any responsibility when the swimmers get attacked by a shark.
I for one would be completely fine with doctors harvesting my organs after my brain is sufficiently damaged that I won't experience conscious thought again, even if my lizard brain is still alive and supports all bodily functions.
I'm having trouble with this implied connection of corruption and feminists, 'sjws', etc.

Another issue: are you agreeing with _anything_ feminists are saying?
Has anyone done something like this during Obama's administration?
If someone were move/emigrate to Jordan knowing Jordan their traditions, history and religion and they found that offensive, there is something fundamentally wrong with them moving to Jordan. I'm also sure Christians, Buddhists , Jews, in Jordan understand and are not offended by that either.
All we need to invent is the wireless energy receiver!

We did, and we've already hit the quantum limit of how efficient they can be.

It isn't enough.

Well it is enough, but there isn't an efficient method to store or transmit the captured power. Solar is awesome, but the places it is most available also happens to be where it is least needed, in general, I'm aware of Saudi Arabia.

It should also be pointed out that Solar is the most [1] green house gas producing method of green energy. Wind, Nuclear, Hydro-Electric, and Tidal are all vastly more carbon efficient.

[1] https://en.wikipedia.org/wiki/Life-cycle_greenhouse-gas_emis...
Singles Day: Alibaba breaks record sales total
btw was this after compiled to pyc?
Dead Man Elected to Office in Oceanside, CA
I keep hearing that you shouldn't containerize databases. What is the motivation behind this?
To a large extent, yes. Try not to worry about it, they still help sort more interesting comments to the top.

(I gave you a net 0, upvoting your comment and downvoting your complaining)
Qualcomm, Netgear, Telestra, and Ericsson Show Production 1Gb LTE
where can I read more about this?
This is more about privacy.
>Walk a mile in their shoes and maybe you'll understand why some people get offended at things you don't get offended at.

In the western world we're incredibly tolerant to other people's religion, lifestyles, etc. If someone is intolerant to the point that they get offended from hearing "Merry Christmas", then it's clearly time to re-examine their own lives.
Sorry, I should have been clearer. If you accept the idea that a child is re-victimized by the viewing of child pornography (which, as I understand it, is one of the justifications for the criminalization of viewing child pornography), then I don't see how what the FBI did can be considered acceptable.
I'll wager this was mostly because of the lack of funding. Those reactors were not as thoroughly researched as the light water ones. In a sense, they're still stuck in the 60's. (Really, putting molten salt reactors in the "new generation" bucket is a bit of a joke. It's old stuff that was shut down mostly for military and economic reasons, and only recently got more traction.)

Another possible cause is path dependence. We have a whole industry around solid fuel, light water reactors. Switching to molten salt throws much of that away.

Much research still need to be done. We may want cleaner salts, we want even less radioactive waste, and we definitely want to accurately assess the safety of this stuff ("passive security" is not enough by itself). This means more prototypes reactors, of various sizes, each more expensive than before. We want a few million dollars for the small ones, then a few billions for the big ones.
As noted elsewhere in the thread - FBI did not continue to serve child porn off of those sites, it swapped it to an error message that served malware targeting the TOR browser.
Yes. He did pretty well. Compromised on some stuff, was obstructed in many. Some fell by the wayside.
Security challenges in Niger Delta over soon – Kachikwu
You might want to take a look at Haxe and the OpenFL library!
I mirror your stance in a way... and it is funny how this election has helped me grow as a person. I've rejected labels such as liberal or conservative and consider myself as someone who trys to overcome my natural tendency toward cognitive bias through reason and fact. Until I'm convinced that facts support reason I reserve the adoption of any belief and I always keep an open mind to new facts or stronger reasoning.
positively whimsical.
Don't know who Steven Mnuchin is.

"Establishment Authorities", and I should emphasize I'm talking about "Authorities", not, for example, the ever more loathed GOPe(stablishment), on the Right who haven't exactly covered themselves in glory this year include:

National Review (NR/NRO)

Erik Erickson and his Redstate website (a leading article the day after the election was "Is Trump [an] Antichrist?")

Hugh Hewitt

Pajamas Media but only in general, dissent was allowed, then again, if they'd purged co-founder Glenn "Instapundit" Reynolds...

The Weekly Standard and very notably its founder William Kristol, who has the true neo-con pedigree as the son of Irving Kristol

I think the latter's Commentary, except they pay-walled themselves out of relevance....

Oh, what about NRO's Kevin Williamson telling the Rust Belt people who provided the margin that elected Trump that:

The truth about these dysfunctional, downscale communities is that they deserve to die. Economically, they are negative assets. Morally, they are indefensible.

That's from http://www.nationalreview.com/article/432876/donald-trump-wh... and deserves a particularly special place in the Decline and Fall of most of the US Right's "Establishment Authorities" in 2016, especially when he and his organization doubled down on it.

Possible exception, who's part of NRO, Pajamas Media, and the Hoover Institution (which means it's much harder to purge him), Victor Davis Hansen, but he's an odd duck in so many ways.

Ask and I can come up with more ^_^.
> How do the people who write them know that they work?

Test first isolates that a given test doesn't already pass (without any additional code).

Test after (but before committing) also seems to require a more thorough critical analysis.

And then someone finally fuzzes the code.
Donald Trump Says He'd 'Absolutely' Require Muslims to Register
Taking one long international return flight per year accounts for about 15% of an estimated UK person's annual energy usage: [1][2] . So that's indeed a pretty big impact to the environment.

If we're serious about climate change we need to regulate the economy so that the price of externalities from CO2 emissions is priced into those activities that generate CO2 pollution.

[1] https://www.withouthotair.com/c18/page_103.shtml
[2] https://www.withouthotair.com/c5/page_35.shtml
WordPress on Autopilot: easy scaling and automatic SSL
exactly, I wish he didn't make such a big oversight and do development w/o hot reload!
Seems like a zombie scenario. Where dead bodies are controlled wirelessly through implants.
> I think by using Tor that puts them in the top 1% of internet user knowledge, which is against your statement.

There used to be an image on 4chan that was posted quite often. On the image you would see a link to download the Tor browser and then onion urls to the main child porn websites.

Those people are not crypto experts. They are idiots that followed an "how to child porn" infographic.
I would say, ...or else the fetus dies with her.
The real filter bubble is not one that's imposed by Facebook, but one that's imposed by an individual.

That is, people join subreddits or Tumblr groups and they filter out opposing views. Then they approach the "center" of that group, which itself is way outside mainstream.

Eventually, they self-impose a sort of filter that limits the access to moderating opinions.