skysight-inc/HackerNews huggingface dataset:
I think there are in general 2 arguments.

Firstly, there have been multiple studies linking cannabis use to schizophrenia, and opponents like to point to them.

But most of these studies are of poor quality (e.g. small sample size, short duration, poorly controlled for confounding factors), or/and have skullduggerous sources of funding.

Secondly, decades of anti-drug propaganda have much of the population convinced that all drugs (except of course alcohol, caffeine and nicotine) are essentially evil, and that cannabis in particular is a "gateway drug" to things like heroin (personally I find this to be ludicrous, but it's been said enough times by tabloids, politicians and schools that enough people believe it).

This second one is deeply entrenched, and it will take much time to change opinions.
Why does the week start on a Sunday in that calendar?
Meet the scientist trying to travel back in time
Ask HN: What $500M-$1BN valuation software company would you want to own?
I'm curious about what large (but not enormous) software company people would want to own, and why? There are are a lot of companies in this size range that many people have never heard of, and I think many of us would benefit from hearing about market segments we are not familiar with.
I'm doubtful of any tax-based plan as a longterm solution. Here's why. Money needs to flow in a circle for a sustainability. But we can't force people to spend all their money monthly and even then tax is not 100% so net negative monthly shortage risk. Maybe we need a spend it or lose it basic-credit system.

About high paying jobs, suppose we pay 100$/hr for people to monitor the machines, up to a cap of 1K$/mth.

Here's one of the semi startrek-esque longterm solution that works reliably but not yet possible. Suppose basic goods productivity improves 10000X. Then a small number of people can produce the basics for everyone without any money issues involved.
I wrote a script the other day that starts my dev environment. It opens terminal and executes the commands to start the backend and CDN services, then opens another tab for the git directory. After that it opens the frontend and backend codebases in my IDE. I then added the script to my PATH so I can launch it with a command from any directory.

This is for a side project and being able to launch the dev environment so quickly has allowed me to start working more easily as opposed to going on YouTube or Reddit instead. Your brain will crave the easiest source of dopamine so anything you can do to make the habits you want to build (like working on a side project) easier will help you immensely!
As long as it's the kind of speech that isn't harmful to people. Whether I like it is immaterial.

the right to free speech doesn't protect the right to yell fire in a crowded theater. Even the nations with the most liberal interpretations of the meaning of free speech have put constraints on it.
I think you're oversimplifying how companies determine prices and wages. Yes, corporate taxes are one consideration. There's also competition, regulations, distribution costs, and commodity prices. Passing along your costs directly to consumers is a great way to give up market share to a more efficient or creative competitor.
"[hey seri|ok google|alexa], what day does April 8th fall on?"
I assume you responded to some dumb comment where some rural no one took a cheap shot at city dwellers.

In Pittsburgh it's hilariously easy to tell who from the area hasn't actually been in the city for 10 - 15 years. Mention East Liberty or Lawrenceville and they get all scared about drugs and black people. These areas are now some of the most expensive in the city.
It’s described in the article:

> Sounding a more ominous note are concepts such as the “great filter”—the idea that there is something that always limits a species, perhaps an inevitable failure to achieve that green revolution, leading to an implosive extinction of all potentially technological life.
That is the wrong question. Content draws viewers. So, the question is how do you draw quality content creators?
Another book in this vein, although distinctly more uncompromising in its conclusion, is The Killing Star, by Charles R. Pellegrino and George Zebrowski.
Python 2.7 will retire today
Could you name them, please? Rents in boring Ohio cities for example, are still $650 for a 1 bedroom unit.
Or no comment at all. This code is as self-documenting as you can get.
I've been saying this for a long time, but there's no technical solution to staying private. It's not scalable and no one has time to janitor every product and service they use in their lives.

The only solution to it is regulation. Fortunately one rich guy in California is putting his personal money up to move the ball forward [1]:

>Mr. Mactaggart said his 2020 state ballot initiative, among other things, would create a state enforcement agency, limit targeted advertisements based on geolocation and add items covered by the “negligent data breach” section, which would allow consumers to pursue legal action in more instances of a hack.

>Most significantly, Mr. Mactaggart said, his new effort would make it harder to adjust the current law any further. The initiative includes a “purpose and intent” section that requires any amendment to the law to be in the service of protecting consumers’ rights to privacy, a legally binding clause that Mr. Mactaggart said would prevent industry from chipping away at the measure.

CCPA is a mediocre version of GDPR, but it's certainly better than the status quo.

>The lobbying against Mr. Mactaggart’s earlier initiative kept it from the ballot in 2018, and legislators instead passed the privacy law. “It was the right thing to do because there was no guarantee at the ballot box,” Mr. Mactaggart said of his agreement to drop his measure. “Now, it’s different because we have the law.”

>Mr. Mactaggart said he would do whatever it takes to pass his initiative next year, including spending millions of his own money. He bankrolled his last campaign almost entirely himself, spending more than $3 million. Mr. Mactaggart will have to collect more than 623,000 signatures for his new initiative to qualify for the ballot. A survey in October by Goodwin Simon Strategic Research of 777 registered voters in California found that most supported Mr. Mactaggart’s initiative.

If you care about privacy, help this guy get his ballot initiative over the finish line. California can serve as inspiration for other state privacy laws (and may just become the default, as it often does). Tech people love scale, and you know who has scale? Governments. You can't fix a systemic problem like lack of privacy with individual action.

[1] https://www.wsj.com/articles/activist-behind-californias-new...
WordPress's Gutenberg editor is built on top of Redux: https://developer.wordpress.org/block-editor/packages/packag...
>Of course, there could be a macro collapse in 2018 or 2019, which wouldn’t have time to recover by 2020.

Which hasn't happened...

There was another thread about bubble and calling me out. Just to point out, If you bought S&P Index in 2015 you would now have roughly 200% return.

But this is in the context of tech. We forget Apple, Microsoft, Google are not just doing fine, they are doing great. And not just in US, TSMC and Samsung representing SemiConductor industry are all doing great, thanks to those ridiculous profits from NAND and DRAM; Samsung is reinvesting everything into making DRAM NAND and Foundry more competitive. Which will hopefully fence off those State sponsored Chinese Competition.

In terms of Startup, While Sam might have loss on first proposition ( I think he won the other 2 ), but they are operating just fine with similar valuation if not more, just not meeting the 200B target. Unlike other Startup that cashes in from IPO and then devalued into nothing.

Will we see a correction? Very likely. Are we in a bubble? No, at least not yet. ( Unless you like to redefine any correction as bubble burst )
> smartphones per se are not evil.

No, just the people who write the code.
I love how instantly hackable this is... clone the repo and serve the directory localy and still connects through websockets, no npm crap in the way. :)
Show HN: Store your DB in a json file
Hey my developer friends.
I make my first open source project which is usable for developers , so im feeling excited :D

If you like it please star the project on github this will make me motivated :)

https://www.github.com/ahmetbcakici/js-json-db
Cost basis reporting from brokers to the IRS has been around for several years.
Sucks that Sam lost his bet because as far as I'm concerned he "won" his point (I.e. there was clearly not a bubble and all these 1,2,3 companies did amazing). Still, it's great that it's going to a charity
This is very cute.
Deer sure as hell know we exist.
I played the f--- out of Ceasar 2 as a kid. That game was so good.
Sure it's a big deal. They gambled on a house and lost. Homeowners should not be guranteed an roi on a depreciating asset like they are in this economic climate. The housing market is irrational because of speculative investing, predatory renting, rent seeking landowners, nimbys, racist lending, etc. Each of these requires different solutions.

Would I feel bad for someone who bought a sfh and went underwater. You betcha. That's life though. Most car loans are underwater from day 1. Should be artificially restrict the number of cars on the road so car owners can sell their worn and breaking down clunker for a profit too? Should we continue to limit this dynamic to scalable profit generating schemes that disproportionately benefit millionaires and billionaires?
I updated the blog post, I had misunderstood that part of the age spec.
really appreciate it. thanks
A random student’s portfolio piece offering nothing over https://beta.music.apple.com beside the use of a specific front end web ecosystem.

