skysight-inc/HackerNews huggingface dataset:
"He literally glowed; without a word or a gesture of exultation a new well-being radiated from him and filled the little room." - F. Scott Fitzgerald, The Great Gatsby

like
I always felt, perhaps uncharitably, that the point of containers was "those other programmers are idiots so we need to encapsulate everything for the sake of defense"
Marie Sharp's Smoked Habanero Pepper Sauce "Not too mild, not too hot, just right."

I bought two dozen bottles of it after I found it in Belize.
I think you are suffering a bit from the over-engineering of Kubernetes and Docker and throwing the baby out with the bath water. Containers in general are great for simplifying deployment, development and testing. We use docker currently and it works great, but we are using just docker and using it only as a way to simplify the above. We are deploying 1 application to 1 system (EC2 via ASG).

There is also nothing keeping you using Docker for containers. LXC also works great and it has no runtime, so you have none of the stability issues you can get with Docker. Though I must say Docker has improved a lot and I think it will stabilize and _it_ won't be an issue (not as sure about Kubernetes).
Conversation is key to chatbot engagement
I'd worry about debit card fraud, not credit card fraud. I think the credit industry's managed to trick people into treating credit card numbers like very sensitive information whereas in reality they're not for consumers; they only are for the companies.
"Call-by-sharing" is just a different, and IMHO unnecessary and unhelpful, name for pass-by-value when the values happen to be pointers.

To put it another way, the inconsistency in Java isn't that primitives and objects are passed differently, it's that they're stored differently. Given how they're stored, they're passed the same way.
With so many devices I just check iPhones and 1366x768, the rest I don't tailor, just make sure my CSS handles all sizes well (by dragging arround the viewport in the chrome dev tolls device preview thingy)
in the US wire transfers cost about $30 per transfer, international cost about $50.

If you're transferring to another customer in the same bank then they're free but I've never had that luxury.

Were you referring to bank transfers to same bank customers? Because I've never heard of zero fees for bank transfers
Ask HN: Simple accounting software for freelancers?
All this, plus, Peter Thiel founded it. So you know, a priori, that it sucks.
You get your first 100 users already so I think you went through the hardest part.
Unless it is all friends, you can analyze those first few users and see common characteristics such as age, gender, location, interests, etc.
These first users are your micro-micro universe and you want to get to know them. Once you found those common traits, you can go out and look for those very similar potential customers and reach out to them.
How?
It depends on your product and service. You can try paid ads via Facebook/Twitter/Instagram/etc, you can try influencers to feature your product, reach out to bloggers in your field, talk to people face to face, etc. etc.
You have to find what works for you and your app.
Make sure that you analyze everything you try. Some things might not work out totally as you expected, but might give you some good lessons how to try next time.
I suggest you check out this list:
http://blog.linkody.com/seo/growth-hacks-list
>One person's freedom to speak must be balanced with another person's freedom to exclude that speech from their private life. Private folks having the ability to go places where they can ignore the people they've chosen to ignore is an important part of why free speech works at all.

That's not how it works. The "public square" is supposed to be open to all opinions. If you want protection, you have to retreat into the cloister of a private establishment that disallows this. In the past, it was not possible to bypass the public square, and thus to avoid exposure to the sentiment of anyone who cared to stand there and hand out his papers or cry his opinion. This was a necessary part of travel between private establishments that used their limited property rights over a small piece of land to exclude such stumping within that small parcel only.

The internet is blurring the lines of the public square. We no longer need to traverse the public streets where all views are free to be expressed; via the internet, people are instantly teleported from cloistered space A to cloistered space B. People are starting to feel it is their right to go about their businesses without being exposed to things they dislike, which, whether they realize it or not, is a very worrisome disavowal of the principles undergirding our freedoms. The effect of this on discourse, democracy, and all of our freedoms should not be understated.

