I can imagine an utopia though were this works out well. I can even imagine that after 100 years or 200 a lot more people become more melowed out and our society overall will be more calm.
Is interesting to me that I often see that kind of default response (“racial quotas”) as if that’s all DEI is when you get down to it. It’s really about creating a space that includes everybody and creates opportunities for all. There are many ways to approach that.
I know in my brief time being involved with a DEI initiative the discussion was never about how many of any particular demographic we hired. It was about asking if we had internal barriers that disproportionally impacted certain groups. I think that’s a very different mindset than “quotas.” But people arguing in bad faith generally aren’t looking for nuance so here we are.
Edit: to be clear, this is directed at the other commenter not you
How isn't it racism though? Separating people and counting them and giving them different treatment based on race is literally "discrimination" and "racism".
The woke movement has distanced themselves from the teachings of Martin Luther King even. Literally quoting MLK was what got Coleman Hughes into trouble with TED. It's quite absurd.
The Chinese healthcare system is not so different from that in the US. It is primarily employer-sponsored insurance, with subsidized insurance programs for poor and rural folk.
Up until 2005, roughly 10% of the population couldn't even access healthcare, at which point the PRC built out more care centers and invested in training more doctors, but there's still a significant shortage, such that scalpers sell outpatient appointment tickets for 10-15x markup over the actual appointment cost.
There's plenty of ways the two countries are different, but healthcare seems like an odd choice to try to "one-up" the US on, even if its programs like medicare, medicaid, social security disability and others still leave gaps.
First of, even per capita, the USA is at 8th place while China is 74.
For sure China has a problem due to its gigantic size and amount of people to even be able to reach its people, but the health care costs are nowere as high as USA has. USA is actually the country with the highgest % of GDP spend for health care alone.
Just checkout a YT video from an US American going to a normal chinese hospital and then compare the bill.
And in parallel the USA is dismantling medicare, medicad and co.
This is also directly reflected in the life expetency: US Americans are getting less old than Chinese people.
Rural China has a per capita GDP 1/10th of the US adjusting for purchasing power; if their health care wasn't cheaper only the very richest could afford anything at all. Even the wealthy coastal areas are 1/3 of the US.
China and the US have the same life expectancy of 79 years, which is a very recent phenomenon due to the 2005-2018 changes I mentioned earlier. Obesity, lack of exercise and other cultural factors weigh down the US life expectancy compared to all other Western nations. China's use of abortion during the one child policy era also prevented a lot of people who would have had chronic medical conditions and disabilities from being born.
It is not yet true, however, that Americans are getting "less old", though it may soon depending on how China manages it's own growing obesity problem and tobacco use.
In a thread about China, I replied to a post about how American healthcare is bad.
My main argument, which is in my first comment, is that healthcare is a bad way to show the difference between China and the US, since they are actually have a lot of similarities, especially with access at the lower end of the income spectrum.
There's literally no reason to bring other countries into the conversation other than to say "US is bad", which does nothing to change the reality of healthcare access in China.
I find it disappointing that a clearly political topic isn't allowed to be discussed accordingly.
The impact of religion on a lot of humans like 'everyone who isn't following the norm of religion: woman not making kids...' etc. is something you should always clarify with topics like this especially in a context were its not clear what the general consensus is.
Rape is bad, done very little to be discussed for example.
Because "it doesn't exist". It's just a layer on top of js, it doesn't have its own runtime, and btw what would supporting ts a the browser level mean? If you want to support a static typed language then you could just compile it down to wasm, if you just want to support types and ignore them at runtime there's an overhead price to pay, or should do runtime type checking? And with which tsconfig? Strict or not?
Interpreted that's right, in fact it's super slow and adding types adds up to parsing time. Javascript is jitted. Python types serves no purpose if not for documenting or letting the lsp doing some lightweight type checking. And btw typescript introduced many breaking changes and the spec is managed by microsoft something you don't want for the open web. What we would really benefinit from would be having WASM being able to do more inside the browser, like rendering, managing user input, accessibility, dom manipulation. Then u could compile your favorite static types lang down to wasm. Hell even a strictier version of TS could be made to do that, iirc there's something similar called assembly script
I mean, all typescript does is serve no purpose except for an LSP and documenting type intention really. It isn't much different to Python type annotation.
Python containing type hints doesn't get transpiled the way typescript does. The transpiling rewrites the TS to varying degrees depending on the target and the extra TS features being used.
Python "just" (that word is doing a lot of work) updated the interpreter to ignore the type hints. It still runs the same way as code without hints.
There's a bit more going on with TS that you couldn't just have the runtime ignore the types.
I never thought of Typescript (TS) that way. I believe TS is a language addition that enabled smarter JavaScript linters; TS is not a linter program per se.
However, TS is more than that now. The extra annotations enable optimizing transpilers and even compilers (to WASM, for instance). This makes TS much more than just a better linter; I think of TS as a better language.
It doesn't make any sense tho. Typescript is nothing much to do with runtime. It's a build/dev concern. To get JS from TS you're mostly removing the type annotations.
Theres no reason to ship TS to an end user browser.
> Theres no reason to ship TS to an end user browser.
As things are now, developers write code in TypeScript, then debug and update code in Javascript. It might not be much of a reason, but a single language throughout is surely easier on developers and maintainers.
There wouldn't be any benefit. It's not sound so it can't really be used to improve performance.
There was a proposal to support TypeScript syntax, but ignore the actual types (this is basically how Python works). That would be kind of nice because you can skip the compilation step completely (less faff for small projects), but I don't think it went anywhere... or if it is it's getting there at a snail's pace:
TypeScript is now 13 years old. They could have, by now, made it a lot easier to be able to use Typescript in a browser out of the box without magic behind it.
Typescript certainly hasn't been resting on its laurels.
Typescript has always worked pretty well in the browser. You can use the full Typescript LSP in vscode.dev or github.dev just fine.
I've even seen websites ship the Typescript compiler as a part of their bundle. It's not the most efficient use of bandwidth, but especially for corporate internal sites if it increases velocity it might not be a bad trade-off. Though it made more sense in the AMD and SystemJS days than in the ESM.
Typescript also support JSDoc mode very well where you have all your types in comments instead of inline. JSDoc type checked files run just fine in the browser without transpilation.
Typescript has also invested a lot into "Isolated Modules" and "Verbatim Module Syntax" and linting for such. This tooling makes it easier to keep modules cleanly type strippable without needing to run the full compiler. (This is something that Node support for Typescript requires, for example.) "Isolated Modules" also get code ready for the Type Annotations support if that gets to the next stage with TC-39. It also makes it possible to bundle a small, fast type stripper in the browser as a module loading plugin, should ESM get module loading plugins ahead of Type Annotations support. (There are proposals for that in front of TC-39 as well.)
My gripe is why doesn't Webassembly fully support dom manipulation. If we got that working anyone could just bring any language to the browser and we would finally be free from the shackles of JS.
Just make it a habit to write your types in JSDoc and be done with it. It's so much nicer in every way. Typescript checks your types, you are incentivized to write some brief documentation, and (self promotion) if you use something like my library testy you get your JSDoc examples tested.
Well they keep breaking main FB page with additions or redesigns nobody asked for.
I am in Europe but I must be some test bunny that made some personal enemy there somehow, since beginning (cca 2008) FB was by far the buggiest site ever. Uploads of images didn't work, sometimes it uploaded twice. Uploading album of 30-50 pics took on average maybe 10 attempts in the past. Comments didn't work, or twice again. many similar behaviors. Ie since cca 2 weeks now if I click on some picture to have it full screen, clicking close after 1-2 mins ends up in FB error page instead of returning to main feed. I keep seeing FB error page a LOT considering infrequent use.
You can experiment with different agent harnesses (pi, hermes, opencode, goose, ..) do experiemnets with gastown and paperclip ai.
I also get a lot of fun at experimenting with ideas i have and had were the focus is not the pure programming language but the application.
But i do think and we will see, as soon as there are clear winners of agentic platforms, we will finetune and adjust these agents.