Live data from Hacker News

AI is stifling new tech adoption?

vale.rocks

161–170 of 442 posts

Re: AI is stifling new tech adoption?

#161
post #93

Earlier quoted context omitted.

Doesn't Preact use the same model but prioritise bundle size over performance?

It's not the same model. Many, many (if not most) devs probably do not realize that React has an "inverted" model of reactivity and is in fact the root cause of it's performance woes. To the extent that the React team spent 2+ (almost 3?) years working on a compiler to address the issue by adding in the correct memoization primitives in a compile phase (trading increased memory consumption for more runtime performanc…

The blogpost in the first link doesn't mention Preact at all.

Preact is mostly API-compatible with React, and it having a different underlying model is an extraordinary claim that requires extraordinary evidence.

I've read the docs on Preact signals, and they look like React refs, but put outside of components.

edit: the last paragraph about refs

Re: AI is stifling new tech adoption?

#162
I don't think this is a bad thing. Pretty much all of the author's examples of "new and potentially superior technologies" are really just different flavors of developer UX for doing the same things you could do with the "old" libraries/technologies.

In a world where AI is writing the code, who cares what libraries it is using? I don't really have to touch the code that much, I just need it to work. That's the future we're headed for, at lightning speed.

Re: AI is stifling new tech adoption?

#163
post #150

Pathologists as a specialty has been grousing about this for several years, at least since 2021 when the College of American Pathologists established the AI Committee. As a trivial example: any trained model deployed will necessarily be behind any new classification of tumors. This makes it harder to push the science and clinical diagnosis of cancer forward. The entire music community has been complaining about how o…

> The entire music community has been complaining about how old music gets more recommendations on streaming platforms, necessarily making it harder for new music to break out. Compared to what though? Compared to Limeware/Kaazaa back in the day, or compared to buying records in a store? Personally, I find it easier than ever to find brand new music, mostly because Spotify still surfaces new things with ease for me (…

Or compared to the days of radio, having labels decide what's on the mainstream and the indie college stations doing the unpaid work (and giving listeners the gift) of discovering "lost" hits.

Re: AI is stifling new tech adoption?

#164
I noticed this as I experimented with alternatives for React and all of them I tried were terrible on OpenAI/ChatGPT. Either it doesn't know them, or it makes weird mistakes, or uses very outdated (no longer working) versions of the code.

It is also annoying that most modern JS things have 4 versions to do the same thing: With TS, With TS + Decorators, With plain JS, with JSX, etc. so code generation picks one that isn't compatible with the "mode" you use.

Re: AI is stifling new tech adoption?

#165

As the saying goes: while (React.isPopular) { React.isPopular = true } It's actually quite sad because there are objectively better models both for performance and memory including Preact, Svelte, Vue, and of course vanilla.

React has become the Java of late 90’s to mid 2000’s. Loads of libraries, documentation, and developers which creates a flywheel that will grow those aspects over the next X years. Until something comes up that is magnitude better in performance/maintainability, and even then it’ll take years to dethrone the status quo. Good questions in these comments essentially asking, does the level of training data on these mode…

At least Java is good. React is absolutely terrible.

Re: AI is stifling new tech adoption?

#166

Pathologists as a specialty has been grousing about this for several years, at least since 2021 when the College of American Pathologists established the AI Committee. As a trivial example: any trained model deployed will necessarily be behind any new classification of tumors. This makes it harder to push the science and clinical diagnosis of cancer forward. The entire music community has been complaining about how o…

> The entire music community has been complaining about how old music gets more recommendations on streaming platforms, necessarily making it harder for new music to break out.

I can understand other issues, but this has nothing to do with that. Models don't have to be re-trained to recommend new music. That's not how recommendation systems work.

Re: AI is stifling new tech adoption?

#167

>Consider a developer working with a cutting-edge JavaScript framework released just months ago. When they turn to AI coding assistants for help, they find these tools unable to provide meaningful guidance because their training data predates the framework’s release. [... This] incentivises them to use something [older]. That sounds great to me, actually. A world where e.g. Django and React are considered as obvious…

What if it happened just before React, and you therefore got stuck with angular? Should we now be stuck with React forever just because it's okay-ish, never allowing future better framework to emerge?

Or we ended up writing jqueryscript forever!

    $(function() {
      // yay
    })

Re: AI is stifling new tech adoption?

#168

As the saying goes: while (React.isPopular) { React.isPopular = true } It's actually quite sad because there are objectively better models both for performance and memory including Preact, Svelte, Vue, and of course vanilla.

it's my goto along with NodeJS on the backend and Electron as a wrapper or React Native

NGINX for my server though recently I ran into an out of connections problem that was new on an Azure VM

Re: AI is stifling new tech adoption?

#169

I don't think this is a bad thing. Pretty much all of the author's examples of "new and potentially superior technologies" are really just different flavors of developer UX for doing the same things you could do with the "old" libraries/technologies. In a world where AI is writing the code, who cares what libraries it is using? I don't really have to touch the code that much, I just need it to work. That's the future…

The problem is if that code hasn't already been written in some form or another, then the LLM is much less effective at giving recommendations.

I've been playing around with embedded systems, specifically LoRa libraries on ESP32s. Code from LLMs is next to useless for a lot of what I'm trying to do since it is relatively niche.

Re: AI is stifling new tech adoption?

#170

I actually asked this a while back, but got little response: https://news.ycombinator.com/item?id=40263033 > Ask HN: Will LLMs hurt adoption of new frameworks and technology? > If I ask some LLM/GPT a react question I get good responses. If I ask it about a framework released after the training data was obtained, it will either not know or hallucinate. Or if it's a lesser known framework the quality will be worse tha…

I like what FastHTML folks did by preparing what amounts to instructions for LMs. From their Github [1]:

> This example is in a format based on recommendations from Anthropic for use with Claude Projects. This works so well that we’ve actually found that Claude can provide even better information than our own documentation!

This is the file: https://docs.fastht.ml/llms-ctx.txt

[1] https://github.com/AnswerDotAI/fasthtml

Post reply on HN