core

Learning using layers and CoreAnimation for iphone

Except for the official docs, what is a good resource for learning how to use CALayers and Core Animation correclty? ...

Java java.util.ConcurrentModificationException error

Hi all, please can anybody help me solve this problem last so many days I could not able to solve this error. I tried using synchronized method and other ways but did not work so please help me Error java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(Unknown Source) at java.util.AbstractLis...

Tomcat SOLR multiple cores setup

I have spend all morning trying to set up multiple cores on a SOLR installation that runs under Apache Tomcat server without success. My solr.xml looks like this: <solr persistent="false" sharedLib="lib"> <cores adminPath="/admin/cores"> <core name="core0" instanceDir="/multicore/core0"> <property name="dataDir" value="...

Grails internals : Auto mapping and Domain object creation

Hello, I am trying to make a taglib to represent an object (to read and display at the UI). When creating an object (save method in the controller), I see the domain class and association are created by the auto assignment of parameter def Book = new Book(params) It also maps complex types (for eg: joda time). I wonder about the ...

CORE Keygen Problem

Hi, after fighting several versions of the CoreKeyGen created by some "minamoto" guy, a new version has appeared. This version is particularly sophisticated and seems to modify the actual binary itself, using a dylib known as libbassmod.dylib (this is in the keygen's mac os folder). Has anyone ever come across this & can give me advic...

How to delete drupal's unused core modules correctly?

Hi I want to delete the unused drupal modules like ( blog, Forum, taxonomy ...) but I'm worried if I delete the modules from the modules directory I might cause an error (now or in the future) . is it safe? and if I deleted the corresponding tables what will happen? the reason for this is because I want to deliver the site to my clien...

[Cocoa] Core Animation with an NSView and subviews

I've subclassed NSView to create a 'container' view (which I've called TRTransitionView) which is being used to house two subviews. At the click of a button, I want to transition one subview out of the parent view and transition the other in, using the Core Animation transition type: kCATransitionPush. For the most part, I have this work...

How do you delete rows from UITableView?

This has been bugging me for hours now and i have not been able to figure it out. I am importing data into a tableview using core data and NSMutableArray. As shown below. CORE DATA ARRAY NSMutableArray *mutableFetchResults = [CoreDataHelper getObjectsFromContext:@"Spot" :@"Name" :YES :managedObjectContext]; self.entityArray = mutable...

Efficiency of while(true) ServerSocket Listen

I am wondering if a typical while(true) ServerSocket listen loop takes an entire core to wait and accept a client connection (Even when implementing runnable and using Thread .start()) I am implementing a type of distributed computing cluster and each computer needs every core it has for computation. A Master node needs to communicate w...

UITableView with Shake and play.

hi all i am trying to make a musical app for iphone. the app is simple. there is a couple of musical note sample (caf) files. when user taps the predefined positions on uıview(like strings). app plays note sample and add a string value to a nsmutablearray about note. played note lists displays in a table. now i want to add a shake an...

draw text using coregraphics in iphone

Hi How to draw text on imageview using coregraphics in iphone ...

Core Animation 'flip' animation

I'm looking to use Core Animation to simulate a flip clock animation in a Mac application. Currently I have three CALayer's representing the top and bottom half of the digit, and a third used to represent the flip animation (a solution found in the follow article: Creating an iPad flip-clock with Core Animation. The animation of the fli...

AS3 Core Lib and Adobe Air update frameowork conflicts

Hello i am working on an Adobe air html/ajax application in which i need as3Core lib and Air update framework. Update framework work only if I remove as3Corelib from my code. But they both are essential for my project. Btw i am using only JpegEncoder from as3Core lib. Thanks For reading :) ...

How can I get CPU load per core in C#?

Hi, How can I get CPU Load per core (quadcore cpu), in C#? Thanks :) ...

Is it possible to symbolically reference a Perl CORE module?

I know I could easily do something like sub sin { sin($_[0]); } and symbolically reference that for every function I need to symb ref, but I'd just like to know if there's a way to do something like {$foo}(123); vs. &{$foo}(123); which works, but not for core functions. Thanks. ...

How to change the default behavior of overwriting when GCC -fstack-protector-all is set?

I would like to use the GCC -fstack-protector-all option on release mode. The main issue is that when there is an override a core is built. I would like to plug something that will just dump the stack and let the program continue. Is there a way to do that? ...

automatically restart an application after a core dump

I have a linux process but I am taking some core dumps some times. Simple question: Is there any way/method/program/whatever that is capable of restarting a process that got killed? Thanks. ...

backing up user data

in my app the user saves data in archive using core data and sqllite. 1. is there a way letting him the option to back up his data and restoring it in the future? 2. does the user info is backed up with the iphone regular back up? thanks shani ...

Is NSManagedObjectContext autosaved or am I looking at NSFetchedResultsController's cache?

I'm developing an iPhone app where I use a NSFetchedResultsController in the main table view controller. I create it like this in the viewDidload of the main table view controller: NSSortDescriptor *sortDescriptorDate = [[NSSortDescriptor alloc] initWithKey:@"date" ascending:YES]; NSSortDescriptor *sortDescriptorTime = [[NSSortDescript...

Pre loaded database on iPhone?

Hi, I have recently developed an app using core data as the storage db. The app allowed the user to read and write to the db. I am now developing a new app which the user doesnt need to write anything to the db, instead the app just needs to read the data. The data has relationships etc so cannot just use a plist or something similar. M...