why i have the error "No instance for (Ord Documento) arising from a use of ‘insert" wit haskell
◷
تاریخ انتشار: 1395/3/16 | ساعت: 0:51
Vote count: 0 Im begi er with haskell and im trying to execute my method mostrarDocumento, setting Documentos and String(year), and the method should retu all documents that have the same year , but i having the error : No instance for (Ord Documento) arising from a use of ‘insert’ In a stmt of a 'd...
Set NSURLSessionDownloadTask in NSMutableDictionary
◷
تاریخ انتشار: 1395/3/16 | ساعت: 0:51
Vote count: 0 I set the NSURLSessionDownloadTask in NSMutableDictionary. Than i want to save this dictionary in NSUserDefaults. I know, i can't save custom object in NSUserDefaults. After searched, i found this answer; How to store custom objects in NSUserDefaults. But i couldn't implement to my cod...
Can anyone tell me how Shopify Api Works?
◷
تاریخ انتشار: 1395/3/15 | ساعت: 23:30
Vote count: 0 Can anyone tell me how Shopify API works. I'm finding this in google but cant get proper solution so can anyone give me a proper solution for that. asked 18 secs agokishore Let's block ads! (Why?)
Set a session variable for a logged in user
◷
تاریخ انتشار: 1395/3/15 | ساعت: 23:30
Vote count: 0 I am creating a log in for a patient so they can access information regarding prescriptions etc for a project - (isnt going live) So I have my patients already created with use ame and password and they are linked to their medication through a link table. The log in works and acknowled...
Case classes match on type
◷
تاریخ انتشار: 1395/3/15 | ساعت: 23:30
Vote count: 0 If I try to match a variable on its type, like in the code below: object CaseClassesApp extends App { sealed trait A{} final case class B() extends A{} final case class C() extends A{} def tryMatch(x: Any): String = x match { case B => "It's a B!" case C => "It's a C!" case _ => "nope"...
node.js with underscore on linux Error: Cannot > find module 'underscore'
◷
تاریخ انتشار: 1395/3/15 | ساعت: 22:19
Vote count: 0 I am using amazon linux on ec2. Used nvm to install node v4.4.5 and run my script and i have this error: Error: Ca ot > find module 'underscore' I tried to npm install underscore --save and npm install underscore -g. it just doesnt work. i dont know why is wrong. can someone help? serv...
How to prohibit people from the USA reach my website? Is it possible?
◷
تاریخ انتشار: 1395/3/15 | ساعت: 22:19
Vote count: -2 Здравствуйте. I have a website. I do not want people from the United Countries of America access my website. How to do it? Please, lea Russian language. Спасибо. asked 1 min agoYou Love Russia Let's block ads! (Why?)
big data visualization soical graph
◷
تاریخ انتشار: 1395/3/15 | ساعت: 22:19
Vote count: 0 me and my partner working on a project involving social graph visualization and analisys. the graph contain approximently ~2,000,000 nodes and ~1,000,000,000 edges. we try to use Gephi but we exceed the limit of memory. can someone recommend on data visualization and analisys that can ...
How to access app.controller $scopes inside app.directive
◷
تاریخ انتشار: 1395/3/15 | ساعت: 19:55
Vote count: 0 Ok i have the following angular js code. What im trying to do is to set some scopes to null when enter button is pressed inside a form. So far I have div with ng-click event that sets these scopes to null, but i want to make the same with enter key also. App directive: app.directive('n...
Ptz link not working from Android Source. Perfectly working from Web Browser.
◷
تاریخ انتشار: 1395/3/15 | ساعت: 19:55
Vote count: 0 I am working on controlling my TP-Link SC4171G PTZ controls in android. The urls for controlling ptz is : http://admin:admin@IP/cgi-bin/operator/ptzset?move=X where X could be up, down, left, right, upright,upleft, downright, downleft. here admin:admin reflects use ame:password. When i...
Grouping same date JSON data together Using java
◷
تاریخ انتشار: 1395/3/15 | ساعت: 19:55
Vote count: 0 I have created one json Object Using java and it's values are given below {"result":[{"ID":7252,"Age":52,"Date":"2015-11-25","DAY":"Wednesday","Gender":"M"},{"ID":7252,"Age":52,"Date":"2015-12-05","DAY":"Saturday","Gender":"M"},....],"status":"ok"} I need to group data as per date,requ...
Async (await) version IMongoCollection.UpdateOneAsync occasionally fails
◷
تاریخ انتشار: 1395/3/15 | ساعت: 18:37
Vote count: 0 With this class: class Block { ObjectId Id { get; set; } List<Item> ListOfItems; } I'm testing the following method, that just adds and Item to certain Block's ListOfItems field: async Task AddItem(Block block, Item item) { var updateDefinition = Builders<Block>.Update .AddToSet(b => b...
Which is the correct form to create a responsive table?
◷
تاریخ انتشار: 1395/3/15 | ساعت: 18:37
Vote count: 0 I have been seeking to know in terms of good practices which is the best way to create responsive tables. I always read that to create tabular data we have to use table tags, but I often use div's tag with display:table option because of the responsive design. Also found that is able t...
Show fullscreen sliding downloaded images from a GridView item click
◷
تاریخ انتشار: 1395/3/15 | ساعت: 18:37
Vote count: 0 I have an activity where an AsyncTask downloads from Google Places Photos an ArrayList<Bitmap> of photos. In this Activity I was able to show them in a GridView. Now, when a user clicks in one image, a new Activity (or Fragment?) should be created, showing the clicked image in fullscre...
Jquery - is not a function Issues
◷
تاریخ انتشار: 1395/3/15 | ساعت: 17:35
Vote count: 0 I am using Jquery https://code.jquery.com/jquery-1.12.2.min.js Then i include my function file,which has this function ;(function($){ $.fn.UPLOAD_IMAGES= function(options) { var defaults = { main_url : mainurl }; var options = $.extend(defaults, options); // retu s the jQuery object to...
Retrieve most common element from database sql lite 3
◷
تاریخ انتشار: 1395/3/15 | ساعت: 17:35
Vote count: -2 EXAMPLE TABLE : location column : u202acity I want to retrieve the most repeated city from the city column using python and sqllite asked 48 secs agovitali Let's block ads! (Why?)
Swiping Fragments with button click in xamarin
◷
تاریخ انتشار: 1395/3/15 | ساعت: 17:35
Vote count: 0 I have 5 fragments and I want to swipe between them back and forward with buttons, I actually made a class to stop swiping with just touching, but I couldn't reach a good sulotion to make a swipe between two fragments with a button, so maybe can someone help me please. This is the frag...
Change font size on traitCollectionDidChange
◷
تاریخ انتشار: 1395/3/15 | ساعت: 16:26
Vote count: 0 I am attempting to work around the stupid Apple 'no custom fonts with auto-layout' bug but I am ru ing into issues implementing it in a way that will also work with trait collection updates. I originally was ru ing the code on a 0.5 delay from a delay-called function on viewDidLoad and...
Check data deleted in facebook graph api
◷
تاریخ انتشار: 1395/3/15 | ساعت: 16:26
Vote count: 0 I have a make request: ID/posts?fields=full_picture,source,message I received the results of which have data deleted. How to know what data was deleted? asked 2 mins agoHuong Dinh Thi Let's block ads! (Why?)
Can anyone convert this C++ code to C program?
◷
تاریخ انتشار: 1395/3/15 | ساعت: 16:26
Vote count: -4 A skyscraper has no more than 100 floors, numbered from 0 to 99. It has n (1 ≤ n ≤ 5) elevators which travel up and down at (possibly) different speeds. For each i in {1, 2, . . . n}, elevator number i takes Ti (1 ≤ Ti ≤ 100) seconds to travel between any two adjacent floors (going up...