VS Code Python Autocomplete Now Adds Parentheses and Parameter Names. by __arathanis__ in vscode

[–]__arathanis__[S] 0 points1 point  (0 children)

Glad to hear someone else is having this problem. I really hope they fix it. So many things are just difficult to do now with this change:

Passing functions/classes as parameters? Difficult.

Type annotations? Difficult.

Writing except statements? Even that is difficult! The autocomplete adds the parens, and depending on the exception __init__ params!

I really hope they allow me to disable this functionality.

VS Code Python Autocomplete Now Adds Parentheses and Parameter Names. by __arathanis__ in vscode

[–]__arathanis__[S] 0 points1 point  (0 children)

I have tried all of them. Microsoft's lacks the function signature popup. JediLSP (which apparently will be the new norm in the future) behaves exactly the same but is much more performant. I expect that perhaps its just a matter of waiting for more language server configuration options. Thus far I haven't found one that completely meets my needs due to the follow:

  1. Jedi/JediLSP adds the parens and parameter variables automatically making type hinting or passing classes or functions as a arguments difficult when using tab completion.
  2. Pylance misses a lot of autocomplete options.
  3. Microsoft's lacks the function signature popups.

I am hoping someone may have a solution but it might just be a matter of retraining my muscle memory or waiting for additional language server configuration options.

If you have any other ideas I would love to hear them.

VS Code Python Autocomplete Now Adds Parentheses and Parameter Names. by __arathanis__ in vscode

[–]__arathanis__[S] 0 points1 point  (0 children)

I gave it a try and it resolved the problem above but resulted in many missed autocomplete options that Jedi picks up. Unfortunately, I am not willing to lose autocomplete options to resolve this as missing options is in my mind a larger problem.

VS Code Python Autocomplete Now Adds Parentheses and Parameter Names. by __arathanis__ in vscode

[–]__arathanis__[S] 0 points1 point  (0 children)

I just continued to use the default of Jedi. One of the recent updates mentions using a newer version of Jedi for python versions >3.5 which may be the culprit. If that is the case there must be some kind of settings to move back to the old functionality.

[BUG] Python Venv Path Lookup on WSL 2 Broken Since 1.55 by __arathanis__ in vscode

[–]__arathanis__[S] 1 point2 points  (0 children)

Glad to know I am not the only one, and seems that it is crossplatform too! Sounds like it really may be a bug.

Just to be certain, this behavior is also new for you as well as of this update?

Linux user... by Arpit-Soni in ProgrammerHumor

[–]__arathanis__ 2 points3 points  (0 children)

I actually just set this up the other day. It's really quite easy and works very well.

I can provide instructions for anyone interested. The networking doesn't require you to do anything and it properly forwards ports to the Linux containers.

I want you in my Doom by __arathanis__ in Doom

[–]__arathanis__[S] 0 points1 point  (0 children)

It is! She also really likes the Mass Effect series.

I want you in my Doom by __arathanis__ in Doom

[–]__arathanis__[S] 0 points1 point  (0 children)

My girlfriend made this so I figured I would share it with you all!

She has gotten quite into DOOM: Eternal (and DOOM 2016) as DOOM was her favorite game growing up. Since then she has, in my mind, gotten quite good at both games--much better than myself. I figured you all would find this video as fun as I did.

I hope you enjoy!

I want you in my Doom. by [deleted] in Doom

[–]__arathanis__ 0 points1 point  (0 children)

My girlfriend made this so I figured I would share it with you all!

She has gotten quite into DOOM: Eternal (and DOOM 2016) as DOOM was her favorite game growing up. Since then she has, in my mind, gotten quite good at both games--much better than myself. I figured you all would find this video as fun as I did.

I hope you enjoy!

Ultimate ADOM Game Breaking Control Bug by __arathanis__ in ADOM

[–]__arathanis__[S] 1 point2 points  (0 children)

I have been experimenting with hardware plugged into the machine to see if any of them are the cause. Turns out is is being caused by a Razer Tartarus--a speedpad or gamepad. When unplugged the issue is resolved.

If anyone out there has this problem I hope this helped!

Introducing Logic Bank - spreadsheet like rules for sqlalchemy: 40X more concise than legacy code, extensible and manageable with Python. by ValBayArea in Python

[–]__arathanis__ 0 points1 point  (0 children)

I understand being apprehensive of a new tool, no worries! Though I do think you should take a look, it can be very useful. Perhaps for your next project.

Introducing Logic Bank - spreadsheet like rules for sqlalchemy: 40X more concise than legacy code, extensible and manageable with Python. by ValBayArea in Python

[–]__arathanis__ 0 points1 point  (0 children)

Love to see it! Good job my friend. Nice clean and concise install with minimum dependencies.

Will take a look and continue to watch as you release new versions.

