skysight-inc/HackerNews huggingface dataset:
A function that take one type and gives you another type. So (in Java for example) you have a generic type such as List<T>. But that is not a really a type because you can't have a value of the generic type. It is actually a type constructor, you can give it another type (say String) and it will give you a type List<String> which can actually be instantiated to a value. So in the context of programming languages it is just a fancy word for a generic or parametric type.
> UK for example, have much higher case numbers this summer than last

but much lower hospitalisation rates [0]. Which is the key point of "flattening the curve" if you remember. We're not going to get out of lockdown measures until the hospitals can cope with the load, and the vaccinations are reducing the load on hospitals. Get vaccinated now.

https://coronavirus.data.gov.uk/details/healthcare
A Q&A website needs both people who ask questions, and people who answer them. Perhaps the latter even more than the former. You can ask a question on stackexchange and have it answered by Peter Shor. Not having the platform inundadated by dumb repetitive questions and homework problems is the compromise you need to retain such talented people on your platform.

If you want an example of what happens to a Q&A site without any gatekeeping, look at Quora.
I have a large number of GOP voters that voted for Biden because they believe Trump is an idiot.

My opinion is that the party will reform under someone new. Trump is too old at this point to be relevant beyond 2024.
That's perfect. It is funny how this is better than youtube in so many ways. If only it could be taken mainstream.
They're talking about both and what's your source for the fact that this claim is disputed? Who would even have such data if not the police. Please link your source as well as I've linked mine, which supports what I said.
This is a very deep rooted idea in American culture, the kill or be killed, you screw someone over before they screw you over mentality. It's actually something people from Europe need to learn about to be successful in business negotiations with American firms, as there are certain boundaries that we don't cross for cultural reasons and so we don't tend to take a negotiation all the way to the logical extreme and we lose out as a result.
You're quoting something from May last year, before there was vaccine, where he was expressing a general disclaimer about the (very) small potentional for enhanced pathogenesis when creating vaccines.

This is not the case with the covid-19 vaccines. So yes, regarding covid, more protection is always better than less. The rest of my points were also specifically about covid, as is apparent if you were to quote its entirety.

> We should be letting people make their own choices.

Should people make "their own" decisions on how much diesel exhaust their cars produce, or whether they can carry around airborne nerve gas?
Scaffold Django rest APIs like a champion
"Payment can be accepted in any currency, including cryptocurrencies as we outrun the end of civilisation."
It will probably turn off your lights when your neighbor goes to sleep.
This sounds like a big chance for smaller companies to hire experienced top notch people.
Computer Systems: A Programmer's Perspective

by Randal E. Bryant (Author), David R. O'Hallaron (Author)
Ah yes, supplement.

PRC is a totalitarian state that has starved its own population in the name of progress in living memory.

I suspect they would be fine with doing this again.
Recent example (for me): Atlassian monthly per-user pricing vs. annual bulk pricing (discontinuous).

When moving up a range it seems more economical to revert to monthly pricing than to go annual. (Btw: that sucks!)

Source: https://www.atlassian.com/licensing/future-pricing/cloud-pri...
When I used JSON schema last time a few years ago the different implementations of it in PHP and nodejs where either incorrect of feature incomplete. Seems like it is hard to get right.
Let's say you have some code that takes some JSON as input, and then iterates over the elements of some array in that JSON. Since JSON is schemaless, you need to check whether the array you want to iterate over is actually and array, and for each item you have to check if it has the correct type. Each time you access any data in the JSON you need to validate if it has the correct type, or you will end up with runtime errors.

All that validation takes a lot of effort and makes your code hard to read.

If you verify that the JSON input matches the expected schema at the very beginning, you can skip all the validation and error handling later, since you already know that is valid. This would make it a lot safer to handle external input.

