skysight-inc/HackerNews huggingface dataset:
Regarding sentiment, and stock valuation, this is the way I look at it, which to me makes sense (although it doesn't account for irrationality in the market).

Let's say you have $100.00, and the market figures that you need to make a return of 4% per year. If you find a stock that gives dividends of $4.00 per year, that stock will then be worth $100.00. This is assuming that there is a really strong trust in this company, that it won't go out of business, won't grow or shrink in market share.

Now let's add onto this that based on what the company is doing, and an analysis of their competition, and their ability (track record) of execution, that there is a really good chance that next year they will be able to make enough money to return $8.00 dividends per year. Well, that means that next year the stock will be worth $200.00 per share. And if it is going to be worth $200.00 per share next year, well this year most people will probably be willing to pay about $192 per share (that gives a 4% return on investment just in the stock price).

You can extend this line of reasoning to factor in forecasted growth for a number of years into the future. Which is how you get stocks that currently only return a small fraction of a percent of their stock price in dividends (i.e., a $100.00 stock may pay 4 cents dividends, instead of $4.00, since market sentiment thinks the company will grow a lot in the future).

So based on this, I would like to pick stocks that don't have a lot of growth forecasted, but do pay good dividends. Especially stocks that are in a market where they are protected from competition, or otherwise have a strong likelihood of not going out of business but provide the same thing they've always done, without growth but with good dividends.
Ask HN: How to Move into Management Role?
I've been a software developer for eight (8) years now and while my programming skills are decent I think I've developed a much better sense of how teams function (or don't) and processes that help or harm the operations of a team.

All of that to say, the management track seems like the entry-level job paradox. You need management experience to get into the role so there's no way to get that original experience. I'm also coming at this from the perspective of someone who is currently under a manager who simply got the role due to seniority and only plays the manager role when absolutely necessary and I believe that my "team" has a ton of untapped potential because of the lack of true leadership.
A user will only engage with your product if it's rewarding to them. This can mean internal rewards ("I enjoy this / feel good") or external rewards ("now I can earn money"). You've identified the missing external rewards, and have reasons why this cannot be changed. That leaves only internal rewards. The fact that your users are not engaging is hard data showing that the experience of your training course is not rewarding enough. Stated more bluntly, your product isn't good enough. Fix that.

You must stop thinking in terms of "retention", because this leads you down the path of tricks and dark patterns. Focus on making your core training product inherently compelling. This is likely to be more than one small thing... there are probably a hundred separate improvements that you need to make to polish your core offering.
alias rg="rg -uuu"

That will disable all smart filtering and make it behave more like `grep -r`. Defaults matter and a lot of folks appreciate them, including plenty of old Unix greybeards that I've talked to about it. (I used plain grep myself for well over ten years before writing ripgrep.) But the defaults don't need to pin you down. They can be disabled very easily. :)
Doyle had a poetic exchange with a critic who tried to call him out on Sherlock Holmes’s scoffing at Dupin when it was well known that Holmes was partly based on Dupin. Doyle’s riposte:

Sure there are times when one cries with acidity,
'Where are the limits of human stupidity?'
Here is a critic who says as a platitude
That I am guilty because 'in gratitude
Sherlock, the sleuth-hound, with motives ulterior,
Sneers at Poe's Dupin as "very inferior".'
Have you not learned, my esteemed communicator,
That the created is not the creator?
As the creator I've praised to satiety
Poe's Monsieur Dupin, his skill and variety,
And have admitted that in my detective work
I owe to my model a deal of selective work.
But is it not on the verge of inanity
To put down to me my creation's crude vanity?
He, the created, would scoff and would sneer,
Where I, the creator, would bow and revere.
So please grip this fact with your cerebral tentacle:
The doll and its maker are never identical.

— https://www.arthur-conan-doyle.com/index.php/To_An_Undiscern...
>Anti-scientific, or we learned from our mistakes?

I would say that when you are valuing the opinion of the public and/or political groups over the opinion the scientific consensus (i.e. the IPCC and other) then that is the definition of anti-scientific. (As to Chernobyl, I would also call building a positive void coefficient reactor is also anti-scientific, considering it was against recommendation).
> the treshold density in walking distance versus the treshold density in cycling distance will scale quadratically with the distance (since area is quadratic function of the radius), an electric bike that extends your range twice, will result in a 4 times higher "effective population density" for public transport to make sense.

That's exactly the problem you're working against. A bicycle doubles the radius from walking, but a car at 70MPH on the highway multiplies it by 20 or more, so you get hundreds of times the area and consequent sprawl. And ebikes at those speeds are fatally dangerous, so they can't be a replacement.

The thing that can actually be competitive is trains that can go as fast as cars, but then you need the density to fill them.
My impression is that these companies are not even branding their products as health foods, exactly. They’re succeeding because so many consumers now expressly care about the environment and want to reduce their carbon footprint along with their consumption of factory-farmed animal products.
Oh, definitely. I'm sure that even the kind of trafficking that Backpage was accused of aiding and abetting also exists, although obviously to far lesser degree than people who feed off of fighting it would want us to believe. But busting some Chinese grandma giving handies in a parlor (after getting some at taxpayers' expense) is so much easier than running after gangbangers, and gives points with voters, so that's what we get...
Police and the US government regularly abuse "legitimate" surveillance as well ass utilize illegal surveillance. There are a huge amount of examples. I have 0 faith that police cannot and will not abuse this

