Hello,
How do I compress/decompress a string in VB.NET ?
I am trying to send long string through the Network and need them to be as small as possible before sending.
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,
how can I bind the Content of a ContentControl to an ObservableCollection.
The control should show an object as content only if the ObservableColelction contains exactly one object (the object to be shown).
Thanks,
Walter
Hello all
I got this question which asks me to figure out why is it foolish to write a regular expression for the language that consists of strings of 0's and 1's that are palindromes( they read the same backwards and forwards).
part 2 of the question says using any formal mechanism of your choice, show how it is possible to express the language that consists of strings of 0's and 1's that are palindromes?
Hello
Quite simple:
<a4j:commandButton id="bob"
action="#{MyBacking.doAction}"
image="/img/btn.png"
reRender="stuff"
oncomplete="#{not empty MyBacking.myCondition ? #{rich:component('myModelPanel')}.show()" : <do nothing>}"
ajaxSingle="true">
</a4j:commandButton>
Thats obviously invalid EL. What's the most concise method I conditionally show myModelPanel in this way?
Thanks IA
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
I am importing Tables from a Oracle DataBase, using a VB.NET dataAdapter. I use the "fill" comand to add the imported data to a DataSet. How is it possible to define a specific column of a DataTable as PrimaryKey, after the DataTable is already filled with data?
Thank your for your help.
hello
i converted recently from wxpython to pyqt and im still facing alot of problems since im still noob in pyqt
so is it possible to detected if user pressed (CTRL+key ) in pyqt ? and how ?
i've been trying to find an answer for this for 3 days . if you know website or a good place to learn pyqt, it will be highly appreciated
thanx in advance
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,
I'm a bit confused about Javascript undefined & null.
Firstly what does if (!testvar) actually do? Does it test for undefined and null or just undefined?
Secondly, once a variable is defined can I clear it back to undefined (therefore deleting the variable).
Thirdly, can I pass undefined as a parameter? e.g:
function test(var1, var2, var3) {
}
test("value1", undefined, "value2")
Thanks,
AJ
Hello, I'm using boost singleton from thread/detail. There is in manual, that constructor should have signlature: boost::restricted. But I can't find any reference for this type in boost library. Why do I need in this and where I can find it?
Hello, I am starting with spring-roo, so I downloaded it and now I'm trying to export the variable.
To get it, I tryed:
PATH=$PATH:/Users/myUsr/spring-roo/bin
export PATH
PATH variable
my-Name-3:~ myUsr$ echo $PATH
/sw/bin:/sw/sbin:/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/X11R6/bin:/Users/myUsr/spring-roo/bin
In this path (/Users/myUsr/spring-roo/bin), there is roo.sh
But then, I can not run the command roo as it is suposed to be.
Any idea??
Thanks in advance
hi i want to execute a command that is saved as a string
e.g
test.bat
call temp.bat "echo hello world" "echo welcome"
temp.bat
set first=%1
set sec=%2
%first%
%sec%
please tell me how to do this
thanks
I want to pass a command as a command line argument from one batch file to another
e.g.
first.bat
call test.bat "echo hello world" "echo welcome "
test.bat
set initialcommand=%1
set maincommand=%2
%maincommand%
%initialcommand%
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've been trying to parse a UTF-16 encoded xml file in Ruby (1.8.7), and I can't seem to find how to do it by searching (google and stack overflow)
Here's the xml file url:
http://www.abc.net.au/triplej/feeds/playout/triplejsydneyplayout.xml?_5366
Getting the xml string from Net::HTTP and passing it to REXML, then calling logger.info xmlDoc.inspect produces: <UNDEFINED> ... </>
Any ideas?
Cheers
Hello Friends,
there was a web application, that you could configure so that
over the api, your app could post the error logs into that
application.
it was a paid service and the free version allowed you to do like
1 report a minute.
if any of you remember this service, please post it as an answer.
thank you :)
I want to execute python code from C# with following code.
static void Main(string[] args)
{
ScriptEngine engine = Python.CreateEngine();
ScriptSource source = engine.CreateScriptSourceFromFile(@"F:\Script\extracter.py");
source.Execute();
}
I have the problem at line source.Execute(), I got error "No module named difflib".
What is wrong in my code?
This is my python code (extracter.py).
import re
import itertools
import difflib
print "Hello"
Hello, I have a os commerce site with a ssl installed but when you go to it does not redirect you to https://www.microcomputerctr.com
Please help.
I am trying to get my products listed with Google products but it keeps disapproving me
Hello,
I am trying to find out how to get the all row in one group.
I want to manipulate each row when a group is expanded or collapsed.
Also, I want to do the following. I want to have a check-box on the header. Selecting the check-box shall check/un-check all the child rows under the group.
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...
im trying to redirect "search.php?q=somethinghere" to "search/somethinghere/" but I can't do it! I'm trying to send form "<form action="search/" method="get" name="search">" like this but url goes to "search/?q=somethinghere"
RedirectMatch 301 ^/search.php?q=(.*)$ http://domain.com/search/$1/ this is also not working. whats the problem?
I don't want "?q=" in URL.
Hello,
I requested a feature on Delphi's uservoice(link) ,but I didn't understood the answer of Nick Hodges.
What version of Delphi supports SmartLinking?
How do I enable this option in Delphi 2009/Delphi 2010?
Thanks in advance.