I know its a bit too early, but I've been trying out Go (Google's Programming Language) and its kindof annoying to write code in gedit.
So, my question: What do you use to experiment with Go?
I have a problem with rewrite rule
my link
is www.something/group/group_id/place/groupName
for this
rewriteBase /
RewriteRule ^group/(.)/(.)/(.*)$ /group.php?gid=$1 [QSA,NC,L]
somet times my url may come www.something/group/group_id/groupName.
In Both cases I have to rewrite to group.php and I need only groupid. How to write rewrite rule to work in both situation?
Hello I am trying to write code for a function called Triplet getTriplet()
and I must use find and atoi in this fuction to call the array[3] = {0, 1, 2} and find the "," and find the "()" in the program? I am so lost. I have read and read and cannot locate any informatin which really touches on the subjects enough to give me an understanding of what I am suppose to do. Please help if you can! Thanks in advance.
i am using border on object.
like
.box{
border-left:solid 1px #000;
border-right:solid 1px #000;
border-bottom:solid 1px #000;
width:50px;
height:50px;
}
may i write this in shorthand?
I just created model with String array and array list of string array.Like this
public class LookUpModel implements Parcelable
{
private String [] lookup_header;
private ArrayList<String []> loookup_values;
public void writeToParcel(Parcel dest, int flags) {
dest.writeStringArray(getLookup_header());
};
}
I have implemented parcelbale then write for String [] but how to do for the ArrayList<String []> and that values need to pass to another activity.Thanks in advance.
is that correct to write a constructor like this?
class A
{
A::A(const A& a)
{
....
}
};
if yes, then is it correct to invoke it like this:
A* other;
...
A* instance = new A(*(other));
if not, what do you suggest?
Thanks
I used to write javascript functions
Utility = function (){};
Utility.SwapMember = function(name,id){
return ...
};
Utility.GetCommnaNo = function(originalNo){
return ...
};
..
alert(Utility.GetCommnaNo(totalCnt));
it's quite a bit nice way to make functions get together.
But I think there must be better way.
do you have any better way?
All,
I'm working on a Real-time system, VxWorks I think, I'm saving application settings to a file. What's the best way to handle preserving the settings if the system shuts down or loses power in the middle of a file write? All I can think of is shuffling a few files around or reducing the frequency at which i Save variables in order to reduce incidents.
I am using Apache Common Logging in Desktop Application.
private static final Log log = LogFactory.getLog(Utils.class);
How can I direct, Apache Common Logging to write to disc log file, when I perform
log.error(null, exp);
Thanks.
I need to write a batch file to set the system environmental variables as shown below
WRD_WF_ROOT=e:\wrd_ntl_v23
WRD_Wld_ROOT=e:\wrd_ntl_v23
and I need to run the script for 250 users .
Hi,
How I can write a phone number in the xhtml file and when the user clicks (on the number) the iphone call automatically (to that number)?
Any ideas?
Thanks :-)
Is there any way to write to the XCode build transcript? What i want to do, is throw a warning if a device is not attached to the computer instead of an assertion failure in my unit test cases (some cases rely on an attached ipod).
I thought of something like the standard compiler warnings (only with custom message).
Thanks.
Is it possible to write a script that will login to an application using uname/pwd?
the username/password are not passed in through POST (they dont come in the URL)
Basic steps I am looking for are:
Visit url
enter uname/pwd
click a button
click a link
get the raw html to make sure it does not have 500 error
Is that possible to do in any language?
Please point me to some examples as well
I have a .NET app which works in 32 and 64 bit.
I would like to write one single installer that installs to c:\program files, not c:\program files(x86) regardless of the platform.
From this link:
http://msdn.microsoft.com/en-us/library/w1behyzx(v=VS.90).aspx
it doesn't look possible. Is it the case?
I'm in problem session in server. It's server problem or coding problem?
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0
Hello, I need to save objects - instances of classes - in my app like some filetype. How I can write own serializer/deserializer for it?
Or exist some easier way how to save objects to some filetype?
Using of io.serialization was commented as not so good solution for "real" app. Why?
What is the value of document.write(false == null). It should be true right (converted to same type before comparing - null is converted to false), if null is false then comparision should return true, but printing false. Why?
I have a table company which holds the company_id, company_name and other details.
I have a table subcontracts which has a company_id column that maps to company.company_id.
How can I write a select statement to get all companies which have not been assigned to a subcontract? IE The company_id cannot be found in subcontracts.company_id
How can I write Join statements on dataset..
I have data in xml format..I can load that data into a dataset..
but how do i fetch data from two datatables using a join query