What is the worst user interface you've ever had to use? One that made you want to somehow locate the creators over the internet, personally fly to their location, and then beat them severely with a large trout.
What made it so terrible? Was it too many screens, ill-marked buttons, or just really annoying dialog boxes showing up everyw...
Must be a simple answer but I am at a loss, here is the code that is returning an error. I have tried with and without the starting slash.
I won't know the full path, I want it to be relative from the exe, and that is the relative path. I tried escaping the slashes.
My problem is that i get "error opening file" when the file is there. ...
How often do you solve your problems by restarting a computer, router, program, browser? Or even by reinstalling the operating system or software component?
This seems to be a common pattern when there is a suspect that software component does not keep its state in the right way, then you just get the initial state by restarting the com...
What is the worst security hole you've ever seen? It is probably a good idea to keep details limited to protect the guilty.
For what it's worth, here's a question about what to do if you find a security hole, and another with some useful answers if a company doesn't (seem to) respond.
...
Boost deserialization of contained object fails when performed from a constructor, but succeeds otherwise.
E.G.:
ContainingClass::ContainingClass() {
pNA = new objectArray*[NUMBER]; // allocates ptrs
// ...
pNA[ii] = new objectArray(SIZE);// allocates object array, and object array
// has...
I have tried all the obvious:
- chmod
- php.ini
- reinstalled magento
Anything else?
...
I'm trying to use the SSL_CTX_use_PrivateKey_file function in OpenSSL under Linux, but it returns false. The surrounding code has been ported from Windows, where everything runs fine. Is there something that must be done differently depending on system?
I've compiled the OpenSSL library myself (default config etc) under Ubuntu and am us...
Install Shield 2009 Premier: Basic MSI Project.
Deploys some dll to system32 (and others to other directory)
Uninstall of it doesn't delete these dlls from System32 directory. So i added a custom action which forcefully deletes them & it did my job.
But I needed a patch of that msi setups. I created it from Install Shield & it just repl...
Hello y'all.
I'm a bit miffed. Actually, a bit more than that, but never mind.
The problem revolves around a jQuery gallery called 'Galleria'. You may have heard of it. It's quite aesthetically pleasing and since my client is a Photographer, I thought I'd display all of his images in a Galleria gallery.
You can see the site, in it's t...
Our product is a distributed system. The modules I work on are fairly new, quite rigorous, well tested. They were developed with recent best practices in mind. Other modules can be considered as legacy software.
While I'm vigilant about everything that happens within modules I'm responsible for, I'm under constant pressure to work with ...
I am an ASP.NET MVC newbie. I am getting a very strange error when I attempt to add a new strongly-type view in my controller. I am using a basic class, with no dependencies, with the View content set to "List". I am using a master page. The view name is a standard "Index". This used to work just fine but it all of a sudden started ...
Hi StackOverflow, I've got a neat question here.
There's a utility called reg.exe thats been shipped with Windows for quite some time. Its very handy to import .reg files from scripts, modify values from scripts, etc, etc. So when making a copy of it for a script scenario ("Why not use the copy in system32?" -> Software Restriction Poli...
I have this code here:
NSString *post = [NSString stringWithFormat:@"deviceIdentifier=%@&deviceToken=%@",deviceIdentifier,deviceToken];
NSData *postData = [post dataUsingEncoding:NSASCIIStringEncoding allowLossyConversion:NO];
NSString *postLength = [NSString stringWithFormat:@"%d", [postData length]];
NSMutableURLRequest *request = [...
I have a ruby script that does a few perforce operations (through the scripting API) then simply ends:
def foo()
...
end
def bar()
...
end
foo()
bar()
puts __LINE__
exit 0
#end of file
...and while the LINE will print out, the process never ends, whether the exit(0) is there or not. This is ruby 1.8.6, primarily on the mac, but...
The following code sample works perfectly under SQL Server 2005:
using (TransactionScope ts = new TransactionScope()) {
using (SharedDbConnectionScope scope = new SharedDbConnectionScope()) {
MyTable t = new MyTable();
t.Name = "Test";
t.Comments = "Comments 123";
...
I have tho following clean function in my build script and I'd like to know how I can improve it.
<target name="clean" description="Clean output directories.">
<!-- Must not fail on error because it fails if directories don't exist.
Is there really no better way to do this? -->
<delete includeEmptyDirs="true" failonerro...
Adding text to a grid in flex
adding the grid to a pdf with some other elements on there as well.
text is not showing up in some cases. I've tested myself silly on the computers i own but there doesnt seem to be a problem.
However, the person i made this for keeps saying text doesnt show up. I've seen the results of his instance of thi...
Hi, I've been working on a site that has a lot of PHP/Smarty involved, I've been asked to re-skin a webstore checkout process, but during this we've discovered this issue. This particular quirk is one part of a tax calculation that doesn't get sent to the browser in IE for PC and Chrome/FF for the Mac. It's NOT in the output source in th...
I've just found myself in situation where I needed to handle exception I'll probably never get, so out of curiosity, let's do a small poll.
Do you validate the presence of resources in your programs? I mean, those resources which are installed with your program, like icons, images and similar. Generally, if those are missing, either yo...
On my new customer page, I have successfully implemented a jQuery show/hide toggle alongside a Prototype script using jQuery's .noconflict. (Thanks to all for answers!)
But as the world of the net is, IE's not playing ball.
<script src="http://code.jquery.com/jquery-latest.js" type="text/javascript">
</script>
<script type="text/javas...