package

how to use at command to set python script execute at specifiecd time

when i try to use cron to execute my python script in a future time,i found there is a command at,AFAIK,the cron is for periodly execute,but what my scenario is only execute for once in specificed time. and my question is how to add python script to at command, also it there some python package for control the at command my dev os is ub...

Ada: declarative part, function and packages

Hi, I have a query with declarative part, function and packages. I have a package as shown next. Due to the complexity of the Compute_X1 function, I have create a "is separate" for computing this function. The value returned from Compute_X1 is X1 and is to be used in the function J21 (J21 takes X1 as a first argument). Package specif...

Recover a SSIS project from a SSIS package

Hi, I was developing a SSIS project, but accidentaly, I erased it. However I keep a copy of the SSIS package. So my question is, it is posible recover the project using the package? or is someway to read the package content to start over the project? Thanks ...

SSIS configuration options where test & production are on the same server

I'm new to SSIS, my project is still in the early stages, with only dev & test environments on separate servers. The production environment will be on the same server as test (I don't have a say in that!). I have a number of packages that each have an SQL Agent job to schedule them and I need a way to handle package configurations for de...

How can I completely delete a package in Perl?

How do you completely delete a package in Perl? This means not only the package variables, but also any magic tables that Perl updates to handle inheritance changes and other things. This simple test: use warnings; use strict; use Test::LeakTrace; use Symbol 'delete_package'; leaktrace { package test; our $x = 1; package ma...

What's the bestway to include "third party" headers to your C++ project

I'm building a bunch of windows libraries (mostly simple wrappers to compine features from API and third party libraries) to be consumed later by set of applications which have very similar requirements. Most of libraries are depending from another library and all of them are depending from one common library. This common library contai...

Reading from PackagePart stream does not release memory

In our application, we are reading an XPS file using the System.IO.Packaging.Package class. When we read from a stream of a PackagePart, we can see from the Task Manager that the application's memory consumption rises. However, when the reading is done, the memory consumption doesn't fall back to what it was before reading from the strea...

Organizing Python classes in modules and/or packages

I like the Java convention of having one public class per file, even if there are sometimes good reasons to put more than one public class into a single file. In my case I have alternative implementations of the same interface. But if I would place them into separate files, I'd have redundant names in the import statements (or misleading...

How to delete an SSIS package that has been deployed to the file system

Is it as simple as deleting the file, or do I have to do anything to de-register it before I delete it. Does the deployment process do anything more than copy it to the "Packages" folder. ...

Is it possible to create an Android database without external tools?

I have been searching for this for the past few days and every tutorial I see needs for me to use an external package. Is there anything built into the Android SDK that would allow me to create a database? I thought I saw something on it a long time ago, but I can't find anything to back that foggy memory up. ...

Renamed packages and now activity cannot be found

So today I had a bright idea to rename my packages, now my android application which I have schedule for release on thursday is not working. I am getting a similar error as follows: Error: Activity class {org.me.androidapplication2/com.albertrosa.DEMO.MainActivity} does not exist. I have modified the manifest to reflect the change: ...

Is there an easier way to package with Python?

I tried to package a django app today. It's a big baby, and with the setup file, I have to manually write all packages and sub packages in the 'package' parameter. Then I have to find a way to copy fixtures, htmls / Css / image files, documentations, etc. It's a terrible way to work. We are computer scientists, we automatize, doing this...

Looking for a software package that finds the roots of complex functions.

Hi, As the title says I'm looking for a software package that computes the roots of complex functions. Languages: C/C++/C# Platform: Windows Functions: cos, sin, exp, log. Thanks. ...

Change package name in Webservice?

I have several webservices in the same package in the server project. So they're gonna be published with the same package name. I want to know if there's some way to change the package name from the server side, maybe some annotation. ...

List installed packages in channel

With PHP's PEAR, how can I check whether package foo in channel bar is already installed? (Assuming that the channel bar is available, and has already been "discovered".) Something like pear list that displays installed packages in channel bar only would be ideal. ...

How to view hierarchical package structure in Eclipse package explorer

OK I have a feeling I'm doing something that's not "accepted practice" but here's what I would like: in the Eclipse package explorer, I see the following: (dot represents a clickable arrow that I can use to expand the folder) PROJECT Source Folder Package Class Package.SubPackageFooBarPackage.OtherSubPackagePackage.OtherSub...

java.util.logging: how to set level by logger package (or prefix)?

My app uses many libraries and I'm using java.util.logging for logging. I'd like to be able to set different logging levels for each library by doing something like: org.datanucleus.*.level = WARNING com.google.apphosting.*.level = WARNING com.myapp.*.level = FINE Is is possible? ...

Android: Including multiple Java Packages to Manifest

The app I am developing has many activities organized into seven java packages. Originally I wrote all the coding and stuff for each group of activities in a java package as different projects. Now I'm at the point where I want to put all the packages together into one project. When I add a new package to the src folder, I get an error ...

How to modify a homebrew formula?

I installed imagemagick via homebrew. However, due to a bug I have with my current configuration, I need to adjust the compile flags for the formula and reinstall it. How can I accomplish this? Note: I'm a complete homebrew noob, so please offer a detailed explanation. ...

How can I conditionally use a module in Perl?

I want to do something like this in Perl: $Module1="ReportHashFile1"; # ReportHashFile1.pm $Module2="ReportHashFile2"; # ReportHashFile2.pm if(Condition1) { use $Module1; } elsif(Condition2) { use $Module2; } ReportHashFile*.pm contains a package ReportHashFile* . Also how to reference an array inside module based on dynamic mod...