Latest commit X 8 months ago, 8 months from now.
also see stencila https://stenci.la
> Seriously there is NO WAY in the world an UBI will cover the rent - even the rent alone - in any place where it makes sense starting a business.

Wrong. UBI financed by monopoly taxes makes rents go rock bottom. High uncompeted markup prices - Rents - are by definition caused by some kind of monopoly situation, because they are not competed away. You need to tax monopolies and not call it tax but a 'privilege fee' and reinvest the money into infrastructure or resistribute as dividends - which is UBI basically.

There is NO WAY anything like UBI would ever work without curbing monopoly pricing because any money raised by income tax, VAT or any other means freely given to people will end up rising up rents and monopoly prices even higher.
> How exactly is media pressure influencing climate science?

Exactly through the same mechanism that skewed Alzheimer's research. Some topics are "hotter" and scientists know that to obtain grants, be published, and attract unspecialised media attention they better mention climate change in their articles and possibly highlight some major consequence (even with qualifiers as "may", "could" etc.).

This stuff is then picked up by mainstream media and spread to a much larger public, making the topic even hotter. Finally, scientists are a subset of the mainstream media consumers, and might not be much better than the average public outside their domain of expertise. So they are likely to be influenced by sensationalistic reporting outside their field. (For example, a physicist cannot evaluate the soundness of an economic study on the consequences of climate change- but might be influenced by it when deciding grants or publication worthiness of something related to his field).

> Most of the foundational research was done long before climate change was being discussed in the media.

The foundational research is tiny compared to the mass of research on the myriad consequences of climate change. And the effects are what concern us.

> Fox News, a nakedly partisan cable network that adamantly denies the existence of climate change

Yes, Fox News. I am European, I have never watched a single minute of Fox News. I can assure you that almost all news outlets I follow just love to publish news about climate change, the scarier the better. The situation of the US might be different- on the other hand last time I checked 40% of Americans believed in creationism, so maybe the US public opinion and media are not a good sample.
You cannot achieve that by replacing an almighty king with an almighty government dictating who gets what (which is a prerequisite of UBI).
Give the submission a useful title and prepend "Show HN:", so you get a bit more attention.
Certainly if you want to build your own Pi phone don't let anyone stop you, but if you want something very much like that but prefabricated, the pinephone is a good option.
> "android is awful!" ... "I bought a cheap one"

Nothing like condemning the entirety of a thing based on a single limited intentionally-bottom-of-the-barrel experience!
Here’s an okay Clojure version.

Using (clojure.string/join “\n” coll) would be more idiomatic. And there’s probably a concise way to leave the nils in the sequence alone instead of mapping str—that would change the “if” into an “or”, which is closer to the original solution.

(defn fizzbuzz [n]
(doall (map
#(println (if (seq %1) %1 %2))
(map str (cycle [nil nil "fizz"])
(cycle [nil nil nil nil "buzz"]))
(range 1 (inc n))))
nil)
dkl instead of docker kill all
I dislike nitpicking, but the following is wrong:

"In C, bodies[i] is exactly the same as *(bodies + i) — it performs pointer arithmetic and a dereference and nothing else. In particular, it assumes that you have some reason to know that i is a valid index for the array. This is the common case in C and gets a shorthand using square brackets."

In C, bodies[i] is not (bodies + i), with the exception being char arrays. The general rule is:

bodies[i] = *(bodies + i * sizeof(bodies[0]))
Is this true? Ours is far less fragile than at any point in history. Our only long term threat is nuclear war.
Without prices it's not possible to measure the "value" of goods or services. Which is the same thing as saying that without prices there's no "value" generated.

