Comment on: GitHub's new far-left code of conduct explicitly says "we will not act on reverse racism' or 'reverse sexism'"
2 04 Aug 2015 01:42 u/seiyria in v/programmingComment on: GitHub's new far-left code of conduct explicitly says "we will not act on reverse racism' or 'reverse sexism'"
This is not globally applicable across all GitHub projects, only ones that use this CoC. You are not required to use one and if you disagree with it, do not use it.
Comment on: Where should I migrate my projects to (from Github)?
A code of conduct is not inherently evil; it's ridiculous to dismiss something based solely upon that. If you don't like it, at least with GitLab, just make all of your code private.
If you have something public, eventually people will find it.
Comment on: Where should I migrate my projects to (from Github)?
It doesn't need to be abandoned; there's no need to be so rash. This is something that happens so rarely, it can pretty much be ignored (unless you're part of the project). In most cases, I would just block them from the repository; there's simply no need to bring that kind of bullshit into a project.
Comment on: Where should I migrate my projects to (from Github)?
Two things:
- If you don't like these things, just stay away from them. If someone does it to your repository, block them. Don't give them the time of day to troll you.
- What happened with GitLab? GitLab is great, and if I couldn't use GitHub, that would be my #1 choice.
Comment on: Why this sub sucked on Reddit and how to make it not suck here
Honestly, it'd be better to have a network of development subverses. I don't want to talk about specific web development techniques in a general computing forum; there should be /v/webdev or something.
Comment on: Just a very small reason why I loath and embrace JavaScript.
Basically, that's how I felt too, but I wouldn't blame you for shrugging it off...
Comment on: Just a very small reason why I loath and embrace JavaScript.
It actually is object oriented (what do jQuery or node.js have to do with this?). It sounds like you have a message for @Atko, in which case, you might want to just message him.
Comment on: I'm looking for a way to sample lists of probabilities.
No problem. Sorry I couldn't be more helpful.
Comment on: I'm looking for a way to sample lists of probabilities.
I did this in CoffeeScript. Let me explain the algorithm:
- gather all of your probability objects
- sort them in ascending order
- sum your probabilities
- create a sum sequence of your probabilities
- choose an int in the range [smallest..sum]
- choose the first probability larger than your int chosen above
note, this assumes positive probabilities (but really, who uses negative probabilities)
a sample run could be below:
- [10, 100, 500, 800, 1000] (sorted)
- sum: 2410
- [10, 110, 610, 1410, 2410] (sequenced)
- chosen: 705
- [10, 110, 610, 1410, 2410] (ignore anything <705)
- result: 1410 (choose first result)
Let me know how this works out, or if you have questions.
Comment on: The JavaScript Framework That Might Save HTML5
I think this implies HTML5 or JS is in any particular danger... which it really isn't.
Comment on: RSS Reader for Developers
Interesting. I'm going to try it out. Thanks for the link!
Yes, they're going to employ it and they encourage people to follow them, but there is no obligation nor necessity to do so.