Hi,
I am running Fedora Core 10 with php 5.2.9 without ldap. Now i want to remove current php installation and recompile the latest version of php with ldap and install it.
How to do this?
I'm using Visual C++ 2008 Express Edition and when i debug code:
double x = 0.2;
I see in debugging tooltip on x 0.20000000000000001
but:
typedef numeric_limits< double > double_limit;
int a = double_limit::digits10
gives me: a = 15
Why results in debugger are longer than maybe ?
What is this strange precision based on ?
My CPU is…
Hi folks, i have a function that converts an array to a hash which i would like to use across all the model, controller and view files in the rails app.
Does this violate some core design principle, or am i missing something really obvious?
one webapp project has many url
and i have to change this:
('/addTopic', AddTopic),
('/delTopic', DeleteTopic),
('/addPost', AddPost),
('/delPost', DeletePost),
to this:
('/tribes/addTopic', AddTopic),
('/tribes/delTopic', DeleteTopic),
('/tribes/addPost', AddPost),
('/tribes/delPost', DeletePost),
but ,if i add this to my project…
Looking in the jQuery core I found the folloiwng code convention:
nth: function(elem, i, match){
return match[3] - 0 === i;
},
And I was really curious about the snippet match[3] - 0
Hunting around for '-0' on google isn't too productive, and a search for 'minus zero' brings back a reference to a Bob Dylan song.
So, can anyone tell me.…
I am looking for good plotting library (line, pie, column charts) which allows to interact with user touches something like in Stocks app.
I found a core-plot library but seems like that interaction logic is not well-covered.
Please suggest what libraries can be used?
hi,
I'm having a MFC application (VS 2008) which is going to be deployed on Windows 7 machine. I need to distribute my application with debugging information, so that a debugable core will be generated in case of application crash event.
Can somebody please let me know how can I achieve this purpose ? I have read about minidump utility, just…
Hi,
I am getting this linker error:
system/core/libacc/tests/main.cpp:42: error: undefined reference to 'dlsym'
Can you please tell me where is the library on ubuntu 9.10 which contains the library for 'dlsym'?
Thank you.
Can jquery test an array for the presence of an object (either as part of the core functionality or via an avaible plugin).
Also, I'm looking for something like array.remove, which would remove a given object from an array. Can jquery handle this for me?
thanks,
-Morgan
Continuing the "Hidden features of ..." meme, let's share the lesser-known but useful features of Ruby programming language.
Try to limit this discussion with core Ruby, without any Ruby on Rails stuff.
See also:
Hidden features of C#
Hidden features of Java
Hidden features of JavaScript
Hidden features of Ruby on Rails
(Please, just one…
I am new to distutils.. I am trying to include few data files along with the package.. here is my code..
from distutils.core import setup
setup(name='Scrapper',
version='1.0',
description='Scrapper',
packages=['app', 'db', 'model', 'util'],
data_files=[('app', ['app/scrapper.db'])]
)
The zip file…
While this many not seem like a programming question directly, it impacts my development activities and so it seems like it belongs here.
It seems that more and more developers are turning to virtual environments for development activities on their computers, SharePoint development being a prime example. Also, as a trainer, I have virtual…
Hi,
I am joining two tables 'sales/order_item_collection' and 'sales/orders' by 'order_id', so that afterward i can filter sold products by 'store_id' and 'product_name'
Here is the code:
$orderTable = Mage::getSingleton('core/resource')-getTableName('sales/order');
$itemsCollection=…
Software: Microsoft Access 2007 SP2
Database File Version: Access 2000
I have an access program that I inherited from a previous employee. It uses forms for reports and since I don't have much experience in access I have continued to do this. I have created a copy of the program for another project…
Hi,on my 32-bit machine (with an Intel T7700 duo core), I have 15 precision digits for both double and long double types for the C language. I compared the parameters LDBL_DIG for long doubles and DBL_DIG for doubles and they are both 15. I got these answers using MVS2008. I was wondering if these…
from ARM DDI 01001, there is a term: process geometry, does it mean the chip size?
Caches and write buffers to improve average system performance are now commonplace in ARM® memory
systems. Core clock rates have increased at a faster rate than memory access times over recent years. This …
When using GWT 2.0.x and SmartGWT 2.2
Code as simple as:
public class SmartGwtTest implements EntryPoint {
public void onModuleLoad() {
IButton button = new IButton("say hello");
}
}
will generate the exception.
com.google.gwt.core.client.JavaScriptException:…
Hi,
I'm trying to write a simple Python script for my mobile phone to periodically load a web page using urrlib2. In fact I don't really care about the server response, I'd only like to pass some values in the URL to the PHP. The problem is that Python for S60 uses the old 2.5.4…
when I call System.getProperty("java.class.path") I only get this:
/Users/pswenson/dev/sag/gradle-0.8/lib/gradle-core-0.8.jar
The other classes in question are loaded at dynamically. Any ideas on finding the full classpath?
I'm looking to create an ID system for cataloging images. I can't use md5() since that will change if I alter the EXIF tags of the image.
I am currently using the SHA1 checksum computed by imagemagick. It works perfectly, but it's really, really slow on larger images (~15…
Hi all.
I need some opinions here.
I'm working on a Django project using buildout to get the dependencies, etc...
I use mercurial as DVCS.
Now... I need to customize one of the dependencies, so I can do one of the following:
(* The changes may not be useful for everyone…
Hello crew
I want to learn core java design patterns.
Could any one of you suggest good pdf where I could know about the design patters in java with simple examples.
Thanks in advance :-)
I have an issue with memory usage relating to images and I've searched the docs and watched the videos from cs193p and the iphone dev site on memory mgmt and performance. I've searched online and posted on forums, but I still can't figure it out.
The app uses core data…
I'm writing an application in Python where I wish to use sqlite as the backing store for documents edited by the app, with documents generally living in memory, but being saved to disk-based databases when the application saves.
Ideally I'd like to use something like an…