How to stop mychild from creating new accounts on xbox one...?
◷
تاریخ انتشار: 1395/1/23 | ساعت: 5:50
Vote count: 0 Okay, I set-up parental control for my child's xbox one I bought him and sat it to teen settings. It works fine but there's a flaw, my child can just make another account and by-pass this and make a new unrestricted account. I've caught him several times making new accounts and I had t...
My askQuestion() function in Javascript is always marking the answeras wrong
◷
تاریخ انتشار: 1395/1/23 | ساعت: 4:43
Vote count: 0 The link to my pen in CodePen - http://codepen.io/PartTimeCoder/pen/WwMxEX?editors=0010 The Javascript is here: function randomNum(digits) { retu Math.floor(Math.pow(10, digits - 1) + Math.random() * 9 * Math.pow(10, digits - 1)); } function askQuestion(digits) { $(".result").html("");...
"unexpectedly found nil while unwrapping an Optional value" in DidDeselectRowAtIndexpath
◷
تاریخ انتشار: 1395/1/23 | ساعت: 4:43
Vote count: -1 I know this is an error a lot of people get and I know what it means, but for this matter i'm not able to fix/debug it. I have a table view with a custom cell. Once you select a row, some things will happen. Once the row gets deselected, some other things will happen. This all works f...
Decision Tree Binary Classifier shortcut (sorting)
◷
تاریخ انتشار: 1395/1/23 | ساعت: 4:43
Vote count: 0 Normally, at each node of the decision tree, we consider all features and all splitting points for each feature. We calculate the difference between the entropy of the entire node and the weighted avg of the entropies of potential left and right branches, and the feature + splitting fe...
Dandelion datatables add extra header row for filters
◷
تاریخ انتشار: 1395/1/23 | ساعت: 3:26
Vote count: 0 I have implemented dandelion datatables v1.1.0 in a project, at this moment I need to add a second header (thead) row to add the yadcf filters like this: I have tried adding a new feature for add the new header row but the sorting icons are in the header row like the next image: This i...
javasript tail recursion instead of loop
◷
تاریخ انتشار: 1395/1/23 | ساعت: 3:26
Vote count: 0 In one of Douglas Crockford speeches, He favours the use of tail recursion over loops. this code was presented, function repeat(myFunc) { if (myFunc !== undefined) { retu repeat(myFunc); } } I thought to define a myFunc but don't know if a static counter can retain its state during fun...
HTTP Status 500 - Servlet.init() for servlet Jersey Web Application threw exception
◷
تاریخ انتشار: 1395/1/23 | ساعت: 3:26
Vote count: 0 index.html <html> <body> <h2>Jersey RESTful Web Application!</h2> <p><a href="webresources/myresource">Jersey resource</a> <p>Visit the <a href="http://jersey.java.net">Project Jersey website</a> for more information on Jersey! </body> </html> MyResource.java @Path("/myresource") publi...
removing and storing list from dictionary
◷
تاریخ انتشار: 1395/1/23 | ساعت: 2:24
Vote count: 0 In python, I have a dictionary composed of the following: [ ['FOXP2_MOUSE', 'AminoAcidSequence1'], [FOXP2_RAT','AminoAcidSequence2'], ['FOXP2_DOG', 'AminoAcidSequence3'] ]. I'm trying to remove the keyed FOXP2_DOG from the dictionary and place it in a new dictionary alone. I've tried d...
$(this).data('dynamic_id') is undefined except in alert
◷
تاریخ انتشار: 1395/1/23 | ساعت: 2:24
Vote count: 0 How do I use the data-attribute to pass a dynamically generated id from a rails app to jQuery? When I try, the value retu s undefined unless I just send it to an alert box. This code: $(document).on "page:change", -> $('#debug_link_id').click -> alert $(this).data('dynamic_id) Shows th...
How can I make my label have rounded corner by setting a border radius?
◷
تاریخ انتشار: 1395/1/23 | ساعت: 2:24
Vote count: 0 So I have this label here: var countAmount = new UILabel() { Text = AppState.CurrentSelected.Count().ToString(), FontSize = 11, HorizontalOptions = LayoutOptions.End, FontFamily = CoreTheme.FONT_FAMILY_DEFAULT_BOLD, TextColor = ColorHelper.FromHex(CoreTheme.COLOR_TOP_NAVBAR_BACKGROUND)...
Modify internal structure when implementing std::hash
◷
تاریخ انتشار: 1395/1/23 | ساعت: 1:19
Vote count: 0 I'm writing a custom OrderedTree class I want to use as a key to an unordered_set. I want to do a couple things when hashing the Tree: calculate the hash lazily and cache it as needed (since this may be an expensive operation), maybe balance the tree. Neither of these operations change...
Wordpress: (When Fixing Overlapping Masonry Issue) Encountered unexpected end of file in functions.php
◷
تاریخ انتشار: 1395/1/23 | ساعت: 1:19
Vote count: 0 Disclosure: I'm not a programmer, or trained in web design. Please forgive me if this is something stupid. Today I've been trying to fix a problem with overlapping Masonry on my Wordpress.org website, nathanhewitt.net. I found that the likely solution was to use imagesLoaded, a jquery ...
How to use nested or double for loop in Matlab to generate new 1D array by comparing Existing 1D array
◷
تاریخ انتشار: 1395/1/23 | ساعت: 1:19
Vote count: 0 For example I have one binary array with size of 9 as b = [0 1 0 1 0 1 1 1 1], Then another array 'm' with size of 7 as m = [21 28 36 45 45 66 66]. Here i want to change all the zeros of 'b' by 1st element of m then replace 1's of b by consecutive elements of 'm' so my output 1D array ...
How to create label and dynamicaly add binding to his content property in WPF
◷
تاریخ انتشار: 1395/1/22 | ساعت: 23:45
Vote count: 0 I'm trying to create a Label in runtime and co ect it's Content property to other TextBox control which is inside my UserControl called MyLabelSettings. This is what i got so far: Label currCtrl = new Label(); MyLabelSettings currCtrlProperties = new MyLabelSettings(); // Bindings to p...
Is there anything wrong with my sub Loc-txtbox_change sub routine.?
◷
تاریخ انتشار: 1395/1/22 | ساعت: 23:45
Vote count: 0 The picture contains an add inventory button that opens up a userform as seen to the right. The values entered in this form gets an entry on the spreadsheet. I am seeing some 1900 dates for my triggers as seen in the picture .For TDS1 input, this code is expected to take userinput from...
win32 API Logon user when interactive login is not allowed
◷
تاریخ انتشار: 1395/1/22 | ساعت: 23:45
Vote count: 0 I'm using win32 API Logon user on c# in order to impersonate a wcf cha el. The problem when service is ru ing in a machine where the admin removed all the users (except admin) from "Allow logon locally" the impersonation fails. How can I impersonate the call if GPO does not allow "Allo...
r how to convert possible character variables
◷
تاریخ انتشار: 1395/1/22 | ساعت: 22:16
Vote count: 0 I am new to R and reading 19 variables (Import_1 to Import_19) from a CSV file x <- (as.data.frame(final_data[,c(15:33)])) When I summarized one variable I got following display (possibly character variable) Import_1EXTREMELY IMPORTANT-10:17709 :17608 : 8907 : 4506 : 1505 : 604 : 3 03 ...
Swift: firstAppear won't work , ViewController init every time
◷
تاریخ انتشار: 1395/1/22 | ساعت: 22:16
Vote count: 0 I have a Bool firstAppear in my SecondViewController. When a video is played the Bool becomes false. Then if I go back to my FirstViewController and retu , the video plays again. As I understand I always create another instance of the ViewController so thats why my logic is false. What...
SQL Server error 18456
◷
تاریخ انتشار: 1395/1/22 | ساعت: 22:16
Vote count: 0 windows unable to co ect to SQL server with windows authentication mode I haven't created SQL authentication.Server name is AYAZ .Server is able to co ect with Analysis and Reporting service but unable to co ect with Database engine asked 1 min agoAyaz Ahmad Tarar Let's block ads! (Why...
Javascript and understand it?
◷
تاریخ انتشار: 1395/1/22 | ساعت: 21:02
Vote count: 0 So this is my very first code in javascript! kind of a copy/make my own code kind of thing, Ive been trying to go through tutorials and kind of get it? but well this code doesn't work! and wanted to find out why??? maybe an explanation why so i understand where im going with this... do...