The government makes its own money (generating inflation, which is taxation on savings), and takes money from people through taxation in various ways. It then spends that money in any way it wants, without a price system to signal where that money should be spent. Therefore, it ends up generating "malinvestments", where money is poured in the government functions, social programs, war, "economic incentive" programs, etc. according to the current political agenda, which is generally of low time preference (as politicians have to keep promising on things they can deliver within their mandates).

The modern state (which dates from the 1700's) might have had its historical justification on the basis of making management costs smaller (as in: property records, basic infrastructure, etc.). But as time goes by and technology improves, making both management and transaction costs diminish, the need for a centralized state becomes less important. The problem, however, is that governments want to persist (as they have a large amount of politicians and public workers), and instead of lowering taxes and being less invasive over time, they are progressively doing the opposite.
I'm always curious when people build new js libraries with new terms. Did you consider just using the terms of Design Patterns like Command instead of Action and Observer pattern instead of Reducer?
But there will be less injection that now right, in case UBI is implemented? No "new" money will appear (unless you suggest printing more and more trillions). This is the same money taken away as taxes. Except now it goes to those in need, instead it will go to everyone: now almost all of that money is consumed and so is indeed a "cash injection", instead the portion of the money - that goes to those already doing OK - will be saved.

Providing a "cash injection" doesn't require the UBI. It only requires taxing the rich. But the rich - yes, they mostly CAN actually leave the country to escape taxation, and operate from elsewhere, they can move their assets - increasingly virtual such as intellectual properly - onto offshore entities too... So there's really no option of taxing the rich.
Love seeing this for HomeKit.

// Enjoy when we see HN thought leadership supporting use of security-minded or privacy-minded mass market products, rather than endless bashing of consumer products aimed at trust.
Yeah - the only thing I can think of worse than not having a plan in place for a future world where all work is automated is implementing that plan before all work is actually automated.
Ask HN: What are most recommended books for startups?
As long as the trend continues, it's the right direction.
If taxes are applied to all corporations, competition is not a factor to be considered.
An guide to start freelance writing
No, it's actually defined to be the same. The pointer arithmetic in C follows your intuitive understanding of array indexing.

#include <stdio.h>

int main() {
int array[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16};
printf("%d %d\n", array[4], *(array + 4));
return 0;
}

prints "4 4".
I used to do my production code exclusively in 6502 assembler, with some tools in P-system Pascal. As I would read in magazines about the C language I would try to imagine what the C compiler would generate for certain constructs, and I couldn't imagine it being efficient compared to other 8-bit processors. Then we decided to experiment (at the company) with C and got a compiler. I was right, the code was awful. It used exactly the idioms I thought I would use if I had to to it. I can picture a really top-notch compiler doing better (because I'm more familiar with optimization in compilers now), but sooner or later some of the quirks (like 8-bit index registers and only page 0 can be used for pointers) will catch you.
That sounds like disabling apps, but with more vulnerabilities along the way.
https://azeria-labs.com/writing-arm-assembly-part-1/
Your's is a much simpler calendar than the others I've seen proposed.

It's also so obvious. Not sure how I missed it. I'm stealing the idea. It shall be named whiddershins' calendar.
If our technology continues to improve, future humans could be looking at life spans of thousands of years if they are not killed by accidents.

I assume that it will require population control, because we will not be able to find enough habitable planets to keep up with the growth we have today. Basically a choice of "immortality" or procreation. This will also set a limit to how many colonies that are practical to create.

Also some may not accept the risks of travelling to other solar systems. Why risk dying "young" when you can expect to live for thousands of years?
Wow, I would never think to use Powershell outside of some Windows-specific tinkering. I guess every language has its diehard fans.
This has been the case for chrome sync 10+ years now.

You need to enter a second password thought.
> Seriously there is NO WAY in the world an UBI will cover the rent - even the rent alone - in any place where it makes sense starting a business.

