loading

Advice on handling large data volumes.

So I have a "large" number of "very large" ASCII files of numerical data (gigabytes altogether), and my program will need to process the entirety of it sequentially at least once. Any advice on storing/loading the data? I've thought of converting the files to binary to make them smaller and for faster loading. Should I load everything...

Not restarting Emacs

How do I load the edited .emacs file without restarting Emacs? ...

Guidelines for asp.net website loading estimation?

I wonder if there is any good guideline for system administrators to calculate the resources needed to host an ASP.NET website? I want to do some estimates on the processing power needed so I know what kind of VPS/Cloud I need to get. ...

When loading a page containing flash or javascript, I get a security error message...

"To help protect your security, Explorer has restricted this webpage from running scripts or ActiveX controls that could access your computer" Whenever I add flash movies or javascript code this message will show. It also shows for somebody else, so how do I get rid of this message? If I load or access some other website whi...

What is the reasoning for and the basic concepts behind an interstitial loading page?

I'm interested in finding out why this is used on some Web sites for processing user-initiated search submissions, how it affects the request and response flow, and programmatically why it would be necessary (or beneficial). In an MVC framework it seems difficult to execute since you are injecting another page into the middle of the flow...

How to display a loading screen while site content loads

Hello! I'm working on a site which contains a whole bunch of mp3s and images, and i'd like to display a loading gif while all the content loads. I have no idea how to achieve this, but I do have the animated gif I want to use. any help? Thanks! ...

php/Ajax - Best practice for pre-loading images

I have put together a script which is very much like the flickr photostream feature. Two thumbnails next to each other, and when you click the next or prev links the next (or previous) two images slide in. Cool! Currently when the page loads it loads the two images. The first time nxt / prv is used then the next two images or previous t...

Image loading icon for flash/flex ?

You often see those little 'petal' animations while an image or .swf file is loading in a Flash / Flex application. Do I have to steal this from someone or is there a standard one available from somewhere. i would think there is somethin standard because everyones looks the same! Ideally I want a flex Image control that displays such a...

Javascript callback for knowing when an image is loading

I want to know when an image has finished loading. Is there a way to do it with a callback? If not, is there a way to do it at all? ...

What's the best 3d model format for loading and displaying inanimate textured objects in an OpenGL program?

I just want to know what file formats are the most OpenGL friendly in terms of loading and displaying inanimate textured 3d objects. ...

Rails best practice question: Where should one put shared code and how will it be loaded?

The rails books and web pages I've been following have all stuck to very simple projects for the sake of providing complete examples. I'm moving away from the small project app and into a realm of non-browser clients and need to decide where to put code that is shared by all involved parties. The non-browser client is a script that run...

Threaded loading (waiting) screen

I'm looking for a generic method to implement a wait screen during long operations. I have used threading a few times before, but I have the feeling that I implemented it either very poorly, or with way too much hassle (and copy/pasting - the horror!). I want to keep this as generic and simple as possible, so I won't have to implement l...

In Eclipse, how can I get my plugin to load when another plugin is loaded?

I want to register to get notified of all Java changes in Eclipse. I can do this by calling JavaCore.addElementChangedListener(). However, I don't want my plugin to be loaded until org.eclipse.jdt.core is loaded. My hack attempt to do this was declare a dummy extension to an org.eclipse.jdt.core extension point, but it doesn't work on al...

WPF Namespace question - Process?

Trying to get this example working from http://www.munna.shatkotha.com/blog/post/2008/10/26/Light-box-effect-with-WPF.aspx However, I can't seem to get the namespace or syntax right for "Process" below. <Border x:Name="panelDialog" Visibility="Collapsed"> <Grid> <Border Background="Black" Opacity="0.49"></Border> <!--While Xmal Content...

Listing the files in a directory of the current JAR file

I am making a game in JAVA where I want to come up with a list of files in a certain directory in my jar so I can make sure to have a list of those classes to be used in the game. For example say in my jar I have a directory mtd/entity/creep/ I want to get a list of all the .class files in that directory using java code from another...

Loading css rules dynamically in Webkit (Safari/Chrome)

Hi all, I currently have issues in Webkit(Safari and Chrome) were I try to load dynamically (innerHTML) some html into a div, the html contains css rules (...), after the html gets rendered the style definitions are not loaded (so visually I can tell the styles are not there and also if I search with javascript for them no styles are fo...

Loading Assembly only once

I'm loading an assembly at runtime and the question that arises everytime I call the code is that should I be checking if that particular assembly has loaded already? or does .Net take care of this and one assembly (same version) can only be loaded once? The basic question here is do i have to iterate through a list of loaded assemblies ...

Flash security: problem loading Flash 8 AS2 modules into Flash 6 AS1 module

I have an old program written in Actionscript 1, compiled in Flash 6. It loads 10 other modules, of which 3 are written in Actionscript 2, compiled in Flash 8. The original program is embedded into an html and works perfectly when the html file is run on a webserver. But if I just drag the html file to my browser, the 3 AS2 modules will ...

delaying the loading of a certain css background image

in a CSS like this : ... #big-menu { background: #fff url(../images/big-menu.jpg) no-repeat; } #some-menu { background: #fff url(../images/some-menu.jpg) no-repeat; } #some-other-menu { background: #fff url(../images/some-other-menu.jpg) no-repeat; } ... is there a way to delay the loading of #big-menu's background image, ...

Display loading message while Exporting a results set to Excel

Hi Everyone, I'm using ASP.NET and C# and am exporting a very large results set to Excel. While my export code is running I would like to show a "loading" animated gif so the users will know their request is processing. I've been trying to do this with multithreading, but I am not very familiar with it. Can anyone guide me in the rig...