All Questions
14 questions with no upvoted or accepted answers
10
votes
0
answers
2k
views
Private VBA Class Initializer called from Factory #2
About
This is a follow-up of a previous question Private VBA Class Initializer called from Factory. I've decided to create a new question instead of answering my old question because I would like the ...
8
votes
0
answers
120
views
Faster VB6 / VBA class deallocation
VB6 / VBA is slow to deallocate class instances
VB* class instance deallocation becomes exponentially slower the more instances of that particular class there are.
Quick test. You will need:
Guido's ...
5
votes
0
answers
2k
views
Android nested RecyclerView handling clicks, using OOP
Brief Background: I just started learning Android Development recently. I have some experience with programming and understand the basics of OOP but am not confident that I am using principles of OOP ...
4
votes
0
answers
899
views
Python tkinter placeholder entry widget
I made a placeholder for entry widgets from tkinter, so I was wondering how good it is. I just started learning Python a bit before, so please do correct me if I'm wrong or if I missed something, or ...
4
votes
0
answers
65
views
Creating a C++ style class for storing a data on 2D grid on GPU memory
UPDATED
I would like to create a class, which is intended to represent a field of values on a 2D grid. So, I would like to access the elements with a double square bracket ...
3
votes
0
answers
72
views
A Haskell-style "maybe" type in Python, version 2
I have decided on a preferred solution to my question A maybe type in Python. Which implementation is best?, and have expanded it to be more ergonomic. I have implemented a host of utility functions (...
3
votes
0
answers
272
views
C# class library for managing recurring background operations
I have written a class library for creating timer-based bacground operations in .NET projects. The idea is to be able to create and manage (start/stop/resume/cancel) recurring background operations ...
2
votes
0
answers
618
views
Python metaclass for inner classes
This is a metaclass for facilitating the concept of "inner classes" (as opposed to simple nested classes) in Python. I define an inner class as a nested class that expects an instance of the ...
2
votes
0
answers
77
views
Application Class Security
Is my Application.php class secure for continuing development?
The Application.php acts as a registry for the whole application. I tried not to rewrite already working code that is being pulled from ...
2
votes
0
answers
290
views
PHP upload class
I know there are many PHP upload classes out there, but I'm comfortable with my own code, so I made a simple one here.
What do you think of my approach when isImage...
1
vote
0
answers
107
views
Storing multiple PyTorch tensors of different shapes with names that are not known by advance
I need to create a container for instances of torch.Tensor of different shapes, where I can call them by their name.
It is a use case for a dict except that:
I don't want to rely on the heavy syntax ...
1
vote
0
answers
58
views
How was this python code analyze these classes with class diagram
Anyone please review my code and give some improvement suggestions.
I wrote code but not to the best standards. I think this site give some valuable suggestions
this code is for extracting xlsx or csv ...
1
vote
0
answers
745
views
Parsing a large XML file and storing in Postgres efficiently using Pythonic code
I have a bunch of large XML files that I have to parse and store in Postgres. I have done a lot of procedural code but I want to think in terms of objects and reap the benefits. Any help in that ...
0
votes
0
answers
116
views
A Generic Two Dimensional Data Plane with Common Math Calculation Build-in Methods in C#
This is a follow-up question for A Generic Two Dimensional Data Plane with SubPlane Method in C#. Thanks to aepot's answer.
I am trying to implement a series methods to enhance the ability and ...