Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
6
Newest
 Commentator
Impact
~547 people reached

  • 0 posts edited
  • 0 helpful flags
  • 12 votes cast
Nov
3
comment What is the broadly understood name of sub-command to check environment of the application?
Well, that's one view on that. I will let the community to decide.
Nov
3
comment What is the broadly understood name of sub-command to check environment of the application?
@gnat Isn't my question about What is the name of this well-known concept?
Nov
3
comment What is the broadly understood name of sub-command to check environment of the application?
@RobertHarvey Yes. From the man page of brew: doctor: Check your system for potential problems. Doctor exits with a non-zero status if any problems are found.
Aug
7
comment How to properly handle indefinite generators in Python
Ok I agree, in this particular example that relies on behavior of readline it makes sense. But since this example is all about generator returning either value or None, I'd put extra emphasis on that fact by explicitly checking whether value is None. Will require rework though. Other than that excellent example, already re-worked my generators :)
Aug
7
comment How to properly handle indefinite generators in Python
I meant if line is not None, sorry. if line will fail if line is empty which isn't desired behavior.
Aug
7
comment How to properly handle indefinite generators in Python
Can you think of any example in standard library (maybe asyncio?) that does it?
Aug
7
comment How to properly handle indefinite generators in Python
I guess if line: should be if line is None: in __main__.
Feb
6
comment What are some good resources for debugging/disassembling proprietary software?
It is legal to disassemble purchased software in Russia. At least not illegal.
Feb
5
comment What are some good resources for debugging/disassembling proprietary software?
Yeah, I'm looking for a general OS/language agnostic book. But I will appreciate any suggestion for specific one.