skysight-inc/HackerNews huggingface dataset:
> Nothing says Apple couldn't just add DMA capabilities to a PS/2 controller, sort of like how bus-master IDE works.

Except cost.

> That's just DMA, but the USB controller itself has to physically poll the bus.

Who cares? The USB controller requires a fraction of the power that the CPU does.

If I have to choose between a microcontroller polling for "interrupt endpoints" and the CPU, you know what I'm going to choose.

> If I remember correctly, the polling is only necessary for writing commands to the controller+device, and not the usual reading of data.

No. You must wait for inb(0x64) & 1 before reading from 0x60. Note this dance is actually quite long:

http://lxr.free-electrons.com/source/drivers/input/serio/i80...

It's probably okay for a keyboard and a low-resolution mouse. Maybe. It's definitely not okay for a touchpad.

> 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.

With extra chips.

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 because it was more expensive.

FTFA.

You might think some people want Apple laptops to be hacker friendly, and you might be right, but my point is that you should consider that some people would rather they be cheaper and lighter and more power efficient.
People who question what the FBI is doing are not "rabid extremist". That combines an ad-hominem and a straw man fallacy in the same line.

You then claim that preventing child abuse is a fine area for extremism. That's an appeal to emotion and also a fallacy.

Perhaps we could debate whether extremism is justified but let's do it without all the nonsense you wrap around your argument to cloud the real question. You say that extremism is justified but all of the reasons your posit as justification are fallacies.
I am not disagreeing with your comment. I too know many rural people who are very opinionated in matters of race. Yet I am very frustrated that the concept of racism is a one way street from white people to everyone else. I have spent plenty of time in urban environments across north America and many of their inhabitants exhibit the exact same behaviors.

If we are to improve we need to accept that we all have prejudices and need to be candid about them. It is okay not to like everyone, yet it isn't okay to persecute, demean, ostracize, or otherwise oppress them. This needs to be a mindset across the political, social, and racial spectrum.
If you have Spotify, there's a playlist there published by Spotify called "This Is: Leonard Cohen", it's one of the best sweeps over his career that I've seen so far.

He may not have been as prolific as Dylan, but he also had pretty much no duds.

I'm thankful to have his work seeing me through this life. Especially so these days.
QtQuick Controls 2 is pretty complete wth more controls on the way: http://doc.qt.io/qt-5/qtquickcontrols2-index.html

They're easy to use, themeable and hardware accelerated.
Yea, I would not see a movie in theaters, and I haven't for years.
A huge amount of progress has been made in this area. The most promising report I've seen was in Nat Methods a few weeks ago:

"we demonstrated stable multiplexed local field potentials and single-unit recordings in mouse brains for at least 8 months without probe repositioning"

http://www.nature.com/nmeth/journal/v13/n10/full/nmeth.3969....
Screw chilling effects, I'm going to ask this anyway because being afraid of having these discussions is detrimental to making real progress as a society.

Making the assumption* that some decent fraction of those who consume such media would be sated if they could get it and not move on to actually hurting children. Then couldn't a preventative measure be to take all the existing child porn and make it available to them?

Though I guess that risks normalizing the condition and could lead to it being more commonplace (certainly it would appear so as those who successfully suppress it would hide it less) and if it's more commonplace than the fraction that does still act harmfully upon the impulse could, in absolute numbers, exceed those that do today. Figuring out how things fall would first require a good understanding of the numbers.

*I don't know if this is true or false and would be interested to know if there is existing general consensus on the evolution of seeking out fantasy fulfillment over time in general and how it's affected by free access v. restricted access to related material.
I don't mind code, just... I'd rather if I had choices beyond JavaScript.
"working with monkeys in China is less burdened by regulation than it is in Europe and the United States"

It reminds of the skeptics about China achieving fusion for one minute, as well as China's new rocket capable of landing taikonauts on the moon.

It seems to me China is doubling down on scientific research. Their methods or ethics might be frowned on the West, but it is clear from recent news that pace of scientific discovery is accelerating in China.
Thanks, clarification appreciated!
author here;
Using Docker saved me from creating the code to cross compile from windows->linux, darwin->linux/windows, ...
And this alone was worth it, but being able to ship something that works out of the box is nice a nice bonus :)
edit: I'm also planning to create macOS and iOS target images.
A nation will not exist in the 21st century unless its demographics support its citizenry. Our population is aging, with insufficient service sector workers just to provide labor for the next generation of retirees, let alone fund their public pensions.

There's a term for the 21st Century nations in Europe that are especially good at enforcing their own borders: "demographic crisis".
Flying a plane isn't $500/hr unless you're flying first class, and it's not exactly what I would call entertainment or recreation. I wouldn't do the rest of it, anyways.
In that case it would certainly be entrapment wouldn't it? How do they intend to prove whether this was entrapment or not?
How do you suggest one should observe neural activity?
Double your rate, have a strong Github profile and start writing professionally whenever you communicate to clients.

