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.

462 questions
0
votes
0 answers

php creating image cant include file?

this code works but if I put there require_once…
dontHaveName
  • 1,846
  • 4
  • 25
  • 49
0
votes
3 answers

Creating thumbnail images while uploading multiple images with php

I'm using PHP/MySQL to upload multiple images for photo album. The information associated with the images (filenames, extensions, descriptions etc.) is stored in database as base64 encoded data. I'm also able to edit the album images. My problem now…
Kokos Koka
  • 93
  • 3
  • 12
0
votes
1 answer

mousedown on a control and mousemove on another

I want to create a little diagraming tool, and i'm stuck on a mouse problem. I have 2 custom control, one for a node, and one for the edge arrow. The Node custom control is a border placed onto a grid. I can drag my node around clicking on the…
Julien
  • 187
  • 2
  • 12
0
votes
1 answer

How to in mockito create folder of method call?

Form docs: Comparable c=mock(Comparable.class); when(c.compareTo(anyInt())).thenReturn(-1); I would like: File tempDir=new File("test"); Comparable c=mock(Comparable.class); …
user710818
  • 20,710
  • 55
  • 138
  • 197
0
votes
3 answers

Cannot create Django user due to UserProfile creation throwing IntegrityError

Django is giving me an integrity error when creating users. From my models.py: class UserProfile(models.Model): user = models.OneToOneField(User) age = models.DateField() city = models.CharField(max_length=30) state =…
BigJim
  • 23
  • 6
0
votes
1 answer

When to read view's properties ( eg. widths) in activity?

I populate TableLayout in OnCreate(..) method. I'd like to get width of each column of the table. The problem is during OnCreate(...) method view has width set to 0. Where is correct place to collect table widths? I also tried OnStart(...) (from doc…
xliiv
  • 4,509
  • 5
  • 26
  • 33
0
votes
1 answer

Does blobstore service retain the file creation date (not upload date)?

How can I capture the original file creation date of an image file that's been uploaded to the blobstore? All similar questions/answers seem to refer to the upload date of the image. I'm interested in the date at which (in this case) the photo…
user139190
  • 51
  • 2
  • 8
0
votes
1 answer

Lua: Way to create tables automatically?

I'm trying to load data values of data categories of a database into tables for further processing. Each data category is supposed to get its own table. Unfortunately, the number of data categories isn't consistent and varies from DB to DB, so I…
Zerobinary99
  • 542
  • 1
  • 7
  • 17
0
votes
1 answer

Django Forms from Models

I am trying to integrate an app called Django-Classifieds, but am having trouble figuring out how to manipulate some of the elements. The app allows one to create a category and subfields through the admin section, which will be displayed and allow…
Nick B
  • 8,356
  • 12
  • 55
  • 100
0
votes
0 answers

How can i create a SDK (own iPhone OS framework) ?

Possible Duplicate: How to build a framework or library for other developers, the secure way? I am new in iPhone development and wondering how can i create a SDK(create own iPhone OS framework). So that other people will be able to use my SDK in…
Emon Emoni
  • 133
  • 5
  • 17
0
votes
2 answers

Can thread creation within OS internals run concurrently?

Suppose we have a dual-core machine with a mainstream, modern OS capable to utilize both the cores. If I have two threads, P1 and Q1 within the same process, and they happen to commence creating child threads, say, P2 and Q2, at approximately the…
coderodde
  • 775
  • 3
  • 11
  • 22
0
votes
1 answer

Jquery take a price from a span and i want to make it static

i make this function : function price(val){ var test = $('span.hikashop_product_price_full:visible').text(); var test2 = test.split('%'); var test3 = test2[1].split(' '); var test4 = test3[0].replace(',','.'); var eyy = parseFloat(test4) *val/100 +…
MiddleCloud
  • 210
  • 1
  • 2
  • 16
-1
votes
2 answers

Programmatic creation of text input with JavaScript

I am currently learning JavaScript, and I got stuck at the following problems: I have tried to dynamically create an input of type text from JavaScript and to set its onChange method, but it is fired only when the page is loaded. In addition,…
user998692
  • 4,970
  • 7
  • 38
  • 58
-1
votes
1 answer

Python error when creating classes dynamically

Let's take a project with this folder structure: > eval > a > __init__.py > a.py > b > __init__.py > b.py __init__.py __init__.py m.py Content of __init__.py in a folder: from eval.a.a import A Content of a.py: class A: …
-1
votes
1 answer

How do I create number of days to go progress bar on django

Please I've an App I created, and I'm finding it hard to add progress bar count down for days to go before the user get what they Applied for? I used the formula now - start time / end time - now + now - start time all in days, seems to work pretty…