As far as I know, the multi-core architecture in a processor does not effect the program. The actual instruction execution is handled in a lower layer.
my question is,
Given that you have a multicore environment, Can I use any programming practices to utilize the available resources more effectively? How should I change my code to gain more…
I have recently written a Hello World application using SmartGWT and noticed that the size of the application is huge. In my case it is over 600kb just for that application.
I think that size is obscene so I narrowed the culprit down to two core libraries, ISC_Core and ISC_Foundation which combine for a total size of 649kb. Is there anyway to…
I just setup a Extra Large Heavy Computation EC2 instance to throw it at my Genetic Algorithms problem, hoping to speed up things.
This instance has 8 Intel Xeon processors (around 2.4Ghz each) and 7 Gigs of RAM.
On my machine I have an IntelCore Duo, and matlab is able to work with my two cores just fine. On the EC2 instance though, matlab…
Hi all,
I'm needing to install the eclipse JDT.Core plugin locally (eg download the file with site.xml etc), as opposed to installing it remotely due to the horrible firewall at work.
Can anyone suggest where to download it so i can do the local install?
Thanks
Hi,
i am trying to add method or variable declarations to org.eclipse.jdt.core.dom.CompilationUnit, but I can't figure out how to achieve that.
If I am using CompilationUnit.types().add(...) the element is added as a sibling, not as a child element.
I've really searched a lot now, but I don't believe it's such a big deal.
Thanks for your…
Hello all!
I have a Java / Spring MVC 3 application, using Hibernate and a MySQL database.
In my controller, I have this source code:
Set<ConstraintViolation<Person>> failures = validator.validate(p);
if (failures.isEmpty()) {
Project project = this.projectService.findProjectById(projectid);
Person newPerson =…
I'm using Ubuntu 11.10 on my notebook as the main OS. How ever, I've been facing a serious problem:
Every time I try to suspend it, or it just stays idle for a while, the computer shuts down, instead of suspending. It actually seems to be suspended, but when I press the button the awake it, it turns on, the open works are all lost.…
I'm trying to understand the process for enabling an a core extension (dom) in php. When I run phpinfo, I see '--disable-dom' in the configure command. Am I supposed to re-install PHP?
On solaris i can run the pmap command on a core file to get the memory map of a crashed process. Unfortunately the pmap command available on HPUX and Linux doesn't provide this option. Any pointers how i can get this information on these platforms?
Thanks!
I'm going though a computers system course and I'm trying to establish, for sure, if my AMD based computer is a little endian machine? I believe it is because it would be Intel-compatible.
Specifically, my processor is an AMD 64 Athlon x2.
I understand that this can matter in C programming. I'm writing C programs and a method…
I'm using Ubuntu 12.04 (upgraded from 11.10), everything seemed to work fine until today when my laptop monitor suddenly stopped working.
Here are the facts:
My laptop is a Dell Latitude E6410, Intel graphics.
External Monitor is attached through a docking station.
Everything worked fine for about 6-7 month, then upgraded to…
For using all the cores of a quad core processor what do I need to change in my code is it about adding support of multi threading or is it which is taken care by OS itself. I am having FreeBSD and language I am using is C++. I want to give complete CPU cycles to my application at least 90%.
Hello,
As the title said, I have a CAF file and I want to insert that file into a video file using ffmpeg(Programmatically ) using C.
CAF file has Linear PCM audio format
I am successfully able to build the video file and now want to add the audio to the video file from CAF (Core Audio Format) file.
Can anyone provide a…
I have a wireless to usb adapter, and I'm having some trouble to install the drivers on Ubuntu.
First of all, the readme says to use the make command, and I already got errors:
$ make
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-22-generic'
CC [M] …
As in the title, I've got this problem with my Kubuntu 12.04.
At first I've thought that the whole system was hung, but it happened again 5 minutes ago and, while the keyboard and the touchpad stopped working, the music was still playing, so I guess that's just an…
I am starting to think I simply need to accept a small loss and sell my new ASUS K73E. Because I really don't enjoy computing when I have to deal with Windough$ and this windows 7 64 bit on my new ASUS is even worse than the old machines with XP.
I have written to…
Hi guys. I'm having a problem using ActiveSupport's core extensions on a gem I am developing.
I had it working with AS 2.3.8, but as soon as I wanted to port it to 3b4, the extensions stopped working and my test results are filled with lines such as:
undefined…
I installed ubuntu 12.04 LTS 3 days ago and since then wireless feature and touchpad gestures are not working. Tried everything on internet but still unsuccessful. I cant upgrade to ubuntu 12.10.
These are the following comments I tried. Please help me.
EDIT:…
I have an issue that when I try to write pipe sign "|" and space after that, I sometimes get wrong type of space (\240) and my command fails.
This issue persists on different shells.
How could I fix this?
I am using Finnish keyboard layout.
…
I've got a relatively complicated Core Data relationship structure and I'm trying to figure out how to set up value dependencies (or observations) across various to-many relationships. Let me start out with some basic info. I've got a…
Since the release of VS 2010 I've seen F# more strongly advertised by Microsoft. What are the core benefits of using this language? What problems does it most naturally lend itself to? What is the learning curve like?
Scannerz just gave my MacBook logic board a big fat F!
I upgraded from Snow Leopard to Mountain Lion about 3 weeks ago. The system was running short of memory so I upgraded it. The system was running fine for about 2 weeks.
Yesterday…
i found this code in http://code.google.com/p/verysmallforumforgae/ manin.py:
from django.core.paginator import ObjectPaginator
but i can't find ObjectPaginator ,my python's version is 2.5
where is it ?
thanks