skysight-inc/HackerNews huggingface dataset:
The term "functional" today more-or-less means "a language like Haskell and the ML family" (I know this is not the original meaning), which Rust is.
Sorry if I was not clear but my point was once you removed the label.
In other languages with pattern matching you often have some sort of wildcard that you can match against. Either an explicitly named variable or, commonly, an underscore (`_`) if the value is unused. Example in erlang:

foo(bar) -> baz;
foo(X) -> bang.

The X is an explicit variable that will match anything not already matched in previous patterns. It can also be used. (NB: Erlang pattern matching is the same or essentially the same for this discussion at each possible level, whether in a function declaration as above or a case statement or when receiving messages.)

Here, we don't care about the thing we've named with an underscore:

tail([_|Tail]) -> Tail.

In Erlang, `[1|[2,3]]` is equivalent to the list `[1,2,3]`. So `[H|T]` as a pattern would have `H = 1` and `T = [2,3]`. Since we don't care about the head of the list, we name it with _. Optionally, in Erlang, you can give it a fuller name:

tail([_Head|Tail]) -> Tail.

The compiler knows that _Head is supposed to be unused and won't complain (warning about unused variables).

tail([Head|Tail]) -> Tail.

Would give a warning.
The first TV show about competitive video gaming
It's really odd for him to keep harping on Mathematica when the LIGO computations were clearly done in a Python ecosystem as shown in:

http://journals.aps.org/prl/pdf/10.1103/PhysRevLett.116.0611...

https://dcc.ligo.org/public/0122/P1500217/014/LIGO-P1500217_...

https://software.intel.com/en-us/blogs/2016/02/14/python-bri...
Someone will win the lottery too, but that doesn't mean it's a good idea to buy it.
Ask HN: Co-working spaces in Europe suitable for a short stay?
I have some time off coming up, and I want to spend it working on a couple of small side projects to put on my CV.

I have a vague idea of combining this with a holiday somewhere interesting in Europe.

I'm imagining a residential co-working space. Somewhere nice and quiet to work and sleep but with a few like-minded souls around to chat to, as I don't want to be a total recluse.

I know these places exist but they often seem to be geared more towards long-term startups than itinerant visitors.

It also needs to be quite cheap! Thanks in advance.
I can see at least these reasons why someone would search that phrase:

* They want to buy business cards

* They want more information on what business cards are.

* They want an image of a business card to use as a reference

Arguably the results for business cards are actually quite relevant, since someone searching for them probably wants to buy them. Maybe Wikipedia could be up there to satisfy #2.

Plus, the organic search results are essentially ads. Is the search quality actually improved by you seeing Vistaprint's organic search ad instead of their Adwords ad?
People keep suggesting that on the slippery slope of Apple complying with cases of limited scope the next logical step is compelling the production of a signing key.

This is the very essence of why a slippery slope is often a logical fallacy, because one does not necessarily follow from the other, and no supporting evidence is given that it would.

There are plenty of things that would keep this step from occurring, primary among them that there would be no legal justification - in the context of the All Writs Act, there would already be a solution available to law enforcement that was less burdensome to Apple than providing the keys to the kingdom.

I, too, think it is laudable that Apple would fight for privacy, but I also think that a lot of the argumentation around this case is soft and ideological.
He could have measured the angle of the desk's diagonal makes with the longer side, that would give him tan(w/l), no inches or centimetres required.

You do need radians, but that's not a unit in the same way a 'meter' is, you don't need any kind of reference to know how much, say, 1 pi radians is. For most intents and purposes angles are unitless.
I generally like the idea of democratizing mobile, but how are they going to avoid the crapware problem? Seems like allowing lower level device access is instantly going to be abused by adware, spyware, and malware "vendors" to take over the user's phone for various scummy reasons.

I'm really of two minds on this issue. On one hand I hate the walled garden approach, but on the other hand every time I see something like Superfish I realize that companies like Apple have moved toward "platform fascism" as the only viable way to keep junk like that out of their ecosystems and off their customers' machines. Microsoft is going to be forced in this direction too to exclude crapware.