Then the next step would be if language & tooling also supported JSON schema, so that the way you access JSON documents in code also doesn't violate the schema. This would help prevent bugs from programmer errors.
Especially when it is being forced down the throat. Yeah sure.
Just because there is precedent doesn’t mean it’s not overreach.
> a) our fridge broke last year early pandemic & our landlord replaced it, we didn't really have a choice
Nice. I can't maximize the window, or resize it properly (minimum window height is bigger than my laptop at 1366x768).

Hope it gets fixed, good job!
Are Dockerfiles Good Enough?
Postal Service workers not included in Biden’s mandatory vaccination order
REvil Ransomware Group Resurfaces Online
I haven't stumbled upon a better schema for JSON than the Typescript definition files. If only I could use them in non Typescript contexts.

https://www.typescriptlang.org/docs/handbook/declaration-fil...
What Is Hybrid Work, Really? Debunking the Myths
A functor has three things:
1. A type constructor
2. A "map" function
3. A "flatten" function

So basically it is just a parametric type such as List<T> which has a type constructor so you can get a concrete type (eg List<String>), a map function which takes a function f: A => B and and turns it into a function List<A> => List<B>, and a "flatten" function with will turn a List<List<A>> into a List<A>.

The last part is what allows "flatMap" which takes a function f: A => List<B> and turns it into a function List<A> => List<B> and is really just a shorthand for doing map and then flatten.
The idea is to keep people in line within the tribe by forcing rituals.
I don't like Python that much either but I disagree with a lot of points.

I agree with the indentation used for limiting blocks, but that is just subjective preference.

Not really fond of access modifiers, I think some form of naming convention can achieve the same without restricting possibilities, from the development side at least.

Object orientation is quite awesome if you use it when it makes sense. As someone who develops a lot of C, the motivation behind it was understandable. I still think a language should give options here, not have restriction like they exist in Java. I don't want to look at hundreds of files to retrace executions.

Dynamic typing has advantages and disadvantages. I cannot say it isn't convenient, but it comes at a price.

That said, learning Python seems like quite a good idea. It can be used for system administration to high level machine learning and is a tool that can be employed almost everywhere for any problem without too much hassle.

If we wouldn't have Python, people would write more Javascript.
Meh. Weak criticisms.

Google didn’t do anything to push pythons popularity in the community. If anything it held it back being so committed to version 2.

White space is a non issue. At best it ensures readability and consistent structure. At worst it’s unimportant.

The thing about version 2 versus version 3 is old news, everyone uses version 3, move in and shuddup about it.

Typing has received more significance recently with various languages like javascript moving towards typing. Python had mypy and it’s becoming more popular.

Pythons object orientation works just fine, and besides isn’t the industry trending away from OO?

None of these things make python “bad”. The author is making ridiculous claims and overreaching in his criticism and embarrassing himself.

A blog post that’s more hot air and bluster than substance.
> We don't "celebrate" Napoleon

Huh, I must have visited a different country then. It seems there isn't a single Bridge, Column or otherwise important building in Paris that hasn't a pompous "N" mounted onto it.
Do you prohibit the use of VSCode in your workplace? Anyone using that is using jsonschema. It's built into the applicatoin for its settings and configuration files. Plugins and extensions use it to manage their own config _and_ as validation for the editor's api.
> You don't see court, legislature decisions, or such upending the business model of a FB, Google or whatnot.

Because they usually follow the laws, and their context is always obvious. The problem with the "little guy" influencer is the not so obvious mix between personal actions and business.

Sometimes they show you their dog pooping, the next second they tell you how awesome the shit-bags of $COMPANY are. How should the viewer know whether this was now a paid placement, or just the personal opinion of that person. With Google and Facebook you will never seen such things, and when they tell you how awesome their newest Service is, everyone knows the intention behind it. Para-social effects are not the same with an anonymous company.
Polyfills for image and video formats are pretty much never going to be worth it: they’ll be a fairly hefty chunk of code (so you’ll need a lot of shrunk-by-using-the-polyfilled-format images to balance it out), and they’ll load much more slowly than the native (so that lot of images is now a liability), while not being able to smooth loading the way stuff native to the browser does. I don’t think a compelling reason to do it that way has ever or is ever likely to exist; it’s an all-round bad idea in practice. Just fall back to a different format, that’s what <picture> is designed for.
Meanwhile here in the UK, with very high vaccination rates, we've been out of lockdown for a while now, are very much getting back to normal life and have low hospitalisation rates. If that's not a 'society wide benefit' I'd like to know what is.

