I'm currently in need of a (preferably open-source) free push server, that supports both linux and windows. I need something similar to the Ajax Push Engine, but that project unfortunatelly does not work on windows (I could use a virtual machine, but that's not what I'm looking for).
I need to be able to push information to/from a python daemon, from a php script, to/from javascript and to a Blackberry application (built with java).
Is there any tool that could help me with that?
I've also looked into the Orbited project but frankly it lacks a lot of documentation and it's been very complicated to understand it. I'm not sure if it could work for me since it isn't actually a push server, but rather a proxy for it's built in MorbidQ server (or am I wrong?).
Would a technology like Advanced Message Queing Protocol work for a project like this? Something like RabbitMQ or ActiveMQ?
Thank you very much for the help.
I have a couple of backed up .pst and .ost files that were used with a server that is not accessible anymore. On my local machine, I was able to Add... the .pst file to my fresh Outlook 2007 and access the emails. However, adding an .ost file does not seem to be an options in the Accounts Settings dialog.
Is it possible to import the .ost file, or convert it to a .pst w/o the aid of the exchange server?
I have activities A and B. The A is the one with LAUNCHER intent-filter (i.e. the activity that is started when we click the app icon on home screen).
A launches B using startActivity(new Intent(A.this, B.class)).
When the user has the B activity open, and then put my application into the background, and later my application's process is killed, when the user starts my application again, B is opened instead of A.
This caused a force close in my app, because A is the activity that initializes the resources my app needs, and when B tried to access the uninitialized resources, B crashes.
Do you have any suggestions what should I do in this situation?
Apparently in IE8, there is this option 'Preserve Favorites website data', even if I uncheck it the browser will still keep the cookies until the last window is closed.
Problem scenario. say I logged in to somesite.com, then without out logging out, I closed the window, but there was still another IE8 window open. In this case IE8 will keep the cookies of this site. So If I opened the site again (same window or another) the site won't ask for login info.
The client wants the web application to be logged off as soon as the user closes the browser. Can I force delete the cookies IE8 is saving? or maybe I can stop the user from closing the window until I simulate a click on logout button?
Hi, I developing program witch have to write some data in file whom are stored in network computer witch are protected by password.
Now I'm doing this way - open connection with cmd then write data.
static bool ConnectToSrv()
{
String myUser = "domain.local\\user";
String myPass = "pwd";
String cmdString = "net use \\\\otherPC\\folder\\ /user:" + myUser + " " + myPass;
try
{
ManagementClass processClass = new ManagementClass("Win32_Process");
object[] methodArgs = { cmdString, null, null, 0 };
object result = processClass.InvokeMethod("Create", methodArgs);
return true;
}
catch (System.Exception error)
{
return false;
}
}
public void writeDate(string data){ }
I believe there must by better way. I mean the .NET way.
Does anybody know how to do it? :)
Thanks
I have been trying to create a macro to be executed every time I open the document. I tried to use the Open event, but it does not seem to be working. The code is below:
Private Sub Workbook_Open()
Cells(3, 1) = "WOWWW"
End Sub
(It might seem ridiculous but I am trying to make any chunk of code to work, to move further with the start-time macro).
Each time I open the file, the cell (A3) does not seem to be changing. Any ideas on this?
I don't know if it matters, but I don't open the file directly. I open it through opening the Excel program and then File Tab - Open - File. That is because I have a problem if I open the file directly, which is another matter.
I am using a Lucene.Net index and want to give the user an option to move the index, but am having trouble closing it down so the directory/contents can be moved (I keep getting access denied exceptions). I need to be able to have some more information so I can debug this problem, such as being able to tell what files are currently open, and as much information about each use as possible.
Alternatively, is there any way to simply force close a bunch of files so they can be moved? This would make things a lot easier to solve.
Hi,
I'm developing an application which requires that state of entities be read from a database at frequent intervals or triggers. However, once hibernate reads the state, it doesn't re-read it unless I explicitly close the session and read the entity in a new session.
Is it a good idea to open a session everytime I want to read the entity and then close it afterwards? How much of an overhead does this put on the application and the database (we use a c3p0 connection pool also)?
Will it be enough to simply evict the entity from the session before reading it again?
The following javascript opens a pop-up in Firefox, Safari, IE, and Google Chrome:
window.open("http://google.com", "foo", "toolbar=yes,location=yes,menubar=yes")
However, in Google Chrome the toolbar (with the usual forward and back buttons, etc.) does not appear on the popped-up window. (Tested on both Windows and Mac.)
How can I fix this? I would like the user to be able to navigate forward and back using the tools with which they are most familiar.
Thanks!
I have a Windows XP computer with Chrome set as the default browser. However whenever I click a link embedded in a pdf document I'm viewing with Adobe Reader 8.2.1 I get a popup security warning asking if this is ok, and then the Reader opens the link in IE.
Is there a way to change Adobe Readers default browser?
After using relational databases as back-end storage all my Windows programming life (currently .NET), I want to experiment with a document-oriented database by this Wikipedia definition; it can be standalone or layered over an existing non-commercial database system.
What open source document-oriented database solution would you recommend from your own experience and why?
A nice to have would be a .NET provider.
Admittedly this is somewhat subjective and potentially argumentative so keep it real folks and I'll do the same - also your answers will be invaluable to others looking into document-oriented databases for the first time on Windows. I'm sure the overall value of your answers will outweigh any biases.
Thanks.
Is there any addin or tools available for web browser to view multiple web sites on one page or tab? Or is there any web service to allow me to customize one page for multiple web sites?
For example, within a page, there are some tools to allow me to define regions like a table or several frames. Then I'll be able to add url to each cell or frames. After settings, I'll be able to view several sites on one tab or page. Not sure if there is any tools available?
What is the difference between IEditableObject and IRevertibleChangeTracking (both from the System.ComponentModel namespace)? It looks as if the first supports explicit transaction whilst the second is more implicit - but the net result is the same. How should I go about implementing this in code? At the moment I do nothing in BeginEdit and call RejectChanges and AcceptChanges in EndEdit and CancelEdit respectively. My problem is that this will also accept the changes made prior to the BeginEdit. Is that really what MS wanted or am I trying to implement two mutually exclusive interfaces?
What are cross-platform and cross browser and license free/Open source framework to create Touch/Multitouch based Web apps/site using HTML/CSS/JS, for mobile devices, specially for latest versions of Android, Blackberry, Windows 7, iphone and ipad available? For desktop websites I'm a jQuery lover.
I know Sencha but it's not free I think.
I know jQtouch but it's only for iPhone and I also know jquery mobile but I'm not cofirm, is it as powerful as Sencha? It's not necessarily for me to go with jquery mobile, if there are another better framework available than this
I want to make compatible with Android, Blackberry, Windows 7 also. not only for iphone and ipad.
I'm new on this bash script thing. Can you show me some example on writing Bash script. I want to write a script that can read from a filename and save it to a variable; increment the value of the variable and write that variable back to the file and save it. This is what I have started and stuck on it so far.
#!/bin/bash
# if file exist
#echo "Testing \ "$1""
if [ -f "$1" ]; then
echo "$1 does exist"
else
echo "$1 does not exist!"
echo "Creating $1"
touch $1
echo "This is test" > $1
exit 1
fi
#echo "Testing \ "$2""
if [ "$2" == "" ]; then
echo "Enter the filename"
elif [ -f "$2" ]; then
echo "$2 Fille does exist"
else
echo "$2 File doesn't exist"
echo "Creating $2"
touch $2
exit 1
fi
counter=1
echo -n "Enter a file name : "
read file
if [ ! -f $file ]
then
echo "$file not a file!"
exit 1
fi
Hi there,
i have a very simple question about Google Maps API.
In this case, i have on my page a map on the left, with about 40 points, and the list of these 40 points on the right.
So you know, when you click on a point of the map, the "info window" is displayed so you can see some informations about it.
I can't find how can i do to simply open the "info window" on the map, by making a "hover" on the corresponding link. (and by the way, close all the others info windows)
Did someone have an idea about this?
Thanks a lot, have a nice day! :)
Hi there,
Opening a tab-delimited data file in Excel to view & manipulate the data is a very common operation around here. However, by default Excel (2003/4 or 2007/8) will read the columns in a "General" format, which occasionally does terrible things like turning "1/2" into "2-Jan".
Is there a way to tell Excel never to do this, but always process the values as Text, without going through the format wizard, selecting all of the columns, and doing it manually?
Extra points if this works in both Mac and Windows versions of Excel.
Hi, not sure if this is the best forum or if there's someplace better...but I need to write a script/macro for Open Office.
I am sending a letter to 4-6 different people (A,B,C,D).
The format for, say, four people would be:
Dear A,
I'm writing to B,C, and D.
Dear B,
I am writing to A,C, and D.
etc.
Sometimes it may be 4. Sometimes 6. Sometimes 10. But it needs to cycle through all and do so listing the ones not in the "dear" header.
I learn best by taking apart something that already does something and figuring out why decisions were made in which manner.
Recently I've started working with Perl's CGI::Application framework, but found i don't really get along well with the documentation (too little information on how to best structure an application with it). There are some examples of small applications on the cgi-app website, but they're mostly structured such that they demonstrate a small feature, but contain mostly of code that one would never actually use in production. Other examples are massively huge and would require way too much time to dig through. And most of them are just stuff that runs on cgiapp, but isn't open source.
As such I am looking for something that has most base functionality like user logins, db access, some processing, etc.; is actually used for something but not so big that it would take hours to even set them up.
Does something like that exist or am i out of luck?
We're getting this a lot lately.
Windows 2008 Server
Windows 7 & Vista Client PC's
Microsoft Office 2007
When a user tries opening a file on our network drive (word doc, excel spreadsheet, etc) the software reports the file is locked by 'another user' even when it's not. They're also seeing random 'Sharing Violation' errors when trying to save files to the network.
Possibly the same manifestation of the problem shows up when a user tries saving a local, on their own drive, non-network files and they get 'Can not save due to a Sharing Violation'.
My question is pretty self-explanatory. I prefer firefox, but my organization send out intranet links that simply work better in IE. Is there a way to do this?
I'm running a script in the background which loads an image with feh depending on which application is currently in focus. However, whenever the script opens the image, window focus is lost to feh. I was able to circumvent this by using xdotool to switch back to the application that was originally in focus, but this introduces a short annoying period of time where the focus is switched from feh to the application.
My question is this: is there any way to launch feh in the background such that window focus is NOT lost?
System: Fedora 17, Gnome 3, Bash
Thanks a ton!
Hello,
I am trying to get remote internal setup for our business. Basically, I just want to remote desktop into any computer on the network. I don't want to use LogMein, because I only want it to be internal for security.
Basically, I am looking for a way to just install VNC clients on all the machines, and on my machine have centralized manager for all the machines that are connected to it.
Doesn't have to VNC - just needs to work and be free.
All systems running Win 7 64bit
It is often said that some programming languages exist that once grasped can open your mind and change the way you write software. A sort of "software design enlightenment", we can say.
I heard this about Lisp, Smalltalk, Haskell, pure functional programming in general..
What are your experiences about this?
I know that the right language to use depends on your needs, but I would like to know the one that better improve your programming skills in general.
What do you think would be the best language/paradigm to learn to end up being a better programmer in the long run?