skysight-inc/HackerNews huggingface dataset:
I've been using docker in production with Elasticsearch and MySQL for 3 years in the PB scale and have never had data corruption issues occur.

Corruption occurs on data drives even without docker - you still have to plan for it. This is why you enable replication. This is why you snapshot/backup your data daily and have disaster recovery plans.

There are some major reasons why I actually think running databases in docker containers, even if you are mounting a volume for the data.

1) Development environments can be similar to production. Ensures everyone runs the same version that is running in prod.

2) You don't have to worry as much about what is installed on the host machine.

3) In a clustered setup, it's easier to ensure each node is running the same configuration, version, etc...

One of my issues with all the gripes about docker are the assertions that it causes issues. In all of my time of using docker, 99% of the time when there is an issue it has nothing to do with docker itself. Everyone loves to blame it when things go wrong though.

This article doesn't really back up any of the claims about any of its issues. It just makes blanket statements without backing them up. Don't like docker's networking? Use host networking then.

What people don't think about is the countless issues that will never come up when using containerization. I never have to worry about whether or not python 2.7 is installed on a server that I'm going to deploy a python 3 app on. I also have MUCH higher confidence that if things work on my local development env (which runs the same containers), then there is a high chance it will work in production.

YMMV
You could still live in CA and have more of an impact on the elections by moving out to a more rural part of the state... House of Representatives districts matter as much as state lines.

At this point it isn't even really so much blue-state versus red-state: it's a lot closer to city versus rural/country.
I can't think of a single capitalized keyword.

Unless you mean capitalized built-in classes, or the infix meta operators.

Certain parts are faster than Perl 5, for example this finds the sum of a range in less than a millisecond. ( of course it cheats by calling the sum method on the Range object )

my $sum = [+] 1..100000000000000000000000;

That was the syntax for a left fold using the infix numeric addition operator. ( You can use just about any infix operator there and it will be a right fold if the operator says that is what it should do )

There are other places where if you write your code carefully knowing the ins and outs of the implementation, where Perl 6 is faster than you could get in Perl 5.

Then there is the fact that a lot of optimizations that are known about aren't being done, and a new JIT is in the works for MoarVM.
The majority of the value of a Ferrari are in the materials and engineering, not assembly.

The value software and it in general bring to a company are way more than the sum of salaries. A multitude higher. If it were actually based on supply and demand you'd think salaries would increase.
Ryan Dahl.

"Update on 11/24/2016: Dan Shaw, one of the founders of Node Source and NodeUp podcast said at SFNode that Ryan Dahl is into AI and machine learning."[1]

[1]https://www.quora.com/What-happened-to-Ryan-Dahl
Sign My Selfie – New Android App
The cynical answer would be: try harder Microsoft, and do not let your customers remain vulnerable simply because you can't test two patch-sets at the same time.

If 'trying harder' is not possible due to financial reasons, then the only recourse is disclosure.

This bug will be fixed now, but certainly could have been excluded again because of technical reasons---they're publishing a separate set of patches on SMB again soon, maybe those patches have higher priority to people on the Microsoft org-chart than the patches for this bug.

When companies aren't given hard deadlines for disclosure, they'll just delay forever because there is always a technical reason that you can't do enough testing to satisfy yourself, while doing X, Y, Z which are added to your schedule for political/financial reasons.
Random question since you're elbow deep in VST land... Have you seen any plugins taking advantage of GPUs? Seems like they should open up sonic complexity that you can't replicate on current hardware synths.
The people who put together these codes spend a lot of time and effort doing it. They only get compensated by requiring people to pay for access via a copyright.

Some bodies do it without restricting access, like IEEE, but their work in contributed by interested parties who control their IP via other means. Companies will work on the next 802.11x, but they are always trying to guide the standard to benefit their company.
Chicken and egg. Is that other instance containerized?
What's in an AOL keyword?
Figuring out the pattern of a pseudorandom device used for gambling reminds me of Michael Larson, who learned the patterns used on a TV game show in order to win a lot of money. See https://en.m.wikipedia.org/wiki/Michael_Larson
Part of the problem is that you're using databases that can't cope with failure. In large scale production systems things fail all the time. If you've got tech that can cope with failure it's not an issue.

