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
it worked quite well so far
HN user
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
it worked quite well so far
"This memo provides information for the Internet community. It does not specify an Internet standard of any kind."
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.
I tried something similar with a fixed alphabet that guarantees no profanity and a checksum (luhn)
you might want to consider an alternative with a base32 encoding with a luhn checksum
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 ;)
Hi,
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.
base 10 is not the best representation here.
feedback welcome!
"I have spent my own personal money to pay for the curl server and I've spent my own (spare) time on its maintanence now for over twenty years"
So some of the hosting is paid by him directly
If you live in Europe, you might want to sign the European citizen initiative banning biometrics
Reclaimyourface.eu
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
I'd argue that you have other countries that have a better functioning direct democracy (Switzerland has lots of initiatives each year)
Isn't the main problem in ça that there are few limitations on how much can be spent to promote and initiative and essentially buy the result?
And this seems to impact the quality of representative democracy too...
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 ;)
Really nice!
"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?
Please don't drag the rest of the world in it,
this student loan construction is certainly the current state of the USA
We are working on a petition tool (more broadly an online action tool, think emailing or calling your representatives before a vote)
Https://proca.foundation
It's as well a pretext to learn react, graphql and elixir, all opensource, feel free to join and contribute ;)
Github.com/TechToThePeople/proca
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.
X+
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 doesn't matter, each of them would do, no matter how niche if you can become really good at it.
...but if you can learn only 1 programming language, you won't.
Wwhat makes you say the guardian is UK-specific?
they had two domain names that they seem to put together under a single one. That seems to be a logical move.
http://www.theguardian.com/gnm-press-office/guardian-us-grow...
The latest big news was about Snowden, hardly qualifies as a uk news ;)
Not to be pedantic, but I suppose you mean license as "you have to pay to use it". Both Apache and nginx have a (free software) licence.
In quite a few languages, you need to know the gender to write personalised emails, eg. Cher Joe vs. Chère Jane.
Fell, isn't using a pseudonym something FB allows? "Facebook users provide their real names and information, and we need your help to keep it that way"
Read their term http://www.facebook.com/legal/terms they are things like "transferable, sub-licensable, royalty-free, worldwide license to use any IP content that you post on or in connection with Facebook"
As Stallman pointed out in the interview, the scale of the monitoring is on a different level of what you can do manually. No matter how hard you try, you will not know what websites pessimizer has visited, FB got a list of his/her visits on any site that contains a like button (doesn't matter if he/she uses FB).
Beside the scale of information disclosed, that's how it can be used or not. I'm pretty sure I can decide what products are endorsed on my blog, not so much on FB, and if we visit pessimizer site, no one will now. On FB, they could use this information to know pessimizer better. Guilty by association ;)
Two major issues: http://skype-open-source.blogspot.com/2011/06/skype-under-rc... || Copyright (c) 2004-2009 by VEST Corporation. || All rights reserved. Strictly Confidential! The project is using existing code, and "All rights reserved" is not an approved OSI license I believe ;)
And things like compression algorithm are patented, and that's very likely skype is using some of it. Reminds me of a project by Intel of providing an implementation of g729 (a voice codec). The source was available, but it was "non commercial usage only" because of the patents mostly.
An interesting project, but doubt we'll see any usable implementation anytime soon IMO. And even if it does, skype will probably alter a bit the protocol to make it fail if it reaches a critical mass.
HI,
You can't patent something that has prior art (and if the patent office doesn't see it, it will invalidate the patent it has wrongly granted). Not sure I understood your point.
I hope that avc, ycombinator, Andreessen Horowitz and a lot of known VC and business angels introduce a new simple rule on their agreement:
To get funded, a company must not try to obtain software patent, and if they do have software patent(s), they will publicly say they will not try to license them and will not sue for infringement of one of their patent.
Beside clearing up the landscape, it will send a clear message, hopefully that is going to be heard by politicians and media: software patent doesn't help innovation, quite the opposite, the guys that fund innovation refuse to give money to companies (ab)using software patent.
Moreover, as VCs seem to be able to work on templates for the paperwork to lower the cost of the creation and founding of a start-up, couldn't they work on standard responses to lower the cost of defending against a patent troll as well ?
Didn't mean to imply it was, but in the US, it seems to be more permissive (ie. no matter how stupid and outrageous, you can say it) than in France. That's a general attitude about what is "allowed" to be said in the public sphere (a bit of a generalisation, but mostly confirmed on my biased sample of people I know on both countries).
eg. when Chomsky said that Faurisson had the right to write whatever crap he wanted (ie. pro freedom of speech), it was widely understood in France as a support of Faurisson's theories (Haulocaust denial)
http://en.wikipedia.org/wiki/Faurisson_affair
Which is rather ironic in a country where Voltaire is said to have written "I disapprove of what you say, but I will defend to the death your right to say it".
Albeit spending most of my time speaking/thinking English, I'd have to confirm that French is my mother tongue. Well, swiss French, but close enough ;)
And I meant to write about the current president indeed.