package

SSPI Negotiate not found

Hi! I'm using Windows XP Pro SP3. I want to use SSPI functions in my code. I compiled my code, no error. I set the security package to be used to Negotiate, which is recommended. When I start my program, Negotiate cannot be used because it can't be found. So, I tried "Kerberos" instead, and same error: the security package cannot be f...

Do python packages (multi-file modules) behave exactly as one big module?

I've just read an article that supposedly introduced me to a new concept: Up to now I was sure that python packages (i.e directories with an __init__.py file) behave exactly the same as java packages, that is - little namespaces to help arrange the code (minus java's "package" scoping). But, according to this link: http://diveintopython3...

how to document a python package

I know what's the standard way to document functions, classes and modules, but how do I document packages - do I put a docstring in __init__.py, or something else? ...

Does importing of packages change visibility of classes?

I jsut learned that A class may be declared with the modifier public, in which case that class is visible to all classes everywhere. If a class has no modifier (the default, also known as package-private), it is visible only within its own package. This is a clear statement. But this information interfere with my unders...

Actionscript Adding Custom Class To .fla

i'm missing something fundamental here. i have a very simple custom class that draws a circle and a checkbox, and only allows dragging of that circle sprite if the checkbox is checked. a checkbox component is manually added to the library in my .fla. from my .fla project's actions panel: var ball:DragBall = new DragBall(); addChild(b...

Python package with compiled code

I'm looking into releasing a python package which includes an existing fortran or C program. The fortran/C program is compiled by running ./configure make The python code calls the resulting binary through subprocess calls (i.e. the code is not really wrapped as such). What I would like is that when the user types python setup.py ins...

TinyMCE Package

Hi all, I am developing an article management system using asp.net 3.5 and c#. I want to use the TinyMCE editor and want to write a plugin for choosing photos from a folder on the server. Which Package/s do I need to download ? "Main package" or "Development package" or ".NET package" or a combination of them ? http://tinymce.moxiecod...

Android: is it possible to access a sqlite file that is bundled with my application?

I have a database that I have already populated locally. I want to bundle it with my applications and access it at runtime (never want to re-write it anywhere, nor write to the database, simply read). What is the path of a file that I have added to the bundle? And, can i use that path with a SQLiteDatabase.openDatabase ? ...

Multiple TinyMCE Packages

Hi all, I want to use more then one TinyMCE package in my ASP.Net Project. For example to use the Development Package and the jQuery Package . According to TinyMCE web site the zip files of those TinyMCE packages should be extracted in your wwwroot or site domain root folder. The problem is that all the different packages unzip to t...

Include an interface from the same package (Java)

Hi, I'm new to Java (C++ guy myself) and am trying to compile a simple program (testing different random number algorithms) in Java. I have an interface that I want to use to implement another class with, both of these items are in the same package. So I have two files right now in my "Random" package directory--"RandomInterface.java"...

Microsoft VC++ 2005 SP1 and 2008 SP1 Redistributable Package

Dear developers, I have an application that requires Microsoft VC++ 2005 (SP1) Redistributable Package. I know that I can just download it and install it. The problem is, in our server, there is Microsoft VC++ 2008 (SP1) Redistributable Package already installed. Now, do I still need to install the 2005 (SP1) version? Or the 2008 (...

importing files in python

I have that file structure- Blog\DataObjects\User.py Blog\index.py I want to import the function(say_hello) at User.py from index.py. I am trying this code - from Blog.DataObjects.User import say_hello say_hello() And I have that error - Traceback (most recent call last): File "index.py", line 1, in <module> from Blog.Da...

How to convert 64 bit .deb file into 32 bit .deb file

Hi I have 64 bit .deb file of an application. I want to convert the same file into 32 bit .deb file. So how to convert 64 bit .deb file into 32 bit .deb ...

How to create package for .deb file

Hi I have created .rpm packages successfully for fedora FC10 linux. I can cretae .rpm file of my application similarly I want to create .deb file of my application. I want step-by-step approach to create debian packager. Please help me to create .deb file for my application I am using ubuntu linux to create packager Thanks Sunil Kumar ...

Standard way of distributing source code?

I am relatively new to programming, and have built a few working C++ commandline programs with Xcode in Mac OS X (no dependencies on Mac-only libraries or APIs). My question is: What is the standard way of packaging and distributing the source code (and possibly compiled binaries)? i.e. Almost all Linux programs seemed to be distributed...

.NET distribution package - Which type of project is the best?

I use Visual Studio .NET to develop a component named X_Component and I plan to develop several client applications that use X_Component. I need to deploy X_Component with each of these applications. I want to create a distribution package to be included with each application. Which type of project should I create (CAB/merge module/set...

reading xml file inside a jar-package

Here's my structure: com/mycompany/ValueReader.class com/mycompany/resources/values.xml I can read the file in my Eclipse project, but when I export it to a .jar it can never find the values.xml. I tried using ValueReader.class.getResource() and ValueReader.class.getResourceAsStream() but it doesn't work. What's the problem here? H...

Adobe Air, packaged install fails with my trace routine... how come?

I cobbled together some code from here and there for a trace I like... it generates an error to get a stack trace and picks out the traced routine name, I like that detail in the trace log. Problem: it fails in an installed AIR file. I wonder why? I don't expect it to do anything as is... just, I'd prefer it not cause the program to f...

Import package problem in GWT

Hi! I'm developing an app using GWT Eclipse plug-in. (I'm also using GWT Designer but I don't think the problem is here). Previously when I wanted a java application to communicate with a web service I created, I produced the "skeleton" classes from the WSDL url using Sun's wsimport tool. Then I would add the classes generated to a cla...

Minimum needs to Deploy SQL Server Integration Services 2008

Hi, I would like to run SSIS 2008 packages on a server that does not have SQL Server 2008 installed on it. I have a simple package to test the concept, but it fails to execute. The return code is 9020 which I have not seen listed as a return code elsewhere. I have copied the following files to the test server that does not have SQL S...