this post was submitted on 08 Aug 2024
352 points (97.6% liked)

Lemmy Shitpost

29464 readers
2985 users here now

Welcome to Lemmy Shitpost. Here you can shitpost to your hearts content.

Anything and everything goes. Memes, Jokes, Vents and Banter. Though we still have to comply with lemmy.world instance rules. So behave!


Rules:

1. Be Respectful


Refrain from using harmful language pertaining to a protected characteristic: e.g. race, gender, sexuality, disability or religion.

Refrain from being argumentative when responding or commenting to posts/replies. Personal attacks are not welcome here.

...


2. No Illegal Content


Content that violates the law. Any post/comment found to be in breach of common law will be removed and given to the authorities if required.

That means:

-No promoting violence/threats against any individuals

-No CSA content or Revenge Porn

-No sharing private/personal information (Doxxing)

...


3. No Spam


Posting the same post, no matter the intent is against the rules.

-If you have posted content, please refrain from re-posting said content within this community.

-Do not spam posts with intent to harass, annoy, bully, advertise, scam or harm this community.

-No posting Scams/Advertisements/Phishing Links/IP Grabbers

-No Bots, Bots will be banned from the community.

...


4. No Porn/ExplicitContent


-Do not post explicit content. Lemmy.World is not the instance for NSFW content.

-Do not post Gore or Shock Content.

...


5. No Enciting Harassment,Brigading, Doxxing or Witch Hunts


-Do not Brigade other Communities

-No calls to action against other communities/users within Lemmy or outside of Lemmy.

-No Witch Hunts against users/communities.

-No content that harasses members within or outside of the community.

...


6. NSFW should be behind NSFW tags.


-Content that is NSFW should be behind NSFW tags.

-Content that might be distressing should be kept behind NSFW tags.

...

If you see content that is a breach of the rules, please flag and report the comment and a moderator will take action where they can.


Also check out:

Partnered Communities:

1.Memes

2.Lemmy Review

3.Mildly Infuriating

4.Lemmy Be Wholesome

5.No Stupid Questions

6.You Should Know

7.Comedy Heaven

8.Credible Defense

9.Ten Forward

10.LinuxMemes (Linux themed memes)


Reach out to

All communities included on the sidebar are to be made in compliance with the instance rules. Striker

founded 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 11 points 7 months ago (1 children)

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.

[–] [email protected] 2 points 7 months ago* (last edited 7 months ago)

Yeah, I though so too. Like, the antiviruses 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.

[–] [email protected] 6 points 7 months ago

That's why you branch out

[–] [email protected] 11 points 7 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.

[–] [email protected] 20 points 7 months ago (1 children)

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.

[–] [email protected] 8 points 7 months ago (1 children)

Only run as an experiment myself but Wazuh can do it apparently: https://documentation.wazuh.com/current/proof-of-concept-guide/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.. https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-overview?view=o365-worldwide

[–] [email protected] 8 points 7 months ago* (last edited 7 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.

Edit: I just saw the section about writing detections, but that seems to be more of a reactive than proactive approach. It still does the detection from searches.

[–] [email protected] 31 points 7 months ago (2 children)

Jquery sucks now, compared to pure javascript? Now I feel old.

[–] [email protected] 11 points 7 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.

[–] [email protected] 16 points 7 months ago (2 children)

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.

[–] [email protected] 9 points 7 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!

[–] [email protected] 36 points 7 months ago (1 children)

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.

[–] [email protected] 2 points 7 months ago* (last edited 7 months ago) (1 children)

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.

I was huge into jQuery but the "modern" frameworks seem like a complete dumpster fire full of poo to me.

All of this MVCC non-sense, and components and services and bundlers and shit, megabytes of libraries and tons of time spent in the build process, security vulnerabilities in libraries like "hash-dash-framework.js" in the dependency chain, a final output that requires gigabit speed to load in a reasonable timeframe, and still I see the pages developed with Angular making 4 or 5 calls for the same fucking bit of information from the backend.

[–] [email protected] 3 points 7 months ago

In many ways you’re correct, the “modern” js toolkit can be a nightmare. I work for a SaaS company that makes emergency management software. I’m pretty proud of our setup. It’s Vue 3, it’s incredibly optimized. We have tree shaking and code splitting, e.g. there’s hundreds of potential JS files you might load using our software, but they will only load when you need them, over a brotli compressed HTTP/2 connection so it really is efficient.

With the amount of data we process through our API and how it’s presented to the client it would be a nightmare to not have Vue for state management and routing, axios for API calls, etc. But many SaaS products certainly aren’t optimized like ours

[–] [email protected] 8 points 7 months ago
[–] [email protected] 31 points 7 months ago (4 children)

What's better than PayPal / what issues does PayPal have? I don't know any better alternative…

[–] [email protected] 4 points 7 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.

[–] [email protected] 6 points 7 months ago (2 children)

PayPal stole my money and I'm far from the only case. Venmo is much better, but still provides fundamentally the same service

[–] [email protected] 3 points 7 months ago (1 children)

Got bad news for you bud... Same bank.

[–] [email protected] 12 points 7 months ago (1 children)

Which is weird because PayPal has owned Venmo for over a decade

[–] [email protected] 4 points 7 months ago

Yep. Dunno what the difference is, but it works much better. Probably the underlying software is just better.

[–] [email protected] 3 points 7 months ago

yeah I like paypal and use it a lot

[–] [email protected] 35 points 7 months ago (2 children)

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.

[–] [email protected] 10 points 7 months ago* (last edited 7 months ago) (3 children)

How do you send money to friends or businesses with credit card? Is there a paypal card which has your login information printed on it?

[–] [email protected] 7 points 7 months ago

just send them money to their bank account. it's a lot more common in Europe.

[–] [email protected] 5 points 7 months ago

I just use a bank transfer

[–] [email protected] 3 points 7 months ago (2 children)

Venmo usually, but many banks have built in cash payment apps too.

I'm 35 and never had a PayPal account and have never felt the need for one

[–] [email protected] 5 points 7 months ago

Venmo is, afaik, owned by PayPal, although they do a good job to not let on that it's a PayPal service.

[–] [email protected] 6 points 7 months ago

Obviously you can do a SEPA transfer as well, but it's not instant and you have to type a long number and don't have a consistently good user experience. Bank apps lack good UX. Stuff like "send this friend 5 bucks again, this is his profile picture" and are a pain to log into.

I don't say I like paypal or banks, i actually dont like either. But paypal is just more convenient.

load more comments
view more: next ›