text
stringlengths
70
452k
dataset
stringclasses
2 values
Sequelize: don't return password I'm using Sequelize to do a DB find for a user record, and I want the default behavior of the model to not return the password field for that record. The password field is a hash but I still don't want to return it. I have several options that will work, but none seems particularly goo...
common-pile/stackexchange_filtered
How do I connect this hot plate This is in Germany, brand new flat. The wall socket is: The device has the following sticker: But the blue and grey wires are linked: Should I: separate the blue and grey and connect them with their respective colors in the socket connect them both in the blue connect them both in th...
common-pile/stackexchange_filtered
NextJS - Server side css render I'm wondering how to render the CSS style in the server as well? I'm on production mode! _app.js import {useEffect} from "react"; import Head from "next/head"; import Script from "next/script"; import '../style/global.css' function MyApp({ Component, pageProps }) { return (<> ...
common-pile/stackexchange_filtered
Create FTP user to access /var/www/html/uploads folder to write from PHP programs I did setup FTP and created user and changed home directory to /var/www/html as stated in below link. Setting up FTP on Amazon Cloud Server Now, I can connect FTP but I can't see files list, unable to upload files to /var/www/html folder....
common-pile/stackexchange_filtered
Use iptables nat to redirect gateway for LAN PCs I have a Linux server which functions as the gateway for my home network. It has two ethernet devices: p3p1: WAN, public IP address a.b.c.d p2p1: LAN, private IP address <IP_ADDRESS>/24 It also connects via a point-to-point OpenVPN tunnel to a remote Linux server (whic...
common-pile/stackexchange_filtered
Pass opencv inputarray and use it as std::vector I want write a customized function which use the cv::InputArray as parameters. Within the function, I understand I can use cv::InputArray::getMat to obtain a header of the input cv::Mat. I have some confusions while passing std::vector to the cv::InputArray. 1.If I pass ...
common-pile/stackexchange_filtered
Making a Form appear above everything I'm working on a stand-in Start Menu for Windows 8 and I've tried: this.TopMost = true; but it seems to only work until the form loses focus. Is there was an easy way to make the "start button" appear above the Task Bar permanently? Raymond Chen talks about the problems with topm...
common-pile/stackexchange_filtered
I'm having a lot of trouble with setInterval and class methods I keep running into bizarre problems. I've been unable to find anything on them after doing some research, so I thought I'd come here to present them. I have a class which is rather long, but I'll include the relevant bits: class AnimatedSnake { construct...
common-pile/stackexchange_filtered
Compiling tinygroupdtls I am trying to compile the tinygroupdtls (tindygroupdtls) on Contiki 2.7. Currently, I am getting a linker error. LD multicast-client-example.sky multicast-client-example.co: In function `secure_group_creation': multicast-client-example.c:(.text.secure_group_creation+0x6): undefined refe...
common-pile/stackexchange_filtered
Using MySQL functions in PHP PDO prepared statements What's the right way of using a MySQL function while using PHP PDO? The function NOW() gets saved as a string instead of showing the time. $sth = $dbh->prepare("INSERT INTO pdo (namespace, count, teststring) VALUES (?, ?, ?)"); // these protect you from injection $st...
common-pile/stackexchange_filtered
Operating System Concepts by Silberschatz and Galvin, how much down the edition timeline can I go to safely understand the core-concept I am student from CS background and I have Operating Systems in my upcoming semester. A simple search around the internet revealed that that Operating System Concepts by Silberschatz ...
common-pile/stackexchange_filtered
java unsigned byte to stream I am making an application that works with serial port. The problem is that the device I am controlling receive unsigned bytes range and as I saw java only accepts signed bytes range. I have googled how to send, but I only got how to receive unsigned bytes. Thanks EDIT 2: Fix proposed by @d...
common-pile/stackexchange_filtered
Test promise inside dynamic import in Angular I have this kind of code: component.ts async ngOnInit() { import('dom-to-image').then(module => { const domToImage = module.default; const node = document.getElementById('some-id'); domToImage.toPng(node).then(dataUrl => { // The test is not g...
common-pile/stackexchange_filtered
Simplify Query with Rails I have this code: @messages = Message.where(["user_id = ? AND receiver_uuid = ? OR user_id = ? AND receiver_uuid = ?", current_user.id, @friend_user[0].id, @friend_user[0].id, current_user.id]) I need to look for the relationship between the two ids, in 2 columns. My create method: def se...
common-pile/stackexchange_filtered
How to publish multilevel shoot using Street view publish API I'm trying to publish multilevel shoot using Street View Publish API but levels are not showing on Google map. I have sent this below python request for Upload the metadata of the photo: Request for level 1: metadata_upload_url = "https://streetviewpublish.g...
common-pile/stackexchange_filtered
Django Form ajax post with checkboxes I am trying to post via AJAX a Django Form with multiple checkboxes selected. When one checkbox is selected, everything works fine. When more than one is selected, it doesn't save anything. I am guessing this happens because of how I am organizing my data in JS before sending to th...
common-pile/stackexchange_filtered
Fourier transform of an image in EmguCV Can anyone tell me if there is an inbuilt function present in emgucv 2.3 for finding out fourier transform of images ? Thanks in advance From my answer Fourier Transform + emgucv The function you are after is CvInvoke.cvDFT it is technically calling the opencv method but it shou...
common-pile/stackexchange_filtered
comprehension of ancient languages is it necessary to have deep understanding/comprehension of ancient languages to know the "fullness" of the message of the Bible? I'm not sure this is a question that belongs here. While I read Greek, Hebrew, and Aramaic, the most important thing is to know the Bible in its entirety...
common-pile/stackexchange_filtered
Handling multiple accounts in PJSUA2 I'm making an Android VoIP app using PJSUA2 library. There is one Account instance and I'm calling account.create(accountConfig) method when logging in. If I keep on giving wrong credentials, same function is called repeatedly on the same account instance. After 3 attempts, this fun...
common-pile/stackexchange_filtered
Two questions about groups and presentations i have two questions about group presentations: Given the presentation $\langle a,b:a^2=1=b^3,(ab)^3=1\rangle$. I know that this is the presentation of $A_4$ but how to deduce that. Should i give a homomorphism from the presentation to $A_4$ and conclude that this is an iso...
common-pile/stackexchange_filtered
If $p <q$ (primes), how to classify the semi-direct products of $\mathbb{Z}_{q}$ by $\mathbb{Z}_{p}$? I have solved several exercises on classifying groups and I have been wanting to generalize my results. however, I came across this problem where I know that there is no semi-direct products of $\mathbb{Z}_{p}$ by $\ma...
common-pile/stackexchange_filtered
Hyphen's writing problem I'm new in this website so if my question is inappropriate, obviously tell me.. Sorry in advance :D I'm writing a sentece and in this sentence there are two words that are near. These two words are: self-esteem and group-esteem. Is it correct in English to put this words like this: self and gr...
common-pile/stackexchange_filtered
Prediction models, Objective functions and Optimization in Python How do we define objective functions while doing optimization in Python. We have defined Prediction models separately. Next step is to bring objective functions from prediction models (Gradient boosting, Random forest , Linear regression etc) and optimiz...
common-pile/stackexchange_filtered
The next step after Java Play Framework 1.2.x? I am wondering what's the next logical step after developing applications with java play framework? I really love to develop with play 1.2 but I am inconfident about its future, the main developers stopped their support on it (yet it is still opensource) and play 2.0 is a...
common-pile/stackexchange_filtered
zend framework "$this" I am new into the Zend framework, and I have a basic question. Assume I am working with the layout.phtml or with the index.phtml of any script. When I am using "$this->" to what instance am I referring to? I read in a book the following: "$this is available within the template file, and it is th...
common-pile/stackexchange_filtered
How to fix this wifi FPV antenna I do not know much about antenna's. A wire broke off of a Wifi antenna, being part of a video transmission unit of a quadcopter. The short grey colored wire on the right side of the picture broke off. I simply tried soldering it back on. But that does not seem to work. The range of the...
common-pile/stackexchange_filtered
CSS: Can you use `:has` within `:host()` selector? In the below example, I am trying to style the **host** depending on whether it has a slotted element that has the empty attribute. If it does have such an element, then I wish to add a lime green border: class Component extends HTMLElement { constructor() { ...
common-pile/stackexchange_filtered
Objects were released still they gave their values . ARC were Not mark (means Off) Objects were released still they gave their values . ARC were Not mark (means Off) -(void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. //test of retain and...
common-pile/stackexchange_filtered
How to disable or replace X-Powered-By header in Sails.js application When I run Sails.js application, it adds the following HTTP header automatically to every response: X-Powered-By: "Sails <sailsjs.org>". Is it possible to disable or override it? Yes, it's quite possible. You will need to disable the Sails's middlew...
common-pile/stackexchange_filtered
How to understand VIM configuration noremap <leader>M mmHmt:%s/<C-V><cr>//ge<cr>'tzt'm I find many results on internet using this confiuration to remove ^M. I can understand the substitute command :%s/<C-V><cr>//ge<cr>. But I cannot figure out why mmHmt and 'tzt'm is necessary. noremap <leader>M mmHmt:%s/<C-V><cr>//ge<...
common-pile/stackexchange_filtered
Pull up to refresh in android RecyclerView I have used the SwipeRefreshLayout of v4 support library according to the following way: swipeRefreshLayout.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() { @Override public void onRefresh() { refreshItems(); } }); ...
common-pile/stackexchange_filtered
ZF2/Doctrine 2 : Dynamic mapping for both ORM/ODM? I am using Zf2 and Doctrine2. What I am trying to accomplish is to write an event subscriber that can determine which objectmanger (EntityManager/DocumentManager) is being used and dynamically map a model class to a table or document. How would I map the model to the d...
common-pile/stackexchange_filtered
Where did Heinlein say "Once you get to Earth orbit, you're halfway to anywhere in the Solar System"? I know what it means. I've seen delta-V charts. But I don't know if Robert Heinlein wrote this down, or simply said it off-the-cuff to somebody. Variations include: "Reach low orbit, and your halfway ..." (See Space ...
common-pile/stackexchange_filtered
My username and password in not case sensitive C# I have used this code to make my login form, but my username and password is now not case sensitive. private void btnLogin_Click(object sender, EventArgs e) { string sqlquery = "SELECT * FROM users WHERE username = '"+txtUsername.Text.Trim()+"' AND password = '"+txt...
common-pile/stackexchange_filtered
MacOS Monetery File Dates are not rendering correctly MacOS Monterey Version: 12.4 (21F79) So since doing a massive jump in updates, finder is no longer showing dates correctly, all I get is at. Also if I go and "Get Info" on the file you see the same, all the dates show as at. If I go to the Console App, and look at...
common-pile/stackexchange_filtered
How to define parameter to class constructor before creating a instance with dependency injection I have a situation about dependency injection. There is a class in my project that I need and it's a member of another library (RestClient class of RestSharp lib.). I added that class in the start-up class as a transient b...
common-pile/stackexchange_filtered
Prove $2^N$ is uncountable or $2^N$ is equinumerous to power set of $N$. I've encounted this question many time in similar form in different books, but I still don't understand it. In Enderton's set theory, it says: I don't how this proof proved H(B) is injective and subjective. Or in Munkres's Topology What does the...
common-pile/stackexchange_filtered
Specify required argument type of function as arrow function Is it possible to require an arrow function as type for function argument in some way in typescript? For example, if I use publish-subscriber model, I pass a function of listener to 'server' object, that call this function when a publisher send message to the...
common-pile/stackexchange_filtered
Is this effective enough to stop email spam-bots? So for my responsive site, when in the mobile-scale, I have an "Email Us" button that the user can tap to open up the email client. Originally this was a simple mailto:, but I've since changed it, but as I wanted to keep the changes to an absolute minimum, I decided upo...
common-pile/stackexchange_filtered
how to create a project which support mvn jetty:run? it's better that once mvn archetype:generate is runed, it can do all the things needed to create a project which support mvn jetty:run, but the fact is there are so many templates that i don't even know which one i should choose in order to create a project which sup...
common-pile/stackexchange_filtered
Twitter API getting any user's all tweets I am newly started searching the twitter API and to gain time I would like to ask and hope to learn about that. Which method of Twitter API can give me someone's all tweets between a date period. (I will set that user and date period. And using PHP) None. Twitter API has limit...
common-pile/stackexchange_filtered
networkx calculating numeric assortativity requires int? I am trying to use networkx to calculate numeric assortativity based on a numeric attribute that I set to nodes. My node attributes are floats. When I call the assortativity function: assort = nx.numeric_assortativity_coefficient(G,'float_attr') I got the follo...
common-pile/stackexchange_filtered
MySQL Queries: find any record with a PENDING status and find any records with a FAILED status I have three columns with three values that can be set for each column Column_1 | column_2 | column_3 ________ | ________ | ________ COMPLETED| FAILED | PENDING COMPLETED| COMPLETED| COMPLETED FAILED | COMPLETED| COMPLETE...
common-pile/stackexchange_filtered
Java class: for getOrder, getData, updateData operation Problem Statement : Design a class for three operations for given set of integers : int getOrder(int data) /* order meaning rank in list */ int getData(int order) void updateData(int oldData, int newData) /* [Most used operation] */ My solution class App { S...
common-pile/stackexchange_filtered
Updating SharePoint sites through the onet.xml file I've updated a site definition in the SharePoint onet.xml file so new sites are created without a particular web page on a page. However I've read that the onet.xml file is only read when a site is first created. Is there some way for me to get the existing sites to ...
common-pile/stackexchange_filtered
How can I redirect before render? I'm trying to build an web app using react and I kind of hit the wall. The thing is, I don't want any users who has already logged in to access the login page. I tried to redirect them using render method and componentDidMount method, but since the render method is called before compon...
common-pile/stackexchange_filtered
Openpyxl Excel cell value is non existent Hy all I'm writing a script to check if there are empty values in my excel columns. If there is an empty value i want the corresponding row to that empty cell copied to a new worksheet for easy analysis. This is the code: from openpyxl import workbook, load_workbook from openpy...
common-pile/stackexchange_filtered
Aligning values with timestamps to a timeline I want to visualize data given at certain timestamps from multiple sources along a timeline. For example, with the follwing to input files with column 1 being the timestamp and column 2 the data: O1.dat: 100 5 300 10 O2.dat: 200 7 400 3 Along with that the average of all ...
common-pile/stackexchange_filtered
HTML/CSS: show (part of) hyperlink destination as link text without repetition in source code? I'd like to automatically have a style for using (part of) the hyperlink destination as link text without manually repeating it in the source code. Context: I'm using a Markdown file (only basic HTML and CSS) to note down man...
common-pile/stackexchange_filtered
Gcp support binding service account from firebase? Im hosting a webapp in firebase(angular), who's triggering some functions in Google cloud functions, for some reason of security, we probably call this functions with a register service account, the question is, the angular should contain this service account (json fil...
common-pile/stackexchange_filtered
How to show drop down result based on selected radio button | JSP I'm trying to write a JSP page where it needs to display a drop-down list of states based on the select country radio button on the same page. When I run the page it is displaying c:otherwise dropdown even after selecting the USA radio button. Please hel...
common-pile/stackexchange_filtered
Checking if checkbox is checked or not via macro I have check box in my xls sheet. How can i find if these are checked or not via macro. I have created these checkbox manually from Forrm Controller. Thanks, Mona if CheckBox1.Value = true then 'your code end if
common-pile/stackexchange_filtered
Staying in Phase On The Grid I have been an EE for over forty years and never did find out the right answer to this one.... How do power-stations and transformer switching stations ensure that the power they are feeding into the grid is in-phase with the existing power on the lines. I know they are VERY serious about s...
common-pile/stackexchange_filtered
Vim: Edit file starting from ancestor project directory I have a multiple working directories of a git repository on my machine, and when I have files from each open in vim I would like to be able to open a new file starting at the top level project directory that contains the current buffer file. So for example, let's...
common-pile/stackexchange_filtered
How to use existing VPC in AWS CloudFormation template for new SecurityGroup I am trying to EC2 instance (new), Security group (new) and VPC(existing). Here is my cloudformation template. When I run the template in Stack, I got error as *"Value () for parameter groupId is invalid. The value cannot be empty"*. How to so...
common-pile/stackexchange_filtered
Debian installation not booting after Nvidia drivers installation I recently moved my Debian Gnome 3 installation to a new computer with a GTX 1070. I had previously installed old Nvidia drivers which didn't support the 1070, so when I booted up I was faced with a blinking prompt. To remedy this, I went into the comm...
common-pile/stackexchange_filtered
Arduino Micro draws too much power from iPhone. How can I change that? I'm building a USB keyboard that has two buttons - space and enter. The plan is to use this USB keyboard (with an Apple Lightning connector to USB) with the built in iOS switch control. I bought the lightning to USB dongle, and hooked it up to a nor...
common-pile/stackexchange_filtered
SOX - Slow audio without stuttering effect So, I have an audio file and I would like to slow it down to 0.5x it's speed without changing the pitch, the problem is that when I do that, I get a weird stuttering effect. Is there any way to have sox slow the audio "smoothly" so there's no noticeable stuttering? Here is an ...
common-pile/stackexchange_filtered
Recursively Echo Relative Path In A Batch I've seen a lot of posts similar to this but none of them answer my question or they simply do not work for me. I am trying to loop through a directory and echo out the relative path of all files in that directory. My Directory: - Name - TestA * Subfolder - Test.tx...
common-pile/stackexchange_filtered
python wavebender module raspberry pi raspbian I am trying to generate audio in python on my raspberry pi running raspbian, I am using the wavebender module, found here: https://github.com/zacharydenton/wavebender The example programs run in IDLE, but instead of audio being produced, random letters and symbols appear i...
common-pile/stackexchange_filtered
Cross-Library JSON Configuration in .NET Core Let's say I have some projects, a library Foo and two projects Bar and Baz, which depend on Foo. Foo contains some configuration that will be shared between Bar and Baz, but Bar and Baz will also do some configuration that is different between them. In Foo, I have a configu...
common-pile/stackexchange_filtered
Regex not matching the string format in C# i am receiving data over serial port and i want to verify if the data format is right. the data format i am expecting is like this number,number,number,number -> 1200,2500,6500,90 i am using the regex like this Regex.IsMatch(s, @"^[0-4095]\,[0-4095]\,[0-4095]\,[0-4095]$") usin...
common-pile/stackexchange_filtered
Error returning an object literal in Node.js I have the following code in my application as i am following lynda.com tutorial to learn Node.js I get some error on line where it says origin: o saying "unexpected token" var number, origin, destination; exports.setNumber = function(num){ number = num; } exports.setO...
common-pile/stackexchange_filtered
Sitecore Media Library - missing Alt Text I am using Sitecore 9.0. There used to be an option while uploading an image to use either the normal "File Upload" or "Upload File Advanced" to enter the Alt Text before uploading the image in the upload dialog box itself. It is now missing. Can someone guide me on how to get ...
common-pile/stackexchange_filtered
How do we remake the program to run and save new values in c.csv file? I need to search in b.csv and remove a record in a.csv where the number and name existed in both b.csv and a.csv. Also for example ACURA and HONDA can have the same address and if we need to remove ACURA, HONDA with the same address can not be delet...
common-pile/stackexchange_filtered
Selenium with Python, trying to click a "pseudo element" I'm trying to do web scraping of a page, everything went normal until I figured out, there is a "pseudo element" (::before), let me show you btw, the inspector is above the "Magnifier Glass" So the problem comes with detalle_causa = driver.find_element(By.CSS_S...
common-pile/stackexchange_filtered
Text Format in Excel using VBA When I use WinSQL to run a SQL statement, the result is<PHONE_NUMBER>0001812. However, when I incorporate the SQL as a macro, the result is 2.01008E+16. What should I do in the macro in order to maintain the result as<PHONE_NUMBER>0001812 ? Thanks, Bob Is it a large integer number or a t...
common-pile/stackexchange_filtered
Contact info requirement after 5 minutes I have a PHP site that the client would like to require the viewer to fill out and submit a contact form after viewing the site for 5 minutes. Info does not need to be added to a database, just sent to their office email. I have created the form but am not sure of the best way ...
common-pile/stackexchange_filtered
Confused about differential form I have only taken one calculus course in my life so please bear with me. I came across this equation in a paper: dt = dz/u + d[f(y)] It looks like Leibniz-notation, but taken apart. My friend told me it's called "differential form". However, it doesn't make sense to me that dt would be ...
common-pile/stackexchange_filtered
How to specify location of create task using schtasks.exe (NOT run-in location) I'm trying to create a task using SCHTASKS.EXE and specify the location is per the following image (Windows 10): Is it possible to do this using schtasks? I don't see a parameter for it in Microsoft's documentation. Whenever I create a tas...
common-pile/stackexchange_filtered
RazorPages Page Remote not working on model as per https://www.mikesdotnetting.com/article/343/improved-remote-validation-in-razor-pages I followed the tutorial and implemented the PageRemote. However it does not work if applied to a property of a model and I use the model as property. public class Draft { public ...
common-pile/stackexchange_filtered
Json.net deserialize complex class with interface property I am trying to find an elegant way deserialize a complex class with an interface property whose type I want to pass at runtime. The scenario is that I have a Web API 2 service that is consumed by a separate application using HttpClient. The service controllers ...
common-pile/stackexchange_filtered
What is the number of possible simple directed graphs of $n$ elements without 2-cycles and self-loops? Let $A$ be the adjacency matrix of a graph with $n$ vertices. Let $a_{ij}$ denote the entry in the $i$-th row and $j$-th column. For a given $n$, how can we compute the number of possible networks, $f(n)$, such that ...
common-pile/stackexchange_filtered
Midbar Kodesh, reason for title The sefer Midbar Kodesh contains the teachings of Rav Shalom Rokeach, the first rebbe of Belz. The title Midbar Kodesh appears to be an intentional mispronunciation of "Midbar Kadesh." Why is this the title chosen for this sefer, who chose this title, and what is its intended meaning?
common-pile/stackexchange_filtered
Send password by email to User I would like to know if it's a good practice in terms of security to send the decrypted password to a new user by email. Someone could tell me his feeling? If i would like to send the password decrypted should i use this ? $decrypt= Crypt::decrypt($user->password); thanks a lot in adv...
common-pile/stackexchange_filtered
Validating users upon login and giving them limited rights to database I'm new to PHP and MYSQL, trying to create a website which users can use to input data into a database. An example of what i'm trying to do would be a database for various banks and the various services they provide.For example, a user from Citibank...
common-pile/stackexchange_filtered
How to install AMD Radeon HD7000 drivers for Ubuntu 16.04? I searched on Google but everything I could find was about AMD removing the support for Ubuntu 16.04. Lots of people mentioned there is an open-source driver but I couldn't find it and I am not sure I can set it up even if I find it. So, it would be great if so...
common-pile/stackexchange_filtered
How to make the variable to aggregate data frame columns by reactive? In the below MWE code and as shown in the image below, the aggregate() function is used to sum columns in a data frame. I'd like the user to be able to choose which variable to aggregate by, either Period_1 or Period_2 via clicking the radio button. ...
common-pile/stackexchange_filtered
Error while doing bundle install with jruby Currently, I am using JRuby <IP_ADDRESS> (2.5.8) and I am getting the error below: 2024-03-19T16:27:22.302+05:30 [main] WARN FilenoUtil : Native subprocess control requires open access to the JDK IO subsystem Pass '--add-opens java.base/sun.nio.ch=ALL-UNNAMED —-add-opens java...
common-pile/stackexchange_filtered
Calculating DCT with DFT The discrete cosine transform is given by (DCT($f$))$_j$= $\sum\limits_{k=0}^{n-1}f_k cos(\frac{\pi}{2}(k+\frac{1}{2})j)$ with reference points $x_k=\frac{\pi}{2n}(2k+1)$ How do we show that (DCT$(f))_j$=2n(DFT($\hat{f}))_j$ where $\hat{f}=(0,f_0,0,f_1,...,f_{n-1},0,f_{n-1},0,f_{n-2},...,0,f_...
common-pile/stackexchange_filtered
JavaScript: Compare the structure of two JSON objects while ignoring their values I use a Node.js based mock server for specifying and mocking API responses from a backend. It would greatly help to have some kind of check if both backend and frontend comply with the specification. In order to do that, I need some kind ...
common-pile/stackexchange_filtered
What is a good book to learn about how to think about maths in higher dimensions I am really struggling with maths at the moment. People are telling me a sphere is just as abstract as a Klein bottle. Im not comfortable with the way I think about math anymore, I think I am confusing it a bit with reality and physics. Fo...
common-pile/stackexchange_filtered
Task hangs if terminal window doesn't lose focus While debugging the problem, I minimized the code to the one below to understand why I have the problem. The program is a console application. The code simply creates an instance of a third-party class and subscribes to an event that does nothing. When I run the code as ...
common-pile/stackexchange_filtered
Make the boxes stay still when scrolling down using the scroll bar when I click a box, i can drag it around the screen. You can click the folder icon to open up information view, and a scroll bar will appear because there are a lot of text. Problem: when i use my mouse to scroll the scrollbar, it also drags the boxes ...
common-pile/stackexchange_filtered
How to update field all rows using auto increment? How to update field all rows using auto increment? I need to update field num from 1 to count of rows. How to apply AUTO INCREMENT for update operation? I have tied: UPDATE table set num = (select num from table order by num limit 1) + 1; You want to update num in ev...
common-pile/stackexchange_filtered
When I take a Gaussian surface inside an insulating solid sphere, why does the outer volume have no effect on the electric field? Say I try to find the magnitude of the electric field at any point within an insulating solid sphere. I know that in the case of a conductor, the electric field within it is 0. However, I ha...
common-pile/stackexchange_filtered
Is possible to change color of ScrollBar? I changed in ScrollView android:fadeScrollbars="false" to ScrollBar be visible and it works fine. My question is possible to change color of ScrollBar ? ( Default is gray and my background is gray so there is small contrast between ). Scrollbar color varies between vendors th...
common-pile/stackexchange_filtered
key value style javascript array`s length keeps being 0 I fill my key value array like this: /** * Callback: Gets invoked by the server when the data returns * * @param {Object} aObject */ function retrieveStringsFromServerCallback(aObject){ for(var i = 0;i < aObject['xml'].strings.appStringsList.length;i++){ ...
common-pile/stackexchange_filtered
Letter combination ea The alphabet letter combination ea makes 6 sounds: bread [bred], teacher ['tiːʧə], break [breɪk], idea [aɪ'dɪə], pageant ['pæʤənt], bearable ['beərəbl]. I know that that the fact that the same letter combination can be read in so many different ways is related to the history of the English langua...
common-pile/stackexchange_filtered
how do i resolve this exception "Syntext error into INSERT INTO statement".p private void save_Click(object sender, EventArgs e) { ACCOUNT.oo.Open(); string QRY = "insert into size(SIZENO,SIZE,COVERAGE,WEIGHT) values('" + size_id.Text + "','" +txt_size.Text + "','" +txt_coverage.Text + "','" ...
common-pile/stackexchange_filtered
A closed rectangular box has volume 32 cm$^3$. Find the lengths of the edges giving the minimum surface area of following the three steps below: Step1: Let the length, width, and height of the box be $x,y,z$. Write $z$ in terms of x and y using the condition that the volume of the box is 32cm$^3$. I have xyz=32c...
common-pile/stackexchange_filtered
Differentiable Complex Functions Let $f(z) = u(x,y) + iv(x,y)$ be differentiable for all $z = x + iy$. If $$v(x,y) = x + xy + y^2 - x^2$$ for all $(x,y)$, find $u(x,y)$ and express $f(z)$ in terms of $z$. I'm lost because it never says what $f(z)$ is explicitly equal to, just that it equals $u + iv$ so I'm not sure how...
common-pile/stackexchange_filtered
Intersection between a set and its boundary is a closed set? Is it possible to show that for a neither open nor closed subset $ A \subset \mathbb{R}^n$, $\partial A \cap A$ is a closed set in $\mathbb{R}^n$? No. $A=\mathbb{Q}$ has $\mathbb{R}$ as its boundary so $A \cap \partial A = A$ is neither open nor closed.
common-pile/stackexchange_filtered
Node ExpressJS - events.js: 167 throw er Unhandled error event I have installed mocha chai in working expressjs application using the following commands: npm install mocha chai sinon supertest --save-dev When I run the application with: npm run start, I have the following errors: events.js:167 throw er; // Unhandled...
common-pile/stackexchange_filtered
Python join a list of strings This seems easy, but I'm getting an error and I don't know how to get rid of it: counter = 0 list1 = [''] * 11 list1[1] = '000' list1[6] = counter list1[10] = '999' print(list1) a = "^".join(list1) print(a) The error I get is a = "^".join(list1) TypeError: sequence item 6: expected ...
common-pile/stackexchange_filtered
Stuck at javascript promises inside forEach loops lets consider dictionary that maintains score of various types, like {a:0,b:0,c:0} i have 3 collections of mongo db A,B and C. performing, A.find({<key>:<value>}) .then(res=>{ //gets an array of the response <RES1> }) Now forEach element in the array, i am doi...
common-pile/stackexchange_filtered
Container-based virtual machine solution like Docker? I'm trying to find a solution to build a consistent development environment across different machines: Windows PC, Windows laptop, MacBook … Recently I learned Docker, the concept attracts me. But finally I found it doesn’t intend to solve my issue by asking a quest...
common-pile/stackexchange_filtered
Namespace assigned to SOAPEnvelope get overriden Goal: In our Spring Application we have to call a External service which uses a Namespace "http://www.w3.org/2003/05/soap-envelope". Issue: Currently when I'm adding the following code snippet webServiceTemplate.marshalSendAndReceive((Object) (SubmitTransaction2) request...
common-pile/stackexchange_filtered
Question about the Off-topic close reason vs migration close reasons Looking at an example here: https://serverfault.com/questions/526087/how-do-i-direct-inbound-network-traffic-to-a-specific-internal-ip-based-on-the-r The question I have is, I know voretaq's close reason here: https://meta.serverfault.com/a/5606/7861 ...
common-pile/stackexchange_filtered
Different packageRules for release and prelease versions Is there a way to configure renovate with packageRules, so that I get a MR with automerge disables for pre-release versions, like v1.0.0-alpha.1 and MR with automerge enabled for patch versions, liken v1.0.0. I have enabled unstableVersion support in renovate, bu...
common-pile/stackexchange_filtered