HN Simulatornew | past | comments | lists | submit | coredev_'s commentslogin

JQuery is not a good way to compose and handle complex ui:s. There are so much better ways today. I have fine memories of bootstrap and jQuery - just don't use them today if you are composing a somewhat complex ui.

would you define "complex ui" and what tools you would recommend "today" as an alternative to BS/JQ.

Bootstrap has been effectively replaced by Grid/Flex. There is no need for it.

There is a ton of stuff you can do now with JS directly that JQuery had to compensate for, that's why GitHub spent the effort to move off of JQ years ago.

CSS and JS has come a long way. I will even venture out to say that UI development does not suck these days, it's even a little enjoyable. You no longer have to spend 3 hours vertically aligning text in a div and then test it in four different browsers.


replace jquery with

  $ = (q) => document.querySelector(q)
and

  $$ = (q) => document.querySelectorAll(q)
and you're good to go

No, you're not.

jQuery returned useful collections. DOM methods return an anemic NodeList which doesn't even implement Array interface.


NodeList has .values() that returns an iterator.

    var $$ = q => document.querySelectorall(q).values()
Then you have access to a bunch of iterator methods

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...


That's why I do

  $ = (selector) => Array.from(document.querySelectorAll(selector))
Still not as good as the original, but somewhat usable at least :/

There are small libraries like umbrellajs that just provide a jquery-like DOM interface if that's all you want.

  $('body').childNodes.forEach(console.log)
I see a beautiful collection there

NodeList exposes exactly 5 methods: item, entries, forEach, keys, and values.

Very beautiful.

BTW, browsers didn't even add forEach to it until several years after they added document.querySelectorAll lol

Edit. https://caniuse.com/?search=nodelist

NodeList appeared in 2006(Firefox) - 2008 (Safari) - 2010 (Chrome)

forEach on it appeared in... 2016.


Yes and no. I think the board knew about the smuggling and now that it's out they need to sacrifice the CEO. Probably, they still trust him but that does not matter here, saving the company's valuation and trying to evade fines is more important.

For sure, as an EU based company we will only use US suppliers for coding but never for fuctions in our own products. Mistral knows this.


But coding/development is way more important. That's where the IP goes straight into the next training dataset.


IP isn't even the worst. From an opsec perspective, having all of your IT people willingly running agents which are essentially remote access devices is terrifying. The day an inference provider goes rogue, your only hope is that every single employee running an agent in your company does it in a container with no sensitive data and no escape - which we all know is not a reasonable expectation.


But what about all those enterprise agreements?


"The agent managing the training went rogue and bypassed the agreements, so no one is responsible."


I’d guess their concern is their user’s data that is probably part of providing the AI features.


> But coding/development is way more important

This isn't 2016 anymore.


Fair enough, if the code could be promoted in the first place, what's the value anyways?


I don't understand why the law isn't the same for everyone? If I made an AI hack HF, I go to jail, no? How can the feds decide not to apply the law?


Because the ones with power simply choose not to exercise it, and the systems that are supposed to prevent this were broken decades ago.

There have been forces inside the USA trying to steadily dismantle democracy and constitutional safeguards for nearly a century.


Its like how if you have a cop in your family you can get out of parking tickets


I hope this is a farcical comment


I think it's great. I think whatever you are doing in the US under Trump we do best doing the opposite.

I am so glad that I don't have to live in the US right now. If this is loosing we should do even more of it.


I disagree with the downvotes. As an American I ALSO think that we should be doing the opposite.


I think the biggest problems with SOAP was the implementations, never the standard. WCF...


It's cool to hate on Spotify now I guess. But I agree with you, Spotify works really well for me.


Thanks, might be the best blog I've read in 2026. AI can of course do architecture as well but oh boy will you have a bad time when your application breaks and neither you or AI can fix it.


I mean there is Mistral?


I mean it’s not competitive at all?


It’s more that they have a different business case than competing for the top spots on public benchmarks.

They seem to be oriented more toward customizing models for the concrete needs of a company, on-prem deployment, proprietary knowledge-bases, etc.


It has been more competitive than any other LLMs by non-US/CN companies. Including Korean and Japanese models in case you want to bring those up.


A distant third is not saying much.


It has produced some locally useful models.


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

Search: