skysight-inc/HackerNews huggingface dataset:
A database is an application like any other. Containers are about managing the lifecycle of the process and container managers assist in getting the right state to a container. Wether or not a container has state or not doesn't make it easier or harder to run in a container.

If you aren't managing your state, then yeah you will run into a nightmare when trying to containerize stateful apps... or running them at all. You will literally have the same problems with a VM or physical hardware.

It's important to separate state management from process management.
A stateful application is absolutely not harder to contaknerize than a stateless one. Rather it is simply just harder to run stateful applications in any regard.

I would personally argue that it is easier to run a stateful app with a container manager. I know it sounds crazy but... keep in mind container tools are cenetered around what each individual application requires and the tooling tends to make it easier to express and assist in managing the state requirements of that application.

For that matter you can even prevent the scheduler from scheduling your stateful app on a new node, which seems to be the answer for the crux of the argument against containerizing a stateful app.
My introduction to rollerball pens forced me to learn how to do this, otherwise, I was smearing everything I had written. I did some research and found out that curling my hand around the pen was the wrong way to hold it.
If we project out even a few decades, it's looking like corporate automation is going to put a permanent ceiling on wages for anyone working outside of corporations. Products and services will get cheaper and cheaper (approaching free) but nobody will have any money to buy them with. If we argue for everyone joining corporations then we get fascism. If the majority want to live outside corporations then we end up with Luddism and vast underemployment. Other than global climate change and loss of biodiversity, this will likely be the great problem of our time.

If we look at the endgame around 2040 or 2050 (assuming there's no strong AGI singularity yet but that we have widespread weak AI) then a lot of people are going to be out of work or doing menial work that wastes all human potential. We're seeing that today as large swaths of the economy get eaten by non-productive work like finance, management, bureaucracy, etc. Also roughly 5 billion people in the world work in farming, mining, timber, manufacturing, etc but are underpaid by roughly 100:1 because they have little education or leverage to demand more for their families.

So honestly, the next economy after unregulated capitalism is probably going to look like highly-automated corporations that are taxed at a high rate (perhaps 90% eventually) where the tax revenue is redistributed as universal basic income (UBI). One reason why this is probably inevitable is that robots don't pay into social security or other safety nets. If we don't want people starving in the streets then that revenue has to come from somewhere, and the most proven revenue stream we have is corporate profits. So Austria appears to be one of the trend setters.

I don't see many other viable alternatives at this point, so am open to suggestions!
They are hobbies, my point is just that currently my hobbies (social dance, among others) have a large enough presence that I could literally attend a different social partner dance event every night of the week while sticking to blues and swing. I'd be double booked most nights. Now I don't do that because they're spread all over the bay (SF, Oakland, mid peninsula and South Bay, hell there's even one in Sacramento), but there are enough close to me that I can do 2-3 a week no issue.

In Atlanta theres a couple things a month. Anywhere super rural that isn't a college town, I'd be lucky to find dance partners my age.

I'd maybe pick up other hobbies again (I used to play magic the gathering but stopped in college, FNM is in a lot of places), but it's not the same.
Then the risk is that they take the job, but only for 6-12 months, and then leave just when they're starting to become productive with the new tech and your environment.
Ask HN: Circuit board vs. pure software
I feel that some day everything will be related to a small Linux box linked to hardware controllers. Then what will be the main purpose of the other custom hardware circuits?
I wonder if all the vaccinations in the first year wouldn't qualify as a "sickness" or several sicknesses as far as the immune system is concerned?
May as well just go buy physical newspapers and magazines then since few web sites today work without javascipt
Ha! Try that scenario again with cheap or no insurance. That’s the reality for many
The fact that these transitions were so painful doesn't mean that all breaking changes have to be so painful. With Meyers' 'magic wand', the transition is eased quite a bit. But another important component of a smooth transition is a 'carrot', a new feature that's so compelling everybody will want to move to the new use the new version. If a C++ with major breaking changes would also halve compilation time for example, most people would switch in a heartbeat.
Computer virus hits newspapers coast-to-coast
OT: I now read HN comments BEFORE OP — offers a slightly different lens.
Louis Rudd Completes His Trek Across Antarctica
Was the clickbait title part of your plan?

[ edit ]

I am interpreting the amazingly rapid swarm of downvotes in response to a valid critique of a poorly drafted clickbait title which HAS SINCE BEEN EDITED to be due to a concerted campaign of paid advertisers, not probono janitorial effort of an impartial-ish tech community.

Community management is important people.
For those interested in this space, AWS Glue Crawler does schema discovery on databases as well as data stored in S3: https://aws.amazon.com/glue/

Disclosure: I work on AWS Glue
> I would think (or at least hope) that there are not many new projects being started in c++ these days.

At least on Github it's growing : https://www.benfrederickson.com/ranking-programming-language...

