Questions tagged [creation]

Do not use. Too vague to be of any possible significance.

Do not use. Too vague to be of any possible significance. Tag should be removed.

481 questions
6
votes
3 answers

Python File Creation Date & Rename - Request for Critique

Scenario: When I photograph an object, I take multiple images, from several angles. Multiplied by the number of objects I "shoot", I can generate a large number of images. Problem: Camera generates images identified as, 'DSCN100001', 'DSCN100002",…
Michael Moreno
  • 219
  • 2
  • 9
6
votes
3 answers

Stacking buttons upwards

I've never seen this before, or if I have I haven't noticed how it was done. I was wondering if there was a way with HTML and CSS to stack elements up, rather then down as display:inline would do. Pretty much, I want to go against gravity when the…
jbcurtin
  • 1,793
  • 2
  • 14
  • 23
6
votes
2 answers

How to handle double click from childs in compound component?

I have created a new compound component based on a TCustomPanel. On it I have two labels and one image, covering all the surface, see this layout (the lower part is less important): My question is how to export the double click functionality of any…
6
votes
2 answers

How to write data to a text file on Arduino

I have some position data continually coming in and I am currently printing it to the serial. Say I have the string "5" and want to print that to a text file, "myTextFile", what would I need to do to achieve this? To be clear, the text file would be…
Michael Zakariaie
  • 165
  • 1
  • 1
  • 10
6
votes
2 answers

Self-referencing class: concrete python class from C interface

I am trying to design a C interface which could easily be extended in Python (using ctypes). I've used the natural idiom in C: struct format { int (*can_open)(const char *filename); struct format * (*open)(const char *filename); void…
malat
  • 12,152
  • 13
  • 89
  • 158
6
votes
3 answers

Creation date of file in android

How to get the creation date of file in android. I know about file.lastModified(), but I really need the creation date, that you can see in OS Windows in Properties of file. If someone know the solution of this task, please, write it below this…
Slavik Blase
  • 59
  • 1
  • 3
6
votes
1 answer

Can't create "App Engine Connected Android Project" in Eclipse: "Creation of element failed"

I am not able to create an "App Engine Connected Android Project" by wizard in Eclipse anymore. When I click the "Finish" button, the following error message appears: Creation of element…
user2368140
6
votes
2 answers

Creating a simple database schema

I'm new to SQL and could use some help in creating a database schema for my program, which manages and installs programs for my home network. Are there any guidelines/tutorials for creating database schemas?
RCIX
  • 38,647
  • 50
  • 150
  • 207
6
votes
2 answers

create a ramdisk in C++ on linux

I need to make a ramfs an mount it to an directory in linux using c++. I want to make it like a user (no sudo). I need to call an application on a file that i created and it will be often. Writing it to HDD is very slow. I found just:…
microo8
  • 3,568
  • 5
  • 37
  • 67
6
votes
2 answers

Where to put application state?

Where in the code do I best put object creation (stateful objects) and where not? In what layers? For example, I once put an object reference inside a Hibernate DAO class and I was told that this was incorrect because DAO classes are not supposed to…
MrStack
  • 455
  • 2
  • 7
  • 22
5
votes
1 answer

Virtual class creation/destruction in delphi

This is my first post here, but I'd like to say thank you to the community because I've found solutions to my problems countless times by coming here and finding a solution in a question that had already been answered. That being said, I'd like to…
PoultrySlave
  • 193
  • 1
  • 7
5
votes
1 answer

What is the "right" way to return a new class object from a VBA function?

I am looking for the proper way to create and return a new class object in VBA. I am familiar with the following pattern for returning a new Type variable (returned by value): Public Type Foo x as Integer y as Integer End Type Public…
e.James
  • 116,942
  • 41
  • 177
  • 214
5
votes
4 answers

Javascript object creation best practice

I have the following javascript : var MyObject = (function() { function Setup(args) { this.prop1 = args.x; this.prop2 = args.y this.prop3 = this.prop1 +…
Alan Alcock
  • 787
  • 1
  • 11
  • 26
5
votes
1 answer

Making a 3D maze in Java

Goal I am making a program which generates a 3D maze and am having a bit of trouble with the creation algorithm. For ease of interaction, it will be a rectangular prism with one entrance and one exit. Algorithm The problem is the actual coding of…
Ky -
  • 30,724
  • 51
  • 192
  • 308
5
votes
2 answers

Is it a good practice to let Hibernate create the tables automatically using create?

I know that adding "hbm2ddl.auto"=create Hibernate will create the tables automatically reading the mapping from the hbm / the annotation. Please let me know that if this is a good practice to follow and why?
Vaandu
  • 4,857
  • 12
  • 49
  • 75
1 2
3
32 33