A logical subdivision of a larger, more complex system.
0
votes
0answers
3 views
Browserify multple modules
I am having problems with multiple modules with browserify. Modules that depend on some of the core modules. I am attempting to make an async system with browserify and a nice grunt build.
Lets ...
-1
votes
0answers
10 views
php module code for xml file upload need to be converted to cli cron job
I am new and currently caught up with an issue where a php module code which uploads a xml and inserts to db need to be move out as cli program (actually a cron job in linux).
Now what I have done, ...
0
votes
1answer
21 views
Node.js cannot find module
I have 3 js files:
app.js
server.js
utils.js
There is express server starts in server.js. app.js call server start from server.js. app.js is in root directory and there also is a src directory ...
0
votes
0answers
12 views
codeigniter use HMVC
i have two place to put my modules
$config['modules_locations'] = array(
APPPATH.'manage/' => '../manage/',
APPPATH.'front/' => '../front/',
);
one is for user, and the other ...
0
votes
0answers
17 views
Ruby modules and Module#append_features explanation
Lately I bumped into this very interesting post: http://opensoul.org/blog/archives/2011/02/07/concerning-activesupportconcern/ which walks through (and explains) the ActiveSupport::Concern source ...
2
votes
2answers
20 views
Modulo-use function of sum of positive integers digits?
I created a function that sums the digits of a given positive integer:
def digit_sum(n):
tot = 0
for i in str(n):
tot += int(i)
return tot
but I know that using mod10, mod 100 ...
0
votes
1answer
9 views
can not use function from module in Python
I can not use function random.random from the Random module in Python.
When I`m trying to use any function from yhe module, I get the following:
import random
x = random.random
x
<built-in method ...
0
votes
0answers
11 views
Remove module install queue from OpenErp
I was installing a custom module that requires the decimal_precision module, however, this module has been updated, so i downloaded and installed the brand new from apps.openerp.com
Now is giving me ...
1
vote
1answer
11 views
Nodejs cron plugin vs running nodejs script from crontab
I'm building a tool where users can enter a number of items they are interested in. Every 24 hours I want to run a script that checks certain JSON responses from external sources for these topics.
My ...
5
votes
1answer
80 views
What's the difference between module, package and library in Haskell?
What's the difference between module, package and library in Haskell?
From http://www.haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html
Prelude: a standard module imported by default into ...
0
votes
2answers
24 views
how can I hide “read more” on teaser
I created a view displaying some teasers that link to my galleries on http://quaaoutlodge.com/gallery. You note the "read more" links on top of the images, I'd like to get rid of them but am unsure ...
0
votes
1answer
16 views
Module loading issue in Ruby
I'm fairly new to Ruby so bare with me if I'm just doing something foolish. I have a situation where I can access a module's functions from one file but not another. These files are both in the same ...
0
votes
1answer
30 views
Cannot find module in Node.js
I have folowing directory structure:
--app
-- test
-- server.js
-- app.js
I try to call function in app.js which exports from server.js, i do:
var server = require("test/server");
But ...
0
votes
1answer
11 views
SystemTap failed with error “WARNING: kbuild exited with status: 2”
I built a custom kernel 3.2-41, required kernel-debuginfo-common and kernel-debuginfo packages. I installed these packages on CentOS System with kernel 2.6.32-358. System booted fine with new kernel. ...
0
votes
1answer
6 views
Expose constants to all sub-modules in Rails
I have a Rails nested module as follow:
lib
- Parent
- Child1.rb
- Child2.rb
In Child1.rb I define:
module Parent
module Child1
end
end
Child2 module is defined similarly.
In my ...