I'm trying to download an excel file(time-seriesdata of MSCI index) from MSCI homepage(https://www.msci.com/)
Homepage → Our Solutions → Indexes → Performance → End of day index data search
From the country I chose USA and clicked on it, and the loading never ends(Picture).
I'm waiting for half an hour right now.
Does this usually take this long?
Plus,I would like to know if there are some other website that contains time-series-data of MSCI index just in case I cannot download it from the MSCI's homepage.
I'd really appreciate you help!
picture of loading page
Related
When I try to access my slug page, the name of the slug shows in the browser search bar (so I know its accessing the backend data), but nothing shows up on the page. In the console, error 404 keeps coming every 3 seconds.
Due to lack of timing, experience, knowledge, etc., I've had to switch from react to next very last minute (learning both for the first time at the moment). In react, I remember you could establish a path/page that went '/pageName/:slug', but I haven't seen that for next. I think this might be what is causing the issue, that I don't have an equivalent of that, but I'm not sure how to go about doing that. How do I fix this issue?
I'm happy to post any code if needed.
Got it. I hadn't given much context in the post, but I had two .js page files, gallery.js (where I can select a set), and sets.js where I wanted the slug to route into. So my link in gallery.js looked like this: <a href="./sets/[slug]">.
The fix: I renamed sets.js to [slug].js, and removed /sets/ so that it was just <a href="./[slug]">.
I'm trying to find a wikipedia dump containing pageIds and Titles. I don't want to request it on runtime or request 2000 per request, i want it ALL, i want to make a long list of all the pageIds and titles belonging to them and put them into my own database, so that i can use it in an application that requests the data from my own database.
Anybody know which dumps contain those information? It doesn't matter if they also contain more information that what i need - i can just write an app that picks the info i need.
I did try to request it ... it would have taken 140 days and they put up some limit of 2700 requests ... so it would take forever to get the whole thing, instead i want to download a file dumb and clean the data and upload a file to my own database containing only the info i need
Ok found it myself after getting multiple dumps, in short the answer is:
enwiki-latest-page.sql.gz
It contains pageids and Titles.
Entries look like this:
(1217768,0,'Black_River_(South_Carolina)','',0,0,0,0.6285160577990001,'20161001141146','20161001142916',738899573,1654,'wikitext')
First number is pageId. Third entry is title.
Rest i don't know what is - but no matter :D Thanks to myself i solved this issue and will close it :D Big pat on the bag
I have a table view controller with a cell that contains an UIImageView. I also have a NSMutableArray that contains the url's. I want the url's to download the images and place them in the correct order. The NSMutableArray also contains some empty Strings and the cell that it corresponds too I want to have my placeholder image from my image assets.
How can I get it to work? I have also populated each cell with a title and summary but cannot workout how images work.
UPDATE
The code used for the image download. Note the photoLabels contains the array of images. Some of the photos are in the incorrect place once the first placeholder image occurs (It is one index late). Why is it doing that. Does anyone know why. I have println(photoLabels) and all the 50 strings are correct (with some just being "")
If anyone can help that would be great.
let imageURL: String = photoLabels.objectAtIndex(indexPath.row) as String
println(imageURL)
if imageURL == "" {
cell.imageContainer.image = UIImage(named: "placeholder")
} else {
cell.imageContainer.setImageWithURL(NSURL(string: imageURL))
}
return cell
Thanks
This seemingly innocent question actually entails a rat's nest of interesting details. These include:
Use lazy loading of the image, loading them just-in-time, rather than trying to download them up front;
Download the images asynchronously;
While downloading the images as needed, cache them (using NSCache, not NSMutableArray) so that if you scroll back to see some images recently downloaded that you don't have to download them again;
But, in response to memory pressure, make sure to empty the RAM-based cache (but still avail yourself of the persistent storage cache);
If user scrolls quickly down to the 100th row in the table example, make sure that the images for the visible cells don't get backlogged behind the requests for the previous 99 images (nb: you should test your app in suboptimal conditions, e.g. a poor 2G or 3G cellular environment, which can be simulated with the network link conditioner); and
You might want a placeholder image to show until the asynchronously retrieved image is downloaded (or retrieved from the cache).
The bottom line is that this takes a non-trivial amount of effort to do properly. As a result, I'd encourage you to use an existing solution, for example the UIImageView categories that are available from SDWebImage or AFNetworking. Both of these two frameworks offer a nice category for UIImageView that allows you to request the image to be downloaded asynchronously (it's sd_setImageWithURL in SDWebImage; it's setImageWithURL in AFNetworking).
I'm trying to make an update to my application. Before iOS6 everything was fine. But now, I face with this problem:
1 . I buy a product. ( Sandbox mode, consumable product )
2 . Everything works correctly
3 . Then I try to buy the same product again. It gives me this massage :
"You've already purchased this but it hasn't been downloaded. Tap OK to download it now. [Environment : Sandbox]"
After that, if I click to ok and tap to buy it, store returns some other transactions as purchased.
Note that, I use store.finishtransaction() function after all pruchases.
I hope someone knows how to deal with this.
Dogancan
Please try the below steps.
1) go to settings -> iTunes apps and sign out of your account.
2) double push home button and close all open apps.
3) do a hard reset- hold power button on top and home button down at same time till apple icon
appears and let it reboot.
4) Go back in to settings and sign into your iTunes account again and try in-App purchase again.
I do a lot of searches to answer specific questions I have (usually programming related). When I find an answer I +1 the page using the +1 Chrome Extension. I don't like to bookmark pages like these, because my bookmarks fill up with links to pages that I can't remember viewing.
If I end up Googling the same question again, seeing that I have +1'ed a particular page saves me a heap of time. But what I would really like to do is search through only the pages that I have +1'ed.
The problem is that the +1 API is all about displaying the +1 button, not accessing the list of URLs you have +1'ed. Does anyone know if it is possible to somehow search through the complete list of you +1'ed items (and I already know about the +1 list in Google+)?