Questions tagged [organization]

This tag pertains to the organization of source files and other assets in directory structures, organization of actual source code itself, logical organization of application data, and (occasionally) to organizing development projects.

782 questions
-2
votes
0 answers

How to search for photos of text documents (bills, letters...) among my photos offline?

I rephrased my google search a thousand times but i couldn't find an open-source tool that allows me to select photos of documents from my collection of images (jpg, png...). I don't even need real OCR, just a first search result and i'll do the…
-2
votes
1 answer

C++ organize flow of functions

I'm writing a program for a microcontroller in C++, and I need to write a function to input some numbers trough a computer connected to it. This function should perform many different and well-defined tasks, e.g.: obtain data (characters) from the…
noearchimede
  • 158
  • 8
-2
votes
2 answers

Finding what integer corresponds with a string in an array

I have an array of strings like so: public ModeValue mode = new ModeValue("test_mode", "dog", new String[] { "cat", "dog", "rabbit", "horse", "bear", "fish", "bird", "snake" }, this); I would like to know how to treat each string as an…
Kayoki
  • 1
-2
votes
1 answer

Python, How to organize a big function that relies on many external data to work

Question: How to organize a big function that relies on many external data to work. should I declare a class and contain those external data? or should I keep the big function and its data in one file? Or there are better ways of doing it?what's the…
YunliuStorage
  • 399
  • 3
  • 12
-2
votes
1 answer

Separating an item into separate columns in r

You have a column with the following items: df <- data.frame(X1=c('abc','abc','xbc','xbc','ayc','ayc','abz','abz'), stringsAsFactors=FALSE) Output: X1 1 abc 2 abc 3 xbc 4 xbc 5 ayc 6 ayc 7 abz 8 abz How do you separate the items so that each…
B C
  • 310
  • 3
  • 15
-2
votes
2 answers

How to include different headers from different folders?

I have a C++ project and I love mycode organized, however when I put everything in separate directories (headers and source files kept together) I am not able to include headers from another folder. For example: I have two classes called…
STT
  • 3
  • 3
-2
votes
1 answer

Many .java files with just one public interface and one function

I realized that each public interface have to be put into a separate file. Perhaps I do something wrong, but this forces me to create many dummy files with almost no content inside. When somebody will browse my package folder, to get some idea what…
Prokop Hapala
  • 2,086
  • 1
  • 20
  • 50
-2
votes
1 answer

Assume it is decided to design a two dimensional 512 byte (byte addressable) RAM from 16 byte chips

Assume it is decided to design a two dimensional 512 byte (byte addressable) RAM from 16 byte chips. Each of the 16 byte chips has two select-lines. The chip is enabled only if both of the select-lines are activated. Your design must use only…
saqehi
  • 81
  • 1
  • 1
  • 4
-2
votes
1 answer

Multiples menus pointing to the same article

I'm building a website using Joomla. This site has lots of menus, but some of the menus are just duplicates of the others. So, there are multiple menu items pointing to the same article (with the same permisions, styles, etc). For example: I have an…
mHouses
  • 827
  • 1
  • 16
  • 34
-3
votes
1 answer

Organise files for multiple mini-games for Discord bot

EDIT : (rewrite) So, I'm doing a mini-games bot for my discord server. I have already done a bot with multiples features and it was organize like that : - My main was handling my events. I was checking where my event was called and according to the…
BoBsmil3Y
  • 79
  • 6
-3
votes
1 answer

Create login accounts for organization team members, attach the accounts to master billing account

Create login accounts for organization and team members of a organization, attach the accounts to master billing account.Each and every individual should be able to create account using his official email id. Similar to trail accounts. Accounts…
-3
votes
3 answers

Allowing two classes to share variables and methods

So I'm trying to keep my program more organized. To do this I have on file containing my methods and the other has the event listeners and variables. The second file needs to use methods from the first file to change variables and whatnot. The first…
Derek C.
  • 735
  • 5
  • 18
-3
votes
2 answers

c++ class organization using level access

I am a newbie in C++. I have a project to create a library for my robot. Basically, the main class is ROBOT, then the second levels are: LIGHT, MOTOR. Then, for the LIGHT level, there are the methods: Set_ON_OFF, Set_color, Set_brightness. For the…
-3
votes
1 answer

What is the maximum number of instructions which can be supported?

Consider a hypothetical 32-bit microprocessor having 32-bit instructions composed of two fields: the first byte contains the opcode and the remainder the immediate operand or an operand address. What is the maximum directly addressable space…
-4
votes
1 answer

How do I shorten my code?

I currently have a huge code for regenerating some things in a game a made. The code is very big and I think it can be compressed but I don't know how to do it. This is the code Private Sub regen() 'regen coins z = coin1 …
Ashley
  • 1
  • 1
1 2 3
52
53