Could anyone please provide me with the code or link to send and receive broadcast messages if possible using UDP?
I have been stuck in a problem and hope if u guys could help me resolve it.
Thanks
Hi guys, sorry for the vague question title.
But anyways,
I have here a subdomain which i wish to pass on wildcard sub-subdomains and make a proper htaccess redirect to a sub-folder (relative to the server root) equivalent to the wildcard value such that
*.subdomain.domain.tld will redirect to subdomain.domain.tld/*
where * = wildcard value
I hope you get my question. Can someone shed some light on this? I would appreciate it very much =)
Hey, guys. I want to ask if someone can give me an example of creating child through xml. I mean creating custom components through xml (for every xml tag you create your own custom component and then add it as a child to the stage). I hope is it clear enough... :)
hi all,
i hv an array ("array A", which contains 3 objects, fox ex, to,from,message) in class "A".
and in class "B",i m having another array ("array B"),which fills tableview,of class "B" only.
i need to fill tableview,with the values of class A's array (i.e array A,with the object values, to,from,message).
how can i do it??
how to copy array from another class ?
i hope i m clear with my question
regards
shishir
I have a json array say
{
"People": {
"Person": [
{"FirstName": "John", "LastName": "Smith"}
{"FirstName": "Joe", "LastName": "Bloggs"}
{"FirstName": "Wendy", "LastName": "Deng"}
]
}
}
And I want to convert this into a javascript array (something like this)
var persons = [ ["FirstName", "John", "LastName", "Smith"], ["FirstName", "Joe", "LastName", "Bloggs"], ["FirstName", "Wendy", "LastName": "Deng"] ];
How do I accomplish this? Hope my question makes sense and I realise the javascript array initialization may not be the correct way to put it.
Thanks.
I have some controls bound to a BindingSource control.
I want to do a calculation when the value changes in one control and set the result on another control.
Do i update the textbox the property is bound to or do i update the underlying entity which would update the control anyway(i hope)?
When i change textbox A...textbox B is updated with the new calculated result..this works fine...but i have noticed that when i Leave textbox A..textbox B reverts back to its original value...what is going on here!
Erm. I hope I am seriously overlooking something.
I want to rotate a 2d vector (kartesian) v by a certain angle phi.
I can't find a function that generates the appropriate matrix
or just performs that function.
I know how to do this by hand. I am looking for a ublas utility "something"
that does this for me.
Hi,
I have a site that supports localization. I would like to be able to switch between english and french.
Let say the user is currently at URL:
http://www.mysite.com/en/Home
I would like to redirect to:
http://www.mysite.com/fr/Home
If the user click on a "French" link how to change the URL part to "fr" yet not change the "Home" part of the URL (basically I want preserve the current location of the user)
Hope my question makes sense! I'm probably missing something very basic?
Hey there,
i have tried to render some files with HAML in Rails 3. But HAMl doesn`t work.
My testfiles have the extension .html.haml.
In the GEMFile i have written gem 'haml' and executed the bundle install
When i call my testapp i become an error like this:
Template is missing
Missing template posts/index with {:locale=>[:en, :en], :formats=>[:html], :handlers=>[:rjs, :rhtml, :rxml, :builder, :erb]} in view paths "/Users/piet/Sites/blog/app/views"
Hope, i become some help here.
Peter
Hi,
I have an AIR application and would like to connect to an LDAP server to obtain some information for a particular user.
The url is something like ldap://ldapservername:389/
I would like to pass the userid/Name as the parameter and hope to retrieve the Full Name, Email address etc.
Can you please provide suggestions regarding implementing this? A Windows specific solution is also fine with me.
Can anyone recommend a library - free, or commercial but affordable (
There are some listed here:
http://en.wikipedia.org/wiki/Linear_programming#Solvers_and_scripting_.28programming.29_languages
I am just starting out with LP and hope someone can recommend something.
I am trying to basically minimize pricing for cell phone subscription services.
Hi there, i saw your comment about getting rid of the setText deprecated error, and using cell.textLabel.text it works perfectly for OS 4.0 but it doesn't work on 3.1.3, the app crashes at the loading screen, have you got any ideas?
Hope to hear back
Gemma
I'm looking for a way to add a Subject Alternative Name in my certificate request in the IIS 6.0 certificate creation wizard.
It seems I can only fill the Subject field and not the Subject Alternative Name.
Trying to follow this guide (http://support.microsoft.com/kb/931351) using certreq.exe doesn't help, it fails without any hint except that it prints its manual.
Any suggestions appreciated, I hope I won't have to export my public key and generate the csr with openssl :/
Now I plan to parallelize my sequential solver. I hope I could run several copies of my solver(maybe with different parameters) in parallel simultaneously on a multi-core computer. can I do this with TBB? The reason I ask this question is that the book says: do not introduce anything in your code that will not allow single-thread execution. Any experts can explain this issue? Thanks.
Many search engine have the 'did you mean' functionality.
Is there a simple way to use (N)Hibernate (e.g. ICriteria) to find an entity (e.g. keyword) based on similarity. Please note that I do not mean Expression.Like or something like this.
I hope this question makes sense.
Thanks.
Christian
Hi,
I am developing an android application where I need to manipulate the background image of the rows in listview on certain conditions. Initially when the listview is loaded all works properly. But when I scroll down to the listview and come up again the background image changes. Can someone tell me the reason why its happening so?
Hope to get the reply soon.
Regards
Sunil
class Question < ActiveRecord::Base
belongs_to :author
end
class Author < ActiveRecord::Base
has_many :questions
end
When I find some questions, I usually need to get their authors at the same time, so I use:
Question.find(:all, :include=>:authors)
But I don't write the ":include" part everywhere. I hope I can define the "include" somewhere only once, and when I find questions, the author will be automaticly loaded. Is there any way to do this?
Hi.
I'm planning to develop kind of DJ application which loads musics from music library.
And of course it'll sell in app store.
So question is, does it possible distribute in AppStore?
I found it was forbidden at least about 6 month ago...
But I hope it is possible now...
I hope this gets a response.
Say Person A sends an SMS to a shortcode in a certain syntax. How could a confirmation SMS be sent to Person A's mobile phone automatically ("Your message has been received successfully!"), after determining that the SMS received from Person A is in the correct syntax? I'm a total newbie when it comes to SMS - so if anyone could describe the entire end-to-end process/architecture that could make this happen, I'd be grateful!
Hello everyone
I have a project in which I have constructed myself's multi viewcontrollers.
I also hope to use UINavigationViewController's convenience in one module of function.
Is it possible?
Welcome any comment
Thanks
interdev
Hi, i need a multilingual coredata db in my iphone app. I could create different database for each language but i hope that in iphone sdk exist an automatically way to manage data in different language core data like for resources and string.
Someone have some hints?
hi
i'd like to run an android emulator with disk image. so I tried this
./emulator -kernel kernel-qemu -system system.img -ramdisk ramdisk.img -initdata userdata.img -partition-size 512
then error massage is :
if you really want to NOT run an AVD, consider using '-data '
to specify a data partition image file (I hope you know what you're doing).
so I found userdata-qemu.img from /out/
but i can't find that file.
someone help me
Hi ...
is it possible to save images in a webbroswer control directly to harddisk, without needing to download them again from the internet ?
lets say i navigate to a website, that has 15images, they are all viewed in my webbrowser, but how can i save them now without the need to download them?
hope my question is clear
thanks in advance
Contact Title has a default value which is Sales Person. Anyhow, when a user
click Edit on the chosen ListView record, i need Contact Title to have
the right value that corresponds to the chosen record. For example,
if user clicks edit, the fields on the left side will be filled with
values. In this case, i want Contact Title to view the right value.
How can i do it?
I hope my question is clear enough.
Hi,
In MS Excel, consider i have the word 'Microsoft' in a cell. And in the cell below I want to type the word 'Microhard'.
When I start typing Microhard, the word Microsoft appears shaded in black.
Now how can I select the part 'Micro' alone from Microsoft and type 'hard' alone. Hope my question is clear.