Jetbrains Pycharm says pyramid and sqlalchemy libraries are undeclared - sqlalchemy

I have configured pycharm 2 to work with my pyramid project.
It says it can not find sqlalchemy and pyramid libraries and puts a red line under them. This is really annoying because I do not have autocomplete for these libraries.
But all my other libraries int virtual environment are being recognized in the project. I have double checked and the libraries are there in the virtualenv.
I have just moved from PyDev where it was working really fine. Any ideas on what I might have missed out?

Please ensure that you have followed this guide, Using PyCharm with Pyramid.
If you still have issues, please follow up.
Also note that JetBrains has released PyCharm 3 with two versions, a free Community Edition and a Professional Edition.

Under Preferences -> Project Interpter -> Python Interpreters
Make sure the pycharm library is on the path. PyCharm is usually good at recognizing new modules, but you can manually tweak them here. You might be able to install SQLAlchemy and Pyramid directly from PyCharm now, as they've added additional support for them in the new v3 of the IDE.

Try PyCharm 3 , it has support for Pyramid Framework.

Related

MySQL Install the UDF library "mysqludf_sys" on a Windows Server 2016

For 2 weeks I'm looking for a proper tutorial on how to fully install the library "lib_mysqludf_sys".
I got the .dll from a Russian site, because there seems to be no other for 64bit systems. I have successfully installed the procedure and also created the function, but whenever I want to call a file the whole database crashes. I conclude that the DLL file is faulty or that I forgot something to install.
can someone please explain to me how to use the UDF library to call files on a Windows Server 2016 64bit properly implied in the MySQL?
that would help me a lot, thank you!
Download the Windows 64 bit version from here:
https://github.com/rapid7/metasploit-framework/tree/master/data/exploits/mysql
Copy it to here or equivalent for your MySQL installation:
c:\Program Files\MySQL\MySQL Server 5.7\lib\plugin\lib_mysqludf_sys_64.dll
Install and verify as per the instructions here:
https://osandamalith.com/2018/02/11/mysql-udf-exploitation/
Looks like you are using MySQL 57/earlier version. For the library, I suggest to control it with "dependency walker". See if there is any problem with dependency libraries. At lease KERNEL32.DLL and MSCVTR.DLL (Visual C++ Redistrubatable file) should be there without any warning on root level.
If you have the code, I suggest you to recompile it with mygwin64. There are many items needs to be fixed to compiled it. Following link is a good link for UDF DLL compiles
https://github.com/esabilbulbul/mysql-udf-windows
There something similar, follow my answer here
stackoverflow.com/a/65209718/10026099

Is there an implementation of ZMQ in Octave

After googling a bit, I did not find anything that stroke as really useful.
I was wondering if there was any ZMQ interface implemented for Octave, I know there is something in Matlab, but I have not tried it yet.
I just put together a port of the matlab version which works great in octave (under ubuntu). So far it's working great for what I need:
https://github.com/esromneb/zeromq-octave
The library has a few limitations (for instance publish always connects out and subscribe always binds to a port) but if you can live with that it's great!
There is a zeromq package available from octave forge which works in octave under linux and windows.
You should be able to install it in octave by running:
pkg install -forge zeromq
(assuming you also have the zeromq library installed)
It supports most of the socket types, including pub/sub, req/rep, push/pull.
Details of the package can be found here: http://octave.sourceforge.net/zeromq/

Trouble installing the haxe language binding in monodevelop

Good morning.
I am trying to setup haxe development tools in monodevelop as shown in this tutorial.
My problem is i can't find the haxe language binding the in add-in manager.
Does anyone know the solution to this issue?
Best regards
Guilherme Silva
Even the haxe binding dated 14/3/2013 only works for Monodevelop 3.0. I was able to download Monodevelop 3.0.6 from sourceforge. If it still doesn't work through the add-in manager, you can manually download it (link below) and install by file.
resources:
http://addins.monodevelop.com/Project/Index/41
http://sourceforge.net/projects/monodevelop.mirror/files/?source=navbar
I ran into this problem too. I believe it's because the Haxe language binding doesn't currently support (MonoDevelop/Xamarin Studio) version 4. And they don't currently seem to offer trunk builds, so we might be out of luck!
http://monodevelop.com/download/trunk_builds

How do I install a program that involves make, configure, and build?

I knew this day would come, so I guess it is here. (P.S. I am on windows XP).
I am trying to use this program here. I installed it fine, but it doesnt seem to work when I type in equations. So I went back to the site and it says I need JRE version 5.0 or above, (check). Then it also says I need dvipng, which I dont think I have.
So I went to the site it tells me to, (here), and I downloaded the most recent one, "dvipng-1.14.tar.gz". I unzipped it and I have it all sitting in one directory.
Ok... now what?
Im afraid I need guidance on exactly how to proceed here. The readme and installation instructions say to run "./configure", then "make", etc, I opened the command prompt and did all that but doesnt recognize. I have never had to build in this way, I always used an IDE for compiling C++ programs that I write myself. (Anyway, why am I even having to make an exe why dont they just make one and let us download that?)
Very confused as to what I need to do here, appreciate some step by step help.
Thank you
Even though Mohammad's problem was solved in the comments, I'll have a go at answering his question:
To run a build system that uses ./configure, you need something that can run shell scripts, as well as the usual suite of unix tools that the script expects, plus a compiler that behaves in the standard sort of way.
The two projects that I know of that do this are cygwin and MSYS. cygwin is aimed at creating a full POSIX environment on windows, while MSYS is an add-on to MinGW that aims to provide just the parts needed to run a ./configure script and build a program.

Eclipse Indigo with Syntax Highlighting for HTML/JS/CSS etc

I'm using Eclipse Indigo with PyDev for python development tasks
and I'm unable to get highlighting to work for HTML/CSS/JS and the like files.
What do I need to do to fix it?
Thanks in advance
Oli
I think the best solution would be getting Aptana Studio 3 (I recommend getting the standalone version, but if you decide installing it as a plugin, you'll have to uninstall PyDev before -- because Aptana Studio 3 is a superset which already integrates PyDev).
See: http://pydev.org/download.html for links.