skysight-inc/HackerNews huggingface dataset:
Why is it good for the government to buy up property and rent it at below market prices? That's just a handout and is inefficient, discouraging denser housing.

Edit: they're specifically requiring someone to build a house there. It seems like if someone wanted to build multifamily housing, even if that would be a better use of the land, they would be turned down. That's a perverse incentive.
I takes years to develop an interface, apps. etc. FM has been doing this for two decades plus
The countries with the best responses*

*if you exclude China and South Korea, and consider Taiwan a country
I'm using it in a project with the yfinance python module.
> The history of the valley was the history of slow investments. Semiconductors are money hungry and slow--yet VC's invested in them until about 2000.

Not all of them were slow. Intel IPO'ed slightly over 3 years after founding. [1]

[1] https://en.wikipedia.org/wiki/Timeline_of_Intel
Cool ... pleased I could help.
The woman went to a very large church, with over 1,000 people in the room. Such large gatherings won't be allowed for a while.
I sadly do not remember the name, but there was a teacher/philosopher around 1900, who tried to teach his pupils the natural language in a math defined way. (and wrote books about the concept). His intentions were good, but he was not liked so much and he ultimately had to accept the impossibility of it...
>It's irresponsible for non-medical researchers to not only pursue, but also disseminate, these jailbreaks.

The reason for the underbelly trend of certain types of people to not trust doctors and scientists is a lack of trust in the system (medical system, science system, etc). The root of this for some people can be tied to this exact condescending attitude towards people.

Nobody responds to being told something is a bad idea, they only respond to understanding why it could be a bad idea and being allowed to decide for themselves, and your attempt at preventing them from deciding in a way you don't like how they treat their own body only furthers the rift that powers essential oil huns.

Me personally, If my local hospitals are out of ventilators and i'm showing signs of URD i'm gonna hack my autoset with this firmware to get the higher pressures needed for peep therapy and not bother going in. There isn't anything you can do to stop me. I might even do it even if they aren't out, as i would be able to start therapy sooner and potentially heed off snowball effects from a lower blood oxygen level on my immune system.

Attitudes like yours create, feed, and recruit anti-vaxxers and essential oil huns, and harm that does, is far greater than somebody hacking their own cpap machine for whatever ends.
Awesome project, I am sure it will help me lose lots of money.
Under C11, the compiler is still allowed to assume termination of a loop if the controlling expression is non-constant and a few other conditions are met.

https://stackoverflow.com/a/16436479/530160
Coming to Go from C#, I was shocked at how poor the debugging experience was, even inside Google itself (I worked at GCP for less than a year).

I don't get the mentality of people who don't feel the importance and satisfaction of being able to step through their code line-by-line and see everything coming to life in a debugger window, even if its for sake of watching it, not for finding a code bug. Some people seem to never have used one for years and they take it as a sign of weakness if someone says they need one to find a bug rather than looking at the code.

I haven't and if its up to me, I would never use Go again, just because of the piss poor debugging experience in a language that's so new. Google engineer's mentality is very old school and anyone who enjoyed the beauty of conditional breakpoints and step-through debugging in modern IDEs will know exactly what I am talking about. Go is so new yet built with incredibly ancient mentality.
Clinic on the web. Diagnose and get your firsthand result
> Many people still balk at the investment required by a CLT — in Houston, the city puts in roughly $105,000 per home.

I wonder why $105,000. Looking at Zillow a quarter acre of land in the Acres Home area sells for ~$50-$75,000, and substantially less if you buy a bigger lot. And per the article, banks are providing home mortgages, thus substantially financing construction. Unless they're selling the houses for significantly less than the cost of construction, it doesn't make sense. Even if you had to heavily subsidize risk premium on the mortgage, a $105,000 expense per home seems exorbitant and not sustainable.[1]

I bet costs could come way down if there was some serious money put behind a project like this to scale it up. Singapore, Hong Kong, and other places around the world (often former British colonies, because of smart U.K. housing policies immediately before decolonization) build affordable housing using similar schemes (99-year property lease, transfer covenants, etc), but on a much larger scale. San Francisco could (and should) do this, rather than spend years negotiating over developer exactions for every tiny project.

[1] It would make more sense if most of that $105,000 was recovered on the first sale. But the article calls it a "subsidy", and other context suggests the $105,000 isn't directly recovered.
Those choices are pretty hard - modern junk food has been engineered to reinforce unhealthy consumption, the US (mostly) dictates international laws around junk food restriction[1] and it's exporting the terrible free-market approach to food choice. Some of these junk foods should be heavily taxed or just outright illegal.

1. Here's coke being terrible https://www.marketwatch.com/story/coca-cola-fought-regulatio... and there are some other wonderful examples around tobacco use in south east asia.
I have a repository full of such files: https://github.com/benibela/nasty-files