We may need further short tactical lockdowns, and are considering booster shots for the elderly, but the situation here is night and day compared to the US and many other countries thanks to an effective vaccination programme with broad popular support.

It's amazing to me how the political culture of the right has diverged between the US and Europe, and here in the UK particularly. For us responsible behaviour in public and prompt vaccination are conservative touchstones, not exclusively conservative of course but very much seen as not just compatible with conservatism but flowing directly from it's basic principles. What's happened to Republicanism in the US is confusing, and rather horrifying from that perspective.
> It is completely possible to run X as a non-privileged user. The problem is that X handles all of the hardware abstraction, so it needs direct write access to hardware. For numerous reasons this is typically constrained to root.

This is no longer the case on a modern system with KMS/DRM graphics for many years, everything goes through the kernel. There are still some X drivers that directly control the I/O ports and PCI devices, but those hardware is nearly extinct today (the proprietary NVIDIA driver is the only major exception).

I've used a non-root X with Intel graphics for many years already, the desktop is fully functional. The problem, I think, is login managers. Some (many?) login managers must run as root, they need the privilege to log in as another user. To work around the problem, I decided to simply login to the command line via getty and startx by myself, works fine when I did this years ago. I'm not sure if login manager is still the problem today (update: ArchWiki says "GDM will run Xorg without root privileges by default when kernel mode setting is used.")

> You can imagine that the security concerns related to running X as root are significant. There is work to change this situation, such as the kernel mode select feature, but of course there is a substantial problem of inertia: [...]

To be fair, the author did mention the fact in the next paragraph.
They think about it, they just consider it somebody else’s problem.

The genie is somewhat out of the bottle already, because existing access points can track the position of wifi devices and deduce a lot of this information. This takes it one step further to also track people without wifi devices.
> yoga is calisthenics

While yoga-as-meditation seems to have a long in India:

* https://en.wikipedia.org/wiki/Yoga#History

Yoga-as-exercise was a much more recent phenomenon started by Westerners:

* https://en.wikipedia.org/wiki/Yoga_as_exercise

> Goldberg is the author of The Goddess Pose: The Audacious Life of Indra Devi, the Woman Who Helped Bring Yoga to the West. Her book traces the modern Western practice of yoga to a Russian woman named Indra Devi, who was born in 1899 with the birth name Eugenia Peterson.

* https://www.npr.org/sections/health-shots/2015/06/01/4112024...

* https://en.wikipedia.org/wiki/Indra_Devi

Regardless, if it gets people off the couch, then to a certain extent who cares which is "better": the perfect is the enemy of the good.
One thing I'm guilty of is designing a document format as JSON, thus the need to formally verify it.

Passing data works well as JSON but documents works better as XML where you can use XML Schema.
Learn anything easily – mapping Rails to Hanami – Hanami Mastery #8
When I've started learning Hanami, I've struggled a lot because of the different concepts Hanami has over Rails. In this episode of Hanami Mastery, I'm mapping Rails to Hanami for easier learning.

In this Article and Youtube Video guide, I show how I mapped Hanami abstractions to the already known Rails components, so it was super easy for me to learn a new framework from scratch.
When you squat for morning dump, creativity increases multi-fold. It is the best way to get lot of startup ideas. Just sayin ;)
Sorry guys, you are super smart and you talking good things but all what it is is foam making. Yes, new book, even if in 100% describing reality as reality is is not enough. Maybe im 10-20 year someone state: Hey, it was already written 20 years ago !

