we encoded the id with a base that removes most vowels (to avoid generating words, potentially offensive ones, and added a checksum to prevent copy paste mistakes
We need to separate the storage format (Postgres and MySQL both have a bigint serial for primary key and it should stay that way)
for display, you have various ways to encode that number into something easier for humans, what I prefer:
- short word
- no offensive words
- with a checksum (so we easily spot any copy paste mistake)
- not sequential
- can be put in a url without extra encoding
this is our implementation of that (base32 and luhn code)
OP is protesting against Amazon providing infrastructure for selecting targets for the IDF to bomb. I'm not aware of Amazon providing services to Hamas, so that the OP is not protesting there isn't that surprising, nor does it imply that OP isn't protesting against Hamas attack.
thanks for the feedback, you're right, the "url safe" isn't the main focus (well, shouldn't, it's just that it's the last issue I had ;)
For further context, we are working on online campaigns (petitions, sending emails to elected representative...) and everything has either ids (numbers) that we generate (a campaign, a action, a supporter...) or given externally (eg. the elected representatives or vote reference).
Most of these ids are in the 1k to 100k range, that happen to often be the same range as the number of actions taken or emails sent) and mixing these KPIs and ids on the same lists happen to be confusing for users.
It might be that we shouldn't try to put these ids in lists and summaries, but they are super convenient there sometimes and unavoidable when exporting to excel, so dxid was my solution to work around our potentially poor ux design ;)
It's solving a tiny problem that annoyed me for many years: find a way to have unique keys for entities that don't have an obvious one without displaying their primary key as a number.
A patent is granted to something new, here the goal was to show that the patent is void, because it was already existing before the patent was (wrongly) granted. It doesn't matter if it was invented less or more than 20 years ago, or even that the original invention was patented.
You are comparing relatively empty trains with hypothetically 100% full planes
It's the same with the wsj, they are comparing a 100% occupancy rate of the plane with a 20% for the car (a single passenger)
Assuming the consumption of a train doesn't change much based on how many passengers, you can travel by train for carbon free, as the 56 mpg won't change if you are in the train or not
Of course trains should be electrified, but take the train today already, the higher the occupancy rate, the better the averaged mpg will be
And who knows, it might change how the fret trains seems to always have the priority over passengers ones and finally make it a pleasant experience
We built our online campaigning tool with a graphql phoenix backend
For our use case (burst of visitors staying for a minute) it served us well and we were quickly productive with it.
I ran/coded similar petition tools in rails and php, the concurrency level you achieve with elixir is an order of magnitude higher (or we became better ;)
"After completing our curriculum, you will gain access to our internal code repository that powers c0d3.com"
Out of curiosity, why aren't you opensourcing the code? That would make it easier for your students to showcase their contributions and how they communicate.
My personal experience when I was a gsoc admin was that it was hard to get the students stick around after the end of the summer, do you manage and have some tips to share?
1) No you can't gerneralise. Immigrants from France and Germany in CH are less criminal (well, technically less arrested ;) than swiss citizen.
2) CH immigration has always been selective, like most countries. The difference was that a few years ago citizen from "rich" eu countries could come without extra barrier. That's what has been voted to be changed.
As for the unified culture,I'm swiss and I lived both in CH and other countries in Europe. We have a lot in common within the country, but at least as much that is different. And language is one huge part of a culture, because it frames how you think and defines what books or movies you can access too.
I'm not sure you have enough facts to support your arguments
1) most probably if you take into account other factors (social economics ones), the nationality it's not a major one
2) as you said, the wealth created by migrants can be a net positive effect
3) many immigrants (85%) come from EU
4) almost none "ethnic ghettos" in CH
5) agree it's different. CH has about a 1/3 of its population that are migrants and they are generally welcomed and integrated (the regions that got most migrants rejected the initiative).
Beside, there isn't a unified "swiss culture". If you simply look at the languages, they are 3 different ones.
it worked quite well so far
https://dxid.tttp.eu/