Of course if Cyanogen has a genuine solution to the crapware problem in the form of something notably better for system security and user interaction with security models, that could be a major differentiator. IMHO the platform fascism walled garden model is actually a "punt" on the issue: "OSes are inherently insecure so just lock everything down with signing keys" is not actually a solution. The solution is to make OSes inherently secure.
Bombermine has been renamed to Game of Bombs: https://clay.io/game/bombermine
Introducing Cog, a unique take on ChatOps
Of course it is possible than someone would give me something really nice, it happens with some of my closest friends and relatives. But in the case of strangers or people I know for 1 or 2 years only the chance of a bad surprise and its consequences, such as having to pretend I like gift and worrying about questions about it some time later, outweigh. The risk is just too high.
This seems like a fun project and it is inspiring that the author challenged himself to make it, it's very commendable and something I was planning on doing myself when I get some free time.

What follows is a tangentially related rant, so feel free to skip it if you don't care about WordPress.

I watched the video[vid] and I was shocked when he got to he WordPress-vs-Rails debate. I'll ignore the fact that both of these are arguably overkill for this and also might have slowed down the development, because the overhead of both is pretty big for such a small project.

Putting that aside though, I'd like to address how WordPress has become abused over the year. People use WordPress for so many things that they shouldn't.

WordPress is great for being a blogging engine, or maybe even a news portal, but its oriented towards textual content, and it excels at that like no other engine out there; its in its name, even—WordPress! However, I've seen so many websites built in WordPress that don't actually use this feature: restaurants, apartment rentals and hotels, web shops, comics[comic], galleries, company websites (with no new/updates/blog section at all, it's literally a static website), etc.

There's a plethora of plugins for it too, which would be good, except people use these plugins to create websites with 0 posts, and everything on the WordPress site is made by that plugin. What is worse, often time these plugins don't work too well to begin with, but that's not even relevant. I wouldn't be surprised if there's a plugin for controlling an alien thermonuclear reactor somewhere in the Andromeda galaxy in Sirius's solar system.

[vid]: https://www.youtube.com/watch?v=DexyfHomC4Q

[comic]: Although, even though comics are mostly graphic contents, they are relatively often updated content, so it isn't as bad as all the other examples I encountered.
Google ads seems to be useful/relevant when the best businesses in the sector are national, but crummy when the best ones are local. For instance, most folks want funeral homes that are locally owned (which is why lots of national organization pretend to be family owned). The ads returned when searching Google for "casket" are mostly useless link farms that try to pretend they are local.

Of course, there's only so much Google can do to encourage local businesses to advertise with them, but given the paucity of ads that the user is likely to find useful, they'd be better served with few or none on those sorts of searchers.
They could have had the vision to lock down the rights earlier. Raiders of the Lost Ark was already a hit. It wouldn't take much to conjecture an alien movie by the same director would hit.
Here's one that's pretty sad. Even the "knowledge graph" entry points to something that's bad for consumers. No honest informational results until WAY after the fold.

http://i.imgur.com/LsWwvZy.jpg
Even assuming that there are such things that may be called "first principles", there usually is an awful amount of movement (leeway) around them which may not be always admitted openly and which makes the object of politics. (The problem in the example given, about a company faced with an important decision about how to respond to an external force, is an omnipresent problem that independent tribes, city-states, or nations had/have, and is nothing but a political decision - "do we fight or do we surrender?")

Read again this: "Were we really destined to be a profitable company that nobody really cared about except for a few carriers? Is this what our team signed up for?" and say it's not a political rhetoric in every way? For the same situation different people can lead their audience to totally different "obvious" conclusions depending on how will they construct the decision rationale (what will they take into account or emphasize and what will they ignore or downplay). The real craft/trick here is how to appear like an impartial judge (i.e. neutral) in the process.
You're welcome. It's an interesting project.
We've just released a new UI for our configuration tool. The process is now: 1) Select the services you want to integrate 2) Donwload the SDK which has been generated for you 3) Integrate SDK in your app. Should take <30sec to do that. We would love to get your feedback on the new version. Thanks!
"Poisoning" in the CDC statistics includes alcohol poisoning and drug overdoses [1, table 18, also see definitions of codes X40-49 and X60-69]. There've been plenty of public health initiatives against this, notably: Prohibition, the War on Drugs, DARE, child-proof pill bottles, pharmacist licensing, the [poison control] OneBox on Google, etc.

I think that's pretty good evidence of the grandparent's point: no, you're never going to make anything completely safe, but society can and does put a lot of effort toward harm reduction.

[1] http://www.cdc.gov/nchs/data/nvsr/nvsr64/nvsr64_02.pdf
One excellent coworking space is MOB. You can get information here
http://www.mob-barcelona.com
Just FYI, I found multiple spelling errors in the documentation and readme.

specically -> specifically

Therefor -> therefore

Instanciating -> Instantiating

aned -> and

Also the first sentence in the readme isn't grammatically correct. This is a cool library, but I think it's important to have these sorts of things cleaned up :)
Many married couples have joint accounts, into which all/most funds go and from which all/most funds come. For them, there's no "my money vs your money"... it's "our money". The idea is that their marriage joins them into a unit, and the money is spent on the unit. For many people $500-600 is a lot, and such a couple would want the decision to be a joint decision.
Simply amazing, part of the reason I keep reading here is that things I would never suspect just appear.

