text stringlengths 70 452k | dataset stringclasses 2
values |
|---|---|
Understanding Cocoa Memory
What is the advantage of doing this:
NSArray *array = [[NSArray alloc] initWithObjects:@"Year", "@Capital", ..., nil];
self.hintArray = array;
[array release];
Instead of assigning directly to my class variable like this:
self.hintArray = [[NSArray alloc] initWithObjects:@"Year", "@Capital",... | common-pile/stackexchange_filtered |
How can I access nested JSON variable in Karate fed from Gatling?
I have a JSON File feeder which has JSON that is nested like:
{
"id": "X",
"context": {
"id": "Y"
},
"username": "Z"
}
And I can successfully access the id and username in my Karate file using: #(__gatling.id) etc. However, when I try and ac... | common-pile/stackexchange_filtered |
git commit and push even although no changes have been made, it's necessary to trigger web hook
I need to trigger commit and push although no changes have been made and the commit and push are not needed, but I do need it as each commit and push triggers a webhook.
So when I do:
git commit -am "release 1"
I'm getting:... | common-pile/stackexchange_filtered |
Dynamic compile java source code and reflection invoke issue
I got the following code which copy from a tutorial:
package com.tom.labs;
import java.io.IOException;
import java.lang.reflect.Method;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.Arrays;
import javax.tools.JavaCompiler;
import... | common-pile/stackexchange_filtered |
Vim Formatprg Set Working Directory
:)
I'm just working with formatting programs in combination with Vim. So far I used neoformat as plugin to handle this for me. But it laggs in some points and so I tried to solve it myself by define the formatprg myself. The point is that some (maybe all?) formatters have a configura... | common-pile/stackexchange_filtered |
how to convert a String list into a String array then converting it into an int array then counting the total sum of the numbers in the array?
So I am so fresh into the world of programming, starting new, I decided to start messing around in C# to create simple apps from ideas that come to mind, with this little app, I... | common-pile/stackexchange_filtered |
A passive splitter/combiner in full-duplex mode
We have an RF chain where a full-duplex radio transceiver with Tx and Rx port operating on different frequencies. These are connected to a single antenna (that can Tx and Rx) via a diplexer, so that antenna can be connected to a single common port on the diplexer while tr... | common-pile/stackexchange_filtered |
mysql script to add query output as input to another query
I am trying to write a couple of queries in MySQL that needs to perform the following:
The query here will return all the records that meet caseid=702 with a join from another table.
SELECT db.tab1.id as id
FROM db.tab1 JOIN db.tab2
ON db.tab1.caseid = db... | common-pile/stackexchange_filtered |
Is password encryption required in frontend(client browser) for HTTPS protocol?
As title shown,
Environment: password is already hash in database, and connection using HTTPS protocol
my question is simple, over the HTTPS, i saw some of the website using SSL, but also doing password encryption in frontend(client brows... | common-pile/stackexchange_filtered |
CMOS vs LVDS oscillator
I am trying to select a 160MHz clock oscillator for my FPGA. The least expensive I found was either LVDS or LVPECL type for this frequency. I used a CMOS type before, so the output of the oscillator was GND to VDD. I wanted to ask if I could use LVDS or LVPECL type in the same configuration as C... | common-pile/stackexchange_filtered |
windowbuilder eclipse error activating bundle
i'm trying to install WindowBuilder on Eclipse.
I'm running it on a 10.13.1 mac.
Eclipse Oxygen.
Trying to use: http://download.eclipse.org/windowbuilder/WB/integration/4.7/
as the download link on the "help" option on eclipse.
i get an error like this:
Problem Opening Wiz... | common-pile/stackexchange_filtered |
External API called in a route, and testing the route in node JS
I have the below route created in my application which calls another API for data:
newsr.get('/news', async (req, res) => {
var category = req.params.category;
try {
var url = 'http://newsapi.org/v2/top-headlines?country=in&category=genera... | common-pile/stackexchange_filtered |
majority of the relevant group of MPs who actually vote on the matter v. a majority of all MPs who belong to the relevant group
I don't grok the distinction in footnote 59. Can anyone pls illustrate it?
Once it has been determined that a given Bill or provision falls within the EVEL
rules, the core principle ... | common-pile/stackexchange_filtered |
third party solution for customizing alert emails
I would like to know if there is any third party tool out there where administrators/webmasters can easily change the email templates that sharepoint sends.
I am very interested in changing the branding of the Site Feed emails.
When you follow someone, or some likes you... | common-pile/stackexchange_filtered |
Parralelized code runs much slower in Python than in Matlab
I have a piece of code that does the following:
for each file (already read in the RAM):
call a function and obtain a result
add the results up and disply
Each file can be analyzed in parallel. The function that analyzes each file is as following:
# Compl... | common-pile/stackexchange_filtered |
Never break a page unless explicitly told so, expand the margins to fit the content, and have mixed margins in the same document
The first part of this question is basically this question: Absolutely, definitely, preventing page break
Partially modified MWE from that answer,
\documentclass{article}
\usepackage{lipsum}
... | common-pile/stackexchange_filtered |
Vectorising a function over pandas - unknown window length/index range
I have a dataframe as below.
signal positions. rates
Date
2018-01-02 0 NaN 1.2065
2018-01-03 0 0.0 1.2023
2018-01-04 0 0.0 1.2065
2018-01-05 1 1.0 1.2045
2018-01-08 0.... | common-pile/stackexchange_filtered |
Blend-Exchange not accepting v3.x files
I tried to upload a 3.0 version blend file into blend-exchange and got the message "All uploaded files must be in the blend file format". It appears to not recognize post 2.93 file formats.
You should probably ask in Blender Meta
@Emir I'm guessing that Meta is some insider-... | common-pile/stackexchange_filtered |
Extend Schengen visa to go to the UK for a short stay
I am Jamaican and I am currently in Europe on a Schengen visa. I have been invited to the UK next month for 2 weeks. How much will it cost to extend my schengen visa? I am a musician and may play percussions on two shows while I am in the UK. What is the cost variat... | common-pile/stackexchange_filtered |
Adhoc queries memory consumption in SQL Server
I have a SQL Server 2012 and it has just one (1) database in it. When I generate a server dashboard report it shows that 50% of CPU usage is related to my database and the rest is associated to Adhoc queries.
Where are these adhoc queries? Are they related to my database?... | common-pile/stackexchange_filtered |
Requirements for JSON output
I'm not really sure whats required to make an action return json.
I'm sure there is more then one way to skin this cat, but I'm not sure what is absolutely required.
Is it adequate to just $this->render(array('json' => compact('data')); ?
Do I need to add a route specifying its json?
Do I a... | common-pile/stackexchange_filtered |
Insert text object beautifulsoup to html element
i'm beginner. Now i want insert text to by beautifulsoup.
i try soup.h1.string = "abc" but it for first h1 tag.
i want all h1 tag in file html change the text. i'm sorry my english not good. thank for help !
<!DOCTYPE html>
<html>
<body>
<h1>1</h1>
<h1>2</h1>
</body>
<... | common-pile/stackexchange_filtered |
DB2, SQL query to SUM 2 columns
I need to add to columns in a row.
Table Data
id
Col1
Col2
1
10
20
2
11
20
3
12
20
Result expected
id
Sum
1
30
2
31
3
32
I tried sum(col1 + col2), but that gives the sum of all the columns together.
sum() is a aggregating function (one that give a single ... | common-pile/stackexchange_filtered |
Why are shadow prices the optimal solution of the dual
Consider an LP $\max_x c^t x$ s.t. $Ax \leq b, x\geq 0$. Let the dual problem be $\min_v b^t v$ s.t. $A^\top v \geq c,v\geq 0$. It is stated in standard text book that the shadow prices of constraints in the primal problem are exactly $v^*$, the solution to the dua... | common-pile/stackexchange_filtered |
Is there a way to get the uid of the other end of a unix socket connection
Is there a way for a UNIX domain socket listener to only accept connection from certain user (chmod/chown does not work for abstract socket afaik), or in another word, get the uid of the incoming connection (on Linux)?
Dbus, which uses abstract ... | common-pile/stackexchange_filtered |
Webpack Bundle file has no CSS style and UI component
I created my project(Project 1) using CRA. The project 1 is using some Ui library like "Reactstrap" and customized CSS sheet. it is fine by its own. Then I bundle the main component file using webpack and trying to export it to other project(Project 2).
The webpack ... | common-pile/stackexchange_filtered |
Where do I ask a question about "how to use my participation on this site in college applications"?
I participate on Math SE and to a lesser extent on MO and Physics SE. I'm starting to apply to colleges and was wondering where I should ask about how to list my participation on this site in a beneficial way.
I origi... | common-pile/stackexchange_filtered |
Retrieve element from post data with jquery
Note: With the help of some comments it seems like this is most likely not possible
I'm using a jQuery ajax call to send an e-mail address, in the called PHP file I return an error or success message depending on the outcome.
Now I want to alert this outcome after my jQuery $... | common-pile/stackexchange_filtered |
Order users by username
Right now, when displaying all the users, the default order is by reputation.
I suggest we add a way to order the users by username too. This would be useful when searching for a non-ASCII names that we can't type in the search bar without copy-pasting stuff. Something useful for non-ASCII names... | common-pile/stackexchange_filtered |
How to access Azure Storage Blob from Unity mobile app in a secure way
I have a mobile app designed in Unity. This app needs to access few videos which are stored on Azure Blob Storage. The app would be launched on Microsoft Intune and will be available for employees only. Please help in knowing the most secure way to ... | common-pile/stackexchange_filtered |
How to extract data from Instagram?
I am completely new to scripts and Digital Humanities, so any help would be most welcome. I need to find a way to extract data from instagram, namely
all posts that contain a certain tag
the content of this post
the username (and full name and bio if possible)
the location (if t... | common-pile/stackexchange_filtered |
Misunderstanding in particular user case of pointers and double-pointers
I'm dealing with pointers, double-pointers and arrays, and I think I'm messing up a bit my mind. I've been reading about it, but my particular user-case is messing me up, and I'd appreciate if someone could clear a bit my mind. This is a small pie... | common-pile/stackexchange_filtered |
Can an Echo Knight fighter's Manifest Echo be moved through water?
I would like to know if an Echo, created by the Manifest Echo ability of an Echo Knight, can be moved through water?
An Echo itself is not considered a creature, and instead is listed as "image" and an "object" tweet 1 by Jeremy Crawford. Additionally, ... | common-pile/stackexchange_filtered |
html data-* attribute has to be explicitly defined with TS
Im writing Textinput with React and TS.
I am extending my TextInput-Interface with this:
InputHTMLAttributes<HTMLInputElement>
This allows me to provide all native input props without explicitly define them.
Problem
i receive this TS-error when i try to prov... | common-pile/stackexchange_filtered |
Inserting NA into an array
I'm trying to find a way to insert NA values into a vector / matrix in R. I've used some manipulation tricks like:
values = *expression* #assume values is a populated vector
values = (values %% 2 == 0)(values/2) + (values%%2 == 1)*(3*values + 1)
So, this conditionally manipulates ent... | common-pile/stackexchange_filtered |
What is "same sort of thing" referring to?
In L.A Confidential (1997), the officer and Jack, working under the direction of Lieutenant Exley, teamed up to investigate the Night Owl murder. They used a list of vehicles provided by the DMV to aid their investigation:
Jack: We go by this list, we got zero chance of makin... | common-pile/stackexchange_filtered |
access array element in elasticsearch using elastic4s
I wanted to delete an element from the Array, as shown below I inserted a testindiex with type test and document with an Array inside, in elasticsearch using elastic4s.
I wanted to delete a value ex: tony from members - how can I do this
val insert = client.exec... | common-pile/stackexchange_filtered |
How to filter an array by one condition without a re-renderer?
How to filter an array by one condition without a re-renderer?
I want to display the button if the result of the check returns true, but the point is that true or false is returned on each iteration, how can I return true or false only once?
const [checkS... | common-pile/stackexchange_filtered |
How to move Chatter Feed of type 'TrackedChange' from contact to person account
We have recently adopted person account and are trying to move chatter feed from contacts to person accounts.
According to this article: https://help.salesforce.com/articleView?id=000213215&type=1 , we need to insert chatter feed in this c... | common-pile/stackexchange_filtered |
Multiple find and replace operations in a single batch
I need to do multiple find and replace operation on a single file. The setup is as follows:
Text data - File.txt
Replacement data - File2.txt
The structure of File2.txt is like this:
ABC,XYZ
MNB,OPI
GHI,TRY
The first column is my original name (eg. ABC) and replac... | common-pile/stackexchange_filtered |
Cache feed and only refresh when feed is changed
Over at rsscache they have a way of refreshing the cache only when the feed has changed. Unfortunately its .Net.
I would like to know what approach I should take to achieve this in php.
How are changes in the feed detected? Simply by a timestamp (time node in the begin... | common-pile/stackexchange_filtered |
Many-to-one mapping (creating equivalence classes)
I have a project of converting one database to another. One of the original database columns defines the row's category. This column should be mapped to a new category in the new database.
For example, let's assume the original categories are:parrot, spam, cheese_shop,... | common-pile/stackexchange_filtered |
Backup to disk, encrypted, without any installed local software
Ok, this is a tough one, and it might not even be possible, but no harm in asking I guess.
I have a Buffalo Terastation file server that I use for network attached storage. After a couple of phone calls to customer services I realised that there is no way ... | common-pile/stackexchange_filtered |
When do continuous surjections have Borel sections?
It is known that whenever we have a continuous, surjective map $f\colon X\to Y$ between compact metrisable spaces, there is a Borel (even Baire class $1$) section $g\colon Y\to X$ (so that $f\circ g=\textrm{id}_Y$) (cf. for example the exercise 24.20 in Kechris's Clas... | common-pile/stackexchange_filtered |
c++ - Splitting an absolute file path
I'm writing a C++ program for a school assignment. At some point, the question requires me to change directories, which I know how to do. However, the user will provide the program with the absolute path of a file. What I'm trying to do is to change the directory to where that file... | common-pile/stackexchange_filtered |
Timer precision with audio
I am trying to make a very precisely timed firing of a sound.
I used this code to create the timer:
timer = dispatch_source_create(DISPATCH_SOURCE_TYPE_TIMER, 0, 0, dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0));
dispatch_source_set_timer(timer, DISPATCH_TIME_NOW, ... | common-pile/stackexchange_filtered |
Looping and lists
trying to create a function that takes a list of IPs, splits them at the dot and performs various checks on each group to check if it is valid. If the potential IP in the ip_list fails the checks, it then removes it from the list. That is where it falls down: it will not remove the test cases from the... | common-pile/stackexchange_filtered |
SSH VPN Default Gateway Help
I am setting up an SSH TUN ("-w") VPN using this how-to: https://help.ubuntu.com/community/SSH_VPN
I have the following in my /etc/network/interfaces:
iface tun0 inet static
pre-up ssh -f -w 0:0 singpolyma.dnsalias.net 'ifdown tun0; ifup tun0'
pre-up sleep 10
address <I... | common-pile/stackexchange_filtered |
Error when trying to create a variable that stores a range of characters: TypeError : indices must be integers or None or have an __index__ method
I'm new to programming and have been tasked to prompt the user to enter a string, and from there generate a random number that will be a valid index of the user's string, a... | common-pile/stackexchange_filtered |
LC filter in inverter
I am in the process of creating a high-current inverter, with a current rating of 100A. I have completed the simulation, but am having difficulty finding an inductor with a high enough current rating for my needs. Are there any alternative options to an LC filter that I could consider in order to ... | common-pile/stackexchange_filtered |
How do I prove these matrices have the same rank?
Let $A$ be an $n \times m$ matrix and let $T_A : \mathbb{R}^m → \mathbb{R}^n$ be the linear transformation $T_A(x)=Ax.$
Also let $B$ be an invertible $m × m$ matrix and let $C$ be an invertible $n × n$ matrix.
How do I prove that prove that the matrices A and CAB have t... | common-pile/stackexchange_filtered |
How can I detect a server ping using URLSessionWebSocketTask?
Using URLSessionWebSocketTask, a server ping is automatically responded to by a pong from the client.
Still, can the client observe that a ping/pong occurred?
(a related but different question)
Does the server ping message body contain a timestamp of when i... | common-pile/stackexchange_filtered |
PowerBI dashboard dynamically displaying administrative level 1 regions in ArcGIS visual
In PowerBI I am trying to create a monthly forecast dashboard that displays on a world map for a given month [using a slider] which administrative level 1 regions would be affected by tropical storms (TCs). To determine which regio... | common-pile/stackexchange_filtered |
Showing if $v+v+v=0$ and $v \neq 0_F$ then the space is above $\Bbb F_3$
I'm having difficulty proving the following:
Suppose V is a vector space over $\Bbb F$ and $v\in V$ such that $v \neq 0_F$ and $v+v+v=0$.
I'd like to show $\forall u \in V$ that $u+u+u=0$.
My intuition suggests that this is only possible if $\Bbb... | common-pile/stackexchange_filtered |
How to concat LPCWSTR and char[]?
I am trying to concat a LPCWSTR and a char[] (and get LPCWSTR as output).
How can I do that?
You could convert your char[] array into a wide-char array using the following code (from MSDN)
wchar_t * wcstring = new wchar_t[strlen(array) + 1];
// Convert char* string to a wchar_t* stri... | common-pile/stackexchange_filtered |
Concatenate lines of file
I am having these two lines and I am trying to get all in one line as a variable in bash.
initial values
DEST
none
and I would like such of result:
DEST="none"
Many thanks in advance for any suggestion,
Al.
Does your input consist of only two lines, or you have more and need to do that for ... | common-pile/stackexchange_filtered |
only keep the value of a column in first match after merging, for rest it can be 0.0
I have two pandas dataframe, one has columns a, b, c & other has column a, b, d.
df1
id month c
1 1 TE
2 1 TE
1 1 NTE
2 1 NTE
df2
id month price
1 1 4
2 1 6
I want to merge these dataframes on id & month... | common-pile/stackexchange_filtered |
ckeditor - onshow overiding custom definition
when using the ckeditor link dialog, I have custom code for some extra options. I would also like to grab the selected text to use - so I have called:
selectedContents = CKEDITOR.instances['my_editor'].getSelection().getSelectedText();
I want this to happen when the dialog... | common-pile/stackexchange_filtered |
How do I repair the shut-down/Log-off button?
I use the computer with 2 users.
With one user all works fine.
With the second user account, the shut down and log-off buttons do not work anymore while screen locking standby and hibernation still works.
(i refer to the buttons very right of the top panel).
How can I get b... | common-pile/stackexchange_filtered |
Filter Array to get specific result between values
I have an array with 24 results from the database, which includes the year and month.
the goal is:
I know the month and year that was selected, so I get the results for the current year and the previous year, which results in the array of 24.
now I want to get the resu... | common-pile/stackexchange_filtered |
How to prevent rdiff-backup on cygwin from crashing?
I'd like to employ rdiff-backup for backing up my user directory of my Windows 7 - 64 bits.
I use the following command line:
rdiff-backup -v5 /cygdrive/D/home/maxp /cygdrive/t/Backup/Users/maxp/home
(where T: is an USB disk, and the directory I want to back up is a... | common-pile/stackexchange_filtered |
How to add response headers with HAproxy 1.6 based on request URI?
I use HAproxy 1.6 as load balancer in front of tomcat servers.
I need to add response headers based on the request URI.
For e.g., I'd like to add the response header Cache-Control public,max-age="600" when the request uri is /api but not when the reques... | common-pile/stackexchange_filtered |
Odoo 9.0 email notifications are not automatically fired
Odoo 9.0 email notifications are not automatically fired. I had to manually send one by one. Please see attachment. Could anyone guide me to what need to changed in order to fire these pending emails automatically?
Usually there is a CronJob. Is it active?
Hi,... | common-pile/stackexchange_filtered |
When exercising a leap call option, do you keep the premium?
let's say that 1 stock of XYZ currently is 50$.
I bought leap call option for XYZ with strike price 50$ and premium 10$. When exp date will come and I will exercise my call option. How much will I pay for single stock, if XYZ current price is already 100$?
Cu... | common-pile/stackexchange_filtered |
Maya Python read and set optionMenu value via variable
I have a module that creates a savedSettings.py file after the user used my tool this file is filled with variables to load into the gui next time the tool is used.
I have some checkboxes and a optionMenu. Reading and setting the variables for the checkboxes is as ... | common-pile/stackexchange_filtered |
On Windows 8.1 "javac -version" works but Cordova doesn't recognize it
I'm trying to set up Cordova. When I run cordova build android I receive the following error:
(node:6816) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Failed to run "javac -version", make sure that you have a JDK ... | common-pile/stackexchange_filtered |
How do I force iPad to 1x or 2x mode programmatically at startup?
I can detect my iPad device running an iPhone app in 1x or 2x scale, thanks to an earlier post here: detect iPad 2x button for iPhone app
What I would like to do is to serialise this setting into NSUserDefaults when it is changed by the user so that forc... | common-pile/stackexchange_filtered |
Waiting for: tcp://db:5432 Timeout after 30s waiting on dependencies to become available: [tcp://db:5432]
Im new with docker and odoo
trying to use odoo14 and postgresql with some dependencies in docker-compose
when i use docker logs for postgresql container the db its ready to accept the connection instead of logs of ... | common-pile/stackexchange_filtered |
Why was my question related to kernel hacking closed?
I have asked this question on SO. It seems people want to close this. I've asked for clarification and I've been given the following link: https://stackoverflow.com/faq#dontask.
However I don't see anything there which sustains their action. On the contrary, the doc... | common-pile/stackexchange_filtered |
How to make a custom class work with the ‘for in’ loop in Python?
If I have a custom class, how can I make it work with a ‘for in’ loop, like this:
class number_range:
def __init__(self, start, end):
self.__data = []
for i in range(start, end):
self.__data.append(i)
#something that w... | common-pile/stackexchange_filtered |
How to add a CSS class to SAVE and CANCEL (editview) buttons SugarCRM
I'd like to add a class to the buttons CANCEL and SAVE in edit view , in order to add an icon inside the button.
I already add a class in Header.tpl for the whole buttons (add border etc), but no way to add specific class to cancel or save button
Tha... | common-pile/stackexchange_filtered |
How to get a data element in pandas that is not in the index (but between those values)?
I have a Series of discrete states a system can be set to. The setting is done at discrete time steps, e.g.
import pandas as pd
states = pd.Series([1, 1, 0, 0, 1, 0, 1, 0], index=pd.date_range(
'2015-01-01', freq='2Min', periods=8... | common-pile/stackexchange_filtered |
How to add text in PowerPoint using 'officer' package in R when 'ph_with_text' is not available?
I am trying to add text in powerpoint using r by the officer package but the ph_with_text isn't available?
library(officer)
packageVersion("officer")
officer::ph_with_text
ph_with_text()
Output:
> library(officer)
> packa... | common-pile/stackexchange_filtered |
UITextfield to be displayed on top of Keyboard - Beginner
I have textboxes. When i click on it, the Keyboard pops out. but, since the uitextfield is located some where below, it gets covered when the keyboard pops out. (The keyboard gets displayed above the text field, so the user is unable to see it).
I need a way to ... | common-pile/stackexchange_filtered |
RHEL6 - disable the tiered-progress bar during boot
How do you get RHEL6 to display the "traditional" display of startup information instead of the tiered/stacked progress bar?
The standard info dump is displayed during shutdown.
The same occurs in Fedora and should not be limited to RHEL6.
@DragonLord - haven't deal... | common-pile/stackexchange_filtered |
How do I signal the end of standard input in a python shell without logging out of the shell?
I preferred using Ctrl+D and relogging into the Python shell and using up-arrow key to load the history.
But,getting into the Django shell, I couldn't even use the up-arrow key to load the commands used earlier and need to re... | common-pile/stackexchange_filtered |
SVD and Lanczos method
I have been given the task of implementing SVD using the Lanczos method.
As I understand it only helps to find eigenvalues using a sequence of tridiagonal matrices, but i don't know how to apply this to actually computing the SVD.
Do I need to approximate the given matrix with tridiagonal and the... | common-pile/stackexchange_filtered |
Parsing JSON array in Excel VBA
I have tried to follow the method in another thread, however there are certain part in the code that I don't understand and it didn't work for me. And I could comment as I haven't reached 50 reputations. (i included the response from the other thread)
I am trying to access to Json respon... | common-pile/stackexchange_filtered |
How can I determine if standard audio player is playing a song
I have the following as part of my html (once for each of several songs):
<audio
name="aMedia"
id="aMedia"
controls
preload="auto">
<source src="audio/mysong.m4a">
</audio>
I wish to determine if the above standard Play button was press... | common-pile/stackexchange_filtered |
Do I need Gamma matrices in Majorana representation in the Lagrangian of a Majorana fermion?
I understand that the Majorana representation of the Gamma matrices are the real representations of the associated Clifford algebra. A Majorana fermion is defined as a fermion that equals to its charge conjugation.
When I writ... | common-pile/stackexchange_filtered |
How to vlookup a combination of cells?
There are two tables
table1
team member income
blue 650
Kate 500
Niki 150
green 1100
Kate 560
Alison 600
table2
team member income
blue 'vlookup what formula should I put here ?
Mike 'v... | common-pile/stackexchange_filtered |
How to restrict access of a content to certain users in drupal?
In my drupal site I need to restrict the access of a content to certain users. I have a set of items and each item is a content. Each user will be assigned to a certain content. In my mysql table there are two fields, userid and contentid. According to thi... | common-pile/stackexchange_filtered |
What happens to cations after depolarization/repolarization in cardiac muscle?
In the depolarization/repolarization of the cardiac cell cations such as sodium, calcium, and potassium flow in and out of the cell creating an action potential. My question is what happens to these cations once the depolarization takes plac... | common-pile/stackexchange_filtered |
Get cursor location in tty without reading from stdin (need help with redirections)
I have written a fancy custom bash prompt, and it works really well; I just have an issue when trying to run multiple commands separated by newlines. (I apologise for the length, but I hope my issue is clear)
TL;DR: getting the cursor p... | common-pile/stackexchange_filtered |
How to handle data being sent by Axios post request?
I have a react frontend and node.js backend.
I am successfully sending the POST request using axios:
const [logins, setLogins] = useState({});
function updateLogins(e) {
setLogins({...logins, [e.target.name]:e.target.value})
}
function submitHandler() ... | common-pile/stackexchange_filtered |
Why don't Stack Exchange sites use HTTPS redirection?
Shouldn't there be a HTTP -> HTTPS redirect on all Stack Exchange sites?
I am using the HTTPS Everywhere add-on in Chromium, so I am unaffected, but I don't get it.
I see we have a certificate issued from DigiCert SHA2 High Assurance Server CA, which must have cost ... | common-pile/stackexchange_filtered |
Fastest way to remove all characters between '/' in a String
I have .txt files inside directory
I want to change the name of those .txt files, when saving.
I.e. /root/user/workspace/DataSet/dataset/file0.txt
I have already solved the problem in an inefficient way
for (int i = 0; i < img_n.length(); i++) {
char a = ... | common-pile/stackexchange_filtered |
Error #1064 in SQL query
I have written the following SQL query:
CREATE PROCEDURE query_05_b(OUT rez VARCHAR(200))
BEGIN
rez := "SELECT numean FROM angajati WHERE idan IN (SELECT idan FROM certificare);";
END
When I try to run it, I get the following error message:
MySQL said: Documentation
#1064 - You have ... | common-pile/stackexchange_filtered |
Share extension to after coming host app breakpoints are not working in swift
From Share extension (SLComposeServiceViewController) to after coming host app breakpoints are not working in swift And Printing also not working !!!!
override func viewDidLoad() {
super.viewDidLoad()
let userDefault = UserDefaults(s... | common-pile/stackexchange_filtered |
What does "lover of ladies" mean?
What does it mean? A playboy? Like a womanizer?
I was watching a video on YouTube where a British man said "he's a lover of ladies" but then goes on to say "he's a very nice guy" and now I'm confused.
He's not a teenager. He's almost 30.
Is it a player, cheater, womanizer, etc.? If not... | common-pile/stackexchange_filtered |
How good is ValueTuple for large objects?
I going to return big List of objects as one of the parameters in my ValueTuple. Somethings like this:
(bool success, List<TemplateModel> data string error)> Get(string templateName);
As far as ValueTuple is a struct and List inside of struct I suppose have to store in heap. S... | common-pile/stackexchange_filtered |
File and code structuring in DurandalJS
I'm trying to figure out a way to structure my app in a way that the API interactions are independent from my views and viewmodels.
At the moment, my ajax calls (get, add, save, remove, etc) and models (User model, Message model) are inside my view models, but in the future, we'... | common-pile/stackexchange_filtered |
store List in Global.asax
We can store application level strings in a global.asax file like:
Global asax:
void Application_Start(object sender, EventArgs e)
{
Application.Lock();
Application["msg"] = "";
Application.UnLock();
}
And then in pages we get the "msg" var... | common-pile/stackexchange_filtered |
Unable to import android.support.v4.apps.NavUtils
After thoroughly searching here, I found the following question which exactly states the problem that I am facing.
Trouble importing android.support.v4 package
However, the issue in that case was the imported package was wrong. In my case the package is correct and yet ... | common-pile/stackexchange_filtered |
Passing in a user-defined variable value for maven from the command lne
I'm working on a build script to compile a WAR using maven. I want to be able to pass in certain values like the version number from the command line when I run the maven command. After some research I found that you can pass in values using a -D f... | common-pile/stackexchange_filtered |
Are Example script files in Matlab different to standard Scripts in Matlab?
In Matlab you are given the option to create new "Example" script files alongside Script, Function, Class,etc. When they are created they are given a script icon.
Are they treated any differently to other standard script files?
Is there any do... | common-pile/stackexchange_filtered |
beeline cannot connect to hive2server
Enter username for jdbc:hive2://localhost:10001/default:
Enter password for jdbc:hive2://localhost:10001/default:
17/08/19 09:25:14 [main]: WARN jdbc.HiveConnection: Failed to connect to localhost:10001
Could not open connection to the HS2 server. Please check the server URI and ... | common-pile/stackexchange_filtered |
Is it possible to play the "Versus" mode singleplayer, with bots, but no sv_cheats 1?
Title honestly says it all.
I was wondering if it was possible to play the versus mode without having to go on the network, especially for practicing with all the different zombie types.
I did some research online and found it was pos... | common-pile/stackexchange_filtered |
How to change default port number in Dart Editor
How to change server socket port number in Dart Editor? Because local tomcat using the 8080.
Seem this port changed from 3030 to 8080 after update to version 1.5.0.
--- 9:41:37 AM Starting pub serve : podium ---
Loading source assets... (0.6s)
Loading di tra... | common-pile/stackexchange_filtered |
Does steps_per_epoch param of model.fit() function override the value of Sequence's __len__()
According to the tf.keras.utils.Sequence official documentation, the general convention to set the return value of __len__() function is training size / batch size.
This ensures that for a single epoch, your model is trained o... | common-pile/stackexchange_filtered |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.