skysight-inc/HackerNews huggingface dataset:
> well I think that is not the same what stolon-proxy actually provides. (actually I use patroni) but if your network gets split and you end up with two masters (one application writes to the old master) there would be a problem if one application would still be connected to the splitted master.

On network partition Patroni will not be able to update leader key in Etcd and therefore restart postgres in read-only mode (create recovery.conf and restart). No writes will be possible.
I’ve never in that time seen a pacemaker/corosync/etc/etc configuration go well. Ever.

That mirrors my experience - PG, DRDB, anything else, this form of clustering is a complete joke. If it's important, it's worth spending the money on a grown-solution. Veritas has its flaws sure but in 20+ years on half a dozen different OS's it's never let me down when the balloon went up.
Both of those sites appear to be money-making ventures that sell vitamins; I wouldn't consider them reliable sources.

Here is a university page with information:

http://www.umm.edu/health/medical/altmed/supplement/vitamin-...
I wish there was a way to collapse the tab war only when the tree style tabs are visible. I find the extension very useful when I have a workflow that requires categorizing many tabs open, but the bar uses too much horizontal real estate to justify keeping it open constantly.
That’s an almost psychotic level of unfounded optimism, all founded on being a relatively rare “winner” in the system you describe. That of course probably goes some way to explaining your equanimity with its indefinite continuation a the expense of billions of others.
Hm, the starvation of millions during Mao's control were pretty bad. Not sure mistreatment even comes close to 30 millions dead?
I personally don't know whether that's true. But even if it is it is a claim dramatically smaller in scope than the one I was replying to.
You're saying you would willingly destroy all of humanity? Or did I read that wrong?
It has been observed time over time that over regulating and over complicating a large and complex economy ends up in either run-away corruption to the point of modern feudalism or some form of totalitarianism
It's a hard question, because on one hand nothing beats the next-next-finish install and setup experience of Visual Studio with C# on Windows, but it gets you exactly nowhere. (Okay you can make pretty programs that have a lot of buttons, input boxes, dropdown lists, and so on.) But that's a very good place to be, because then you can start branching out depending on what you find interesting.

Do you want to make cross-platform things? Sure, try this https://github.com/picoe/Eto (or these http://www.mono-project.com/docs/gui/ )

Do you want to be closer to the metal? More OpenGL? Go C++ or Rust ( https://github.com/rust-unofficial/awesome-rust#gui and https://github.com/rust-unofficial/awesome-rust#graphics )

Do you want less setup for your users? Go the Electron way, and/or eventually just build Web Apps!
Japan is an odd case, as what you describe seems to be culturally/socially enforced by tradition, &c. rather than directly and explicitly by a central power.

Other than that though, are you talking about the distinction between totalitarianism and democracy?

There has been a (imo very odd) tendency in the US to confuse Communism with totalitarianism and Capitalism with democracy (despite counter-examples like Chile), and I've seen same rhetoric in Eastern Europe (where Communism-branded totalitarianism is a recent experience) but this tendency isn't universal.
I'm also a solopreneur making a healthy profit who has dealt with this. Some days, I'll make up tasks to perform just to keep me busy so that I don't have to go sit at the computer. Or, when I am at the computer, I'll close my email only to reopen it a few moments later. It's the worst cycle of nothingness, especially as a developer, whose primary motivation is to figure out how things work (or, why something isn't working.)

You know what has helped me, contrary to all the advice I've been given?

Stepping away. Stopping trying to fight against the feeling and really listening to it and embracing it. Putting my best effort into the _other_ thing that is keeping me motivated at the time. Slow down, breathe.

Ideally, maybe you can incorporate some of the other healthy advice into your routine or interests. Need to eat better? Maybe you'd enjoy putting more time into the intricacies of cooking. Need more exercise? Try picking up a fun activity where you can level up, like mountain biking.

Consider building a team who can help you to grow your business and become your professional family. Surround yourself with people who you can learn from and help out. Leverage the fact that your healthy solo profit provides the benefit of choosing your hours. We're made to feel so bad if we don't perform 40 hours of work per week, but that's total BS and an outdated social construct.

If you want to talk more about this, I'm on Twitter. @davekiss
> However, it's largely an engineering resource problem and not a theoretical problem.

I appreciate your openness and honesty here, but the moment that an academic says that all the theory is solved and now "it's largely an engineering resource problem" is when people from industry tend to get nervous :-)

The majority of aspects that make databases robust aren't theoretical problems but "mere" engineering problems. Nevertheless there's an enormous variety in quality in this area. Pile sufficiently many engineering problems together and it becomes very hard to get right.
Utterances – A lightweight comments widget using GitHub issues
Yeah they get you really hyped up first and drop the bomb at the end. Still quite impressive speedup, would be better though to show it on a benchmark where SVM's are used in practice
Ha no, I did Amiga application in 68K assembly language. MUI looks very modern compared to my Amiga experience :)