https://thinkprogress.org/new-york-police-nypd-will-deploy-f...

https://www.npr.org/2018/02/01/578369420/report-alleges-poli...

https://www.theguardian.com/commentisfree/2015/aug/26/police...

https://theintercept.com/2018/01/09/dark-side-fbi-dea-illega...

https://ccrjustice.org/home/what-we-do/issues/government-sur...

https://www.aclu.org/issues/national-security/privacy-and-su...

https://www.aclu.org/other/more-about-fbi-spying
Good point! That would probably make validating the Python interpreter easier.
Ouch... now no-deal Brexit is almost certain, because neither BoJo nor the EU will backtrack. Surely some business/start-up opportunities to launch on both sides
It somehow skipped my radar. Few days ago I've noticed what this language actually is. Since couple of days I'm going through the manual top to bottom (not finished, somewhere in the middle at the moment). This language is beautiful.
This is a payoff from the Sacklers to stay out of jail. Accountants and Lawyers crunch the numbers to come up with a payoff that allows them to keep their wealth and move on as if it never happened. They'll negotiate a little and bump the number by 20% and live out their lives like the Kennedy's.
What the heck does the world need gold bars for if these are not allowed to be traded freely without being legitimately stamped with the logos of major refineries? If gold still has to be controlled this way, why not just issue some kind of global money instead and stop drilling Earth for this? Also, what distinguishes a warlord from an ordinary dictator which still is allowed to use gold?
Can't they not put some of the waste into containment barrels and stow them somewhere?
It's a naturally occurring phenomena when publishing packages is easy. There are various ways to address it:

* Make it harder to publish

* Make it easier to find quality packages

I'd prefer the latter.
I read https://old.reddit.com/r/MachineLearning/. It's not perfect, but most high profile papers will be posted there. The better ones will have a good number of comments, which helps me sift through the garbage. I browse it on a daily basis, never really reading the papers, just seeing what topics are being discussed most.
Sweet, love this tattoo generator! ;)
If you read into it a bit more, those are optional dependencies and if you drop support for redox OS while on windows you lose all but five of the dependencies and those are a config dependency, libc, and winapi and winapi architecture packages (32bit support + 64 bit support). On Unix/Linux, it only depends on the config dep and libc.
I would be wary of calling 'simple' the semantics of a language that requires intimate knowledge of particular optimisations in its code generation framework to implement dynamicaly allocated arrays.

https://doc.rust-lang.org/nomicon/vec-alloc.html
Spoken like someone who truly doesn't know the history of the economic field.
Salmon is usually considered a superfood
Cloud computing key for Africa’s development
For those who are ignorant.