Ironically, rather than unifying mankind and increasing sympathy and understanding, we are using network technology to maximize comfort by crafting artificial "safe spaces" where patrons never even have to be exposed to thoughts they dislike. That's bad.

The divide has never been more palpable than during the last election cycle. Nearly half the country was so misinformed that they didn't even believe the outcome was possible, and hostility and misunderstanding are reaching frightening heights, in some cases escalating into violence (post-election rioting, Berkeley).

Whatever is creating those circumstances needs to be fixed, and my belief is that a generation that is used to muting and blocking anything they dislike and spending most of their time in hyper-sanitized environments safe for corporate sponsorship and being coddled in public spaces to minimize corporate liability is no small part in this.
Wow, excellent. Useful right off the bat!
Software development for large enough projects is all about communication.

A full remote team has a big handicap on that.
congrats, you predicted years after its inception.
The current issue is headed "Consciousness". Groan. That's been discussed to death in the AI community, with little result.
You called it wrong.

It's a primitive and gives you choices. You can either:

A) call it with sizeof(target) - 1 to explicitly tell it to NOT over-write the guard byte at the end, OR

B) you can add an explicit operation to always over-write the byte at the end
My mother is a child psychologist who works primarily with victims of crime and, overwhelmingly, African-Americans. She's come to the conclusion that there are specific parenting faults that you find in the African-American population that you don't find in other similarly-impoverished populations and she believes that they're a legacy of slavery. Parenting abilities/tendencies/techniques are all passed down through the generations. We, as humans, learn our parenting by being parented. But, too often during slavery, this chain was broken. Children were ripped away from their parents and that accumulation of parenting practice was lost.

Since involved parents are the single biggest determining factor in educational outcomes and education is the surest way out of poverty, this legacy of slavery rings the most true to me as the explanation for why African-Americans find it so much harder to break out of the cycle of poverty than other minority groups.

Perhaps the best group to compare with are more recent immigrants from Africa. I have a number of friends who's parents came to the US from Nigeria, South Africa and Zambia. They had very little when they arrived here and have the same skin color which is purported to be such a disadvantage to the African-American​ population. And while they've universally told me that they have experienced discrimination and prejudice, they've also not had much difficulty lifting themselves out of poverty by the second generation.
You're right, but he was not a professional biologist. Watson was though.
Funnily, though I have a naturally sarcastic personality and frequently (and unintentionally) confuse people with my tone, I also have trouble sometimes persuading people that I was not being sarcastic when I say something plainly. I think it has to do with some statement I've made being so outside the norms of what they find acceptable that for them it is only understandable as sarcasm.

And this sort of thing happens both with written and oral communication, unless I really focus on providing facial and other body language clues as to my intent, which I find to be somewhat annoying. I am, after all, of Scandinavian extraction, and excessive emotional expression is not only frowned upon culturally, it has also been systematically bred out of my genetic code for dozens of generations.
I agree, EU dropped the ball on this in a major way. From what I've read, Italy (which has been flooded with illegal African immigrants for at least 10 years now) has been calling for addressing the problem, but the EU response was far from enough.
LinuxKit is not based on Alpine - earlier versions before open sourcing were. We build our system containers from Alpine though, so there is still a connection. (I work on LinuxKit).
Containers compartmentalize runtimes with their dependencies, eliminate library and version conflicts. That's just one benefit.
Since primitives are immutable have value-equality, it doesn't matter.

If your cognitive model prefers to think of everything as pass pointer by value, you think that.
Right, it's an interesting philosophical question, I'm just advising not to lead with it :)
Doctors routinely prescribe phages when they think that antibiotics would be an overkill or if they don't want any side effects from antibiotics.

Here is the list of phages that are sold in Russian pharmacies: https://imgur.com/a/vkEJo
It leaves the small problem and fixes the big problem.
It's very different than modern Turkish I can only make out some words like "kılınç" (sword), "atlı" (horseman). Sounds like an ode to conquest.
Click on a country, then click on "Blocked Sites".
so did Musk ....
> They actually don't have pointers.

