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
20
votes
1 answer

Ruby on Rails: unloadable

What does unloadable do? I saw this in the pages controller of High Voltage by thoughtbot. thoughtbot blogs about unloadable, but am still unclear on what it does.
ma11hew28
  • 121,420
  • 116
  • 450
  • 651
20
votes
2 answers

Is it possible to Load an assembly from the GAC without the FullName?

I know how to load an assembly from a filename, and also from the GAC. As My .msi file will put a dll project into the GAC, I'm wondering if it's possible to load it from the GAC unknowing the FullName (I mean just with the assembly name, or even…
metalcam
  • 392
  • 2
  • 16
20
votes
5 answers

ruby: how to load .rb file in the local context

How this simple task can be done in Ruby? I have some simple config file === config.rb config = { 'var' => 'val' } I want to load config file from some method, defined in main.rb file so that the local variables from config.rb became local vars of…
disfated
  • 10,633
  • 12
  • 39
  • 50
19
votes
2 answers

Is it possible to listen image load event in SVG?

Is it possible to listen for an load event in SVG? If yes, how to do this?
Rustam
  • 1,875
  • 2
  • 16
  • 33
18
votes
4 answers

Artillery.IO Logging and Debugging

I'm trying out Artillery.io (http://artillery.io) as a load and performance tool, but I can't seem to get the debugging working. I'm seeing the output and reports get generated, but for certain HTTP responses (404/401/500.x) I want to see the…
BlackSpy
  • 5,563
  • 5
  • 29
  • 38
18
votes
5 answers

C code that checksums itself *in ram*

I'm trying to get a ram-resident image to checksum itself, which is proving easier said than done. The code is first compiled on a cross development platform, generating an .elf output. A utility is used to strip out the binary image, and that image…
JustJeff
  • 12,640
  • 5
  • 49
  • 63
18
votes
4 answers

Semantic differences between save/write/store and read/load?

I never know what is the correct name for a function that writes/stores/saves something in a file. When should I use save() vs store() vs write() and what is the difference in meaning between those? I guess storeis used if I write to a database,…
Konrad Höffner
  • 11,100
  • 16
  • 60
  • 118
17
votes
5 answers

How to load all views in UITabBarController?

I have not found relevant and up to date answers in the posts related to this question. I would like to load all viewcontrollers on launch. Currently it launches as expected but when I tap on a bar item (the first time) there is a slight delay to…
Sam
  • 1,101
  • 2
  • 13
  • 26
17
votes
3 answers

jQuery .load() / .ajax() not executing javascript in returned HTML after appended

I've tried using .load() and $.ajax to get some HTML that needs to be appended to a container, but the Javascript within the returned HTML is not being executed when I append it to an element. Using .load(): $('#new_content').load(url+' #content >…
John
  • 265
  • 1
  • 3
  • 8
16
votes
6 answers

R text file and text mining...how to load data

I am using the R package tm and I want to do some text mining. This is one document and is treated as a bag of words. I don't understand the documentation on how to load a text file and to create the necessary objects to start using features such…
user959129
16
votes
3 answers

jQuery .load() not firing on images (probably caching?)

I have some pretty basic jQuery code: ... $(this).find('img').load(function(){ loadedImages++; if(loadedImages == $this.find('img').length){ ... However, thats not firing consistently. It fires if i do a hard refresh or close my browser, but…
Oscar Godson
  • 31,662
  • 41
  • 121
  • 201
16
votes
5 answers

android: how to load xml file from assets directory?

i have trouble loading an xml file from assets directory. using the same line of code (just changing the path) i get different results ( either ok or NPE / file corrupted ) the file "castle1.tmx" (it's an xml file) is copied in two…
freeaks
  • 487
  • 2
  • 6
  • 14
16
votes
5 answers

Cannot load an external page with jQuery.load into a div in my page

I am not able to load an external html page into a div in my page. My Jquery Code is: $(document).ready(function(){ var url = 'http://www.google.com'; $.get(url, function(response) { $('div#external').html(response); }); …
Amal Kumar S
  • 15,555
  • 19
  • 56
  • 88
16
votes
4 answers

Angular2 slow initial page load caused of load sequence

I have angular2 project created from seed and I've added several angular components on my initial page. Some of them load images - which is relatively slow, but the actual problem is: I have a bundle which is big (~1mb) and I am currently working…
nyxz
  • 6,918
  • 9
  • 54
  • 67
16
votes
2 answers

How to determine a good value for --load-average using gnu Make?

In Make this flag exists: -l [load], --load-average[=load] Specifies that no new jobs (commands) should be started if there are others jobs running and the load average is at least load (a floating-point number). With no argument, removes a…
Zitrax
  • 19,036
  • 20
  • 88
  • 110