Whenever I stroke a path with rounded corners on iPhone, the rounded corners are thicker than the rest of the stroked path. See here for what I mean:
Not sure why this happens, any ideas?
I have an NSStatusItem with a subclassed NSView. The view's contents are drawn by its CALayer. Now, whenever the view is clicked, the mouseDown: method fires, but the NSStatusItem's background color doesn't change.
When using CakePhp would it be advisable to set recursive = -1 in the AppModel class and then use the Containable Behaviour whenever you need a deeper data relationship?
I believe this would give my applications the best chance of avoiding database related sluggish performance but is the methodology sound?
Thanks
Leo
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Web.Services2.WebServicesExtension.AfterSerializeServer(SoapServerMessage message)
Above exception is thrown whenever i try to access any method of webservice on another machine.
Regards,
Muhammad Waqas
I just tried to use devIL and ULIT to help me with opengl texture loading. However, whenever the program starts, I get the error:
"The application was unable to start correctly (0xc000007b). Click OK to close the application."
What happened? I'm using the Visual C++ 2010 RC, windows 7 64-bit.
I've been having this problem where anytime I send a 0xA through an RS-232 in a Linux OS the receiver interprets that as 2 bytes, 0xD and 0xA. Also whenever I receive 0xD the serial port interprets that as 0xA. I've been reading that there are known issues regarding this, has anybody been able to find a solution?
I have an IDL file that has a "#pragma prefix" directive, but whenever I use idlj to build the Java code, it ignores this and generates an _id without the prefix specified. This is a big problem because when _is_a is used, it always returns false, since my generated code does not contain the expected prefix. Please help! Thanks in advance!
Hello, Stackoverflow!
I'm new to SQL. I have created a new database in SQL Server Management Studio, and am now trying to attach it to a windows forms project in Visual Studio via the built in Data Configuration Wizard.
Currently, whenever I try to attach the database file, I get a permissions error:
"You don't have permission to open this file. Contact file owner or administrator to obtain permission"
So, simple question -- how do I modify the permissions of my database to allow this?
Related question: http://stackoverflow.com/questions/199333/best-way-to-detect-integer-overflow-in-c-c
In C code, should integer overflow be addressed whenever integers are added? It seems like pointers and array indexes should be checked at all. When should integer overflow be checked for?
When numbers are added in C without type explicitly mentioned, or printed with printf, when will overflow occur?
Is there a way to automatically detect when an integer arithmetic overflow?
I've just noticed that whenever I do an incremental compile (ctrl-F9) of any of my Delphi 2010 projects, all JEDI units referenced in my project are recompiling although they have not been changed in any way. In fact, if I create a new project, drop a JEDI control on the form and compile, I see all JEDI dependencies getting recompiled. If I think hit ctrl-F9 a second time without making any changes in my project, the same thing happens.
Anyone know what's causing this?
whenever i needed to test my web site, i used to press ctrl and f5.
i recently installed installed iis service.
kept an html page accessed it from host
kept an fully developed default.aspx page in the www directory
tried to access gave error of XML something....
that means i can only use HTML pages,
?
so what to do if i am using c# asp.net?
Whenever I run git fetch it fetches all the tags from origin. In a project with lots of tags, this can get quite bothersome. So I ran git config remote.origin.tagopt --no-tags so fetching will no-longer fetch tags.
However, there are some times when I do want to fetch tags, or a single tag. Does anyone know how to do this? (besides removing that configuration, and running git fetch --no-tags every time)
Thanks!
Whenever I save a jsp page, MyEclipse IDE start building the workspace. It should build when I change in any class file. Or if there are classes that not compiled. But why it start building whole workspace when I change in a JSP file. I am stuck on it. Please advise me on this problem.
I am using MyEclipse 5.5 over Eclipse 3.2
Thanks.
In C#, Whenever i need to get file path more dyanmically, i do something like this
string filePath = System.IO.Path.GetFullPath(@"..\..\TestData\TestFile.xls");
Is there anyway, i can mention same file path in xml file.
<ConfigValue name ="filePath" value="<filepath like above>"/>
Hi, i set the cache symbols from symbol servers to directory to D:\WebSymbols, but whenever i use VS2008 attach to process to debug, the VS2008 will copy the .pdb to the location of the attached process, and i also found many .pdb in the Microsoft Visual Studio 9.0\Common7\IDE\sym.
is there any way to prevent VS copying the .pdb files?
thanks in advance!
I am trying to install a copy of PHP 5 to my home directory on the school computer. The problem is that whenever I try, it complains that my copy of libxml2 is too outdated to work.
Is there any way I can install this without upgrading libxml2, since I don't have permission to upgrade.
Any suggestions?
Whenever I stroke a path with rounded corners on iPhone, the rounded corners are thicker than the rest of the stroked path. See here for what I mean:
Not sure why this happens, any ideas?
I am having some trouble with my World of Warcraft addon. Whenever I display my TGA files in the addon, there is a thin white frame around them. The same happens when I convert them to BLPs.
When I look at the images themselves with Preview, there's no white frame, but WoW decides to display one.
How do I resolve this?
Is there any way I can make Firefox call a JS function in my extension whenever it completes a download (passing the path of the downloaded file)? Thanks for any help.
I have created a custom style and template for MenuItem and ContextMenu, and for my first level, that works great, but whenever I add a SubMenu item, the style of that ContextMenu reverts back to the default style. How can I make sure that item uses my custom style? I've tried using the <;Style TargetType="ContextMenu" Key="{x:Type ContextMenu}" syntax as well, and it doesn't seem to be overriding it either.
Hi everyne,
I am using mgtwitterEngine to integrate twitter functionality.In my application i want response in XML format so i have done all the changes as metion in readme of mgtwiiter
for example i have done #define YAJL_AVAILABLE 0 in MGTwitterEngineGlobalHeader.h and
define USE_LIBXML 1 in MGTwitterEngine.m file and i am checking that API_FORMAT is xml too but whenever i am getting response i am getting in json format.
Please can any one tell me what am i missing? any help would be appreciated.
Thaks
What is the best Collation for the column that can allow to store accented letters and parse them out perfectly without any encoding error, because whenever I add an accented letter such as é, å, it shows out with an encoding problem on the PHP side, but in the MySQL side it's fine...
How do I get the accented letters display properly?
I'm currently returning 401 Unauthorized whenever I encounter a validation failure in my Django/Piston based REST API application.
Having had a look at the HTTP Status Code Registry
I'm not convinced that this is an appropriate code for a validation failure, what do y'all recommend?
400 Bad Request
401 Unauthorized
403 Forbidden
405 Method Not Allowed
406 Not Acceptable
412 Precondition Failed
417 Expectation Failed
422 Unprocessable Entity
424 Failed Dependency
Update: "Validation failure" above means an application level data validation failure ie. incorrectly specified datetime, bogus email address etc.
I'm playing around with html5 and some javascript to make a minor sketchpad. Whenever I click down on the canvas in chrome, the cursor becomes a text cursor. I have tried putting cursor: hand in the css, but that doesn't seem to work. This has got to be an easy thing, but I look it up and can't find it anywhere
Hi all
I've got a web app solution containing a class library project.
Whenever I rebuild the class library and then refresh the page, it takes ages the first time, and is then quick again subsequently.
It's almost as if the newly rebuilt dll is having to 'bed in' to the app.
Can anyone tell me what's really going on behind the scenes?
Thanks
David