I'm pretty sure that given the overall large increase in the amount of programmers, there are more new C++ projects being created this year than there were new software projects overall when c++98 was standardized. Consider that in the US alone, there were ~600k developers in 2002, and nowadays the estimates are at ~4.5 million.
I did the same thing – I had an private cabin in a co-working space for some time and then moved out to a larger apartment with a dedicated office room. It's been working pretty well so far, although I have make sure I go out for workout and some tea every day to prevent myself from going insane.
Probably not an issue with banks. Patrons can always send cash ;)
Thanks, those lines in the corners threw me off.
I have look at Go. It impress me the first time, specially the CPS stuff. But now I'm working on Rust (apart of F#, python, Swift). Rust is nice, but too strict, and is very hard to be productive on it.
Methodologies are just like Martial Arts Types - you have so many varieties to choose from Boxing, TKD, Judo, Muay Thai

But in a real fight, you hit with whatever you can grab onto :)
Good observation. But apply it to everyone not just your kid, and observe the results.

Apply it to people who you disagree with politically. Apply it to your relationships at home and work. It's basically what Fred Rodgers, Dale Carnegie, Marshall Rosenberg (and hundreds of others) all talk about.
In your 20s? Who cares. Living with others can be fun. And those 1.5k in rent places are quite nice, they're just not spacious.
I find it a clunky tool sometimes, but the industry standard for those kind of diagrams in my field is Microsoft Visio. The icon database is fairly high quality, vector graphic, seems to have been done by professional graphic designers. The arrows actually have pleasant curves, it supports theming, etc.

I'm sure there are other tools, but the output quality is great. It's expensive though. I've seen some online tools that replicate the functionality and they're awfully close but have even more quirky UI issues that get in the way of getting it done. I don't want to be spending more than an hour on a nice figure for a publication, and even Visio ends up taking me three times that.
Much networking equipment is not designed to handle malicious or bizarre traffic. TCP/IP is amazingly brittle, and often fails on me in surprising ways that the standards say should never ever happen.
CMake is painful to use for so many common things I find it hard to believe it's achieved the popularity it has. For instance, given the focus on out-of-source builds, the -H and -B options remain undocumented for vague reasons. The community has also sworn off clean builds for some reason. The most baffling part is how anemic the command line interface is compared to the scripting language. For a tool targeting the command line aware C/C++ communities, it's far too common to rewrite build scripts with awk/sed/perl because the command line doesn't have the options you need.
For every ad or suggestion that elicits that kind of response, how many are completely unremarkable and immediately forgotten? It’s largely explained by the survivorship bias.
I also recall that a lot of local clinics one would normally go to end up closing thanks to lower funding... so, let's fund more walk-in clinics around?
Exercise and sleep better.
and what would you do with all of that space? In the bay, I am living a bit far out (25 minutes) and tradeoff for a bit more space - but I'm also going out to social events 3-4 times a week. I would not be doing that anywhere else, heck when I was living in DC I only managed 1-2 events a week unless i tried really hard.

Some people prefer saving and looking for other forms of stimulus other than the acquisition of space. For those of us, the fear of living "some place in the south" amounts to:

"The cells just say, 'that's it', and you, the unwary victim of cellular ennui, are quite literally bored to death."
> Insulin is the primary hormone that tells your body whether to store energy or burn it. When you eat, you're taking calories in and insulin goes up. Higher levels of insulin signal your body to store energy. When insulin falls, it tells your body to release energy. When you develop insulin resistance, your insulin levels remain chronically elevated, hence your body is in constant fat-storing mode.

Best definition of insulin I ever read.

I liked his thoughts on fasting too.
> Just speculating, but they might just need this information to combat bots actually.

That would be actually quite useful for fighting bots, but I doubt that is the reason.

My guess would be just gathering telemetry to how how API is used, and what type of android devices are there (you know, like to know what you should support and test on).
I would not run a database on swarm. It simply does not have the right api's at the cluster level to properly express state requirements.

The original swarm design had some of this but it was pulled just before release for more design work... which was never completed.

I wrote the only storage support currently in swarm, which is the "mounts" api in your service spec...

So, technically you could use swarm to do it, but it will be painful and I don't think any amount of tooling will help until docker includes some support for cluster-aware storage.

I would be happy to hear if people have successfully done this, though!
I’m debt free as of December 14 so 2019 will be all about having sizable savings. Pretty easy. Aiming for six months but won’t stop at that.
I got stuck on the 6th one -- I can get everything perfectly aligned, but I'm using border + border-radius which renders with a few pixels missing :(
For the transition from Python 2 to 3 the Python team released just such a conversion tool, aptly named "2to3." [1] This was better than handy but the transition from 2 to 3 was still lengthy and painful. In practice many of the suggested changes were unnecessary or at least needed human review (e.g. suggesting changing "for n in range(1,11)" to "for n in list(range(1,11))". Thanks, 2to3, but that code is still correct and actually faster with the iterator version of range().) Another problem was that, just like it says on the tin, 2to3 produces a version of code that only runs under Python 3, whereas most library authors during the transition time wanted a version that would run under both 2 and 3 a la the six[2] library.