You can get a one bedroom in Austin for less than $800/month, to say nothing of arrangements that involve roommates or shared facilities or couples who would then have a second UBI.

> I would imagine an UBI will be mostly used by people to exclude themselves from active workforce to "retire" in low-cost destinations. Because that will be the only thing it will really allow doing.

You're forgetting the possibility for supplemental income. Combine the UBI with a part time job and you could live just outside of New York City and spend the other half of your time on the business for as long as it takes until it makes enough for you to quit the part time job.

There is also a whole lot of work that really doesn't care about location at all. You can do software development in Kansas if you want to, as well as anything else that involves selling your product over the internet.

> Say you impose a super huge 30% income tax (anything above that will cause a revolt in the middle classes, and mass exodus in upper classes)

The marginal rate isn't what causes revolts, it's the effective rate. Middle class people don't care about paying $12,000 in tax if they also get a $12,000 UBI. Upper middle class people aren't going to revolt over a difference between the two of an amount similar to what they pay already for the existing welfare system we would no longer need.

And the whole point of using VAT is that billionaires and international corporations can't avoid it.
Getting with the ‘Program’ (Or ‘Programme’)
Decentralized industrialism is the crux of a large swathe of left libertarian ideology, such as anarchosyndicalism.
Privacy is a continuum, and you most certainly can improve over the default state while still using a smartphone.
iPod Classic – “Can It Be Done in React Native?”
It's not all or nothing privacy. If you give up Android/Google Play (and Facebook etc.) you have a much smaller exposure.

Buy an iPhone or a Jolla (or, maybe in future, PinePhone or Librem). Then use Firefox with uBO, DuckDuckGo and Fastmail. And you have a much better privacy in 2020.
A perfect example of the small-scale-example syndrome. As somebody else noted here, throwing an exception in a noexcept context calls std::terminate. Figuring out why terminate was triggered in a large, multithread program sounds like a funny task until you have to do it by yourself.

The only place for noexcept are getters that return a copy of a POD value or a (const-)reference. Placing noexcept anywhere else is a call for problems.
As an unsophisticated OSM user, I've got two major problems with its modern version.

I live in the US and speak English. The use of local languages to name cities and features makes the map nearly useless for many things. (Cities in China? named in Chinese. Cities in the Middle East? Arabic. Who reads all these languages?) The 'names' layer needs to reflect the user's needs. If there's a way to switch that preference on (and retain it in a cookie, perhaps?), it's not transparent.

Nearly all bodies of water on Earth have names. Not so much on OSM ... unless you zoom in and then poke around trying to find one. And if they're away from cities, good luck. It's hit and miss ... mostly miss. There are still large regions of the Earth's surface that show no lakes (and have no roads, as far as the map knows).

It's certainly not 'the map that anyone can edit'. Yeah that keeps the riff-raff away ... but its also a major limitation.
Indeed, if this theory is correct what we should expect to see are individual, small expedition-like visitations, which aligns roughly with the limited bits of credible ufo-related data.
Thanks zbruhnke. Will check this and reply using GH.
If you think you have it better than a monarch because you have things and other people are dissatisfied and you dont know why maybe it isn't more stuff that people want.

The point of being a monarch wasn't to have the shiniest toys.
It seems to me that the millions of events that happened in order to get to where we are now (alive on a rocky, water and oxygen-filled planet, in the Goldilocks zone of a healthy star) were sequential in nature and they took a finite amount of time to occur.

Assuming that there was A Beginning, where everything started at the same time, wouldn’t the steps to get to where we are in this process take about the same time for everyone else? Meaning that if there are other civilizations out there, that they’d more or less be as advanced as we are? Which is pretty sophisticated in certain areas at home, but not yet super capable in the long-distance human space travel department.

Not a scientist, just thinking out loud the thought I had reading the article.
Request CCPA Data from Facebook (Now in Effect)