penartur

Moscow, Russia

2d
comment Getting head and tail from IEnumerable that can only be iterated once
@ChrisNash There were three minor errors; fixed now.
2d
revised Getting head and tail from IEnumerable that can only be iterated once
fixed code errors
May
17
comment How to search in an array in Node.js in a non-blocking way?
@Luc The point of non-blocking function in JS is that there is no return values, and the result will be passed as an argument to callback... eventually. By this moment, the place in code where contains is called is left already.
May
8
revised Getting head and tail from IEnumerable that can only be iterated once
added 55 characters in body
May
8
answered Getting head and tail from IEnumerable that can only be iterated once
May
5
comment Tea in the microwave
@Johnny I was actually thinking of the Electric Water Boiler (not electric water kettle); but you're right, it uses electricity throughout the day (I for some reason thought that it only uses electricity to reboil). However, whether Electric Water Boiler is less or more efficient compared to the plain kettle is not obvious and depends on the specific usage profile. Plain kettle filled with a cup of water will probably dissipate significant amount of heat into the air.
May
5
awarded Teacher
May
5
comment Tea in the microwave
My one does not lost a noticeable amount of heat (e.g. -5°C) between refills (about every other day). From this I would deduce energy loss is less than 3% per day.
May
5
answered Tea in the microwave
May
5
awarded Student
May
5
asked Where to find a telecommute job available to employees from overseas?
May
5
awarded Supporter
Apr
30
awarded Revival
Apr
17
asked Is there a way to make Caps Lock switch keyboard layouts on Windows 8?
Mar
22
comment How to prevent an abstract class with public derived classes from being inherited in other assemblies?
Have you tried to compile your code? Derived classes are not allowed to be more accessible than base ones for obvious reasons. It is not possible to derive a public class from the internal one.
Mar
18
awarded Nice Answer
Mar
7
awarded Scholar
Mar
7
accepted What is the rationale for closing "why" questions on a language design?
Mar
7
comment Why there are no compound assignment operators for logical operators (such as ||, && etc)?
@AndyBursh The same logic could be applied to any compound assignment operator. "X equals X times 2" reads more naturally compared to the "X times equals 2".
Mar
6
awarded Student
1 2 3 4 5