5 ms·
> Weird album names: > † from Justice > from David Bowie > ' from Frank Zappa > () from Sigur Rós How are these albums names "edge cases"? I feel like ANY
by thrdbndndn 5y ago
> Weird album names:
> † from Justice
> from David Bowie
> ' from Frank Zappa
> () from Sigur Rós
How are these albums names "edge cases"? I feel like ANY software would deal with them just fine. Hell, the last two don't even use non-ascii characters (though you definitely should have unicode support regardless).
Edit: I just realize HN won't the star symbol (U+2605). Which is weird since it does support characters like Chinese/Japanese glyphs あいうえお你好
- Beltalowda 5y agoThere are actually some challenges with stuff like that; how do you sort "'" for example? Most people call the album "Apostrophe"; should it be sorted under "A"? What about the "†"? "D" for dagger? Somewhere else? How do you find things like that in the search box? Should searching for "star" return that Bowie album? > Edit: I just realize HN can't display [star] It doesn't do emojis and various graphic characters. This is supposedly a "feature" shrug-emoji-here
- deleted 5y ago[deleted]
- Freak_NL 5y agoSorting is usually solved by allowing for optional separate sorting-key tags. So ' : album=' albumsort=Apostrophe These can act as search input as well, so searching for 'apostrophe' could yield it depending on the software used. † can either just sort wherever Unicode puts it, or if the album has a known pronunciation like 'star' above, have a sorting key too.
- rzzzt 5y agoWikipedia lists it as "Cross": https://en.wikipedia.org/wiki/Cross_(Justice_album) https://en.wikipedia.org/wiki/Cross_(Justice_album)
- Beltalowda 5y ago> † can either just sort wherever Unicode puts it, or if the album has a known pronunciation like 'star' above, have a sorting key too. Sure, but it doesn't happen automatically, so it's not "just do [..]". You need to think about some of these edge cases. I wrote a simple music library/player a bunch of years ago and ran in to some of these issues. I never did figure out how to deal with the band named "" in a sane way.
- thrdbndndn 5y agoYou can "just do" the default string sorting. The system (or programming language you're using, etc.) always have a way to sort them by default. And it doesn't have to be in A to Z. It could be (and IMO, should be) in "special" which such initial-index catalog typically already have.
- kzrdude 5y agoThe aversion to emojis is strange. I've come around to thinking of them as a net positive. Just text is sterile and the tone often comes off wrong! Smiles lighten up conversation, we need that to not lose track of each other's humanity when arguing in comment threads. :)
- deleted 5y ago[deleted]
- deleted 5y ago[deleted]
- kingcharles 5y agoHN strips emojis. I can't even paste my web site domain on here.
- kingcharles 5y agoThis is more of an edge case: https://cdn.shopify.com/s/files/1/0022/8193/0805/products/image00010_36383b5a-050b-44ea-aed5-fad1fbb78836_800x.jpg?v=1596134970 https://cdn.shopify.com/s/files/1/0022/8193/0805/products/im... When music downloads were first starting up in the late 90s I was responsible for building a schema to store all the world's music. We had to rip millions of CDs. When I got that Aphex Twin one above I gave up. I think we just called it [Track 2] or [Maths symbols] or something.