skysight-inc/HackerNews huggingface dataset:
Where can I buy nice curved brim hats?
I think ZYCAPS is your best choice, they do drop door to door shipping to all of the world, They are caps manufacturer since 1992. They are very good at making nice curved brim hats. They are the manufacturer who offers quality products for Ferrari, Disney, Coca-Cola and so on. They are very strict with accessions, material and sewing work. Try to choose them, I believe they will give the best solution way to you.
Let's say you're using some random website and want to talk to their sales or support team. How well do you think "download this app to chat with us" is going to go over?
It could be but we're even further behind being able to support people on negative pressure than we are on ventilators. The biggest issue is the neck gasket, they have to seal well enough to provide the negative pressure without being super tight while conforming to the geometry of people's necks. It's already a big problem for the small number of people left on iron lungs.

https://www.wired.co.uk/article/iron-lung-maker-community
maybe I should be. but having stopped cigarettes 25 years ago, and my weed consumption not being regular (often have breaks of several months) I'm not too worried. Maybe baking cookies in these times would be better but it's not the same :-/
I think the issue with the GDP is that it's kind of a jack of all trades, master of none. It has a lot of uses, none of which it excels at. Those who would replace it only consider one use of it. And furthermore they try often to shoehorn their politics into the replacement.

A few uses of the gdp: How well are the people doing? How much slack is there in the economy - if we wanted to focus on essentials how much luxury productions could be changed into necessities production? How much trade power do we have - if we want to import something, do we have anything desirable to export in return? Maybe there are more.
Yeah, I think Tcl is a pretty fun language. I like that it is different. I also love the community.

There used to be a compiled for Windows version but it doesn't look like it has kept up.
Yea but not nearly enough of the population for this to meaningfully change the response, and now you’ve made the testing results completely meaningless so that we can’t track the disease. Maybe it’s not intuitive to people but we are actually worse off with a test that’s this bad than just the extremely limited testing that’s being done now
Despite only having 2 (ok 3) popular CPUs (Z80, 6502 and the 6809), 8-bit home computers had massively different hardware.

The CPU only played a very minor role in those machines and mainly was used as a controller for the video and audio custom chips which did the actual hard work.
The statement “by focusing on abstinence you are setting a significant part of your patients up for failure” sounds like advocating “moderate drinking” to me.

If we’re not telling alcoholics that abstinence is the goal, we’re telling them they can “moderately drink”. “moderate drinking”, simply put, is what we call non-abstinence for alcoholics.

This is very different from saying that a one-day relapse is a complete failure, and, yes, I agree that Alcoholics Anonymous is too focused on raw sobriety time.
Why Is the New Coronavirus Different?
risk tolerance changes in times of crisis though
this has totally been a struggle for me. self-taught but I have to make time for myself to learn new concepts
There's a difference between distributed and utilized. Is that confusing?
> It's a shame an article ...

It's an article: that is not its purpose. How much can you say on the multi-century history of a topic in a few hundred words?

Maybe try the book referenced, or the may dozens of other hundred books written on the topic.
You mention smoking weed in another comment. Do you think there may be a connection?
Oh, I'm not saying the dude should invest. I'm saying someone like Thiel could invest, as he did in the Gawker lawsuit. Alternatively, a lawyer could invest their time. In either case, I'm saying a 3rd party could step in and facilitate a lawsuit and, apart from doing the right thing, could be financially rewarded for it, in the end.
Agree "classic CS" is the foundation and required learning
I don't think that's necessarily true. Governments routinely fine companies (and people) small amounts of money. They do not need it; the fine isn't about them getting money. It's about deterring people from negative behavior.

In some cases, bailouts make sense. In the ISP industry, they don't make much sense. ISPs were offered a monopoly and operate their networks at approximately 95% profit. Now there is a crisis and they've been spending that 95% not on network upgrades, but on dividends or stock buybacks, and it's all blowing up. I don't think the governments need to subsidize that. The Internet should be bad during this crisis so that people are motivated to fix the problems after the crisis. Asking one content provider to subsidize them doesn't help anything in the long run, and if there isn't pain now, this will all be forgotten after the Coronavirus issue.

