trial

Trialhandler and time measuring in psychopy

纵饮孤独 提交于 2019-12-08 07:56:31
问题 For a go-NoGo Task I want to organize pictures with the data.TrialHandler class from psychopy: trials = data.TrialHandler(ImageList, nReps=1, method='random') Now I want to code a loop in which psychopy is going into the dictionary, is presenting the first set of pictures (e.g. A_n) and afterwards is going to the second set until the sixth set. I tried the following: import glob, os, random, sys, time import numpy.random as rnd from psychopy import visual, core, event, monitors, gui, logging,

UWP trial version and products purchase that make full version with expiration

旧时模样 提交于 2019-12-08 06:11:43
问题 I'm working with UWP and trying to make the app with a trial version (1 month) and products purchase that make full version with expiration (1 month and 1 year). The general idea is, when the user downloads for first time the app, he has a trial period of 1 month with ads. After the month of trial version the app asks that need to buy a product with a periord of time and with this remove adds. The problem is that I don't know how to make at same time the buy of full version and product

UWP trial version and products purchase that make full version with expiration

我们两清 提交于 2019-12-06 15:32:25
I'm working with UWP and trying to make the app with a trial version (1 month) and products purchase that make full version with expiration (1 month and 1 year). The general idea is, when the user downloads for first time the app, he has a trial period of 1 month with ads. After the month of trial version the app asks that need to buy a product with a periord of time and with this remove adds. The problem is that I don't know how to make at same time the buy of full version and product expiration, or make the full version with expiration. I believe the answer here is to use the Microsoft Store

Create a trial version of a Java application, with limited functionality [closed]

岁酱吖の 提交于 2019-12-06 09:30:34
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 4 years ago . I am searching for ideas on how I can implement a trial version of my java application. Most posts are about creating a trial software with time limitation on when it stops working. In my case I am want to create an application that has limited functionality and one can

How to test LoopingCall()?

梦想的初衷 提交于 2019-12-06 07:01:50
问题 Within my code, I use task.LoopingCall() to run some deferred function every second. I want to make sure that that function returns the right values for a certain number of things. So, I thought I could use a task.clock() and call the advance() method on it. However, I am not getting the right number of responses expected. Any idea what I am doing wrong? Here is a test code to show what I mean. First is the server: from twisted.internet.protocol import Factory from twisted.protocols.basic

How do I store data securely with objective C? (Mac/Cocoa Dev)

落花浮王杯 提交于 2019-12-05 05:08:40
I'm trying to create a Trial part of my cocoa application. I have the licensing all set up (including keys) etc. But I was wondering how I could store e.g the first the time the user ran the program in a secure place, where the user can't easily find it and/or edit it. I was having a fiddle with NSUserDefaults standardUserDefaults, but the user can easily find and edit that data in Library > Preferences. I'd argue against making it super-secure. We once had a server activation but completely went away from it. Here are some of the reasons: Even the most "secure" storage method can be broken

How to test LoopingCall()?

为君一笑 提交于 2019-12-04 12:06:53
Within my code, I use task.LoopingCall() to run some deferred function every second. I want to make sure that that function returns the right values for a certain number of things. So, I thought I could use a task.clock() and call the advance() method on it. However, I am not getting the right number of responses expected. Any idea what I am doing wrong? Here is a test code to show what I mean. First is the server: from twisted.internet.protocol import Factory from twisted.protocols.basic import LineReceiver from twisted.internet import reactor from twisted.internet import task import time

Where to Store the Protection Trial Info for Software Protection Purpose

我们两清 提交于 2019-12-04 10:11:42
问题 It might be duplicate with other questions, but I swear that I googled a lot and search at StackOverflow.com a lot, and I cannot find the answer to my question: In a C#.Net application, where to store the protection trial info, such as Expiration Date, Number of Used Times? I understand that, all kinds of Software Protection strategies can be cracked by a sophiscated hacker (because they can almost always get around the expiration checking step). But what I'm now going to do is just to

Expire session automatically and detect if the session has expired in Codeigniter

我只是一个虾纸丫 提交于 2019-12-03 13:36:47
问题 I've seen plenty of questions here about my topic but it seems I still haven't found my answer. What I'm actually looking for is when the session expires the user will be automatically redirected to a page saying Your session has already expired. Please register to continue browsing. . Actually I have no idea on how I could determine if the user's session has already expired. Here's what I have so far. Thanks. function trial() { $this->db->select()->from('user')->where('user_type', 'tester');

Expire session automatically and detect if the session has expired in Codeigniter

微笑、不失礼 提交于 2019-12-03 03:39:19
I've seen plenty of questions here about my topic but it seems I still haven't found my answer. What I'm actually looking for is when the session expires the user will be automatically redirected to a page saying Your session has already expired. Please register to continue browsing. . Actually I have no idea on how I could determine if the user's session has already expired. Here's what I have so far. Thanks. function trial() { $this->db->select()->from('user')->where('user_type', 'tester'); $tester = $this->db->get(); foreach ($tester->result() as $row) { $data = array( 'id' => $row->id,