So knowing that people do come here and go elsewhere for cacti we can assume other types of plants are susceptible as well. Also based on this knowledge, is there any danger to purposefully spreading certain lines to other parts of the world? Surely there are similar environments which might become home to a transplanted variety, the danger is that its no invasive or dangerous to other specie.
It seemed perverse to me to write our desktops and servers in C given how it was "designed:"

http://pastebin.com/UAQaWuWG

Once one understands it, getting rid of as much of it as possible makes a lot more sense. The replacement should ideally stand alone eventually, have stronger memory/type/integration safety, not assume what calls it (eg C code) will do things right, and integrate with C easily. Not sure how much Rust fits that as I lack details.

Result would've eliminated all kinds of crashes and host compromises due to C-specific errors. It is ironic that one of the best ways for a C application to be safe while using 3rd party code is avoiding C in that 3rd party code. :)
Refrigerator door culture. At some point in life you will no longer be permitted not to have magnets on your fridge. I made it until I got married.

Weaponized clothes are a thing too. Everyone knows nobody likes getting someone elses choice of clothes as a gift, especially not kids, but it is a socially acceptable weapon to kinda "get" the recipient. More a slap to the face than a punch to the face, but none the less kinda an aggressive act.
I really, REALLY hate this new trend of having websites swipe left and right for different articles. Argh!

I highlight text on the internet as I read it, but this page moves all over the place when I do! And on NYT it jumps around to different articles as I'm reading. Makes it impossible for me to consume the text on these pages.

/rant
I've come to prefer giving (often cheap) gifts that are intended to be disposed of, but lead to a bit of fun.

Quick example: I got my family (parents, sister, cousins, etc; no kids right now) a bunch of santa hats from the doller store for christmas that were each a little different and one was technically a chair cover (but looked like an incredibly oversized hat). Then I let them duke it out over who got which hat. Also shutter shades.

They still talk about that Christmas. Experiences are something worthwhile.
I disagree with your use of "prove" when you wrote

Using "elaborate statistical techniques" one can prove pretty much whatever one wants to prove.

One may be able to massage data and create a nice looking chart to give an incorrect impression to unsuspecting people. This does not constitute a proof and it certainly won't pass muster with others who look at the same data and do their own statistical analyses.
The Truth About the MiG-29
Are there any things you like that are temporary and experiential? For instance, I really like things like coffee, wine, movies, weekend ski trips, nice restaurants, etc. All of these things can be given as gifts, and better yet some of them can be enjoyed with the gift-giver (and spending quality time together is the best gift, really), but don't take up any space. I've had some success over time making it known that I really prefer these sorts of gifts.

