I'm trying to learn SQL to store the data rather than reading the file and populating the whole data structure in memory. would it be like reading the data from disk instead of direct memory?
Hi!
I think most of us know about the infamous "Headers already sent" error in PHP. Can I check someway if headers already have been sent?
It would be really handy to do such, before going all out with trying to set some SESSION data or similar.
Thanks!
I need 2 ways of showing vertical label in Android:
Horizontal label turned 90 degrees counterclockwise (letters on the side)
Horizontal label with letters one under the other (like a store sign)
Do I need to develop custom widgets for both cases (one case), can I make TextView to render that way, and what would be a good way to do something like that if I need to go completely custom?
HI
when an object (having sub objects) is serialized using a BinaryFormatter, what exactly happens? how the object data is stored? how the strings used to map the objects store? I want to know the serialized stream format.
please help me ..
Is there any way in Google Analytics to track whether somebody who completes Goal 2 has, on a previous visit, completed Goal 1?
It looks like custom segments allows you to see people who have completed them in the same session, but not if they're completed on separate visits.
given an X, what math is needed to find its Y, using this table?
x->y
0->1
1->0
2->6
3->5
4->4
5->3
6->2
language agnostic problem
and no, i dont/cant just store the array, and do the lookup.
yes, the input will always be the finite set of 0 to 6. it wont be scaling later.
I have a list of computers (stored in a database) and I want to find out the localadmins on those computers programmatically so that I can store that information in the database too.
I understand this can be done using powershell. But looking for a way to do the same thing using C#
how do I do that
Assuming a very simple program that:
-ask a name.
-store the name in a variable.
-display the variable content on the screen.
It's so simple that is the first thing that one learns.
But my problem is that I don't know how to do the same thing if I enter the name using japanese characters.
So, if you know how to do this in C++, please show me an example (that I can compile and test)
Thanks.
I have a large auditing stored procedure that prints values and runs some SELECT statements. When running within SQL Management Studio we have the use select to display "Results to Text" so all of the SQL results and print statement display in one place.
Now I need to have some C# code also call this auditing procedure at the end of the process and basically store all data that would be in the "Results to Text" window into a .txt file.
How can this be done?
i'm using ffmpeg to convert videos to desired formats and to generate the thumbnails..
I want to find the total duration of the video to display in the main page along with the thumbnails..
Can i use ffmpeg to find the duration when its being uploaded and store them on the database.?
Is storing the duration in db is necessary or else is there any other method?
I am building an iphone app and would like to keep track of how many times it has been opened so that I can prompt the user to do certain actions after it has been opened X number of times. I have thought about storing a variable in Core Data which I update every time it is opened, but this seems like a waste since it is a singleton data, not multiple instances of an object. What is the best way to store data like this and access it without slowing down the app opening time?
Is there any "python's Generator" equivalent in JavaScript?
PS:
Python's Generator is very memory efficient when we need to do one time iterate through a big array, hash...
"Generators are iterables, but you can only read them once. It's because they do not store all the values in memory, they generate the values on the fly"
(Python's Generator explained in this thread: The Python yield keyword explained )
Hi All,
In my application screen, i am having a field, where user can to choose his DateOfBirth.
I want to popup any built-in "Date" calendar or some built-in Date picker to user, so that it will look professional. As i'm new to this development, i wanted to know there is any code sample available to popoup the built-in Date Picker?
Note: I also want to store the selectable Date by user after selecting it in my existing persistent storage.
Thank you for your suggestions.
I am currently facing a situation where i have a table with almost 80 millions data and i have to take a dump of that table and store it into a csv file. Currently i am using a not so professional approach( with a perl script+DBI interface , printing the values to stdout and redirecting to a csv file). Now i am planning to use java threading approach. Can you suggest a way forward. Thanks in advance
Both Page.Cache and Page.Application can store an application's "global" data, shared among requests and threads.
How should one storage area be chosen over the other considering scenarios of data synchronization in the multi-threaded ASP.NET environment?
Looking for best practice and experienced recommendation.
Below is my current structure for MySQL database
id | item_name | item_files
------------------------------------------
1 | Item A | file1.zip,file2.zip,file3.zip
2 | Item B | file3.zip
Example I create simple form to fill up Item Name and Multiple upload files then store it to db.
Question :-
How to design the db structure for accept the multiple files?
There have a way which I don't want to use explode, implode to get the file1.zip file2.zip file3.zip
I get it: When a managed object context saves, the snapshots of all edited objects are compared against the values in the persistent store to see if the PS has changed since the snapshot was made.
If it did change, then there's a conflict and optimistic locking failed, according to Apple. But now, what's the consequence of this? What happens next? What are my options in this case?
I have a locationmanager in my main program which is called HomeViewController which I get the latitude and longitude and store them in LAT and LON. I can use LAT and LON in HomeViewController just fine. Once I go to another controller which is sending pictures and setting properties on flicker I want to use LAT and LON, how do I do this? I tried putting
HomeViewController.LAT
but obviously that does not work, I'm pretty new to the language so I am confused.
Hi
I have 1 PC (MS Server 2003 + MS SQL Server 2008)
and 2 PCs (MS SP2 + my APP)
how I can let my APP connects to sql server 2008 on other PC My APP will connect to server to store data in SQL Server 2008 and read/delete/edit (basic operations)
what is the best way to do that?
NOTE: my APP is written in C# (.NET Platform)
In an interactive session like the following one:
>>> f=open('test.txt','w')
>>> f
<open file 'test.txt', mode 'w' at 0x6e610>
what does 0x6e610 represents and what could i do with that hexadecimal number in python?
sorry, im sure this is asked a bunch, but i couldnt find it.
in myModule.py:
from myModule.subModule import myClass
i am working on myClass, and want to stay in my ipython session and test it. reload(myModule) doesnt re-compile myClass.
how can i do this?
When we have a column that will store a username that will only accept letters and numbers we always do validation on this input field using javascript or even server validation from code .. but i want to know if is there any way that can allow me make this validation on the Table column itself even some one try to enter data from any place it don't accept and throw exception ?
how can we extract system time in vb and do calculation ie. adding or subtracing time then store change time in oracle database table in earlier format .