core

Jquery issue in ready handler

I have a very strange issue with a simple set of jquery stmts. I have the following in my jsp $(document).ready(function() { alert("in doc ready"); $("input[name='receivingOption']").each(function() { alert($(this).val()); if($(this).val() == $("#deliveryMethod").val()) { alert($("#" + $(this).attr("id") + "label").att...

Push method for core motion and frequency of Accelerometer/Gyroscope Data

When push method is used to get accelerometer/gyroscope/device motion data, unfortunately the gyroscope and the device motion maximum frequency cannot exceed 72Hz on average (in fact the data is not periodic at all either). Even worse, if only the gyroscope data is recorded (without starting device motion update service: i.e. using only...

Marshalling argument exception

The server starts fine, but the error occurs when I try to add any job from the Client.I get the following error java.rmi.MarshalException: error marshalling arguments; nested exception is: java.io.NotSerializableException: snaq.db.CacheConnection at Production_Stub.addGRN(Production_Stub.java:1515) at Producti...

What is the use of Core Data and why we need it in iPhone development?

Hi friends, What is meant by Core Data in iPhone? Why we need it? What is the basic methods in it? Thanks in Advance ...

Magento extension not registering in core resources table

I am writing a Magento extension and I just cannot get it to show up in the core resources table. I believe I am declaring the resources part of my config correctly. Can someone help me wrap my head around this? Thanks in advance! <?xml version="1.0"?> <config> <modules> <CTRL_Analytics> <version>0.2.0</version> ...

How to generate core dumps for daemon processes in centos?

Hi, I have some daemon processes that crashes every now and then and I want to know how I can enable core dump generations. I know that by default on linux ulimit for core dumps is zero so I need to set it to unlimited if I want to see core dumps for processes that I am running. But what I want to do is to generate core dumps for daemon...

iPhone - Core Data Question ??

I have 2 entities : User, Address. I have set the relationship each User can have many "Address". I am not sure how core data works but from my understanding, every time i call insertEntityForName it creates and stores an object. (also a row in table) So the question: Doesn't the following code store a duplicate address in core data? ...

Core Animation Image sequence

How would i go about creating an image sequence with core animation. I would like to: add image1 for 1 second then remove image add image2 for 2 seconds then remove image add image1 for 3 seconds then remove CGImageRef image1 = [self getImage1]; CALayer *image1Layer = [CALayer layer]; image1Layer.bounds = CGRectMake(0, 0,...

64 bit issue causing core

I have recently migrated the code fom 32 bit to 64 bit and have a query. I am geting core in my code after 64 migration. int main (int ac, char *av[]) { char myTable[51]; memset(myTable, 0x00, sizeof(myTable)); myFunc(ac, av, myTable); } myFunc(int argc, char *argv[], char* myTable) { Config config; /*** confi...

iOS: Performance of UIView animations vs CABasic/CAKeyframe animations.

Is there a difference in the performance of UIView animation vs CA Animation blocks? I understand they are all interfaces to Core Animation, but am looking to squeeze the most performance vs resources per animation. Thanks. ...

Callback for kAudioSessionProperty_AudioRouteChange not called in one case

Hi all, I want to be notified if headphones are plugged in or plugged out. I'm currently doing this using a property listener like this: AudioSessionAddPropertyListener (kAudioSessionProperty_AudioRouteChange, myCallback, self); This works perfectly well in all cases except in one, it goes like this: Launch, iPhone is unmuted, no he...

CGAffineTransformMakeRotation before a CABasicAnimation

I'm performing a rotation of an UIImageView in place first before performing a rotation animation: // rotate to the left by 90 degrees someView.transform = CGAffineTransformMakeRotation((-0.5)*M_PI); Then calling a rotation on the view by 180 degrees... but it seems like it is rotating the image starting from the original posi...

IPad Core Data Leak ?

Im using XCode 3.2.3 and have created an app using the SplitView template with Core Data. When i run the default app on the device (3.2) in debug mode with instruments running i am seeing a leak. When the default app has no items added to the table view within the split view there is no leak. But after adding items and running the app a ...

Process terminated by signal 6, core shows kind of loop in libc

Hi On analysis of the core of a process (terminated by signal 6), on LINUX, stack bt shows : Core was generated by `/opt/namsam/pac_rrc_qx_e1/bin/rrcprb'. Program terminated with signal 6, Aborted. #0 0x0000005555ffb004 in epoll_wait () from /lib64/libc.so.6 (gdb) bt #0 0x0000005555ffb004 in epoll_wait () from /lib64/libc.so.6 #1...

What are all the steps should be taken while shifting a core data programs location?

Hi friends, I did a program using core data and saved it in my desktop. The entities, relationships are available in .xcdatamodel file. Then i copied my entire program into some other folder in disk and erased the original file placed in desktop. Now the copied program did not work. The managed objects are null. What changes must i do ...

Getting data from selected row in NSTableView linked with Core Data

Hey, So i am working on a Core Data app and I have an NSTableView linked with the Core Data. The table has three columns. Name, Position, Salary. I also set up a double click action. now what I need is that when I double click on a row i get the three values of that row. I can do the following: NSArray* myArray = [arrayController select...

iOS Core Data - design pattern

Hi, I'm a little stumped with an issue that I think goes back to my design. I'm constructing a TableViewController based on a mainly static set of rows (4) - using that as a basis for a UITableView. Each row will kick off varying different views (detail, and UITableViews)... In my managed object context for the top view I can easily n...

make previously created classes part of an object graph in core data

I have an iPhone project with several classes I need to make NSmanagedObjects so I can use them with Core Data, I know how to create new classes from the model, but is there a way to do the opposite, link the classes with the object model graph. ...

Add MouseListener to JCheckBox

Hello friends, I wrote this code for alert message shown to user when they uncheck the checkbox. It only woks when I mouse key is realized with in the checkbox. If user click the checkbox and release out of the checkbox it allow user to uncheck the checkbox and doesn't shows alert message. How can I solve this bug? public void mouseC...