text
stringlengths
175
47.7k
meta
dict
Q: WordNet - Parts-Of-Speech required? To figure out if the two words are SYNONYMS (SIMILAR_TO), do I need to find the Parts-Of-Speech for the two words first? Can I do this in a single 'operation' in the WordNet or will I have to loop through the senses first for each word? A: Synsets are categorized according to ...
{ "pile_set_name": "StackExchange" }
Q: Validation of EditText's does not work I have a signup screen. It contains a place for the user's full name, email address and password (the user has to confirm their password). However, it does not work as expected. For the signup button to be enabled the fields have to filled in, in order: top to bottom (this w...
{ "pile_set_name": "StackExchange" }
Q: Connection with Wi Fi in android device I am facing a strange problem with my Android ACE phone. I am able to connect to Wi-Fi and able to browse Google. But unable to connect to my Internal Servers / network. What is the problem? Will it be an issue with the device or is it the problem with router? Same Server is...
{ "pile_set_name": "StackExchange" }
Q: Changing URL through html select What is the best way to change your URL through an html select? <select> <option selected="selected">Change to URL X</option> <option>Change to URL Y</option> </select> What Javascript should be used? A: <script type="text/javascript"> function navigateTo(sel, target, newWindow)...
{ "pile_set_name": "StackExchange" }
Q: How to sum up this series or find a closed expression or argument? We know the following (Taylor expansion) $$\sum_{n=0}^\infty \frac{(-1)^n}{n!} (x^2)^n = e^{-x^2}.$$ Which is integrable in $x$ on $\mathbb{R}$. Nevertheless, imagine we instead have: $$\sum_{n=0}^\infty \frac{(-1)^n}{n!} (x^2)^n \frac{\Gamma(1+n)}...
{ "pile_set_name": "StackExchange" }
Q: Removing and re-adding a subview with autolayout When using autolayout, my understanding is that removing a subview ( while holding a reference to it of course), the removed subview still knows its autolayout constraints. However, when adding it back to the super view later, the subview no longer knows its frame ...
{ "pile_set_name": "StackExchange" }
Q: How to filter response with query parameters on POST methods on Microsoft Graph API? I am attempting to make a simple room booking application within my office. Users can select a time frame, see the available rooms, and book the room (create an event in their calendar in that time frame in that room). In order to...
{ "pile_set_name": "StackExchange" }
Q: Combination of smartphones' pattern password Have you ever seen this interface? Nowadays, it is used for locking smartphones. If you haven't, here is a short video on it. The rules for creating a pattern is as follows. We must use four nodes or more to make a pattern at least. Once a node is visited, then ...
{ "pile_set_name": "StackExchange" }
Q: Knockout validation on dynamic viewmodel I am creating knockout viewmodel dynamically and this code is working fine. I want to add validation in this viewmodel. Can I add validation in this viewmodel? Is this good approach or should I create viewmodel myself and add validation attributes myself? Or does any clien...
{ "pile_set_name": "StackExchange" }
Q: Javascript Trigger "right arrow" key event - Force Label Deselection I want to trigger a keyboard event to press "right arrow" key. The purpose is to cancel the highlight. I used the code below to insert a hyper link into the editor content. var range = document.getSelection().getRangeAt(0); var nnode = document.c...
{ "pile_set_name": "StackExchange" }
Q: Reordering columns in DataGridView then reading DisplayIndex with hidden columns I have a DataGridView containing some columns - some added automatically and some added when a user performs a certain action. Some of the auto-generated columns are not visible, and the visible columns are frozen and read-only. From ...
{ "pile_set_name": "StackExchange" }
Q: Fastest way to check whether image (img HTML element) is not protected by CORS I occurred to have a problems when I copied image from a site (context menu->copy image) and pasted it in my script (in contenteditable div). <img> appears in the div, however an attempt to drawImage it on <canvas> will cause errors if ...
{ "pile_set_name": "StackExchange" }
Q: Add custom Javascript to Prestashop After asking on the Prestashop forum and receiving no reply I wanted to ask you guys and hope for an answer. I am trying to add an animated snow plugin to my shop but after looking at the header.tpl file which instructs you to not edit - how do I add my own Javascript to the hea...
{ "pile_set_name": "StackExchange" }
Q: discordjs/nodejs , How can i check if a message only contains custom emotes? I'm building my own discordbot in NodeJS by using discordjs. With the code below you can recognize if the message contains only a emote client.on("message", function(message){ var bool = message.content.match(/^(:[^:\s]+:|<:[^:\s]+:[0-9]+...
{ "pile_set_name": "StackExchange" }
Q: How to force a Manipulator inside a Manipulate to auto-run? I want to use a slider (not drop-down list) for a list of discreteValues to do the Manipulate (I used Sin[x] below for simplicity, but the actual one is much more complicated). At the same time, I needed to show a function of x next to the slider (below I...
{ "pile_set_name": "StackExchange" }
Q: How to update MS Access database I need a simple program to update MS Access database fields. I followed an online tutorial which was simple and had the code working. But it doesnt seem to work anymore when I reimplement it. Here's my code. public partial class Form1 : Form { public Form1() { Ini...
{ "pile_set_name": "StackExchange" }
Q: Distributivity of lattice $\left(N,\:\le \right)$ The exercises asks me to prove/verify the distributivity of the lattice $\left(N,\:\le \right)$ I've no clue on how to approach this problem, because at the seminar we didn't really study lattices as ordered sets(not sure if this is the correct English term), but ...
{ "pile_set_name": "StackExchange" }
Q: Interpreting an integral under the Riemann Stieltjes form. I've long ago solved an exercise that was as follows: This problem provides a new way of finding $ \displaystyle \int\limits_a^b {{x^p}dx} $ for $ 0 < a < b $. It consists of using partitions $t_i$ for which the quotient $\displaystyle \frac{t_i}{t_{i-1}}$...
{ "pile_set_name": "StackExchange" }
Q: MySQL: Add stoplist How could I add a own stoplist to MySQL 5? A: Guessing you're asking about how to set the stopwords list for MySQL FULLTEXT search, this portion of the manual page 11.8.6. Fine-Tuning MySQL Full-Text Search could interest you (quoting) : To override the default stopword list, set the ft_st...
{ "pile_set_name": "StackExchange" }
Q: Show that a graph with with exactly 1 vertex of degree 1, contains a cycle I realize this question has been asked before, but I'm still confused about the answers, so bare with me. I was asked this question on an Exam recently, and tried to prove it by constructing the graph: "Start with a vertex $v_0$ which is th...
{ "pile_set_name": "StackExchange" }
Q: Why can not I use "TermDocumentMatrix"? Why can not I use "TermDocumentMatrix"? I used the following command to unify plural words in singular form, but I get an error. crudeCorp <- tm_map(crudeCorp, gsub, pattern = "smells", replacement = "smell") crudeCorp <- tm_map(crudeCorp, gsub, pattern = "feels", replacemen...
{ "pile_set_name": "StackExchange" }
Q: Updateable Data Grid using Linq to SQL in WinForms I'm populating a datagrid using Linq--standard kind of stuff (code below). For some reason however my ultraDataGrid is stuck in some kind of read-only mode. I've checked all the grid properties I can think of. Is that a result of binding to a Linq data source? A...
{ "pile_set_name": "StackExchange" }
Q: Moving a 2D numpy subarray efficiently I have a numpy array that represents a greyscale image, such as image = numpy.array([ [.0, .0, .0, .0, .1, .3, .5, .0], [.0, .0, .0, .0, .4, .4, .6, .0], [.0, .0, .0, .0, .3, .3, .7, .0], [.0, .0, .0, .0, .0, .0, .0, .0], [.0, .0, .0, .0, .0, .0, .0, .0], ...
{ "pile_set_name": "StackExchange" }
Q: Putting an array into a table with SimpleXMLobject using php Array ( [0] => Array ( [Title] => SimpleXMLElement Object ( [0] => aa ) [Pubdate] => SimpleXMLElement Object ( [0] => aa ...
{ "pile_set_name": "StackExchange" }
Q: Using SQL Statement in TO_DATE Function? I have to use SQL statement in TO_DATE function. Like: TO_DATE((select MAX(VERSION) from TABLE_B),'MM/DD/YYYY') When I use TO_DATE like that, I encounter an error. Like: [Error] Execution (9: 32): ORA-01858: a non-numeric character was found where a numeric was expected ...
{ "pile_set_name": "StackExchange" }
Q: Phone number duplication detector I am doing the POJ 1002 question. My code works fine but the website says the compilation time is more than 2000ms, which is not accepted. How can I improve my time-wise performance? Problem Statement Input — The input will consist of one case. The first line of the input specifi...
{ "pile_set_name": "StackExchange" }
Q: ADx analytics android integration issue I try to integrate ADx mobile analytics into my android application. Maby something wrong with my AndroidManifest file. Can anyone provide me with rigth manifest integration. Thanks. I have such error log: 02-09 13:33:38.328: E/AdXAppTracker(13547): Add APP_ID to AndroidMan...
{ "pile_set_name": "StackExchange" }
Q: Need Listbox to capture first selecteditem property as SelectedItem, rather than the PropertyChanged *TO* I have a listbox that, when an item is selected, invokes a method that executes a Stored Procedure. The problem is that when the first item is selected, my PropertyChanged event doesn't fire unless the select...
{ "pile_set_name": "StackExchange" }
Q: Swift changing different labels labelData in every loop So i would like to simplify this chunk of code to a simple for loop. But UITextFields and UILabels are giving me some hard time. @IBOutlet var thingsIUse: UITextField! @IBOutlet var orThis: UILabel! saveProgress(year: year, season: season, day: "...
{ "pile_set_name": "StackExchange" }
Q: apt - checking if a similar package has been installed This question explains how to find out if a given Debian package has been installed, but it does not take into account "synonyms" when installing via apt-get. For instance, if I try apt-get install libncurses-dev, apt-get replies: Note, selecting 'libncurses5-...
{ "pile_set_name": "StackExchange" }
Q: using groovyxmlslurper from EL in JSP I've been tasked with creating a JSP tag that will allow developers to pass a URI to an xml document, and have an object returned that can be navigated using EL. I have been using groovy and grails quite a bit so I thought of trying something like rval = new XmlSlurper().pars...
{ "pile_set_name": "StackExchange" }
Q: android basic auth okhttpclient I am connecting to my rest api using retrofit and okHttp client. When I disable Basic authentication on Tomcat everything works flawlessly. When Basic Auth is enabled on Tomcat I get 404 Page not found. Here is my authentication and error output. okHttpClient.setAuthenticator(n...
{ "pile_set_name": "StackExchange" }
Q: Fetching results from a prepared select query I'm trying to create a basic log-in system. Username and password are entered into a form and the results are sent to this page. If I enter the correct details, it works fine, but if I try to log-in with nonsense it never displays the error message. The line seems to b...
{ "pile_set_name": "StackExchange" }
Q: TDD basics - do I add or replace tests? I'm completely new to TDD and am working my way through this article. It's all very clear except for a basic thing that probably seems too obvious to mention: Having run the first test (module exists), what do I do with my code before running the next one? Do I keep it so th...
{ "pile_set_name": "StackExchange" }
Q: How to change this.state status during authentication? Firebase + React-Router I use react-router and Firebase for authentication. For this function onButtonClick from file SignIn must change state in App.js for true. How to do this? Maybe there are some other ways except my idea? App.js : import React, { Componen...
{ "pile_set_name": "StackExchange" }
Q: How to sort json data in groovy in alphabetic order? I want to sort an json data which is like this def json = [] for ( int i=10;i>1;i--){ if (i==10 || i==9 ){ json << [ name:"xyz", id:i ] }else if (i==8 || i==7 ){ json << [ name:"abc", id:i ...
{ "pile_set_name": "StackExchange" }
Q: Gmail AppScript mailMessage.getFrom() to return email not name Similar to: Getting only email address to display when using message.getFrom() in JavaMail but could not apply the solution. Trying to use mailMessage.getFrom() on Google AppScript with Gmail. Default script: function loadAddOn(event) { var accessTok...
{ "pile_set_name": "StackExchange" }
Q: Can't login to MySQL as root anymore? It looks like I can not login to MySQL (actually MariaDB) as root user anymore in Ubuntu 15.04 (I upgraded from 14.04 via 14.10) I already tried to reset the password. What is working, is sudo mysql - but I want to login as root from an other user using mysql -uroot -p. When I...
{ "pile_set_name": "StackExchange" }
Q: Grep, Sed... Awk to modify lines in a file I've searched for this but I didn't find exactly what I'm looking for. What I want to do is replace in the same file all the lines that contains a jar file with "PATTERN" text in the name so that I can add in those lines a new property with the sourcecode for those jar fi...
{ "pile_set_name": "StackExchange" }
Q: CSS webkit scrollbar show/hide I'm using -webkit-scrollbar and what I want to happen is the scrollbar hidden on page load, and it stays hidden until you hover over the container div it is attached to. When you are hovering over a scrollable area, it would appear. I tried adding :hover and :focus affects to various...
{ "pile_set_name": "StackExchange" }
Q: Using boost::bind to create a function object binding a auto-release "heap" resource I try to use boost::bind to create a function object, as well, I want to bind a object created on the HEAP to it for a delay call. The example code like below: #include <boost/function.hpp> #include <boost/bind.hpp> #include <boos...
{ "pile_set_name": "StackExchange" }
Q: C# Add variable value to list name Is it possible to add a variable to a list name when using it? Something like this: string id = "1"; //Could be 2 List<string> List1 = new List<string> {"1","11" }; List<string> List2 = new List<string> {"2","22" }; foreach (var element in List+id) { //code here } IDs could be ...
{ "pile_set_name": "StackExchange" }
Q: How to sort on hh:mm:ss (duration) in Excel I have a column of data that represents duration, e.g. 33:15 - 30 minutes and 15 seconds; 1:05:00 - 1 hour and 5 minutes, etc. If I try to sort it A-Z, then 1 hour gets sorted before 30 minutes. Is there a way to format the data to make it sort correctly? Formatting solu...
{ "pile_set_name": "StackExchange" }
Q: Multipolygon in DSE Graphs I need to store Multipolygon data in Datastax Graph. They do support some of geo data types like point, line String and polygon . Do they support Multipolygon. Could you please help with this A: DSE Graph does not support explicit Multipolygon data types. If you don't mind sharing, wh...
{ "pile_set_name": "StackExchange" }
Q: How does GNU Radio File Sink work? I want to know how the file sink in GNU Radio works. Does it receive a signal and then write it to the file, and while it's being written signal receiving is not done? I just want to make sure if some portion of the signal is lost without being written to the file because of the ...
{ "pile_set_name": "StackExchange" }
Q: Different aggregate operations on different columns pyspark I am trying to apply different aggregation functions to different columns in a pyspark dataframe. Following some suggestions on stackoverflow, I tried this: the_columns = ["product1","product2"] the_columns2 = ["customer1","customer2"] exprs = [mean(col...
{ "pile_set_name": "StackExchange" }
Q: Validar número Cartão de crédito Como faço para validar números de cartões de crédito? Não farei integração com operadora de cartão, preciso apenas validar o número, assim como ocorre com a validação com CPF. A: Você pode utilizar o atributo CreditCardAttribute para validar. Como está utilizando asp.net-mvc-5 c...
{ "pile_set_name": "StackExchange" }
Q: Ruby on a Mac -- Regular Expression Spanning Two Lines of Text On the PC, the following Ruby regular expression matches data. However, when run on the Mac against the same input text file, no matches occur. Am I matching line returns in a way that should work cross-platform? data = nil File.open(ARGV[0], "r") do |...
{ "pile_set_name": "StackExchange" }
Q: Reloading OpenLayers 5 WMS automatically with new data I am making a weather application. It is almost finished now, but I just have one problem left. I want a WMS-layer to automatically reload every few seconds. I thought I had the solution, but it seems that it doens't quite work. Below (some of) my code. It se...
{ "pile_set_name": "StackExchange" }
Q: How to get Row data after a button click in datatables can anyone help me on how to get a single row data on a click event. This is the table which is dynamically populated after Success function in AJAX call is executed <div class="table-responsive table-wrap tableFixHead container-fluid"> <table class="table bg-...
{ "pile_set_name": "StackExchange" }
Q: how to apply filter in angular js which is not visible? I am trying to apply filter in list view .Whenever I typed anything in input field it filter my list .I am able to filter when I write username which is visible to user .example when I write "pa" it sort my list and display only one row .that is correct.but w...
{ "pile_set_name": "StackExchange" }
Q: VBS output in column format I am trying to have my .vbs output be put into columns. However, when I try write the code to organize the output into columns I continue to get an error - Invalid Procedure call or argument: 'Space' I'm looking for some help on this, thanks!! Call FindPCsThatUserLoggedInto Sub FindPCs...
{ "pile_set_name": "StackExchange" }
Q: TThread and inheritance I am having a hard time implementing multi-tier inheritance from the basic TThread class. Based on my knowledge of OOP it should be possible but maybe it just can't be applied to threads. My goal is to use TMyBaseThread to implement all the code that will be common to descendent classes. Th...
{ "pile_set_name": "StackExchange" }
Q: Adding function parameters using a single variable in jQuery I was thinking the is it possible to pass a variable to function which is to be executed on clicking the button and the function is given by a variable. Also the parameters of the functions could be more than one and so I separated them by ,. So is there...
{ "pile_set_name": "StackExchange" }
Q: Who was the first "trap character"? A "trap character"(UrbanDictionary entry, may be NSFW) is a character who appears to be a girl until you get in close enough (plot-wise) to discover they are, in fact, a boy. The inverse trope exists as well; a "reverse trap" character is a girl who appears to be a boy. (Note: ...
{ "pile_set_name": "StackExchange" }
Q: Using arrays in function handler parametr I have a problem with finding solution to my problem. Is it possible to use arrays as argument in str2func? Example: A='@(X)10+(X(1)-2)^2+(X(2)+5)^2'; y=str2func(A); y(someArray); where X-array 1x2; A: sure: A='@(X) 10+(X(1)-2)^2+(X(2)+5)^2'; y=str2func(A); y([1 2]) ju...
{ "pile_set_name": "StackExchange" }
Q: Why my javascript doesn't work from the server I just uploaded my website on a free host server but it doesn't work properly. I don't know why... can you help me please ? see the link : https://electrophotonique.000webhostapp.com/ A: Your code is fine but you just need to put your scripts at the end of you...
{ "pile_set_name": "StackExchange" }
Q: Phonegap or steroid.js? I recently started studying Phonegap when I happen to read about appgyver and steroids.js.The latter seems to be a really easy and fast way to create apps.Now I am confused,should I hop on and give my full focus on learning appgyver or is there an element of phonegap which I should learn as...
{ "pile_set_name": "StackExchange" }
Q: Could you create a game for an older system (say, SNES) and sell it with an emulator as well as the game? I was looking into development for the SNES in assembly, as programming in assembly is my hobby. I then had the thought: what if I could sell my native SNES games for modern use (on steam, bundled with an emul...
{ "pile_set_name": "StackExchange" }
Q: workflow task summary throwing error specified cast is not valid using spmetal layer I have created share point data access layer with spmetal, everything is works fine but when I try to query with task summary list through SPMETAL it throws error I tried several techniques to cast , directly use this Iqueryable l...
{ "pile_set_name": "StackExchange" }
Q: Price change for Configurable products in list Scenario: I have a configurable product with the price X (no special price). One (or more but not all) of the simple products attached to the configurable products has a special price Y (lower than X). In the product view page (works as desired): when the page loa...
{ "pile_set_name": "StackExchange" }
Q: Сортировка выбранной строки двумерного массива Пожалуйста, напишите кусок кода, который сортирует выбранную строку двумерного массива. Пишу - не работает, вставляю готовый код - не работает #include "pch.h" #include <iostream> using namespace std; int main() { setlocale(LC_ALL, "Russian"); const int n = 4...
{ "pile_set_name": "StackExchange" }
Q: Proper way to say "Look at the sky" I've been learning japanese for quite a few weeks but I'm still pretty new to it so maybe this question will sound silly, if that's the case, I'm sorry. Because I really love the way it sounds and looks, I tryed learning japanese. And now, I'd like to get myself a tattoo. "Look...
{ "pile_set_name": "StackExchange" }
Q: strange IDE in Visual Studio In my VS2015 there is a strange HTML tree nodes view of my MVC View. This tree nodes view occupies 1/4 of the screen all the time. I don't know what addon I added. There is no way to dismiss it. Does any know? A: I solved the problem by disable the suspected add-on one at a time ...
{ "pile_set_name": "StackExchange" }
Q: Calling functions one after other in event driven programming I'm working on a software where software issues commands for hardware panel and once a command is issued, its response received after few seconds . there are different functions for different hardware commands like public void FunctionA() { StartCo...
{ "pile_set_name": "StackExchange" }
Q: Accessible topics with a background of linear Algebra and Calculus I have a background of a one year course in linear algebra (covering most of K&H) and two years of calculus (the first year was a one real variable course at the level of Spivak's Calculus book and then one year of multivariable calculus starting f...
{ "pile_set_name": "StackExchange" }
Q: Removing padding/margin consistently in multiple wraps I’m trying to get the light green to be disappeared (not gone but underneath the dark green). It’s the exact same problem as my previous post (Remove padding/margin between elements in shrink-to-fit container) but the only thing that’s different is the wrap i...
{ "pile_set_name": "StackExchange" }
Q: What Access Rights am I Missing on my Stored Procedure I'm trying to run a stored procedure from my website that disables a trigger. Here is the code for the trigger: CREATE PROCEDURE [dbo].[DisableMyTrigger] AS BEGIN alter table dbo.TableName DISABLE TRIGGER TriggerName END I've also set the permissions on t...
{ "pile_set_name": "StackExchange" }
Q: the point of using a webhook secret For a heroku app, I have a webhook for "api:release". Even if I set a secret for the webhook, my webhook app still receives the hook. So what's the point of setting the optional secret ? A: Anyone can hit your webhook and trigger your build because it's a HTTP endpoint with no...
{ "pile_set_name": "StackExchange" }
Q: Pandas to_sql doesn't create a file I'm trying to save my pandas dataframe as a SQL file I followed the documentation and tried from sqlalchemy import create_engine engine = create_engine('sqlite:///:memory:') df.to_sql('filename.sql', engine, chunksize=1000) However, when I check the directory with os.listdir()...
{ "pile_set_name": "StackExchange" }
Q: PHPUnit Symfony Test Case error I am new to Symfony, I have wrote small app now have to add unit tests, here is my controller: <?php namespace myBundle\Controller; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Requ...
{ "pile_set_name": "StackExchange" }
Q: How iPad can run terminal as linux system? If I want to develop software on an iPad, how to start a terminal like linux and save the source local? A: Without jailbreaking you can't really. iOS is designed not to allow executables to be created or even files to be moved between apps. Also there is no terminal. If...
{ "pile_set_name": "StackExchange" }
Q: removing space before new line in java i have a space before a new line in a string and cant remove it (in java). I have tried the following but nothing works: strToFix = strToFix.trim(); strToFix = strToFix.replace(" \n", ""); strToFix = strToFix.replaceAll("\\s\\n", ""); A: myString.replaceAll("[ \t]+(\r\n?|\n...
{ "pile_set_name": "StackExchange" }
Q: Eclipse giving errors whenever I try to export to executable jar I'm trying to export a small program that I have made in Eclipse Indigo today to an executable, however, every time I do so one of two problems occur. The program uses one resource which I was hoping to put inside of the JAR but Eclipse will not put ...
{ "pile_set_name": "StackExchange" }
Q: Custom Key Bindings in SWT Is it at all possible to add custom key bindings to buttons in SWT? I can't use & in the text of the button to set a mnenomic because my buttons have no text (only an image). Is there a good way to do this using key listeners or is there something like the input/action map in swing? A: ...
{ "pile_set_name": "StackExchange" }
Q: Adding label to tkinter widget changes entire layout I am making a python text editor, and I am now busy with the find function. Then when the last occurance of the users input is found, it jumps back to the beginning again, and it shows the text 'Found 1st occurance from the top, end of file has been reached' at ...
{ "pile_set_name": "StackExchange" }
Q: Переопределение в классе python(курсы) Необходимо понять, в чем может быть ошибка данного кода, а точнее где, могут возникнуть "вопросы". def __mul__(self, alpha): if isinstance(alpha, Matrix): result = [] numbers = [] for i in range(len(self.lists)): ...
{ "pile_set_name": "StackExchange" }
Q: How to implement min left/right in css I have an element in my css which look like below .xyz{ position:absolute; left:50%; } Now as expected when I reduce the width of browser window, this element moves towards left. However I want it to stop at a certain point since otherwise it starts overlapping o...
{ "pile_set_name": "StackExchange" }
Q: Wife does not work but wants “own” money/allowance My wife and I have been married 4 years (United States). We had a baby 6 months ago and 8 months ago my wife quit working, it started to be to much on her physically and now we both like that our child is not in daycare, which means someone has to be home, this en...
{ "pile_set_name": "StackExchange" }
Q: Difference between Generalized linear modelling and regular logistic regression I am trying to perform logistic regression for my data. I came to know about glm. What is the actual difference between glm and regular logistic regression? What are the pros and cons of it? A: The main benefit of GLM over logistic r...
{ "pile_set_name": "StackExchange" }
Q: Related Products, Up-Sells, and Cross-Sells modal panel error After moving to Magento ver. 2.2.2 from Magento var. 2.1.9 the Related Products, Up-Sells, and Cross-Sells modal panel from catalog product edit doesn't show anymore. I can see these error in the console Uncaught TypeError: Cannot read property 'apply' ...
{ "pile_set_name": "StackExchange" }
Q: ms-access 2003 combo box population I have an entry form with a sub. I have three combo boxes that work together. combo 1 sets up with vba and an after event combo 2 and on into three. They work fine independently of the main form, but when I sue the form as a sub the cascade stops working. Forms Main Form Name...
{ "pile_set_name": "StackExchange" }
Q: quick question about plist Can my application download a .plist from a URL and replace the one that I built in xcode and shipped with the application? Thanks Leo A: No, you can't change anything in your application bundle. You must download you plist file to some folder in application sandbox (documents or cache...
{ "pile_set_name": "StackExchange" }
Q: Why does mDNS (Bonjour, Avahi, etc) use UDP? It seems to me that a lot of the problems with DNS, particularly security problems, have the root cause of DNS being implemented over UDP; for example the responder doesn't have to be who he says he is. I don't know the details of mDNS protocol (which I assume is much n...
{ "pile_set_name": "StackExchange" }
Q: PHP can't move (write) uploaded files to mounted network drive We develop our PHP-based web applications by editing our working files in a shared, local directory on each of our windows machines. The (linux) staging server then mounts our shared drives and serves them each under subdomains. E.g. joe.work.com woul...
{ "pile_set_name": "StackExchange" }
Q: Simple nested for loop problems I am very new to programming and I am trying to create a short macro on google sheets. I want to copy and paste a list of cells a certain number of times based on variables see here. On the first column you have a list of locations and the second column the number of times they shou...
{ "pile_set_name": "StackExchange" }
Q: Oracle SQL String Manipulation My field contains short codes that I want to access, such as C-COR3. The issue is some records have additional information (F and H with numbers). An example is C-COR3 F1.54H19, I only care about C-COR3. Anything after "F" I want to ignore. Code below works, but only if I hard-code t...
{ "pile_set_name": "StackExchange" }
Q: What is the cataclysm that befalls Earth in Wool? In the Wool series; specifically, Wool 6: First Shift, it is said that the world ends with atomic bombs. The landscape of the world definitely jives with this. However, whenever someone goes out into the world, their protective suit is immediately attacked by ...
{ "pile_set_name": "StackExchange" }
Q: Paypal Adaptive Payments Allowing Third Party to Act on Your Behalf I'm reading the adaptive paypals API ebook and it says on page 21, that : "if you allow a third party to paypal to execute an application on your behalf the third party becomes the API caller because the third party is now calling the Adaptive Pay...
{ "pile_set_name": "StackExchange" }
Q: When reviewing, what to do when previous reviewer has already posted a comment? On a recent review of a first post the previous reviewer, a moderator, had already posted a comment that covered the issue. The post was asked on the wrong SE site, but their comment covered this. I decided to flag for moderator inter...
{ "pile_set_name": "StackExchange" }
Q: How do you change a color of an image entirely when hovered in tag element? I have this example code that hovers an image to change the background color. How do you fill the entire image with color when hovered? In my code snippet, it only fills the background color of an a tag element but not the image. Here's ...
{ "pile_set_name": "StackExchange" }
Q: ARM clock speed on raspberry pi Running bare-metal (no operating system, no Linux) The specs implies the ARM can/does run 700MHz, the sys clock matches the manual and appears to be running at 250MHz. Simple tests on the ARM imply that it is doing the same, for example with the instruction cache on test: subs r0...
{ "pile_set_name": "StackExchange" }
Q: Adding result values from two different arrays together Please take a look at my sample Fiddle I have a running total for credits selected for Transfer. As you select the number of credits, the running total adds up. It's designed to stop at 6 credits per section. This part works fine. What I'm trying to do is add...
{ "pile_set_name": "StackExchange" }
Q: PHP cleanup "&$" I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc. I have tried: html2text command line html_entity_decode + ENT_QUOTES | ENT_HTML401 UTF-8 html_entity_decode(htmlentities($str)) strip_tags trim It did help a lot for cleaning up other things, but those &\#8217; &#8220; d...
{ "pile_set_name": "StackExchange" }
Q: Bash set +x without it being printed Does anyone know if we can say set +x in bash without it being printed: set -x command set +x traces + command + set +x but it should just print + command Bash is Version 4.1.10(4). This is bugging me for some time now - output is cluttered with useless set +x lines, making ...
{ "pile_set_name": "StackExchange" }
Q: Fontsize for text vs. math Disclaimer: I am new to Latex, I apologize for the lack of specific and correct vocabulary to describe my question. I am building an equation sheet and have a question about font sizes. I would like to specify the font size for the text to be smaller than the font size for the equation...
{ "pile_set_name": "StackExchange" }
Q: Unity Network No sound on other clients I'm trying to play sound on other clients, so they could hear gunfire in the distance, but sound only works for the shooter. Here's my code: void Update() { *** if (Input.GetButton("Fire1")) { CmdFireWeapon(this.gameObject); ...
{ "pile_set_name": "StackExchange" }
Q: Bootstrap Tapdrop jQuery in angular.js controller I saw Bootstrap Tapdrop library and it is perfect for dropdown in my responsive tabs. My app works with angular.js, but add the bootstrap-tapdrop.js in my index.html . I want to call: $('.nav-tabs').tabdrop({align:'left'}); into my angularjs app but nothing works...
{ "pile_set_name": "StackExchange" }
Q: Excel Worksheet_SelectionChange event not firing at all? (on both Office 2013 & 2016) I've been having a heck of a time accomplishing what I thought would be an incredibly simple test. All I am trying to achieve is to pop up a MsgBox when a user selects a new cell or changes the contents of a cell. I've been at th...
{ "pile_set_name": "StackExchange" }
Q: How to undo a Time Machine restore? I just attempted to restore a folder from TimeMachine. I was expecting that TM would ask me where to put the restored folder (as it has done in the past, IIRC), but this time it didn't, and instead overwrote the folder1. This is definitely not what I wanted. Is it possible to u...
{ "pile_set_name": "StackExchange" }