537 karma · joined January 11, 2013
I am sorry this came up sounding entitled: I don't expect Google policies to change on this subject, and since this is not business threatening to me I just decided to write something I thought would be snarky and hopefully amusing to read.
I wrote about it here: https://agateau.com/2012/qt-image-decoders-stepping-on-each-...
On the other hand, the king of the hill of VCS these days, git on GitHub, does not make it easy to have this kind of setup:
- it is not possible (as far as I know) to checkout a subdir of a git repository hosted on GitHub), which is annoying for deployment
- it becomes difficult to only follow the PRs your team is interested in, since you can't tell GitHub to only notify you of changes in the subdirs you are interested in.
What are your experiences on this? when you split a monolith into microservices, do you also split the VCS repository into as many repositories?
There are ways to do early returns in C without duplicating resource releasing code though, using gotos (it's one of the few cases where gotos make sense, IMHO). Code looks like this:
int aFunctionWhichMightFail() {
int result = FAIL;
Foo* foo = allocateSomething();
if (!someFunction(foo)) {
goto fail;
}
moreWork(foo);
result = SUCCESS;
fail:
releaseFoo(foo);
return result;
}
The Linux kernel makes heavy use of this.I contributed a few minor fixes and got an email from David asking for permission to re-license.
To simplify the initial setup, I created a handy shell script, reposetup [1]. It makes to create repositories, push to them and remind me their urls.
1. Many computer-illiterate users always click to switch from one input to another, so clicking on a select does not make them much slower
2. Many users are not aware that the text part of a radio button is actually clickable and will loose time precisely aiming at the round circle to select it. And they are unfortunately often right to aim at the circle because of the many loosely design pages which do not make the text part of a radio button clickable.
I would be frightened to trust the data coming from a random car in front of me. Inferring road condition from another car behavior sounds reasonable, using data supplied from it, not so much.
Had KHTML been licensed under a BSD or MIT license, the browser world could potentially be very different from what it currently is.