Additionally, Docker is pretty handy when you're attempting to manage clusters consisting of thousands of nodes. In that instance enforcing best practices, automating workflows, scaling teams, auditing and preventing configuration drift are much bigger problems than a single server failing.
From a theoretical point of view both models are pretty much equivalent.

Either way you need to pick somewhere to accept transactions as the ground truth / root store. That root store is the arbiter of which transactions get accepted and which are rejected due to conflicts. (With Kafka you can figure this out through the event stream's order).

With Samza the root store is Kafka, and with CDC its your database.

Its obviously easy to scale everything "downstream" of your root source of truth because everything there can easily be redeployed and trivially scaled for redundancy. But your root store needs to worry about partition tolerance. That said, PostgresQL and Kafka probably scale fine for the needs of 99% of users.

You can do queries either way. Using CDC you can run normal queries directly from your database, or another database downstream if you want to distribute the load. Using Samza you can run a query from any of your views.
How many plants could you fit in a bucket? Perhaps you put 3-4 different herbs in each bucket, so you have a good chance of using something in your cooking before having to replant the bucket.
That makes no sense. Data driven is cool.

/cool decision process
I don't think that is what the article said. Where do you read that the machine uses the user's timing to seed the PRNG? It talks about timing the button presses but my understanding was that that was only used after the PRNG was cracked. The PRNG is cracked by measuring the timings of on screen cues. These cues are essentially outputs from the PRNG. There is nothing that indicates the user's timing is used as a seed as far as I can tell.
B	ZeroStack Launches AI Suite for Self-Driving Clouds
sure, we can complete the circle i guess.

because they are unemployed.
It is widely used and you can find a job easily.Latest versions have improved a lot.
Plex. https://www.plex.tv/features/dvr/
Wondering who and how they manually boxed/labeled the objects. Sounds like an amazing job :)
Increased wages could also pull people back into software engineering who are skilled but left for more lucrative fields (or careers with better upward paths).
I doubt thats going to be fast.

However, if you are going to be running docker on real tin (because thats where the value/speed comes in, if you're on AWS thats a whole 'nother issue) Then you might as well use device mapper for what it was originally designed for: mapping fibre channel. (or iscsi, or SAS [another scsi])