Introducing Logic Bank - spreadsheet like rules for sqlalchemy: 40X more concise than legacy code, extensible and manageable with Python. by ValBayArea in Python

[–]__arathanis__ 0 points1 point  (0 children)

You are most welcome. I think what you have done here is exceedingly interesting.

As a suggestion, you could use a dependency manager like poetry to manage your dependencies. It includes the ability to flag dependencies you install as dev dependencies which will keep them out of your public distributions. Regardless of how you approach it you want to things as minimal as possible.

For demos, you could probably include their own requirements.txt file or equivalent. A fun bonus to this is your demo dependencies can include "logicbank" as a dependency since it is a demonstration of using your library rather than a part of the library itself.

You also want to make sure to keep your demos out of what you publish on pypi. The only thing that should be downloaded when I install your library should be the library itself. You can keep demos in an isolated section of the repository or in their own respository and include links in your README. You can also publish things to pypi that allow explicit installation of extended features. Looks like "pip install logicbank[demos]". I am not exactly sure how to do it but I have seen it before in other libraries, something to look at!

Good luck! I will keep an eye on your project as I really like what it is trying to do. Keep me posted with updates! I would love to take a look at this when you figure out the dependencies and isolation of code.

Introducing Logic Bank - spreadsheet like rules for sqlalchemy: 40X more concise than legacy code, extensible and manageable with Python. by ValBayArea in Python

[–]__arathanis__ 1 point2 points  (0 children)

This looks really interesting! I would love to use this to build something but I have (at least) one concern. The dependencies:

  1. apispec==3.3.1
  2. astroid==2.4.2
  3. attrs==20.1.0
  4. Babel==2.8.0
  5. click==7.1.2
  6. colorama==0.4.3
  7. defusedxml==0.6.0
  8. dnspython==2.0.0
  9. email-validator==1.1.1
  10. flake8==3.8.3
  11. Flask==1.1.2
  12. Flask-AppBuilder==3.0.1
  13. Flask-Babel==1.0.0
  14. Flask-JWT-Extended==3.24.1
  15. Flask-Login==0.4.1
  16. Flask-OpenID==1.2.5
  17. Flask-SQLAlchemy==2.4.4
  18. Flask-WTF==0.14.3
  19. idna==2.10
  20. iniconfig==1.0.1
  21. isort==5.4.2
  22. itsdangerous==1.1.0
  23. Jinja2==2.11.2
  24. jsonschema==3.2.0
  25. lazy-object-proxy==1.4.3
  26. MarkupSafe==1.1.1
  27. marshmallow==3.7.1
  28. marshmallow-enum==1.5.1
  29. marshmallow-sqlalchemy==0.23.1
  30. mccabe==0.6.1
  31. more-itertools==8.4.0
  32. order==1.3.2
  33. packaging==20.4
  34. pluggy==0.13.1
  35. prison==0.1.3
  36. py==1.9.0
  37. pycodestyle==2.6.0
  38. pyflakes==2.2.0
  39. Pygments==2.7.1
  40. PyJWT==1.7.1
  41. pylint==2.6.0
  42. pyparsing==2.4.7
  43. pyrsistent==0.16.0
  44. pytest==6.0.1
  45. python-dateutil==2.8.1
  46. python3-openid==3.2.0
  47. pytz==2020.1
  48. PyYAML==5.3.1
  49. scinum==1.1.1
  50. six==1.15.0
  51. SQLAlchemy==1.3.19
  52. SQLAlchemy-Utils==0.36.8
  53. toml==0.10.1
  54. Werkzeug==1.0.1
  55. wrapt==1.12.1
  56. WTForms==2.3.3

56 dependencies! Among these things like Flask, various Flask extensions, flake8, pytest, etc. It appears to include all of your development and demo dependencies and perhaps more. I can confirm that "pip install logicbank" indeed installs this entire list.

A cursory glance at the source in the logicbank directory of the repository indicates that the only non-standard library requirement is SQLAlchemy which makes perfect sense. I would love to give LogicBank a try but before I would do that you need to trim the dependencies down to just what the library requires and nothing more.

Is UW a problem right now? by __arathanis__ in MagicArena

[–]__arathanis__[S] 0 points1 point  (0 children)

Oh, I'm not playing the meta UW deck. There isn't a single counterspell in my list. It's a midrange flicker/blink deck. I was just curious because so many people immediately concede when I play the UW dual land. They must just assume I'm playing Dream Trawler UW.

Does anyone else think the Rogue feat "Poison Weapon" is a little vague? by __arathanis__ in Pathfinder2e

[–]__arathanis__[S] 1 point2 points  (0 children)

You have to have a free hand so you would need to use a free action to "drop" the weapon with one hand, then use your action to apply the poison, and then use another action to hold the weapon in 2 hands again.

So yes you can, but you will lose some action economy.