If you're ever looking to replace Guids or int identity columns for your entities' Ids, this might be worth looking at. I have a new project up on GitHub, with a corresponding NuGet package, that creates part-timestamp / part server-hash / part-random Ids in Base36. They're configurable in length, but somewhere from 16-25 characters is best. Ids are ascending but not sequential, like this (generated one after the other):
If you're interested, the GitHub project is linked below, and the NuGet package is at https://www.nuget.org/packages/Funcular.IdGenerators/. Questions are welcome. Thanks!
#DotNet #Base36 #csharp #random
And remember that if you have some means of resolving collisions, then you're still okay. I'm not worried about a uniqueness guarantee in your version. I mentioned check bits (parity, Reed-Solomon, 8-bit CRC, that kind of thing) so that there's a mechanism you can use to determine if a visually-copied ID is even valid. For example, on most credit cards, the 16th digit is a function of the first 15.
Anyway, there's no problem keeping Q so long as it won't be mistaken for 0, or you could replace it with a symbol such as %.
- You enjoy engaging with subjects like politics, startups and entrepreneurship, tech, venture capital, Silicon Valley, #bacon, economics, India pale ale, Audis, attempts at humor, and the obligatory smattering of pop culture & memes
- You can interact pleasantly with people even when you know they are horribly wrong, utterly uninformed, and massively misguided
- Your contribute more than you detract from the conversations you participate in
- You are +Audi USA
- I can't tell what you're about at a quick glance (I'll usually notice and circle if you interact with me on posts & comments though)
- You diss Audis
- You don't know the difference between dialogue, debate, argument and antagonism
- You're mainly just here to pimp something
Getting That New Tool Past The Gate Keeper - DaedTech
Every software group has a gatekeeper, explicit or implicit, that has to approve tool purchases and methodology adoptions. How to get past t
Agile for Introverts: Re-Imagined Programmer Collaboration - DaedTech
I'd like to take a look at agile software development methodologies and ask: what would it look liked if we re-imagined agile for introverts
Google Chrome window overlays (covers) all other windows+Taskbar in Win8...
Google Chrome window overlays (covers) all other windows+Taskbar in Win8.1 OS, Alex Hangartner, 10/31/13 7:12 AM. Chrome Version (type about
Christians in Pakistan sentenced to death over a text - Telegraph
Couple convicted of blasphemy in case their lawyer claims was motivated by a personal grudge
'Rocket Cat' Warfare Found in 16th-Century Manual : DNews
A shocking war manual describes putting timed explosives onto birds and cats in order to 'set fire to a castle or city which you can't get a
Students suffer ObamaCare sticker shock as premiums soar, plans get cut
While millions of Americans are watching their individual polices canceled due to ObamaCare regulations, the new health care rules are also
Obama denies ‘you can keep it’ videotaped promises
President Barack Obama told his enthusiastic supporters Monday night that he never promised what video recordings show him promising at leas
Edie Littlefield Sundby: I Am One of ObamaCare's Losers. I had great can...
In The Wall Street Journal, Edie Littlefield Sundby writes that she had great cancer doctors and health insurance before her plan was cancel
This Is Now Your Applesauce, Do Not Try To Deny Its Wishes
You're saying: "Chuck, I don't need a recipe for applesauce. I just throw a bunch of apples into the mouth of an angry dog and let him chew
What a Small Moment in the Obamacare Debate Says About Ideological Media
Does the legislation put the privacy of Americans at risk? More than progressives acknowledge—in part because of ham-handed conservative cri
Wesley J. Smith - 500,000 Californians Lose Health Policies
My wife, the syndicated San Francisco Chronicle columnist Debra J. Saunders, has learned that at least 500,000 Californians may lose their h
Dummy data file on Healthcare.gov offers Star Wars, Transformers charact...
Networks blamed shutdown on GOP in 41 stories --- 0 for Dems | Washingto...
Republicans never expected to get a fair shake in the Big Three networks' coverage of the 16-day government shutdown, but the final tally of