What about this parallels the lives of the Kennedys?
People aren't going to start keeping the equivalent numbers of livestock as pets. If factory farmed animals fall out of fashion, most of these animals will all die without reproducing and their bloodlines will cease to exist.

I agree that factory farming isn't ideal, but it seems to me that it is less ideal from the perspective of the animal for their entire bloodline to be terminated. To make a strong argument against factory farming, you have to provide a feasible alternative that IMO doesn't exist.

The question really comes down to whether or not you consider the opportunity to experience life, even a particularly difficult life, as a blessing.
> says Yannick Rousselet, a Greenpeace campaign leader.

Respectable publications should stop quoting Greenpeace. In my mind, Greenpeace is really close to anti-vaxxers through their opposition of nuclear power and especially GMO foods such as Golden Rice which would save thousands of children's lives every year. In regards to nuclear power, it it had not been for the stringent opposition to nuclear power over the years, a much larger percentage of our power generation would be carbon free.

https://slate.com/technology/2013/08/golden-rice-attack-in-p...
It would seem as too much of a shot in the dark with questionable ROI for a non-technical (and probably even a technical) manager. From their perspective it would seem as the equivalent of introducing an inexperienced programmer into the team (as your Lisp experience will initially be understandably zero), and there wouldn't be anyone in the immediate vicinity to help with peer review or mentoring. Perhaps it would be more effective to learn Lisp on your own through a few hobby projects, and then gradually (and gently) introduce it as a potential solution for work projects? This does depend on your team's structure, though,

If anyone here has introduced Lisp into their workplace, I too would love to know their approach, be it successful or not. Although I'd be more interested in proper Lisp (OK, and Scheme) than Clojure, the latter wouldn't hurt either.
I'm honestly not sure what that means.

Many large companies tend to be pretty flexible with respect to things like jury duty. But, to say that even a small business needs to keep paying full salary for someone who is out for weeks or longer (and even if they have to hire a temporary replacement) is probably not realistic.

Per diems for things like jury duty should arguably be higher. But there's no world in which, say, a Silicon Valley software developer is going to be paid their regular daily salary with benefits.

As I wrote elsewhere, it would be nice if everyone involved were more respectful of the time being put in by unpaid or nominally paid participants. But that's no one's priority.
Please do not ask why you're being downvoted.
From the site guidelines:

Please don't comment about the voting on comments. It never does any good, and it makes boring reading.
It's interesting that the lab is so radioactive and such, but it feels like this article's main goal is to increase anti-nuclear sentiment.
portfoliocharts.com is a nice way to explore the Permanent Portfolio and other asset allocations.
I like the fact insomnia has no extended support for documentation, I want it to only be a simple http tool.

I use swagger for endpoint documentation. ideally, I could just post an example from swagger into insomnia, or import basic examples.

What do you mean by "You cannot nest anything" wrt swagger?
> I'm rather sure that the natives knew then, and know today, of past crimes within their populations. Many such crimes were recorded in oral histories.

Sounds like a fun weekend project, go interview tribal historians for the tribes of that region for crimes that predate the first-"known" crime from TFA and submit it such that the author can publish a retraction.
Understood, and true.
Why are closures unsuitable for systems programming? Rust does them really well, not even allocating in the most common cases.
This isn't quite what you're looking for, but you may find some inspiration in The Phoenix Project (Gene Kim, George Spafford, Kevin Behr).
There is blending that takes place before counterfeit/smuggled oil is used so it meets the API/spec of the refinery.

You can be sure refiners are testing before anything runs through the plant...
>But it’s brimming with radio­activity that will be a health threat for millennia

Millennia is a stretch to say the least... I figure we'll have a solution long before then, as long as science is being done.
Why is that an issue?

I am sure I will get downvoted to hell here because HN is full of Authoritarians, but money "laundering" should not even need to be done, I should not have to have a Special stamp to trade gold, or report money transfers to the government, etc