So while a one-way automated refactoring script sounds like a good idea, and is strictly better than just breaking backwards compatibility and expecting everyone to deal, it wasn't an unqualified success for Python.

[1]: https://docs.python.org/3/library/2to3.html
[2]: https://pythonhosted.org/six/
I was visiting my SO's parents in Portland for the holidays when this happened. Their cable TV stopped working for at least two days and we all got an emergency services text with the local emergency number because 911 wasn't going to work. (At least their Internet through CenturyLink remained working.)

This also happened to coincide with them receiving a notice of a $50/month increase on their bill from CenturyLink, as well as my SO giving them a Roku for the holidays and setting them up with streaming services, which they got lots of practice using in the two whole days the cable TV didn't work.

Guess who's cutting the cord and switching to Internet-only service from Verizon FIOS at a much cheaper rate now?

This is what happens when you treat IT like a cost center and don't provide the necessary funds to tackle technical debt and keep your services up and running: You get huge costly outages revealing your basic incompetence and customers fleeing to superior competitors forever.
The answer is in the blog comments:

>Dear Terry,

>Have you ever considered writing a blog post on “Bourgain’s toolbox” summarizing the kinds of techniques used continually (without explanation) in his papers?

>[...]

Tao's final conclusion, besides other hints like http://www.tricki.org/ is:

> I think that ultimately the best way to acquire these tools is to constantly be exposed to interesting new mathematics, whether it is through reading a challenging paper from an expert, or listening to a talk on a topic outside your own specialty, or by working (particularly with collaborators) on a problem outside of your own comfort zone. Bourgain is not the only author whose writings happen to be particularly worth investing the effort to properly read; I for instance found reading Szemeredi’s work or Perelman’s work to be a broadly similar experience, and I am sure that there are several other mathematicians with this property also.
As someone who went out and bought a license and used it frequently for figures in grant proposals and other documents, Visio is excruciating. It's not even much of a learning curve, it's just frustrating and feels like you're fighting it.

This is because I was using Visio where the final product needs to look aesthetically perfect, and the workflow would get you to 95%. But we all know how much manual tweaking it takes for that final 5% -- getting none of the text overlapping, making sure arrow dashes don't alias with each other, making sure colors can be distinguished, moving the logical structures around to get the overall shape and flow right, and so on. That stuff is pretty good, and I've only seen worse in other tools. But it's still excruciating.
You're not wrong.

But it's important to note that the key to amass wealth is investing not collecting paychecks.
https://blog.usejournal.com/rethinking-how-we-interview-in-m... is the original post by a PM at Microsoft. It doesn't have any useful information about a pure technical interview for software engineering.

>(Note: I started at Microsoft when we were still asking questions about why manhole covers were round, how many ping pong balls would fill a 747, and how to reverse a linked list. In 20 years here, I’ve yet to have to write the code to reverse a linked list (copy-paste anyone?) or fill a 747 with any kind of ball.)

The manhole cover question is actually a valid industrial design or UX question even if it's not appropriate to ask for software interviews. The linked-list question is the equivalent of Fizzbuzz for data structures. And the 747 question is a valid Fermi problem. The exact number doesn't matter but the steps required to estimate the answer are similar to other estimation problems when mapping out a business strategy and trying to determine if it's profitable. Or maybe the company is interested in salvaging sunken planes: https://www.iusmentis.com/patents/priorart/donaldduck/
you can prepare food for whole week in advance in weekend
I'm well aware that's the reality for many. My awareness of that is the reason I commented on the fact that the US already has one very well-developed and well-established medical system that works much like socialized medicine: The military medical system.

We don't need to look to other countries at all to try to figure out how that's done. It's done right here on American soil every single day for military members, military retirees and their dependents.

All we need to do is figure out how to expand on that existing system. And perhaps one first step would be to change the rules such that anyone who serves in the military gets medical benefits for life, even if they don't stay long enough to retire and get all those other benefits.

It's never sat well with me that it is possible to be a veteran and have no benefits at all. Giving all veterans medical benefits would begin expanding coverage in the US under a system where billing is the exception, not the rule.

I hate the civilian US medical care system and it's fucked up coverage. I've been a military dependent basically my entire life. My experience of medical care is vastly different from that of most Americans and it's a crying shame we don't do more for our citizens in that regard.
It looks like that xlink syntax was deprecated in SVG 2 but it still works in most browsers.

https://css-tricks.com/on-xlinkhref-being-deprecated-in-svg/
> a fork of GTK 2

