skysight-inc/HackerNews huggingface dataset:
I haven't upvoted but found it mildly interesting. Point that I found interesting were mostly:

* one company dominates the market for zippers by essentially capturing the middle ground of "good product with a wide range of options, reasonably priced and flawless execution"

* the example of a company dominating the market with what seems to counter the trend of outsourcing, producing everything in house, which means keeping the knowledge in and full control over the quality. A bit like Apple in that regard.

It's more like a lightweight snack for my brain than a full meal, useless but interesting knowlege, but I also read Now I Know. May or may not be a submarine, but made me check the zippers on my hoodie (YKK :)
Seems nice, but isn't all that much different from checking support yourself and initializing function pointers to correct functions - more work, but portable.
Ask HN: How does Apple do their support?
My company is looking to transform it's employee support desk. I'd love to mimic what Apple does from all aspects; Knowledge Base and Community Support how they are almost one in the same, Genius Bars, Chat. Basically the whole end to end experience. Does anyone have any articles or insight into what they use and how they do it?
Ask HN: Interview for Head of Architecture
I'm a software engineer at a company is rather keep anonymous. I am in the interesting position interviewing a candidate for our new head of architecture. This position is higher than my own and has the potential to shape the trajectory of our company. What would you ask in this interview?
Web archive: http://web.archive.org/web/20141015220426/http://gafferongam...
I don't understand why the lazy algorithms aren't enough. Can't we have an assignment to vectors from lazy streams, or constructors from them?

Why can't the

std::vector<int> ints =
read_ints() | cont::sort | cont::unique;

from TFA can't be done "as lazily as possible" (i.e., sort eagerly and uniq lazily). Alternatively, something like

std::vector<int> ints(read_ints() | cont::sort | cont::unique);

or even

std::vector<int> ints;
read_ints() | cont::sort | cont::unique > ints;

What reason could we have for making `read_ints` and `unique` eager by default?

Performance-wise, the lazy filter works in constant space, will result in fewer dcache misses if the data set is large, and (I think) provides more opportunity for the optimizer to do clever things. The eager chain may have better icache performance if the filter is very complicated.

And it's easy to go from lazy to eager -- just put everything in a vector. If you want to go from eager to lazy, though, you're out of luck.
Universal Picks Up Steve Jobs Movie
As someone who had a recent highly upvoted micro-fad submission (FreeBSD): I was not involved in coordinated HN ranking manipulation, but it was also not coincidence.

The recent $1m contribution to the FreeBSD foundation had me looking into FreeBSD again, when I found a nice presentation of Jordan Hubbard, which topped at #1. Probably my contribution lead somebody else to post a Ask HN about comparing FreeBSD to Linux.

I think this is how it often works - a popular submission raises interest, newly-interested people find more bits and submit them. At some point (as happened with Go), something gets so much momentum that it often tops Hackernews for a long period.
Unfortunately, only open to US-based entities. The rules of the game can be found on the challenge website [1]

[1] http://www.nasa.gov/sites/default/files/files/CCP_CQ_OPSRUL_...
It's weird, because according to this page:
https://en.wikipedia.org/wiki/Qualcomm_Snapdragon#Snapdragon...
, there are already 25+ 64bits-capable Android phones out there.
> SQLite - it's everywhere thanks to mobile phones.

and browsers...and tons of other pieces of software
There isn't a "fixed amount of negative feedback"; most people, men and women, will do their utmost to minimize that feedback, particularly when it comes from people who are otherwise decent to us or play a large part in determining the smoothness or roughness of our lives. And particularly when that feedback comes preemptively from an early age.

Reflexive political correctness on HN and other forums, meanwhile, is not preemptive. It is in response to the overwhelming amount of belligerence, innuendo, and offhand sexism that runs rampant when there is no such moderation. If you think it implausible that sexism is more noticeable and notable online than in schools or workplaces, I have to wonder how much time you've spent on BBS, IRC, etc., over the years. Or else whether you just don't notice it. This wouldn't be unusual; sexism is so embedded in most parts of the world that it takes either a great amount of reflection or a small amount of finding yourself on the wrong end of it to notice. (We are, after all, communicating in a language in which "gratify me, a man, sexually" is among the stronger insults.)