Things like the airlines are different. They bought multi-million dollar jets with the assumption that they'd be in the air 22 hours a day. Now they're on the ground, and the financials simply don't work under those conditions. That is the the kind of thing society needs to insure against (if they want air travel, anyway, which does seem to be quite useful).

In the end, I'm very cynical about all of this. Sometimes I wonder if the whole "flatten the curve" thing is being promoted because it's an election year and when your whole family dies from COVID-19, you're a lot less likely to show up at a rally to eliminate Obamacare. We need to cover our eyes and stick our fingers in our ears to think the status quo is OK, so here we are. People will invest a lot into maintaining the status quo, be it healthcare or shitty ISPs.
That split where ioctl() is used for ipv4, and the send()/recv()/AF_NETLINK setup for ipv6 is interesting. I'm curious why the Linux folks chose that route. I'd get it as a temporary thing, but shouldn't they have migrated everything onto AF_NETLINK?
At the moment, very few. I used to read a whole bunch of philosophy books, as well as a few help books on software engineering topics.

Then over time I just realised I could get pretty much anything non fiction related online, and stopped buying any more.

Might consider reading more novels in future though.
step 1 is your achilles heel... maybe stash crackers and juice under your pillow? /s>
It’s an amazing extension and allows one to extend their life - by spending less time on slow videos.

Thank you sir for this great contribution to society!
I have said this before I will say it again: people in 2020 are visual learners. There needs to be a boat load of citizen journalists posting videos with dying people and sick people on IG/Twitter/TikTok/Tinder/etc for behavior to change.

Hash tagging #coronavirus #wfh on a photo of a table full of food and 65" TV with Netflix makes it sound like a party.
Huawei AppSearch let you bypass Google Play to find and install apps
Don’t worry. The people who matter are on it. Chloroquine and Hydroxychloroquine in particular have been the leading therapeutic interventions in the clinical research publications for... quite some time (honestly every week feels like a month so I am losing track).

Trump also said yesterday I believe he ordered FDA to fast track both versions plus another antiviral remdesivir that is also showing effects.
> I am not making documents that have styles applied to them. It's just not a metaphor that works anymore.

And xml-based markup was just never a good format for that. The concept lives on in markdown, and in CMSs like WordPress, where an author creates content in a common format that is styled based on site- and page-specific rules

No one wants to write in html. If you’re working in html directly, it’s probably because you’re building something more complicated.

(If any of those assumptions are wrong, tell me! I’d love to hear a counterargument on why pure html is a great format for producing content!)
That's the balance between "study stuff" and "build stuff".
> you're confusing me with someone else.

Apologies. That actually explains a lot :)

> 1) ignoring the first part of his question, about having to remember signatures in general, including of your own code; 2) interpreted "random" in a strictly negative way, as if it meant "any junk library" instead of "every library".

The answer to 1) is that remembering type signatures in general (or primarily referencing them through a separate spec sheet) turns out to be about as easy as Typescript for some projects and some people. The answer to 2) is that not "every library" is complicated enough to need extensive bindings, and that since Typescript doesn't help you with junk libraries anyway, the benefits to well-documented libraries turn out to be relatively minor.

I mean, I don't even use an IDE for development. I'm on Vim/Emacs, so the immediate documentation benefits of Typescript you describe literally just don't apply to me. And there are plenty of JS devs in the same position, where their only interaction with the type checker will be during a compile.

The short answer to how people magically know the type signature of random methods is they don't. They use documentation, or they look at source code, which is something I still regularly have to do in the projects where I use Typescript.

----

> Who are these mythical people? [the developers who never make typings mistakes]

