store

Rails, CookieStore vs ActiveRecordStore

Hello, I am currently experiencing a strange issue with our users being logged out. I haven't been able to reproduce it explicitly. The Rails application is using the default CookieStore. My initial hypothesis is that somehow the session data within the cookie, or even the cookie itself is being destroyed. This may be either from a use...

storing state of enterprise application in JEE server (e.g for lucene index)

Hi, I need to create a Lucene index on a javaee application startup, but i do not want to decide on the location of the index in filesystem myself. How do applications in general store any files created while running, is there any kind of store provided by the engine per application basis etc. that i can use. Best Regards, Keshav ...

Extjs listView not working correct with memoryProxy

Hello, Can someone please tell me why this store is not working correctly. I have try'd with another store that is getting it's data from the server and then it is working ok. If I have the store setup like this, it does not do columnsort anymore?? What is this store missing to get it to work??? sessieView = new Ext.list.ListView({ ...

Load default value for a comboBox extjs

how can i load a default value from my json store (remote) into a combobox , i've tried load the store before render the combo , and use setValue() i want my combo to display the first result in the store plz tell me the right way to do this and thanx ...

How to store a url in variable after onclick event?

For example, in this piece of code: <a href="www.some.html" onclick="...">www.some.html</a> What I have write instead of three dots if I want to store the url (www.some.html) in variable (var MyURL) after click on link? ...

Store user defined data after inputted

I am making a python program, and I want to check if it is the users first time running the program (firstTime == True). After its ran however, I want to permanently change firstTime to False. (There are other variables that I want to take input for that will stay if it is the first run, but that should be solved the same way). Is there...

"each" method in extjs data store

So, I got a data store in my code that I'm loading in a function. In that store I want to use the each method to append each record to the body of a panel in a certain format. What I'm trying to figure out is how to use this "each" method. Has anyone ever had to use it before? I'm relatively new to functions and programming in general s...

Does anyone know how to link from Safari on iPad to the "Top Charts" tab of the App Store application?

I have tried using the iTunes Link Maker, and also copying the links out from iTunes on OSX (which works in Safari on the desktop but not on the iPad). ...

Webhosting service that will let me store source code (.java, .cs, , .m, .h, etc.)?

I am looking for a webhosting service where I can also store source code files (.java, .cs, .m, .h, etc.) without any hassles. Any suggestions, or any alternative strategies? I thought about providing links to my repo, but I"m not quite sure if beanstalk will let me do that without a password. Thanks for any info ...

Change app name in apple store of an already released/available iOS app

Hi, I released my iOS app in Apple App Store some weeks ago and want to rename my mobile app now (I only want to add a space). I did not found an "edit name" button in iTunes Connect so I tried to find a solution via google. But I did not find anything about this. Can someone tell me how to rename the app? Is it enough the rename the ap...

Best way to store form status settings?

Hello all! I'm working on a project, that have multiple settings on a form, (selections, checkboxes, etc..) How can I save/store settings, to be able load the same settings, at the next startup? I've heard about xml, but I didnt really found any article, descibes how to do it. THank you guys. ...

Rails store custom configuration permanently

Hi, I got the following situation: I have an application configuration in my database which is needed on every request. I don't want to query this configuration on every request because of performance issues. So what I want is to query the data when the application server (mongrel/webbrick/...) starts and store it permanently until th...

ExtJS: Combobox after reload store dont set value

Hello guys. I think I have a very popular problem, but not found answer for it now. :) I got 2 similar comboboxes - at first i set my value by id - comboT.setValue("22763"); and it properly set a text value linked with this id. At second combobox i at first reload store(jsonstore) and then set value - comboC.setValue("3"); But this com...

Does Berkeley DB (Java version) support data partitioning?

Hi, I have about 5GB data to store BDB, but I found the performance is not very good. Does it support data partitioning? thanks ...

How to store CLLocation using Core Data (iPhone)?

Hi, I'm trying to save a location and retrieve the location on a map afterward using Core Location, MapKit and Core Data frameworks. What I've done is I just made entity named POI and added properties such as latitude (double type), longitude (double type) with few others. Simply put, my app saves POI with two NSNumbers. (lat and l...

Keeping variables from Captivate

Hello. I am using Captivate 5. I have a text field where the user enters their name. Once entered I am able use it throughout the presentation. If the user leaves however, the variable is lost. Is there an easy (or maybe not so easy) way to store it externally so when they return it remembers what that variable was? And perhaps where t...

Dump after some changes in CoreData Model

Hi there, I did some changes at my CoreData Model. So far, I added a attribute called 'language'. When my application is launched and I click on "Create new Customer" a instance variable Customer is created. This variable is created by: Customer *newCustomer = [NSEntityDescription insertNewObjectForEntityForName:@"Customer" inManagedOb...

How should I serialize code references in Perl?

I wish to nstore a Perl hash which also contains a code reference. Following this perldoc I wrote something like this: use strict; use warnings; local $Storable::Deparse = 1; my %hash = (... CODE => ...); nstore (\%hash, $file); I get a warning saying Name "Storable::Deparse" used only once: possible typo at test4.pl line 15.. I gues...

How can I serialize a closure in Perl?

I think this might be best asked using an example: use strict; use warnings; use 5.010; use Storable qw(nstore retrieve); local $Storable::Deparse = 1; local $Storable::Eval = 1; sub sub_generator { my ($x) = @_; return sub { my ($y) = @_; return $x + $y; }; } my $sub = sub_generator(1000); say $sub->(...

iPhone Lite version - what is allowed?

I'm scratching my head over this. I have a moderately successful app which has a free "LITE" version in addition to the full one. This is a utility app, not a game with levels, and I'm having trouble figuring out what Apple will accept for the lite version. The reason this is now an issue is that I've brought both code bases together wi...