Or just nice pairs of wool socks – I wear out about 5 pairs a year, which is about the right number to receive as gifts. But people might not believe you that you love getting socks :)
I relate to this guy so much.

> It makes me really happy when another Christmas or birthday has passed and I didn’t receive anything. It makes me feel understood.

My sister and I have this arrangement. I tell her every Christmas that her gift (nothing) is the best one, because I don't have to figure out where to store more junk until enough time has passed that I don't feel guilty throwing it away. She's even more of a clean freak than I am — I believe she actually gets a thrill out of throwing stuff away.

If I want some object, I will buy that object myself. I don't want someone's semi-educated guess (that's most likely wrong) cluttering up my apartment. What I find particularly strange is that people consistently give me things that I explicitly tell them I don't want — they buy me stuff that they want for Christmas or that they think I "need".

The only gifts I like are the ones that have strong sentimental value — something that shows a lot of thought went into it — perhaps a handmade photo book or a good meal. For me, an object will never be as valuable as quality time spent with family.
Is there a way to limit this to battles that had at least 50+ people in them and maybe 20 casualties? Most of the ones I looked at didn't even seem liked an armed conflict.
I believe heat death is something like on the order of trillions of years.

... but there are also built-in assumptions in that calculation. For example that certain constants will remain constant.

EDIT: Typo
Sorry - it was not a formal extra class, but clearly his name had been flagged on the BA systems so he got extra special service compared to everyone else in first class.
Agree with the other comments that this is most decidedly not "little known". The author loses all credibility in all C topics for saying this is poor form.
Both things can be true. That is, your arrangement sounds reasonable enough, but it remains the case that you have to get permission from somebody else to spend your money.
Not wanting "stuff" is a gamble that your present and future is secure and safe.

Having been homeless at one point, I've become a bit of a hoarder, because you never know when things will go south and you are one month away from being homeless (again).

Also we'll see how often you keep erasing things and starting from scratch as you get older and find that remembering things is a lot harder and takes a lot longer to rebuild.

Youth can cause foolishness.
Yes, its profitable for Google, but I'm 90% certain this is going to push me and the few people left at my $DayJob who use Google to DDG.

Honestly, the only value Google has to me now is Google Apps because I like them better than Office365.
You're entire premise revolves around 0.01% of the population. That's not a good basis.

Mine is the basis of billions of dollars of engineering and untold amounts of legislative and regulatory efforts around the planet. A lot of people seem to think it's a pretty important basis.

let's not get carried away with exaggerating how "bad" a "problem" is

On one hand you ask others not to exaggerate, next you're talking about pitchforks. The story we're discussing is about someone reimplementing one little 300 line procedure. I made no more of Rust than to call it a better tool in the toolbox. Calm yourself; these pitchfork wielding exaggerators you speak of are fictions inside your head.

stand the test of time. C has, clearly

The buffer overflows, dangling pointers, double frees, use after frees and leaks recorded daily as CVEs is the most demonstrative thing time has revealed about C et al. If C had past the test of time Rust wouldn't exist.
So my point was that unless you know everything about life and the universe you might not know what your preferences are (and preferences change) ;)
And not all gifts are material.

But sure, there's nothing wrong in not wanting anything from someone else if that is your thing.
The problem is that almost universally the businesses that pay for keyword ads fall into two categories:

1. Complete shit or obvious scams.

2. A copy of the 1st or 2nd organic result.

I don't know what can be done about this from a business perspective but when an ad blocker about doubles the usefulness of a search engine it's a tough sell to get me to turn it off.
Co-op living is pretty common in certain areas. I lived in a co-op last year and it worked out pretty well. Like any living situation, it had it's pros and cons

