text stringlengths 70 452k | dataset stringclasses 2
values |
|---|---|
ASP.NET LINQ MULTIPLE OR IN WHERE
I have following code in asp.net core using multiple or in where statement. it always propmt error saying "An unhandled exception occurred while processing the request.
NullReferenceException: Object reference not set to an instance of an object.
lambda_method"
if (!String.IsNullOr... | common-pile/stackexchange_filtered |
Is there a flowchart for WordPress loading sequence?
So like WP must load series of files from,
index.php -> ... -> wp-header.php -> ... ->functions.php
...and so on upon execution.
Also there must be a similar flowchart for functions callings, conditionals and such during the execution. Is such a flowchart(s) avail... | common-pile/stackexchange_filtered |
How to display email href link as bold based on status field value in visual force page
We have custom emails section for the case object. I want to display the email subject hyper link as bold if email status is NEW. for all other status it should be in normal font. Could you please help me how to get this.
custom and... | common-pile/stackexchange_filtered |
Existence and Uniqueness of Equilibrium points for Concave N-Person Games
I am reading a paper. I have a problems with understanding their lemma
Lemma: The nonzero elements of every vector $u \in U(x)$ are given by a vector $\bar{u} \in E^k, \bar{k} \leqslant k$, where
$\bar{u}=-\left(\bar{H}^{\prime} \bar{H}\right)^{... | common-pile/stackexchange_filtered |
Why isn't my plane becoming glossy even after making roughness to zero?
I am new to Blender and I have added an emission texture to a sphere which is supposed to be a sun
Why isn't my plane becoming glossy even after making roughness to zero?
Hello and welcome, if you are using EEVEE render, you need to turn on "Scre... | common-pile/stackexchange_filtered |
Grouping by subqueries
Need some help here. Check the last GROUP BY clause.
set nocount on
--Creo variable de tabla sin duplicados
Declare @Temp1 Table (nro_viaje nvarchar(255),cod_cliente nvarchar(255))
if object_id('tempdb..#Temp2') is not null
Begin
drop table #Temp2
End
if object_id('tempdb..#ProcesadosBrutos') is... | common-pile/stackexchange_filtered |
Why the response of httpx is different compared to inspect element network?
I am trying to scrape this site
https://shopee.co.id/S-B-Golden-Curry-Bumbu-Kari-Japanese-Curry-Mix-Medium-Hot-220-gr-i.65323877.3343602079?sp_atk=0b471505-cfca-491b-b7a2-453d455eecf6&xptdk=0b471505-cfca-491b-b7a2-453d455eecf6
I am using python... | common-pile/stackexchange_filtered |
Bot Framework save CONVERSATION_REFERENCES to the list or array
I have problem with bot CONVERSATION_REFERENCES, it only saves one conversation_reference (latest). I want save them all.
For example
Then I call or add bot in the chat in Microsoft teams, code save conversation_reference. If I add bot in another chat or c... | common-pile/stackexchange_filtered |
Python tkinter adding a .exe file to a frame inside of the program
for my graduation project I am making a arcade GUI in Python 3.7. Now I got a little stuck here, what I am trying to do is so when you open a new page (by clicking the button) i want it so that a executable file (ex: pacman) will play inside the frame s... | common-pile/stackexchange_filtered |
What is a free tool to compare two SQL Server Databases?
What is a free tool to compare two Sql Server tables (data and schema).
It would be great if the tool can script the differences found.
I also went through some older posts. The closest I have seen is SQLDBDiff but I would love to try more options.
See already... | common-pile/stackexchange_filtered |
Bash script to edit lots of html documents
I have a directory with many HTML documents. Most of them contain the codeblock
.org-link {
/* org-link */
color: #b58900;
font-weight: bold;
text-decoration: underline;
}
inside the <style type="text/css"> tag. I'd like to write a ... | common-pile/stackexchange_filtered |
How to stop LoginStatus ctrl on MasterPage causing default page to reload
I have a loginstatus control on my master page. No matter what action I chose to implement on logout clicking, the page contained within the master page is reloaded/refreshed before logoff is completed. The logoff and loggingoff events both fire ... | common-pile/stackexchange_filtered |
Delayed Choice Quantum Eraser
All delayed choice quantum eraser experiments I've seen record the signal photons reaching detector D0 and then use the data of the idler photons recorded at detectors D1, D2, D3, D4 to "filter out" the photons with which-path information at detector D0 to be able to see the interference p... | common-pile/stackexchange_filtered |
How best to stub/mock rest API calls in Flutter Integration tests
I have a Flutter app that displays data after the user logs in.
I have unit and widget tests and now would like to write my first Integration/end-to-end test to test an entire 'happy path' workflow where the user logs in and views the data.
When the app ... | common-pile/stackexchange_filtered |
f.date_select for day only
In rails, I am using a date_select for a form. I need only the day of the months to show up, but for some reason I cannot get them to work.
<%= f.date_select :filing_date, discard_month:true, discard_year:true, prompt: "Select Year" %>
The above code is what I am trying. When I discard day a... | common-pile/stackexchange_filtered |
How to open a file without using openfiledialog in visual studio?
I am using visual studio 2010 to develop a windows form application using c++.
I want to open a text file without the user browsing through the directory to select the required file, that is without using OpenFileDialog tool.
In short
If the user click ... | common-pile/stackexchange_filtered |
Problem in numbering and showing the references
Does anyone knows why the numbering is weird like this?
How can I fix it?
Coscia M. Cosica, F. Gianootti, and D. Pedreschi,“ A Classification for Community Discovery Methods in Complex Networks,” CoRR as/1206.3552 (2012)
[0] [1] F. Moradi, T. Olovsson, P. Tsigas, “ An Eva... | common-pile/stackexchange_filtered |
How do add where condition only if field is not null
currently i am having where clause like where p.id>5 and p.addedDate > now() . And i want to have something like p.id>5 if (NotNullp.aadedDate) and p.addedDate > now() else ; is it possible to add And operator with condition only if field value is not null. so if aa... | common-pile/stackexchange_filtered |
How to break the match case but not the while loop
I'm trying to use match case when checking the value in event loop. However break not only break the match case, but break the event loop too.
This is the code
while True:
# Some code stuff here
if event == "#PassSign":
# Some code stuff again to check ... | common-pile/stackexchange_filtered |
Does the default rate follow normal distribution or binomial distribution?
I'm quite confused about the distribution of default rate.
I understand the default can be seen as from binomial distribution
Normal rv can take negative values so won’t work for default rate (which is positive) without some form of transforma... | common-pile/stackexchange_filtered |
How to test fragment retention across configuration changes with Robolectric
I would like to know if there is a way to test fragment retention across configuration changes using Roblectric.
I just found out that there is no ShadowFragmentManager.
You want to be testing your code, not Android.
| common-pile/stackexchange_filtered |
How can I auto-increment the value in a dictionary when there is a difference?
It's much easier to explain my doubts with an example:
I have a list with dictionaries of this type,
[
{
'portal_id': 5,
'url_imovel': 'asd.pt',
'url_photos': {0: 'pfoto1.pt', 1: 'pphoto2.pt'},
'total_photos': 2
... | common-pile/stackexchange_filtered |
How to connect to MinIo server using temporary credentials and ASW S3 client in C#?
I am able to connect to MinIo bucket and upload objects using AWS SDK and S3 client by passing MinIo credentials in C#.
{
AuthenticationRegion = RegionEndpoint.USEast1.SystemName,
ServiceURL = mi... | common-pile/stackexchange_filtered |
Map a list of strings to a collection of file resources for a dependset
Background: I read names from an XML file and want to map them to source and target paths for a build task. I am not an experienced Ant user and I'm looking for a way to that is
”readable”
robust and
can be used to determine if targets are ou... | common-pile/stackexchange_filtered |
Matching by or adjusting for confounders?
When using regression models with a binary exposure, how do you choose whether to adjust for a confounders as covariates or to match the two exposure groups according to the confounders and then performing univariate regression?
I appreciate there are issues with practicality, ... | common-pile/stackexchange_filtered |
Nested loop in Flutter nested map and list
I have this simple nested List inside List of Maps, how to iterate this variable? This code below raise an error.
A nullable expression can't be used as an iterator in a for-in loop.
void main() {
final changes = [
{
'version': '1',
'date': '3 Nov 2021',
... | common-pile/stackexchange_filtered |
Simple non-abelian groups
Let $G$ be a group and $H$ be a simple non-abelian subgroup of $G$ which is ascendant in $G$. Is it true that $H$ is also subnormal in $G$?
Definition
Let $G$ be a group and $H$ be a subgroup of $G$. Then we say that $H$ is ascendant in $G$ if we can find an ascendant (also of infinite length)... | common-pile/stackexchange_filtered |
Is there a driver that should be installed for a Logitech G332 SE Gaming HEADSET?
I purchased a LOGITECH G332 SE gaming headset from Vatan Bilgisayar, Ankara, Turkey today and I want to ask if it has a driver which should be installed.
Logitech site does not have any drivers for that product>>>>>>>https://support.logi... | common-pile/stackexchange_filtered |
How to call child method from a parent pointer?
I have a base class and a child class extending it. The child class has its own method inside that the parent class does not have. That is, declaring it as virtual in the base class is not really an option.
class A {
public:
virtual void helloWorld();
};
class B : ... | common-pile/stackexchange_filtered |
Hide Element in Shiny RMarkdown
I was wondering wether it was possible to hide a element in shiny rmarkdown from the user and still get the reactive value.
---
title: "My Title"
author: "My Name"
date: "Today"
output:
rmdformats::html_clean:
highlight: kate
runtime: shiny
---
```{r knitr_init, echo=FALSE, cache=FA... | common-pile/stackexchange_filtered |
Escaping closure setting views in DispatchQueue.main.async Swift 3
I'm dealing with some asynchronous functions and trying to update views. In short I have function 1 with asynchronous function that will return a string to be passed to function 2. I am updating views in both functions, on main thread. It all works but ... | common-pile/stackexchange_filtered |
Bit-level endianness
How to check the 'endianness' of OS at bit-level or Does an OS even care in what order the bits are stored?
"Does an OS even care how bits are stored?" Er, yes!
Specifically, the OS might know/care at some levels of abstraction, but the level of abstraction provided by the C++ programming languag... | common-pile/stackexchange_filtered |
Is it possible to display a jsp page in IE standard view but not in compatible view
As i have a problem with my jsp and css which is not supported by IE compatible view but it works fine in IE standard view and all other browsers so i want to design my code which is adaptable to any browser at any mode kindly give a s... | common-pile/stackexchange_filtered |
Need to link pages in Laravel
Im a newbie in laravel. I went though the route documentation on the Laravel site. Thing I want to create a new tab in my menu, I have added the tab but cannot seem to link it. When i Read on the laravels site, it said you need to edit routes.php file, and so I did, but it didnt seem to wo... | common-pile/stackexchange_filtered |
JQuery window.location.hash not supported in IE?
Possible Duplicate:
window.location = #anchor doesn't work in IE
I have a select box which when clicked changes the hash in the URL for my AJAX based page. I have a function that periodically checks window.location.hash for a change then updates the content accordingl... | common-pile/stackexchange_filtered |
Encrypt communication between microservices in PCI DSS env
I have a payment gateway application which will be used to process payment transactions hosted on Kubernetes cluster. Total of 4 microservices will be used to communicate using REST API and Kafka. Is it mandatory to use SSL/TLS encryption to encrypt the data be... | common-pile/stackexchange_filtered |
Slow & Fast drivers
Let us define "fastness" as a characteristic of how fast/agressive a driver is. One aspect of this is the (maximum) time between a traffic light turning red and the driver deciding they have to stop. The assumption here is that a "slow" driver will have low (read: very negative, like minus 5 seconds... | common-pile/stackexchange_filtered |
how to split a list in python based on the values of the list
I have a list having sublists of numbers and want to extract specific ones. In my simplified example I have two main sublists and each one has its own pairs of numbers:
data=[[[1, 0], [2, 0], [2, 1], [2, 2],\
[1, 0], [1, 1], [1, 2],\
[0, 1], [0... | common-pile/stackexchange_filtered |
Creating labels based on attribute field in shapefile with Arcpy?
I want to be able to label point features on my map in a python loop.
How do I access the ArcGIS label engine with ArcPy?
I've never tried labeling through arcpy myself, but it appears that you can enable and edit labels via the arcpy.mapping module a... | common-pile/stackexchange_filtered |
What is a PS4 bundle from 3rd party?
I'm new to PS4 console gaming. Recently I came through a guy who was selling digital PS4 titles for very less cheap rates. Like 4-5 games and they call it as game bundles. It almost has all the digital copy top games. He said after payment we'll get a user id and password. Then we ... | common-pile/stackexchange_filtered |
How to push Messages to ESP8266?
I'm quite new to MQTT/Pub/Sub and Core IoT. So please forgive me my limited skills.
I managed to connect my ESP8266 to Core IoT by using this repository on GitHub. After the first telemetry was publish I wanted to do a little bit more - just tiny steps to learn. My Goal was to switch th... | common-pile/stackexchange_filtered |
Swagger Swashbuckle not showing response object in swagger.json
swagger 2.0.
.netcore 2.1
swashbuckle as in the image.
I have this attribute on an api endpoint:
[SwaggerResponse(statusCode: 200, type: typeof(List<Cat>), description: "successful operation")]
When I run the API and navigate to https://localhost:44394/s... | common-pile/stackexchange_filtered |
How to show view controller in UITableViewCell with UITableView
i have UITableViewCell with tableView and i need show new controller if user select in my cell. But, navigationController and UIStoryboard doesn't work! How i can do this?
your question is very confusing.
I think what you want to ask is after u tap a UIT... | common-pile/stackexchange_filtered |
how to download an url image in flutter?
I was looking for how to download an image and I found a code here in stack, however when testing it in my application it gives me an error, someone could help me with this
_notificationImage(String urlImage, String title, String author, int index) async {
//comment out the... | common-pile/stackexchange_filtered |
How to copy a multidimensional array to another without knowing the exact amount of rows in C?
So my program is basically built to get game scores, and track w/l/t, etc. What I am needed to do is to arrange the scores in ascending order based off of the opponent's scores.
So to do that I decided to bubble sort, but whe... | common-pile/stackexchange_filtered |
Stuck on ROG screen after Nividia update, can't enter terminal mode
I don't know what to do. It was was working fine until I switched the additional devices to Nividia propriety and now it's stuck on the ROG screen. I can't enter terminal mode with clicking CTRL + ALT + F1 or F3.
What is "the ROG screen"?
@waltinator... | common-pile/stackexchange_filtered |
Customizing the form for a field in the content edit form
I have configured a taxonomy as field of a content type, but I want to replace the checkbox label (work with iphone) with the image field of that taxonomy. (See the screenshot.)
I only know to alter node.pages.inc at row 290 by adding the following code.
$form[... | common-pile/stackexchange_filtered |
Predicting y from a log-linear regression
I was wondering if someone could explain to me the very last step on the right hand slide. Why is do we have a sum rather than a product.
Thank you very much.
That looks like a typo to me. For $x=\beta=c=0$, the first row equals $1$, while the bottom equals $n+1$, so I don'... | common-pile/stackexchange_filtered |
Google-sheets sumifs
Counting income and outgoings in 2 month periods, Works perfectly March to November, but not after this?
Formulas on the GST Summary tab
https://docs.google.com/spreadsheets/d/10KffbQ29vr8c7gz2bep3kX0-U92SAxM81rzUB9kdzbs/edit?usp=sharing
Welcome to Web Applications Stack Exchange. The sample sprea... | common-pile/stackexchange_filtered |
Changing Language in JSF page
I found a problem in my application when I needed to change the language of my login page .
My managed bean is:
@ManagedBean(name="langueApp")
@SessionScoped
public class LangueApp {
public String activerFR() {
FacesContext context = FacesContext.getCurrentInstance();
context.ge... | common-pile/stackexchange_filtered |
How to add multiple email ids into a text field (like facebook privacy setting) and convert the email id list into comma separated list?
I'm using PHP, jQuery(jquery-1.9.1.min.js and jquery-ui-1.10.0.custom.min.js), Bootstap framework(Bootstrap v3.0.0), AJAX, etc. for my website.
Now at one place I want user to be abl... | common-pile/stackexchange_filtered |
Hide products with a zero price
Is there anyway i can hide a product that doesn't have a price or 0 for its price?
We use stock import tools (Magmi Data Importer) and so some products imported don't have a price. How can i check each product has a price and disable it if it doesn't.
I've tried overriding the getStatus(... | common-pile/stackexchange_filtered |
sufficient condition for complement graph to be connected
Good evening guys.
Q. Graph G' is a complement graph of Graph G, let's say G' is connected. Then prove sufficient condition for "G' to be a connected graph" is "G is not connected".
A. I plotted lots of sample case and it seems to be a self-explanatory. But I do... | common-pile/stackexchange_filtered |
3 divs in a row with backgrounds
I am trying to put 3 divs in a row [1][2][3].
[1] should have a background image repeating to the left
[2] must be centered. its 1000 px
[3] should have a background image repeating to the right
The problem is that [1] appears on the top of[2],[3] below [2] and the background images for... | common-pile/stackexchange_filtered |
How to add a 'where' condition to 'execution.getData' in a gooddata-js API
I'm using gooddata-js API and I need some help to include 'where' condition into 'execution.getData' method.
For example: I need compare a date month/year attribut like [/gdc/md/{PROJECT_ID}/obj/OBJ_ID] = [/gdc/md/{PROJECT_ID}/obj/OBJ_ID/elemen... | common-pile/stackexchange_filtered |
ASP MVC has a strange interpreting of model - extension methods cannot be dynamically dispatched
Sorry if this is obvious, but it is very confusing for me. After specifying model type:
@model MyNamespace.MyModel
Which does not display any error and the path to the MyModel is correct, same is the model name, some of th... | common-pile/stackexchange_filtered |
Nested form not posting to both tables
My Ruby on Rails 4 form creates a question. I want to also add the ability to create 4 answers to the question. It is creating the question but no answers. It is not posting to the answers table, only the questions table.
How do you get it to post to the answers to the answers tab... | common-pile/stackexchange_filtered |
Apache MQ Artemis - MQTT retained message not available for a client that connects to other node in cluster
I have 4 ActiveMQ Artemis 2.10.1 instances running in a cluster. A client (A) connects to one of the nodes and publishes MQTT message with QoS=0 and retain=true. When a new MQTT client (B) connects to another nod... | common-pile/stackexchange_filtered |
Inserted graphic - jagged edges to show that it is just part of the whole
I would like to make visibly clear, that an inserted graphic is just part of the whole. Since a straight cut just appears as inserted falsy, I was wondering if there are any tricks to show jags for the trimmed sides. Something like this for insta... | common-pile/stackexchange_filtered |
UTL_RECOMP.RECOMP_SERIAL must be declared
First off I'd like to specify that I am trying to do this upgrade remotely. I am receiving this error:
2015-04-24:11:59:42 [Error] myDB - Failed to Recompile 'DBTYPE'
Database Objects: ExcSQL Failed: Oracle Error Encountered: ORA-06550:
line 1, column 7: PLS-00201: identif... | common-pile/stackexchange_filtered |
How to prevent a page break inside a specific paragraph?
I have a two-line paragraph that I would like to keep on the same page:
The quick brown fox jumps over the lazy dog. He is very happy that he can jump so high.
Sadly, the paragraph occurs at a point in the document where it is split by a page break, and this l... | common-pile/stackexchange_filtered |
how do I enable the root user from the Directory Utility?
How do I enable the root account? I don't see any options related the system user. Do I enter the server as "localhost"?
What do I select here?
System Software Overview:
System Version: OS X 10.10.2 (14C1510)
Kernel Version: Darwin 14.1.0
Boot Vol... | common-pile/stackexchange_filtered |
How to make IE post FORM data in UTF-8?
This is continuation of this question: Java Jersey: Receive form parameter as byte array
I need form data to be posted in UTF-8 even if containing page uses ISO-8859-1 charset. I found a solution for FF, but not for IE.
Here is the whole story:
I use Jersey REST web service to re... | common-pile/stackexchange_filtered |
Issue while trying to populate the dropdown
Error Details
Property or method "chatusers" is not defined on the instance but
referenced during render. Make sure that this property is reactive,
either in the data option, or for class-based components, by
initializing the property.
Component - 1
<template lang="ht... | common-pile/stackexchange_filtered |
When testing react project npm test works but jest doesn't
I have used create-react-app to create a new react app and have added a couple of simple components and tests. When running the tests using 'npm test' they run fine. When running with jest I get 'Unexpected token' when using the imported component within the ... | common-pile/stackexchange_filtered |
Install ProxMox AND cPanel
I'm in the process of upgrading our server to something much larger.
This new server has CentOS and cPanel/WHM installed by default. My question is, is it possible to install a VM solution like Virtuozzo or ProxMox and still have it work with cPanel?
Forgive the noob question :(
What is your... | common-pile/stackexchange_filtered |
Categorizing each matrix element with some overlap between categories - using R
I'm creating a function to categorize each element of a population matrix (PPM). For it, I created the function below. It works well for some matrix but doesn't for others, and I don't understand why!
My goal is to obtain an array like this... | common-pile/stackexchange_filtered |
$\Big(f\in A(G)$ & $H(x) = f(x^2) \Big){\Longrightarrow}^{?} H\in A(G)$
Let $G$ be a locally compact topological group and $A(G)$ be the Fourier algebra.
For $f\in A(G)$ we define $H(x) = f(x^2)$. Could we say that $H\in A(G)$? What about discrete group $G$?
For definition of Fourier algebra see this link.
It is false... | common-pile/stackexchange_filtered |
A question about Fourier transform of tempered distribution
I have a function $V\in W^{1,1}_\text{loc}(\mathbb{R}^n\times\mathbb{R}^+)$, for $y\in\mathbb{R}^+$, is true that: $V(\cdot,y)\in \mathcal{S}'(\mathbb{R}^n)$, i.e. $V(\cdot,y)$ is a distribution over $\mathbb{R}$? I have no idea on how to prove this statement.... | common-pile/stackexchange_filtered |
Is it safe or possible to change SQL Server AutoGrowth when in a SQL Server AlwaysOn Cluster
I am wondering it is possible or advisable to change the AutoGrowth settings of a database while it is part of an AlwaysOn SQL Server 2016 database cluster. I realized I used the default settings when I want to use custom growt... | common-pile/stackexchange_filtered |
The VMC node keeps dropping packets during our flight control simulation runs.
That's because you're still using standard 1394 signaling levels. The differential amplitude at 600 millivolts peak-to-peak can't maintain integrity over those cable lengths.
But the specification calls for 15-meter runs between the contro... | sci-datasets/scilogues |
Selecting the first row in excel where a column value equals a certain value
I have a excel sheet which displays the status of various products on my website throughout the day, along with the timestamp of the status as so:
| Timestamp | Product 1 | Product 2 | Product 3 | Product 4 |
|-------------------... | common-pile/stackexchange_filtered |
ReactJS, Axios, .NET Core 5.0 WebAPI -- 401 Unauthorized
Important Edit
I mentioned that I could hit the API endpoint directly, from Edge or Chrome, which is correct. HOWEVER, the following issue is apparently specific to Edge (Version 91.0.864.71). When I actually tried to hit the endpoint via the React application (u... | common-pile/stackexchange_filtered |
How to create an ansible task to update golang
I want to update golang version to the latest in some dev servers, and I wanted to add a task for this. I was thinking of doing something like this-
- name: Upgrade golang
ansible.builtin.yum:
name: 'golang'
state: latest
but Im not sure if this would work, plus... | common-pile/stackexchange_filtered |
Why can't carbon and nitrogen be detected in ICP-MS and ICP-OES techniques?
Why can't carbon and nitrogen be detected in ICP-MS and ICP-OES techniques?
My book says this technique is efficient for detecting multiple elements, with exception of halogens and carbon. I found somewhere that ICP is an open system, therefore... | common-pile/stackexchange_filtered |
Hyperlink button in xamarin forms
I am making an app where you tap on a button and it opens a certain webpage. I'm quite new to app development. There will be multiple buttons on the page with different links (gotten from a database of links). So there would have to be some way of making a general method that accepts a... | common-pile/stackexchange_filtered |
USB 3.x SS enumeration
Does anybody know if usb super speed enumeration needs the low speed D+/D- lines? I know in HS it first negotiates over low speed then chirps to get to HS mode. However I saw an intel design where they only used the SS lines to connect to a device. Reading the USB spec and then googling up som... | common-pile/stackexchange_filtered |
Laravel 5 : [Call to a member function getAction() on a non-object
In my Controller, I have
Route::getCurrentRoute()->getAction()['as']
Everything works well in the browser but as soon as I type
php artisan route:list
in the terminal I have this exception
[Symfony\Component\Debug\Exception\FatalErrorException]
Call ... | common-pile/stackexchange_filtered |
php password, compare, return true or false
I have a file on my server called "pform.php", this is what it looks like:
<form action="password.php" method="get">
<input type="text" name="password13"/>
<input type="submit" value="Submit!"/>
</form>
I have it transfer to another file called "password.php", this is what i... | common-pile/stackexchange_filtered |
Apply digitize() to ndarray by row
I have a sample ndarray with NaNs
import numpy as np
m,n,c = 10,5,15;
A = np.random.randn(m,n)
linidx = np.random.choice(A.size, c, replace=False)
np.put(A,linidx,np.nan)
I want to find which decile a value belongs to, and I want to do it by row.
Hence, I calculate the percen... | common-pile/stackexchange_filtered |
Get historical currency rate via CURRENCYH shows error: The requested historical date is invalid or is in the future
From Apple Number’s doc, the formula CURRENCYH should return historical currency data.
Examples
=CURRENCYH(“USD”, “GBP”, 3, “18/04/2017”) returns £0.78, the lowest rate of exchange (“low” or 3) from the... | common-pile/stackexchange_filtered |
How to create a gif with ffmpeg?
Good evening ,
could you tell me please if there available to create a gif image from video ( mp4 ) file with duration 20-30 min ?
Just need gif image no larger than 15mb and if possible take pictures from all duration of video ?
Thanks a lot
gif should be comprised of 10 different scr... | common-pile/stackexchange_filtered |
New pandas version: how to groupby all columns with different aggregation statistics
I have a df that looks like this:
time volts1 volts2
0 0.000 -0.299072 0.427551
2 0.001 -0.299377 0.427551
4 0.002 -0.298767 0.427551
6 0.003 -0.298767 0.422974
8 0.004 -0.298767 0.422058
10 0.005 -0.298462 ... | common-pile/stackexchange_filtered |
Child process read from stdin in nonblocking mode in Windows environment
I want to achieve nonblocking read from stdin with C++ in Windows. I have 2 applications written in C++.
Applications A (parent) and the spawned applications B process (child). The idea is that Applications A will send some text to Applications ... | common-pile/stackexchange_filtered |
Do formula if condition is met - Excel
I have the following:
I want to create a seperate table that tallys the 'size' of each animal type. Like this:
I can get the tally all all 'skinny' animals in row B with =COUNTIF(B:B,"skinny"), however I want it to get the tally of all 'foxes', then another for all 'pigs'. Somet... | common-pile/stackexchange_filtered |
How do I align the last bit of text to the right- neatly in a column - on a ListBox in Delphi?
The code I have is:
ListTab := IntToStr(92 - Length(ADOqry['Song']));
ListBox.Items.Add(IntToStr(Track) + #9 + ADOqry['Song'] + Format('%' + ListTab + 's', [SongLength]));
My output looked like this
I would like the last co... | common-pile/stackexchange_filtered |
pdftools – How to skip errors?
I have an R script that converts all pdf files to text, but the "pdftools" package runs into various errors and stops the process. I would like to include in the code that if it finds an error or unknown character, it will continue with the next word or page. If that is not possible, then... | common-pile/stackexchange_filtered |
iOS NSMutableArray removeObjectAtIndex
This is my code in ViewController.m file,
- (void)viewDidAppear:(BOOL)animated
{
[super viewDidAppear:animated];
NSLog(@"%f",[self usedMemory]);
NSMutableArray *array= [[NSMutableArray alloc]init];
for (int i = 0; i < 100; i++) {
NSMutableData *data = [NSMutabl... | common-pile/stackexchange_filtered |
How to change TAX to GST in Magento 2.4?
I need to change all the txt "TAX" to "GST" for the entile website, what is the easy way to do it? Thank you.
You can put translated word in CSV. Please refer https://magento.stackexchange.com/questions/284768/how-to-translate-magento-2-3-2-frontend-only/284774#284774
Just Ope... | common-pile/stackexchange_filtered |
Method to render how many days remain in membership - Ruby on Rails
Currently I have method called expiration_date that calls the created_at and adds 1 year to that date. I now would like to make a method that says essentially how many days are left until it is expiration_date and call that on the view. I'll show my Mo... | common-pile/stackexchange_filtered |
Could I see my back using a wormhole?
I was wondering if in a possible future we could see our own back using a wormhole instead of using a couple of mirrors.
A wormhole is not necessary for that purpose. All you need is to be close enough to a black hole that a beam of light that leaves a flashlight in your hand is ... | common-pile/stackexchange_filtered |
Is there an explicit conformal map from ellipsoids to the plane or from ellipsoids to spheres?
I just stumbled upon conformal maps (never heard about them before) by accident. And it seems I may be able to solve a problem I have been working on with them.
For this I need to find an explicit conformal map from an arbitr... | common-pile/stackexchange_filtered |
wp_mail is not sending email if I pass an array of emails
On publish event CPT, I want to send emails to every participant set in the custom meta boxes.
When I pass array as email addresses it is not sending email
wp_mail( $employee_emails, $subject, $message );
but if I use string then it sends the emails. I don't un... | common-pile/stackexchange_filtered |
Single word to describe thing-a which can either contain thing-b or *be* thing-b
Like "has-or-is": the logical test is "Does this thing contain the other thing, or is it the same as the other thing?". Is there a nice, short, single word for this?
Imagine different sized boxes, with labels, which nest inside one anoth... | common-pile/stackexchange_filtered |
PHP mention script
I'm working on a mention script that gets an users profile link when it is being mentioned in a news article or something. I've done the mention script, but it splits the users name after it finds a space. When an user wants to mention somebody they will start their name with a @ symbol.
So my scrip... | common-pile/stackexchange_filtered |
Summation of tensors and weights changing dimensions
I am trying to create a custom layer in keras, but I'm coming across a strange issue. When I'm summing the tensors before returning the answer, the dimensions change. This happens when I sum the bias weights to the two tensors, see the code below.
summation = tf.... | common-pile/stackexchange_filtered |
Ubuntu right click dropdown menu has very few options on upgrade to 12.10
I updated ubuntu 12.04 to 12.10 via software manager, and now when I right click on desktop I get the following dropdown menu:
Is this the default right click menu?
EDIT: Now when i click on change desktop wallpaper it takes me to the settings ... | common-pile/stackexchange_filtered |
Android: Calendar not returning values?
I'm trying to run this little code to return a eight-digit integer to be used in a for-loop later on as a search function. Problem is that it doesn't return any values for searchDateToday. Am I missing something?
final Calendar cal = Calendar.getInstance();
SimpleDateFormat form... | common-pile/stackexchange_filtered |
which is having first priority Cross Product or Vector addition?
If $$\vec{r}=\vec{a}\times \vec{b}+\vec{c}$$
Does it mean $$\vec{r}=\left(\vec{a}\times \vec{b}\right)+\vec{c}$$
Or
$$\vec{r}=\vec{a}\times\left( \vec{b}+\vec{c}\right)$$
I think the first like always.
I think the first given that products have a higher... | common-pile/stackexchange_filtered |
existence of a subset that carries all measure of a chain
Suppose $m: \mathcal{P}(X) \to [0, 1]$ is a $\sigma$-additive measure on all subsets of $X$ and $\mathcal{L} = \{A_\alpha: \alpha < \beta\}$ is a well ordered by inclusion chain of subsets of $X$ such that for all $\alpha < \beta$, $m(A_\alpha) \leq 1/2$. Prove ... | common-pile/stackexchange_filtered |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.