Jquery sucks now, compared to pure javascript? Now I feel old.
Many such cases
Submitted 3 months ago by renzev@lemmy.world to [deleted]
https://lemmy.world/pictrs/image/cd3aa607-6d45-42d7-9a42-3e287d8f1956.png
Comments
ICastFist@programming.dev 3 months ago
GFGJewbacca@lemm.ee 3 months ago
Yeah, I don’t get it either. I made a store for my website a couple of years ago, and jQuery was crucial for me to handle all the events and triggers. Trying to do it in pure JavaScript looked like a complete nightmare.
kautau@lemmy.world 3 months ago
Many of the things that jQuery made easy back in the day are now pretty easy with pure js (Ajax calls, improved selectors, programmatic DOM manipulation, etc), and browser support for most JS features is way more standardized.
Granted, your pure JS is likely to be way more verbose to write, making it look more intimidating than jQuery.
That being said. jQuery is performant in modern browsers, and when being delivered compressed and minified is tiny, so if you want to use it, go for it. Anybody who criticizes you or tells you “you should use [x]” for your online store or website is a JS elitist.
jQuery is really only a “bad” choice for big interactive web apps, where frameworks that handle state and routing independently of the DOM are a much better choice.
Ahardyfellow@lemmynsfw.com 3 months ago
I just created a new tool for my company, and I opted to leave out jQuery as I wanted to see how it would be without it.
After going through the process I don’t think I’ll use jQuery again unless it is already a dependancy. Vanilla pretty much has everything covered that jQuery made easier, just need to be a bit more verbose in some cases, but I’ve found that typically makes the code easier to read and modify.
No hate if jQuery is your thing though, just if you’re on the fence I’d give vanilla a go and see if it fits your needs!
_____@lemm.ee 3 months ago
jQuery is very slept on imo. I think new Gen react heads don’t understand just how much you can do. Iirc the minimized size is also very small.
Korne127@lemmy.world 3 months ago
What’s better than PayPal / what issues does PayPal have? I don’t know any better alternative…
badcommandorfilename@lemmy.world 3 months ago
I assume just normal credit card payments online? PayPal started because people were scared to use their card online, but now you get all the same buyer protections and insurance.
Laborer3652@reddthat.com 3 months ago
I’d rather have my credit card information on a highly secure platform like Paypal than give it out to every Tom, Dick, and Harry that asks for it on the internet.
Even if PayPal is only “mostly” secure, I still get better security from having a smaller attack surface.
woodgen@lemm.ee 3 months ago
How do you send money to friends or businesses with credit card? Is there a paypal card which has its password printed on it?
Cryophilia@lemmy.world 3 months ago
PayPal stole my money and I’m far from the only case. Venmo is much better, but still provides fundamentally the same service
0ops@lemm.ee 3 months ago
Which is weird because PayPal has owned Venmo for over a decade
grandkaiser@lemmy.world 3 months ago
Got bad news for you bud… Same bank.
WhatYouNeed@lemmy.world 3 months ago
For a merchant; PayPal fees are quite high, their merchant support is abysmal and you have to be a decent size SME before you get a dedicated account manager.
And dont even get me started on their so called “merchant protection” offer for disputes.
MissJinx@lemmy.world 3 months ago
yeah I like paypal and use it a lot
Lumilias@pawb.social 3 months ago
On the enterprise side, we use McAfee/Trellix and we’re pretty much glued to them for endpoint security. Why? Nobody else allows you to write custom YARA rules straight to the IPS engine like Trellix does.
Every other vendor only allows you to use rules they have defined for you and doesn’t give you that low level access. It’s frustrating because their support is dogshit too, but my company has niched itself into a corner.
theotterone@lemmy.world 3 months ago
Only run as an experiment myself but Wazuh can do it apparently: …wazuh.com/…/detect-malware-yara-integration.html
MDE can do something similar but you’ll need to rewrite your rules which is of course more than suboptimal… learn.microsoft.com/…/advanced-hunting-overview?v…
Lumilias@pawb.social 3 months ago
Interesting, never heard of Wazuh until now. That looks closer to what Trellix allows.
The guy in charge of picking endpoint security products (whose team writes these rules) has tried Defender and found it lacking in comparison. Also, that link is about historical search for threat hunting, so I’m not sure if it’s the correct one.
hesusingthespiritbomb@lemmy.world 3 months ago
I feel like Jquery is unfairly lumped in here.
While other solutions have eclipsed Jquery, it doesn’t mean it’s in any way bad. Unlike the other products here, it’s still a capable library that solves the tasks it sets out to do. It never became a bloated mess or sold out to the highest bitter.
That being said I wouldn’t really use it today. It doesn’t play that well with modern tooling, and it is extremely easy to write anti patterns into your code. I would recommend either VanillaJS, a web component library like Svelte, or React depending on what you’re trying to do.
renzev@lemmy.world 3 months ago
Yeah, I though so too. Like, the antivarises use actively malicious marketing tactics to scare users into giving up their money, paypal is a piece of shit, and flash was a security nightmare. Jquery is allright. If a website uses it and nothing is actively broken, then there really isn’t a reason to replace it.
mlg@lemmy.world 3 months ago
jQuery
We gonna ignore the crap storm that is JS frameworks, npm packages, and entire superset language to make JS half usable?
Not to mention literally everyone still uses jQuery while pretending not to.
ShinkanTrain@lemmy.ml 3 months ago
WinRAR
Waveform@lemmy.world 3 months ago
Tartas1995@discuss.tchncs.de 3 months ago
What first party solved the issue with PayPal? I literally want to see it burn but I don’t have an alternative.
tiramichu@lemm.ee 3 months ago
Yeah I don’t get PayPal either.
Who is the ‘first party’ in this case? eBay, or like, the banking system as a whole?
If it’s the whole banking system then I’m not sure how that’s solved, because as I understand in the US it’s still not easy to send money to another private individual via the banking system. And there are Venmo and cashapp and such now but they are just other third parties.
Meanwhile in the UK here it has been possible for decades to send money between bank accounts directly, and free. I use PayPal though, because my use case for it isn’t sending money to individuals, it’s being able to buy things online without creating an account and without giving my card details.
Maybe people are thinking in phone terms, and the first party is “Apple” or “Google” and the solution is Apple Pay or Google Wallet?
renzev@lemmy.world 3 months ago
Thank you for providing a different point of view, I didn’t realize things were so complicated in the united states. In the EU there is a system called iDEAL which iirc is maintained by a collaboration of different banks and lets you pay for stuff online instantly and with zero fee. For sending money person-to-person, there are apps like tikkie that are just a thin wrapper around iDEAL. And in cases where these things don’t work, you can just do a direct bank transfer by typing in the other person’s IBAN in your bank’s app/website. Slightly less convenient, but still nearly instant and zero fee.
wildncrazyguy138@fedia.io 3 months ago
I think it’s that PayPal was one of the firsts to provide a method for collecting credit card transactions electronically.
Before PayPal, you’d often have to visit a website, then call the phone number for the seller to collect payment.
eBay needed paypal because their sellers were often not businesses, just people yardsaling stuff online.
Coincidentally, I interned at a PayPal competitor in 1998 that went under during the bust. We had an electronic interface through MS access, but it was a still a human entering in the CC number into one of those dial pads on our side and then confirming the transaction. I’m sure nowadays you can understand why that was a terrible long term business model.
Kusimulkku@lemm.ee 3 months ago
Bizarre
Kecessa@sh.itjust.works 3 months ago
Canada has Interac, Europe has another standard, the US has another standard… I wish they would all just get together and have a single way to do it that works everywhere in the world…
In the meantime: www.paypal.com/ca/webapps/mpp/country-worldwide
puchaczyk@lemmy.blahaj.zone 3 months ago
In Poland for online payments everyone uses Blik. It lets you generate six digit number in your banking app that you then give to the site you’re making payment to. Your banking app then asks you if you want to make the payment with information about how much you pay and to whom. You accept and you’re done, no card details were shared.
boonhet@lemm.ee 3 months ago
In the EU we have SEPA instant transfers
For a global solution you’d want Wise or Revolut or something. Or PayPal, but the others have features PayPal doesn’t. But there are instances where PayPal wins.
But all the different banking systems are still a mess sadly.
NickwithaC@lemmy.world 3 months ago
Given that banks’ whole thing is transferring money you’d think they’d have got that sorted from the start but no.
fmstrat@lemmy.nowsci.com 3 months ago
Yea, this isn’t US focused. A person working here from the UK told me “They tell us when we go over to expect a nice modern society with a third-world banking system. Oh, and guns.”
LodeMike@lemmy.today 3 months ago
Zelle I think.
tiramichu@lemm.ee 3 months ago
That’s just a different third party, though.
renzev@lemmy.world 3 months ago
iDEAL solved it for countries that participate. For countries that don’t, sadly there’s no good first party solution. Revolut and Transferwise are much better alternatives to paypal tho.
TheBat@lemmy.world 3 months ago
India also has very good and robust online payment infrastructure.
It’s actually mind-boggling that USA hasn’t figures that one out, despite being saviour of capitalism.
Tartas1995@discuss.tchncs.de 3 months ago
Like you said in your initial comment,
International money transfer But also I don’t want to give some random website my credit card
lama@lemmy.world 3 months ago
I’m guessing they’re referring to FedNow, which is supposed to be like zelle/venmo but backed by the fed.
That being said it’s only starting to get rolled out and I have yet to see anyone else whose bank offers it.
Kecessa@sh.itjust.works 3 months ago
US only, that’s why PayPal won’t stop existing
UxyIVrljPeRl@lemmy.world 3 months ago
Me too, me too pall.