(Note that I've never seen sama or anyone else attack someone for "why would I use your lib over sqlite?")

I would not expect anyone to feel as strongly about libraries as they do about how other people are treated; in fact, I'd be glad not to know them if they did.
I'm personally very fond of the decade-old no-brainer solution that is bin2c[0]: convert a binary to a humongous .c file with an array literal. It's inefficient, and a bit stupid with source control, but it's entirely fool proof. Every compiler eats it. It just works. You compile it just once to a .o and then it doesn't slow down your build anymore.

If you just want the damn file in your executable and then move on with the stuff that actually matters, bin2c is a godsend.

[0] one of the many implementations appears to be on https://github.com/gwilymk/bin2c
Hack at Sony Pictures shuts computer system
I think that some of this comes even because, when you start to did in one of these arguments, you find other interesting postings.

Regarding OCaml, is surely not a "new fad" on HN, there're posts about it and Unikernel[1] and MirageOS every now and then.

[1] http://queue.acm.org/detail.cfm?id=2566628
The path to addiction via prescription is ironic given how surgical procedures have gotten less invasive.

Wonder if the numbers will regress over time now that new entrants to the hospitals will get less access to opioids
Honestly I don't know. I haven't studied philosophy in any formal sense since the 101 course in college. Physicists differ on whether they are interested in philosophy at all.

Perhaps one way to think about it is: Are there different schools or beliefs within ontology, and would a unification of QM an GR help philosophers choose one of those schools from among the others, or develop a new school?
On a smaller scale it can definitely be done. See Mike Perham's success with Sidekiq Pro[1], for example. I'm trying out this model[2] as well.

It's definitely not an easy road, but then again neither is starting a funded startup.

[1]: http://mikeperham.com/2014/10/01/the-path-to-full-time-open-...

[2]: https://www.payola.io/pro
PrcTutor Math and ELA Program Free This Thanksgiving Season 2014
"There are 28 countries in the EU with 75 different VAT rates, and businesses are expected to apply the correct one."

This also changes expectations from ecommerce software.
It is not feasible to expect the administrator to research & create 75 VAT rates, then update them as they change (sometimes yearly). Plus, the actual logic of determining which rate to apply.

We've been redesigning our ecommerce package (Drupal Commerce) to account for this. We've extracted our solution into a PHP library that anyone can use: https://github.com/commerceguys/tax
It's been verified and approved by our VAT experts. Even if you're not using PHP, clone our approach and make your users happy :)

I've also gone through these problems from a developer perspective, in case anyone is interested: https://drupalcommerce.org/blog/31036/commerce-2x-stories-ta...
Those people will five 9s likely be blocking ads too, so who cares?

They can enjoy my content for free no problem, but I really don't care what they have to say in regards to how I run things or have things set up.

"Fuck you, pay me" comes to mind
Normally reading something like this wouldn't interest me as it would be over my head but I found this fascinating. Thanks for posting it. It sounds like it's been known about for several years - why is it only being talked about now?
Well, Intel threw their monopolistic weight against AMD, which cost them a 2Bi fine...

But yeah, they're evolving. However, I think it's a good 10 years now since computing speed is not relevant except in niche applications. What we have today is good enough for watching Netflix and seeing cat pictures, doing your school assignments, your work docs and spreadsheets, etc
> It doesn't just kill physical pain like ibuprofen, it also kills psychological pain, emotional pain and the pain caused by social phobias.

Huh. I've tried quite a few different meds in the search for a chemical cure for social phobia, and always, somebody eventually suggests opiates as the only thing that will truly act as an "off" switch. (Accompanied by the usual dire warnings.)

I don't think I'll ever risk it though. But I can see why some people do. I wish the pain killing component could be separated from the addictive part.

That reddit link was a very interesting read.
Most real world data is some mix of relational and unique / big bag of properties. The best solution is often somewhere in between (which is, for me, probably pgsql and its support of JSON, though I've achieved the same versatility with xml data types).
> My reading of Nietzche left me with the sense that he was about as conceited and anti-egalitarian as they come.

Nietzsche was anti-democratic and anti-socialist, yes. In most of his works he goes to extreme lengths (almost pathetic lengths) to rant against German nationalism and German antisemitism. Nietzsche was, without a shadow of a doubt, one hundred percent opposed to the Nazis.

Indeed this was the primary reason for his split with (and apparent hatred of) his sister. The Nazis may have co-opted Nietzsche but they hardly be said to have taken him seriously.

From a draft letter to his sister:

After I read the name Zarathustra in the anti-Semitic Correspondence my forbearance came to an end. I am now in a position of emergency defense against your spouse's Party. These accursed anti-Semite deformities shall not sully my ideal!!"

From Gay Science:
[...]we are not nearly "German" enough, in the sense in which the word "German" is constantly being used nowadays, to advocate nationalism and race hatred and to be able to take pleasure in the national scabies of the heart and blood poisoning that now leads the nations of Europe to delimit and barricade themselves against each other as if it were a matter of quarantine. For that we are too open-minded, too malicious, too spoiled, also too well-informed, too "traveled": we far prefer to live on mountains, apart, "untimely," in past or future centuries, merely in order to keep ourselves from experiencing the silent rage to which we know we should be condemned as eyewitnesses of politics that are desolating the German spirit[...] We who are homeless are too manifold and mixed racially and in our descent, being "modern men," and consequently do not feel tempted to participate in the mendacious racial self-admiration and racial indecency that parades in Germany today

Indeed Nietzsche went so far as to deny he was German at all but rather of Polish descent even though this was almost certainly not true and he almost certainly would have known it, simply because of his opposition to the German nationalism and anti-semitism that had overtaken Germany - basically in a big F U.
Fully agree.

This is why I moved from being a FOSS zealot in the mid-90s during the .com boom to a consultant in whatever software our customers ask for.

FOSS is nice when one is an university student with parents paying for bills.

It is a complete different matter when one tries to make money out of free stuff and VC that give money for whatever idea are gone.

FOSS only brings money home in consulting, support and teaching, everything else requires a second job to keep money around.
What? Where I live every library, McDonald's, and Tim Horton's has free WiFi no purchase necessary, so if you want to check something it's at the nearest plaza.

(too cheap for overpriced Canadian data plan)
>> As for the compiler I think it can already cross-compile to Android.

That's great to know. Also, if taking the js/html5 route, maybe Js_of_ocaml can help to ease the pain? I've heard nothing but good things about it.
I guess someone did eventually get fired for buying IBM.
Tinggly lets you give gift experiences from across the globe
I am generally curious about the source for your claim. Would you mind sharing, please?
This isn't a kitchen sink library. It provides syntactical operators as functions, much like the python "operator" module in the stdlib.
Woolwich murder: Lee Rigby's death was not preventable
The Evolution of the Indian Taxi Market
openproject is a redmine derivative, good to know its existence and will give it a try someday.
New CLion EAP (C/C++ IDE from JetBrains): less bugs – more stable
Firebase + Zapier = Sweet Automation
Did they switch the labels on the Lunar & Deep Space Derbies?
(disclaimer: I don't know if this corresponds to what the author has been doing, it's based on my own personal experience and by now ~15y struggles with something similar--thankfully minus the pain he describes)

The thing is, if you've had nine years of battling these symptoms (that are mysterious and won't go away), you've had time to have go at all of the approaches you name. Try them one by one, in combination, note what seems to work, psychological/mental, physiological, dietary, environmental, natural, pseudo-scientific, alternative, magical, religious, (quasi) pseudo-religious ... you name it. You become an expert at yourself, but that's super hard because you are most biased at this topic (step one: keep a diary). Obviously there will also be placebo effects (which I hope we all agree do have tangible medical effects), and sometimes the pseudoscientific-treatment-that-doesn't-work will have better placebo effects than the medical/scientific-treatment-that-doesn't-work. Either way, as long as you keep moving, keep fighting, and keep a clear head about it, you'll keep learning, even from the things that are on the surface bullshit (and sometimes you just need a break and try something that couldn't possibly work).

