297 karma · joined April 16, 2013
It's simple. Read backwards down the `develop` branch and read off the `feature/whatever` branches. Just because the graph isn't "pretty" doesn't mean it's useless.
In general, I'm starting to dislike "XXX considered harmful" articles. It seems to me like you can spout any opinion under a title of that format and generate lingering doubt, even if the article itself doesn't hold water. Not to generalize, of course--not all "XXX considered harmful" articles are harmful. They generally make at least some good points. I just think the title format feels kind of clickbaity at this point.
That said, kudos to the author for suggesting an alternative rather than just enumerating the shortcomings of GitFlow.
The whole point of the system is to railroad people into only voting for what really matters to them, by "saving up" their votes. I think this isn't a flaw but a feature.
I'd expect that there'd be a fairly large number of tokens so that quantization wouldn't come into play too much.
If you implemented this system using money to buy votes, then you'd end up... well probably with something like the inequality situation we have today.
Of course, this is only good about 80% of the time. Sometimes people just don't get it.
* Social Justice Bullies: Google Sued by Google
* Deleting the Teacher
* Show HN: Code
* Sorry grandma, That Way
Notice that when you scroll, the page value changes, and when you scroll back up, the browser re-fetches the content.
warning: this post contains sarcasm
- http://subwaytim.es - subway tracking service
- http://thankyouforriding.com - game for coders to optimize operation of a subway system. Thought of this during Boston's terrible public transit struggles this winter
- http://gitforgovernment.org - wanted to encourage city/state govts to put their legislation on GitHub and accept pull requests. THAT would have gone well
- http://enginomicon.com - planned to put my course notes from my mechanical engineering degree online; make a Wikipedia for all types of engineering
- http://everyref.com - created before I discovered devdocs.io and wanted to make a quick ref for coders. Right now you can search HTTP statuses, but the project is pretty much dead; I'm not sure if I even still have the code for it
- http://stupidprogrammertricks.com - place to put little projects and small demos. So far the only demo is a properly-installed nginx server :-P
- http://uwherever.com - wanted to create a place where people applying to college could organize their efforts, see when deadlines fell across colleges, publish their acceptance/rejection for other students to see, etc. As you can see I spent a lot of time picking a name for this
- http://spinner.graphics - planned to spend a quick weekend making a few AJAX loading animations and presenting it with ads, because who doesn't have at least one site that they're only doing for the money?
- http://beer-n-code.com - planned to make a public directory of bars with wifi suitable for meetups. So far only has a mesmerizing ASCII beer mug on it
Also links to http://impossiblehq.com/get-disciplined-not-motivated and http://thereallimegreenandloki.tumblr.com/post/101385465984/...
Consider that you have a large quantity of numbers that you want to get the min, max, mean for. If you write something like the following:
function minMaxMean(list) {
return list.reduce(function(lastState, n) {
var min = lastState.min,
max = lastState.max,
sum = lastState.sum,
count = lastState.count;
if(n < min) min = n;
if(n > max) max = n;
sum += n;
count += 1;
return {
min: min,
max: max,
sum: sum,
count: count
}
}, {min: Infinity, max: -Infinity, sum: 0, count: 0});
}
...then you're assuming that the reduce function will run once, over a single list of numbers, in order from left to right. However, if you implement it as the following: function minMaxMean(list) {
return list.map(function(n){
return {
min: n,
max: n,
sum: n,
count: 1
}
}).reduce(function(a, b) {
return {
min: (a.min < b.min ? a.min : b.min),
max: (a.max > b.max ? a.max : b.max),
sum: a.sum + b.sum,
count: a.count + b.count
}
});
}
...then you can distribute this out across multiple threads/machines/etc, update it when new data comes in, reduce in any order.https://www.youtube.com/watch?v=R6etb0_u_hk
Anyone else remember that game?
I came a little late to the party; wasn't really on Twitter a whole lot yesterday.