How can I get a preview of my data stored in Core Data Model?
Something like output in console, or table preview.
I've searched whole Xcode, but can't get that option.
Related
Typically, when I click "Edit dataset" I can view the sql query used to create the dataset. When I click "Edit dataset" on a dataset that is joined with another dataset, I cannot view the query or the schema that shows the join. These are shared datasets so I suspect that it's an issue with permissions but using the quicksight cli wasn't helpful because I got this error when I try to describe the dataset
An error occurred (InvalidParameterValueException) when calling the DescribeDataSet operation: The data set type is not supported through API yet
Has anyone experienced something similar?
Turns out the issue was that the datasets were being manually joined against a csv file that was uploaded by another account. Manually uploaded files don't have an associated data source, so they can't be viewed by other accounts. I transferred ownership from the account that uploaded the csv to myself and now I'm able to view the datasets.
Is there a way to save and load stringified objects with three.js?
I found this: https://github.com/josdirksen/learning-threejs/blob/master/chapter-08/03-load-save-json-object.html
but they use localstorage to save and load, which won't work between sessions or different computers.
Is there a way to load files just like the model is loaded? This should be like loading data files for a game.
I run the webgl client with Autodesk viewer locally with http-server.
If the Object can be written to localstorage it can just as well be exported as a file. You can send them to a server and store them there (maybe something like firebase would be useful here), or you can intiate a "download" directly from the browser. This is explained in Create a file in memory for user to download, not through server.
For loading a file, you can use the file-api, which is shown here: How to open a local disk file with Javascript?.
You just need to replace the localstorage-parts in your example accordingly.
Adding to Martin's answer, the Autodesk Viewer uses files translated and hosted by Model Derivative API. It's possible to show multiple files into the same scene. The Viewer is read-only. There is a getState and loadState functions to get the objects that represents the current zoom/explode/view information, and that can be serialized and stored somewhere.
There are some samples showing how to move a geometry on the model, for instance, move the geometry of a wall (from a building model). But that is not persistent, meaning you need to implement a JavaScript (client) + back-end infrastructure to save and restore those transformations.
I downloaded images from a webservice, saved then into a TBitmap and used the command: bmpExample.SaveToStream(stExample); and saved the stream into my database (SQLite) PS: the column is a Blob field.
Until here everything works fine! I can see the image on the Data tab, the problem start when I try to load the image back to my application (firemonkey). I'm using the livebinds tool and linked my ListView into my Query (select * from empresa) in this way:
The header and the text loads fine, the only problem is with the image (that I know that exist because I can see on the Data tab of my SQL editor.
I found the answer, was because I used qMyQuery.Open after download the company informations, and after I had the ID of the company, I downloaded and inserted the images on the database but I did not said to my query to access again the database.
The answer to my problem:
Dm.qMyQuery.Close;
Dm.qMyQuery.Open();
I have observed a strange behavior of BIRT 4.3 pojo data source. For my courseSubjects (It is a nested collection) even without creating a separate dataset the pojo data source that came with 4.3 worked well but when i am trying add another collection for another table in the same report but nothing is working out. My total report is being empty. If i create another dataset for that collection, everything is working fine. Why is this working for one collection and why not working for another collection? The behavior is too strange. It is not displaying any error and also not displaying any data. To view pdf report i am using the viewer provided by Eclipse Birt.
I am uploading the two rpt design files. "test.rpt" is the one which is working and before adding the "documentName" field to dataset, The "testNotWorking.rpt" is the one which is not working when i add "docName" to the dataset. This is too strange. when it is working for courseSubjects why is it not working for "documents". How to understand this behaviour? As it is not allowing me to upload the documents taht are more than 111kb i am uploading to my google drive and providing the links to download. The following are the links
https://docs.google.com/file/d/0B59LVhKQaKQYeFNDcnhxZ3pCWVE/edit?usp=sharing
https://docs.google.com/file/d/0B59LVhKQaKQYcmoyZVVpZ1RCMlk/edit?usp=sharing
The following is the link for the jar file. I have hard coded the data for your convenience so that you will be able to see the report easily.
https://docs.google.com/file/d/0B59LVhKQaKQYa2RIUldGM0dfSm8/edit?usp=sharing
I wanna create a table somehow in wondows phone that holds data that never changes and the application querys that data. Pretty simple but not sure how to do it.
Example
a table with Name, Description
When you open the app all the theres an input box to enter a name then you press a button and the description displays.
Using isolated storage seems like you are writing all the data to a file everytime the a user opens the app. Is that how it works?
Using isolated storage seems like you are writing all the data to a file everytime the a user opens the app. Is that how it works?
No, IsolatedStorage is storage - you can think of it as "disk" - so everything in it is persisted between application runs.
When you first run your application, then you'll need to create your files there, but after that time, then the files will already be in place.
If you need to put a large amount of data into IsolatedStorage and then need to search that data later, then "lite" database solutions like http://sterling.codeplex.com/ or SqlLite might help
For test purposes simply hard code the values as a dictionary.
In the long term I suggest you store the information as a file in isolated storage.
Here is an article that describes how to load and save data to isolated storage