It is a prime example of government creating a problem (a black market) for things that should not be illegal in the first place (drugs and other items), then having new laws that infringe further on peoples freedom to "solve" the problem which itself creates even more problems
> but none of the townspeople know anything at all about the emperor’s nose, so the causal chain from the actual emperor’s nose to the elders’ estimate is broken.

They do. They are humans, and humans have noses.

Using the statistical method decreases the chance that a wild guess by the sculptor ends up angering the Emperor and causing deaths in the village.
I use https://code.guido-berhoerster.org/addons/firefox-addons/fee... to restore this functionality.
Thunderbird, Chandler....feels like ages ago.
I stopped eating meat at the start of this year after reading "Eating Animals" by Jonathan Saffran Foer. My primary concerns were ethical. I'm not necessarily morally opposed to eating meat, but I am opposed to the inhumane conditions of factory farming.

I am shocked at how easy it was to stop. I always pictured some long and tormented inner battle, but the book made the necessity of the decision self-evident. I eat meat maybe once per month now, a 99% reduction in intake, with no significant physical or psychological struggle whatsoever.
You don't get enough calories to maintain a stable weight. The only reason I can think of why a 21st century human would deliberately starve themselves is weightloss.
"Nobody ever went broke underestimating the good taste of the American public."

I forgot who said that, but...he was right. There are enough Americans w/ bad taste to make the 4-door "SUV coupe" an actual market segment. God help us all.
For reference: https://nim-lang.org/docs/gc.html
People rarely seem to ask these questions when it comes to dogfighting. Somehow we agree it's bad to breed dogs in captivity to suffer when it's a behavior we don't engage in... but when it requires personal change everyone is suddenly Descartes asking the deep questions.
I too am having problems 'getting into' Rust because of all that salad-y syntax. It looks like Perl at some times ;__;
so what's the proper way to upgrade from version: 60.8.0 (64-bit)?

don't want to break anything
So then it is not a valid comparison to substitute gold and oil as an analogue.

The Gold in this case is the exact same as the other gold it is reporting to be
I don't think the simulation is intended as a proof (it never is), more like the coding clarified the solution.

It is true that your method is simple and good enough, just that the most people might find it difficult to think in terms of abstract symbols.
This is a parliamentary hack by BoJo.
Launching Fairphone 3: Dare to Care
As a someone who falls into the semi-veg bucket, I would say I agree. It is mostly from an environmental concern, but I am also uncomfortable with factory farming. The thing that surprised me the most is that I don't really crave meat. Anecdotally, I now feel sluggish and tired after eating meat.
Police don't need this to fight crime. Crime is at historical lows. Civilization has gotten by just fine without pervasive surveillance for centuries.

In a way this is worse than what China is building since it's distributed.
A sibling comment already mentioned this, but I'll elaborate. Indeed, the people I know for the most part do not fear the government. Sure they don't want to be ticketed, but that's not really the same thing.

There are exceptions, mainly among academics and politically-minded people who consciously feel a need to self-censor as well as some businesspeople who fear anticorruption purges by the central government fueled by power struggles within the party.

But for the most part, the people I've asked about the fact that the government can see everything, practices widespread censorship, and has a sordid history of disappearing dissidents just shrug and point to how much richer and safer China has become. This includes people who have spent a considerable time abroad in Western countries. Which perhaps from a Western perspective is even scarier than a population living in fear.
A lot of that has been debunked with regular exercise. Many of the plaques and fatty deposits can be linked directly to high carbohydrate and high processed sugar diets in combination with sedentary lifestyles. That's been shown with the prevalence of putting type one diabetics on cholesterol medications in their upper thirties or lower fourties, as a practice, regardless of any other factors due to free sugars in their blood streams. Dietary cholesterol hasn't shown much of a spike in cardiovascular cholesterol at all, on recent studies, to be honest.... let me see if I can find the studies and I'll try and link it, if it wasn't behind a paywall. It might have been a Johns Hopkins, and I think they are paywalled.
IIRC at least in Nim the GC is optional. Never tried it myself though, so I have no idea how it feels to manage memory manually with Nim.
PostgreSQL row level security, views, and a lot of magic
Also Israel is missing
Yeah this is a big benefit that is undersold. If I were in the C or C++ ecosystem, I probably wouldn't be able to support Windows as well as I do. It would be too much work. The foundations on which Rust's standard library are built means I can regularly go through entire release cycles without opening my Windows laptop to test anything. Which saves a lot of context switching overhead for me personally.
Is a human without a brain still a human? There are plenty of people in hospitals with zero brain function, some with virtually no brain matter, that still have full rights as humans.

