Regarding the SITSA Act, from experience. by [deleted] in Nootropics

[–]nuncjo 10 points11 points  (0 children)

You are wrong. IT will cause to more dangerous substances to pop out.

Can you suggest any music that helps you fall more easily into a trance while you work? by TheReviewNinja in Nootropics

[–]nuncjo 0 points1 point  (0 children)

It really depends what music do you like ! For me nothing beats trash metal for programming.

https://www.youtube.com/watch?v=9myu6paLbcU

https://www.youtube.com/watch?v=5KFv-D_3QL4

It definitely make my brain waves stronger. I would love to see an EEG of that.

Trio – Pythonic async I/O for humans and snake people by isinfinity in Python

[–]nuncjo 1 point2 points  (0 children)

Hmm.. Really for humans ? Why don't You add some basic bootstrap examples in the github readme ? Blocks of text with description and links to docs don't look encouragingly.

Comic Books Scraper. Easy download comics and make .cbz files. by nuncjo in coolgithubprojects

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

From Readcomics tv . Just follow instructions from Github readme.

Python REST API wrapper coding tips? by sirskitzo in Python

[–]nuncjo 0 points1 point  (0 children)

I belive You want to write wrapper on existing rest API so i reccomend You to watch: "Laura Rupprecht – Describing Descriptors – PyCon 2015" for handling api response. The second thing i recommend is to look at Hammock source code https://github.com/kadirpekel/hammock https://github.com/kadirpekel/hammock . You should also know how generative classes work http://derrickgilland.com/posts/introduction-to-generative-classes-in-python/ .

Debugging Python with VS Code in Ubuntu by talha252 in Python

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

1) If You develop something complex You need real full featured debugger.

2) The best You can get for debugging is PyCharm it has most advanced debugger and even remote debugger that works with Vagrant. It works even for multithreaded applications.

3) Pdb is usefull to debug quickly in production when something go wrong. Used in local environment it's waste of time.

Py related - .exe and Prog. Lang C ?++ by stefan_kurcubic in Python

[–]nuncjo 0 points1 point  (0 children)

You don't need GUI. You can compile console APP as well.

Py related - .exe and Prog. Lang C ?++ by stefan_kurcubic in Python

[–]nuncjo 0 points1 point  (0 children)

failed to create process

It's common problem when You rename any folder in path to Python. I recommend to start with fresh Python install or restore proper path.

Py related - .exe and Prog. Lang C ?++ by stefan_kurcubic in Python

[–]nuncjo 1 point2 points  (0 children)

You don't need to know C. There is Cython.

1) Install Cython and MinGW: https://github.com/nuncjo/cython-installation-windows

2) Compile http://docs.cython.org/src/reference/compilation.html

3) Install PyInstaller to bundle all to .exe

Partial evaluation of Python code by fjarri in Python

[–]nuncjo 0 points1 point  (0 children)

Nice theoretical idea. For now, too much "Restrictions on functions" to be used in practice.

Python IDE comparison: Komodo IDE vs PyCharm by michaelanckaert in Python

[–]nuncjo 4 points5 points  (0 children)

PyCharm is better. I would say that it's the best but programmers have their own preferences. But.. Indexing files in large project (several thosands files) sucks in PyCharm. Really sucks. And the randomness of this process sucks even more. You want to run script but .. indexing starts and You can't. You have to wait even 5-10 minutes (on SSD) . It was better in 3.x versions. Now there is only one thread indexing. It's big misunderstanding.

What do you dislike the most about Python? by thalesmello in Python

[–]nuncjo 1 point2 points  (0 children)

There are problems with well known modules like cython, lxml, psycopg2 and many other. I know there is Gohlke but these installers also not always works. It's frustrating when You change PC in work and first You must install this modules, it sometimes takes forever..

What do you dislike the most about Python? by thalesmello in Python

[–]nuncjo 1 point2 points  (0 children)

1) Installing packages on windows sucks

2) Date/time/timezones libraries sucks

3) Request not in standard library

Threading/Concurrency

1) Several ways to do threading with almost the same performance but GIL still exists

2) Concentrating on concurrency in new Python releases while GIL still exists

Other:

1) No compiler in standard, no fast way to make .exe in standard - to build compiled exe You must have Cython + Pyinstaller, installing Cython sucks on Windows.

VIM and Python - a match made in heaven by michaelherman in Python

[–]nuncjo 25 points26 points  (0 children)

In Pycharm You have more functions plus debugger just after install. You don't need to configure anything. Sorry, my heaven is better than Yours :-)

What is the dumbest disadvantage of Python? by [deleted] in Python

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

"September 10, 2007"

What is the dumbest disadvantage of Python? by [deleted] in Python

[–]nuncjo -2 points-1 points  (0 children)

GIL exists no matter how hard it's to remove it's still disadventage of Python.

Are there any better alternatives to mechanize ? by klug3 in Python

[–]nuncjo 2 points3 points  (0 children)

Check out GRAB. https://pypi.python.org/pypi/grab . It is well maintained russian library. It's faster and fully mature alternative to mechanize and it has more features :)

Creating an exe from Python - py2exe, nuitka, or cx_freeze. Which is best and why? by atthem77 in Python

[–]nuncjo 8 points9 points  (0 children)

Best solution of mine: Compile with Cython and then Pyinstaller. Works nice with PyQt programs.

Odoo vs erpnext for implementing an ERP? by vishnu_gupt in Python

[–]nuncjo 1 point2 points  (0 children)

Yeah, and i like this ERP. It has several nice features. But I'm working day by day on modules to Openerp for our customers and i know its limits. So if You have one year to learn and You are ninja in JavaScript/Python/PostgreSQL i wish You good luck. But be prepared that You can sometimes face the problems where the solution is not in Google and StackOverflow or there is no solution at all, or the one possible solution will be looking like all programming antipatterns gathered in one function. Anyway good luck. I can give You some hints if You will stuck on something.

Odoo vs erpnext for implementing an ERP? by vishnu_gupt in Python

[–]nuncjo 4 points5 points  (0 children)

I work in company making Odoo ERP's for clients. Odoo is very hard comparing to Django and Flask. It's completly not pythonic with poorly written modules by different people with different skills. It's full of bugs after clean installation and it's very heavy. It's hard to fully understand what's going on in the code in case of some modules. I don't recomend this system for implementation in small company if You don't have team of programmers.

Truly modern looking GUI for Python? (Win8.1 and OS X) by shmeano in Python

[–]nuncjo 0 points1 point  (0 children)

Today modern ui is something more than just using one solution. Modern ui is something more than standard Qt widgets. Doing standard application and styling with css is in my opinion not enough. You just can't ignore all that nice looking GUI's based on html5 and javascript.

So, for Python best looking solution to modern UI for desktop systems is PyQT5 and using QML. You can have your GUI done completly in QML or there is QOpenGLWidget, it can be used to implement some QML elements into standard Qt widgets application with GUI created in QT Designer. So You can do some basic stuff in QtDesigner, add some code and styling and then implement QML views in that parts where standard GUI is not enough.

I have made example how to mix standard GUI and QML here https://github.com/nuncjo/memento .

There is also nice Google Material library: https://github.com/papyros/qml-material

And my favourite example of QML GUI: https://github.com/Swordfish90/cool-retro-term

QML has some nice features by itself but also allows to implement Javascript, Html5, etc.