They do. Everywhere.

Every Java variable of Object type is a pointer. (Also, they're all nullable....ugh.)

If Java had real references (see original comment by jasode) you'd be able to write something like C#'s int.TryParse ( https://msdn.microsoft.com/en-us/library/f02979c7(v=vs.110).... ).
This still appends null bytes to fill the whole buffer, which is almost never what you want.

Use snprintf() or strncat(), as suggested by the article.
From experience, Lego are nowhere near water-tight, say nothing about air-tight. The air between the pieces will leak out before you can build a high enough vacuum to pop them apart. I suspect this is by design: air-tight connections probably create enough of an internal vacuum that doesn't come apart with hand-force.
I don't get how that adds another gotcha. The scenarios in which strncpy gets you are a strict subset of the scenarios in which strcpy gets you.
Decent idea, but unfortunately unconvincing examples.

Mendel has been the subject of controversy regarding whether his results were fraudulent. Hardly a great choice for an exemplar, whatever the truth is.

Linus Pauling (described as an "amateur biologist" in a caption) was hardly an amateur interested in the structure of DNA, having written his PhD on x-ray diffraction. In addition, he is introduced in the text as "Linus Pauli," a Nobel-prize winning physicist. This seems to be a Mendelian cross between Linus Pauling, the Nobel-prize winning chemist, and Wolfgang Pauli, the Nobel-prize winning physicist.

Francis Crick, who made the title as an example of the power of amateurs, was pursuing a PhD in the field of x-ray crystallography, which sort of disqualifies him an "amateur" in my mind. Those "careful biology experiments" were studies of x-ray diffraction images of DNA, making Crick's physics background entirely relevant.
They are free in some European countries. I've had friends from elsewhere who were shocked that a wire transfer wasn't free and typical in the US.
I've found that the real skills gained with baking and cooking is when you stop and ask why. Anyone can follow a recipe. But books that explain the method behind the madness teach you more than simply how to make that one recipe.
PayPal's customer contract forces arbitration. Although you can opt out within 30 days after sign-up. That has to be done by paper mail, to make it maximally inconvenient.

[1] https://www.paypal.com/us/webapps/mpp/ua/useragreement-full
I tried to find at least one example of a blog in your site. I went to the "Dev's blog". It has a nice animation but the black on black title is difficult to read.

But it has NO content. Not a single post.

If you want to convince someone to use your site instead of blogspot/wordpress/medium/svtle/whatever you must show at least one example.
It’s often implicitly assumed in these kind of discussions that the “safe” behavior would be to always create a truncated NUL-terminated string. That is still crazy! Do you want your data to be silently truncated?

The only safe thing to do with a string that doesn’t fit in the available space is to abort with an error. Check those return values!

For this usage, strncpy is perfectly suitable (though the performance concern may still slightly favor another approach):

if (strncpy(dst, src, size) >= size) {
abort();
}
What, nobody writes JavaScript directly any more?
I didn't realize you were talking about the aggregate. With statements like "If you can see through an overly wide and poorly placed B pillar, more power to you" and "not all cars are well designed with regards to visibility" I thought you were trying to say that my strategy cannot work in general, not merely that people won't bother.
Creator of RancherOS here. Thanks for the interest in our tiny distro. RancherOS was created the beginning of 2015 and at the time was quite a novel concept. We strived to not just use container technologies in a Linux distro but actually package everything as standard Docker containers. Fast forward two years, what we were doing back then is now becoming the accepted practice. Most major distro are adopting more container packaging approaches in the form of flatpak, snap, and containerd. RancherOS 1.0 LTS was just released a couple weeks back and we have started development on 2.0. 1.0 was a bit ahead of the time and honestly had to employ a lot of technics to make it work that we didn't like. With 2.0 we will shift the focus from Docker to containerd, OCI, and LinuxKit which will allow a much cleaner design.
I didn't ever figure out a minimal reproduction, but I also should be clear that that was my experience using Stack at the time: I haven't used it in more than a year (I jumped ship to new-build as soon as it was first available and haven't looked back) so those problems might have been alleviated since then.
This is pretty cool for a basic preview but it really doesn't solve the bigger issue of devices handling basic CSS inconsistently in many situations.

Example is sizing things using "vh" and "vw". On iOS this has been, and still is, completely broken. It is "supported" but if you try to size something at "100vh" it will scale multiple views without additional CSS on breakpoints or some JavaScript hacks.

For me this is just a glorified "Responsive Design Mode" which is already built into Chrome and Firefox dev tools.
I'm also a huge fan of America's Test Kitchen/Cook's Illustrated/Cook's Country (and I've found them to be extremely popular amongst engineers and science-types). During college a friend and I shared a subscription to their website catalog of recipes.

I'm ordering the Cooking School book as we speak. I'm currently trying to teach the bf how to cook and this seems like the perfect tool to go through.

Another recommendation I'd make for improvisational cooks/bakers is The Flavor Bible. It's great for "what do I do with these random ingredients in the fridge"?
Investigate Uber for phone tracking, consumer group tells FTC
I'm not disagreeing that strncpy is safer than strcpy - I've explicitly said so elsewhere.

> And thinking that strncpy will enforce a null at the end actually seems nonsensical to me.

That's bizarre, seeing as there are similar functions that do exactly that. I certainly understand having internalized that strncpy doesn't happen to, but I don't see how you can call it nonsensical.
Are We Having Too Much Fun?
Unless I'm missing something major, the title is false advertisement. I was expecting some sort of next.js/netlify/etc. kind of service (or framework)

But this looks like just a way to try viewing web pages on small screens.
Not trying to throw salt in the argument for democracy, but isn't your argument the digital equivalent of "Why doesn't everyone do everything for themselves to overthrow the dependency on unstable corporations"?

It'd be great if everything was decentralized, everyone encrypted all their messages, used tor to mask their activities. At some point though, these would require the average person to learn a lot about the network and systems they use, otherwise they risk not using it correctly and invalidating the point. If these services are provided to them, they don't have to think about all these factors when using the network, they can specialize, allowing it to be more accessible. It seems that the people vote has been on more accessible, but it is starting to look like the foxes are running the hen house for the internet these days.

That being said, what Turkey is doing is scary.

> The government has not officially commented on the outage. But the Transport, Maritime Affairs and Communications Ministry told the state-run agency, "Instead of coordinating against terrorism, (Wikipedia) has become part of an information source which is running a smear campaign against Turkey in the international arena."

This shows a profound lack of understanding of how a basic site like Wikipedia works, which is either ignorant or malicious, and the latter sounds likely in this day and age.
I didn't want to hijack this comment thread.

The paper title essentially sums up what is interesting: The idea that the culture of startups (build fast, test assumptions, iterate, etc.) is starting to make it's way outside of tech centers, with great benefit.
I go back and forth between putting the +1 on the first line, or repeating it in the other lines. Putting it on the first line is harder to screw up, but harder to read.

For real programs you basically have to put it in the initial computation, or it will be forgotten somewhere later (maybe in a later commit).
Last time I had to deal with it was years ago with Apache Camel/Service Mix and I didn't like it.

Curious to know what you don't like about that stack? We use the heck out of ServiceMix/Camel and personally I'm thrilled with it. I consider it a great platform for building backend services (micro or otherwise).

At the end of the day, OSGI is pretty much just Java. I mean, a bundle is a jar with some extra metadata packed in. It's not some radical departure from standard Java.

I think Sun let their pride get in the way 15 years ago, when they refused to just incorporate OSGI into Java as the "official" modularity spec, and instead wasted years of time on all the various failed efforts to define a standard Java module system. And as a result, here we are all these years later, still fighting over this, when OSGI just gets the job done.
Thanks for the correction! That's good to know.

We considered using Alpine as the base image for our system containers for a time. They're still built using Buildroot currently, though we're playing around with another project that we might use instead.
> "overheated discussion"

That's the most polite synonym for "flamewar" I've ever heard. I'm going to use that.
I was all set to "meh" but... nope. Dead wrong.

This is comfortably on its way out of uncanny valley. Very impressive.

Edit: the only thing that sticks out as being a little off is the pitch/intonation envelope. Some of the pitches are off the mark, and some of the glides between notes aren't quite what a human would do. The vocal tone is near perfect.

Pitch should be the easiest thing to fix. I wonder if that's an artefact of the training set.
On a side note, Hitler was not elected into office but came in second in the election for "Reichskanzler". The NSDAP came out strongest party with 33,1%. Politicians at that time thought they could tame him if he becomes part of a coalition. They guessed wrong and he assumed full power.

If you play the Hitler card at least get it right.
This depends a whole lot on context. There are lots of places where silent truncation is the correct behavior.

I don't disagree that return values should be checked, or that things should maybe be more explicit if you want truncation, but calling aborting "the only safe thing" is wrong.
This is one of the greatest, most HN comments of all time! I'd love to do some hardware stuff but it always seems so inapproachable for a software-only person.

"more than one puffer would be active at once" — sounds like a job for prime numbers!
A Bold Goal: Expediting Seattle's Light Rail System Expansion
I'd say right now a convolutions neural net by itself isn't AI. That's a how not a what.

When I think of AI, I think of hard AI, which includes the ability to learn new things, extrapolate, integrate across senses, and generally reason like an animal (ideally human) brain would.

It's currently unknown what will achieve (if anything) true AI. Maybe a NN? Maybe a really fancy use of A* search? Some crazy rules engine with a trillion rules a la Searle's Chinese room? It doesn't really matter how in the end as long as you achieve the what (AI).

This typography post is not even remotely close to it, nor is wit.ai, or generally almost all things hyped as AI. It's really frustrating to me having actually focused on studying AI and neuroscience to see these labels just haphazardly applied to literally anything. I'm fine with the title of machine learning, as that appropriately sets expectations. At least in the post the author used ML even if nothing was learned because that's closer to what occurred.
The difference is in C++ rvalues coerce to const&, while in Rust they do not.

E.x. this works

int square(const int & num) {
return num * num;
}

int main() {
square(5);
}

this does not

fn takes_ref(a: &i32) -> i32 {
*a
}

fn main() {
takes_ref(64);
}

There are still cases where you won't be able to tell if you're using a ref or not, though:

let x = returns_a_ref();
takes_ref(x);
I can't think of a legal reason for this policy. Normally, one must be 18 years old to enter into a contract, so the policy of preventing users under 18 from using the service is rational. However, if a user under 18 turns 18 years old during the contract, the contract is "ratified" and becomes valid and enforceable. It's as if they were 18 years old all along. So, there is no legal reason for Paypal to terminate accounts for people who enter into the contract under 18 yet turn 18 during the contract period.
I don't think that's it, really. Email, chat, project management, source code hosting, video conferencing, phone/audio conferencing, etc. are all done on the web or in the cloud or whatever you want to call it.

Practically every large open source project is coordinated over the internet with limited face to face time, so the concept works well at some level at least.

Given that the model works in theory, it's surprising there aren't many startups trying to go the last mile to make remote working better for a general audience.
At this stage, it's still trained on the voices of individuals, making ownership of the songs a fairly straight-forward thing to negotiate and adjudicate in court if necessary.

But what if it was trained on a dozen top pop stars? A hundred? A thousand? At what point does the resulting voice no longer belong to a human in legal terms?

My guess is we'll find out relatively quickly as pop music is willing to stretch IP pretty far in pursuit of a hit song.