Live data from Hacker News

jQuery 4

blog.jquery.com

211–220 of 313 posts

Re: jQuery 4

#211
post #202

Earlier quoted context omitted.

I really can't understand how someone would make 30 redux actions for a simple use case, as someone has implemented the exact same thing. But yes, not a fan of Redux myself

Have some pity for those Senior Expert Architect Full-Stack Developers (fresh out of boot camp) in urgent need of job security.

The original developers weren't bootcampers but engineering graduates.

And in the same way faang is filled with leetcode blackbelt charlatans writing slop, so is Romania apparently.

Re: jQuery 4

#212

Earlier quoted context omitted.

yes: htmx grew out of intercooler.js, which was based on jquery and inspired by the jQuery.load() method: https://api.jquery.com/load/ which I found while doing some performance work at one point. intercooler.js started as a custom function that hooked .load() in based on custom attributes (a trick I learned from angular 1.x) deeply respect and love jquery

Are you Carson?

yep

Re: jQuery 4

#213
post #132

Earlier quoted context omitted.

These days I’ve moved to native JS, but hot damn the $() selector interface was elegant and minimal vs document.getElement[s]by[attribute)]. While presumably jquery is slower than native selectors, maybe that could be pre-computed away.

The $ (and $$) selector functions live on in chrome/chromium devtools!

[deleted]

Re: jQuery 4

#214
I feel so old. jQuery was hate/ok early in my career, as I started on the tail end of HTML5/in the middle of ES6 with all the new stuff.

Re: jQuery 4

#215

Earlier quoted context omitted.

I really can't understand how someone would make 30 redux actions for a simple use case, as someone has implemented the exact same thing. But yes, not a fan of Redux myself

Many years ago, I used Redux to build real time streaming data processing layer. Basically I need to receive, merge, and process multiple data streams into a single realtime data pool. After that,consuming the realtime data becomes dead easy. Even now I am not sure I could find a better tool to deal with real time data and synchronization. But for simple crud Redux is mostly overkill

https://rxjs.dev/guide/observer

Re: jQuery 4

#216
post #202

Earlier quoted context omitted.

Have some pity for those Senior Expert Architect Full-Stack Developers (fresh out of boot camp) in urgent need of job security.

The original developers weren't bootcampers but engineering graduates. And in the same way faang is filled with leetcode blackbelt charlatans writing slop, so is Romania apparently.

Great generalization of an entire country's sector workforce.

I'm sure you'd 100% approve of such a statement of your country when based on one anecdotal recount (even if it true).

Re: jQuery 4

#217

Related: This is a nice write-up of how to write reactive jQuery. It's presented as an alternative to jQuery spaghetti code, in the context of being in a legacy codebase where you might not have access to newer frameworks. https://css-tricks.com/reactive-jquery-for-spaghetti-fied-le...

This brought me flashbacks of jQuery spaghetti monsters from years ago, some were Backbone related. In retrospect, over-engineered React code can be worse than decently organized jQuery code, but some jQuery mess was worse than any React code. So I guess I'm saying, React did raise the bar and standard of quality - but it can get to be too much, sometimes a judicious use of old familiar tool gets the job done.

>> This brought me flashbacks of jQuery spaghetti monsters from years ago, some were Backbone related.

To be fair, jQuery was a response to the the IE and JS variant mess of the early 2000s. jQuery made development possible without debugging across three browser varients.

Re: jQuery 4

#218

Related: This is a nice write-up of how to write reactive jQuery. It's presented as an alternative to jQuery spaghetti code, in the context of being in a legacy codebase where you might not have access to newer frameworks. https://css-tricks.com/reactive-jquery-for-spaghetti-fied-le...

MobX autoruns happily call jQuery functions.

Re: jQuery 4

#220

Earlier quoted context omitted.

According to Cloudflare, there are almost no users still on MSIE of any version.[0] Statcounter says there are about 4.6% of iOS users still on iOS 16.[1] My gut instinct is that there are multiple times more people using iOS 16 today than MSIE of any version. [0] https://radar.cloudflare.com/reports/browser-market-share-20... [1] https://gs.statcounter.com/os-version-market-share/ios/mobil...

I visited a distillery in 2020. Their machines were managed by HP laptops running Windows XP. Those machines and those laptops and that Windows XP are probably still there with their old IE browser.

They will probably be there for as long as the capacitors last, but the critical thing is that they are almost certainly running some Win32 industrial process software with no need for web browsers or for that matter even Internet connectivity. In fact I hope they’re not on wifi given the state of legacy WinXP security!
Post reply on HN