News for hackers. Stuff that matters.
Re:Don't just shorten your URL, make it suspicious and frigh... by mewpmewp2 on Tuesday June 15, 2021 @10:07PM (#27524103)
Yes, because urls are part of UX and should be as readable and meaningful as possible. It is not just about SEO.
Re:Don't just shorten your URL, make it suspicious and frigh... by dcow on Tuesday June 15, 2021 @11:20PM (#27524527)
What if my resource is indexed by GUID and I want to build a REST API?
Re:Don't just shorten your URL, make it suspicious and frigh... by mewpmewp2 on Wednesday June 16, 2021 @05:13AM (#27526484)
For REST APIs standard would be /resources?query=something&offset=50&limit=50 etc for list of resources. And single resource. /resources/:resourceId, so a bit different for APIs as opposed to user facing urls.

While for a single resource when user facing it would be /resource/human-readable-resource-slug.

Re:Don't just shorten your URL, make it suspicious and frigh... by MaxBarraclough on Wednesday June 16, 2021 @04:02AM (#27526058)
That wouldn't force you to use query strings.

I agree it's not always a mistake for a URL to contain an ID value of some sort. How else would online shops assign a URL to each product they offer?

Re:Don't just shorten your URL, make it suspicious and frigh... by dylan604 on Tuesday June 15, 2021 @11:31PM (#27524580)
The trend in browsers is to not display the URL, so who cares what it looks like? Mobile hides the address bar as soon as possible to regain the real estate. A certain desktop browser also received a lot of flack about only displaying the domain name rather than the path/query.

Also, if these are the same UX rules that have brought us worthless cookie screens, I'm not sure I'd put stock in their opinions, but that just me joey not-a-frontend-guy-just-a-user beercan.

Re:Don't just shorten your URL, make it suspicious and frigh... by dspillett on Wednesday June 16, 2021 @01:55AM (#27525341)
The requirement to notify and give an opt out option regarding cookies is intended as a privacy improvement.

Most cookie screens are deliberately designed as bad UX to make it very difficult to properly opt out and very easy to accidentally and permanently opt-in.

Re:Don't just shorten your URL, make it suspicious and frigh... by sharken on Wednesday June 16, 2021 @02:01AM (#27525367)
Also when visiting a new site, the last thing on my mind is the cookie popup.

Here the main goal is to get rid of it fast, which more often than not leads to accepting all cookies the site offers. And bad cookie UX ensures that.

I would actually prefer to never see a cookie popup and then deal with privacy another way, if that was an option.

Re:Don't just shorten your URL, make it suspicious and frigh... by dspillett on Wednesday June 16, 2021 @12:20PM (#27530266)
> Here the main goal is to get rid of it fast, which more often than not leads to accepting all cookies the site offers.

My fast route out is to close the tab. Same for auto-playing audio, distracting animations/video, and other irritations.

So far I don't think I've missed out on anything of significance that way. There are some sites that are useful enough for me to have spent time clicking tens of things, beyond that it turns out that I can live quite happily without the others.

Re:Don't just shorten your URL, make it suspicious and frigh... by horstmeyer on Wednesday June 16, 2021 @03:29AM (#27525860)
There is a Firefox plugin for that. Not on the computer will look up the name later.
Re:Don't just shorten your URL, make it suspicious and frigh... by MaxBarraclough on Wednesday June 16, 2021 @04:04AM (#27526077)
> Most cookie screens are deliberately designed as bad UX to make it very difficult to properly opt out and very easy to accidentally and permanently opt-in.

This is true, but if I recall correctly it's plainly against the law for them to do this. Websites continue to do it because they're fully aware that enforcement is laughable.

Re:Don't just shorten your URL, make it suspicious and frigh... by dspillett on Wednesday June 16, 2021 @12:15PM (#27530208)
> but if I recall correctly it's plainly against the law for them to do this.

Yes, though technically no. IIRC it is against the letter of the law to make it harder to opt out than to opt in. So this behaviour would be fine if it was at least as painful to opt in.

> Websites continue to do it because they're fully aware that enforcement is laughable.

Pretty much.

Re:Don't just shorten your URL, make it suspicious and frigh... by eCa on Wednesday June 16, 2021 @03:25AM (#27525831)
Well, as someone who has cared about what urls look like[1] since the 90’s, I will rejoice the day I see the last cookie dialog (unless it also is my final day).

[1] It’s a way of communicating with the user. And yes, I often edit the address bar on my phone.

Re:Don't just shorten your URL, make it suspicious and frigh... by kadoban on Wednesday June 16, 2021 @12:10AM (#27524821)
You're under the impression that cookie screens were intended as a UX improvement?