manager

Update EntityManagerFactory cache?

Hi all, I got the following situation: In my project, I updated programmatically persistence unit. So, at first, the persistence.xml contains 1 entity class and then I created entity manager factory and everything worked like a charm. Bu then, I updated the persistence.xml file by adding more entity classes and re-invoke createEntityMan...

why is there an exception thrown when i set isFocusable on a blackberry manager

In my blackberry app I have a manager that controls the layout of the fields for my screen. This is the standard way of doing things when you want a custom layout. Now, one of the "fields" that I'm using is itself a Manager that lays out a series of controls nicely. Call this "field" the "summaryField" as it summarizes data for me. Th...

Tiling window managers for MS Windows? Any recommendations?

Do any of you use tiling window managers in Windows? There are a ton of them for linux systems but mostly everything I see on the wiki are 1 person projects or old shareware. Does anyone have any experience with these managers or others? ...

How to show database in django-admin using filters by default?

I need to filter database by default every time that I see it (when I save changes or when I open database first time). Can anybody tell me how to do it? ...

Android: AVD manager won't detect my HTC Hero phone as Virtual Device

I need to use my phone as emulator/target/virtual device when I run my application. I have installed HTC Sync and the USB driver is in order. I have enabled the USB Debugging in Settings. What more do I need to do to make Eclipse AVD Manager to detect my phone? I made it work on anohher coumputer, following the exact same steps I have d...

Minimal standalone install of Microsoft Device Emulator

I have installed the Microsoft Device Emulator 3.0 and the Windows Mobile 6.5 DTK on a clean Windows 7 system. From the Start menu, I can start an emulator. However, the Device Emulator Manager does not show any of the emulators, so it is impossible to Connect and Cradle the emulator. How can I install apps to the emulator using the Wi...

When is OpenAFS cache cleared?

Let's say I have a bunch of users who all access the same set of files, that have permission system:anyuser. User1 logs in and accesses some files, and then logs out. When User2 logs in and tries to access the same files, will the cache serve the files, or will it be cleared between users? Thanks in advance. ...

Window handling manager

I have a Windows box that is running three applications. When the applications are started each application creates a borderless window which is positioned such that they overlap in a particular way. At the moment, when I click on a control on the bottom window, it comes to the top of the window stack. I need to ensure that each windo...

How to create resource manager dll in VC++?

Hi guys! I need to create a DLL that acts as a resource manager (string resources). This dll must have methods that will return target strings based on the target language resource dll. I know how to implement this in C# but I need this one to be implemented in VC++ in certain reasons. I already read many articles but it is hard to under...

LocationManager in 2.1 not working?

Hello, I have been trying to get the following code to work for the last 4 hours. public void clearLocation() { LocationManager locMan = (LocationManager)getSystemService(Context.LOCATION_SERVICE); locMan.clearTestProviderLocation("gps"); My problem is that it will only work with Android 1.5. On 1.6 and newer it...

Python: how to switch between workspaces using Xlib?

Hi, how do I switch between my window manager's workspaces using Python with Xlib module? I've been searching Google the last couple of hours, and this is my most promising attempt: #!/usr/bin/python from Xlib import X, display, error, Xatom, Xutil import Xlib.protocol.event screen = Xlib.display.Display().screen() root = screen.r...

simple web based document management app - with workflow

hi.. conducting a broad search for an "open source" php web based app that allows for a basic workflow process for moving docs from one user to the next, based on the role/access control of the user. the idea, is that a doc can be submitted to the site. a user who's assigned a roleA for the doc is notified that the doc is ready.. the u...

Cisco IP Phone Call Manager handle events

I 'm new on cisco IP Phones. I have a cisco call manager system also a 7970 Ip phone. The phone cominicates with Cisco Call Manager application. I want to listen events when user logon and send some commands to phone., Is there any idea about this task? Is there a way to got events from cisco call manager or i have to listen up the por...

Android delivering different Cell IDs (Neighboring Cell Info)

Hello. Using an Android Dev Phone 2, I'm using the GsmCellLocation.getCid() method to get the Cell ID on my network. When I run the command and get all the CellIDs for the NeighboringCellInfo I get this values: 597195726 597185722 597195718 597110191 597101100 597175726 I'm running this using the SDK 1.6. The problem is that...

Django - Problem with models/manager to organise a query...

Hi, I have an application to count the number of access to an object for each website in a same database. class SimpleHit(models.Model): """ Hit is the hit counter of a given object """ content_type = models.ForeignKey(ContentType) object_id = models.PositiveIntegerField() content_object = generic.GenericForeign...

two panel in java (first panel has fix size, second has remainder size)

I want some like this: http://eta.name/timages/JPanel_Layout.png (sorry, I have no reputation to post image) How make it ideologically correct? ...

BlackBerry - Custom centered cyclic HorizontalFieldManager

Trying to create a custom cyclical horizontal manager which will work as follows. It will control several field buttons where the buttons will always be positioned so that the focused button will be in the middle of the screen. As it is a cyclical manager once the focus moves to the right or left button, it will move to the center of the...

Task Manager: CPU usage history

I bougth recently a server with 2 x X5550, they are quad (4 cores each) total 8 cores If I check the task manager it shows in the CPU usage history 16 diagrams, Should't it be 8 cause I have 2 processors with quad? or the diagrams maybee shows the Threads of the CPU? ...

XNA Xbox 360 Content Manager Thread freezing Draw Thread

I currently have a game that takes in large images, easily bigger than 1MB, to serve as backgrounds. I know exactly when this transition is supposed to take place, so I made a loader class to handle loading these large images in the background, but when I load the images it still freezes the main thread where the drawing takes place. Sin...

Cannot run Android application on emulator/device - activity doesn't exist?

When trying to run my application on the emulator I get an error from the activitymanager: ActivityManager: Error type 3 My activity exists, is listed in the manifest (in fact, its the MAIN launcher activity). Anyone know what this error means? ...