core

Running MPI code in my laptop

Hello everybody, I am new to parallel computing world. Can you tell me is it possible to run a c++ code uses MPI routines in my laptop with dual core or is there any simulator/emulator for doing that? Thank you. SRec ...

Not to Able analayze the Core dump issue for Multithreaded application.........(Help Required)

I am working on multhithreading application when ever the process dump it always generates core as shown below i am not able to understand where it is actually dumping. GNU gdb Red Hat Linux (6.5-25.el5rh) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welco...

Does Snow Leopard put core dumps somewhere special?

I'm trying to debug a segfault on an application I'm working on (works on linux of course, so I can't use that as my fallback for debugging core dumps). Anyhow, I've set "ulimit -c unlimited" and snow leopard reports "Segmentation fault (core dumped)" but alas there is no core file to be found. Does Snow Leopard put them somewhere spe...

Core Location while iPhone locked

Hi, I was reading your comment below: "I don't know what you mean by "power save" mode, but if you're thinking of when the screen is locked/off, that does not stop Core Location from running if your app is still running. On the contrary it's easy to run down your phone's battery much more quickly than you'd expect if you lock the phone...

Threads concept in Java

Hi, I have a doubt There are 10 different threads in runnable state. Each having priority 1 to 10. How does the CPU schedules or executes these threads? Thanks, Ravi ...

Disabling multi core programmaticaly

Is there any possible way of disabling multi core functionality on windows and just using a single core using C\C++? Any library that allows it? My application access one of our chip modules used to communicate with the host. We suspect someone else is accessing this module and changes it. The strange thing is that it only happens on a m...

Conversion from Iphone Core Surface RGB Frame into ffmepg AVFarme

Hello, I am trying to convert Core Surface RGB frame buffer(Iphone) to ffmpeg Avfarme to encode into a movie file. But I am not getting the correct video output (video showing colors dazzling not the correct picture) I guess there is something wrong with converting from core surface frame buffer into AVFrame. Here is my code : Surfac...

Intermittent fillMode=kCAFillModeForwards bug using CAKeyframeAnimation with path

I'm having an intermittent problem when I move a UIImageView around the screen using CAKeyframeAnimation. I want the position of the UIImageView to remain where the animation ends when it is done. This bug only happens for certain start and end points. When I use random points it works correctly most of the time, but about 5-15% of the t...

Core Animation Requirements.

I've been using NSViewAnimation for some time now and I've read somewhere that Core Animation actually obsoletes it if I target 10.5 or higher. But does every Mac capable of running 10.5 or higher also support Core Animation? ...

How do I change the frame position for a custom MKAnnotationView?

I am trying to make a custom annotation view by subclassing MKAnnotationView and overriding the drawRect method. I want the view to be drawn offset from the annotation's position, somewhat like MKPinAnnotationView does it, so that the point of the pin is at the specified coordinates, rather than the middle of the pin. So I set the frame ...

What does represents the hexadecimal integer showed on print\repr in python?

In an interactive session like the following one: >>> f=open('test.txt','w') >>> f <open file 'test.txt', mode 'w' at 0x6e610> what does 0x6e610 represents and what could i do with that hexadecimal number in python? ...

Core Location pop up default text

Hi guys, there is a way to change the pop up message default text of "core location" "Would Like To Use Your Current Location" with another one ? ...

animating adding/removing layers on iPhone

On the iPhone, when you add a sub layer to a visible view's layer, using either -addSublayer: or -removeFromSuperlayer, shouldn't that sub layer appear or disappear in an animated manner (ie. fade in or fade out gradually)? My program animates using layers (not views). When I change a property of a layer like position or image content, t...

Drawing performance with CGImageCreateWithJPEGDataProvider?

I've actually curious about this for the iPhone. I am getting an MJPEG stream from a server and trying to render it natively on the iphone (without the use of safari class). Reasons for this is because the safari class while CAN render MJPEG natively, does not do so at the framerate I would like. So I tried drawing it natively, but I've...

Core Data multi-threading

My app starts by presenting a tableview whose datasource is a Core Data SQLite store. When the app starts, a secondary thread with its own store controller and context is created to obtain updates from the web for data in the store. However, any resulting changes to the store are not notified to the fetchedresults controller (I presume b...

Apple Core Foundation license

Hi all, A short but sweet question: Can I use Apple's open source Core Foundation (CF classes) in a commercial product for free? That is, can I compile and link against the libraries without open sourcing my own applications's code? Obviously if I alter the original CF code, I would submit the changes. It's a very well constructed AP...

Processes sharing cores on Ubuntu system

My coworkers and I share an 8-core server running Ubuntu for our batch processes. I tend to run 4 processes at a time, each of which consumes 100% CPU per core when nothing else is running. When a coworker runs his processes (typically about 4 at a time), his also get 100% per. However, when both of us run ours (he always goes first),...

Selenium IDE - Passing a URL string variable into a conditional 'gotoIf' statement throws a Syntax error???

I am trying to store the current url (http://example.com)in a variable and compare it with another string as a condition in the gotoIf command (part of the gotoIf extension.js): storeLocation || url gotoIf || ${url}=="http://example.com" || label When I run this seleniun ide throws this error: [error] Unexpected Exception:...

How do I make the JSTL core tags work in RAD6.0?

I am using RAD 6.0, where I have put jstl.jar under the lib folder in my application. When I am using the JSTL tags, it does not give any copilation errors. But when I am trying to run the application, the core tags are not working. ...

How to remove the upper and right borders of a graph border?

Is it possible to selectively remove left, bottom, right or upper portions of a graph border? ...