We're having a very strange problem with css in DotNetNuke.
It seems that with any of our custom modules, if a user clicks to postback 9 times the skin css is removed and the page becomes rather ugly. Looking at the source the tags with the urls to the css files are gone. After one more click making 10 postbacks, any custom css files w...
What would you recommend for modular development in Java. OSGI is great but it's support for JPA is pitiful. I would really like not to have to write yet another framework, but it seems inevitable.
...
Hi,
I'm trying to include a custom template into the checkout process on the shipping page. I want that template to adopt the functionality of its parent template so I can use any of the shipping variables within the template. However I can't get magento to load the template. Here is my XML (the header scripts are adding successfully...
What is the underlying mechanism in Python that handles such "aliases"?
>>> import os.path
>>> os.path.__file__
'/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/posixpath.pyc'
...
I am using Komodo Edit, a code editor.
When I right click on projects and click "Show in Explorer", it will pop up a box just like Windows Explorer at the directory my project is. This is very convenient.
However, I noticed an insidious side effect. When you try to run a python file with this window that looks exactly like Windows Expl...
Hi,
I am using an application developed in Jython. When I try to use the inspect.py in that, it shows error message.
My code goes like this
import inspect,os,sys,pprint,imp
def handle_stackframe_without_leak(getframe):
frame = inspect.currentframe()
try:
function = inspect.getframeinfo(getframe)
print inspect.g...
A module can be unloaded, so how can I tell for sure if it is still in memory? I have a handle to it, obtained from GetModuleHandle. When I tried calling GetHandleInformation on it I see error 0xc0000008 - "An invalid HANDLE was specified." This happened before it could have been unloaded.
...
I can use the "module load xyz" command interactively, but when run from a script, it says it can't find the "module" command. Is there any way of loading modules in a script?
...
Let's say I have a Perl file in which there are parts I need to run only when I'm called as a script. I remember reading sometime back about including those parts in a main() method and doing a
main() unless(<some condition which tests if I'm being used as a module>);
But I forgot what the condition was. Searching Google hasn't turned...
This is the error I am getting in the handleModuleReady function:
[Fault] exception, information=TypeError: Error #1034: Type Coercion failed:
can not convert MyModule@39b8479 to IModuleInterface.
I have an application setup and I have created modules to load at runtime in order to decrease the filesize (as most users will only ever ...
Can anyone explain the difference between this way of loading modules in Prism:
protected override void InitializeModules()
{
IModule customerModule = Container.Resolve<CustomerModule.CustomerModule>();
IModule helloWorldModule = Container.Resolve<HelloWorldModule.HelloWorldModule>();
customerModule.Initialize();
helloW...
What would be the best approach to develop an "extension" system for a Rails application?
I mean the same kind of system that WordPress has, like registering functions to hooks, etc. Then plugins could be activated/deactivated from an admin panel.
Are there some books/online material about implementing this kind of functionality in RoR...
I hear D is link-compatible with C. I'd like to use D to create an extension module for Python. Am I overlooking some reason why it's never going to work?
...
I have came up with this:
[a for a in dir(__builtins__) if str(type(getattr(__builtins__,a))) == "<type 'builtin_function_or_method'>"]
I know its ugly. Can you show me a better/more pythonic way of doing this?
...
I want to write a module on one html site - I will never leave the site
I think about two possible concurrent basic approaches:
We go into the module by use only a specific function (with specific params - everything which will happen, happen there - logic, exception handling etc)
We go in by using one handler-fct, which manages some ...
Is there a Ruby equivalent of Perl Tie::File module?
...
What is the difference between doing use My::Module and require My::Module?
...
What methods, practices and conventions do you know of to modularize C code as a project grows in size?
...
Prologue: I know about gems.
I use Drupal at work. In case you don't know, Drupal is modules. There is a framework and a core framework, but when you build a site in Drupal, installing and configuring modules is most of the work.
So what, being new to Rails, I have a pet project and I am trying to build a login/user system. I've read...
There comes a point where, in a relatively large sized project, one need to think about splitting the functionality into various functions, and then various modules, and then various packages. Sometimes across different source distributions (eg: extracting a common utility, such as optparser, into a separate project).
The question - how...