If a jellyfish not an animal because it doesn't have a brain? A worm? Many vegans choose not to draw lines between different types of animals.
Try walking into your local bank/gold dealer and selling a Swiss marked bar of gold or one that has the the markings of a drug cartel and see which you would prefer to sell...
I don't know how to put this politely.

There's nothing simple about Rust.

The compiler is complex and slow.

The borrower semantics is anything but simple.

It isn't uncommon for the syntax to look arcane.

The standard library is shallow often making developers have to resort to third party libraries for trivial things.

Rust improved upon languages like Cyclone but it's a far cry from being the next C/C++ when it comes to potential market adoption.
First, make sure you’re not 100% equity. You clearly don’t have the stomach for what that would do in a downturn. 60-40 equity-bond is an old standby for a conservative portfolio (I don’t recommend that allocation, though). Then, head over to portfoliocharts.com and play with some of the portfolios and asset allocations to get a sense of how they change historical results. For a conservative portfolio, I like the All Seasons/All Weather, and the Golden Butterfly is an interesting modification of the Permanent Portfolio another poster mentioned. But don’t just blindly follow them, use them as a jumping off point to learn more about the asset classes. Bogleheads.org is a nice forum for learning more about index investing. Good luck, and happy to expand on anything.
Excessive social media users demonstrate impaired decision making
> I'm not one to scream about micro-aggressions

Then why approach a piece with a pedantic, argumentative, intentional misreading of the first sentence?
A man who destroyed his multimillion dollar company in 10 seconds (2018)
Casey Muratori's and Jonathan Blow's streams are pretty great in this regard. Both do low-level gamedev.
Generally speaking, you probably shouldn't run databases in k8s unless you need to scale them dynamically, or cloud disk performance is acceptable to you. Having said that, k8s is getting a lot of support for running databases on local disks. A lot of newsql databases (CockroachDB, TiDB, Yugabyte, Vitess, etc) are shipping with strong k8s support/integration.
Great news! But I would have delayed announcing it until I had the patches ready to be merged.
Do you think it's a blessing for dogs engaged in dogfighting to exist rather than not?
Greenpeace was also responsible for getting Apple to remove harmful chemicals/materials from their products and supply chain.

This slide in every keynote is thanks to Greenpeace's pressure:

https://cdn.vox-cdn.com/thumbor/PTzcvBp4KMjFaBymZ_M2__JaZ0Y=...
Love this idea. I'm currently looking for a way to be sent money from Mexico (to the UK), and was disappointed that the site currently had no suggestions. On that note, it's probably better to show an error message instead of an empty table when that happens.

I also have some accessibility suggestions; if you're looking to improve things on that front hit me up.
Can anyone think of any potential applications for this? Wouldn't the benefits be limited to the life of the bacteria (which presumably would be pretty short)?
If I was smart enough I would!
Those events had long periods of stagnate market performance. So they might not lose as much as a full crash, but they might not beat inflation either. Anyways, nothing like that has happened in our lifetime, but it did happen in our parents’ and grand parents’.
How do I use them for currency conversion?
I add a bank account in each country, one for inbound and one for outbound?
Agreed overall, this might be why Rust is winning. (By the way neither Nim nor Kotlin Native have a heavy runtime in the same way that Java / JavaScript / Python do. Garbage collection in Nim occurs only at specified times.)