text
stringlengths
175
47.7k
meta
dict
Q: What is the voltage divider rule? Can anyone explain what the voltage divider rule is? How has the author of this book used it for analyzing the Voltage Divider Bias circuit for transistors? And can anyone explain how the two resistors are parallel? And how has the author assumed the battery to be a short circuit...
{ "pile_set_name": "StackExchange" }
Q: PHP/MySQL Get autoincremented value after insert In my mysql table i have an id-column which is set to autoincrement. then i do queries like this: INSERT INTO table (id, foo) VALUES ('', 'bar') how can i then safely find out which id was generated with this insert? if i just query the last id this might not be saf...
{ "pile_set_name": "StackExchange" }
Q: After Tomcat restart on VM, Youtrack resets I've installed Tomcat today on my local VMware Workstation and loaded *.war YouTrack there. Everything was great until I needed to stop VM and reboot my PC. After that I started my VM again, went to address where YouTrack is based and it took me to "setUp" page immediate...
{ "pile_set_name": "StackExchange" }
Q: How to control fan speed in Dell Inspiron 5010 (15R)? How can I control fan speed on Inspiron 15R? I installed i8kutils as instructed on ubuntuforums but don't know how to use it. Fan makes quite a noise and runs all the time. A: So doing the research on this, it looks like the way to control the fan is to issu...
{ "pile_set_name": "StackExchange" }
Q: const enum in typescript (tsc.js vs typescript.js) I have a const enum in typescript: const enum LogLevel { TRACE = 0, DEBUG = 1, INFO = 2, WARN = 3, ERROR = 4, SILENT = 5 } Based on the typescript spec the following field: private foo: number = LogLevel.DEBUG; should be compiled as: this....
{ "pile_set_name": "StackExchange" }
Q: Fix AAPT2 ERROR in Android Studio with non-ASCII characters in Windows user name I installed the latest Android Studio and started to play around it. I created a new navigationbar project and put a gridview into it. Then when I try to build and run it I get this really annoying AAPT2 error, see logs for details. I...
{ "pile_set_name": "StackExchange" }
Q: Unable to get Stencil Buffer to work in iOS 4+ (5.0 works fine). [OpenGL ES 2.0] So I am trying to use a stencil buffer in iOS for masking/clipping purposes. Do you guys have any idea why this code may not work? This is everything I have associated with Stencils. On iOS 4 I get a black screen. On iOS 5 I get exact...
{ "pile_set_name": "StackExchange" }
Q: Implementing FluentSecurity over Ninject (aka porting StructureMap to Ninject) I'm a beginner on IoC and dependency injection. I'm reading about it, but I just can't get it. While I figure out how stuff works, I'm trying to implement some of these patterns on my project (and maybe learn by trial and error). I'm im...
{ "pile_set_name": "StackExchange" }
Q: How to insert text into existing text in a div using jQuery I'm using jQuery 1.8.2 with a jsp and I'm trying to get text dynamically inserted into a div. Here is what I've tried: var selectButton = "Your " + $(this).val(); alert("The selectButton value is: ") $('#submitMsg').prepend(selectButton); $('#submitMsg')...
{ "pile_set_name": "StackExchange" }
Q: Properly dismissing (or "destructing") views in Swift I'm concerned about tiny lags and memory issues, and how they might scale. My app is programmed using Swift and I've been doing everything in the app programmatically, including page navigation using presentViewController and dismissViewControllerAnimated. Note...
{ "pile_set_name": "StackExchange" }
Q: reading sql server log files (ldf) with spark this is probably far fetched but... can spark - or any advanced "ETL" technology you know - connect directly to sql server's log file (the .ldf) - and extract its data? Agenda is to get SQL server's real time operational data without replicating the whole database fir...
{ "pile_set_name": "StackExchange" }
Q: Adding a custom initWith? If I create a custom initWith for an object do I essentially include the code I would add should I want to override init? -(id) init { self = [super init]; if (self) { NSLog(@"_init: %@", self); } return(self); } e.g. -(id) initWithX:(int) inPosX andY:(int) inPosY...
{ "pile_set_name": "StackExchange" }
Q: What is the number of people that leave the meeting? In a business meeting, each person shakes hands with each other person, with the exception of Mr. L. Since Mr. L arrives after some people have left, he shakes hands only with those present. If the total number of handshakes is exactly 100, how many people left ...
{ "pile_set_name": "StackExchange" }
Q: How to draw lines on the bitmap used in ImageViewZoom? I recently started using ImageViewZoom (https://github.com/sephiroth74/ImageViewZoom) and what I'm going to do is to draw some lines on the bitmap used in this View from time to time. I tried to do it in the following way, but the result is that the View is ...
{ "pile_set_name": "StackExchange" }
Q: How do I apply AddHandler using OnCommand in ASP.NET I've been racking my brain trying to get this to work. My event for my LinkButton isn't firing. I'm figuring that it has SOMETHING to do with ViewState and that the button is not there when it tries to fire the event after the Postback or something. When I c...
{ "pile_set_name": "StackExchange" }
Q: Constant Password Checking? I have read on stackoverflow the following: never store the users password or even a hash of the password in session or cookie data. I'm in the middle of making a system to check for a constant password, if it's different from one saved in a session, then force a logout; something li...
{ "pile_set_name": "StackExchange" }
Q: How to get objects correctly placed when zoomed in on fabricjs canvas? I'm using fabricjs to load an image, use the mouse wheel to zoom on pointer position, and click to add a circle. When no zoom, objects are created where clicked. When zoomed in, the only circle that is placed correctly is where you zoom in on (...
{ "pile_set_name": "StackExchange" }
Q: Using combineLatest with UITextFields in RAC 3+ I would like to simply "combine" the signals emitted by a number of textfields and fire a block of code. It seems there are a few ways this "should" work using methods like combineLatest() or the values: SignalProducer initializer. But I am not able to get anything ...
{ "pile_set_name": "StackExchange" }
Q: VARCHAR2 should perhaps be DT_WSTR when working with SSIS against a Oracle Database? When using SSIS with Oracle database, it seems to always assume that a VARCHAR2 maps to a DT_STR. However, if my Oracle encoding is set to AL32UTF8, I should be able to store any unicode character in a VARCHAR2, right? Is there ...
{ "pile_set_name": "StackExchange" }
Q: I can't ping from my server to google.com, how can I diagnose issue? I'm on my server and I can't ping anything outside. I tried for example google.com. How can I diagnose this issue? I can ping my localhost (ping works) This is my traceroute to google.com: [root@ip-10-112-63-16 tony]# traceroute google.com trace...
{ "pile_set_name": "StackExchange" }
Q: How to focus same input after onSubmitEditing? I want to focus again to the same input after onSubmitEditing function. But couldn't achieve yet. Any help would be appreciated. Here is my code: <Input ref='barcode' style={styles.barcodeInput} autoFocus={true} onChangeText={(text) => { ...
{ "pile_set_name": "StackExchange" }
Q: How to display invalid call exceptions from fluent controller in MVCContrib? How can I pass the exception thorwn by the action in MVCContrib.FluentController CheckValidCall(action)? [ExportModelStateToTempData] public ActionResult Index(int itemId, int page) { return CheckValidCall(() => MySer...
{ "pile_set_name": "StackExchange" }
Q: Check if a Cookie exists or not? I am trying to find out if a cookie exists or not, if it doesn't I want to create it. I am doing this in Internet Explorer and its stopping at if(readCookie(count) == null) of the code below. if(readCookie("count") == null) { createCookie("count", 0, 10); } function readCooki...
{ "pile_set_name": "StackExchange" }
Q: C++ while loop with 2 conditions, VS. for loop with 2 conditions? If I wanted to iterate through a string, and stop once I found either the letter "o" or the end of the string, would it make any difference to use a while loop to check the 2 conditions, or a for loop with 2 conditions? const int STRING_SIZE = 16; c...
{ "pile_set_name": "StackExchange" }
Q: assigning an R object to run a chain of command I am learning to use bookdown to render a PDF and Word document simultaneously from the same Rmd file. Since I want to view the PDF output using Sumatra PDF reader, which cannot auto reload modified documents for documents shown in the ebook UI (refer to ReloadModifi...
{ "pile_set_name": "StackExchange" }
Q: CSS styling for paragraph not taking effect in head but takes effect when declared in the body I'm fairly a newbie at HTML and CSS. I've been following procedures on w3schools and also experimenting with things on my own. One of the first problems I've faces so far is in this code: <!DOCTYPE html> <html> <hea...
{ "pile_set_name": "StackExchange" }
Q: Confused about finding non-brute force way to solve for matrix to the 2019th power I am attempting to solve this problem, it has four parts. I solved part a (a trivial matrix problem), but the next three parts appear to be a bit confusing to me. I just would like some help getting started so I can see and observe ...
{ "pile_set_name": "StackExchange" }
Q: what is the code for table rates shipping method & cash on delivery" payment method I am using this shipping "Table rates" and "webshopapp matrix rates" shipping methods. what i need is that , if we use table rates shipping method, i want to hide "cash on delivery" payment method. i am following this link : https...
{ "pile_set_name": "StackExchange" }
Q: Invalid Date Issue but Date is Invalid I have a date format 03.03.2016 20:01 And I have a code aData._date = new Date(aData[3]).getTime(); error is that date is invalid but, at different computer it worked well but now it is not working .What is the problem? Thanks in advance A: What is the problem? Parsing...
{ "pile_set_name": "StackExchange" }
Q: Enumerated constants property does not stream Given the following type declaration: TMyEnum = (onehundred,twohundred,threehundred); TMyEnum2 = (Aonehundred = 100 , Atwohundred = 200 , Athreehundred = 300); TMyComponent = class(TComponent) private FMyEnum: TMyEnum; FMyEnum2: TMyEnum2; published ...
{ "pile_set_name": "StackExchange" }
Q: Unable to connect to Postgres on Vagrant Box - Connection refused? First off, I'm new to Vagrant and Postgres. I created my Vagrant instance using http://files.vagrantup.com/lucid32.box without any trouble. I am able to run vagrant up and vagrant ssh without issue. I followed the instructions with one minor a...
{ "pile_set_name": "StackExchange" }
Q: Displaying better error message than "No JSON object could be decoded" Python code to load data from some long complicated JSON file: with open(filename, "r") as f: data = json.loads(f.read()) (note: the best code version should be: with open(filename, "r") as f: data = json.load(f) but both exhibit similar ...
{ "pile_set_name": "StackExchange" }
Q: Make Windows require password after hibernate I set password for User-Accounts and for the Windows (Using syskey), but when I turn on my system after a hibernate, it don't require neither system password nor accounts password. and directly navigate me to desktop! Why?! Note: I have this problem only after hibernat...
{ "pile_set_name": "StackExchange" }
Q: Пустое значение в заявке Кто может подсказать в чем причина? Когда нажимаю кнопку отправить, полученное значение становится NaN let input = $('#total_price'); $('button').on('click', function(){ let price = parseInt($('.'+$(this).attr('id')).text()), // раз класс "цены" и ид кнопки совпадает, то будем это ...
{ "pile_set_name": "StackExchange" }
Q: WMQ V8 Connection Factory setup on Tomcat using JNDI Currently on our Tomcat configuration with JNDI is based on this recommendation which currently is working. How do I connect to a Websphere MQ (MQ Series) server using JMS and JNDI? Since we are upgrading to v8 I would like to take advantage of the JMS 2.0 featu...
{ "pile_set_name": "StackExchange" }
Q: Android/iOS mobile browser - disable events How can I disable default mobile browser events like zoom (dblclick, expand) and options (when you hold down your finger on a screen a popup appears with options)? I tried this: document.addEventListener('ontouchstart', function(event) { event.preventDefault(); }, false...
{ "pile_set_name": "StackExchange" }
Q: Can we get a custom Tour page? This feature request is related to PPCG not being a Q&A site. The most important part of the onboarding experience for new users (especially those who don't arrive via other sites from the network) is the tour page. Moderators can customise the first paragraph and a few details in th...
{ "pile_set_name": "StackExchange" }
Q: New Yorker Dieresis Rule; prosaic, unionized? There are lots of informal references to the traditional / "New Yorker" style of using diereses to disambiguate runs of vowels, however I have yet to find a definitive guide. See, for example: http://www.newyorker.com/online/blogs/culture/2012/04/the-curse-of-the-diae...
{ "pile_set_name": "StackExchange" }
Q: CentoOS SSH Access I'm executed this commands with root user i'm on a CentOS 6.3 server: #useradd newuser #passwd newuser #visudo then I added this line at end of file: AllowUsers newuser #service sshd restart #exit Now, I can't access server with deployer or root user! Both accounts return: **Permission denie...
{ "pile_set_name": "StackExchange" }
Q: Using a variable in android XML or otherwise programmatically setting an XML attribute Say I have a style that I want to change: <?xml version="1.0" encoding="utf-8"?> <resources> <style parent="Widget.TitlePageIndicator" name="Widget.MyTitlepageIndicator"> <item name="footerColor">#14A804</item> </style> </re...
{ "pile_set_name": "StackExchange" }
Q: concatenating tuples of array within a tuple I have a tuple which contains many tuples. Each tuple within my main tuple has two elements -- the first element is an array with a shape of (700,) and the second element is a integer. Here is a small representation of my tuple: x =( (np.array[3,3,3],1), (np.array[4,4,...
{ "pile_set_name": "StackExchange" }
Q: Attempting to write float to CSV, but it becomes an integer I'm using python 3 to create a csv file with different types of data, one of them being a float. Strings and integers show up correctly on the generated file, but the float becomes a large integer instead of retaining the decimals. For exmaple, 64.5232323...
{ "pile_set_name": "StackExchange" }
Q: Numeric MaskedEditExtender issue onfocus I'm using latest toolkit (v18) and I have a strange behaviour when textbox receive focus. This is my markup: <asp:textbox runat="server" maxlength="10" id="txtBadge" name="txtBadge" placeholder="Codice badge" required="required"></asp:textbox> <asp:MaskedEditExtender runat=...
{ "pile_set_name": "StackExchange" }
Q: How to derive cosine difference formula? I was asked on a take home quiz to "Derive the Cosine Difference Formula". I've looked for an hour but I've gotten different results this is kind of my last chance. A: And here is a totally inappropriate way. $e^{i(a-b)} = \cos(a-b)+i\sin(a-b) $ and $\begin{array}\\ e^{i...
{ "pile_set_name": "StackExchange" }
Q: Etiquette for email asking graduate administrator to contact my reference regarding a deadline extension I've applied to the University of ....... for fall 2016 graduate admission. The deadline for my references to submit the recommendation letters is December 01. One of my references is currently extremely busy a...
{ "pile_set_name": "StackExchange" }
Q: J2SE getting a json response throwing exception 451? I'm creating an application that needs to get an answer from a webservice that response as json object. I've already test URL on browser and it works very well but using Java(J2SE) it doesn't works and throws an exception 451 from server. I don't know why it wor...
{ "pile_set_name": "StackExchange" }
Q: property value is not changing in subscribe block in angular4 I am implementing authentication in asp.net core angular application. In my login component I am sending credentials in auth service which returns either true or false. when that returns true it is working fine. But when it is returning false, it is not...
{ "pile_set_name": "StackExchange" }
Q: PHP - Changing the datetime to mysql readable datetime My date and time string is: January 28, 2010 1417 with the last four numbers being the time. How should I go about converting it to a string that would be acceptable by mysql? when I try using strtotime I get Warning: strtotime(): It is not safe to rely on th...
{ "pile_set_name": "StackExchange" }
Q: Magento 2: How can I do an integration with magento 2 and sap business one? i want to create a integration with magento 2 and SAP B1, I created a web application in magento 2 I gave it a name and I gave it permission to API and it was saved then create a new role, assign the roles that the API will use, then creat...
{ "pile_set_name": "StackExchange" }
Q: How can I determine an empty string when its contents is \0\0\0\0 I have a SizeOfData variable of byte[4] which returns: byte[0] == 0 byte[1] == 0 byte[2] == 0 byte[3] == 0 When I do Encoding.ASCII.GetString(SizeOfData) the string variable's length is 4 and String.IsNullOrEmpty() returns false however when I look...
{ "pile_set_name": "StackExchange" }
Q: School Assignment of understanding the definition of a specific C pointer During a C introductory course (in an Engineering University), we were asked to identify a declaration with pointers along the lines of int (*(*f[5])(void))[10];. my current understanding of the declaration would be "an array containing 10 f...
{ "pile_set_name": "StackExchange" }
Q: Counting Sentences using NLTK (5400) and Spacy(5300) gives different answers. Need to know why? I am new to NLP. Using Spacy and NLTK to count the sentences from JSON file but there is a big difference in both of the answers. I thought that the answers will be same. Anyone who can tell me that?? or any web link wh...
{ "pile_set_name": "StackExchange" }
Q: Default Ringtone Preference to silent I have a ringtone preference in a preferences.xml that currently defaults to the system notification sound. I'd like to default it to silent, but am having trouble finding the content URI to the silent sound. <RingtonePreference android:defaultValue="content://...
{ "pile_set_name": "StackExchange" }
Q: Interactive labeling of images in jupyter notebook I have a list of pictures: pictures = {im1,im2,im3,im4,im5,im6} Where im1: im2: im3: im4: im5: im6: I want to assign the pictures to labels (1,2,3,4 etc.) For instance, here pictures 1 to 3 belong to label 1, picture 4 belongs to label 2, picture 5 to labe...
{ "pile_set_name": "StackExchange" }
Q: GestureDetectorCompat not reacting to events In the following code, I do not get any response to touch events when I setup my GestureDetectorCompat. Could it be because I use data binding? If so, do you have any ideas why and how to get around the problem? private lateinit var mDetector: GestureDetectorCompat pri...
{ "pile_set_name": "StackExchange" }
Q: Android : Combine normal widget and SurfaceView I have create a screen with two kind of views : normal view (buttons to receive up/down action ) and surfaceview. The SurfaceView implements SurfaceHolder.Callback and run on another thread and have a method name Tick(). When those buttons receive action, they will c...
{ "pile_set_name": "StackExchange" }
Q: Spline on multiple factors in data frame This question is in the context where I have a lot Model types, each of the same class, but the amount of data for each Model is small and I want to spline to get a fuller dataset. I'm hoping to find a way to do this without having to individually spline every Model once at...
{ "pile_set_name": "StackExchange" }
Q: Search for exact word or phrase in Flash Builder's "Search" tool? How do I search for an exact match to a phrase or word in Flash Builder's search tool? For example, in my project I have a class with a function named "removeEvent". If I search on it, I get all instances where "removeEventListener" is used and of c...
{ "pile_set_name": "StackExchange" }
Q: Does retagging a question count as an edit for Strunk & White? Possible Duplicate: What kind of edits contribute to the editor badges? Does retagging a question count as an edit for the Strunk and White badge? A: It does not count for the Strunk and White badge A: No, it doesn't count towards the badge. Edit...
{ "pile_set_name": "StackExchange" }
Q: row span not working proper in dynamic generated html content via jquery <table> <tr> <td rowspan="2">test</td> <td>test</td> </tr> <tr> <td rowspan="0">test</td> <td>test</td> </tr> </table> $.each(data.shopTimeArray,function(i) { $tbodyTR = $("<tr>",{}).appendTo($tbody); ...
{ "pile_set_name": "StackExchange" }
Q: CancellationTokenSource.Cancel doesn't work during WPF app exit Here is a simple async call with cancellation code snippet. The code sits in a WPF application class. If I call the Cancel method via a WPF UI Command, the async method will exit properly. However, if the Cancel is invoked during the OnExit method,...
{ "pile_set_name": "StackExchange" }
Q: Connect to MongoDB in C# with Credentials Hi I'm trying to connect to my remote MongoDB with Visual Studio 2013 in c# using the latest Official MongoDB supported driver for MongoDB. The problem I'm having is I'm unable to insert a collection or possibilly even establishing the connection. I'm using the following c...
{ "pile_set_name": "StackExchange" }
Q: Putting NewLine in writing CSV documents Perl I am trying to write data calculated by my perl script into a csv file which will be repeatedly opened and input to. I have encountered two issues. One, the CSV created ocupies a single row, adding each new field to a new column. The seccond is that the CSV file once c...
{ "pile_set_name": "StackExchange" }
Q: NeuPy: Input shapes issues I want to build a neural network using neupy. Therefore I consturcted the following architecture: network = layers.join( layers.Input(10), layers.Linear(500), layers.Relu(), layers.Linear(300), ...
{ "pile_set_name": "StackExchange" }
Q: Instagram post's caption is not showing properly I am trying to get instagram profile's post with captions, everything is working fine except captions. It showing : [object Object] I haven't used any api. My code: function nFormatter(num){ if(num >= 1000000000){ return (num/1000000000).toFixed(1).repl...
{ "pile_set_name": "StackExchange" }
Q: What is the correct/ fastest way to update/insert a record in sql (Firebird/MySql) I need some SQL to update a record in a database if it exists and insert it when it does not, looking around there looks to be several solutions for this, but I don't know what are the correct/ accepted ways to do this. I would idea...
{ "pile_set_name": "StackExchange" }
Q: Print login page url in node.tpl.php It seems nevertheless rather simple, but I do not find the solution. How to print in node.tpl.php the url of the login page? The url has to serve for a link: <a href="<?php print ... ?>"><span>Login</span></a> A: Use this if you just want the URL: <?php print url('user/logi...
{ "pile_set_name": "StackExchange" }
Q: How do you prove that the following 2 hypothesis classes' VC-dimensions are equal? Given a hypothesis class $H=\{h:X\to\{0,1\}\}$. Let $c\in H$ be the correct predictor. Denote $H^c = \{c\Delta h:h\in H\}$, where $c\Delta h=(h\backslash c)\cup (c\backslash h)$. Please prove that VCdim($H^c$) = VCdim($H$) A: If ...
{ "pile_set_name": "StackExchange" }
Q: Two groups of checkboxes, if first one is checked second can not be I have two "groups" of checkboxes (although the first group only contains one checkbox), but if user checks the checkbox from the first group I want to restrict the ability of checking the checkboxes from second group... <div> <h3>First group</h...
{ "pile_set_name": "StackExchange" }
Q: Summation over a sympy Array I want to sum over a sympy Array (called arr) using the two indices i and j. Summing over arr[i] results in an integer as In [4] below shows. However, summing over arr[j] does not give a number as result (see In [5] below). Why is that? In [1]: from sympy import * In [2]: i, j = symbo...
{ "pile_set_name": "StackExchange" }
Q: Why windows 10 UWP framework Stream class does not have Close method? Why windows 10 UWP framework Stream class does not have Close method? What do I do in order to release the used stream, I have used Dispose method as of now but is there any other way I can release the stream? And why microsoft have removed Clos...
{ "pile_set_name": "StackExchange" }
Q: Difference between listing a generator and looping Looking at this answer, it seems that using a list comprehension (or for loop with append) is equivalent to calling list(..) on an iterator. Since generators are iterators too, I'd expect the same for generators. However, if you run def permute(xs, count, low = 0)...
{ "pile_set_name": "StackExchange" }
Q: Manipulating CSV Data with Javascript I have two .csv files and i need to make one table for both files in simple html page. First file (devices.csv) has id,name,units where units the number of ports that device can connect. Second file (connections.csv) has reference id for the first file and unit_number that is ...
{ "pile_set_name": "StackExchange" }
Q: Changing ListView.ShowItemToolTips raises ItemChecked events Hi when I set ShowItemToolTips of a ListView with checkbox items to true in designer and change it to false in the code, the event ItemChecked is raised. The checked state itself is not changed though. But inside the (also raised) ItemCheck event the old...
{ "pile_set_name": "StackExchange" }
Q: Searching not exists in Neo4j via Cypher I have some relations between persons in my graph. my data (generate script below) create (s:Person {name: "SUE"}) create(d:Person {name: "DAVID"}) create(j:Person {name: "JACK"}) create(m:Person {name: "MARY"}) create(js:Person {name: "JASON"}) create(b:Person {name: ...
{ "pile_set_name": "StackExchange" }
Q: Use 'forceget' error when calling GET :urn/​metadata/​:guid/​properties I am trying to retrieve the properties using this method: GET :urn/​metadata/​:guid/​properties This is something that we have running and works daily in our workflows, but I think this is an especailly large model. For this particular model ...
{ "pile_set_name": "StackExchange" }
Q: What does it mean for a git repo to have multiple remotes? I was reading over Pro Git, and the section on remote repositories is sort of confusing for me. In particular, there's a section where the author says: http://git-scm.com/book/en/Git-Basics-Working-with-Remotes "If you have more than one remote, the comman...
{ "pile_set_name": "StackExchange" }
Q: Subject from Dropdown using enum Django I have ContactForm with subject dropdown using enum, the subject is three different string: 1. I have a question. 2. Help/Support 3. Please give me a call. When the user send a message have to select one of the above three, here is my code below: *forms.py* from django_enum...
{ "pile_set_name": "StackExchange" }
Q: How can I use a hlp file for context sensitive help in my application? I have a .hlp file that goes with the application. Because the functionality has not changed since I last wrote the app the hlp (written in 2003) is still valid. However when I compile the app in Delphi XE7 I cannot get the application to recog...
{ "pile_set_name": "StackExchange" }
Q: Prove that the restriction of a Lebesgue measure on a subset is a complete measure Given a Lebesgue measure $m$ on a $\sigma$-field $\mathcal M$ and Lebesgue measurable set $B$ let $ \mathcal M_B = \{A \cap B\colon A \in \mathcal M\}$ and $ m_B(A) = m(A) $ How do I first show that $\mathcal M_B$ is a $\sigma$-fie...
{ "pile_set_name": "StackExchange" }
Q: Getting API response payload using fetch I am using fetch to get the API response for GET and POST requests. When an error occurs, I am able to see the status code and the text i.e, 400 Bad Request. However, there is additional information being passed that explains why the error was thrown (i.e. username did not ...
{ "pile_set_name": "StackExchange" }
Q: BigQuery - Group by on arrays I want to group by on an array. sample query: #standardSQL WITH `project.dataset.table` AS ( SELECT 'compute' description, '[{"key":"application","value":"scaled-server"},{"key":"department","value":"hrd"}]' labels, 0.323316 cost UNION ALL SELECT 'compute' description, '[{"key":"...
{ "pile_set_name": "StackExchange" }
Q: Angular-Highcharts: Cannot read property of 'Apartment' of undefined of an object I am using Highcharts with Angular and I have two objects. Object one have mock data and object two have data pull from the cloud via xmlHttpRequest. When I use object one in Highcharts I get the intended result but with object two I...
{ "pile_set_name": "StackExchange" }
Q: New to unity, why does this script not move the object? (Unity 3D) I am new to c# and unity, and I am trying to make a 3d game. This code is supposed to make a sword move back and forth, and when I press the button, unity acknowledges it, but the sword doesn't move. Does anyone know why it's doing this? using Syst...
{ "pile_set_name": "StackExchange" }
Q: Java character conversion to UTF-8 I am using: InputStreamReader isr = new InputStreamReader(fis, "UTF8"); to read in characters from a text file and converting them to UTF8 characters. My question is, what if one of the characters being read cannot be converted to utf8, what happens? Will there be an exception? ...
{ "pile_set_name": "StackExchange" }
Q: Could there be a meta CW or curated list of other venues for OT questions? I think I'm probably inviting the Paradox Police here, but... I wanted to post a URL to an author site and ask for a design/UX critique. A little poking around and I found a principle of "Don't ask for website critiques; besides a potential...
{ "pile_set_name": "StackExchange" }
Q: 2008 Honda Accord turns over but wont start I have a 2008 Honda Accord 2.2 Diesel which turns over but won't start. There is 240,000 km on the clock. This issue first occurred about 9 weeks ago. I got in my car to go to work and it kept turning over but would not start. There is not a problem with the battery. A m...
{ "pile_set_name": "StackExchange" }
Q: Using superuser.com to warn my own users In 2 days from now, users of legacy versions of our client-side software will no longer be able to login due to forced SSL setup update server-side. the error message will be cryptic. Also, we don't have the email of all such users hence can't easily communicate with them. ...
{ "pile_set_name": "StackExchange" }
Q: Soft question, matching multiplication tables I'm having troubles with an excercise from "Algebra: Chapter 0" Both $(\mathbb{Z}/5\mathbb{Z})^*$ and $\mathbb{Z}/12\mathbb{Z}$ * consist of 4 elements. Write their multiplication tables, and prove that no re-ordering of the elements will make them match. $(\mathbb...
{ "pile_set_name": "StackExchange" }
Q: Does a quantum channel being time-translation invariant imply that its Kraus operators commute with the Hamiltonian? Let $\mathcal E\in\mathrm{T}(\mathcal X,\mathcal Y)$ be a quantum channel (i.e. a completely positive, trace-preserving linear map sending states in $\mathrm{Lin}(\mathcal X,\mathcal X)$ into states...
{ "pile_set_name": "StackExchange" }
Q: LabelEncoder within Lambda function I'm working with the Ames, Iowa housing data, and I'd like to use a LabelEncoder within a lambda function to label encode my string values in my categorical features while skipping over the NaN values (so I can impute them later). This is what I have so far: train['Fireplace Qu...
{ "pile_set_name": "StackExchange" }
Q: What does 'ido-everywhere' actually do? When reading about ido, we are instructed to add this to .emacs: (ido-everywhere t) The doc says that it Toggle use of Ido for all buffer/file reading. What does it mean? Everything seems to work whether ido-everywhere is set or not. A: ido-everywhere function (define-min...
{ "pile_set_name": "StackExchange" }
Q: React Performance Issues in Firefox? I'm experiencing some performance issues with a react application that I developed. These issues specifically (or most notably) occur with Firefox (both FF developer 77.0b7 and FF 76.0.1). When using this application in Firefox, CPU usage gets extremely high, and my fans start...
{ "pile_set_name": "StackExchange" }
Q: make app universally compatible for device with and without camera I face a strange problem, My application works perfectly on devices with or without a camera; only a few functionalities are not available if you don't have a camera. After uploading my app to the play store, the play store excluded some devices w...
{ "pile_set_name": "StackExchange" }
Q: LocationRequest constructor is marked as internal I'm trying to set up location updates in my Android app using com.google.android.gms:play-services-location:12.0.0, but I'm getting the following error: LocationRequest constructor is marked as internal and should not be accessed from apps My location updates req...
{ "pile_set_name": "StackExchange" }
Q: Has an entire generation of a young children in a civilization ever been orphaned and raised as loyals? In a movie I watched a ruler kills all of the adults in a kingdom in order to raise the young children (who were too young to remember or at least understand the event) as loyal soldiers. Has anything like this ...
{ "pile_set_name": "StackExchange" }
Q: Stop highligtning Bar color in MPAndroidChart? I am using MPAndroidChart in my application. The problem is, whenever I click any particular bar, it gets highlighted. I want to stop that and want it to be normal as it was before get clicked. I have tried these methods I found after doing study about it but no...
{ "pile_set_name": "StackExchange" }
Q: Unsure of meaning of assignment function (variable assignment) in semantics of predicate logic? I'm currently in a mathematical linguistics course, and I'm having trouble understanding the meaning of 'g[d/v]: the variable assignment g′ that is exactly like g except (maybe) for g(v), which equals the individual d'...
{ "pile_set_name": "StackExchange" }
Q: Undo: export GIT_ASKPASS="" I'm relatively new to git/gitlab. For my school gitlab account, I was trying to setup git push to not continuously ask for my rsa passphrase by using: export GIT_ASKPASS="<password goes here>" It did not work, and now I'm stuck trying to push to gitlab with a refused connection. Is the...
{ "pile_set_name": "StackExchange" }
Q: Why isn't every vertex connected to every other vertex in TextRank? I've been reading up on the automatic text summarization approach TextRank, particularly for generating summaries of a text using sentence extraction as opposed to keyword or phrase extraction. In the published paper, an example body of text and t...
{ "pile_set_name": "StackExchange" }