5 ms·
LinkedIn URLs are by far the worst. For example, the first profile that came up when I searched for Paul Graham: http://www.linkedin.com/profile/view?id=230815
by masnick 13y ago
LinkedIn URLs are by far the worst. For example, the first profile that came up when I searched for Paul Graham:
http://www.linkedin.com/profile/view?id=23081590&authType=NAME_SEARCH&authToken=v2DV&locale=en_US&srchid=b2875520-dc20-4e1a-a17b-17460da676f9-0&srchindex=1&srchtotal=3061&goback=%2Efps_PBCK_Paul+graham+_*1_*1_*1_*1_*1_*1_*2_*1_Y_*1_*1_*1_false_1_R_*1_*51_*1_*51_true_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2&pvs=ps&trk=pp_profile_name_link&_mSplash=1 http://www.linkedin.com/profile/view?id=23081590&authTyp...
- joosters 13y agoYes, all those *2s could easily have been optimised into a left shift operator.
- masnick 13y agoOh so the *2s have some sort of meaning beyond random URL garbage? Please explain! I've always been curious.
- aerique 13y agoNo, I think it is just a joke: if you parse "*2" as "times two" you could optimize it in code by shifting the bits left since bit shifting operations are cheaper than multiplication. #b0001 = 1 #b0010 = 2 #b0100 = 4 #b1000 = 8
- Peroni 13y agoSome poor PI is going to freak out when he checks his 'recently viewed your profile' stats.
- deleted 13y ago[deleted]
- viame 13y agoI was just going to say that! Before I saw this post I was on LinkedIn looking for something, and you simply cannot miss when something like this shows in your address bar: ...gid=3396514&goback=%2Enpv_152562310_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_1_*1&trk=NUS_JGRP-grp-nm
- raverbashing 13y agoYou can have a public URL for linkedin in the format /in/CustomName E.g.:www.linkedin.com/in/barackobama
- 3825 13y agoApparently he is a 3rd connection. o.O
- smackfu 13y agoToo bad that seems like only an external reference method, and the site never uses those URLs internally.
- masnick 13y agoYeah, I want to know what they're doing internally with these insane URLs. It's just ugly -- poor craftsmanship IMHO.
- mseebach 13y agoYeah, nothing screams good craftsmanship like armchair-quarterbacking someone else's work that clearly works well. FWIW, it seems to be some sort of encoded state, essentially HATEOS.
- smackfu 13y agoWorks well? "Oh you want the URL of your LinkedIn Profile? Don't use the URL in the address bar, silly! Use this other URL we are providing randomly down the page."
- mseebach 13y agoI was referring to the URL-scheme of the LinkedIn app in general, not just the profile page - I somehow missed that this subthread was only about the profile page. Yes, I agree they dropped the ball completely on that. Especially tragic as they could fix the 80% case with a front-end one-liner (window.history.replaceState).