Hello,
In Google Maps API v2, I was using map.clearOverlays() to remove the marker and draw them again.
How can I do that using Google Maps API v3 ?
Thanks
Hello,
Im making an application in cocoa and wanted to see if some strings in it were easily accessible so I ran OTX on it and sadly all of my code was found. Is there a method I can use to make my code more "secure" or at least encrypt/hide the strings? The reason I want to encrypt the string is it's a password for a server. I don'd need it really secure I just don't want the password to be so easy to find.
Thanks for any help
Hello,
I have a malformed page to scrape, and have had a hard time getting the correct XPath for YQL. I can scrape individual fields that I need using, for example:
//*[@id="cell_12345"]
But what I really need to do is return all elements who's ID begins with cell_. Something like:
//*[@id="cell_"*]
How do I do this?
Also, if anybody can point me to a good XPath reference it would be very helpful.
Thanks!
Hello, complete noob to Haskell here with probably an even noobier question. I'm trying to get ghci output working and am stuck on instance declarations. How could I declare an instance for "(Show (Stack - Stack))" given:
data Cmd = LD Int
| ADD
| MULT
| DUP
deriving Show
type Prog = [Cmd]
type Stack = [Int]
type D = Stack -> Stack
I've been trying to create a declaration like:
instance Show D where show = Stack
but all my attempts have resulted in illegal instance declarations. Any help and/or references much appreciated!
Hello,
Im astonished. Im trying this simple calculation in a Java application:
System.out.println("b=" + (1
- 7/10));
Obviously Im wainting for "b=0.3" in the output but here's what I get:
b=1
What?! Why this happens?
If I make:
System.out.println("b=" + (1-0.7));
I get the right result which is "b=0.3".
What's going wrong here?
Thanks!
Hello.
SpeechSynthesizer allows peaking different voices by using
SelectVoiceByHints(VoiceGender, VoiceAge)function (as I understood). But no customization happens if I change the gender and voice age.
Can you explain why? And if I'm doing something wrong, what is correct way to do that?
Thank you.
Hello! I was looking though a fellow developers code when I saw this ..
for (;;){
....
....
....
}
I have never seen ";;" used in a loop. What does this do exactly?
Hello,
I'm trying to use the Gamma distribution from boost::math but it looks like it isn't possible to use it with boost::variate_generator. Could someone confirm that? Or is there a way to use it.
I discovered that there is a boost::gamma_distribution undocumented that could probably be used too but it only allows to choose the alpha parameter from the distribution and not the beta.
Thanks!
Hello all,
Lets say I have 1 - 1,000 in a list and I click on 250. When I push the back button I want to go bag to 250 not all the way back up to 1.
Is this possible?
Hello. How can I change the selection color on a ListView. By default, when the user selects an item it shows a blue background. I want to change this to dark grey, or something...
Thanks for the help!
Hello,
it gives me this error:
Traceback (most recent call last):
File "C:\Users\Public\SoundLog\Code\Código Python\SoundLog\Plugins\NoisePlugin.py", line 113, in onPaint
dc.DrawLine(valueWI, valueHI, valueWF, valueHF)
File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\_gdi.py", line 3177, in DrawLine
return _gdi_.DC_DrawLine(*args, **kwargs)
OverflowError: cannot convert float infinity to integer
How can I avoid this to happen?
Thanks in advance ;)
Hello,
Does ROWLEX support SPARQL?
Does ROWLEX support SQL Server?
Does ROWLEX act lik Joseki server?
Where can I find more detail information regarding ROWLEX besides http://rowlex.nc3a.nato.int/HowToUse.aspx?
Thank you in advance,
Paul
Hello everyone,
i have one problem when i sort the NSMutablearray using date and time wise.
Does anyone have idea how can i sorted array date and time wise
Thanks in advance
Hello.
Writing a program on C, using libnet and libpcap to impersonate an RSH client and inject my own command on the server machine, running RSHD.
As I understood, the command should be in the 'payload' of the ACK packet, but in the format, that RSHD will pass it to the shell.
How should I assemble the packet to achieve this?
I am learning GWT for web development and came across a piece of code I can't really understand.
helloBtn.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
Window.alert("Hello!");
}
});
If someone could explain to me what it is doing that would be great.
Thanks, John
Hello...This code produces a mess... What am i doing wrong???
cell=$("<td>");
if(normal.exam_type=="Exam_Boolean")
{
var input=cell.append("<input>").last();
input.attr("type","hidden");
input.attr("name","exam.exam_Normal['" +normal_id_unique + "'].boolean_v");
input.attr("value",normal.normal_boolean);
Hello,
I have been developing facebook applications for quit some time now but I have not yet been able to figure out how to monetize facebook applications that I develop and whether anyone is earning from facebook applications in the first place? I have recently heard though there are some facebook applications earning good deal, how?
Note: Not sure whether to ask this question here, migrate accordingly if not applicable here. Having said that facebook application development is something done by we programmers so I thought this is appropriate to ask here.
Thanks
Hello,
I'm working on Dijkstra's algorithm,and i really need to find all the possible shortest paths,not just one.I'm using an adjacency matrix and i applied Dijkstra's algorithm,and i can find the shortest path.But i need to find all the paths with that minimum cost,i mean all the possible solutions,if they exist.If anyone have an ideea and can help me,i would really appreciate it.A link would be fine too.
Thank you.
Hello, I'm studying ASM 8086 theoretically on highschool. (that means that I study ASM 8086 on a notebook, and never got to run it over a computer).
And I don't understand - what will happen if I do this:
MOV AL, F2h
ADD AL, 20h
What will the computer do? (what will be the value of AL,AX, CF,ZF?)
and what will happen if I do this:
MOV AH,F2h
ADD AH,20h
Thank you !!
Hello All Members
I am newbie in php.Can any body tell me how i install ffmpeg, ffmpeg-PHP, Mplayer, Mencoder in Windows XP and php version should be 5.3.0 or Wamp server release July 11 2009/Xamp Server release 2009/12/23.
I make search on google and i find tutorial but that tutorial work with previous version of php 5.2.8 .
So if some one tell me step by step guide how to install FFMPEG ffmpeg-PHP, Mplayer, Mencoder in winxp.
I am very thankful.
Highly Appreciated
Best Regards
Hasnat
Hello:
I am using the following tcl code to store a file from my deskstop into a Sqlite database as blob data ($fileText is a path to a text file):
sqlite3 db Docs.db
set fileID [open $fileText RDONLY]
fconfigure $fileID -translation binary
set content [read $fileID]
close $fileID
db eval {insert into Document (Doc) VALUES ($content)}
db close
I have found many resources on how to open the blob data to read and write to it, but I cannot find any resources on openning the blob data as a file. For example, if $fileText was a pdf, how would I open it, from Sqlite, as a pdf?
Thanks,
DFM
Hello Experts,
I have data like this
d b c
a d
c b
a b
c a
c a d
c
if you analyse, you will find the appearance of each element as follows
a: 4
b: 3
c: 5
d: 2
According to appearance my sorted elements would be
c,a,b,d
and final output should be
c b d
a d
c b
a b
c a
c a d
c
Any clue, how we can achieve this using sql query ?
Hello,
Am struggling a bit with this.
Am declaring:
BYTE *pImage = NULL;
Used in call:
m_pMyInterface-GetImage(i, &imageSize, &pImage);
Visual C++ 2003 compiler error:
error C2664: 'CJrvdInterface::GetImage' : cannot convert parameter 3 from 'BYTE **__w64 ' to 'BYTE **& '
A reference that is not to 'const' cannot be bound to a non-lvalue
The method called is defined as:
void CMyInterface::GetImage(const int &a_iTileId, ULONG *a_pulImageSize, BYTE** &a_ppbImage)
{
(...)
Any help much appreciated,
Bert