And all that Congress and rest of the bunnies "activities" is just foam and smoke.

Why ? Becouse US as a whole makes money from current state. Corporations are just part of US controlling rest of the world.

Not so evil so far and always will be someone on the top. Except maybe South America think USA is that bad capitalist from XVIII+ century...

Still, USA have a lot of influence via tech and tech is used by plain peoples. So when something is bad in USA it have influence on rest of us. Eg. attempts to deny repairing phones... Pure idiocy but who cares in Congress or elsewhere ??

And, sadly, you - USA - will do not change much until forced by someone proposing (and having some power to enforce) some sanity in tech and other parts of life.

It's not easy to be World capital country :)
War is not only boring, but stupid.
Hemp houses could be greener, fire-resistant and built like Lego
I like your approach. However, I don't think that this:

- List<T> is a functor because it "contains" T's. List<int> "contains" ints.

Is really correct. I believe a `Container<T>` becomes a functor only if it also 'has' (can have?) a function that can take a function and apply it to all values in the 'container'. So, a 'map' of some sort.

I mean, I see your explanation of 'map' later on. It's also probably true that in real world software engineering contexts any 'container type' of that kind would also be one that either has or can naturally have a `map'. It's just that if someone willing to understand this read your comment and went: "Aha! Some container thing is a functor because it contains things!" I think they'd gain incorrect understanding.

Not that I'm an FP guru, so..
Tried the demo - it seems it doesn't recognize names (values) yet, for example "howard sum amount" leads to simply 'SELECT sum(amount) FROM orders'.

Our SeekTable has similar function where values could be matched too -- but instead of SQL result is a report configuration: https://www.seektable.com/help/search-driven-analytics

Interesting that on practice this function is rarely used by end-users, and because of this we didn't evolve this function.
WSJ: The Problem with 'Complex' Passwords
Smoke and Burnt Plastic Triggered an Alarm on the International Space Station
> What rational person would refuse a lifesaving medicine offered to them for free?

Every rational person. If i gave you a free medicine (drugs for example) will you take it ?

The problem was that the political class undermined all trust in vaccination: promising more liberties to vaccinated people, contradicting the responsible state agencies ( this was the worse they could do), pouring money in Pharma companies and then buying their products ( looks like corruption), lying that the vaccines have been tested but in reality they had express approval, dismissing other vaccines ( Sputnik) for political reasons and forcing the people in a so called lockdown which (except in some countries) had no effect on the pandemic because the measures were pure propaganda (for example the child must stay in quarantine but the rest of the family, not)
" which consisted of workstations (passed down from another better funded middle school) with their desks removed "

Presumably "disks" is meant here instead of "desks". I suppose you could think of a laptop as a "deskless workstation" though.
How would you even train the AI without building lots of walls of different but precisely known structures and densities?
The language is a godforsaken monstrosity, but if you only have to write it once for some non-critical validation task it’s acceptable. For instance, I use JSON schema to (optionally) validate some generated JSON data which is fed into a web app as a JSON module. I also generated the TS spec for it from the JSON schema (although writing the TS spec by hand would have been 10–100x easier than writing the JSON schema). XML is obviously not suitable here — TypeScript doesn’t have XML modules.
None of those are protecting against infectious diseases.
It's honestly just a bunch of voodoo that's fun to speculate on.
Your editor has nothing to do with your product. People use PyCharm to write Python yet would "laugh out" anyone who suggests to start writing Java.
This is why I originally started a project to convert ts to json schema; https://github.com/YousefED/typescript-json-schema (and also check out a good alternative https://github.com/vega/ts-json-schema-generator)
A stranger secretly lived in my home
you might like https://jsontypedef.com/ if you haven't seen it
Reading through the hyperschema spec it instantly seemed like the best option with really good formalisms around discovery and of course the usual specification concerns.