Writing professionally means no grammar, spelling or punctuation mistakes, and re-writing your emails a few times for clarity before sending them. Including here and in chat.

Good luck!
Forth has a minimal set of primitives as well, and an even simpler parser (it's literally "read until next space" and "search a linked list to see if this matches an existing word, otherwise, is this a number?, otherwise, yell")
Show HN: Blink Shell for iOS, an Open-Source, Mosh and SSH Terminal for Pros
I think it is funny/sad that almost every comment online or in person, I find myself feeling I need to add "and I don't like Trump" or equivalent qualifiers, for fear of negative bias in interpretation of any statement I make.]

What happened to where being able to state your opinion or make a logical argument has to to be qualified so you don't get assumed to be racist, or sexist or whatever. I am going to try and unlearn that behavior and assume the best about people until proven otherwise.
or murdering someone...
As a leftist living outside of America.
The thing is that some of us see these "statesmen" as the origin of the crisis.

As a leftist, I wouldn't want someone like Hillary's personal friend plunging my country into chaos and give power to a guy who would make Trump seem like Mother Theresa just because the people choose to elect an actual left wing candidate. I know this wasn't a relevant question to americans, not even to the "tolerant" and "progressive" Clinton supporters.

So yeah, personally, I could be wrong, but I'll take a bet with the one that at least doesn't seem like a statesman.
Unrelated question: I couldn't find any HN discussions on, what's Tumblr's future since the Verizon purchase? Yahoo let it be, it seems, has Verizon mentioned it?
Wow. I did this! And you're right it worked great! However, the candidate was a student with no experience so I did't pay him. I said here is the git repo to http://www.wookietranslator.com now go make some changes. 2 weeks later he figured out git, python, js and I was very impressed! Kudos.
Exactly. This isnt new either. I remember back in high school, my friends and I would sit around in a circle, in meat space.

"War is wrong"

And we would go around the circle: "yup", "absolutely", etc

"Some other liberal talking point"

yup, of course, so true....
You don't see how getting a big company to move their industrial robots from Mexico to the US will bring back jobs?

As far as tariffs go, wouldn't raising tariffs actually encourage companies to move their factories outside the US, at least for the bigger companies?

Most of the big manufacturing companies sell their products internationally. If the US slaps big tariffs on products made in country X, presumably country X is going to return the favor with big tariffs on products made in the USA.

As long as the other countries keep their free trade agreements intact among them, so that these tariffs only end up applying to products that go to or come from the USA, then a company that builds its products in the US ends up paying tariffs on sales to every country except the US.

A company that builds its factory in one of the other countries ends up paying tariffs on ONLY sales in the US.

The US is a big market compared to most other individual countries, but if we get into a big tit-for-tat tariff situation it isn't the size of other individual country markets that matter. It is the size of the combined markets of the countries in various tariff-free associations.
10+ أدوات لغة و برامج ترجمة لا يستغني عنها أي مترجم
In College and Hiding from Scary Ideas
I apologize and retract any comments made on Wells Street or elsewhere that were carelessly drafted.

I know you're not trying to lock in the status quo. If I had a guess, you're trying to win a message board debate? Which is something I'm sort of onboard with. So, just as a tactical discussion between two message board debaters who are approximately on the same side here, you've got tactical option #1 "Grant the untrue premise of an argument which you believe is damaging and then attempt to litigate an implication of it in a fashion which, if your opponent was savvier, he'd be saying feeds the Thiel narrative and which, independently of message board debates, is a net negative thing to have believed in the world" or tactical option #2 "Counter the untrue premise by destroying it in detail with actual facts; score lots of easy Internet debate points with specificity and style."
Same thing happened with AVG, and then Avast. Fortunately Microsoft Security Essentials came out about the same time every other simple AV became a bloated mess.

The problem now is that MSE doesn't seem to keep up with the latest viruses and hacks. My kids wrecked our Windows 7 computer twice by trying to download Minecraft addons. (First time it installed an ad-bot that was running hidden Firefox windows in the background and swamping our internet connection by loading pages and clicking ads. Second time it was a rootkit that added it's own "recovery" partition to the drive; which it used to reinfect the computer even after I wiped and reinstalled Windows 7.)

Now we have Windows 10 and they all have their own non-admin accounts, so hopefully they can't install anything super destructive.
Whatever the reason for the broadening of the definition (I would consider progress), it doesn't change the fact that people today use it with the definition it has today. Just like "A rose by any other name would smell as sweet", so would his attitude towards women by any other name would smell just as bad.
> From a moral point of view, Child pornography is de-ontologically wrong.