I too hope that indeed this person is not stuck in a cycle of pre-occupation with one particular thing, but he is just describing his most current working-theory in the continuous string of attempts.
Yes, there are always too many ideas to explore and too less time. However if you want to look into a static typed functional language I would go with Haskell as it tries harder to exploit a type system to do useful work (although there are even more sophisticated ways to do programming, i.e. by writing proofs (~= programs) in proof-systems, e.g. coq, Isabelle, etc.).

I was introduced to OCaml at my University, but switched later to Haskell and it seemed simpler too me. Furthermore Haskell's ecosystem seems to be more major (or maybe just more vocal?).
I'm generally in favour of drug legalization and I think we should carefully experiment with even legalizing heroine/opiates.

However, I don't think this is a "fix" any more than legal alcohol is a fix for alcoholism. Legal or not, there will be user and there will be addicts. Legality might be an improvement but it doesn't solve the problem.

I don't know if there is a solution. An effective treatment for addiction is the only thing I can think of. We don't even have effective treatments for eating disorders.
> Also, in my country, a sizeable percentage of engineers has gone through a least the basics of Ocaml.

France?
Aprox. every 5 years, the software industry moves from fat client thin server to thin server fat client (and vice-versa).

In 2008 Rails had a great hype on the fat server era. We're on the fat client now, with JS taking the lead. Give it another 5 years and something else will pop-up.
I still use a late 2008 MBP as my personal computer. I have a top-of-the-line 2014 model at work, but it's really no faster than the old one from six years ago. I'm going to buy a new one when the broadwell chips make it into the MBPs because the old one is starting to fall apart, but purely in terms of performance there's essentially no reason ever to upgrade.
STOP NETWORKING! Meeting New People and Building Relationships with Authenticity
Show HN: API Service for managing reported and spammy content, pre-launch
Well, those look like kilodollar+ custom jobs. I guess I was thinking more stereotypical department store bike from China, where the mechanics aren't generally much of a priority so introducing something isn't very dangerous.

You can either shove innovation in at the top where R+D fits in the budget, or at the bottom where reliability is never assumed anyway.
Aim42 - Architecture Improvement Method
Facebook’s auto-playing videos in an Isis era
Commodore Pi: A native C64 emulator and operating system for the Raspberry Pi
It is very good indeed. And just today we got it through the Fedora review process so within a few hours you should be able to do 'dnf install american-fuzzy-lop'.

https://admin.fedoraproject.org/pkgdb/package/american-fuzzy...
The u.s. is uniquely mono-lingual

Uniquely? Get outside the tourist/business zones of China, SE Asia, England, France, Brazil and many other countries and regions and you won't find many grocery store clerks who can speak a language other than their mother tongue.

Certainly, Swiss (and the citizens of certain other countries) have very good language skills, but that's often tied to educational systems, colonial legacies, and large populations of people living nearby who speak other languages.
I upvoted. I didn't know that stuff and found it interesting. There's something inspiring about a company dominating for years by dedicating to quality engineering rather than marketing bs. It didn't seem that 'submarine', given they "declined to speak to [the author] for this story". Though you never know.
I find a good guide is to rewrite insults to aim at you, and your expected readers. If you don't want to do that, you probably shouldn't have put them in.
Hmm, yes.

Depends on whether /u/hencq asked about why rec is needed, or why and is needed.

I answered above, why rec. And you answered why an explicit grouping of mutually recursive functions using and is needed. And true, this is needed for type inference. And even though Standard ML does not need rec, it does need and.
Global Tech Companies Make Melbourne Their Australian Home
I always joke that I would love to own this brand. They are the only brand I ever saw (I know there are probably others...). I never got a Jeans without one of those.

