News for hackers. Stuff that matters.
Re:You Don't Need UUID by hot_gril on Monday September 11, 2023 @01:22PM (#37470460)
It matters aesthetically. A huge site like AWS might care about that, otherwise it's not a real priority.
Re:You Don't Need UUID by eternityforest on Monday September 11, 2023 @01:25PM (#37470513)
It somewhat matters aesthetically, but mostly people are going to ignore long random strings.

UUIDs are at least visually kind of white noise, companies have no problem+with+links?that=look&like=this, so why do they care about UUIDs?

Re:You Don't Need UUID by hot_gril on Monday September 11, 2023 @01:33PM (#37470638)
Cause some links are more likely to be shared, meaning they'll appear in a comment or SMS rather than just in your URL bar. Like if I copy a link from YouTube: https://www.youtube.com/watch?v=00Uw9kgZ4QM
Re:You Don't Need UUID by bandergirl on Monday September 11, 2023 @01:33PM (#37470633)
apple.com/iphone

You can't beat that. Or would you rather receive texts that include the following?

    https://www.amazon.com/dp/B09V3HZ8B5/?pd_rd_w=DAycy&content-id=amzn1.sym.04e31e32-5e01-4048-8b59-a557891d595f:amzn1.sym.04e31e32-5e01-4048-8b59-a557891d595f&pf_rd_p=04e31e32-5e01-4048-8b59-a557891d595f&pf_rd_r=M1KXM468KNZJV189JBE7&pd_rd_wg=3O1uC&pd_rd_r=e51c1edc-213f-4c6d-b081-e23afa6bf4ab&ref_=vn_s_iwp&qid=1694453553

> companies have no problem+with+links?that=look&like=this

Let's not match the lowest common denominator, shall we?

Re:You Don't Need UUID by blowski on Monday September 11, 2023 @01:40PM (#37470746)
[delayed]
Re:You Don't Need UUID by 5e92cb50239222b on Monday September 11, 2023 @01:35PM (#37470666)
You only really need this part:

https://amazon.com/dp/B09V3HZ8B5

Re:You Don't Need UUID by bandergirl on Monday September 11, 2023 @02:00PM (#37471037)
Yes but that's irrelevant, I used a real URL that you will receive in your texts. It's real life, it happens and it sucks. Let's not normalize it.
Re:You Don't Need UUID by traceroute66 on Monday September 11, 2023 @02:20PM (#37471351)
No. It's not irrelevant.

As you have been told apple.com/iphone = www.amazon.com/dp/B09V3HZ8B5

The rest of what you posted on the Amazon link is tracking bullshit. Now, THAT is irrelevant !

Re:You Don't Need UUID by hot_gril on Monday September 11, 2023 @03:59PM (#37472806)
Users aren't expected to manipulate URLs by hand. I go to Amazon and search a product. I want to share it with a friend, so I copy the URL. I don't bother figuring out the strictly necessary piece through trial and error and stripping out the rest, especially on a phone.

So the message to my friend says: https: //www.amazon.com/Hydro-Flask-Around-Tumbler-Trillium/dp/B0C34XR1LQ/?_encoding=UTF8&ref_=af_gw_DCC_hydro&pd_rd_w=aSsYb&content-id=amzn1.sym.0936cc94-1410-4d65-a169-26f5b2e3f58d&pf_rd_p=0936cc94-1410-4d65-a169-26f5b2e3f58d&pf_rd_r=KEW8KYVYZR1667D2K24C&pd_rd_wg=XO3RL&pd_rd_r=ece2c975-ab9c-4515-93db-ba40fe9624a1

Maybe Amazon doesn't care so much because sharing isn't super frequent. YouTube and Twitter have much shorter URLs.

Re:You Don't Need UUID by eternityforest on Monday September 11, 2023 @06:25PM (#37474534)
I wonder if this is something Unicode could address. You could have something like quote marks that mean "Anything between these is data that shouldn't be seen in digital media but should be printed"

So you could have urls like:

example.com?<a single icon>&productname=somethinghumanreadable

Re:You Don't Need UUID by hot_gril on Monday September 11, 2023 @06:53PM (#37474782)
The browser would also have to understand not to copy that part by default. But HTTP disallows unicode chars in URLs. There could instead be some "sharable URL" web API, but it seems like a small enough problem that sites are content just providing a custom share button if needed.
Re:You Don't Need UUID by insanitybit on Monday September 11, 2023 @01:46PM (#37470825)
Apple doesn't need to create pages for millions of arbitrary items for sale.
Re:You Don't Need UUID by bandergirl on Monday September 11, 2023 @01:59PM (#37471029)
The point is that you can always always always do better than a 100-character URL.
Re:You Don't Need UUID by skybrian on Monday September 11, 2023 @01:30PM (#37470586)
Some of us will strip off the crud to get the base URL, to avoid being tracked.