Questions tagged [modular]

347 questions
2
votes
1 answer

Java+JavaFX2 Project: modular content

I'm pretty new to java and javafx 2. What I'd like to do is an application that is basically a container for separate "modules" that can be added later. The main application should be some sort of content browser that scans for modules in a…
BlackRainbow
  • 105
  • 1
  • 8
2
votes
2 answers

Verilog force different wire in task depending on input

Is there a way to force an arbitrary wire to a certain value in a Verilog task without specifying what the wire's name is or its hierarchical path ahead of time? Preferably without having to write a ton of if-statements for each possible wire. My…
supernun
  • 437
  • 1
  • 6
  • 16
2
votes
1 answer

Using MEF in a class library with ASP.NET MVC 3

I am in the process of extending a solution based on MVC 3. Basically, The solution consists of an MVC 3 project along with some class library projects to manage Business/Data Access. I'm trying to use MEF to make the application plugin-based.…
Kamyar
  • 18,639
  • 9
  • 97
  • 171
1
vote
3 answers

What is the relationship between multiple header files and classes?

I have a noob question here. I'm getting my head around the C++ structure and syntax and I've hit a bit of a wall. I know I am missing something from my concept. So first a little code to help describe the situation. Control.h #pragma once #ifndef…
JasonDC
  • 71
  • 5
1
vote
2 answers

Reconstruction User based Modular Website

I am developing a website in Ruby on Rails, MySQL, and Javascript. The website is modular, meaning that a user can customize their homepage and drag and drop one module to another area where it will live. there are three columns where the module…
Tyler
1
vote
2 answers

Modular design patterns for non-object oriented code?

I am looking for an article or other articles about a form of modular design. Unfortunately I didn't fully read the article before I lost it so this might be kind of vague but I will try to be as specific as I can be and explain what I am trying to…
Jonathan
  • 78
  • 6
1
vote
1 answer

vectorize vs parallelize in Mojo

According to the docs: vectorize vectorize[simd_width: Int, func: fn[Int](Int) capturing -> None](size: Int) Maps a function which is parametrized over a simd_width over a range from 0 to size in simd fashion. parallelize parallelize[func: fn(Int)…
George Ogden
  • 596
  • 9
  • 15
1
vote
1 answer

SVN - How to keep core source code confidential and give freelancers access to modules only

I'm developing a modular propietary PHP application. As a project leader and owner, I want to keep the core engine confidential. The freelancers will work on modules (say 1 freelancer for 1 module where they can't see other's module). I created…
Idi
  • 33
  • 3
1
vote
1 answer

javax.json module not found building JavaFX application with Gradle

I am trying to run a modular JavaFX application, with few other modular and non modular dependencies, using Gradle, but I am stuck with dependencies resolution. The project is in Eclipse, using OpenJDK 14-. I have been able ot run, build and package…
CT95
  • 107
  • 1
  • 11
1
vote
1 answer

ANGULAR Modular Fédération - Why Mfe1 app.module.ts(root module) not able to configure in webpack instead of specific modules

I tried in webpack.config.ts: instead of exposes: { './Module': './projects/mfe1/src/app/users/users.module.ts', }, replaced with exposes: { "./Module": "./projects/mfe1/src/app/app.module.ts", }, In app.routes.ts at main shell: { path:…
SaKol
  • 99
  • 10
1
vote
1 answer

Modular programming aarch64 assembly

I have this simple assembly for arm architecture 64 that will print "Hello World\n" from macro I made. We know macro is analogy with function in high level programming. So I want separate macro to another file. Here is my assembly code I…
1
vote
2 answers

Calculate months elapsed since start value in pandas dataframe

I have a dataframe that looks as such df = {'CAL_YEAR':[2021,2022,2022,2022,2022,2022,2022,2022,2022,2022,2022,2022,2022,2023,2023] 'CAL_MONTH' :[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2]} I want to calculate a months elapsed columns which should look…
N27
  • 31
  • 5
1
vote
1 answer

How to call Javascript function from helper scripts in a modular way

I am writing an extension for Firefox v97, and the main script is a content script. The final extension will perform different behavior depending on the top-level domain of the current page. Coming from OOP, I'd like to separate the code into one…
Gicci
  • 41
  • 6
1
vote
1 answer

Creating an installer with Java-17 JPackage

I am developing a javafx application. This app communicates with a device and because of that the device jars are not modular and they come with some dll files that are added to the development. Now, it runs perfect on the Netbeans 12.6, but not…
Kwesi Aryee
  • 310
  • 2
  • 15
1
vote
2 answers

Unique instances of Javascript self-executing anonymous functions

I have created the PHP side of a modular AJAX/PHP framework and now I am trying to implement the client side. From my previous experience with modular web applications I know that sometimes multiple instances of one particular module are needed. For…
JustAMartin
  • 13,165
  • 18
  • 99
  • 183