In general, typings mistakes aren't a major source of bugs in most of my projects. I only observe them to be a major source of bugs in large orgs where lots of teams are coordinating on large interfaces. And that's not because I'm a genius programmer or have a magic power, there are normal programmers who will find themselves in that situation.

> Do they just magically decipher what interface an argument conforms to?

No, I look at the documentation. In general, I also spend a lot of time on interface design so my interfaces are small enough and consistent enough that I can hold the entire API in my head without much cognitive load and without needing to check documentation very often.

> What methods are accessible on a returned result from any random library they're using?"

I look at the documentation, or the source code if I don't trust the documentation.

You are always going to be able to make the argument that I just don't understand how much time I could be saving. I don't know how to prove to you that this isn't a massive drop in productivity for me, in the same way that I don't know how to prove to you that it's not a massive drop in productivity for me to write DOM manipulation code in Vim instead of Webstorm with tab-completion. All I can say is, I use both JS and Typescript on an almost daily basis, and I pay attention to the cognitive loads, bugs, and time-sinks I have in each environment. The JS environments aren't any slower to program in.
> If you want to be a software engineer and you do not have any code to present in an interview, you can not call yourself a programmer.

That's just bollocks for a number of reasons. Maybe you're too busy doing productive work to build a portfolio. Likewise, employers are often too busy to look at and evaluate your portfolio. And unless you spend a huge amount of time working on your portfolio, chances are it's going to have nothing relevant to your job.

Perhaps this junior developer fresh out of university needs to show up with real world experience before blogging about it :P
I didn't design these things, so all I know is that the datasheet says the lifetime will be reduced if you update it more than once every five minutes. A clock with a minutes display exceeds that by 5x.

(And indeed, the display I used did break! I have no idea why, but it just stopped updating one day.)

Ben explains some of the constants that can be tweaked here: https://www.youtube.com/watch?v=MsbiO8EAsGw
Customizing the Bash Shell
A "limited Linux experience" has been available to Windows users since Cygwin allowed us to have bash and gcc on a Windows machine. I used it a bit in the early 2000's and extensively in 2008-2009 when I was issued my first Windows laptop in ages. Before my laptop suffered a most regrettable accident that rendered the Windows partition inoperable and forced me to switch to Linux. When hardware virtualization became available and memory became more abundant, running Linux VMs was a no-brainer.

WSL2 is faster, better integrated and closer to what a Linux environment is supposed to be.
Cheltenham Gold Cup went ahead (about 11th to 14th March), just a few days before wider restrictions were announced.

60,000 people attended Cheltenham, on top of their normal population of about 100,000 people.

It was much quieter in town this year (normally Winchcombe Street is full of people and activities, but this year it was mostly empty).

But still, that's 60k people travelling while the pandemic is in full swing.

I live close to a martial arts studio and they're still open, and that feels sub-optimal.

The other problem with not enforcing measures is that it leaves the public to pick up the bill. Some train tickets ("advance") are not refundable at the moment, and credit card companies are not allowing charge-backs because the trains are still running. If the government announced wider restrictions people could get refunds. This burden of payment is a tricky problem: the public should share some of the cost, but the way it's happening now is a bit haphazard and is disproportionately burdening poor people.
Triage is unfortunately applied in some hospitals, especially around Bergamo.

But you would need to provide some data to make the claim that the stats are skewed this much purely because all elderly are just cast away. Given the vast majority of hospital cases are actually the elderly.

Finally, proper ethical triage never looks at how long a patient is expected to live after their recovery as a condition.
True, "Go to hackathons, get involved in open source", and build side projects.
I just created a free goal board tool for remote teams [1], the best way to keep learning is by building.

[1] https://teamsuccess.io/boards/new
> People who care about the ideals of the free software people have always been a genuine minority group.

It'd be a lot different if, for instance, Oracle was able to actually kill MySQL.
> HDMI splitters that can strip HDCP 2.2 are hard to come by.

