skysight-inc/HackerNews huggingface dataset:
Your first question presupposes that human-like intelligence is the "goal". If it's valuable, some other species could get there; unlikely to be another mammal, but after we kill ourselves off perhaps it will be some dependent of the cockroach or a fish.

Clearly a mutual ancestor of chimps, gorillas and humans did develop human-like intelligence. I'm not sure it's meaningful to ask why, say, chimps didn't develop in that way since they ended up being a subgroup subject to different evolutionary pressure.

Evolution isn't magic, it's just in an inherent process of an adaptive system. Like I wrote above, I think of it as a huge, loosely coupled hill-climbing computation, but the different nodes run at different rates and interact. You could also think of it as a neural net without a directed training system.

I think your second question is very interesting and I have wondered about it too. Ignoring the case of the neanderthalers for a moment, it's likely there were lots of variants who just suffered some environmental issue (e.g. a drought where they lived, or an invasion from some carnivore) that impacted a population too small to survive the threat. (and for purpose of discussion we presume this group were legitimately speciated from us). This happens to animals all the time. So we look back with survivorship bias.

The neanderthalers are more complex since they did survive until very recently and may not have been a completely different species. My guess is the threat they faced was homo sapiens sapiens. Is that an inherent property of humans? Seems like it :-(.

BTW by "human-like intelligence" I assume you mean "able to make complex tools that multiply its own functions in a non-linear fashion, support a complex society, and develop the capability to live apart from the earth". Since a cockroach civilization would have different objectives and metrics from ours their behavior wouldn't look anything like ours either.
There's small outrages like that every now and then. I think it's better to have a system where every now and then a person is allowed to do something he's not supposed to, than a system where people should always be wary of communicating with their government in fear of being randomly detained for 14 months.
When you think about it, factoring in earthquakes, drought, tornados, hurricanes, sea levels, floods, tsunami, forest / brush fires, landslides, avalanches, and whatever else I'm forgetting, there really isn't anywhere good to set up camp and, rightly or wrongly, once someone does set up camp, they're hesitant to move.

That is true for a lot the U.S. but not everywhere. Take Germany, Austria or France, only a very small percentage of the land there is affected by earthquakes, drought, tornados, hurricanes, sea levels, floods, tsunami, brush fires, landslides, or avalanches.
I'm not sure, BARs can be 64 bit and there is 6 of them.
Ads on the boarding pass. That's so Ryanair.
> There is one other situation where a full rewrite is good: if v1 is a throwaway prototype. However that would never have been put into production for any significant number of users.

Tell that to my manager. Since I joined this company a little over two years ago, all of our tools have been put into protoduction, despite my warnings and protests.
A better question is why are they allowed to get that data?

I don't think google is serving them that data on a silver plate.
The strange case of the resurrected drive
The fall of the unicorns brings a new dawn for water bears
I'm struggling to figure out OP's context (not sure why they're not just saying it) but one thing I can come up with is restraining orders.

It doesn't seem too outrageous to me that the use case of 'have been in a neighbourhood for a while and already have enemies' is just outside of the scope of the program, though. It has far more utility for people who have just moved to a new town and have no contacts at all.
Friends don't let friends drink decaf.
World heading for catastrophe over natural disasters, risk expert warns
Static members in java
Same here! Also annoying is inability to wake up when any (vs all) child threads are done.

Even more annoying is that Windows API allows to wait on any combination of file/socket descriptor and/or message[1].

[1] MsgWaitForMultipleObjects https://msdn.microsoft.com/en-us/library/windows/desktop/ms6...
The point isn't of the danger but the available resources. Disasters aren't a problem if you don't even have the resources to live
Both CP/M and MS-DOS enabled portable code that runs on various hardware, but devs wrote software that required PC-compatible hardware anyway because sometimes it was a lot faster to bypass the OS.

MS got market share by being cheaper, and once the network effect was in their favor they kept it by threatening OEMs who dared sell anything else to willing customers.
There are only so many cool riffs you can put together before every thing starts to sound too similar. Progressive rock/metal bands explore a wider range of combinations, but they're harder to get into, so they'll never reach that level of popularity.
Centre for Polar Observation and Modelling Data Portal
Do you have a link to the logstash alerting plugin? I'm not familiar with it and I'm interested in alert tools for the elk (and beats) stack.
I'd love to have an HN irl meetup sometime.
it incompatible with its previous version, but OTOH if a Linux binary works without recompilation, is it a problem?
It might be a portability concern. GNU make runs on a lot of platforms.
Circles in circles is a terrible chart. Humans have a very difficult time comparing relative areas of circles.

Much better would be to add a separate bar chart comparing all the countries and each bar separated into stripes for the city vs total. Perhaps on a log scale.

The chart they made might be more beautiful, but it's less informative.
The smoothsort variant of heap sort might be a better alternative. It can be implemented in-place like an ordinary heap sort, but unlike an ordinary heap sort the root will be at the end of the heap where you want the elements to end up when they've been popped. The whole array, including the fully sorted part, will remain a valid heap so you can continue to add new elements efficiently.
> But for someone who isn't yet accustomed to the language, I expect that it would be a hard slog, getting through the texts without an actor's interpretation to help you along.

That's the beauty of the web. The online transcripts of the plays provide many explanations of the language and its cultural context, which makes the dialog so much more understandable to people coming to it the first time.

Without doing this it will be difficult for a beginner to understand what the actors are saying or what's happening on stage. Frankly, I can have trouble with plays I've seen only once before or haven't seen in a long time, I figure it won't hurt to read it before seeing it again.
Sure! They're not exactly new but if you haven't check out The Gaslight Anthem plus the side projects and solo work of the frontman (Brian Fallon, The Horrible Crowes, Molly and The Zombies). A few others I'm listening to:

- Spring King

- Hinds

- Royal Blood

- Diiv

- Cloud Nothings

- DMA's

- Beach Slang

- PUP

- Dave Hause
It's really impressive but it's still at a really early stage of development (for example it's using react/http which is far from stable) and PHP-PM will cause a lot of memory leaks as they say in the readme. Impressive anyway, looks like nodejs/v8 with php.
I suggest C Interfaces and Implementations: Techniques for Creating Reusable Software by David Hanson.[1] It focuses on helpful engineering practices for reliably and efficiently implementing algorithms in C.

I also second the recommendation for Peter van der Linden's Expert C Programming for its masterful treatment of how C really functions, including the surprisingly frequent areas in which real-world constructs produce "undefined behavior" from the perspective of the C standard.

[1] http://www.amazon.com/Interfaces-Implementations-Techniques-...
I think this is all great stuff.

On Imzy, we've removed karma, removed downvotes, and turned upvotes just into more generic likes kind of like they are on FB, Twitter, or IG, that do not roll up or affect your account in any way, because everywhere we saw that had that, it tended to turn into purely something to game and didn't actually contribute to higher quality discussions. I think there is some value though to being able to sort by which comments might have more merit in a post, or which posts have more merit in a community, which is why we left likes in, just disconnected from anything besides that post/comment, and it's more just as a way of giving users positive reinforcement for posting good stuff than doing any kind of real moderating.

We also have then have leaders who create their communities who hopefully are benevolent in their dictatorships, and we've also given them lots of tools to be able to manage their communities well and also be really transparent about what's happening so that all users can learn and be a part of that process.

The other thing you mentioned is that it tends to be better in forums that are built around specific interests or communities. I'm curious to hear your thoughts on what we're doing on Imzy, relative to that. We've noticed the same thing, and also that anywhere where there tends to be a "default" community or "front page" or something like that, is where there tends to be the lowest quality discussion, because you get too many people all dumped into the same place who didn't actually actively choose to be there, and lowest common denominator stuff tends to appeal. So what we've tried to do is preserve the quality of individual forums but the convenience of something like Facebook or Reddit where you get everything from all different sources in one place. When you join, we ask you what you're interested in, and then based on that, we show you a bunch of communities you might want to join. Then you specifically opt into those communities, so that hopefully only people who really care about those topics end up there, and they stay a little bit smaller but much higher quality for everyone across all interests.

Curious to hear your thoughts on this model and how well you think it'll work!
If you add a "round to integer" step at the end, it doesn't require arbitrary precision arithmetic. Careful numerical analysis can tell you how many digits of precision you need to compute fib(n).

I would guess the end result would be similar to that of this method (2n bits being more than sufficient), the difference being that this method puts all the digits before the decimal point.

Also, for large n, you may be able to assume ψ = 0 to speed up computations (given ψ < n, its nth power will get vanishingly small)

But the matrix method is the easiest fast method one can write and prove robust.

(It is not fastest because the trivial binary approach doesn't product optimal addition chains. See https://en.wikipedia.org/wiki/Addition_chain or (dense writing, as is normal in HAKMEM) http://www.inwap.com/pdp10/hbaker/hakmem/recurrence.html)

Also, there is a very simple method for implementing "isFib":

isFib(n) := isSquare(5n^2+4) or isSquare(5n^2-4)
You mean... like this: http://www.alansonsample.com/research/NFC-WISP-Eink.html
The more data you have, the more creative we can get with it. Gather enough statistics, and you're bound to find something that backs your theory.

Traditional intuition insists this isn't suppose to happen. But that's why statistics isn't physics. Data does not have to be botched or erroneous to get creative. It can all be true, and the backing of your theory may also be valid. The issue is whether your theory itself holds any weight or precedence in light of all other possible theories. So when taking big data and statistics into account, "all possible theories" is the big data picture, not any specific theory. Searching for one theory is already misguided, because information chaos/noise mounts with scale, as other data scientists will consistently tell you.

But if we consider theories as abstractions of evidence, then this should all make intuitive sense. A shitload of theories should emerge from a shitload of evidence.
Pop culture influences on baby names: GoT, Marvel, Frozen, and more
This is exactly what I need to quickly explain elements of my dashboards to new users! Alternatively, this could let me explain new elements as they are added over time. Perfect!
We're using this. We're not running the full ELK stack; rather, we've replaced Logstash with fluentd. Our devs have two choices for acting on their logs: they can use elastalert (running in Kubernetes) to alert on events that are recorded in Elasticsearch. We've provided a sample elastalert template that can be easily customized to a developers needs.

They can also deploy a custom fluentd parser/transformer in Kubernetes. To make this work, they apply a special label in their Kubernetes replication controller that specifies the name of the custom fluentd parser service. The primary fluentd service pulls the logs from Docker and when it detects this label for a particular log entry, it routes that entry to the custom parser service. This allows us to have a standard log pipeline that works out-of-the-box for most projects but also self-serve custom parsing for the apps that need it.
Ask HN: What are the components needed to make a web API?
Let's say if I want to make a web API (in java?) which integrates with a website (or mobile application), what are the components required for that.

In my knowledge following things will be required (please correct and add things):

- A web server which will be sending requests to my Java process. (like Nginx? or Jetty?)
- I will need a load balancer/ELB (Nginx also can be used as an LB, right?)

Where would I be needing Jetty? And if I am using Jetty, do I still need to use Nginx? I have heard people using Jetty and Nginx together; what are the purpose both solving in those cases?

And if this web API needs to communicate other APIs (how can I make them interact with each other- I can probably use REST APIs, right?). If I am right, this is called discovering APIs. What are they different ways to achieve this?

As you can guess, I have limited knowledge in this area (designing them at an architecture level, them discovering each other and integrating them to be used via the Web or other clients). Please try to fill the gap as much as possible.

Thanks in advance!
It's their job to do what they're told. If the city government decided Bike Crime was a top priority, cops got promotions based on how many bikes they recaptured, etc. then presumably they would be more active. Conversely, when the government decides it doesn't want a law enforced it's very easy to make that clear.

Laws are an excuse to be able to target kinds of activity the government wants to target at the time; it's more "laws enabling cops" than "cops enforcing laws".

That's why drug laws are so handy; all you have to do is say "I smelled marijuana" and you get to throw in jail whichever problem population you're targeting at the moment.
CP/M and MS-DOS weren't really an 'operating system' in the sense that they didn't mediate application access to system resources. They didn't let two apps share even fundamental devices like the clock, timer interrupts, networks, serial ports and on and on. In fact they didn't support multiple apps much at all.

I would call both of them 'monitors' or something. Operating System is way to ambitious a name for what they did.
Hi Joshua -- wow, small world! Feel free to ping me (email in profile). I'm happy to chat about sensing or robotics...
"I am a fan of rock and heavy metal, and it is clear that rock stardom is literally dying off. "

I would claim all you need to rock is a guitar. Good electric guitars have never been as cheap or accessible, nor have pedagogical offerings as advanced.

Exceptional ability really does not create huge artists nowadays as much as marketing does.

Outside of big bucks marketing I would claim all sorts of music is thriving.
IIRC, there are passes that also detect memcpy-"equivalent" loops and replace them with the builtin to memcpy (mostly to get the vectorization benefit). And of course there's SimplifyLibCalls (or whatever it's named) that undoes this or any other "you called a standard library function we know how to inline in this case".
I've observed the same but interpret it differently.

Life gets more differentiated as you get older. You learn what makes you happy and what doesn't, you experience different situations and react to them, and you make decisions about who you're going to be and what you're going to do. And all of that becomes part of your identity. It's part of your accumulated self-knowledge.

And part of that is perceiving differences in how you see the world vs. how other people see the world.

A banker, a janitor, a nurse, an engineer, and a dropout can all still be friends if they have something in common, and confine their friendship to that thing. I still occasionally get together with my high-school friends, when I happen to be back home, and we've become bankers, janitors, nurses, engineers, and dropouts. But 15 years after graduation, the high school we went to is an increasingly small part of our identities. And it feels constraining to hang out all the time, like you're denying all the other parts of yourself that you've discovered since. It's great to get together for a weekend and reminisce about old times, but it's not something I'd want to do every weekend.

The economic aspects are second-order effects. Yes, this tends to stratify people into economic tiers. But the reason for that is that it's hard to do anything for a significant portion of your life without it becoming part of your identity, and it's hard for a skillset to pay off without doing it for a significant portion of your life. And different skillsets are compensated wildly differently, based on supply & demand.
Why not just remove ego from humanity?
That's what I thought first, but it's pretty reasonable to say that DNS is not an application level protocol. It's not a transport protocol, but feels like it belongs at the same "height" as TCP.
That's giving people too much credit.

99% of the people here aren't heads down in their study for months trying to complete a masterpiece. People are simply asocial and lazy.
Doing that would require both serious reconnaissance to know where to attack, and enough weapons surviving our counter-stroke. And of course we could play the same game, or at least continue hunting and knocking out their weapons.

The study has to make some simplifying assumptions, and you could evolve it yourself by assuming some fraction of those surviving get zapped in due course. But not likely all.

The plan was, though, to put us down for good, Western Europe was the prize, the US an obstacle to taking it, and too far away to seriously occupy and extract value from.
That wouldn't hold up in court :)

If they could prove you knew or suspected it might have been stolen, you can get charged (depending on your state's laws).
I really look forward to the day (because it seems it must come) when the whole publication system is restructured into an open system. I have no idea what it will look like (I.e. how merit will be calculated in such a system), but for the reasons mentioned in this article and several others, I think it will be a glorious day for science!
That it's the fastest is pretty surprising to me. Both Binet and matrix multiplication require exponentiation to n, which can be done in O(log n) multiplications (not n-1) using a clever recursion (and indeed numpy uses it). 2x2 matrices aren't exactly the hardest to multiply either, but I figured that the floating point operations with the Binet formula would enough baggage that would make it slower than the matrix method. Edit: I just saw Someone's comment - I guess that explains it.
Tessel and ActionHero = Awesome
Of course they are, once they get a subpoena.

Their systems could be engineered such that it's impossible to comply with such requests. But they're not. The reason they're not is... you guessed it:

> Google and Facebook [being] robotic slaves to advertising revenues
Specifically in the case of a self-swap, which is a somewhat odd thing to do in the first place.
It's definitely doable. Anyone in SF wants to meet in the golden gate park today around 3pm?

Edit: Since this got a few upvotes but not many replies, feel free to come at 37°46'08.4"N 122°29'08.8"W (https://goo.gl/maps/Vvyctgz4CAQ2). Will have a Linkedin tshirt/backpack.
I'm in ;)

(Even though I probably would spend the time figuring out how the fuck you teleported us across the world.)
Re: Cygwin – Cygwin Compatibility Issue Report ID 386608. (2012)
> I suppose food reserves for the year have to still be somewhere between harvests

It may be that food reserves are elsewhere in the world, which is why I can have blueberries on any day of the year.
(Absence thereof.)
Me, too. Moving to a new city really sucks. You lose the "networking effect" of becoming friends with your friend's friends. Makes me miss college.
This should tell one whether the pointer returned by alloca(3C) is safe to use:

#include <sys/time.h>
#include <sys/resource.h>
#include <stdio.h>

int main(int argc, char *argv[])
{
struct rlimit limit;
getrlimit(RLIMIT_STACK, &limit);

printf("Stack start at %p, end at %p.\n", &argc, &argc - limit.rlim_cur);

return(0);
}

% cc limit.c -o limit && ./limit
Stack start at 0x7fff51094ba8, end at 0x7fff4f094ba8.

If the pointer returned by alloca(3C) is within those memory addresses, and does not exceed the bottom (in this example, $7fff4f094ba8), it is safe to use.
comcast is only in some parts of the country while netflix can be access anywhere
I would love to hang out with people who are directly mentally stimulating but even people who are less stimulating could be good friends if the activities are productive. (Contributing to physical and mental health, confidence, sustainable self-induced highs, etc.)
Innovative Companies Get Their Best Ideas from Academic Research
>"Basements, bookstores and independent venues" dooms the practitioners to being hobbyists.

Do you prescribe this theory to hacker culture as well?
They were in the $100-200 range IIRC. Funny thing about your comment on design:

"If you want to know more about the company where this all started, the Voicetronix website can tell you all about that, in all its only slightly updated since the mid 90's glory. We're engineers who build great hardware and provide exceptional support for it ... Web 2.0 bling isn't quite our favourite thing to spend time on :) " (source: bottom of Buy page)

Haha. Anyway, I tried to find price but couldn't. If you want one, just email them at the address in BitBabbler Buy tab for a price quote. That's how they typically work. Here's the company if you're curious:

http://www.voicetronix.com/

Their differentiator, per their lead engineer, was quality hardware with free as in speech software and custom service/support. I found that interesting esp given it's a 90's era business that predates the OSS HW fads. A model worth copying perhaps.

Note: I haven't hands on reviewed a BitBabbler or their other products. Not endorsing them. Just like what I saw and heard vs what I usually see and hear. Suggesting others review, test, or use the products to see if they live up.
great link, a must-read for anyone interested in how they did it.
I assume you're using the phrase "spaghetti code" to mean "hard to understand code." This is not what spaghetti code means.
> Impact weapons were rare when hvy armors were in use

No they weren't. Cheap and cheerful mauls and war hammers were very popular on mediaeval battlefields - the archers at Agincourt used them as secondary weapons against knights for instance.

And of course it is easy to turn a two-handed sword into an impact weapon as well - turn it around and use a pommel strike.
The second one sounds like big fun when you LD_PRELOAD a different memcpy (say, for debugging purposes) and spend hours and hours trying to figure out why it is not being called.