kip

kip

ex_cldr Core Team

Would you find localised collation useful in the ex_cldr_* family of libraries?

I’m nearly the next milestone on the ex_cldr_* family of libraries (just need to finish up ex_cldr_dates_times to version 2.x).

I’d like feedback as to whether or not localised collation (sorting in a localised way) would be useful for the community.

Like everything in localisation, is seems straight forward until you start reading the specifications like TR35 and my “lets do this to learn elixir for a couple of weeks” has turned into much more.

Collation is its own special thing and TR10 is another fun spec to decode. But I’m up for the challenge if there is interest.

Oh, and ex_cldr passed 100,000 downloads this week. Well beyond any expectation I had so I hope that means somebody is finding it useful.

Most Liked

kip

kip

ex_cldr Core Team

Just go for it is my usual strategy :slight_smile: Thanks for the encouragement. I’ve elected to go ahead basing the implementation of the NIF-based erlang-ucol library. I’ve pushed a 0.10 of an Elixir interface version to hex.

Next up is the work to be able to do locale-sensitive collation. This is my first foray into NIF-land so its going to take a little longer that usual I expect. It will mean that a language tag like de-u-co-phonebk will directly interpreted to mean the phonebk ordering for German.

It will support all of the various options in the u extension in BCP 47 and therefore be a quite feature complete and being a NIF, reasonable performance (locale-sensitive collation is computationally quite heavy).

Where Next?

Popular in Discussions Top

vans163
So useless benchmarks aside, Its possible to write a webserver that can serve 300k requests per second (perhaps more with optimizations)....
New
Donovan
Hello everyone, I’m so glad to have discovered this awesome community. Thanks for creating it! This is my second post, and apologies for...
New
Ankhers
Just a little information upfront. Generally speaking, if I feel like I need to either break a pipe chain or use an anonymous function in...
New
AlexMcConnell
The reason that Rails is as popular as it is is because it’s very easy for relatively inexperienced developers to get a lot of work done....
588 19652 166
New
AstonJ
Are there any Elixir or Erlang libraries that help with this? I’ve been thinking how streaming services like twitch have exploded recentl...
New
Crowdhailer
I’ve been hearing much about the new formatter and it’s something I have been keen to try. I find examples buy far the most illuminating...
248 19327 150
New
CharlesO
Erlang :list.nth simple, but 1 - based nth(1, [H|_]) -> H; nth(N, [_|T]) when N > 1 -> nth(N - 1, T). Elixir Enum.at … coo...
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New
griffinbyatt
Sobelow Sobelow is a security-focused static analysis tool for the Phoenix framework. For security researchers, it is a useful tool for g...
New
sashaafm
Piggy backing a bit on @dvcrn topic BEAM optimization for functions with static return type?, I’ve been trying to understand in a deeper ...
New

Other popular topics Top

danschultzer
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch. This project took far...
548 29603 241
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New
nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
PeterCarter
There are pre-rolled solutions for other frameworks that do work. However, Phoenix does not seem to have these. Have people had good expe...
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New

We're in Beta

About us Mission Statement