Hi everyone,
I have a large database I need to populate with data before initially running the application. Is it best to do this in an external rake task or inside migrations?
Sincerely,
Tyler
Hi!
i have created tree view demo in Visual Studio 2008 C# in WPF but i want to give header and when header is clicked it sort data. i want to create demo like this
header1………….header2……….header3
-parent1…………..parent2………..parent3
…-child1……………-child1………….child1
……child1……………-child1…………child1
-parent2…………..parent2………..parent2
…-child2……………-child2………….child2
……child……………-child2…………child2
parent3…………….parent3………..parent3
plz suggest any link or samples code. thank you!
I'm going to write a program that plots data from a sensor connected to the computer. The sensor value is going to be plotted as a function of the time (sensor value on the y-axis, time on the x-axis). I want to be able to add new values to the plot in real time. What would be best to do this with in C++?
Edit: And by the way, the program will be running on a Linux machine
Hi i work at a news paper and we are lookin a way to make archieve material available. Atm our pages come in pdf format so we need a way to export text and images from the pdf so that they can be added to a database.
We've had a look at the News studio plugin for Adobe Acrobat from Iceni Technology, but just wondering if anyone else knows other options for exporting pdf data. thanks
Hi,
I've got a K-nearest neighbour problem where some of the dimensions are closed loops. For example one is 'time of day' and I'm matching for similarity so 'very early morning' is close to 'late evening', you can't just make it a linear scale from 'very early morning' at one end to 'late evening' at the other.
How can I represent this in the data model? Is there an established way to handle this or a way to work around it?
Stack overflow
I want to make a universal version of my app available, but I am wondering how is data managed between the iPad and the iPhone versions?
-Are they completely independent? or if I have a plist in the iPad app, does it also appear in the iPhone app. If so, is there any syncing etc etc.
I have a few months experience with single iPad or iPhone apps, but never a universal.
Thanks again.
I have a criteria page in my asp.net application. When user clicks report button, firstly in a new page results are binded to a datagrid, then this page is exported to excel file with changing content type method.
That normally works, but when large amount of data comes, system.outofmemoryexception is thrown.
Does anyone know a way to fix this problem, or another usefull technic to do?
When i am using mysql_real_escape_string on my unescaped strings the data in the database is storing with the backslashes which should not happen.
I have magic_quotes_gpc OFF not sure why this is happening. Any idea ?
Is there any setting in the mysql database which needs to be modified.
I am not using addslashes any where in the code. PHP language.
Please help.
I would like to ask you about your opinion guys.
Is SSL secure enough for using sensitive data (like password) in query string?
Is there any extra options to implement?
thanks for any word.X.
I'm trying the database first approach by creating an ADO.NET Entity Data Model using the Wizard with the Adventureworks2012 DB.
Testing DB connection works, and the connection string is added to the App.Config.
I'm selecting all the tables except the ones marked as (dbo) AWBuildVersion, DatabaseLog, and ErrorLog.
When the Wizard finishes the .edmx file is blank, and if I view the file in XML view the EntityContainer is empty.
I'm using VS 2010 & .NET Framework 4.0
I need to Pass some data to a text file and save that text file in a SQL Server 2005 database.
Then I'll need to be able to load that textfile into a C# WinForms DataGrid.
How do I do that in C#?
I have data in the form of four columns. The first three columns represent time, value1, value 2. The fourth column is binary, all 0's or 1's. Is there a way to tell excel to delete time, value1 and value 2, when the corresponding binary value in column four is 0? I know this is a lot easier in C++ or matlab, but for reasons beyond my control, I must do it in excel.
Hi... I'm looking for an application developed in C# with following qualities, which is available as source code...
Based on OO Architecture
Must connect to DB.
Must handle atleast a "one to many master child" relationship (eg: Order and items ordered)
Should display the data using Datagrid or other similar controls.
Reports (either with report buider or otherwise)
I want to understand the layering of objects better... Do you have any links...
Thanks.
I expect any good program should do all their reads and writes in a loop until all data written/read without relying that write will write everything (even with regular files). Am I right?
Implemented simple FUSE filesystem which only allows reading and writing with small buffers, very often returning that it is written less bytes that in a buffer (using -o direct_io). Some programs work, some not. Are them buggy or programs should not expect truncated writes and reads from the regular files?
Is there any counterpart to ASP.NET's DataGrid (or DataView) in the various J2EE web application technologies (specifically Struts)?
In other words, what is the de facto method for showing tabular data in a J2EE web application?
I've been investigating what I can do with Google's Secure Data Connector and App Engine.
Is it possible, from an App Engine application, to grab resources inside my corporate intranet without using HTTP(S)?
From what I read in the documentation, the only way to request resources through SDC is by using url_fetch, which is limited to HTTP, right?
It is often said that using LDAP is a good way to store data about users. That's beacause users' "directory" is hierarchical and it changes rarely. But in my opinion that doesn't exclude using RDBMS. What might be reasons to use LDAP? I guess that storing multi-valued fields or adding custom fields in LDAP might be easier but it can be done in database too (unless you have many records)
When processing a POST request in the Django views.py file, I sometimes need to redirect it to another url. This url I'm redirecting to is handled by another function in the same Django views.py file. Is there a way of doing this and maintaining the original POST data?
Is there a cleaner way to do the following, assuming that I have a reason to keep the data sets independent?:
x = {1, 2, 3};
y = {1, 4, 9};
ListPlot[Partition[Riffle[x, y], 2]]
Thanks!
$key = file_get_contents('http://keyserver.pramberger.at/pks/lookup?op=get&search=uid');
after getting public key in '$key' variable i need to encrypt the data using this public key.
the key must be start with ----Begin pgp block ---to end pgp block----.
How this can be done in php?
I want to use PHP (possibly with Curl/XPath?) to extract data from Wikipedia pages. What would be the best way to go about this? I'll be using CakePHP for this project, although just need to figure out how to get this working first.
What's the best way to store language data?
Keep it as variables in some kind of lang.php file...
$l_ipsum = 'smth';
$l_rand = 'string';
Or select them from a database? I'm in search of your advice.
I have a record of data with unix time date in it
i want to select the row based on the date/month/year only (not with time)
currently Im using something like this
select *
from tablename
where date > '$today'
and date < '$tomorow'
LIMIT 1;
how ever this is not that accurate if the $today and $tomorrow have different time (but same date)
is there any better way to do this?