Ask B&H folks. They always have them.
> But once we're in a "rich asshole can buy out the supply of life-saving equipment by outbidding hospitals" territory, ...

Price increases also discourage the wealthy from buying more than they need. There is no doubt that the effect of higher prices matters less to them, but it still will encourage them to buy less on average. There is also a very small chance that a "rich asshole" purchases much more than they need, but this is the exception, not the rule.

> ... any talk of market efficiency should go out of the window

Quite the contrary actually. Emergencies are at least one of and potentially the most important case where the (on average) efficiencies of the market are needed.

> we may just as well start analysing market efficiency of slave ownership

Slave ownership is by definition extremely inefficient. That's obviously not to say that someone couldn't treat humans like cattle and turn their investments into a profit (as we are all unfortunately aware of), but if you consider the system as a whole including the alternatives (and their impacts across the economy) that could be pursued by the slaves the entire thing is a big net negative for society to the benefit of the few (slave owners). Slavery is not only evil by virtually everyone's definition of morality, it is also just plain stupid.
>> I certainly wouldn't want to buy coffee that was roasted in Ethopia; it would be awfully stale by the time it gets here.

What do you mean? Coffee gets vacuum packed and shipped all over the world already. I must have some coffee at home that was roasted and ground months ago - how is that a problem? It's just coffee.
>we in the future see politicans limiting number of aircrafts / year

I get that this is a limitation you agree with, but if you agree with the idea of politicians limiting things people want (flights and travel are things people want!), remember you won't get much sympathy when they will use it to limit something you want. Everything we do is somebody's pet cause.
Curious, what do you do to maintain types?
You can hack together a script or client to pull graphql schema from an endpoint and generate types using Apollos code gen (similar to [0]).

[0] - https://medium.com/open-graphql/automatically-generate-types...
Human coronavirus vaccines have not been investment worthy, until now
From talking to my friends it seems like it's not. All of the lecturers just base their teaching on the same material.
My impression is that without (currently illegal) immigrants you won't have enough farm workers. How do you avoid a famine?

