skysight-inc/HackerNews huggingface dataset:
That ricer link was hilarious, thanks. Somehow I've missed it all these years.

I keep using Gentoo mostly out of inertia; I understand it, and don't have to mess with it much. My systems remain current, and I don't break them... um, very often.

A very long time ago, when I was running Mandrake on a tiny Pentium-II system (kids, ask your grandfathers) I spent a week installing Gentoo. Holy cow, that was a laborious process - but there was a surprising and obvious performance benefit at the end. That conditional compilation business, where I could excise stuff like spellcheck, qt, nautilus, support for scripting languages I didn't care about - really made a noticeable difference on my limited systems.

Since then I've spent some money and gotten some decent hardware, and I don't notice the bloat in my systems so much. My useflags have become much less restrictive. Gentoo keeps everything current, and if something new tickles my fancy I can simply emerge it and a few minutes later it's there - with it and its dependencies tailored to whatever useflags I still keep.

So Gentoo works for me. (But my brothers run Ubuntu on my recommendation - they're cupholder-next-next-next-finish kind of guys.)
Vice is already making PR fluff pieces for the US Marines: https://www.youtube.com/watch?v=P5f-Bt3DXfU

I doubt they are worried about their roots anymore. They haven't been a 'counter-culture' magazine for a while, they are a traditional news org.
Ask HN: Resources for acquiring customers?
Hi HN,

I'm looking for good resources (books, links, services, advice, etc) on acquiring customers. We all know that even with an exceptional product and a market that wants it, sometimes its hard to get people/companies to fork over cash.

Lists of services you use to manage customer acquisition would be great, as well as anything you've found that works particularly great (Adsense -vs- Facebook ads, etc).

Thanks!
Perhaps it's suggesting that trademark registration costs in China are on par with those of other countries?
> I believe it does address this. Each log entry is either committed or not; an entry can only be committed if it has been replicated to a majority of nodes. Any node that lacks a committed entry cannot be elected master because of the election rules: a node will not vote for another node less complete than itself. Since a committed entry has been replicated to a majority, a node lacking that entry cannot receive a majority of the votes. (Thus the committed log entries will always be the same on all nodes (though some may be behind, and may only have a subset), which is the purpose of the protocol.)

What happens if (for instance) a 4 node cluster splits into 2 node clusters (I.E. a network fault between two data centers)- does each cluster choose a leader? how are is "majority" calculated? is the raft protocol unable to handle half of it's nodes being taken down?
What happens if two clusters break off, both choose a leader (if it's possible), both gets new writes and then both clusters come back together?

> I'd love to hear of alternatives.

I no of no protocols per se, but for implementations of a master-slave protocol, there's mongo's replica-set algorithm (one notable change is that each node can have a priority).

There are also master-master implementations (such as cassandra's) that require no election, and serve IMO more interesting use-cases.
The roots of Anonymous, the infamous online hacking community
Top 3 C++ Software
I'd say it may be somewhat helpful to realize, that both "void" and " void * " are kinda wild cards in C's type system; they are there, but they're "breaking the rules". And " void * " is not exactly the same to "void", as " char * " is to "char".
That is correct. The solution to this is given in section 5.4.1 (election restriction), section 5.4.2 (Committing entries from previous terms) and section 8 (Client interaction) of the Raft paper.

Roughly, a newly elected leader will have all committed entries (guaranteed by the "election restriction", 5.4.2) but it does not know precisely which are committed. The new leader will commit a no-op log entry (section 8) and after it has received replies from a majority of the cluster it will know which entries have already been committed.
For one thing, it's not production ready yet: https://github.com/coreos/etcd/blob/769c043537263dd5701f5254...

Another is that your configuration is wide open to every node in the cluster (e.g. your Web app's etcd client can read the key that stores the master database user password). Hope you never get hacked!
It doesn't matter whether all aspects of cognition are computational. If brains run on non-computational quantum gravity juju, then we can make machines that run on quantum gravity juju. To make AI impossible, it would take literal magic, a decree from Cthulhu saying that certain physical effects are only allowed inside human brains. And even then I guess we'd find a workaround eventually ;-)
Motorola Announces Moto Hint: A Small Wireless Earbud
Don't forget Ansible; out of the box, it can perform pretty much any of the glue operations necessary to manage a set of containers and servers.

It's still pretty early, so much of the tooling will need more improvement before container-based infrastructure gets more mainstream (e.g. enterprise, smaller teams) uptake.
This isn't precisely the same, but there are many proposals to change the rules of tournament chess to try to limit the number of draws.
Sorry for the very late reply, I've been hoping I'd get some time to do this properly, but haven't succeeded. It's something I first read ~10 years ago, where it was mostly in the musings of a complexity theorist. Since then odd things have cropped up which have supported that narrative in my mind, but I haven't got a particularly convincing collection to work with. There's some leads in here though: http://www.anarchist-studies-network.org.uk/documents/Anarch....
They do. Every function they don't know about is considered important, potentially having side effects and the call will remain. Just call a function that exists in a library somewhere else (but use a static library and link-time optimization and that goes wrong again, because the optimizer knows the function then).
What would be the solution? Collusion between states to keep tax rates the same? What would drive efficiency in gov't?

If one state has a high tax rate and is wasting money I want there to be a downside. They should lose jobs to other, more efficient states.
Handle Google Analytics, Facebook Tracking and More with a Rack Middleware
Can someone explain to me how Raft differs from Viewstamped Replication? From reading both papers (vr revisited) it looks like Raft just renamed all of VR's nomenclature without changing anything significant. Paxos is fairly different since it only relies on a distinguished leader for guaranteed progress, it "works" without it. Under the hood the mechanism is still similar though, as opposed to something like chain replication.
Nvidia launches patent war against Samsung and Qualcomm over graphic chips
Apologies for my poor stab at answering this: https://news.ycombinator.com/item?id=8273839
Ah, now I get your question. So, it is a function declaration, not a function call. Um, sorry: a declaration of a pointer to a function, where this function would take as arguments: some (unnamed) void pointer, some (unnamed) int value, and some (unnamed) size_t value; and would return a void pointer.

Um; then there's the equal sign, so this is not only a declaration, but a definition too; but definitely not a call.

A call is further down in the original blogpost, in the below line:

(memset_ptr)(p, 0, len);
For some reason, it upsets me that he refers to spent / empty / used batteries as "bad", as if they were faulty.
> What happens if (for instance) a 4 node cluster splits into 2 node clusters (I.E. a network fault between two data centers)- does each cluster choose a leader?

A Raft cluster must have an odd number of nodes.

> how are is "majority" calculated?

ceil(nodes/2).

> is the raft protocol unable to handle half of it's nodes being taken down? What happens if two clusters break off, both choose a leader (if it's possible), both gets new writes and then both clusters come back together?

They cannot each choose a leader, see above.
Your exact words were: "does making these publicly known benefit Coursera".

Whether it benefits Coursera isn't just the last question anyone should ask, it should never be asked. It's nobody's responsibility to provide any benefit to Coursera.

Your argument that "[Coursera] should be the ones who come forward" seems out of place, save as another attempt to deflect attention from Coursera's failings. That someone has a duty to act does not generally preclude others from acting.

"The author of this article doesn't provide any suggestions for the non-tech-savvy." implies that we should be less concerned for tech-savvy users. Why would that be, exactly? Do they have less to lose, or is this another attempt to deflect responsibility?

Your claims to not be defending Coursera sit uneasily with clear attempts to deflect responsibility from them.
Hey jadlimcaco, one quick feedback: it would be nice if one could filter celebs by height. Looks that work on big tall guys (large hats, long hairs etc) often look really stupid on smaller people like me.

There are a bunch of resources you can quickly scrape to get that sort of data (I know because I've just done it and I got more than 6000 celebs in literally minutes), so if you can find a good way to integrate it on the website, it would be fab.

Another suggestion is, if you go for affiliate links (which you should), it would be nice to have a way to switch geographical zones so that us Europeans can also benefit.
The most valuable Data Science skills: Analyzing 1021 job openings
I think they should follow through on reducing to 7 innings per game (with all the rules about extra innings still applicable).

Sure, it would more-or-less destroy relief pitching as a profession, but relief pitchers are basically the placekickers of MLB anyway (people know the really good ones, the rest no one cares unless they mess up royally).

It would shorten the game enough to be enjoyable, and people would get to watch their favorite pitchers play entire games, similar to football and basketball (with obvious exceptions for one-sided games).
He managed avoid the "flat" vs. "dead" controversy by making up a new convention altogether.
Wait. Germany's over 11% - I'm probably counted as one of them.

My anecdote: I'm getting a DS-Lite connection here, that's forced on new customers for this (big) ISP. For month the (mandatory) hardware froze whenever the prefix changed or was reannounced. Basically a (silent) dead connection every 2-3 days, for a looong time. Known problem, nothing that can be done about. But .. that's the past and solved.

Currently? I cannot reach ipv6 addresses. Read that again: DS-Lite, cannot reach any ipv6 addresses while my ipv4 traffic (which .. is tunneled) works fine. I tested with quite some sites, mostly with ipv6.google.com.

Customer support says "They're out of capacity" and want to give me a normal/default ipv4 connection again, they claim that they won't even look into this problem at this point. "Won't Fix", basically.

So I do wonder what these 11% mean and if I'm really just an outlier - or if more people like me exist and maybe don't even KNOW that they are supposed to be able to use ipv6 and cannot?
The legal system in the United States (and most first world nations) is built around the idea that it is far better to let an illegal act go unpunished than it is to take away the rights of an innocent person. Is it really worth throwing away that fundamental principle for something as petty as a speeding ticket?
Home Depot Hack Leads to Breach of Credit Cards for All Customers
A lot of it depends on the watchface. One that updates every second (like a ticker) is going to drain a lot faster than one that only displays minutes.
As somebody who manages developers, I let them choose their own conferences/classes and if they can come up with a justification of how it will improve their work performance I pay for it.

I haven't had anyone try and justify me paying for clown college.

Regardless, our people are salaried, they get paid to take time off and go to conferences, and they can get paid for clown college too if that's how they choose to spend their time.
It's odd that they talk about other smart watch competitors except for the open sourced one.
A webcomic called Nine Planets Without Intelligent Life had a clever take on this topic (years ago). Quoting
http://www.bohemiandrive.com/comics/npwil/19.html (drag to read; the illustrations are highly entertaining):

How and why do robots eat?

The answer to the first part of this question is simple: Robots eat the same way humans eat.

As to the why, it would be helpful to think of a saying of the late-human AI programming community.

Building an artificial intelligence that appreciates Mozart is easy ... building AI that appreciates a theme restaurant is the real challenge.

In other words, base desires are so key to human behavior that if they are not simulated ... convincing artificial intelligence is impossible.
Introducing the World's First National Digital Currency
How about a unique email account, mynameknowledge@gmail.com. Email it everything you need to know/remember. There.
I had an idea for a Wicker Man parody where people who worship fallacies burnt people alive in a giant straw man.

Do you think there might be funding available?
I use my 16x9 monitors vertically and that way they are each two 4:3(-ish, actually 9:8) stacked virtual screens.
Only 15% of app developers are targeting mobile browsers
Show HN: Colors – Experimenting with Construct 2
I give my developers to leave (paid) if they want/need to, and if they can come up with a decent excuse for why a conference or class will make them a better developer then I pay for that too.

These people are professionals, and I treat them like professionals.
I've been running Gentoo pretty much exclusively since about 2002 (on servers, desktops, and laptops). I absolutely love it.

A while ago, there was a post on HN (mainly harshing on systemd) that complained about the way Linux was starting to converge into something that gave the user little choice about what to install. The OP was using Ubuntu, and all I could think was that if this is a problem for you, you should certainly give Gentoo a spin. It would be hard to imagine having more control over a Linux configuration (short of building a system without a distro).

I'll also say that if you're new to Linux and are interested in how it all fits together, Gentoo is a really nice way to learn. The Gentoo Handbook (the main install doc) is, in my opinion, one of the best pieces of technical documentation I've ever read.
Oh! A pointer to a function! Aha, I didn't know that was valid, thanks!
Quite many seems to be using 2048 bits RSA-keys for SSL-
certicaties:

openssl s_client -connect www.google.com:443
Server public key is 2048 bit
openssl s_client -connect www.twitter.com:443
Server public key is 2048 bit
openssl s_client -connect www.hsbc.com:443
Server public key is 2048 bit
openssl s_client -connect www.citibank.com:443
Server public key is 2048 bit

I don't know the limitations in all the legacy bank systems around the world, but I know my personal OpenPGP smart-card is limited to 3072 bits, but that card is quite modern.
Maybe the limits for legacy systems is even worse.

The System Design supports multiple keys per bank, so if a stronger key length is required, keys can easily be upgraded in the future.

But, I agree the strongest key length possible should be used if possible, which is 4096 bits according to the OpenPGP specs.

We will update the specs accordingly.

If any bank for some reason cannot support 4096 bits, then I think it's fair to require at least 2048 bits, as that key length is used by a lot of high profile websites, including banks, already today. (see above list)
They definitely have biased political stories, but their documentaries often show a relatively unbiased presentation of things that are being debated or brought up currently in politics. Two great examples are the 79+ videos on what is happening in Ukraine, the coup in Thailand, printed guns, and the documentary on the deep web.
The Pros and Cons of Open Source Logging
Given the way that many of my friends who are in to sports talk, I'm inclined to say it's statistics for the math phobic and fantasy sports is DnD for the geek phobic.
Surely there is an option for larger departments to run their own servers. Isn't there already digital evidence to be stored?
Hi heshishei
Thanks for your comments , Im Robert the developer behind the idea.

I totally agree with you in that there is no way a single algorithm can produce pleasent result in every language, what sounds fairly good in Italian or Afrikaan might sound illegible in Japanese.

But even then, might be a little easier to send a SMS saying "Meet me at NALADU-MAMOKE" than "Meet me at 35° 42' 36'' N, 139° 38' 24'' E ".

If the resulting name does not work for you as name you might want to use, see it as a tool available to handle easier "35° 42' 36'' N, 139° 38' 24'' E "

>Finally, street names have an advantage over UBI's. Street names are usually formed from words in the inhabitants' native language, so they sound more natural and will of course be easier to pronounce.

You can use Location Aware Street Names, using not generated names, but words in your language that form street names, like "Doctor Stifus" for example, and using street numbers on it, so you can say I live at "Doctor Stifus 50" so your address will be "Doctor Stifus 50@gazado-fifene"

I made a non animated and "cut to the chase" slideshow you can acces on a "Slides are too slow?" link now on the website, there you can check the Street Names concept.
Why not make this aeroponic? Even more yield in faster time, also the fishtank suggests that this is an aquaponic system, very nice :)
They should do a story on themselves. The vice of Vice.
Donald Knuth quotes
It wasn't just because it was round and stylish. It was because for the first time the reviewer believed that it felt like an actual watch. That is: discreet and unobtrusive. Those come from a device "feeling" different than another. Not just because of specs on a page.
That is too long. On my i7-3630QM laptop it takes about six hours or less. I haven't seen KDE (with almost all use flags enabled) take 30 hours since 2006 on my Pentium 4 and I have emerged every major and minor update since then. Even on Pentium 4 I think the usual emerge duration was around 18 hours most of the time.
Hopes high for gadgets of tomorrow
Www.vim.org is broken
The main page on the site is blank as is the download.php page. :-(
I'm getting flashbacks to a long project where we had 4 centers testing different versions of a certain bit of kit (all 4 for TRL3-5, then a review selecting one for TRL6+).

Feel like I could write a book on the bullshit that occurred and that was just one fairly minor project. Suffice to say, lots of disingenuous 'helping' that was really just working out where exactly in the back to place the knife.
It freezes for me after about 5 seconds in (Chrome 36.0.1985.143)
I almost didn't read the article due to the headline but the fMRI studies (which are really the focus of the article) are fascinating, and there is a surprisingly deep discussion about the line between idioms and metaphors -- particularly how this affects whether the brain engages the motor cortex when processing language and how it might vary by individual.

Note that the headline isn't actually implying machines can't be intelligent but that their internal states won't correspond to human states unless their cognition is grounded in a similar set of sensations. But this is already the case with humans from vastly different cultural contexts. The words coming out of your mouth only mean the same thing to others to the extent that they share a similar history of experiences when interacting with the world.

So I can certainly believe that an AI whose internal concepts are based on embodied/simulated experience would seem more relatable than one raised purely on books, but that's true of humans too so no big surprise and not an insurmountable barrier as one of the quoted sources in the article suggests. Non-embodied agents will speak in idioms and embodied agents will speak in metaphors.
Glad you like it. We're working on user submissions right now. Thanks for the suggestion.
And it is fixed now. It was only down for a short while. Whew.
An improved search box within the search results
That certainly does it, yes. Though that's more complicated than the solution offered here, and of course now the right thing to do is just a memset_s.
Jeff Hawkins is a huge proponent of strong AI, and I strongly encourage anyone interested in the subject to read his 2004 book, On Intelligence. In it he makes several cogent points about the future of true AI, a lot of which hit on points brought up in the article.

He discusses the origin of thought and imagination as simulations, which is in line with the article. He sees this in a different light, however: not only are simulations necessary for brains to produce thought, but they are achievable given the right computational system.

He also argues that embodiment may not (and in his view, likely won't) take a humanlike form, Rather the AI, like a human, will be able to plastically adapt to new senses (say, weather sensors) to understand the world in a way we can't even fathom.
Soon, after they start carrying guns.
69 Bootstrapping Resources
Why not just fully use computers, then?

If the problem is that an incomplete switch to technology left us in a chimeric state where we have the worst of both worlds, why not remove one of the two? If we remove the cameras, old umpire error will move the box up; if we remove the umpires from pitch calling, the new computers will have no trouble doing a bunch of math and moving the box up.

This seems more like an incomplete implementation of an idea, rather than a fundamental flaw.
Introducing NFL Elo Ratings
Or at least add a barrier, like a cloud-provided service component.
This is something that we have been looking into, and possibly even doing the Getty editorial images.
I see a lot of discussion in these comments about the effects of competition between states. But it seems to me that the real objection, among those who have an objection, is the tax discrimination. In other words, I don't think anyone would have a problem with Nevada luring companies in by lowering their tax rate. But that is not what is happening. They are luring Tesla by the lowering the tax rate for Tesla alone. There is certainly a fairness issue here, where a large company in Nevada pays one rate and all the small companies in Nevada pay a different rate.

Here in Florida, it is quite common for large companies to move operations here from up North and not pay any property taxes for 10+ years, due to deals like this. Of course, when I start a small business in Florida, you'd better believe I have to pay my property taxes. So, this kind of "local economic development" results in a kind of subsidy for large companies at the expense of small ones.

Tesla is primarily competing with other large businesses, who are getting subsidies also, so its unlikely that this deal is directly effecting the competitiveness of any small businesses in Nevada. However, local businesses will compete with Tesla for employees, and also have to split the cost for roads, sewage, law enforcement, etc. unevenly with Tesla. So, Nevada taxpayers are certainly within their rights to expect the new company in town to pay the same tax rates as they have to.

Now, I don't think that these local economic development deals alone are behind the consolidation which has been happening in our economy for the last few decades. But it sure isn't helping. You'd think people on a site focused on small businesses would get this.