penartur

Moscow, Russia

Jun
2
awarded Popular Question
Jun
1
awarded Good Answer
May
10
accepted How to get merge commit SHA for merged pull request?
Mar
3
comment Why are GroupCollection and MatchCollection non-generic?
@AnthonyPegram, so making List<T> implement IReadonlyCollection<T>, or making T[] implement IEnumerable<T> counts as breaking change?
Feb
15
awarded Yearling
Feb
15
awarded Yearling
Feb
3
awarded Scholar
Feb
3
accepted Is there a way to make Caps Lock switch keyboard layouts on Windows 8?
Feb
3
answered Is there a way to make Caps Lock switch keyboard layouts on Windows 8?
Jan
13
comment Jade nodejs "no tag prefix"
@MrMowgli what's the problem with applying my answer in your case? Alternatively, if you find it ugly, you may use markdown in Jade.
Oct
30
comment How to get merge commit SHA for merged pull request?
This actually allows one to get a merge commit number; it is enough to fetch all events for the issue (e.g. api.github.com/repos/twbs/bootstrap/issues/14930/events) and find one with event: "merged". However, this way seems "bad", as one is required to fetch all events to get a commit number (and there could easily be a thousands of events for the single issue); so I'll refrain to accepting your answer right now in case someone will give another one.
Oct
29
revised How to get merge commit SHA for merged pull request?
added 46 characters in body
Oct
29
asked How to get merge commit SHA for merged pull request?
Sep
30
awarded Explainer
Sep
18
awarded Nice Answer
Sep
16
awarded Promoter
Sep
12
comment How to prevent MemberInfo.IsDefined from throwing FileNotFoundException on irrelevant attributes?
@SriramSakthivel Even short-circuit would not solve the problem (what if XSerializationOptions are not defined on SomeType?) They could skip the attributes from another assemblies though.
Sep
12
comment How to prevent MemberInfo.IsDefined from throwing FileNotFoundException on irrelevant attributes?
@SriramSakthivel Please check out the updated question. Not XYProblem though, IMHO.
Sep
12
revised How to prevent MemberInfo.IsDefined from throwing FileNotFoundException on irrelevant attributes?
made it closer to the real-life problems
Sep
12
comment How to prevent MemberInfo.IsDefined from throwing FileNotFoundException on irrelevant attributes?
@SriramSakthivel Are you speaking of theory? In theory, I could at least say that it is definitely not of particular type if it is defined in the different assembly; you don't even need to check the type name for that. I'm not going to run a program without dlls it actually uses; yet IsDefined requires me to reference an assembly just because there is some other attribute my program will never use and couldn't care less about.
1 2 3 4 5