I still miss the Amiga in general though. It was nice to have complete control over the machine, working in harmony with the OS... or hosing it and causing a Guru Meditation.
It's true - the universe is made of nothing. Galaxies are mostly empty space. So then you find some matter in the galaxy. Atoms are matter. But atoms are mostly empty space as well. But then you find the nucleus. But protons are mostly empty space as well. But then you find quarks. But quarks are mostly empty space as well. It's empty space all the way down. Nothing actually exists.
Could it also cause cramps?
Just because now it's two languages for loops to remember, I kept trying to write fish loops in bash scripts, and bash loops in fish shells.

Some people are better at this kind of thing than me, but I find it hard when languages are close in notation (I never confuse C++ and python, but I confuse python/ruby, or bash/fish).
Several years ago I read an article on Facebook about vitamin D, and because I was in pain and tried many things like this, I read more about it, and started using 2000 IU daily. In about two weeks I felt a lot better. Later that year I was on holiday in the mediterrenean and noticed how much better I felt after a morning in the sun. This made me decide to take even more, so I increased use to 6000 IU/d, and I felt even better.

Several weeks ago I had my blood tested, and I came out under 100nmol, which shocked me. I changed pills immediately, and am going to test again. I want levels to be around 120, so I'm going to test once again. I'm going to call my docter right now in fact.
I've known about the sunscreen misinformation for a long time.

My dad died of malignant melanoma. He wore sun screen all the time. He didn't swim. He would wear sun hats. He was paranoid, and likely had premonition of it. Unfortunately, his prevention methods might have actually exacerbated his odds even further because he was depriving his skin of one of its few natural healing modalities.
Bitcoin is not income.
Revolut now allows you to buy and hold BTC, ETH and LTC with no fees
Anyone who thinks they are D deficient should just go to the doctor and get your blood tested.
It's a shame that you conflate socialism with authoritarianism. Implementing socialist ideas like providing health care and education to all, regardless of income, are not steps towards becoming Soviet Russia.
What an excellent comment. Thank you for writing it.
Someone got way too excited with animations.
it is: Tree Style Tab > Options > Appearance > Left | Right Side.
what's your channel?
Isn't that normal Firefox behavior? In Options, click When Firefox starts... Show your windows and tabs from last time.
Every negative episode I deal with gets tracked and logged. I have a notebook just for this purpose, I time stamp my results, and I try to develop my own theories of what might be going on, and what might have happened, while remaining open to trying others' ideas (that's how I found out about sleep cycles, dopamine, etc.). My purpose is to develop a framework which gives me greater leverage against the suffering.

When I feel low, I immediately put myself in a resting state (usually laying down) and start logging and taking notes.

Incidentally my lowest periods of depression produce about 2 to 3 negative thoughts per minute for up to 30 to 45 minutes at a time, whereupon my body naturally seems to cycle out of that a bit before returning. So I'm noticing that even really depressed days have lots of little less-depressed leverage points where I can trust my judgments and rally myself to make smart decisions.

This tracking and logging and modeling stuff was not something with which I was familiar before I started studying a bit of personality psychology. I basically looked for tools that would help someone like me, but that I hadn't yet tried.
Yes. In chrome only:

https://developer.mozilla.org/en-US/docs/Web/API/File_and_Di...

It gives JavaScript access to its very own, empty, sand-boxed VFS. However, you can give the page access to directories manually with drag-n-drop or a directory selecting input tag. So if the app needs access to just one parent directory then you're good to go. If you need the app to have indiscriminate access to the entire filesystem then you might be able to give it C:/ (or whatever other root dir) but I have never actually tried it.
I did the same thing. I gave FF about a week before I got frustrated and went back to Chrome. FF is still noticeably slower in terms of basic UI actions (opening/closing tabs, menus, etc.) and every hour or so it would start hammering my CPUs. I don't know why.
As a lot of people will point out, neither of those countries are socialist.
PJON – Networking for a better future
This is known in the industry as an advertorial and they have been common for a very long time. Especially in trade journalism.

https://en.wikipedia.org/wiki/Advertorial
“But compare that with a scenario in which that person never existed—then, the absence of the bad would be good, but the absence of the good wouldn’t be bad, because there’d be nobody to be deprived of those good things.”

I'm not convinced that this is asymmetric. You could easily extend the argument to include that the absence of bad wouldn't be good "because there'd be no one to be deprived of the bad things". There are many other examples of this kind of logic in the piece.

