848 reputation
49
bio website daniel.lubarov.com
location Burlingame, CA
age 24
visits member for 3 years, 7 months
seen Nov 25 at 0:50

Oct
21
comment Parameterized tests - When and why do you use them?
We (Square) wrote Burst to address some of these issues with Parameterized. It generally adds less boilerplate, and makes it pretty clear where a test failed.
Oct
12
answered 2D Game Data Structure in OpenGL ES 2.0
Oct
5
comment Is there any “real” reason multiple inheritance is hated?
@Asmageddon agreed, my examples involve functionality only. What do you see as the advantages of mixins? At least in Scala, traits are essentially just abstract classes which permit MI - they can still be used for identity and still bring about the diamond problem. Are there other languages where mixins have more interesting differences?
Aug
19
revised Implementation of instance testing in Java, C++, C#
added 11 characters in body
Aug
18
comment Implementation of instance testing in Java, C++, C#
I added a bit of info on C++, though it's still an incomplete answer; I'll expand it more later.
Aug
18
revised Implementation of instance testing in Java, C++, C#
added 344 characters in body
Aug
18
revised Implementation of instance testing in Java, C++, C#
deleted 3 characters in body
Aug
18
revised Implementation of instance testing in Java, C++, C#
added 10 characters in body
Aug
18
revised Implementation of instance testing in Java, C++, C#
added 10 characters in body
Aug
18
revised Implementation of instance testing in Java, C++, C#
added 112 characters in body
Aug
18
revised Implementation of instance testing in Java, C++, C#
added 112 characters in body
Aug
18
answered Implementation of instance testing in Java, C++, C#
May
6
revised What is the difference between APIs, Libraries, Runtime systems, and frameworks?
deleted 83 characters in body
Apr
19
awarded  Yearling
Apr
5
comment Correct way to undo the past few git commits including a merge?
By the way since you altered master's history, I think your teammates will get errors when they git pull. They could do git fetch; git reset --hard origin/master to overwrite their master branch with your new one, or just delete their local repos and do a fresh clone.
Apr
5
comment Correct way to undo the past few git commits including a merge?
What's interesting about git is you have your own local master branch which can diverge from the remote git server's master. When you run git reset --hard [SHA] your local master branch will point to that SHA. When you force push master the remote server's master branch will point to that SHA too.
Apr
4
comment Correct way to undo the past few git commits including a merge?
In some cases you can avoid conflicts by reverting the most recent change first, then the next most recent, etc. But if there are good commits mixed in with bad commits and they touch the same files, there may be "real" conflicts that you need to resolve manually.
Apr
4
comment Correct way to undo the past few git commits including a merge?
If you find it easier to pick a commit to go back to, but also want the safer option, you could do git reset --soft [good SHA], git commit and git push. That would push a new change that reverts everything after the good SHA.
Apr
4
comment Correct way to undo the past few git commits including a merge?
Were the other commits part of the merge or separate? If separate then yes, you'd need to git revert [SHA] each one.
Apr
4
revised Correct way to undo the past few git commits including a merge?
added 223 characters in body