It's like a world monopoly.

Very interesting to a bit learn more about it.
New gift experience website will leave you Tinggly
I'm officially part of that 40% for French, but I don't speak a word of it.

I do speak fluent Dutch, but I learnt that in The Netherlands. Not in the UK.
There is a difference: alcohol can kill you in various ways, both acute and long term. Heroin can too, but by knowing what you're getting and your own tolerance you can avoid overdoses and then the side effects are pretty mild (constipation).
I suppose you mean ARM by the competitor. AMD certainly hasn't been a competitor for the past decade or so.
Something to keep in mind for the next time.
At the end of the day, this is just a matter of keeping track of numbers. But there's no reason for merchants to have to remember the VAT rates for every country in Europe, let alone the world. We've all got computers, don't we?

What we need is a service that maintains an accurate database of tax rates around the world (not just Europe) and abstracts away all the calculations and remittances so that merchants don't need to care which countries they're selling to. Perhaps payment gateways like Stripe should offer such a service, either as a default feature or for a small additional fee. Perhaps the buyer's card issuer should do it instead.

Either way, I don't think there's anything fundamentally wrong about the new VAT legislation. Unless you're actively trying to evade taxes, the only thing the present controversy highlights is how little we've been thinking so far about accommodating diverse tax regimes in our payment systems.
Maybe there is a small 'positive feedback loop' effect.

I have some RSS feeds that I follow on topics that are interesting to me, which includes the ocaml.org RSS feed and the ocaml subreddit.

When I see something interesting that I think might be interesting to other HN readers I use the HN bookmarklet which either submits it (if it wasn't submitted yet), or upvotes it and takes me to the comments.

I don't know how many other people there are who follow those RSS feeds and post in a similar way, but it might explain the correlation between submissions and upvotes.
In fact one of my (non-OCaml related) RSS-based submissions triggered the ring vote detector although there was no ring voting from my side: https://news.ycombinator.com/item?id=8535171

Indeed I noticed more OCaml related topic on the HN frontpage in the past year or so, so that makes me think these kinds of topics and the associated discussions are welcome, or that at least there are a number of people interested in these topics.
Either the number of HN users interested in OCaml has grown lately, or they were always there and some of the recent popular OCaml topics on the frontpage has encouraged more people to post more OCaml related topics.
Does anyone else think of the 'millenium bug' when they see these zippers?
It only works for horizontal barcodes. It's certainly possible to extend this code to work for vertical ones as well. A Radon transform might be a good start. And if you want something more powerful there is Haar cascades or HOG descriptors + Linear SVM.
Get a remote thermostat that suits you
A quote I like to fall back on is the one from Portugal, which no longer has (edited) criminalized substances.

"If you realize addiction is simply a symptom of a deeper underlying mental illness. Treat the illness, you solve the addiction."

But yes there will be addicts.
As the Site and Submitter seem the same, a typo heads-up:

As you probably know, a new version of Bootsrap Framework was released recently. At the same time, they’ve announced that 4th version will be available soon (When? Who knows…)
There was a recent article (I forget if it was in Spanish or Portuguese) that said the Spanish have higher fluency than Portuguese when it comes to English. Living in Portugal, having traveled in Spain, and having Spanish friends, we all had a lil' laugh at that. Of all the Portuguese people I've met living here, only two weren't fluent in English (one was an old man, the other was conversational).
The critical point in my suggestion above is that heroin at any rate is not legalised in general. It is only made legal for it to be supplied to support addicts at registered non profit treatment centres. This is actually pretty much the law at the moment in the UK - heroin can be prescribed legally by doctors, but there are still issues in getting it done. The alternate policy of tolerating illegal heroin use such as practiced in Amsterdam at times has many problems - you get the criminal dealers, the parks full of junkies who steal stuff to buy the drugs and so on.
Great observation. But if you erode too early you run the risk of not being able to perform a closing and fill in the gaps between the vertical stripes of the barcode.