That is assuming you want speed, and have paid enough cash to overcome SPoF in your storage layer (it'll be cheaper and faster than trying to software your way out of it.)
> I only met FastCGI in PHP. All NodeJS apps I saw used HTTP.

And I met FastCGI in Python, Perl, Ruby, and Erlang (though I haven't used the
last one yet). Oh, and uWSGI can expose anything it runs through FastCGI.

My personal opinion is that web crowd (most of JavaScript programmers fall in
here) just doesn't want to learn from anybody else.

> Is there any benefit of doing it that way?

Compared to running the tiny web application on 80/tcp? Sure: I can run more
than one and I don't need root privileges for the application.

Compared to running the application behind a reverse proxy? Ditto: it's
virtually impossible to get the setup wrong, so it's easier in the long run.

> How does it work with WebSockets?

No idea. I don't develop web applications.
> the entire $3.75 billion only works out to ~$220 a passenger for a single year.

It works out so that $220 extra per commuter per day would pay off the station in a year. If you wanted to pay it off like a mortgage at 2.5% interest over 30 years, that'd be a a rate of about $322/mo.

For comparison, a 30-day unlimited pass for the entire PATH system currently runs $89.
I've been using my distro's Rakudo/Perl 6 package, which appears to be fairly out of date. That's probably why I couldn't find a JSON module or zef. Thanks for clarifying.
as an end-user, I was suspicious of AMP because it changed the websites slightly and didn't let me share the URL.

now I see there are legal (intellectual property) reasons why that is wrong as well.
In normal fashion with any rare animal we find, must kill/steal/remove it. Why can't we just leave things alone.
Cute Winter Outfit Ideas
There's definitely a wide variation in teaching between ostensibly similar courses, which might make some of the simple stats nonsensical.

> I get the sense that the "shortage" and "surplus" are capable of existing side-by-side.

I guess this is fundamentally the issue
Apple Plans Ultra Accessory Connector for Made-For-iPhone Accessories
I can imagine that the probability of this happening is higher than when you run without docker.
But on the other hand you have mechanisms like sharding and replications to deal with single machine/zone failure.

I have run database clusters on kubernetes in production without running into this particular problem.

The current state of container orchestrators for running databases is not optimal because one size does not fit all database types like with stateless applications.
One solution for this problem are coreos operators which introduce third party resources into kubernetes that are specific to the database type and contain logic to manage this specific database type on kubernetes.
I don't know if "we'll relicense if we go out of business" is a particularly helpful stance to a potential customer that wants to use the product in the present. Presumably, if a deal is being closed, then the buyer has agreed to some licensing that is already reasonable enough (e.g. freely modifiable and distributable within the org).

This kind of stance can be useful to a community, though, that wants to ensure future proprietary development remains possible (kind of strange to want but it can make sense). I recall when Trolltech did this with Qt. If they went out of business or there were a change of control, Qt would switch from GPL to BSD licensed.
"Table 3 and division."

Or, how about page 24:

Work Experience

In 2014, 6.9 percent of workers aged
18 to 64 were in poverty. The poverty
rate for those who worked full time,
year round was 3.0 percent, while the
poverty rate for those working less
than full time, year round was 15.9
percent. None of these rates were
statistically different from the 2013
poverty rates (Table 3).

Among those who did not work at
least 1 week in 2014, the poverty rate
and the number in poverty were 33.7
percent and 16.4 million in 2014, not
statistically different from the 2013
estimates (Table 3). Those who did
not work in 2014 represented 24.7
percent of all people aged 18 to 64,
compared with 61.7 percent of people
aged 18 to 64 in poverty.

...which is poorly written.
There can be shortages and you could also be able to hire people by pricing competitively.

If there are 100 open positions and 80 available software engineers, if 1 of those positions is able to pay twice as much as the next highest, they will get that software engineer - it doesn't change the fact that there are 80 engineers to go around, and no matter how high they offer in pay 20 positions will go unfulfilled.
There's a possibility that courts would interpret the remote interaction clause very narrowly as you suggest, allowing people to sidestep the teeth of the license easily. I think that possibility is fairly small, but you never know for sure of course.

Still, my main point was that the route taken by Mongo is intended to remove this kind of uncertainty: normal applications using it don't modify or include any AGPL code, so the question of just how far "remote interaction" goes never comes up.
That's pretty much what Netflix does with fast.com, only just for themselves. Opening that up so that other providers could use the fast.com name with their own backends is an interesting idea.
OK, so say you do that. What advantages do you think you could realize through this ground up rewrite?
Wow, three years ago? Balls of steel!
Snap is Going Away
So, I worked there along with the others who are all HN regulars. I cant comment on this fine at all, but I can comment on the reaction:

The system for identifying an individual via their digital habits is advanced and (in internet terms) ancient.

The credit card industry, for example, is way more an invasion of your privacy than what are effectively Neilsen Ratings on steroids... so I think people over react to this.

The fact is, that if you look at netflix, they have way more specific viewing habit info than any random TV which can state what it is watching. They already have their customer info, demographics, if they have kids, if they have account leechers like a brother or a friend who maintains a profile. They can see what IP/Device/app install anything is coming from -- and they have agreements with various device manufacturers to NOT track their (Netflix's) viewership/app use etc...

Netflix is probably the most savvy digital media company at this point.

While this data will enrich various entities over time at the expense of 100% privacy as to the content one is viewing, I would state that one would be better served to be worried about their chrome and credit card history than the viewing of particular TV shows.

Additionally - having a very intimate knowledge of how the vizio system works, I would not be concerned about this at all in the scheme of things as truly, its literally impossible to have a system watching all media streams on TVs throughout the world.

Finally, Vizio has done a stand-up job of enforcing opt-in/opt-out in the actual firmware of every set.
We have been running databases in some form of containers for ages.
Oracle DB on Solaris Zones, db2 in wpars.
But yeah people have to re-implement these ideas poorly so now we have to deal with consequences.
Not necessarily a killer app idea, but:

I think there's an opportunity to redefine the idea of an employee-owned company. A company with an employee stock pool of 100%-- not 10%-- with no opportunities for dilution, non-voting shares, takeovers, or other financial tricks. Early employees would get more stock, but it would curve gently according with the growth the of the company, so that later employees would also end up with a meaningful share.

The company's charter could be codified in plain English, in an easily accessible, version-controlled markdown file. The board would be made up of some combination of elected employees and outside advisers.

This company would be at a serious disadvantage to raise money. It would have to be able to survive on slow, steady growth rather than VC cash infusions. On the other hand, I suspect it would have a big hiring advantage. The trick would be to attract employees who highly value equity but don't want to become founders themselves.

I bet there's a business model out there that exploits both these facets.
FCC chair stuns consumer advocates with move that could hurt poor people
My Favorite TextExpander Snippets: The Bold Report
The Security Impact of HTTPS Interception [pdf]
Kilt for Hire
I indeed wanted Sandstorm to succeed as a business in order to support Sandstorm's development -- but to me the business was always a vehicle rather than the end goal. For now, the business hasn't worked. I'm actually somewhat relieved, as I've always felt more comfortable building pure-open-source projects rather than business-driven ones. The contortions we went through to try to get revenue felt very unnatural to me.
I've read it, and it seems to be the same kind of mercantilist thinking that I'm criticizing. It's more of this "take an accounting identity, ignore the effects of one-half of it, bemoan the 'imbalance' of the other half."

I mean, you could solve the US 'trade imbalance' by making it extremely hard for foreigners to invest capital in the US. But of course this would have knock-on effects that make it harder for companies and workers in the US to access investment capital. Or you could shut out foreign goods - and ignore the costs of more expensive domestic goods for US consumers. None of this actually benefits people.

I see nothing in this article to distinguish it from the historically-always-wrong mercantilism that just kept drawing boundaries around areas and then yelled and shouted whenever more of one particular class of good went in than came out.
Engineers Create Disposable USB HIV Test
Even after then restoring manufacturing may be non-trivial. I have been thinking that currently NAND fabs would be good, not to restore jobs but to restore the balance of trade. It is probably not a simple matter though.
#Digest – Issue №5: Amazon Alexa, Clarke.ai, SNAP IPO
> It wastes everyone' time, disrupts workflows, puts fellow developers, their managers, and their users under intense pressure and stress, all so some kid can enjoy an ego trip.

The users were put under stress when Microsoft knowingly released false statements about the bug's scope and possible mitigations.

As for the devs, they're paid anyways, and adjusting workflows is literally a manager's job. They aren't harmed in the slightest, and it wouldn't be relevant if they were because they're the ones releasing the buggy products. Market feedback is a good thing.

> To me it just seems gross and childish.

Are you employed by MS, or do you own significant amounts of stock? Because from the PoV of someone who supports many of their customers (though indirectly) our feeling is exactly the opposite.
Ask HN: Practical use of elephant and mice flows differentiation in data centers
Background: https://networkheresy.com/2013/11/01/of-mice-and-elephants/

For experienced DevOPS out there, are they are practical benefits from identifying elephant vs mice flows and treating them differently within a datacenter?
Patterns ≠ Components
It appears to me, as someone who has only studied philosophy informally, that Epicurus and Epicureanism are an exception to his characterization of Western philosophy.
Another vote for this, it's an excellent book.
I'm sure I'm strange, but I find "$1.5M B" clearer than talk of "quadrillion"s, because I'm not confident I know what power of 10 a quadrillion is, but when I see M B I just add 6+9. Even then, the British sometimes say things like "thousand million", because billion over there used to mean 10^12, but now means 10^9 (which they used to call a milliard); as with other wordy number-words they've succumbed to American usage¹.

¹https://en.oxforddictionaries.com/explore/how-many-is-a-bill...
Hi, thanks for your time. I read this too, but still it seems like very few sites are actually following this, strictly, wouldn't you say so? So it seems to be a bit of a grey area. That technically is not allowed, although used in a fair way seems to be tolerated?
Geometry says you can fit exponentially more people near city centers as the radius of the dense center grows linearly. IOW, marginal increase in dense city housing should be cheap per apartment.
Chris Sacca and the $700k Twitter match
"Casino is entertainment for which you pay a probabilistic fee proportionate to your spend". Ok, a bit of a stretch, I personally think. I honestly think that people gamble on things like slots because they don't have an educated sense of probability. I'm not sure the transaction is quite as clean as buying a cinema ticket and trading cash for entertainment.

"These guys were right to do it". I think the edge exists because it's ultimately illegal. I think it's tantamount to an illegal distribution of cash from a casino to a mob. Would it be any different if they hacked their bank account?
Ask HN: How to make your own wake word?
Echo can now use "Alexa", "Amazon", "Echo", and "Computer". Google Home can use "Okay Google" and "Hey Google". Other than Sensory and CMU Sphinx, what other tools are there to help make your own wake word for your own Echo-like device?
An alternative might be a collection of states banding together to solve how they send members to the electoral college. "First past the post" versus "representative" (versus fancier, better options, like run-off voting) is a state's right under the constitution.

Current first-past-the-post states are incentivized under the current regime to stay that way because it makes for more opportunity to be treated as a "ballroom belle" ("swing state") each election cycle, which brings money and attention to the state it might not ever see otherwise.

It's possible, though sadly unlikely, you could fix the current regime by fixing things from the bottom up at the state legislature level, one state at a time if need be.
How to Remotely Control Android Phone from Another Phone?
Is that still true today? I think these days it's possible to buy a computer with no OS preinstalled from some manufacturers. It might even be slightly cheaper than the identical model with Windows. (Of course, only select models, etc.)
If you're interested in the Axiom of Choice, Godel, finitism, pseudo-randomness, complexity, information, and other foundational topics, check out the indie film "Digital Physics" on iTunes, Amazon, or Vimeo. Free packs of trading cards (with gum!) are available too! Check the website.
Bring certain folk remedies to market.

For example, there are some medical trials indicating, and many folkloric claims, that eating a small but increasing amount of poison ivy, oak or sumac leaf each day will fairly quickly make your body cease to respond badly to contact with those plants.

A 30-day packet of capsules, with successively increasing dosages of urushiol (the irritant in those plants), would likely build up the body's ability to tolerate urushiol. It would make it much easier and safer for the average person to remedy their condition, since, the suggestion that one gather one's own poison oak and preparing it for ingestion appears fraught with peril and leaves most poison ivy victims aghast. Were such a remedy provided in a safe encapsulated form, their fears would abate.

This would be of enormous benefit to homeowners, campers, farmers, gardeners, tree-trimmers, and in short, nearly everyone who goes out into the woods or gardens in the summer. Believe me, this would fly off the shelves once word got around.

Poison ivy sucks.
Like it or not, but Trump may become a transformational president. They are wasting no time. Have other presidents been that aggressive with their agenda when coming in?
White, oolong, puerh (both sheng and shu) are oxidized too I think, in different ways. Also purple tea is a bit different because of a genetic mutation.
The documentation links on the github page are broken; see http://realm.io to find out what it is. (AFAICT it's basically Firebase.)