Questions tagged [load]

A measure of the amount of work a computer is performing. CPU load is closely related too, but not exactly the same as CPU utilization.

In computing (typically UNIX), load is a measure of the amount of computational work that a computer system performs.

All Unix and Unix-like systems generate a metric of three "load average" which represent the system load during the last one-, five-, and fifteen-minute periods.

7165 questions
41
votes
2 answers

Python Pandas does not read the first row of csv file

I have a problem with reading CSV(or txt file) on pandas module Because numpy's loadtxt function takes too much time, I decided to use pandas read_csv instead. I want to make a numpy array from txt file with four columns separated by space, and has…
Tom
  • 758
  • 1
  • 6
  • 22
38
votes
11 answers

Load files bigger than 1M from assets folder

I'm going crazy, I created a file object, so it can be read with ObjectInputStream, and I placed the assets folder. The method works with a file smaller than 1M, and give error with larger files. I read that is a limit of Android platform, but I…
Syco
  • 799
  • 2
  • 14
  • 23
37
votes
3 answers

httperf segmentation fault error on OS X 10.7.1

When I try to perform a load test using httperf with high request rate, I get the following error: » httperf --client=0/1 --server=www.xxxxx.com --port=80 --uri=/ --send-buffer=4096 --recv-buffer=16384 --num-conns=200 --rate=30 httperf --client=0/1…
Mike Hemelberg
  • 952
  • 1
  • 9
  • 10
37
votes
4 answers

How to use dylib in Mac OS X (C++)

I made an application (an executable) calling some dylib successfully. However, the dylib files and the executable are in different directory. I added the directory contains dylib files to the $PATH environment variable. However, it still doesn't…
Alfred Zhong
  • 371
  • 1
  • 3
  • 3
36
votes
4 answers

How to load data quickly into R?

I have some R scripts, where I have to load several dataframe in R as quickly as possible. This is quite important as reading the data is the slowest part of the procedure. E.g.: plotting from different dataframes. I get the data in sav (SPSS)…
daroczig
  • 28,004
  • 7
  • 90
  • 124
35
votes
3 answers

Hide soft keyboard on application load

I have an application with an EditText element on the main view. This means that when my application is loaded the soft keyboard appears per default. I would like to be able to hide the keyboard on load, so it does not show until i tap on the…
Esben Andersen
  • 802
  • 2
  • 9
  • 18
35
votes
6 answers

How to verify background (css) image was loaded?

I have the following CSS class that I'm applying on a tag: .bg { background-image: url('bg.jpg'); display: none; } How can I tell with JavaScript/jQuery that the background image finished loading?
thedp
  • 8,350
  • 16
  • 53
  • 95
34
votes
2 answers

How do you handle R Data internal to a package?

The R package I am developing requires several R data objects, such as pre-computed models and parameters. Currently I have each object in the 'data' directory of the package in individual .RData files. When using the package users can use the…
Nixuz
  • 3,439
  • 4
  • 39
  • 44
34
votes
3 answers

"IsADirectoryError: [Errno 21] Is a directory: " It is a file

I already split the data into test and training set into the different folder. Now I need to load the patient data. Each patient has 8 images. def load_dataset(root_dir, split): """ load the data set numpy arrays saved by the preprocessing…
Jo_
  • 525
  • 1
  • 5
  • 10
34
votes
2 answers

Visual Studio 2015 with Update 2 - 'The Scc Display Information package did not load correctly'

Loading a project in Visual Studio 2015 with Update 2 (either automatically when VS start or manual load), I receive an error saying: 'The Scc Display Information package did not load correctly'. The ActivityLog has:
Eric Ouellet
  • 10,996
  • 11
  • 84
  • 119
34
votes
5 answers

Can script.readyState be trusted to detect the end of dynamic script loading?

I use dynamic script loading to reduce the duration of the initial page load. To ensure that the functions and objects defined by a script are accessible, I need to ensure that the script has been fully loaded. I have developed my own Javascript…
Eric Bréchemier
  • 1,908
  • 3
  • 18
  • 30
34
votes
5 answers

$.getScript, but for stylesheets in jQuery?

Is there a $.getScript equivalent in jQuery, but for loading stylesheets?
Lucas
  • 16,930
  • 31
  • 110
  • 182
34
votes
5 answers

How can I use jQuery "load" to perform a GET request with extra parameters?

I'm reading the jQuery load documentation and it mentions that I can use load to perform a GET request by passing in extra parameters as a string. My current code with my parameters as key/value pair is: $("#output").load( …
Thierry Lam
  • 45,304
  • 42
  • 117
  • 144
33
votes
3 answers

Wait for image to be loaded before going on

I'm developing a game using JavaScript and canvas. As the game loads, all images that will be used are being cached. Observing the resource timeline, I see that the following code triggers an asynchronous request: var sprite = new…
Jem
  • 6,226
  • 14
  • 56
  • 74
32
votes
6 answers

How to debug "Could not load file or assembly" runtime errors?

I have a project that uses a Java library converted using IKVM. I added the created DLL plus all possible IKVM DLLs as references to my project, but when I run it, I get the following runtime error: System.IO.FileNotFoundException : Could not load…
Wookai
  • 20,883
  • 16
  • 73
  • 86