i want 2 know vry basic concepts of computer sys,hv bit knowledge only..
Q : when we enter data through keyboard then how it is exactly gt stored?...
in binary ?or in a ascii?
Hi there, i run a C++ app from objective-c
I can successfully symbolicate my function names using Shark profiler but not with the Object Allocations instrument.à
In the detailed pane, i only see my C++ app name with the hexadecimal value for my C++ functions.
I tried to do a "File/Re-Symbolicate Document", selecting my app folder containing both my app and my Dsym file but nothing change.
Any clues?
My config:
xCode 3.2.2
iPhonoe SDK 3.2
Snowleopard (10.6.3)
Thx.
I m learning python c api functions and keen to learn python 3.1 stable version.
Found an unresolved issue recently and tried
PyModule_AddIntConstant(PyObject *module, const char *name, long value)
Runtime error occurred for this function call.
Is there something wrong with the function in python 3.1?
DELETE FROM #tItem_ID
WHERE #tItem_ID.Item_ID NOT IN (SELECT DISTINCT Item_ID
FROM Item_Keyword
JOIN Keyword ON Item_Keyword.Keyword_ID = Keyword.Record_ID
WHERE Keyword LIKE @tmpKW)
The Keyword is %macaroni%. Both temp tables are 3300 items long. The inner select executes in under a second. All strings are nvarchar(249). All IDs are int.
Any ideas? I executed it (it's in a stored proc) for over 12 minutes without it finishing.
What should be the RegEx if I want to find the text between the phrases " IF (NEW." and " !"?
Likewise I am thinking of the pattern as $pattern = '/(?<= IF (NEW.)[^ !]+/';
I am matching it as
$input = $row4['ACTION_STATEMENT'];
preg_match_all($pattern, $input, $captures);
What if I want $captures as an array, in which all values will be stored which will match with above pattern being in between of this pattern?
I have configured my J2ME application to send/receive SMS on a specific port.Is there any special way to store such SMS, sent/received by the application, on a RecordStore created by the application?
PS-Special way is in the context that the entire SMS with all its attributes are stored in 1 entry and any the attributes can be retrieved back easily.
what is the syntax (i.e. code example) in Lua so you can call a function prior to it being defined? i.e. how do you kind of create the function, but then add it's implementation further down in code.
So roughly like this:
define function name (doX) here somehow (i.e. subject of this question)
call doX here (further down in the code)
doX implemention here (i.e. all functions down at the bottom of the file)
I want to be able to find the old value of a asp.net control (textbox, checkbox etc) without relying on events (e.g. OnTextChange event). Something like "someTextboxControl.OldText" would be perfect! I imagine that it is stored in the viewstate and need to somehow get at it via a custom control. Any ideas?
Does anyone know how to count the number of times a value appears in a matrix?
For example, if I have a 1500 x 1 matrix M (vector) which stores the values of weekdays (1 - 7), how could I count how many Sundays (1), Mondays(2), ... , Saturdays(7) are stored in M?
Hi,
how can i create custom frameworks in cocoa. please tell the steps to create simple frame work like it should contain addition of two number functions in its class.
What is the advantage of using a ConcurrentBag(Of MyType) against just using a List(Of MyType)?
The MSDN page on the CB (http://msdn.microsoft.com/en-us/library/dd381779(v=VS.100).aspx) states that
ConcurrentBag(Of T) is a thread-safe
bag implementation, optimized for
scenarios where the same thread will
be both producing and consuming data
stored in the bag
So what is the advantage? I can understand the advantage of the other collection types in the Concurrency namespace, but this one puzzled me.
Thanks.
I've been encountering a seeming deadlock with one of my tables and the only place I can trace it back to is a stored procedure that uses sp_xml_preparedocument on a list of data. The data inserted, btw, consists of a 100k+ records on average. Is it possible that it is causing the deadlock? What other pitfalls does using sp_xml_preparedocument have?
i want to delete the following type of expressions from my script.
<a any text here>nothing or space here</a>
i can do it by three functions, but i think there is a way shorter.
could you help me?
thanks in advance
So I have a class A, where I want to call some class B functions. So I include "b.h". But, in class B, I want to call a class A function. If I include "a.h", it ends up in an infinite loop, right? What can I do about it?
I am pulling the dates of various posts from a database. The dates are in the following format:
2009-08-12
Numeric Year - Numeric Month - Numeric Day
How can I reformat these dates to something more user friendly like:
August 12, 2009
Numeric Month Numeric Date, Numeric Year
Assuming that the date gotten from the mysql database is stored in a variable called:
$date = $row['date_selected'];
How to create a .BAT file to download and unpack a zip file from HTTP server?
We have links like http://example.com/folder.zip and absolute folder link like C:\Users\UserName\Some mixed ??????? English Adress\
if files from zip exist in directory owerrite them.
using only native windows (xp vista win7 etc) BAT functions and files.
Could you add code example, please.
Hi,
Can anyone help me please?
I have to find the row number from 1 selected array which I stored in one separate array and randomly I'm trying to get the row number from datagridview
http://serv8.enterupload.com/i/00246/aewglahmvpr5.jpg
In other words:
if I know a column value for a given row in a datagridview (e.g. for this row, FirstName == 'Bud'), how can I get the row ID?
As you surely know Microsoft Doloto is tool which profiles you javascript code as it actually runs on the page and splits it in to two files: one file will be statically included in the footer of the page which contains stubs for all functions and loads the actual implementations (in file 2) in the background (under the assumption that only very litte javascript is needed on page load so you can defer downloading the rest).
I found Doloto not to be production ready, it meanwhile has been canceled afaik. Is there a working alternative?
I was wondering if it was safe to make GL calls with multiple threads. Basically I'm using a GLUtesselator and was wondering if I could divide the objects to draw into 4 and assign a thread to each one.
I'm just wondering if this would cause trouble since the tesselator uses callback functions. Can 2 threads run the same callback at the same time as long as that callback does not access ant global variables?
Are there also other ways I could optimize OpenGL drawing using multithreading?
Thanks
I'd like to know how to use XMLHttpRequest to load the content of a remote URL and have the HTML of the accessed site stored in a JS variable.
Say, if I wanted to load and alert() the HTML of http://foo.com/bar.php, how would I do that?
In a C project, I have a main() function in several files. When I compile I thus have an error "multiple declarations of main". Is it possible to choose in the Makefile which one of those main() functions should be used to compile ? (the other ones would then be ignored...)
I think everyone here would be knowing that, if I am logged in any of the google's website(i.e www.orkut.com), I don't need to authenticate again for www.gmail.com.
How google is managing this. I think, it would be a cookie stored on user's browser. But, if it is a cookie, how different domains are able to read this cookie.
What do you say.