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

Are tabs sandboxed in some way like in WebKit?

I wonder how many websites on the web still use jquery today

StackOverflow still does. Delivered via Google for no good reason other than to give them tracking data on SO users.

A lot actually

>I wonder how many websites on the web still use jquery today

Probably more than use React, by total domains alone. It's a bit like WordPress; so ubiquitous you forget it's even there, and with a long tail that will outlive many people reading this.


yup. we still had it on every page at my last job, even though it was a 100% React frontend (literally - even things like error pages were done with JSX for some reason!) merely because when the first parts of the site were written, they used $.ajax instead of fetch for some reason, and they never wanted to refactor anything.

fetch only became available in 2015 and it was awhile before it was commonly supported. At the time, jQuery's ajax was much nicer than handling the XMLHttpRequest yourself. I have sites that have gone through all three, finally replacing $().ajax with fetch only in the last couple years.

That’s gotta be it. I think the older parts of the codebase definitely either predated 2015 or straddled the time where you couldn’t assume fetch was there. And I agree, XHR was actually pretty absurd, having used it in about 2006 before discovering JQ.

Yeah. And also, 2015 was the same time when Promises became part of the spec. That was the justification for fetch in the first place. Now that we have this ability to do asynchronous stuff, and everyone is writing these hairy XHMLHttpRequests listening for 200s and 400s, let's just make this a standard thing. It was a good idea. So, $().ajax still handled its results with callbacks, it wasn't async, didn't need a shim for that, although it was easy enough to wrap. You wouldn't necessarily replace it until you were ready to rewrite a whole bunch of other stuff in your code with async functions. For me, a bigger question for older code was transitioning the bulk of the code to promise patterns, even though I would've otherwise wanted to swap fetch for ().ajax much sooner.

[edit] I just checked, and I still have one major production site whose backend calls still run:

`let req:XMLHttpRequest = new XMLHttpRequest(); req.onreadystatechange = ()=> {`


well its actually ship by wordpress, although not turned on my default, most themes and plugins do. So that already makes up for a huge part of the internet.

Every wp site uses jquery

If you believe a google query:

Approximately 64% of all websites—or roughly 67 million live domains—currently use jQuery.


Totally. If business can ship more in less time. They won’t stop at 15-hour, they will keep shipping more because competition and hamster wheel. In fact, I feel like the amount of work is actually increasing too…

Not sure why multi threading is a victim. It really depends.


It does indeed depend.

Some multithreaded workloads will use the full logical processor count to pin every core and that can really suck on low-end systems. I think aside from balancing multithreading overhead, this is one of the reasons why some more advanced software (such as 7-Zip) lets you select the number of threads to use for a workload, even if you already know and accept that it'll be expensive until it's completed.

Lots of multithreading things I come across as a developer have a default of something like 4 threads, or only use a certain fraction of logical cores up to a certain maximum, etc. because it's generally more polite not to always pin every core.


This website could work much faster if it wasn’t loading 100s of ads.

Low effort article.


Does it?


No. As far as I remember you cannot disable or kill the background daemons without disabling SIP either.


Well that is something and it has a certain logic. If you want to live off the grid all platform trust is removed.


Does what?


Does turning off Apple Intelligence prevent collection?


no idea but it sounds like turning off SIP does.


Strange that such issues haven’t been probed with ai. It’s good st finding regressions


fat32 is pretty archaic fs by now.


It's been pretty archaic for 20 years or more.


30 years and 2 months, by my count.


Still the most compatible filesystem by far, everything can read FAT32.


Was his video presentation ever recorded? Would be interested to see what kind of tools he’s been building



Not only UK, Europe in general is stuck in this nonsense. People buy properties, tenants pay their mortgage. In 15 years the property is yours mostly at the expense of someone else plus it gained in value. After owning it for so long and selling the property you probably pay lower capital gains from that too. Unless you put all that money in the right stocks in 2010, renting just doesn’t make all that much sense in this economy.


> renting just doesn’t make all that much sense in this economy

I disagree.

Example scenario of many young Europeans in their 20s:

- living in small or mid-sized city

- job offer pops up paying significantly more across the country, either capital or one of the top cities

- move and earn significantly more (even when adjusted for CoL)

- continue progressing careerwise

- job offer pops up elsewhere, possibly in other EU countries, pays significantly more

A reasonable person in their 20s would allow themselves the chance to focus on professional career growth/salary growth up until they hit their mid-30s in which they can start considering settling in a given place and purchasing. Before that it's nonsensical.

To give my own example, I went through various cities across several countries, starting at 12k, then a few years later job offer in another country for 33k, then a few years later at 54k, then at 115k, all before 30 years old (because I allowed myself to be anchor-free).

The rest who stayed put in the same city? 12k to 30k in the same span of time.

Anyone telling a person in their 20s: "buy a house and stay put" is giving terrible advice. The advice should be something along the lines of: "what you do in your 20s will bear fruits in your 30s, stay open-minded, adventurous, don't be afraid to burn out and discover your limits, see the world before your parents get old, and try your hardest".


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

Search: