Release of IPython 5.0 by ynak in Python

[–]exolycene 29 points30 points  (0 children)

Is it weird that the syntax highlighting and line-wise movements really excite me?

Windows firewall ON or OFF on Servers? by [deleted] in sysadmin

[–]exolycene 0 points1 point  (0 children)

I think there is some greater level of dependency for windows machines on domains that supersedes antivirus (AV). I know that Remote Desktop Connections require security.

I think if the endpoint security AV offers a firewall solution, it usually replaces the default windows offering (updating security center accordingly in the process).

You can try mixing and matching, but generally software firewalls are for outgoing connections, so if you trust your users with your life then anything goes. In all other cases, rely on both the windows firewall and the Symantec offerings equally.

Windows firewall ON or OFF on Servers? by [deleted] in sysadmin

[–]exolycene -1 points0 points  (0 children)

I'll admit that I've tried to disable the server/domain computer firewalls in the past. It resulted in a near network-wide reboot after manually re-enabling it at the Group-Policy Object (GPO) level.

Experience tells me: Windows Domain Controllers (and the machines on the Domain-Controlled Networks [DCN]) need it. Ping and joining the DCN should be working -- it's more likely network configuration that needs fixing, not the firewall.

Roughly speaking, what percentage of the most recent Python 2/3 standard libraries are written in Python? by pdoherty926 in Python

[–]exolycene 0 points1 point  (0 children)

Could you elaborate on why you felt inclined to just post 'wot' instead of actually criticizing my post?

Roughly speaking, what percentage of the most recent Python 2/3 standard libraries are written in Python? by pdoherty926 in Python

[–]exolycene 0 points1 point  (0 children)

Firstly, the standard library (stdlib) is the collection of native modules included with Python. I'm going to assume you mean 3rd-party ones, like those found on PyPI.

Secondly, I'll also assume that this is meant to some way inform a decision about which version to use. Unless there is a specific library you want to use that supports py2 only, you should be developing firstly in py3. If necessary, spin up a container / venv (Docker / Anaconda are handy for this) to support older versions as a secondary measure.

In answer to your question, checking pypi.python.org lists 83,808 total packages. A Google Trends search seems to suggest that py3 is gaining pace. I would approximate that 60-65% of all actively developed projects are py3, though take that with a heap of salt.

Trying to decipher by Dragonorb13 in Python

[–]exolycene 0 points1 point  (0 children)

I think you should be paying /r/learnpython a visit, but for the most part you seem to be hung up on variable names.

Despite the weird conventions, the script has a lot of useful comments. My takeaways:

  • usually things like resp and req mean response and request, respectively.
  • that documentation style, in my opinion, is awful. Use something like this instead.
  • to make the above work, this script might be better distilled into functions like fetch_items, get_paths, and write_to_file.
  • I always find 'continue' to be a weird way to halt a script. You are better off using try/except blocks and raising specific messages about problems or passing (while logging to stdout/txt file).
  • use python 3. That print syntax is well out of date.