I'm not sure what happened, but my installer is in a weird state--when I install my MSI, it doesn't seem to be running the current version of the code (I'm using Custom Actions). I verified it by placing some MessageBox.Shows and sure enough, they are not popping up.
It's possible I may have had a few unsuccessful installs previously which may have put the installer in a bad state...but how do I go about resolving this?
Thanks...
I've got a number of Virtual Servers running at a pretty big Cloud provider. They are all running Windows 2008 R2. I have a CISCO ASA firewall in front of them. Currently, I've got all ports blocked except 80/443/21/3386 (for Remote Desktop).
I asked to have a VPN enabled on the firewall and they said it's easy to do BUT I need to use the 3rd party Cisco software. Now, I don't want to get into a debate about it .. but we don't want to install anything extra on our -client- computers.
We all use Windows 7 and we love using the built in VPN client to connect to other private LANS we have setup in other locations.
So i'm wondering what options I have to create a VPN tunnel to our private cloud LAN?
All our cloud servers are part of WORKGROUP, so there's no Active Directory .. nor do we want to install all that.
Secondly, we know we can open up a firewall port - so any ports for starting a VPN is fine!
Lastly, I was thinking of just using one of the existing servers as the VPN server (and using the Windows VPN software) .. but I'm not sure this is a good thing?
Remember - we just want to use the baked in VPN software in Windows 7 .. which is PPTP or SSTP or L2TP/IPSEC. I would -LOVE- to use some free OSS software.
For usernames/passwords? We'd probably just have one account .. like U:Hithere P:whatever..
so we don't need any hardcore account management, like Active Directory, etc.
So does anyone have any ideas?
hi, i was working on the localhost and every thing was just fine, but when i upload to my site it get alot of errors
why is that ?
(sorry for my bad english)
in visual studio is the member dropdown, where you can select all members of the current type alphabetically ordered.
is there an option which allows grouping of the members? i.e. all constructors before all methods before all properties before all events before all fields?
if there is not, bad for me, i guess—it would really enhance productivity
So I changed the NS records with registrar to point at the new webhosts DNS servers and edited the SOA record there, deleting the new hosts default MX records and instead putting in the old ones for the old web\mail hosts. The website A record is however pointing at the new webhosts servers and the site comes up fine.
But none of this should cause me to loose access to mailboxes on my old hosts mail server right? I log into the control panel on the old host, all the mailboxes are there, all the passwords are fine but I can't log in using either webmail or pop3, says incorrect log-in/password. I even created a new mailbox and password for it respectively, but it would not let me log in.
For what its worth I did not change\delete the records for 'A' on the old webhost zone file, since I am not hosting the site with them anymore and NS records are pointing to other hosts DNS servers/zone file so that shouldn't matter right?
The old hosts mailserver is also not simply down, I can tell because through the control panel I setup a mail forward for one of the existing inboxes and when sending mail to it, it receives it and forwards it fine. So from this I can deduce that I have correctly inputted the old hosts MX records into the zone file hosted on the new hosts DNS and the mail is being sent to the old hosts mail server(s) and is successfully forwarded by it. But why can't I log into those account/inboxes anymore ?
Hello,
I've not run backups for the past dont't remember anymore years for my personal stuff until waking up lately and realising contrary to my prior belief: Actually. I care! :)
Now I have a central data server at home where I want to attach an external media to, to which I want to save backups of my most important stuff, like years of self-written scripts, database dumps, you name it.
I've tinkered with rsync+ssh over the last two years, also tried tar over ssh, but don't know the simplest and most easy to maintain way to do it yet. Heres my workload:
A typical LAMP-Server (<5GB Data) which I'd like to backup fully so lots of small files connected via 10Mbit
My personal stuff (<750GB Data) from a Mac connected via GE
My passwords in an encrypted container (100Mb) from OpenBSD connected via serial-PPP
My E-Mail from the last ten years (<25GB) as Maildir which I need to keep in readable format
Some archives (tar.*) which I need to backup only once and keep in readable format
(Deleted my ideas, as I'm here for suggestions)
What I need:
1. Use an ssh-tunnel for data transfer
2. Be quick with lots of small files
3. Keep revisions
4. Be sure the data I save is not corrupted
5. Intelligent resume functions and be able to deal with network congestion :)
6. Compressed and optionally encrypted storage
7. Be able to extract data from backup easily (filesystem like usage would be nice)
How would and with what software would you backup this stuff?
Hints to tools that can help solve only part of my problem (like encryption) also greatly appreciated.
Greets
I have the following piece of code in my controller
def index
session[:previous_url] = URI(request.referer).path
if session[:previous_uri] != new_path
redirect_to registration_path(id: current_user.associate_username)
end
end
However this does not actually work and i get a bad URI error.
I just want to check if the request came from a particular page and if not redirect it to another page. I would also like to know if there is a better way for doing this?.Thank you
OpenAL is such a huge thing, and the documentation doesn't tell what values are acceptable for properties. That's really bad.
I'm using the document: "OpenAL_Programmers_Guide.pdf"
Whenever I look up a property I'm left in the dark what value might be ok. For example, take AL_PITCH. What value?
Maybe someone wrote a better one? Or is there something like a wiki place with more details?
I have 2 arrays with different sizes, in some cases one array can have more elements than the other array. However, I always need to compare the arrays using the same id. I need to get the other value with the same id in the other array
I have tried this, but the problem happens when I compare the two arrays in a loop when the other array has more elements than one, because duplicate the loop and data , and it does not work.
Here is what I've tried:
<?php
/// Actual Data Arrays ///
$data_1=array("a1-fruits","b1-apple","c1-banana","d1-chocolate","e1-pear");
$data_2=array("b1-cars","e1-eggs");
///
for ($i=0;$i<count($data_1);$i++)
{
/// Explode ID $data_1 ///
$exp_id=explode("-",$data_1[$i]);
///
for ($h=0;$h<count($data_2);$h++)
{
/// Explode ID $data_2 ///
$exp_id2=explode("-",$data_2[$h]);
///
if ($exp_id[0]=="".$exp_id2[0]."")
{
print "".$data_2[$h]."";
print "<br>";
}
else
{
print "".$data_1[$i]."";
print "<br>";
}
///
}
///
}
?>
I want the following values :
"a1-fruits"
"b1-cars"
"c1-banana"
"d1-chocolate"
"e1-eggs"
Yet, I get this (which isn't what I want):
a1-fruits
a1-fruits
b1-cars
b1-apple
c1-banana
c1-banana
d1-chocolate
d1-chocolate
e1-pear
e1-eggs
I tried everything I know and try to understand how I can do this because I don't understand how to compare these two arrays. The other problem is when one size has more elements than the other, the comparison always gives an error.
I FIND THE SOLUTION TO THIS AND WORKING IN ALL :
<?php
/// Actual Data Arrays ///
$data_1=array("a1-fruits","b1-apple","c1-banana","d1-chocolate","e1-pear");
$data_2=array("b1-cars","e1-eggs","d1-chocolate2");
///
for ($i=0;$i<count($data_1);$i++)
{
$show="bad";
/// Explode ID $data_1 ///
$exp_id=explode("-",$data_1[$i]);
///
for ($h=0;$h<count($data_2);$h++)
{
/// Explode ID $data_2 ///
$exp_id2=explode("-",$data_2[$h]);
///
if ($exp_id2[0]=="".$exp_id[0]."")
{
$show="ok";
print "".$data_2[$h]."<br>";
}
///
}
if ($show=="bad")
{
print "".$data_1[$i]."";
print "<br>";
}
///
}
?>
Hey,
im using a connection to a server in my php script, opened with fsockopen() and i want it to share between different pages so i serialized it and saved it in a session variable but it seems that that ia a bad idea because when i do this nothing happens...
Not even an error.
The problem is that this connection requires a handshake so i cant reconnect everytime
Another question, whats the timeout of fsockopen or does the connection stay alive if the. original php script which called it is closed?
Hello,
I have got four classes A, B, C and D.
Class A has a member b of class
B.
Class B has a member c of class C.
A has a member D* dpointer;
This hierarchy has to be preserved (in fact this is a GUI with app, window, panel as A, B and C).
Now B and C must use a method from *dpointer.
Is there something more elegant than giving dpointer as a member of B and C ? Is it bad ?
file.each_line do |line|
#skip the first one/not a user
3.times { next } if first == 1
first = 2
end
How can I get the 'next' to well, "next" the iteration of the each_line, instead of the 3.times iteration? Also, how can I write this to look better (ie: first == 1 looks bad)
Is there any good framework for comparing whole objects?
now i do
assertEquals("[email protected]", obj.email);
assertEquals("5", obj.shop);
if bad email is returned i never get to know if it had the right shop, i would like to get a list of incorrect fields.
Yet another newbie question..
Let's say I have an user table in declarative mode:
class User(Base):
__tablename__ = 'user'
id = Column(u'id', Integer(), primary_key=True)
name = Column(u'name', String(50))
When I have a list of users identifiers, I fetch them from db with:
user_ids = [1, 2, 3, 4, 5]
users = Session.query(User).filter(User.id.in_(user_ids)).all()
I dislike using in_ because I think I learned it has bad performance on indexed fields
(is that true/false?).
Anyway, is there a better way doing that query?
Thanks!
Hello,
when my user enters data validated as wrong a red circle with a white exclamation mark is shown in the right part of the textbox with the wrong data. The error message is only shown when the user hovers the textbox with wrong data.
Do you think that is a bad User experience ?
I could show the red error message text to the right side of the textboxes if there would still be space...
I was happily running my CentOS 5.4 before something bad happened that somehow corrupted the 'nautilus' package. It stopped me from using the default Gnome Desktop.
Then I installed (using yum) the KDE and nautilus later on. Now, KDE is running perfectly with one exception that it takes around 10 minutes before showing up the Login Screen and only a blue screen with mouse pointer keeps showing during those 10 minutes.
Thanks in Anticipation.
Regards, Talal
I'm new to Doctrine and ActiveRecord.
How should I filter a table after it has been loaded? (i suppose this is preferred over sending multiple queries?)
Is this 'good' or 'bad'?
class UserTable extends Doctrine_Table {
function filterByGroup($group) {
$ut = new UserTable();
foreach($this as $u) {
if($u->group = $group) $ut->add($u);
}
return $ut;
}
}
When I look back my codes that written earlier time, I found something terribly bad.
Whenever I want to delete a record in the database, I did like this :
$.post("deleteAction.do",{recordId:10});
I cannot prevent a malicious user visit my database operation url directly :
deleteAction.do?recordId=10
What's the solution for this kind of problem ?
I am working in Train Traffic Controller software project.
My responsibility in this project is to develop the visual railroad GUI.
By now I am using some svg graphics in that GUI.
I prefer them because of their scalability talents.
Is it good or bad idea to use svg in a desktop application?
Any suggestions?
In a spring mvc + spring core app, we have have a view layers, a facade, a service layer, a dao layer and a stored-proc based persistance layer.
The service layer is unaware of the clients that utilitize its methods. Is it fine to propagate raw http requests into the service layer? Or is it bad practice and a violation of the loose coupling principles?
If it is, then what's a clean workaround?
First time I am bit disappointed in StackOverflow cause my http://stackoverflow.com/questions/2571727/c-concurrency-vs-java-concurrency-which-is-neatly-designed-which-is-better question was closed.
My intension was just trying to gather knowledge from programming guru's who worked in both the programming technologies. Rather closing this question, please help me by discussing what is good, bad, and ugly in multi-threading part in both the platforms.
It is also welcome, if someone would like to compare with .Net 4.0 with JDK 6 (or JDK 7)
I've done 'git pull', and received a merge conflict. I know that the other version of the file is good, and that mine is bad (all my changes should be abandoned). How do I do this?
unmerged: _widget.html.erb
You are in the middle of a conflicted merge.
I was wondering if anyone new how to get access the metadata (the date in particular) from jpg, arw and dng files.
I've recently lost the folder structure after a merge operation gone-bad and would like to rename the recovered files according to the metadata.
I'm planning on creating a little C++ app to dig into each file and get the metadata.
any input is appreciated.
( alternatively, if you know of an app that already does this I'd like to know :)