Thank you for that hard work! Hyperschema is a great accomplishment already and I think (as I did before) that what will bring people to it is more tooling around it more than anything else.
That Manuas study was not representative of the population, so it's unlikely that 75% got infected in the first wave.
Also, "kernel mode select" should be "kernel mode setting."
Most powerful digital marketing channels
At least half as many vaccinated people get covid, not getting it means you don't spread it. And of those that do get it, they kick it a lot sooner and thus are not spreading it for as long.

But no, if it isn't 100% perfect you have decided it is worthless.
Do you think our ICU beds are overflowing with STD patients
Pretty sure the vast majority of people turn up to collect their price (outside of pandemics).
Not to forget not standing to higher moral standard by going beyond and above in showing example.
Society could look for ways to fund education, as it is quite a sensible investment into the future. This isn't utopia or a perfect world, this is reality in a lot of places.

Countries that have implemented free public education still have contacts to the industry of course and their involvement is under scrutiny for several reasons.

I don't believe you need a revolution, you just need better policy makers. I understand why that feels impossible for many.
George Washington carried out an inoculation campaign against the wishes of the continental congress.
Biden: Monoclonal antibodies have been shown to reduce hospitalization of UNVACCINATED covid patients by 70%

Also Biden, in the same speech: We're gonna force everyone we can get away with forcing to take a shot still under emergency use authorization that is only supposed to be valid if there is NO other viable treatment.
Article:

> "Developers of platforms and libraries that use OpenAPI haven't had such a shake up before, and my feeling is it may take more than a few releases to correctly implement all the new shiny features full JSON Schema has to offer."

Dear OpenAPI, please avoid the shiny features.
How to Build a Target List of Acquirers for Your Startup
It's also listed OTC in the US as the TCEHY ADR.
Note that only the version on F-Droid actively blocks tracers, the Play Store version can only track them.
This is where I would also develop an XML variant, even if it is never to be used, simply so that I can have a Schema to go along with it. I'll start with a data structure/class, in the code, then use a built-in transformer, to turn it into JSON or XML. That way, I know that the "kernel" of the data is the same, between them.

Even though JSON is a "natural" for scalar types, it can get weird, there. For example, let's say we have a float:

{ "kids": 1.0 }

It needs to be parsed as a float, because we could have:

{ "kids": 2.3 }

But I often see these sent as:

{ "kids": 1 }

or

{ "kids": "1.0" }

or even

{ "kids": "1" }

And I have differing results, based on the parser.
I've thought about that.

But what's the alternative? Someone else would do it anyway and use it against you.
The Manaus study used a convenience sample, meaning that you cannot infer population rates from it.

Who would have thought that reading the abstract of a paper could be a super power?
"I prefer spectacle over truth" is, I must say, a spectacularly bad take.
My favourite is autof = selfie. It’s auto-photo, but if you pronounce it, it’s photo said backwards — because you use the hold the camera backwards or use the front-facing camera.
In clojure you will likely use spec for your data instead of using types.

This is a different approach worth checking out.
Maybe slightly off topic, but it’s always been odd to me how life insurance tests with vigor for tobacco use but lack that enthusiasm for metabolic health / diet.
Recruitment Workflow Automation Tools
Why not use FreeTube (https://github.com/FreeTubeApp/FreeTube) then if it is based on Electron anyway? Freetube also has support for watching videos directly alongwith downloading and can also route the video through Invidious servers if you prefer not giving your IP address to Youtube.
I used the list here: https://en.wikipedia.org/wiki/Counterforce#Counterforce_disa...

Britain uses Trident SLBMs, so should be capable of such an attack. However, further research reveals similar capabilities of the French M51 SLBM.

All in all I wouldn't give too much on that list of stated or probable strategies anyways. An apparent strategy and the stated conviction to stick to it is necessary for deterrence. But I'm not so sure of what will happen if push comes to shove. I guess every nuclear weapons state has a number of war plans fitting the various possible opponents and strategies, and which one is picked strongly depends on the current mood of the ruler when pressing the red button.