For strict accuracy, MATE is not a fork of GTK2, but of GNOME 2. MATE did originally use GTK2, though without forking it, and it has since switched to GTK3 (while still keeping the GNOME 2 "look").
There is more or less the basis of an experiment going on in English schools (google Self organized learning classrooms - Sugata Mitra). The class is split into small groups. Each group is given a computer with internet access . A "big" question is placed on the board. Then the groups start working on it. They soon realize by themselves the points you have listed and are encouraged by the teacher to explore them.
You need good stencils for Google Draw. There a number of links out there for UML stuff and actually works quite well. Unfortunately, out of the box it’s definitely on the Spartan-side.
Presumably they would ramp up their pay and responsibilities according to their development.

If they're only worth introductory pay and responsibilities 12 months in, let them go take a pay raise elsewhere.

The attitude that pay only goes up incrementally year to year is fairly infounded. The curve should be steeper six months to three years in, depending on you industry and stack.

Organizations should also optimize their tech for onboarding efficiency. I rarely see that enter the discussion other than broadly: "It's easier to find JS developers."
Curiously, Gauss's pentagramma is properly a neuter noun while the ferns are feminine, either by mistake or inheriting the gender from filix (fern).
2019 me and my family will be part of the climate solution
oh come on in atlanta there's a fun weekly swing dance in a creepy cabin in the woods. But true, it's nothing like the bay area.
State Your Assumptions
> the usefulness of learning cursive writing

Honest question - What do you see about it as being useful? I was taught to write in cursive when I was younger but I honestly don’t feel like it has ever been all that useful (especially given that most of my communication and writing is done on a computer/smartphone).
Mental wellness startup bags $11M in seed funding
Discussed at the time: https://news.ycombinator.com/item?id=10562105
The Man Who Killed Don Quixote by Terry Gilliam
Python has the additional problem of being highly dynamic, though!

In C++'s case, the transformation tool has much more information, so more things are possible to do.

E.g. let's take the ".erase" case from the article. In python, a method

def foo(bar):
bar.remove(baz)

can't simply change "remove" to "erase", because it has no idea what type "bar" has.

A C++ tool sees

void foo(std::list<sometype>& baz)

and can then safely change "remove" to "erase".
FYI: there is no "reply allocation". HN adds an increasing wait time before you can reply to replies on your posts in a thread to prevent deeply nested rapid fire arguments.
I recommend it at least once a month. I don't know why copying the candidate info to another req should be difficult compared to the rest of the interview and recruiting process.

If you don't have junior level openings, don't offer the job, clearly.
I lived with roommates until 30. It was fun, it was cheap, and I was able to save a ton in a very short time which allowed me to have a sizable down payment on a house.

Nothing like a garment factory worker.
"The point we will be making here is that logically, neither trial and error nor "chance" and serendipity can be behind the gains in technology and empirical science attributed to them. By definition chance cannot lead to long term gains (it would no longer be chance); trial and error cannot be unconditionally effective: errors cause planes to crash, buildings to collapse, and knowledge to regress."

This is an extremely flawed initial assumption. There is no requirement for chance to be centered around zero. Consider rolling a dice: sometimes you'll get more than the mean, sometimes less, but you'll never roll a negative number. You can certainly win on chance in the long run, that's the foundation of casinos and insurance companies. It's hard to imagine a scenario where trial and error can possibly lead to knowledge regressing.

Consider randomly digging holes in the ground: after enough holes you will eventually strike gold, and you will never lose physical gold in the process. However, you may lose significant time, wealth, and effort that could have been better converted to gold. The optimal way to strike gold is not to dig more, shallower holes, but to learn enough geology to understand where gold is likely to be found and concentrate your prospecting there.

No experiment could ever possibly hurt scientific knowledge. People tinkering will certainly make occasional discoveries. In a brand new field with a lot of low hanging fruit, these discoveries will be numerous and the cost will be low. But in a developed field where people have a good idea where the remaining discoveries are likely to be found and the effort to conduct such experiments is substantial, targeted approaches become optimal. Reducing the unit cost of experiments is always nice, but is not generally feasible. This strategy of "convexity" is a very poor substitute in the real world for understanding.
I've been blocking JS for the last 6 months or so and I've found it to be a greatly improved experience overall. I can enable at the click of a button JS for a website that fails to load properly but the majority of sites I view are fine without this. It was refreshing to learn that not as many websites as I suspected are JS abominations!
For some reason, it reminds me of Squirrel language[1] and Lemon language[2].

[1] http://www.squirrel-lang.org/
[2] http://www.lemon-lang.org/
The quality of interview depends on quality of questions. A qualified question is one which has many solutions, then the interviewee could pick the best solution on his own.
Got through the first puzzle, found the wallet empty - someone's already on the hunt!