skysight-inc/HackerNews huggingface dataset:
I admit I didn't, but 20/20 hindsight.

Trump has been known to wax lyric about "smart guys" and how he listens to them (even though he hasn't really paid attention to the majority of 7bn people). Tesla, by Musk's own admission[1], was doomed to fail - yet he made it work. Uber faces still opposition no matter where it goes and yet still ekes it out. Pepsi took on a Goliath and succeeded. As capitalists, they align very strongly with his vision for America. Trump has shown concern about how complex the office is[2]. He knows that he needs these people.

Musk is an interesting one, specifically. Trump: your harshest critic can sometimes be your greatest ally. Musk: keep your enemies close, change the status quo from the inside. After Gate's little chat with Trump, he might be warming up to climate change (especially because Gates is connected to Trump). There might be a little more to that specific position than merely a businessman who succeeded against all odds, at least I hope there is.

[1]: http://www.businessinsider.com/elon-musk-thought-tesla-would...
[2]: http://www.cnbc.com/2016/11/14/trump-reportedly-surprised-by...
The iPhone 7 does take advantage of the saved space. I was envisioning very thin, by today's standards, devices, or eventually full AR, where maintaining a wired connection to the main device would be impossible or extremely cumbersome.
This is very cool. Adding to wish list.
Simpler, store two images, one encrypted, one not. You can only review and delete the unencrypted one. Your decrypter back at home could automatically remove the deleted images so you don't have to review as much if there were no problems.
Amazon announces first autonomous drone delivery with Prime Air
Stop feeding the troll.
I happened to have absolutely zero doubt about this (i.e. I read/understood it correctly when seeing it on the front page), and I'd just like to take this to point out what an example this is of how great HN is, our culture here, informative and newsworthy, serious things, etc. On any other site (e.g. Reddit) the title (which currently reads "Girl Gets Kidney In Place Of Spleen") would have been some clickbaity shock story to drum up outrage (i.e. it would have been about a single, dramatic case of medical malpractice) , and the comments would have not been intelligent or thoughtful, because the whole story is a throwaway one. Here a story like that would have been buried, and the one we are reading (which would not have made the front page of Reddit) is extremely interesting!

On the other hand, a story about medical malpractice would also be thoughtful, perhaps long-form, heavy on statistivs, etc. Not a single "tabloid story."

(I can see how others here misread the title, I am just pointing out that the only reason those of us who happened to read it correctly did so, is the kind of submissions we have here and which the mods don't bury.)

I think a title change is fine - perhaps it could be changed to "In World First, Girl Gets Kidney In Place Of Spleen"
Free Startup Terms of Service
Any battery with USB-A and USB-C ports (or just USB-C ports if you go out and get the USB-C to Lightning cable) that also supports USB-PD should be able to charge both your USB-C laptop and phone.

I ended up getting this battery [0] from Anker, and it's done a great job with my 2016 skinny Macbook and iPhone.

[0] https://www.amazon.com/gp/product/B015FMV3JE/ref=oh_aui_deta...
I type as fast as I can spell (so...not that fast)
It would in practice.

A typical server under load has more outstanding requests to answer than it can OS threads. It is not uncommon in a Go server at Google to find a million or so goroutines.

If you want to have an OS thread that can also run C code, it needs a large enough stack to run C code. A million such stacks is not practical.

On an OS that lets you avoid creating stacks with threads like Linux, and which has quite light-weight kernel-side accounting for threads, it would be possible to give each goroutine a thread. You would still need an N:M pool for cgo.

As an added problem, 1:1 is slower for certain kinds of common channel operations. Anywhere you have an unbuffered channel and block waiting for a value, a 1:1 model requires a context switch to pass the value, whereas M:N means the userland scheduler can switch goroutines on the OS thread.

It is precisely these benchmarks that led Ian to implement M:N in gccgo. If there are combinations where it is 1:1, that is either a new decision he has made in the last year, or (more likely) OS/ARCH combinations that he hasn't moved to M:N yet.

I have seen a similar attempt at 1:1 lightweight tasks in C++ that ran into this. Without the ability to preemptively move tasks between OS threads, it ran into performance problems. Programs that needed the speed in that model had to switch to a futures-style of programming.
Direct link to youtube video: https://www.youtube.com/watch?v=vNySOrI2Ny8
Don't use a modulo then. Use subtraction.
Windows 10 update broke DHCP, knocked users off the Internet
Chrome OS and Android Not Merging – Sorry Andromeda
There are stickers:

https://www.amazon.com/Simplified-Keyboard-Lettering-Transpa...

I can't imagine that not having backlit keys would be a dealbreaker for the kind of person willing to learn a new layout.
Not significant other but my family does not seem particularly supportive.

The concept of taking risks and sacrifices today for potential future benefits is completely foreign to them.

Pretty irritating. I don't have anyone cheering for me. It seems they are just waiting for me to any day announce that I have chained myself to another cushy office desk job and collecting the chunky pay check.

Just recently I had to break it down for my mother. I'll cut it short but basically I told her "If you are someone with a bunch of money you can invest it all in low-risk government bonds and wait for 50 years or you could show up at the casino and gamble it all in one game. They are the opposite ends of the risk spectrum. Never taking any risk is just as bad as taking huge crazy risks like gambling all your life in a game of poker. There's some middle ground. You gotta take a few shots while you have the time.".
Sure, we (mostly) share a core set of ethical values, and for that reason I'm not overly concerned about us creating a master race of killer androids (the Note 7 aside). My concern is the more subtle elements, where different perspectives will see different choices as being ethically sound.

Ask a truck driver and the CEO of a haulage firm what they think about the ethical considerations of self-driving trucks, and you'll get two completely different answers, both with valid points.
Palantir CEO Alex Karp to Attend Donald Trump’s Tech Meeting
Humans do an unbelievably bad job at this, too, like all other tasks behind the wheel. Humans essentially just follow the tracks of the last car, creating ad hoc lanes. Computers can do this just as well.
support for "SELECT DISTINCT" would be great !
I type on Colemak — it already has many keyboard shortcuts same as QWERTY, most common letters on the home row, and it's old and popular enough to be included in many places out of the box (FreeBSD console, Xorg, macOS, iOS, Android). I don't see the how Norman is better.
Age of Empires II Is Getting Another Brand New Expansion
This. And the Ctrl key so far away you easily overwork it.
I remember seeing a bunch of "Elon Musk for president!" among certain social groups. And I was thinking that's like "He's my favorite musician! I want him removing my appendix!"

But that said, this is just noise anyway. It's not like these guys, however much we like them, will have any say in policy.
And how many projections about world population have been overshot through out the past 50 years? Oh yeah thats right, all of them.

As long as we have religions that advocate mindless reproduction just to keep their dominance, you will never end the acceleration of human reproduction.

Most humans want kids, its in our nature, but if all humans have 10 kids each, and they get 10 each... etc etc. you will come to the realization that growth in human population is unstoppable without some cataclysmic event or totalitarian master/slave society where only the top gets to reproduce.

I pick the indiscriminatory cataclysmic event any day over elitist governance over the right for reproduction.
Intentional.

Both kidney and spleen filter blood, although spleen is not essential and can be removed (splenectomy). Sacrificing the spleen, the surgeon used the spleen vessels to connect the kidney to the blood circulation. Reading the Italian news, the vessels of the other kidneys were in bad shape.
In other words people are too ignorant to know what's good for them and we must trust our smart government officials to make decisions for us. A typical line of anti-democratic ideology.
It seems to lack the handling of timeouts, which is necessary in these async days.
Yeah this feels like an evolution of the "John Barron" strategy. Except this time he's leeching credibility from real people. It's a waste of time. The people who saw through him before will continue to do so, the people who ate it up before will continue to do so.
As a first step, we recommend customers restart their cars. If this does not resolve the problem, drain out all the batteries and then charge your car again. And, finally, visit our website for further support.
Yeah, though it's often easier to expense assets than add more salaries, which is why I wonder if some sort of auto-wifi upload, which can be supplemented by a satphone <-> wifi bridge if required, might be more of a realistic proposition for warzone journos than an extra person hiding somewhere in the back of the convoy. And of course, these days, public wifi is much more widely accessible in many parts of the world, so it's only in the most remote or hostile environments that you'd need this.
Evidence that Musk has not "the faintest grasp of economics"? I'm not sure that you can make that claim about anyone who has a company that they created that is worth >$1bn.

Also, as long as people don't reject Flat-earth, climate-denial, or intelligent design, they are condoning those things. The Republican party have been masters of allowing these beliefs to come along for the ride for years. 2 of them seem to be rooted in religious freedom, and can be safely left out of political discourse. the 3rd, climate change denial, needs to be discussed, and needs to be handled on the basis of facts instead of beliefs.
As someone else who didn't vote for Trump, I too am sick of seeing all this fear mongering. Though in all fairness I've listened to people use it on Obama, Bush & both Clintons for the past few decades. For me, it reduces the credibility of someone's view points when they overuse this tactic.
I should add: if you believe these are surmountable problems, please take it out of the forum and write a proposal. Everyone who works on the Go runtime would love to see it radically simplified. We put up with the complexity only because we believe it necessary.
Yes, with some reservations. We met as one part-time business was failing, although he brainstormed ideas with me to try to make it work, and even came into the office on a few occasions to help out. He was supportive for four years, while I was getting a half-time masters degree, and while I wrote technical books (at the same time as a full time job and half-time degree!).

Although recently I said, only partly joking, "maybe I should go to law school..." and he was like (only partly joking) "Do you WANT a divorce?" So he does have limits!

But he's always been supportive of me flying to conferences, giving talks, running workshops, not being there in the evenings because I'm busy with one thing or another. He's even taking a few days off in January to go to a conference in Texas with me (he's not technical, so he doesn't actually go to my talks, but he can keep himself occupied around town, and we turn it into a mini-vacation in the evenings).

I give up a lot of weekends to freelance work, and we've discussed the possibility of me starting another business -- he's totally on board with it, despite the fact that I tried it once already and failed, AND having experienced firsthand how much time it takes and how much it will disrupt our lives. He doesn't understand most of what I do, and was never interested in understanding it (I've offered to teach him how to program, or show him code I'm working on -- he's always like "nah, that's your job"), but I couldn't ask for a more supportive husband for the things that really matter.
I just set the $GOPATH per project and it stops being a big problem, and turns into just an inconvenience.

If you have a ProjectX with the path $pathx, set $GOTPATH to $pathx and place your source files in $pathx/src/projectx

I also hate that I have to do this though and I totally understand what you mean. Just wanted to mention my favorite work-around to see if I get some feedback on it being stupid/clever/ordinary.
In my current commune of residence, I have been (s)"elected" for that task during a couple of years and:

- I never had to show up (there seem to be enough people volunteering...).
- If you have good reasons, you can contest the election.

(IIRC, formally, I've been elected to that task... but I have no idea who did elect me...).
I'm hoping these appointments are political posturing, despite how absurd that sounds.
I write on Norman. AMA?

I started in high school by switching to Dvorak, missed keyboard shortcuts, switched to Colemak. Didn't like it, switched to Workman. Didn't like it, found Norman. Haven't looked back. I also use Plover for stenography. I like typing.
> this is on a similar level of trust as the question about whether your paper vote is actually counted by some volunteer or just scraped.

No, if you don't trust that your paper vote is actually counted you could stay in the election hall all day, watch the counting, check the when the results are transmitted. You don't have any comparable option with e-voting.
I had a really poor experience with Xamarin on macOS. Especially with Xamarin Studio IDE, it seemed like support was well behind Windows + VS.
RFC 7932 – Brotli Compressed Data Format
Scott Aaronson's quantum computing SMBC cartoon
In general, this makes sense; certainly data you're putting into a ring buffer is data you're willing to lose.

Doesn't it break the order invariant of the buffer, though? I can't see a way to do this without the risk of getting reads of newer data prior to older data. That's probably fine in many cases, but something like non-timestamped-debugging strikes me as a case where I'd want to know that the data arrived in the order I'm seeing.
> Musk told his wife, as they were having their 'first dance at the wedding' - that 'he's the alpha' in the relationship.

Oh god if that happened... is it possible to die from cringing?
Since this appears to br in the "math symbols" section, it's probably the symbol for the empty set: https://en.m.wikipedia.org/wiki/Empty_set#Notation
Look again!

They have fricking helipad that takes them to the bus stop!
Any layout (I prefer colemak) – you can add cool tricks to make it better. http://stevelosh.com/blog/2012/10/a-modern-space-cadet/ introduced me to "CapsLock == Control AND Escape" and "Shifts as parens" tricks.

I have them set up in Xorg: https://github.com/myfreeweb/dotfiles/blob/2a3008b27997b6324...

And Windows: https://github.com/myfreeweb/dotfiles/blob/2a3008b27997b6324...
So is this when someone makes a HN post about how he's developing a block-chain based, distributed Twitter alternative?
Isn't that exactly what Touchpoint (or whatever it's called these days) is for?

My boss has been informed that laptop with a Touchpoint is a "condition of employment" - I cannot imagine working without one. I see people trying to work with touchpads and it just makes me cry...

Sample Image:
https://cdn.arstechnica.net/wp-content/uploads/2012/08/think...

Edit: Apparently Wikipedia imaginatively calls it a "pointing stick" :>
https://en.wikipedia.org/wiki/Pointing_stick
I have more expectation about self drive Bus and Trucks than cars.
For me it's not so much about finding the bottleneck to increase the speed of programming, it's much more about ergonomics and convenience. I do end up typing quite a lot, and in my experience, keyboard layouts that intentionally minimize uncomfortable movement just makes typing feel less bad and harmful, which is very valuable to me.
Keep your friends close, your enemies closer.
Professionalization of software development could also result in better quality:

https://www.amazon.com/After-Gold-Rush-Profession-
Engineering/dp/0735608776

Often the most serious greivances I've had about work are not how I am treated, but dangerous decisions made when creating products.
Ask HN: How hard would it be to go from Solo Founder/CTO to Dev job?
I'm weighing the risks/rewards of trying to go out on my own. If I am the technical person in a startup that fails would it be difficult to get a developers role? I would think this would be a good opportunity to build a portfolio and demonstrate that I could get things done. What skills could I be deficient in that would make hiring managers wary?
You gotta say something more than just that.
thank you for this link. I didn't know about this website and I find it amazing. I just upgraded my shoes to a Secure Knot.
No, it's not worth it. Modern IDEs make so many things easier than vi / vim / emacs ever did.

vi / vim / emacs can be useful in certain situations (Unix / Cygwin command lines, low level embedded systems that don't have a desktop, etc), but for most code, the modern IDE GUIs blow them away. Code navigation / inspection / contextual browsing is much, much better, easier, and far more productive using Eclipse, CLion, Visual Studio, etc.
XKCD:Startup Opportunity
Sounds like (from the Italian article) she had already had an unsuccessful (or attempted?) kidney transplant in 2014. The patient appears to have some sort of vascular as well as immunological issues (again, my broken translation from the Italian).

When the donor kidney isn't a blood-type match for the recipient, I believe you can do the transplant with a splenectomy and plasmapheresis to eliminate pools of immune cells and desensitize the immune response to the incompatibility, but I believe that splenectomy has largely been replaced by treatment with rituximab (antibody-drug that targets immune B cells). Perhaps the combination of congenital vascular issues plus incompatibility in this patient made the transplant + splenectomy approach preferable?
now if he tapped up Elon musk to make the next air force one a reusable rocket that would be cool.
In such scenario you should be able to have a secondary password. Once you type it in, your phone unlocks but is also getting flagged (should look exactly like normal unlock). I know it would be scarry thing when you're at gunpoint..
Not every decision literally needs to be ratified by the public but maybe only the major ones.
I've been out of the field for a while, so I don't really know the state of the art anymore. But I had the pleasure of visiting what was then called the Texas Microfactory. It's basically a sort of microvoxel printer, capable of moving components around on a small stage.

Here's a link to a paper on the machine, I think:
https://hal.archives-ouvertes.fr/hal-00417722/document

And a thesis on the gizmo:
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.599...

I haven't read it, but it does have some cool pictures around page 40.

As you might imagine, control is the hard part. Damn thing was wobbly like all get out, to the point that it building anything at all was the impressive part. And it did - it wasn't practical for mass production, but it certainly could do cool things.
Zach, do you remember one-panel comics? Signed: your hand.
Most taxis already have cameras inside them, plus there's a driver there watching you. I'm a staunch privacy advocate but a taxi is not a private space and never has been.
Yeah but it's usually archived immediately, especially for popular accounts so there's no chance of denying the tweets existence.
From what I understand, this is the way you'd do it with hardware registers (maintain the read and write indices each with one extra MSB to detect the difference between full/empty).

We've been using similar code in PortAudio since the late 90s[0]. I'm pretty sure Phil Burk got the idea from his hardware work.

[0] https://app.assembla.com/spaces/portaudio/git/source/master/...
Lol- pun intended? (...Excel)
I find it hard to swallow that tech firms actively engaged in spying and censorship really care beyond their perceived brand value about such things. It comes down to the fact that you cannot enforce ethics, and tech is largely indifferent to how it is applied.

The neveragain movement seems reactionary and self-ignorant ramblings of a party that lost. Be good for goodness sake. Not because you think the devil is waiting in the wings.
Seconded on a multirepo tool for that.

I have a big "projects" folder with lots of different repos. I'd like to know all commits I've made on the past month, across all projects.

Currently I have a post-commit hook which sends the one line shortlog to a common file, but would be nicer to have a tool for ad-hoc queries.
Pro-tip: if you can get a gamer keyboard, often times they come with plenty of additional, customizable keys. Then, you just assign whatever character you are using a lot to them.
You somehow manage to confuse referendums with e-voting.
Haven't read the article yet, but I admire the title.
> The patent covers an interface that lets users navigate through a tree of expanding options, such as selecting an artist, then a particular album by that artist, then a specific song from that album, said Phil O'Shaughnessy, a Creative spokesman.

The software UI (especially as described by that spokesman) is somewhat obvious. That said, the hardware UI of the iPod (click-wheel) was miles ahead of what Creative and others were offering (D-pads).
Yes, and so what? 90% less fossil fuel spend in electricity does not equal a 90% reduction in greenhouse gas emissions for a person (Humans emit greenhouse gasses directly and indirectly for alot of other purposes than electricity).

So maybe you can fit 90% more people into the equation if you reduce their emissions sufficiently, but that will be voided by the exponential growth of the human population within generations.
It's debatable if trying to make best of this situation is better than hoping for swift failure we can quickly recover from.
Responses to pollution depend, in part, on concentration.

Pour a bag of fertilizer in a little garden pond and you'll kill any fish that may have lived there, and the water will turn to an algae muck quickly. That little pond may never heal.

Sprinkle the same bag widely over the surface of a large lake, and the algae, plankton, and seaweed will take up the fertilizer, grow a bit, get eaten by fish, and the whole system will return to equilibrium.

Similarly, smog will eventually nucleate rain clouds and fall to earth, noxious ozone will disperse to the upper atmosphere, and volatiles will degrade.

True, some effects remain (like the total amount of CO2 in the atmosphere), but there's some benefit to changing "deadly concentrations for millions of people in this small area right this moment" to "long-term effects for a large geographic area in the future".

Unfortunately, many kinds of pollution would also be mitigated by being spread out temporally as well as spatially. If we could spread out our CO2 emissions over many millenia, they'd be no problem for the environment to take care of.
Can't be arsed to make an effort post now, but you're overlooking the effects education, healthcare and wealth distribution have on controlling amounts of children without any sort of force required. Gapminder provides a tool to explore this data on your own, and one of its founders, Hans Rosling, has made many videos explaining it in an accessible fashion.