hi all,
I am making a game in cocos2d, in that some images of water drops are coming from the top of the screen.
My problem is, when that image will reach to bottom of the screen it should be animated like spreading water or something like sparking occur.
I don't know how to do animation in cocos2d, if any one knows please tell me. My project is remain due to this thing only.
Thanks in advance.
Does anyone know of a .NET API (source-code is preferrable of course) that I can access all the common chat clients thru it (GT, Yahoo, MSN, AIM, FB, ICQ, SKYPE and more)?
I guess I am looking for a .NET library project that performs something like pidjin.
I need it because I hate Pidgin's interface and functionality, and I want to have a Google-Talk desktop like UI.
Any comments and tips will also be very useful.
Thanks.
This may not be completely programming related ...
In Xcode I wrote a little Foundation Tool application for maintenance. Copy files from A to B , delete logs and so on. Now I want to run the application in background once a day or once an hour.
How do I set this up?
Can it be done with a Foundation Tool application or is there another Xcode project type for tasks like this?
Hello
I am looking for a basic maven archetype which can help me create a spring hibernate struts2
application. I have tried using appfuse but it sucks. It took more than half an hour to
download n number of dependencies and the project it created was having errors also.
if you know anyother maven archetype please tell me.
Thanks
Shekhar
Is it possible to see Eclipse compilation details logs?
After a number of project changes, the compilation speed became very low (~10 seconds after a simple file change). Whould be nice to see, what compilation steps take most time.
To show this fundamental issue in .NET and the reason for this question, I have written a simple test web service with one method (EditString), and a consumer console app that calls it.
They are both standard web service/console applications created via File/New Project, etc., so I won't list the whole code - just the methods in question:
Web method:
[WebMethod]
public string EditString(string s, bool useSpecial)
{
return s + (useSpecial ? ((char)19).ToString() : "");
}
[You can see it simply returns the string s if useSpecial is false. If useSpecial is true, it returns s + char 19.]
Console app:
TestService.Service1 service = new SCTestConsumer.TestService.Service1();
string response1 = service.EditString("hello", false);
Console.WriteLine(response1);
string response2 = service.EditString("hello", true); // fails!
Console.WriteLine(response2);
[The second response fails, because the method returns hello + a special character (ascii code 19 for argument's sake).]
The error is:
There is an error in XML document (1, 287)
Inner exception: "'', hexadecimal value 0x13, is an invalid character. Line 1, position 287."
A few points worth mentioning:
The web method itself WORKS FINE when browsing directly to the ASMX file (e.g. http://localhost:2065/service1.asmx), and running the method through this (with the same parameters as in the console application) - i.e. displays XML with the string hello + char 19.
Checking the serialized XML in other ways shows the special character is being encoded properly (the SERVER SIDE seems to be ok which is GOOD)
So it seems the CLIENT SIDE has the issue - i.e. the .NET generated proxy class code doesn't handle special characters
This is part of a bigger project where objects are passed in and out of the web methods - that contain string attributes - these are what need to work properly. i.e. we're de/serializing classes.
Any suggestions for a workaround and how to implement it?
Or have I completely missed something really obvious!!?
Thanks in advance...
PS. I've not had much luck with getting it to use CDATA tags (does .NET support these out of the box?).
My C# project saves files and creates folders with the extended ASCII character "²" (superscript 2). Is this safe to work with internationally? Is this something that could cause any issues with the .NET libraries or Windows functions?
I run Flex Builder 3 on a mac and as my project grows - the compile time gets longer and longer and longer. I am using some SWC's and there is a fair amount of code but it shouldn't take minutes to build and crash daily should it?
Is there a useful command-line diff utility for VSS 2005?
I tried this but if wants to compare my current directory with, it seems, some randomly picked path from the project.
Sudoko Android requires .class compatibility set to 5.0. Please fix project properties.
What this error mean?
Please let me know if i need to paste some code..
If I try to delete some image resources from my (iPhone) XCode project via Finder, XCode will complain with errors on next build that it can't find these files.
If I try to delete them via XCode's 'Delete' command, XCode crashes everytime without fail.
Any solutions? Hints?
Is it possible to have Rhino use a newer implementation of JS than 1.7?
Do we have to wait for mozilla to do this, or is there a community project that has taken the lead?
Thanks.
I'm using quartz to display pdf content, and I need to create a table of contents to navigate through the pdf. From reading Apple's documentation I think I am supposed to use CGPDFDocumentGetCatalog, but I can't find any examples on how to use this anywhere. Any ideas?
I'm working on a compact framework project and whilst most of the properties are fairly straight forward (I.e. mark them as browsable in the xmta file), I'm struggling to get this to work for more complex types - on the full framework, I'd just implement a custom TypeConverter and go from there, but it seems the CF TypeConverter doesn't have any of the type converting methods to override, which has left me a little stuck?
It probably should be blindingly obvious but how would I go about supporting design time property support for more complex type?
I have a plain text file with words, which are separated by comma, for example:
word1, word2, word3, word2, word4, word5, word 3, word6, word7, word3
i want to delete the duplicates and to become:
word1, word2, word3, word4, word5, word6, word7
Any Ideas? I think, egrep can help me, but i'm not sure, how to use it exactly....
One of my applications in my Django project require each request/visitor to that instance to have their own thread. This might sound confusing, so I'll describe what I'm looking to accomplish in a case based scenario, with steps:
User visits application
Thread starts
Until the thread finishes, that user's server instance hangs
Once the thread completes, a response is delivered to the user
Other visitors to the site should not be affected by any other users using the application
How can I accomplish something like this? If possible, I'd like to find a lightweight solution.
I am a bit confused by this behavior (using python 3.2):
class Bar: pass
class Foo:
def __init__(self):
self.__cache = None
bar = Bar()
bar.__cache = None
foo = Foo()
print(vars(bar)) #returns {'__cache': None}
print(vars(foo)) #returns {'_Foo__cache': None}
I've read up a bit on how double-underscores cause attribute names to be "mangled", but I would have expected the same name-mangling in both cases above.
The meaning of a single- and a double-underscore before an object name in Python
Any ideas what's going on here?
Hi
Any ideas how i go about replacing the following self join using analytics
SELECT
t1.col1 col1,
t1.col2 col2,
SUM((extract(hour FROM (t1.times_stamp - t2.times_stamp)) * 3600 + extract(minute FROM ( t1.times_stamp - t2.times_stamp)) * 60 + extract(second FROM ( t1.times_stamp - t2.times_stamp)) ) ) div,
COUNT(*) tot_count
FROM tab1 t1,
tab1 t2
WHERE t2.col1 = t1.col1
AND t2.col2 = t1.col2
AND t2.col3 = t1.sequence_num
AND t2.times_stamp < t1.times_stamp
AND t2.col4 = 3
AND t1.col4 = 4
AND t2.col5 NOT IN(103,123)
AND t1.col5 != 549
GROUP BY t1.col1, t1.col2
Hi all,
I need to restart an app pool from code, does anyone know how to do this?
I have seen many examples for iis6 and most comments have been "It doesnt work"
So any ideas, or anyway to get IIS to watch a file and when it changes have the app pool restart?
Hi,
I have a python class which reads a config file using ConfigParser:
Config file:
[geography]
Xmin=6.6
Xmax=18.6
Ymin=36.6
YMax=47.1
Python code:
class Slicer:
def __init__(self, config_file_name):
config = ConfigParser.ConfigParser()
config.read(config_file_name)
# Rad the lines from the file
self.x_min = config.getfloat('geography', 'xmin')
self.x_max = config.getfloat('geography', 'xmax')
self.y_min = config.getfloat('geography', 'ymin')
self.y_max = config.getfloat('geography', 'ymax')
I feel that the last four lines are repetitive, and should somehow be compressed to one Pythonic line that would create a self.item variable for each item in the section.
Any ideas?
Adam
I checked wikipedia, http://en.wikipedia.org/wiki/Scrum_(development)
But I am still looking for some insight from the genius minds using SO. I installed Microsoft Project 2010, and was assuming that it would have some template/plugin that would support SCRUM. Unfortunately, I couldn't find one :-(
Is the following possible in Silverlight when a button is clicked?
An Excel template is downloaded from
a remote server and saved to the local machine
An instance of the
template is then opened on the client
A macro is then executed within the
new Excel document
I can do everything apart from saving the template to the local machine. I can save this in isolated storage but then I don’t know where this is when trying to open it from the Excel COM interop code. Has anyone any ideas or is this not possible?
I've tried putting the org.vssplugin_1.6.2 folder in flex builder 3's plugin folder but flex builder 3 won't pick it up as a plugin. Any ideas where I can put the folder, or files within the folder in order for flex builder 3 see the plugin.