Pros

- Low cost. Was about $500/month and that included rent, utilities, and food.

- Got a warm meal every night. Only had to cook/clean once a week.

- Community feel

Cons

- Some people were bad cooks. Others were just annoying.

- We all had our own bedrooms but the common spaces were communal. It was hard to invite friends over without feeling like I was encroaching on my housemates' space.

Overall it was a good experience. It's a great way to meet people if you are new to a city.
Google's "page layout algorithm" is described by Google as penalizing content that has too many ads above the actual content. They don't give any credit for ad relevance.

So, they seem to understand the concept that excessive above the fold ads isn't a good idea for customers.
What's your argument exactly? That they should have used narrower terms until they found an article that was already written?
Personally, I don't understand why the people in the first article, that this one is about, were upset that someone of another religion wanted to adhere to their faith.

It seems fairly reasonable that, on air planes non-the-less, that you will encounter many cultures that seem strange to you. Why would that aggravate you?
Although I'm sure you're correct, this is a very short-sighted mentality, which I believe to be the downfall of most big corporations (short-term thinking).

Power users definitely know the difference between paid results and real results, and over time will steer everyone they can off of Google if it persists in showing a lack of respect for the intelligence of its users. It might take a long time, but some will leave, and over time more will follow.

But that won't show in the next quarter's projections, and after that it will be too late.
Satellite alerts track deforestation in real time
US flying over Russia to take photos under Open Skies treaty [2014]
I looooove purging stuff from my life. I'm about to move again in a couple months and will sell, donate and throw away pretty much most of my current possessions.

It's a great freeing feeling, and I'm not one that gets sentimental over inanimate objects.
Random Dungeon Master Kit Generator
Proof That Women Get Less Credit for Teamwork
I'd say the thing to fear then is the fact that these "sucky" programmers have the power of state mandate. They should be feared in that incompetence is backed by absolute power.

They could do some scary stuff then... or at least they can fuck things up to such an effect that should be worrisome.
If the C++ standards committee isn't building it and Stroustrup isn't backing it, then it won't get adopted.

I could also see boost getting something though.
Here's a current article about Russia's flights over the US.

"Russia wants to fly more spy planes over the U.S., and the Pentagon can’t stop it"[1]

[1] https://www.washingtonpost.com/news/checkpoint/wp/2016/02/23...
Scores of 'distinguished intellects' who are still a minority among their peers and are often not even remotely connected to climate science. On your list, only Lindzen and Curry are, and both also engage in various strains of intellectual shadiness. This is not the conspiracy it's being made out to be.
Windows Firewall isn't particularly good though, and it could be assumed that MS logging and telemetry (like the Windows 10 kind) will bypass it like they do the hosts file.
I allow myself a single medium size box of sentimental items. If the box should become full, I select some things to photograph and pass them on (though that seldom happens.) Everything else I own must be useful. That is not to say my home is spartan. Art, decor, etc are useful but they must be employed to that prupose. No stashing such things away for future use.
Explosion at Didcot (UK) power station reported
See now there you go. Being offensive on purpose, even claiming the guise of an experiment, and still claiming 'pitchforks for free speech'.

Phrases like 'pussy whipped' have absolutely no place in a civilized society or on a civilized message board. They never have and they never will.
Yep, ergolines are known specifically for this behavior (although I've had similar experiences with psilocybin).
Patrick Debois, Etsy and AWS Join Us for a #c9d9 on Mobile Deliver
> And that's in, what, 20 billion years? So bounded.

That's not even close to the most conservative estimates.

https://en.wikipedia.org/wiki/Graphical_timeline_from_Big_Ba...
>It's actually quite easy to find renters who are looking for non-smokers

Sure, I can find exactly the place I want to live - as long as I'm willing to pony up the cash.

>drinking, something objectively FAR more harmful than smoking ... weed

This is a weird argument to me. I'm making statements about how other people using affects me, and this is talking about how my using affects me.