Better HN
topnewbestaskshowjobs
Log inSign up

talkin

208 karma · joined Oct 7, 2021 (5y ago) · 57 submissions

Submissions

comment 1d ago · link · parent

No extra botnet needed; just use all those cameras to send the reports. ;)

comment 1mo ago · link · parent

> Not that I think that this is LinkedIn's fault

It is, they’re darkpatternmaxxing.

There used to be a time sites got punished if they treated searchbots differently..

comment 2mo ago · link · parent

Yes, that’s a good thing. That alg:none might be easy in tests is not a good reason for a weak mode in the real code and spec.

Been there, done that, wrote the stub/mock and ended up with the better test. :)

comment 2mo ago · link · parent

> Criminals don't just rob random houses

False, opportunity theft is the most common form.

Better doors/windows/locks help the most, and help against both opportunistic and targeted.

comment 3mo ago · link · parent

I didn’t see it for decades, only realized waaay too long into a Dutch movie: https://www.imdb.com/title/tt3765078/ (Publieke Werken). I cannot imagine how I was ever able to not see it immediately..

comment 5mo ago · link · parent

It costs tokens, so it helps the business model, so it’s not a bug but a feature.

comment 5mo ago · link · parent

It’s also a weird argument. You can only spend your money once, and the affected employees also chose to work for a bell-end like Altman (or Zuck, or Musk)

comment 6mo ago · link · parent

Fixing easy cases makes the list shorter, so enables more focus on harder cases.

And it also signals that you actually do want to improve, just a little bit of boy scout rule goes a long way.

comment 8mo ago · link · parent

> for some reason the industry stubbornly refuses to solve the "cron job as a service" problem for end-users, whether on the web or in the OS.

Such a service will always be destroyed by the bell-ends who want to run spam or worse activities.

comment 8mo ago · link · parent

> cd -: The classic channel-flipper. Perfect for toggling back and forth.

And not only cd. Gotta love 'git checkout -'

comment 8mo ago · link · parent

There will always be early adopters.

And maybe more importantly: security tools and researchers.

comment 8mo ago · link · parent

Or even an autoincrement int primary key internally. Depending on your scale and env etc, but still fits enough use cases.

comment 9mo ago · link · parent

Most regex usage actually doesnt require near infinite backtracking, so limited unless opted in wouldn’t be that weird.

comment 10mo ago · link · parent

“Intuitive!”

comment 11mo ago · link · parent

NO. Please don’t spread wrong solutions.

Your attempt has similarities to the idea behind Checking Sec-Fetch-Site. Implementing that header is the same amount of work. But this header is exactly meant for this purpose, and referer is haunted with problems.

So for officially intended protections, implementing this header and samesite cookies gets you a very long way without any complexity, assumptions, or tricks of old lore.

comment 1y ago · link · parent

No. The Regex DoS class of bugs is about infinite backtracking or looping inside the regex engine. Completely isolated component, just hogging CPU inside the regex engine. It may also have ‘DoS’ in its name, but there’s no relation to network (D)DoS attacks.

It could still be a security error, but only if all availability errors are for that project. But after triage, the outcome is almost always “user can hang own browser on input which isn’t likely”. And yes, it’s a pity I wrote ‘almost’, which means having to check 99% false alarms.

comment 1y ago · link · parent

Backup/restore tends too look less important until it isn’t. ;)

comment 1y ago · link · parent

Interferes with the business model. ;)

comment 1y ago · link · parent

> Well, I don't think most folks could name a CEO of another car company.

Yup, and I don’t care. I liked the brand better without the drama queen.

comment 1y ago · link · parent

Spreading the message inside FB helps the mission. The people who already stopped don’t need to be convinced anymore. ;)

But sure, ironic and counterintuitive.

comment 1y ago · link · parent

Nobody said you shouldn’t do any due diligence. But 1 sprint vs 2 months of review really smells like ‘processes over people’. ;)

comment 1y ago · link · parent

All true, but lets be honest: For the technical users searching a library, nothing beats having The Keyword being part of the name.

comment 2y ago · link · parent

Yes. Just like the Log4j issue root cause. Too powerful and abstract features to wield securely.

Or maybe if we keep intent out of it; features were added in a time when we all worried less about security and internet implications. I would like to say ‘in the security dark ages’ but we are probably still in that era. ;)

comment 2y ago · link · parent

This comment and all siblings fight over PHP vs Pyhton etc, but that just isn’t the bottleneck in most apps.

By far, for most apps, the biggest bottleneck is the database.

comment 2y ago · link · parent

To be specific about static analysis: Lots of tools catch this. Sure, making some checks native would be nice, but for instance PHPStan always catches this, and more.

Regardless of the ‘improve the language angle’: Is somebody isn’t running PHPStan (or Psalm, Sonar, etc), then they’re missing out.

PHPStan is currently so good that using it should be non-negiotable. So the question would then even be: “I’d like rule 123 of the tool to be native, we helps with the RFC?”

comment 2y ago · link · parent

You’re technically right but that doesn’t matter.

That you’re correctly using html forms won’t quickly lead to browser improvements.. so the result is that users will hate your forms. Users/your customer might possibly even think that you’re to blame, and not $browserVendor.

comment 2y ago · link · parent

> I think it's the autocomplete in particular that leaks a lot of private data.

That’s the beauty. The whole unified input can be presented as a UX simplicity gain, while this quote points at the actual business value. ;)

comment 2y ago · link · parent

And 2 problems jn the fix:

- It’s a specific symptom fix: The same problem could occur with $_COOKIE or $_REQUEST always being available

- The cleanup is not done in a finally{}, so random missing vars when an exception occurs.

Exec summary: Horrible code as always in WP.

comment 2y ago · link · parent

Thanks for the clear words. :)

But that still means both can go hand in hand! If user targeted ads and tracking is forbidden and a thing from the past, there’ll be less problems with having some proper statistical attribution.

Hint: I’m from the EU and love the intention behind GDPR.

12