From your point of view. You can't make an argument by just rejecting an entire perspective in moral philosophy. Otherwise I'd be equally right in flat out rejecting deontology.
Yeah, it's like regulatory capture. The owners in the cities want to keep what they have, and vote for it. I'm sure some of it has to to with propping up house prices, but I don't think all of it does either! It's an interesting problem when it comes into conflict with a city's growth.
For the longest time I used a script that basically unified my most common apt-get/apt-cache/dpkg commands into a single frontend, so it's about time.
You're falling for the fallacy of the excluded middle.

The alliterative is fairness. If we're going to have an EPA and OSHA and the rest, then we have to tax imports from places that don't in proportion to the degree that they don't. Otherwise we have to drop these protections and be content with huffing pollution. After all, if we want to enjoy super-cheap manufactured goods then it's only fair that we also "enjoy" the externalities of this production. Either way it's fair to our working class. They get jobs.

I'm 100% in favor of free trade with other first world countries, where first world is defined as having these protections in place and having a living wage. This would be fair and would not lead to mass unemployment and economic destruction. Free trade with Canada, Europe, Australia, or Japan is not going to de-industrialize the entire USA. It might result in periodic disruption of certain industries (e.g. Japan with autos) but it would not result in the kind of total lasting decimation we are seeing.

Edit:

Cue someone coming in and citing some GDP stats and telling me everything is okay. Sorry, but you're wrong. The stats you are citing are not capturing the reality because they are including everything and everyone and everywhere. They are averages. Do a GDP stat and exclude San Francisco, New York, Los Angeles, DC, Seattle, Portland, and college towns, and then we'll talk.
Ask HN: Does Namecheap support Django?
According to this, early versions of MS Word used a piece table: http://1017.songtrellisopml.com/whatsBeenWroughtUsingPieceTa...
Quite frankly, I think the continuous consumer abuse by the windows antivirus vendors is something that Microsoft is listening to here, and making it much harder for questionably efficacious software to put you into a perpetual license loop primarily fueled by scare tactics.

Sweeney had an argument, and one that I think Microsoft is trying to address. Anti-virus software (including McAfee and Kaspersky) is responsible for so many daily fuckups in my corporate computing experience that I am aggressively removing it from every computer I can find, and I tell everyone I can do to the same.

It is good that Microsoft is making them justify their existence, use less deceptive re-subscription tactics, and in general providing very stiff competition for them. In this specific case, it not monopoly tactics, this is pro-consumer competition.

I hope people realize this, because I think most windows users read this and then immediately squinted and said, "Kaspersky, huh?" It took me over an hour to scrape that gunk out of the last windows 7 box I set up for my family, and I was happy Win10 kicked it to the curb for me on the upgrade I just helped with.
As a leftist living outside of America.
The thing is that some of us see these "statesmen" as the origin of the crisis.

As a leftist, I wouldn't want someone like Hillary's personal friend plunging my country into chaos and give power to a guy who would make Trump seem like Mother Theresa just because the people choose to elect an actual left wing candidate. I know this wasn't a relevant question to americans, not even to the "tolerant" and "progressive" Clinton supporters.

So yeah, personally, I could be wrong, but I'll take a bet that things could be different with the one that at least doesn't seem like a "statesman".
Show HN: Life in Dots, browse all your posts on Facebook through dots
A tariff is a tax on the local population, not a penalty to the origin country. The tariff is added to the sales price so the origin country is repaid. It makes the price of foreign goods higher for local purchasers to allow the local market to be competitive.

If it doesn't bring manufacturing jobs back (which it won't) it will do nothing, but lower sales. the amount lowered depends on the size of the tariff, and how much that makes the products unaffordable to the locals.
Oh I know, I've had some complex QML/JS in the past.

Even more so if you're running on iOS where the JS isn't jitted.

It's really easy to write QObjects that are accessible to QML and you can connect your signals/slots with the QML widget ones, so having the logic in C++ isn't hard. It's just not quite as convenient as putting it inline in QML, I guess.
I appreciate how practical these tips are and I hope people will follow them.

I have two quarrels with this:

> Andy Grove was a Hungarian refugee who escaped communism [... and] encourages us to be paranoid.

I'm pretty sure that Grove was referring to business strategy, not communications security.

> Congratulations — you can now use the internet with peace of mind that it’s virtually impossible for you to be tracked.

Something I've seen over and over again is that Tor users tend to have a poor understanding of what Tor protects and doesn't protect. The original Tor paper said that Tor (or any technology of its kind) can't protect you against someone who can see both sides of the connection -- including just their timing. Sometimes, some adversaries can see both sides of a person's connection. As The Grugq and others have documented, Tor users like Eldo Kim and Jeremy Hammond were caught by law enforcement because someone was monitoring the home and university networks from which they connected to Tor and saw that they used Tor at exactly the same time or times as the suspects did. (In Hammond's case, recurrently, confirming law enforcement's hypothesis about his identity; in Kim's case, only once, but apparently he was the only person at the university who used Tor at that specific time.)

As law enforcement has actually identified Tor users in these cases, I think people need to understand that Tor is not magic and it protects certain things and not other things. In fact, I helped to make a chart about this a few years ago:

https://www.eff.org/pages/tor-and-https

This chart was meant to show why using HTTPS is important when you use Tor, but it also points to other possible attacks (including an end-to-end timing correlation attack, represented in the chart by NSA observing the connection at two different places on the network) because many people in the picture know something about what the user is doing.

I've been a fan of Tor for many years, but I think we have to do a lot better at communicating about its limitations.
In that case, why not start with human subjects?
Am I crazybor has the title of this post changed like 3 times
I still don't understand this theory. As stated above, containers have the option to mount volumes on the host file system. Anything written while the container running is immediately persisted, and if the container dies you just re-mount the volume and continue as normal.

To harden this even further, you can run clustered DB nodes in Docker (+<your_preferred_orchestration_tool>) quite easily. So with persisted data, multiple node replication, and server snapshots I'd be interested to know as well.
The ego that comes with a medical degree needs to be addressed.

Yes, they spend a lot of money on their degree. Yes, some went through a rigrious residency--some. Some experienced hazing from other doctors. Yea--it can be like high school.

They eventually become Dr. Whatever. Too many develop huge egos. That's fine, but not in a hospital setting.

It's not about you and your accomplishments anymore; it's just about curing patients in a efficient manner. "Curing"--I suprised I even used that word. "Trying their best"---is more appropriate. I lost a lot of respect for all medical professionals over the years. It's quite a racket--on so many levels.

(I was just in a hospital a few months ago, and just wanted to get out with out MERSA. Oh, yea loose all the jewelry. Why are doctors wearing suits and ties? You're in a filthy enviorment; dress in washable scrubs. That should be required for all hospital personnel. Hospitals in Britain do not allow adornments of any kind. It's scrubs, or you don't work here.)
List of emerging technologies
basically commodity work can as well be done by the next cheap market.
Thank you for pointing that out. I apologize for the impropriety.
Yes. He has to maintain Python 2.7 as his day job at Dropbox.
Haven't we had enough of this topic, especially here?
No, no, you were right. I made a dumb comment without thinking or paying attention. Just ignore my stupidity. Sorry again.
Splatoon was briefly considered as a Mario game:

http://www.gamespot.com/articles/nintendo-considered-making-...
Sorry, that was inelegantly stated. Obviously there are folks having a hard time just getting by, and taking long vacations to jet around the world for months at a time is infeasible.

I’m not suggesting that anyone struggling to survive should prioritize travel over eating.

But I know plenty of people who grew up in dirt poor families who managed to take occasional long road trips in their childhood. And I know people who grew up in extremely wealthy families who barely ever left their hometown.

My point was just that means aren’t everything; attitude is also important.
See the paper in my other reply to the parent. Admittedly, it only solves the technical problems (and only in mice so far), but it's a big step forward.
Yes. Remember that Facebook itself is essentially becoming what AOL used to be. AOL News was huge and it's still probably one of their most popular sites to this day.
Good job on visualization. For something with hundreds of moving pieces, it's pretty easy to see what's going on on the board.
No one is saying all Trump supporters are racists. We're just saying that at least the supporters participating in the KKK Trump victory parade are :-)

http://www.latimes.com/nation/politics/trailguide/la-na-upda...
Walt Disney Co. Earnings AlphaGraph
Mark Zuckerberg Says Fake News on Facebook Affecting Election Is a 'Crazy Idea'
Just curious, what's your rate in Prague? Is it a comparable bargain for US companies to hire you?
Looking at the rust belt states that Trump managed to peel off, I think she had two things working against her:

1. Her policies were less vivid and memorable. Her tax policy versus Trump's belligerence at trade partners Mexico and China where the factory work moved.

2. Her credibility regarding her ability to actually bring about change. I think Bill Clinton tried to address this in his speeches, but she is part of the establishment and therefore expected to continue the status quo.

This is apart from her health, which I think affected her ability to fight the media war, and being a woman, which makes her an icon for social issues whether or not she wants to be -- those maybe a factor but they are outside her control.
On the other hand, someone with little to no experience with the command line might struggle to figure out how to start the terminal, why nothing happens when they try to type their password, how the path system works, and so on.

CLI is great for advanced users, but I think GUI is probably best for the vast majority of computer users.