module

Is there a way to get Splint or a similar static checker to work with Linux Kernel modules?

I compiled ( no warnings ) the hello-5.c example from "The Linux Kernel Module Programming Guide" and when I tried to insmod it, I received the following error: insmod: error inserting 'hello-5.ko': -1 Unknown symbol in module I thought I would try splint to see if it came up with any obvious errors, but when I ran it I got a slew of ...

python package import fails

I've got a trac installation which works correctly from the command line. I deployed the trac.cgi to the proper directory, but when I open the page, I get: Trac detected an internal error: No module named pkg_resources Traceback (most recent call last): File "/some/path/htdocs/trac.cgi", line 22, in ? import pkg_resources ImportE...

.NET mixed multi-file assembly

I need to create a .NET assembly composed of 2 modules: 1 internal (in the DLL) with native code and 1 external (in a .netmodule file). This would be easy to do, except for the native part. C#'s compiler can do this (this is what I want, but with native code): csc /t:library /out:foobar.dll foo.cs /out:bar.netmodule bar.cs -foobar.dll...

Problems building a DNN module using Linq to SQL

I am building a module using linq to SQL and I am running into some problems. I have been following Michal Washington's tutorial on adefwebserver.com. The problem is that VB does not recognize my Complaint Class when I try to create new Complaint object. Any idea why I am unable to Dim a Complaint object? Here is my code: View.ascx.vb( ...

Joomla web service module

I am looking for a Joomla web service module to allow users to create a user login and add posts and comments. I am writing a standalone mobile version of my joomla site and I need it to call these web service functions. ...

Google Analytics-like module for Drupal site behind firewall?

Anyone know how to use Google Analytics for a Drupal-powered company intranet site behind our firewall? and/or Anyone know of a good analytics-style module for Drupal that can tell us things like visitor browser/versions, OS, monitor size, etc. ? Pretty graphs and charts nice but not required. Or at the least a recipe for rolling our o...

Best way to build websites or applications with modular / reusable components

If I come to the point where I get a job that has almost identical requirements as a previous job, I try my best to reuse and repurpose previous work. It is never that easy and it usually takes some time (but not as long as redoing it from scratch!) Anyway, I have a few jobs coming up where they need identical login systems. Where as p...

Module 'eAccelerator' already loaded php warning

I'm getting this PHP warning in my error_log and want to get it fixed. I'm told it is loaded within php.ini which I've verified as well as a bunch of configuration settings for the module. I'd like to maintain the module configuration in the place where it's loaded so I need to find out how else to remove it from the list. Unless remo...

Ruby: class C includes module M; including module N in M does not affect C. What gives?

More verbosely, I have a module Narf, which provides essential features to a range of classes. Specifically, I want to affect all classes that inherit Enumerable. So I include Narf in Enumerable. Array is a class that includes Enumerable by default. Yet, it is not affected by the late inclusion of Narf in the module. Interestingly, cla...

how to load flex modules as list itemrenderers with moduleloader tag

I have and list compontent with an extrunal itemrenderer. My itemrender is a module that i would like to load in at runtime. I have used moduleloader tag but it doesn't display anthing. if i don't use the moduleloader tag but the instead() it displays the content. does anyone know how i must do this? Application file with list compone...

VB.NET Module - Can I force the use of <Module_Name>.Public_Member_Name when accessing pub. Members?

I have a situation where I have several VB.NET Modules in the same Logical-Module of a large application. I would like the update function of each module to be public, but I would like users to be forced to qualify the function call with the module name. ModuleName.Update() instead of Update() Is this possible? Thanks. ...

How do I make Python pick the correct module without manually modifying sys.path?

Hi, I have made some changes in a python module in my checked out copy of a repository, and need to test them. However, when I try to run a script that uses the module, it keeps importing the module from the trunk of the repository, which is of no use to me. I tried setting PYTHONPATH, which did nothing at all. After some searching a...

Drupal module to edit regular db tables

I have a few custom tables in my Drupal database that were created manually. Is there some Drupal module to allow viewing and editing records in custom tables? Tables are simple, no joins used. Or it's best to build some grid/record interfaces manually in custom module? ...

Alternating Colors in UL in php Joomla mod_feed

I am using Joomla 1.5 for my site and want to make the RSS Feed Module (mod_feed) display alternating rows in a different color, hoping somebody here can help out! Here is the main code for the module layout (I removed the top <div style="direction: <?php echo $rssrtl ? 'rtl' :'ltr'; ?>; text-align: <?php echo $rssrtl ? 'right' :'left'...

How can I make Module::Build install both X and X::Y?

If I have a distribution with X and X::Y also in it, how do I make Module::Build install both the modules? I have put X.pm in lib, written a file Build.PL with the line my $build = Module::Build->new ( module_name => "X", ); This installs X OK, but how do I tell Module::Build to also include X::Y in the distribution? ...

How do you organise your NInject modules?

NInject's module architecture seems useful but I'm worried that it is going to get in a bit of a mess. How do you organise your modules? Which assembly do you keep them in and how do you decide what wirings go in which module? ...

Wiring two modules in Verilog

I have written two modules DLatch and RSLatch and i want to write verilog code to join those two to match the diagram here: ( http://img130.imageshack.us/i/mod.tif/ However i dont know how to go about doing this. ...

Organize a python library as plugins

I would like to create a library, say foolib, but to keep different subpackages separated, so to have barmodule, bazmodule, all under the same foolib main package. In other words, I want the client code to be able to do import foolib.barmodule import foolib.bazmodule but to distribute barmodule and bazmodule as two independent entitie...

List all the modules that are part of a python package?

Is there a straightforward way to find all the modules that are part of a python package? I've found this old discussion, which is not really conclusive, but I'd love to have a definite answer before I roll out my own solution based on os.listdir(). ...

Mate: Unable to set property model

Hi, i hope anyone can give me an hint to my issue... i have an Application with modules. Every Module lives for itself. There are no shared events or something between them. In my modules there is a datagrid and with a contextmenü, the details of selected data opens in a popupwindow. The modules are controlled by an loalEventMap and a p...