Redeem Points System For Offline Merchant? - Marketplace Case
Vote count: 0 I own marketplace for online products, and I want to give points as a reward based on what my user does. And with that point, I want so it can be redeemed for physical thing, like discount at store, or maybe MCD's lunch meal, something like that. My question, (assuming I have submitted...
Android adapter context
Vote count: 0 New to Android dev and trying to get Context in my application adapter but I keep getting null exceptions. My attempt it to load the url string into glide, but glide.with(context) isn't working. The application pulls values from sqlite (this part works fine), I'm now trying to get one ...
Regular Expression Single Occurence
Vote count: 0 I want to have a regular expression that checks if the letters A-F and a-f occur only once. How do I do this? I want to check for there only being one letter in the user's input, and that letter is either from A-F or a-f. asked 2 mins agoAdmiral Power 1 Answer Vote count: 0 Search for ...
Error consuming Web Service ASP.NET
Vote count: 0 So, I'm studying Web Services in ASP.NET and I have a doubt. I have two methods: Add (that does the sum of two numbers) and GetCalculations(that displays the latest calculations, through EnabledSession property. When I open my .asmx on browser, it shows the sum and the latest calculati...
How do I debug services in visual studio?
Vote count: 0 The project I have been testing and debugging has been presenting some challenges. Stepping through the code in debug mode, I came across some calls to services. This is something new to me. After some investigation, I found that these classes are in the WCF world. The exception that w...
present? returns false on an unsaved association
Vote count: 0 When a user creates an event, they are also creating an associated task, which can have many followers, but one follower must be the owner of the task. A task owner has the task_followers owner flag set to true. Here is the relationship: class Event < ActiveRecord::Base belongs_to :tas...
Should TypeScript Interfaces Be Defined in *.d.ts Files
Vote count: 0 TypeScript newbie question. In our project, we are using some exte al JavaScript libraries where we needed to add *.d.ts files. I understand this use case and the reason why we needed to do this. But, for our own interfaces that we are defining, one of my developers suggested that we d...
JQuery Change function not work with ajax content
Vote count: 0 my html code <div class="gridRowsContainer"> <div ng-repeat="item in ActiveUserData.ListModel track by $index" class=""> <!-- Checkboxes Generated/inserted here by ajax --> <div class="gridRow pnl-no-dimiss" ng-style="getRowCss(item)" id="user_list_07c4ab10-4ad0-44d1-9d65-aeee70be20a6"...
how to fold a scatter plot with a given period?
Vote count: 0 I am plotting graphs with given points as an array, the plot attains a minimum and rises again. After a certain period the graph repeats(not exactly but almost repeats, its natural to what I am plotting), what i want to do is that fold the curve such that all the repeated parts are plo...
Change Date's NSLocale
Vote count: 0 So I have this problem, I have a String that is Jueves 10 Junio 1990, it is in a es_MX locale, I want to convert that into a NSDate with en_US as the new locale. This is my code: let myString:String = "Jueves 10 Junio 1990" let dateFormatter = NSDateFormatter() dateFormatter.locale = N...
Query MySQL - One table view multiples records
Vote count: 0 I have a table with this contents: Table1: MySQL Table Content ( Table: 'sensors' ) Date | Topic | Value ------------------------------------------- 2016/06/15 13:22:11 | pressure | 10.52 2016/06/15 13:22:11 | temperature | 55.25 2016/06/15 13:23:42 | temperature | 40.12 2016/06/15 13:...
What is the html code for RSS Feed?
Vote count: 0 i need a HTML CODE for RSS FEED that code should be in HTML and must contain SIMPLE CODE TITLE WITH NO DESCRIPTION OPEN LINK IN CURRENT WINDOW GOOD CSS (IF POSSIBLE) Waiting for answer asked 31 secs agoMuhammad Ahmed Let's block ads! (Why?)
Rcurl not working with journal's webpage
Vote count: 0 I'm trying to webscrape some data from a jou al's website (article title, authors, etc.) In particular I wan info from this website http://www.sciencedirect.com/science/jou al/03043878/111 Problem is that when I run require(RCurl) appUrl <- getURL('http://www.sciencedirect.com/science/...
SSID cookie from google
Vote count: 0 I was filling out a NoCaptcha ReCaptcha using my google chrome browser the other day, and I decided to use developer tools to inspect the cookies I was sending and recieving. I saw a cookie for google.com with key "SSID." Could this contain my Wi-Fi SSID? The value was encrypted ("AstY...
Comparing null values in Caché
Vote count: 0 I have this query: SELECT * FROM Ens.MessageHeader head ,EnsLib_HL7.Message as body WHERE head.MessageBodyId = body.ID AND body.Name IN ('ADT^A34','ADT^A40') AND MessageBodyClassName = 'EnsLib.HL7.Message' Which gives results like this: I want to only get the records where BusinessProc...
How do I assign a HTML title to different pages?
Vote count: 0 I am developing a website with oure PHP and HTML on an Apache server. No CMS. All of my website's pages from the main directory and its subdirectories call one header.php file. I have now run into an issue with all of the page <title>'s, as these are obviously defined in the header, so...
Paged AD Query Sometimes Fails
Vote count: 0 I have some code (below) that runs every 15 minutes. Sometimes it will fail to query AD with the following error: System.DirectoryServices.Protocols.DirectoryOperationException: The server does not support the control. The control is critical. at System.DirectoryServices.Protocols.Ldap...