Overall, it seems to be a pretty subjective and self-contradictory philosophy, at least the way it is presented and defended (by the person being interviewed) it is.
Zones have the same problem that linux containers have which is a massive attack surface in the form of a kernel. And if you think zones are secure: Which OS do you think had more kernel exploits that could be used to escape container/zone in the last 2 years? I think the answer is much closer than you might think.
Didn't they start it all by playing atari games?
India's Startups Ask Government for 'Preferential Treatment' Over Global Giants
Japan Airlines invests in supersonic jet startup Boom Technology
> if you accessing the DB but can't contact etcd/consul then you should stop accessing the DB because you might start doing unsafe writes.

If patroni can't update leader lock in Etcd, it will restart postgres in read-only mode. No writes will happen.

> like the patroni default haproxy config doesn't even seem to kill live connections which seems kind of risky.

That's not true: https://github.com/zalando/patroni/blob/master/haproxy.cfg#L...
The hype is strong with this one.
Anecdotal: I have Chrohns and take 2000 UI Vitamin D everyday. I've been prescribed the lowest dosage anti-inflammatory (Mesalamine) for years and rarely had a flare up. My Vitamin D blood tests always come back in the normal level.
My dad started on a PDP-8 at my granddad's workplace (a newspaper).

He later wrote his PhD thesis on an Epson HX-20 and backed it up to PDP-11 magnetic tape.

When I was 16, we went to a computer museum to try to get his old backup off, but their PDP-11's Winchester hard drive was broken, so we couldn't boot it to load up something to read the tape.

Lesson to learn: copy your old backups forward when storage formats change.
Sure - communism simply requires the centralization and concentration of power and so is incredibly vulnerable to authoritarian takeover.
Let's assume that humans thus far have caused a net-negative on the earth, through wars, environmental damage, animal extinction, etc.

Let's also assume that humans have the potential to be net-positive. Humans can create environmental restoration projects could potentially prevent an asteroid catastrophe.

So I would argue that humans are still in their infancy. Once we get our act together, (which could take a few more millennia) we will eventually be a blessing to the world.
Clicks surface bizarre ads on Facebook
Half of China's economy are state-owned enterprises (SOEs). China is still way more centrally planned than people think, including good old Soviet-style 5-year plans. Most of strategically important industries have not been "liberalized".

When compared to places like Venezuela, which people love to bring up as socialist disaster of sorts, but which has way more people employed in private enterprises than China, China looks more socialist by your standard mainstream definition of "socialism".
Stock market trading robots, being doing it for years and earning more than my "real job" - systems/security team lead in big telco... still have time till the end of the year, but so far this looks like to be my first triple digits return year, (which I don't expect to repeat anytime soon, but still it is a quite an achievement in my book...)
The junior programmer’s guide to asking for help
Benatar never answered any of Harris counter-arguments. Made absolutely no sense to me.

Being anti-natalist, but stating suicide his morally wrong? If life is so painful that we should not give it to someone, why one should not kill himself?

I think Harris nailed it in the first few minutes when he asked about how Benatar own experience of life could taint his view on this.
So if it is a string and contains "/", it is categorized as a path?

https://upspin.googlesource.com/upspin/+/master/errors/error...

User names can contain slashes apparently:

https://godoc.org/upspin.io/user#Parse
Best practices for designing your search pattern
It's a good attitude as long as it doesn't turn you into a old coot stuck to his vb6. It's good to always be skeptic, but don't let that stop you trying new things.
I don't understand what's so unrealistic about gp post, it can easily be done as a 40 min morning routine.

Meditation can be as short as a couple minutes, budget 5 min. A good workout can be done in 20 min, and 15 min for a shower.

There is nothing magical about that. I dont wake up at 5am, I wake up at 6:45, but the routine is just as effective at 6:45am :)

I also agree mood is highly affected by diet, so save some time and get some good nutrition in by topping that morning routine off with some premade in mason jar overnight oats (rolled oats, milk, chia seeds, a fruit and a nut )

10 minutes to get dressed, and your ready for the day within an hour from wakeup.
Social Democracies are not remotely socialist. They're capitalist, with welfare.
However, this does impact gas, which could be significant if the difference in time is large enough.

(This is assuming that the poor person is not driving e.g. a (more expensive, fewer available as used) hybrid car that can idle in traffic without wasting gas)
I think that it's less the quantity of the regulations that matters and more the quality of the regulations. Poorly designed regulations and create big problems even if they're really brief.
Get these AI working on P=NP.
How Online Subscription Services Deal with the Problem of Password Sharing
> Lobbying of local city council isn't expensive. It mostly involves time

Time is something poor people have very little of, as they generally spend most of it trying to make money to make ends meet.

