Conceptual questions involve programming problems which are not related to program code itself, but with algorithm logic and program architecture.
Questions tagged [conceptual]
364 questions
2
votes
3 answers
Emulation of file system using TreeMap?
I am trying to figure out how I could make something that looks like a folder file structure for a Java shell I am trying to make. I want it to resemble something like the linux folder structure (having a root and all decending from it).
For…

AtomicPorkchop
- 2,625
- 5
- 36
- 55
2
votes
2 answers
Conceptual inquiry about __main__ in Python
I am currently working with Python and have been confused over the fact that functions are listed in __main__. I have been looking over multiple python scripts to try to find a common theme as to what functions warrant a place in __main__, but to…

Ason
- 509
- 2
- 9
- 25
2
votes
2 answers
How is cloning and serialization different than using "new" and reflection?
When I read about "In How many ways we can create an Object in java".
I found four way:
Creation of Object using new Operator.
Cloning
Serialization
Reflection.
With new and reflection, I am fine with these two methods.
My Question is:
Why…

Sunny Gupta
- 6,929
- 15
- 52
- 80
1
vote
2 answers
MVC, collection owner in the model or the controller ?
This questions is conceptual, around the MVC pattern in OOP. Here is the plot: We are in an rich client application which works with a REST webservice. We do a GET request to a ressource on the server, the server return a response formatted in XML.…

Dimillian
- 3,616
- 4
- 33
- 53
1
vote
4 answers
Shared resources for two Apps from the same developer
Is it possible that AppA and AppB which are from the same developer share some local resources on a given device. For example they might use the same login credentials for some service.

Besi
- 22,579
- 24
- 131
- 223
1
vote
0 answers
Best way to store date in a CDM (Conceptual Data Model)?
I'm currently retrieving data from a vehicle fleet (fuel used, distance traveled...) through the manufacturer API. For each set of data, there is the date when the metric has been mesured. I will retrieve the data everyday through a rcon call and…

Henry Mont
- 337
- 1
- 3
- 13
1
vote
1 answer
Trigger to export priorities using Zapier
I am new to Zapier and I have a conceptional question about it.
I am building a prioritization tool and want to export the list of priorities to other project management tools and todo lists, like trello, asana, monday, etc., using Zapier.
When I…

Aidas Bendoraitis
- 3,965
- 1
- 30
- 45
1
vote
2 answers
COPY INTO from AWS S3
When we run a "COPY INTO from AWS S3 Location" command, does the data-files physically get copied from S3 to EC2-VM-Storage (SSD/Ram)? Or does the data still reside on S3 and get converted to Snowflake format?
And, if I run copy Into and then…

Anish Kumar
- 11
- 1
1
vote
0 answers
Attaching a specific piece of non-intrusive info to a file or folder to keep a connection to a program
This is going to be a question with a lot of hypotheticals, but it's been on my mind for a while now and I finally want to get some perspectives on how to tackle this "issue". For the sake of the question, I'll make up an example requirement of how…

Synn Ko
- 137
- 1
- 15
1
vote
2 answers
Smalltalks runtime state
For Javascript, there exists this excellent intro that explains the runtime state: http://latentflip.com/loupe/
For Smalltalk, I have never found a similar overview of how the runtime and image snapshots are structured.
It is said that a Smalltalk…

2080
- 1,223
- 1
- 14
- 37
1
vote
1 answer
How to make interface implementors that are not sub classes of its abstract class behave like abstract class of that interface?
I want to explain my question with an example. Lets say that i have an interface:
interface IActionPerformer
{
bool IsReadyToExecuteAction();
void Action();
IActionImplementor GetImplementor();
}
And an implementor for Action() method.…

Bee-
- 64
- 6
1
vote
2 answers
Preserving state when setting ItemsSource
I have a ListBox (ListBox1) of Agency types {Police, Fire, Emergency}
When the user selects an Agency type, Another ListBox (ListBox2) is populated with (Name, CheckBox) by setting the items source.
The problem is if I select Police, then check a…

patrick
- 16,091
- 29
- 100
- 164
1
vote
0 answers
Correct way for nested python classes (or django foreign keys.) *Conceptual/engineering question*
This is more of a conceptual/engineering question than an actual programming question, but I keep going back and forth between what is the "right" thing to do here. For quick background, I am still a bit of a noob at python/django and don't have a…

slny06
- 67
- 11
1
vote
3 answers
Why does git only allow fast-forward merges when pushing?
So I know that when you do a git push, git tries to integrate changes from your local branch to the corresponding remote branch. However, if the branches have diverged, git won't allow you to push, saying
hint: Updates were rejected because the…

rahultimate
- 43
- 1
- 5
1
vote
2 answers
Extend section in Mach-O file
I am trying to extract libraries from the Dyld_shared_cache, and need to fix in external references.
For example, the pointers in the __DATA.__objc_selrefs section usually point to data outside the mach-o file, to fix that I would have to copy the…

ArandomDev
- 125
- 2
- 10