You can clone the repository, and then you cannot delete it with tools that expect utf-8 names (like KDE's Dolphin)
Xdbot: A disinfection robot to help cleaners during the Covid-19 pandemic
Let me know when it's done settling in ECMAScript Land, then. In the meantime, I'm doing interesting stuff Somewhere Else.
Ask HN: How to deal with spellcheck code reviews?
It's really hard writing code on my team. Some of the other devs get hung up on code style (naming things, formatting, and other important, but superficial things). These things literally don't matter to me, a name is a name that just becomes a reference in the computer and so long as it's readable and makes sense in context, I'm cool with it.

What usually happens though, is that no one actually reviews the architecture, finds edge cases, or actually thinks about what the code is doing or will do with invalid input. This means that when I review code, I'm having to duck and weave around comments about whether a variable name should be plural or not and point out logical issues with the code. This means I have to self-review my own code and find potential logical issues as well as deal with whether a variable name should be plural.

It's nice that the code is super readable with consistent naming though, until it breaks. For example, I had a review and had to rename all the files to plurals, because they decided, while I was sick, to use plurals. This was decided in a code review, btw, and not shared anywhere else. "I should have noticed all the other files in the directory were plural." But no one noticed the glaring bug that I myself nearly missed until I slept on it.

How can I get these members of my team to stop spellchecking and actually review the code?

Replace "plural" above with any favorite code style violation.
Unions and inequality over the twentieth century: New evidence (2018)
What were the Swedes eating before they could ship food from all over the world?

We have hydroponics, automation and the ability of western worlds to pay what food is worth.

Developing countries and poor countries should be able to use their resources for their advancement and not to provide cheap food to richer countries.

If Sweden cannot grow olive oil because it’s an exotic commodity from a foreign land, they must pay dearly for it.

The notion that we buy cheap from nations that have a surfeit of resources and are favourably placed for ag closer to the equator has its origins in colonialism.

Over consumption in richer countries stem from unequal trade terms and results in inequalities.

Just imagine..you can never ever grow or make olive oil in Sweden. How valuable it must be for them? Why isn’t Turkey making bank and stashing Euros like Alladins and inside treasure cave?

Africa’s natural resources and Chile’s minerals ...why are they picking up pennies while the whole world proposers trading while they don’t?

I see the same thing in Ag. Farmers have the most precious non renewable resource ..water and land. You cannot print land, you know? And yet, why are farmers always in debt and killing themselves because they can’t pay back the bank for their quarter million dollar tractors and credit lines?

Something smells fishy, no?
Have you been on site in Wuhan? Collected any data? Where can we get a copy?
Too much delegation to a third party is called a command economy and history is full of examples of that approach not working, examples going all the way back to the palace economies of the ancient Minoans. The problem is that no third party has enough information or the right incentives to decide fully who should produce what when --- the problem is called "the calculation problem" and has a huge literature. Decentralizing resource allocation decisions using pricing is the only approach that's been shown to work.
What is the future of remote work?
With Covid-19 forcing employers to implement WFH for their businesses, how does this change the landscape of remote work? Does this change how teams collaborate going forward? Does everything go back to normal after the pandemic subsides?
Hey how about introducing a function to create a branches from issues
It is present in the follow up Count Zero though. Also while Gibson focuses on characters at the fringe of society, the world itself is not significantly more distopian than our world (or the '80s), which is probably one of the author's points.

I still wouldn't call it escapism though.
Very cool! I signed up. I was wondering if you did some research before picking sendgrid. I see their free tier has a limit of 100 emails a day after the first month. Their 100K/month is $15/month which is not bad I guess.
Can someone confirm if this can be used in a multi-tenant saas app environment?

Customers want to have their own SSO setup or user roles and instead of providing all those functionalities in the app, can we use Keycloak in front and the Customer can manage their own users/permissions via Keycloak?

So in essence:

Customer A: Have 5 users (login / password), 1 admin and 4 regular users -- admin can add or remove users

Customer B: Have an LDAP and would like to authenticate using it
C has strayed very far from the original intent because compiler authors prioritized benchmark results at the expense of real-world use cases. This bad trend needs to be reversed.

Consider signed integer overflow.

The intent wasn't that the compiler could generate nonsense code if the programmer overflowed an integer. The intent was the the programmer could determine what would happen by reading the hardware manual. You'd wrap around if the hardware naturally would do so. On some other hardware you might get saturation or an exception.

In other words, all modern computers should wrap. That includes x86, ARM, Power, Alpha, Itanium, SPARC, and just about everything else. I don't believe you can even buy non-wrapping hardware with a C99 or newer compiler. Since this is likely to remain true, there is no longer any justification for retaining undefined behavior that is getting abused to the detriment of C users.
Fascinating! Any relation to iSH?

https://ish.app/
Switching to Lineage OS after using bloated stock ROMs is a breath of fresh air, both in terms of performance and simplicity.
Its a problem with the Go compiler. Even IntelliJ doesn't support that, and its annoying AF.
I think part of the point is that the clock does not determine when we can start to relax quarantine, it's our readiness/ability to detect and tamp down breakouts.
Continue selling Jira plans.
> In the current situation, if a business owner decides to drop you on the ground, you're literally gonna starve to death in the next month.

That's not true at all. We have an extensive network of assistance programs. Of course these programs can be better in numerous ways. Nevertheless, nobody is starving in the street in the US.
A strawman is an irrelevant argument, but this one is perfectly relevant: A grave-digger makes money in the event of death, it needn't be during an epidemic, "my dude" (or whatever patronising, PA phrase you prefer)

If people shouldn't profit off disaster, why profit from any misfortune?
Well you "could" spit out data from the views as JSON into <script> blocks in the Django templates and they would play nicely together.

But then you would be limited to various manipulations of the initial data so "could" is certainly not "should".
There's a whole lot of daylight between unregulated capitalism and command economies.
It’s analogous to a stranger tackling me and pinning me until I starve to death. The use of wood and nails is immaterial.

You go to a “friend’s” house. You go to the bathroom, but it’s actually a soundproofed room with a door that locks from the outside. He doesn’t let you out and you die from starvation. What is your view on this? The friend owns the home so the vandal-argument doesn’t make sense.
It comes up somewhat regularly but it's quite rare for there to be a case where there isn't a natural solution. For example in this case the HTML doc title not only fit the limit nicely, but was more neutral and thus better for HN. I think HN benefits from this limit.
I must admit I’ve never really understood this argument against IR35. Contractors don’t get tax breaks to compensate for the lack of employee benefits. They get higher day rates to compensate for that. How the tax is handled isn’t part of the deal. If my last contract had been inside IR35 it would have still been better than perm pay for that reason.

Too many contractors seem to view lower taxes as one of the perks of being a contractor and in that sense I think the reforms are well-intended though I wont’t say the implementation has been perfect.
According to Sapir-Whorf, what I think is affected by what the language I think in, that lets me express my own thoughts to myself. If there's no concept in English for an idea that occurs to me, it may remain muddled or I just might not become fully conscious of it.

This is not the case for programming languages, because programming languages, even non-imperative ones, only have one mode: how to do something. They are not a way of describing the world. If I can't figure out the C++ code necessary to accomplish the task I want, that doesn't mean I can't imagine what that task is. Determining the task and figuring out how to code them are very different.
This is a great read. I had considered using React with a Django side project a while back, but it just seemed like too much added complexity for the gain I would get in a small app. The approach in this article though looks great.
I really have no idea what large parts of this comment are supposed to mean. Regardless:

What is the "monster" in this case? Obsession? That's just a feeling; in a vacuum, there's nothing wrong with it. No philosopher, Nietzsche included, would say "obsession" is always bad. If stuff like that could be dealt with in absolutes, then people like Nietzsche wouldn't have spent their lives writing books about the nuance of it. Clearly, for any feeling or action, "obsession" included, the actor and the object both matter. There is a qualitative difference between self-obsession and obsession with someone else.

I fail to see how this is an example of how we "collectively create our own demons." That's a cute turn of phrase, sure, but in its original usage, "demons" refers to one's own insecurities and internal emotional challenges, not every bad thing that exists. Clearly, if you think about it with some nuance, some "demons" exist outside of oneself. Nobody believes that people trapped in poverty have "collectively created" the demon of inequality. Nobody believes that victims of violence "collectively created" the trauma they experienced. In reality, some demons simply exist, at no fault of one's own; the people complaining about Wolfram didn't collectively invent him. He exists, he's writing and funding these huge research projects, and that's a material fact external to the people complaining about him.

As for your last point-yes, technically, everything we think and feel comes from inside us. But that doesn't make everything we think and feel the same.

Just btw, I think that it's generally cringey to vaguely quote Nietzsche (or any philosopher) to defend a point, unless you are a philosopher writing to other philosophers, or you're citing some unique idea of his. And I hate this whole style of writing, to be honest, where one papers over any nuanced interrogation of their beliefs with shoddy references to pop-philosophy.
Keycloak is a great piece of engineering. It's a robust IAM, fully-featured, easy to deploy and integrate with. My opinion is that people should rely on battle-tested 3rd party solution like Keycloak for their authentication and authorization needs.

We run it in production on GCP and it integrates nicely with the Clojure ecosystem (both on the frontend with a SPA and on the backend dealing with REST API security).

Shameless plug: I maintain the keycloak-clojure wrapper: https://github.com/jgrodziski/keycloak-clojure (You'll find some explanations of the Keycloak concepts in the README).
They're objects that mostly behave like arrays. You can't index element two of std::array foo as 1[foo] since it isn't an actual C array.
State Department Cables Warned of Safety Issues at Wuhan Lab
Country with aggressive mitigation efforts versus a county with limited mitigation. Exactly what you would expect.

It was a known trade off made by the Swedish government. Freedom and functioning society was valued more than the difference in mortality. If the majority of people in Sweden are ok with it then it isn’t a problem.

I’ve read nothing about how Sweden’s public feels about it. Will be interesting to learn.
I disagree with your view of standardization - as restricting changes to be additions to the runtime seems pointless as users could easily use other (often more optimized) libraries.

But, I do see the benefit of having a language "frozen in time" which never really changes and can be mastered painlessly without having to refresh on new versions. Perhaps C is special/sacred in this regard.
The same WHO that Trump just defunded for spreading “all sorts of false information about misinformation and mortality”?
That may be the case in C++, but in C infinite loops are allowed as long as the controlling condition is a constant expression (making it clear that the developper intends an infinite loop). These infinite loops without side-effects are even useful from time to time in embedded software, so it was natural for the committee to allow them: https://port70.net/~nsz/c/c11/n1570.html#6.8.5p6

And you now have all the details of the Clang bug, by the way: write an infinite loop without side-effects in a C function, then call the function from another C function, without using its result.
Why? Server side rendering is often fast and well suited for pages with mostly read-only content.
> I don't remember any company flubbing their unassailable lead quite this badly.

I do.

Heck, among other examples, I remember the company being Intel, the market being x86 general purpose desktop/laptop processors, and the firm they blew their long-established unassailable lead to being AMD. I also remember AMD turning around much quicker and flubbing it back...

Actually, unless I'm mistaken, that happened twice before, the first time being the reason the now-universal standard for 64-bit x86 is what used to be “AMD64”.

> AMD gets the mindshare (which it is in the process of acquiring), with some lag those sales will start to die, and it'll be too late to do much about them then

AMD had the mindshare for quite a while before, but Intel was able to do enough about it that people apparently forget that it even happened. The market is fickle, and AMD is at least at good as flubbing advantaged positions as Intel, judging from history.
I'll also encourage you to post a link to the source, even if it's not the cleanest code. I've been thinking about trying to make something like this for a while, but using larger-scale cells from a side-on view to simulate plant growth. (To that end, I'm currently reading The Algorithmic Beauty of Plants[1], which performs its generation via L-systems.) I'd love to see how you've put this system together.

[1] http://algorithmicbotany.org/papers/#abop
"The project does support config. So if you want to change (e.g.) the number of AZs, you can say..."

Cool, is it possible to do that without having to use the CLI? Are you doing any sort of state locking here? I've seen ops teams get saved from potentially horrible situations by Terraform's dynamodb state locking.

"You can make this into a library using standard language techniques like classes, functions, and packages."

That's pretty nice and it seems like it'll get you the same functionality as a Terraform module. Do you have any plans of releasing something like the Terraform Registry to help with discoverability?

Also, do you have any docs on writing providers? I've had to do that a few times for Terraform and getting up and running with that was pretty easy as a Go developer. I wouldn't really want to do that for every supported language though (no offense C#).

I'm seeing that some of this is using codegen to read the equivalent Terraform provider and generate the Pulumi provider from that schema. Is that the preferred workflow here for providers that already exist in the Terraform ecosystem?
So the basic assumption of an exponential growth curve is: "rate of change is proportional to a population."

However, in the case of a virus, you eventually run out of population to consume; so you tweak the model to be "Let the rate of infection be the probability that a infected person encounters a non-infected person" (nicely, for a large population, this will give you the same results initially). This is, approximately, proportional to the product of the number of people who are infected times the number of people who are not infected (think back to chemical reagents and reaction rates). That is, (1-infected(t)) * infected(t). A function who's rate of change is that is the logistic function (and you can verify by taking the derivative of 1/(1+e^-t))

This is a simple model, ignores geography, ignores population change, and ignores changing behavior. It basically pretends everyone is an ideal gas molecule in a volume. But if you want to model something that "grows exponentially with a limit" it works alright.

I don't know under what assumptions the rate of change would yield a bell (normal) curve. (e^-x^2).
In a way the "global monopoly" vision does not seem very different from the Hunt Brothers trying to corner the market for silver in 1979/80. The plan is to buy up enough supply to create artificial scarcity. [1]

The problem with this approach is that there just aren't that many robust, natural monopolies. I think that's been a defect in VC investment strategies in Silicon Valley for at least a decade.

[1] https://en.wikipedia.org/wiki/Silver_Thursday
Which is why I usually convert to intmax_t or uintmax_t, or to some type that I know is wide enough:

uint64_t foo = ...;
printf("foo = %ju\n", (uintmax_t)foo);
/* OR */
printf("foo = %llu\n", (unsigned long long)foo);