(This is something I've often seen poorly understood: some people seem to think that because a rich person makes more money, their time is "worth more" to them. Nothing could be further from the truth. Each hour of a poor person's time spent gaining income has a significantly higher impact on their quality of life than the same for a rich person.)
With benevolent and competent leaders, I believe this is the optimum approach, which is one of the main reasons China will be the undisputed global leader very soon. Obviously this requires ongoing benevolence and competency though.
Government has chosen winners and losers through legislation. Government is the problem.
in perl6 this is done with the hyper operator, but for a small data set a for loop (non parallel) will almost always just run faster.
Because of bitcoin's origins in a largely an-cap community - and the continual anti-Government, pro-capitalist mindset in a significant part of the community as it stands now - there's not actually as much demand as there should be for "legal" exchanges etc. As a result, there's much more competition in the "shady" exchange space, less competition in the "legal" exchange space, and two things result: people occasionally lose a significant chunk of their life savings to shady exchanges, and legal exchanges don't have as much of a drive to be technically brilliant.
And not just health....all insurance works like this!
Looks nice! Thanks!
China is something new. It's capitalism without freedom and with a Soviet "politburo" type structure acting not as agency of the proletariat but as a hyper-Keynesian backstop to markets.

Tangent but: I think this really killed Libertarianism. Libertarians and classical liberals from Adam Smith to Ayn Rand said this wasn't possible. Capitalism and freedom are inseparable, they said. China proves that Capitalism works perfectly well and in fact may work better under a more authoritarian system. Freedom is not required beyond a few degrees of freedom to act economically. The presence of a totalitarian ruler willing to constantly backstop markets prevents panics and actually makes the system work better.

... or seems to so far. History isn't over. China could crash.
I exist, he exists, and you exist.
This response is pure whataboutism. Any other people responsible for similar deliberate murder should also be similarly prosecuted.
If someone is a hand chopper-offer, people will not want to do business with them. Capitalism will punish him. And he does that not as a result of capitalism, there is no competitive edge to hand chopping off, it's just evil.

Also, lets pretend the hand chopper-offer is not an individual running a business, lets say he's in charge of an all-powerful communist government. When you centralize power too much, you risk a tyrant seizing control of that power.
I was dead for 12-billion years before I was born... and it would be hard to say it was "better" than this because there is nothing to compare this with.

anti-natalism is a divide by zero problem.

for the ones of us who are hopeful that we can solve the problems of aging in the next century, there's an option to solve the problem raised in the article: humans keep making the same mistake because by the time they've learned to stop, they're nearly dead already.

I feel for Benatar, but I doubt his motives.

(edits for spelling)
I know, they may really like Communism!

https://www.rt.com/politics/340158-most-russians-regret-ussr...
More evidence that Google is hurting financially.

Thus far, Google's major platforms have had roughly the same longevity as a typical series C startup. I will keep this in mind the next time Google announces a promising platform technology.
> I started to hit real performance issues again

What would help is to activate the Gecko profiler[1] when the performance issues occur. The cause of these performance issues might not be in Firefox itself, and the Gecko profiler would allow to find out where is the issue.

[1] https://perf-html.io/
a bunch of InDesign templates
Ask HN: Which skills are essential for a developer to join a blockchain startup?
I don't know if there is any future for blockchain or not, but there might be and I am currently a bit bored of what I've been working with so far, so I thought it might be interesting to work with something as new and undeveloped as blockchain just to get that "hacker" feeling back, which I had when I started with web programming back then.

UPD: could you keep your sarcasm to yourself, please? It's not a place to discuss how much of a bubble everything blockchain-related is.
I think you're right, though some of those solo drivers might be in electric or hybrid vehicles, which have been allowed to use the toll lane free for a while.
I thing cshenton wants to install packages without running the R interpreter. Think of pip install, cpan, cargo...
That's odd... "David Benatar" and "Joshua Rothman", having a conversation in "New York", published on "The New Yorker", arguing we should have no more children.
- Ecclesiastes 4

https://www.biblegateway.com/passage/?search=Ecclesiastes%20...
It's kind of anti-responsive... I've got my browser window at about 600px height, and I see there's some "below the fold" content but I can't scroll down to see it...

Maximizing I found out that it said "Day 1 Frontend Love".

There's no footer so I can't find out if the website has any more content.
- "Waking Up" by Sam Harris

- "EconTalk" by Russ Roberts

- "LSE Talks" by the London School of Economics

- "Revisionist History" by Malcolm Gladwell

- "Freakonomics"

- "Radiolab"

- "The Commonwealth Club Talks"
Do you have parents who lived in the Soviet Union?
> do some people just have way to much time on their hands for thinking shit like this up.

He's a philosophy professor. He's not supposed to be devising a more efficient way to cook noodles.

> I'd rather live my life than not exist.

He specifically addresses this point in the article, so you're not bringing much to the discussion.