what is the current state of user authentication? is it good to go with openid or another alternative, or we still have to write our own user/password?
how i suppose to do to read global variable in actionscript 2.0?
i've declared _global.MyVar="dummyContent";
may i write MyVar="anotherContent";?
or it should _global.MyVar="anotherContent"?
Disclaimer: I am a n00b.
It seems like ODBC does not support a BOOLEAN type? Is this true?
If so, what's the standard kludgearound?
Edit: I am using ADO with Delphi on Windows to write the data, but PHP 5 to read it back.
I want to write a .htaccess file for redirecting my subdomains and URL's last variable to a new location. Here is what I want to do:
http(s)://abc.example.com/books
I want my internal URL to be like:
http://example.com/?name=abc&type=books
I have already gotten the subdomain redirect to work but I am not able to do subdomain with variable in last part of URL.
How can I accomplish this?
I want to write a component that uses 2 webcams (1 integrated in my laptop , the other is a USB webcam)
What do I need to know (or have) to build a component to deal with the cameras (capture , record , movement recognition , and other image and video processing) ? and how ?
(with C++ or Delphi)
I just need to know the concepts and main techniques , any good resources or source codes would be great :)
Thank you .
i need to set a image at 128*128px on a html page. i know the way width="128px" height="128px" but are i can do it by write a parameter on image like param="128px" then he set width and height 128px;
I'm used to handle graphics with old-school libraries (allegro, GD, pygame), where if I want to copy a part of a bitmap into another... I just use blit.
I'm trying to figure out how to do that in android, and I got very confused.
So... we have these Canvas that are write-only, and Bitmaps that are read-only? It seems too stupid to be real, there must be something I'm missing, but I really can't figure it out.
hi,
I'm using jQuery-media module to embed my flash player. How can I pass the current id using the FlashVars ?
I can only write static string in jquery Media advanced settings, but I would like to pass the object id, maybe some token ?
thanks
I need to write a program in 8086 Assembly that receives data from the user, does some mathematical calculations and prints the answer on the screen, I have written all parts of the program and all work fine but I don't know how to print the number to the screen.
At the end of all my calculation the answer is AX and it is treated as an unsigned 16 bit integer. How do I print the decimal (unsigned) value of the AX register?
I'm trying to iterate through a properties file which contains a list of keys like:
message.p1
message.p2
message.p3
I don't know how many properties will be in the file, so I want to display any that are present. Is there a standard tag like <fmt:message> that can handle this, or do I need to write some jsp script to handle the loop?
I have set new division on postgress pg_operator table because i want tath when is division by zero return 0.
i have write this:
create operator / ( procedure = zero_division, leftarg = double precision, rightarg = double precision);
where zero_division is:
CREATE OR REPLACE FUNCTION zero_division(double precision, double precision)
RETURNS double precision AS
'select case when $2 = 0 then 0 else $1 / $2::real end;'
LANGUAGE sql IMMUTABLE
COST 100;
when i run value/ 0 i get error of division.
Since there is for almost everything a module and it is repeatedly said that we should not reinvent the wheel and since I do not write modules for cpan I have no need to use OO.
But my question is, is professional Perlcode mainly written in OO-style?
I have a package that extends hibernate-default and I would like to use json plugin too, but if I write extends="hibernate-default,json-default" I cannot use hibernate anymore because my session is always null. Why is my session null? If my package extends only hibernate-default session is not null.
Write a JavaScript that has two text input; one for name and one for phone number. It also has two buttons: Reset and Submit.
The name should be in the format: (LastName, FirstName, MiddleInitial.)
The phone number should be in the format (ddd-ddd-dddd)
The input validation happens when a change is done to one of the two text inputs (onChange event).
Using ObjectARX (C++) for AutoCAD 2010, can AutoCAD entities be serialized?
We need to save the serialized entity in a field in a database (Oracle, PostgreSQL, etc., not AcDbDatabase). It'OK if you show me how to save them in disk, something like this:
AcDbEntity * entity;
...
std::ofstream ofs("c:\\filename.fil", std::ios::binary);
ofs.write((char *)(entity), sizeof(entity));
ofs.close();
Thanks
In C# I could easily write the following:
string stringValue = string.IsNullOrEmpty( otherString ) ? defaultString : otherString;
Is there a quick way of doing the same thing in Python or am I stuck with an 'if' statement?
I want to write in a file but in a way that it should not delete existing data in that file rather it should append that file. Can anybody please help by giving any example related to appending a file? Thank you
Hi.
I am trying to write some data from an NSMutableArray to a plist, while keep the old plists content.
The function writeToFile:atomically: overwrites the old contents with the new, I want to append the objects in the new array to the plist.
How can this be done? Thank you.
Using SQL ManagementStudio 2008 I created SQL 3.5 Compact DB (TestCompact.sdf) and I have created subscription to existing Publication. Using SQL Management Studio it is working. I have transfered TestCompact.sdf to Windows Mobile 5 emulator device and with QueryAnalyzer for Mobile I could query existing tables in TestCompact.sdf. I don't know how to start replication synchronization on that mobile device. Do I need to write some C# code or it is possible do it more simple?
I am in the process of setting up a batch script to do a specified action if the script was run on a weekday, and an alternate action if run on the weekend.
I am almost completely unfamiliar with writing batch scripts, but I know how to write my entire script except the logic I describe above. Can someone please answer both if it is possible, and if it is at least a framework of how to implement it. Thanks in advance.
URL url = new URL("http://www.example.com/comment");
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
connection.setDoOutput(true);
connection.setRequestMethod("POST");
Is
connection.setRequestProperty(key, value);
same as
OutputStreamWriter writer = new OutputStreamWriter(connection.getOutputStream());
writer.write("key=" + value);
writer.close();
if not please correct me .
Hi,
I am looking for how to write a method that accepts some value and returns a proxy to that value where the underlying value can be retrieved with an accessor:
def p = toProxy(1)
assert p == 1
assert p * 2 == 2
assert p.underlying == 1
def p2 = toProxy(objWithMethodFoo)
p2.foo()
p2.underlying.foo()
I want to do this per object instance (not for all objects of some class) and without the need to use special 'use' constructs.
I'm new to iphone development. i want to write an app that has 3 buttons. touching each will trigger a sound.
1.wav
2.wav
3.wav
Can someone give me some hints and guide me to the right path?
I have two variable TO_DATE and FROM_DATE. My table has two fields DOJ and DOL. I want to select all the records whose DOJ < TO_DATE and DOL FROM_DATE.
How can i write an SQL query in for this??
My C code contains many functions with pointers to different structs as parameters which shouldn't be NULL pointers. To make my code more readable, I decided to replace this code:
if(arg1==NULL || arg2==NULL || arg3==NULL...) {
return SOME_ERROR;
}
With that macro:
NULL_CHECK(arg1,arg2,...)
How should I write it, if the number of args is unknown and they can point to different structs?(I work in C99)