I want to start working with Joyent accelerator over PHP. I have been using aptana IDE + Cloud for a year and I'm fed up with it.
Have you some good suggestions?
Thanks
I don't really think there is some method to do this… Anyway… How can I replace one object with another everywhere in the program? It would be like all the references to an old object start to point to a new one.
I am trying to replace my previous ugly text button with an imagebutton. However, after changing the XML file with the following ImageButton code, my application won't even start. Why?
<ImageButton
android:layout_height="fill_parent"
android:id="@+id/refresh"
android:src="@drawable/refresh"
/>
My idea is to make an application start automatically when a message from a specific user reaches the inbox of the mobile . For example if my friend sends some numbers to my mobile, the sms has to be read and validated first and then calculator ( inbuilt mobile application) has to be triggered and process the numbers from the message. Please help me with the above query.
I'm trying to implement my own IRC client as a personal proejct and I realized I needed a way to read and write from the socket at the same time. I realized I could have a reading thread which reads from the socket in the background and puts data in a queue and I could have another thread which writes data from a queue to the socket. However I have no idea on how to start with multithreaded programing or how to do it with c++. Where do I go from here?
Hi,
How can i extricate substring from string using powershell ?
I have this string: "-----start-------Hello World------end-------", i have to the hello world.
What is the best way to do that?
Thanks!
Dears,
I have a column with some text in each cell.
I want to add some text , 4 example "X" at the start of all cells.
ie.
A B
----- >>>> ----
1 X1
2 X2
3 X3
What is the easiest way to do this?
thanx
I am torn. I want to start making applications for OS X. There is a specifically under-served market that I would like to tap but I don't know if I should develop it only for the mac with Cocoa and Objective C or if I should develop it with Java and JavaFX.
I guess my question is, is Java robust enough to handle the same things as Objective C on Mac and C# (.net) on Windows?
// The first example:
char text[] = "henri";
char *p;
p = text;
*(p + 1) = 'E'; // Output = hEnri
// Now If we want to remove the "e" ie hnri, we would go for?????
*(p + 1)=?????
Please dont say start copying the array. I am looking for the best solution
I'm looking for a regular expression that can extract the href from this:
<a href="/tr/blog.php?post=3593&user=930">
There are hundreds of links on the page so I need to extract only those that contain
/tr/blog.php
So in the end I should be left with a list of links that start in /tr/blog
Thanks for any help. It's really puzzling me.
I have a team developing software in MS Visual Studio and now they want to start using MS Team Foundation Server, mainly for versioning and maybe patch and bug tracking.
They don't have any experience with MS Team Foundation Server, but they are very enthusiastic with MS products.
So whats the best free open source alternative solution? Git, SVN, CVS, Bugzilla, plugins, etc.
I am using hudson which will run scheduled builds from time to time.
Problem is that i configured a shell script which will be excuted to perform the deployment and also restarting of domain.
As hudson is on the same application server as the actual application.
My hudson will stop and also stop the shell script after the asadmin stop-domain command so it doesn't proceed to start back the domain.
What can i do to resolve this issue?
Does anyone know a good step by step tutorial for using sqlite on Android?
I've found this: http://developer.android.com/guide/topics/data/data-storage.html#db and it ok to start with, but then it wants me to jump into other source code then its difficult to follow.
I've tried others on the web, one from screaming penguin and that just kept causing errors with JVM.
Advice greatly appreciated.
I need to:
Create database, with several tables (auto id, declare type)
update
get
I gave a DVD ISO image and would like to use VLC's http function to create URL a user could access, after which the DVD would start up in full screen.
I can make this happen by accepting the defaults
vlc.exe -I http
navigating to localhost:8080 and then browsing and opening the file. How would I modify this activity so that navigating to localhost:8080 instead opens a predetermined file and starts playing it?
I load jquery into my greasemonkey script and when the user clicks the start button the script makes a bunch of ajax calls. I then empty body and append data. When i click on something and hit back instead of getting the page post script i lose all the data and need to run the ajax calls again (it can take seconds to run). How do i make it not lose the changes?
I'm trying to programmatically select the text in a textbox, and focus on it too, so that when the form is launch the user only has to start typing and it will replace what is already there.
I've been using the code:
stage.focus = _finalScoreTF;
_finalScoreTF.setSelection(0, _finalScoreTF.text.length - 1);
but it doesn't work...any ideas?
Hi All
I need to start using unit tests in my code . The problem is that i never written unit tests . Can you please recommend me some good sites and book how to write correctly unit tests and to use nunit application .
Thanks a lot for help.
I don't mean to start a holy war here, but I cannot fathom why would anybody use Visual Basic for a new project.
Can you explain me why is it used? What new applications (which a lay person may be familiar with) have been developed in it? Why is it chosen over other languages?
Thanks.
What language is smart so that it could understand 'variable a = 0 , 20, ..., 300' ? so you could esely create arrays with it giving step start var last var (or, better no last variable (a la infinit array)) and not only for numbers (but even complex numbers...)
We have a code base composed of many projects. Currently each time we add a project on SVN we must reconfigure CruiseControl to start build and test on such project.
I'm looking for a tool (better if open source) able to scan the SVN repository and find new projects by itself.
A project can be "a SVN folder containing trunk, tags, branches subfolders".
Even better if the tool supports multistaged continous integration and build on demand.
Thanks
I am attempting to make a program that will pull data such as OS, IP, Server Name, Websites, Databases, etc. in a server farm. Is there a .Net library that allows you to connect to servers and get information such as this with the proper authentication? I do not really know where to start, thank you.
Most of the servers are 2003 standard/enterprise both x86 and x64.
Guys, in one of the excersises in TC++PL B.S. asks to:
"Write a function that either returns a value or that throws that value based on an argument. Measure the difference in run-time between the two ways."
Great pity he never explaines how to measure such things. I'm not sure if I'm suppose to write simple "time start, time end" counter or maybe there are more effective and practical ways to do it?
Thanks in advance.
Hi
I am developing a parser that needs to put key value pairs in hashmap.
But a key can have multiple values which i can do in this way
HashMap<String,ArrayList<String>> .
But what happens if number of keys are very large and it start matching with other key's hashcode.
Will that rewrite previous key's value ?
thanks
-devSunday
Hi!,
I have setup svnserve server (1.6.5,plain, without apache) on Fedora.
I start the svnserve with the command
'svnserve -d --foreground --listen-port=3690 -r /usr/local/svn-repos/proj-test'
When user trying to checkout working copy from the local machine with command
'svn checkout svn://127.0.0.1/proj-test' gets following error
svn: URL 'svn://127.0.0.1/proj-test' doesn't exists
but, 'svn checkout svn://localhost/proj-test' works.
I am curious to know why using 127.0.0.1 with svn:// fails?
Thanks.
Banani