(I'm also skeptical that stopping illegal immigrants will be as simple as tracking phones, but whatever)
These are techniques high school students learn and practice in AP Bio... at least I did, 25 years ago.
Sonarr and Radarr are 1000% time better
Show HN: A FaaS tool makes a function as a container-based service in seconds
Jax Fish House downtown. I used to think it was just a localish place, but I've mentioned 'good oysters in Denver' to vendors who travel a lot and they all immediately say Jax. Admittedly, I haven't been to Jax in quite a few years since moving to the coast, but people I talk with still say it's great.

https://www.jaxfishhouse.com/lodo/
While I absolutely get your point, Netflix is the service provider here, they exchange that data for money.

If I order from Amazon and Canada Post refuses to handle my parcel, I will have my money back as Amazon fails to deliver, because they did not account for Canada Post not shipping.
The Chinese treatment guides include evidence-based traditional Chinese medicine that has shown impact on this disease.

https://www.reddit.com/r/COVID19/comments/fjj8yb/chinese_gui...
I would say no, but having taken classes at both, _how_ these courses are taught makes a huge difference. Professors, via their communication abilities, the level of effort put into making a class more interesting, and accessible marks a dramatic difference in what students can get out of a class.
> Tepid water

This is because most American's don't have a kettle (at home or work). I think quite a few Europeans do.

It's also why so many (baking) recipes in the US measure (e.g.) flour in cups/volume: most people don't have scales.
It's almost as if this is the push we needed.
I don't know off the top of my head, but then I don't know all of the tools that exist for multilog/cyclog log directories.

This is, of course, more of an rsync problem. And it seems that there are approaches to having rsync detect renamed files and handle them more efficiently.
Business as usual for shut-ins, hikikomori, cellar-dwellers, 24/7 gamers etc
We're not going to whitewash Trump; he wasted too much time trying to downplay and deflect the virus and only took it seriously when it became apparent that wouldn't work.

I also think everyone is working to end the quarantine as quickly as possible, as they are aware of the social and economic implications. The problem with rushing however is that if we develop a vaccine that is ineffective or harmful, it will make the situation worse.
Also a spelling error here: “Let’s say 10 people are dying in front of you and you have one ventialtor. That’s a tough call.
https://cuelang.org

Based on your handle, I'd imagine you shall like this
It's a failure of the education system. They want to teach the academic side but ignore the skill side. They're taught the language but none of the tooling. When I was in school, which granted was a while ago now, they didn't teach you subversion, make, how to use an IDE, how to install and use a compiler, linker, etc. I remember having to logon to a VAX machine so we could do some fortran assignment. It was a cruel joke. There was little to no instruction on how to use the damn thing. You just had to make your way through it. I don't think much has changed. The students who are curious seek out and learn to use IDEs, git, maven, npm, jenkins, whatever, but there are others who do what's asked of them and they're not asked to learn these things. As a result they're unable to even start on anything other than the trivial assignments they're given in class.

I think they seem entitled because they did what they were told and possibly received good grades as a result and their attitude may be them saying, "I bought an education. I was graded and found to be exceptional. If I had needed it, it would have been a part of my education". Right or wrong you should feel sorry for these kids. They paid a fortune and got ripped off. They just haven't realized it yet.
Show HN: Simplify your Stripe integration with Paysly
> I don't buy that a $60 dollar grinder will get you 80% of the way.

Is a used Baratza Encore much more expensive than that? A new one is US$ 140:

* https://thewirecutter.com/reviews/the-best-coffee-grinder/
Thanks! Would love your feedback
Happy Friday HN! The last couple of months, I have been working on Paysly (https://paysly.io) to make it easier to accept payments online.

At its core, Paysly allows developers to create payment flows using Stripe Elements - all from the fronted. During development, I though it would also be cool if it supported the creation of dynamic Stripe Checkout flows from the frontend as well, and also provided a way to verify both kinds of payments using JWTs.

I think the tutorials are the easiest way to understand how Paysly works, and I have created examples for one-time and recurring payments using both Checkout or Elements in the docs (https://docs.paysly.io).

By signing up and linking a Stripe account, Paysly will generate both a live key (for regular payments), and a test key you can use to set up and test integrations.

I think that Paysly makes the (awesome) Stripe developer tool set even more simple to use, but I have been struggling to figure out how to find interested users. Any and all feedback on the dashboard, docs, landing page, or npm module would be immensely appreciated!
I always hesitate to model an externally facing API to match the underlying database schema because you end up coupling consumers of the API to its internal implementation. Mind you, I'm coming from an enterprise background where systems live way longer than you expect them so, so you need that flexibility.

If that's not a concern, and you want speed/ease of development, take a look at TypeGraphQL [1]. They have a couple of examples [2][3] of how nicely it plays with TypeORM. You can create one set of domain object classes, annotate them with decorators for both TypeGraphQL and TypeORM, and then expose a GraphQL schema that matches the underlying database with a minimal amount of code (you could probably even get clever with some generic fucntions to cut down the code you'd need to write for the resolvers).

[1] https://typegraphql.com/
[2] https://github.com/MichalLytek/type-graphql/tree/v0.17.5/exa...
[3] https://github.com/MichalLytek/type-graphql/tree/v0.17.5/exa...
Math Symbols Explained with Python
Really interesting to watch the evolution of the advice on Behavioural and Social interventions. It is absolutely clear from this that the idea of "flattening the curve" rather than completely suppressing an outbreak was being seriously considered until very recently. Luckily, this is not something being pursued anymore and they moved away from it in time but you can certainly understand the attraction when you consider the consequences of the almost total shutdown required to suppress.
> If you want to use Windows, use Windows.

Or get a Windows VM.

> If you want to use Linux, use Linux.

Then get a Linux VM.

Simple. Easily solved.