How to prevent Spyder 5 from lagging, which makes the editor unusable on large files? - spyder

I installed the latest Spyder on a new Windows machine but I experience a serious lag (few seconds) while typing that makes the editor non functional.
To reproduce the problem:
Open a large script (I need to edit one that has 3000 lines of code).
The lag is minimal at first, but as I leave the editor open for several hours it becomes unusable.
Let say I continuously type random characters for 2 seconds, then pause for 1s, then repeat.
I will see my typing at first, but at some point the editor will stall for as much as 4 seconds and then empty the keyboard buffer on screen before freezing again for 4 seconds.
The following attempts did not help :
Reducing de size of the Sypder Editor (non full screen)
Unchecking "Enable code completion and linting in the editor"
The only thing that helps is to restart the Spyder editor every hour or so.
Installed using the command conda install spyder
Packages versions:
spyder 5.0.5
qt 5.9.7
pyqt 5.9.2
on Windows 10 Pro 19043.1288
Does anyone have a work around for this problem?

Related

Paros is not running

I installed Paros. At first, it worked fine. However, from the second start, Paros will start and automatically turn off after a few seconds. I also tried to reinstall but the installer will automatically turn off. Why is that?
Window 10 64bit
I install 32bit java.
Any particular reason for using Paros? Its not been updated for over 10 years.
You'll be much better off using OWASP ZAP, which was forked from Paros in 2010, is free, open source and is very actively maintained: https://github.com/zaproxy/zaproxy/

OSX Terminal hanging? - Taking a long time to do tasks

I am trying to install Ruby and do various things, i have found that terminal takes a hell of a long time to do any tasks and sometimes it doesn't complete anything, aka hangs.
"Mys-MacBook-Air:~ Main$ rbenv install 2.2.0
Downloading ruby-2.2.0.tar.gz...
-> http://dqw8nmjcqpjn7.cloudfront.net/7671e394abfb5d262fbcd3b27a71bf78737c7e9347fa21c39e58b0bb9c4840fc
Installing ruby-2.2.0..."
Then this sits for ages without showing me any feedback. It will do this with many things, including node setup and other things i have tried. Sometimes it doesn't do anything and i need to start a whole new terminal with CMD + N, Is it taking a long to download or is it installing without giving feedback? Is it normal for OSX to do this? My internet speed is 10 down so i wouldn't think it is the net.
Also, sometimes when i have finished doing something, like running a server, terminal will not go onto a new line meaning i have to reopen a new window every time, is there a way to restart the command line so i can begin typing commands again?
First off, compiling Ruby can take a while, especially on slower machines. On my new Macbook (maxed out), 2.1.5 took about 8 minutes to install.
To answer your question however, you can monitor that the machine is doing work using Activity Monitor (under Applications/Utilities) or use terminal tools like top or htop, the latter of which can be installed via homebrew. You could also use screen or tmux to background the job if you don't like the idea of opening a new tab.

Rubymine 5.4.3.2.1 freezes sometimes

I am using Rubymine to work on a suite of rails projects. There are quite a bit of gems and source files, but I think rubymine should be able to handle everything despite the size...
My sources files (and gems) are shared in a Vagrant box (see https://stackoverflow.com/a/19662310/311744).
Sometimes, when I am editing, Rubymine freezes. (about 5-6 seconds).
Usually, 3-4 minutes after I restart the IDE, everything is fine. Then I have one big 5 seconds freeze, and then from that point every 15-20 seconds I have a new freeze. During a freeze, Rubymine takes 100% (or a big part) of the CPU.
I am running on MacOS 10.8.5 on a recent MBPr.
I don't want to give up Rubymine. How can I troubleshoot that ?
In case of the performance issues you should start from the troubleshooting guides on the official support site:
thread dumps
CPU snapshots
idea.log
Check that all the files are local, try to increase the heap size in case the problem is caused by the JVM garbage collection.
If nothing helps, provide all the collected data to the technical support team or to the issue tracker.
Trying RubyMine 6.0 will definitely not hurt as noted in the comment above =)
This guide is for all the users having performance issues with RubyMine or any other IntelliJ IDEA platform based IDE.

Xcode compile time very slow after upgrading to Mavericks

I am using Xcode 5. When I had Mountain Lion installed, doing a build after a clean took less than 10 seconds for my project. It was extremely fast.
After upgrading to Mavericks, doing a build after a clean now takes about 2 minutes for my project. It takes almost one second to compile each source file! The source code is exactly the same as the code before the upgrade, so I know that this problem is definitely caused by the Mavericks upgrade.
Running the top command shows about 15 clang processes during build time. Each clang process keeps switching from the "sleeping" and "stuck" state. So I'm wondering if this issue has something to do with race conditions with the multiple clang processes.
So far I have tried rebooting, and reinstalling XCode.
Edit
Other Info: I'm using the latest macbook pro with retina display with 16GB of ram. I also have file vault enabled. Will try disabling it to see if it changes performance.
I've solved the problem. Turns out it was my virus scanner McAfee. It must have been scanning every source file before letting Xcode compile it. The weird thing is the virus scanner was taking up almost no cpu cycles.

application wont start or load in blackberry simulator

I'm developing an application on two different machines (home and work) and while the home one seems to run just fine, the work one is, for lack of a better word, possessed. It has been exhibiting the following issues:
When loading the application, it will start at the simulator's main screen instead of starting the application at random intervals. You can start the application and have it work fine, then close the simulator, reload, and have the same codebase not load.
Going to applications doesn't show the application itself, in fact it never does.
Trying to load the applications cod file (File->load java program) never works. Tried the steps in this thread, with unreliable results.
Extremely small changes, such as modifying the value of a width variable by one, commenting out a function such as makeMenu or adding a button will cause code to no longer work, with no errors shown by the IDE.
Using clear.bat with sometimes work, sometimes not. Same with manually removing all files with the name of the project.
reinstalling the eclipse environment and the blackberry plugin did nothing more then burn off an hour.
having "load on startup" in the blackberry_app_descriptor.xml file is set.
Both systems are using Eclipse 3.5.1, BB plugin for eclipse 1.1 beta, Java 4.5 with the 8300 simulator. THe only difference that I am seeing is the operating system between the two systems. The work one being XP Sp3, home being vista. THe vista one isn't perfect, but I can test variable changes without flipping a coin to see if the app will even load or not.
I've tried the solutions that were similar on this forum, such as this one, but it looked to be that those solutions are dated as none of the options for the steps existed in my eclipse install.
So has anyone ran into such baffling behavior, and can it be fixed? Anything that I might have missed that could be tried?
I've been seeing this behavior with the new 1.1 plugin, the application doesn't load on startup and the FIle->load java program doesn't help. For me, the solution was I have to run a clean build every time, that is the eclipse clean and build instead of just build, not the clean.bat... Hope this helps!
Try clearing resources that have improper naming structure in your projects stuff with spaces or special character in the name of the file.
It took me two days to figure out.
One solution i got regarding your problem.
As I See Please run the application first time as Run as blackberry simulator
that is got start and here pick up run and then Run as Blackberry simulator

Resources