Hacker Newsnew | past | comments | ask | show | jobs | submit | Curosinono's commentslogin

Its a lot more fun when you start playing around with finetuning different models, learning basic differences in their architecture and co.

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.


I seen this movie but it was a dystopian movie.

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.


The racial quota is used to support minorites.

You don't need to generate a new account just to spew racism.

You can argue that yo udon't think DEI helps and suggest an alternative but DEI is not racism even if you put it like this on purpose.


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.


You are joking with your anti-DEI comment right? You do know that you do talk about the christian church?

They do nothing to include everyone. They are not standing up when it counts or excumante churches and believes who do not follow proper humanitarity.

They are not even in the forefront of fighting climate change which hurts billions.


I would argue that they are hold back by their own culture. Hygene, safety, etc.

Higher education want to move or distant themselves from the poor, dirty or just caste separation.

If you have the feeling that certain things are not your problem, you are not rising.


You should try to see how poor US Americans have to life.

Normal people who have to wait for an event were doctors do free health care in a sport gym for a handful of days.


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.


Thats not true though.

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.


So your main argument is, that the US American health care system is good and has to be so expensive because people can afford to pay more?!

Feel free to us europe than or germany. We pay less and more people are better of than the US Americans.

US Americans pay 2.5 times more than the avg high income nation: https://www.commonwealthfund.org/international-health-policy...

Were is the benefit of paying that much more if you are not getting older than others?


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 cannot say more details or I will face the risk of being charged as leaking the nation’s secrets. No kidding. I regretted to start this issue.


China is better than USA in this regard though and the only other superpower able to challange the USA.

India is not even trying despite its size and we as germans do not push the EU as a union.


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.


I don't get it why the hell is TypeScript still not nativly supported in modern browsers?


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?


It is a language, it doesn't matter to what it is downcompiled to be able to be run in a browser.

Its now 13 years old, not a hard language to have a proper runtime for it and it would just get rid of all the npm stuff.

And for the amount of typescript we now have, it would be worth it to have proper native support.


> 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?

It means that `<script src="some-url.ts">` works.


All good questions. But... it would simply eliminate a step and result in a single language.

Python supports types and is interpreted, right?


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


Python type annotations are available at runtime, which can be used for serialization and validation (for example in FastAPI).


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.


As I understand it you can, in fact node 23 has a type stripping feature. I could be wrong.


> Because "it doesn't exist". It's just a layer on top of js, ...

C++ was originally a layer on top of C. The first C++ compiler, "cfront" was actually a transpiler to C.

There is nothing preventing TypeScript from becoming "native" in a similar way.


Typescript is only a linter, except for types annotations it is regular JS, quite different from C with Classes.

If you are going to mention enum and namespaces, the team considers them a design error, and only keeps them around due to backwards compatibility.


> Typescript is only a linter...

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.


Already covered by JSDoc, closure, and Babel before Typescript came to be.

Java IDEs were taking advantage of them for web development workflows, before VSCode came to be.

Also VSCode main architect is one of the Eclipse original architects.


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:

https://github.com/tc39/proposal-type-annotations


Because standardization is a political process that takes time and consensus to achieve?

https://github.com/tc39/proposal-type-annotations


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.)


True but it only became the "default" choice a couple of years ago.

Before eg 2020 it still wasn't clear if TS was another CoffeeScript.


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.


Or at least some kind of cursor based text buffer tree that wasm can bind to the dom/shadow tree, rather than a fuller API


Likely because everybody would still strip types, bundle and minify their typescript code anyway.


it is still a DX improvement


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.

https://github.com/linus/testy



JS promise to never break the web. can't say the same about TS


JS can't really break the web.

It's a trillion+ market.

If that ever happens for some exquisite reason, it would be forked in under 2 milliseconds by the browser consortium.


FB is the weirdest company though. For a lot of companies like gitlab you know they have sales for customers, roadmap for their core product etc.

FB has what?

Intel has around the same number of people and they make chips, laptops, different types of chips. Hardware, software, supply chain etc.

FB does what? And what do they do with all these very well paid people?!


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.

Horrible, terrible engineering.


algorithm, tracking, bypassing adblocker, reports, moderation and backoffice tools I think


They do A/B tests all day


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: