I own shares of company A in a personal, non-tax advantaged account. Company A is being acquired by company B at a premium in an all cash deal, but I'd like to avoid the taxes associated with selling stocks if possible.
How can this be done?
We've been provided with a new firmware for our telematics units, which connects to the Internet via a VPN provided by a mobile carrier; since this new firmware release, we've noticed that each and every device (based on Linux) has the same MAC address: DE:AD:BE:EF:00:00
I'm familiar with the wor...
The Magic Keyboard with Touch ID requires Macbooks with Apple Silicon to exploit the Touch ID feature but does the keyboard work like a normal keyboard with an T2 chip Macbook? The idea is to buy it to use with an Intel Macbook and future proof it in case I purchase an Apple Silicon mac in the fu...
In Magic, most cards that interact with a specific card will target it. For example, Giant Growth (emphasis is mine):
Target creature gets +3/+3 until end of turn.
There are lots of rules around targeting, and even abilities that interact with targeting, like hexproof and shroud. Some cards s...
I'm trying to rectify an AC current at 220V. Many written tutorials don't mention any transformer before the diode bridge and many video tutorials use transformers that provide an output of 6V or more.
In my understanding, diodes can withstand only very small voltages in forward bias since curren...
Your task is simple, just remove the odd indices and double the even indices
Example
the input is Hello, World! and we get indices
H e l l o , _ W o r l d !
1 2 3 4 5 6 7 8 9 10 11 12 13
and remove the even indices
el,Wrd
Double!
eell,,WWrrdd
and you are done
1-Indexing
Test cases
abcdef =>...
How can I add more members to a specific case?
Use case: We have group of people working on a case however these groups won't have same members everytime. How can add group of people specific to a case?
Adding members to Case resource results in adding to Case Resource group which is added to all...
I generally understand the blockchain framework. I have spent much time learning about how it, potentially alone, is able to provide for a decentralized system. For TRUE/ABSOLUTE decentralization, it is effectively required. This much I understand.
What I do not understand is what benefit they pr...
What are the advantages and disadvantages of using a reflow oven vs a hot air station for prototyping SMD PCB? Do you need an oven or would an air station work?
I'm designing a dashboard that captures temperature at multiple locations (L1-L5). At the same time, I want to show the amount of staff that have been in these locations. Right now I've indicated them in the blue circles. Is there a better way that this amount could be represented in the bar grap...
If I'm recalling correctly, a man takes a vacation by putting his consciousness into a horse or dog brain (I think), and he loves it so much—specifically, the freedom that animals' simplistic consciousness grants—that he keeps going back into that animal's brain. By the end of the story, though, ...
I'm a bit confused, since reading the book and watching the movies and shorts makes me wonder if Rachael was, from the start, able to get pregnant.
Because if she is, then it means the technology and knowledge is already available, so the 2049 part turns (to me) pointless.
And if this was results...
My scene grew complex with several geometry nodes. And it takes seconds beetween consequitive viewport updates even in wireframe mode.
Is it possible to display objects, group of objects as bounding boxes?
It would be extremly beneficial for positioning the camera to have smooth viewport update.
...
I'm currently trying to reproduce the sounds of Elton John's Song for Guy as a learning project, and I'm stuck with the wind-like sound that accompanies each chorus (and the third and following repetitions of the initial song motif at the end, before EJ starts to sing).
I have a quite convincing ...
I have a list:
histx={-56.6335, -57.2327, -57.8607, -57.9682, -57.0061, -57.1872,-56.9209, -56.1284,...};
I managed to create the histogram that I wanted to:
But I have a problem with fitting gaussian to it:
How list should be defined to get NonlinearModelFit?
With taproot, a number of longstanding BIPs were merged into the Bitcoin standard client/consensus protocol - BIP341, BIP340, and BIP342. However, the Bitcoin repository BIPS index is unclear on when a BIP has actually been 'adopted' and merged into the standard client.
Does anyone have suggestio...
I must be missing something here, but I'm embarrassed to say I can't see it. Most (all?) logic books consider "p or not p" to be a tautology, hence always true, and this is usually stated without any further discussion (I never gave it a second thought). In common language, "p or not p" means tha...
I am trying to do structure optimization of TiO2, since titanium is a transition metal, I need to use DFT+U to simulate the right band structure, but the electronic band structure would also affect the force on atoms, so does this mean that I need to use DFT+U model during the structure optimizat...
In the third episode of The Book of Boba Fett, TV Tropes notes that, near the end of the episode:
Is it confirmed that that is who attacked the settlement? I don't remember any evidence in the episode of who the attackers were, but I acknowledge that I might have missed something, or there might...
There is a question over at the Writing SE which was wondering whether J. K. Rowling would consent to somebody writing a Harry Potter sequel. The answer was, predictably in hindsight, "you would never be able to give her a letter, and even if, she wouldn't read it, and even if, she'd say no."
As...
We are adding a new closet by cannibalizing space from our rather large lower-level storage room / utility space. I am trying to understand if there are any stipulations around drywalling both sides of the new framing we'll build for the closet. Can we leave the "back" side that will be in the st...
Revelation 3:12 states:
The one who conquers I will make him a pillar in the temple of my God.
Never shall he go out of it, and I will write on him the name of my God and the name of the city of my God, the new Jerusalem which comes down from my God out of heaven and my own new name. (ESV)
If J...
Is the market price objective, does it exist independently of human consciousness, how do we treat the market price in economics and the philosophy of economics?
The market price is the current price at which an asset or service can be bought or sold.
If it is lower than the owner's indifference ...
Tenure protects a faculty member's job from many threats; however, does it also generally guarantee a minimum salary?
I am especially curious about fields, such as engineering, where there may be an expectation for the faculty member to bring in a certain amount of funding. If a faculty member d...
I do not know what this part of my (Model # WDF510PAYW) Whirlpool dishwasher is called. I do not know why it is filled with gunk? I do not know what his part does.
But the most pressing question is, what should I do to avoid the gunk build-up in this part. (It may be one of the sources of the ...
I'm trying to use the blender python API to change the base color of multiple materials from an object. I'm pretty new to the bpy and the documentation is likely poor.
This is my selected object, and the colors i'm trying to change:
And the code am trying to use but with no effect:
bpy.data.mate...
When we define $$\overline{\left|x\right|} = \frac1T\int_0^T x(t) dt$$ as the arithmetic mean of a signal we can see that it is the same as its dc component in the fourier transform.
Why is this the case? I can see it obvious for a normal sine or cosine wave, because everything will cancel out, b...
After recently learning that it has a battery inside of it, I unscrewed my Controller Pak (N64 memory card) to put in a new battery. The old one says "98" on it, referring to 1998. So it's likely running out of power.
The battery is soldered on.
Why do this for something which will inevitably run...
I’m trying to make some procedural shapes with geometry nodes in Blender 3.0, I’ve started with a cube node with some subdivisions that I’ve distorted with some Voronoi and noise textures at different level of details. Some of these textures are set as 4D vectors so I can manipulate the W value t...
Inspired by the new game of Wordle, I have created a new type of puzzle combining Wordle and Pictionary.
The left image represents a phrase of six five-letter words. Normal Wordle rules apply: Green squares indicate the correct letter in the correct position and Yellow squares indicate the correc...
My problem is as follows:
How do I ask Mathematica the following question. Let $f(x,y,z,a,b)$ be a 5 variable polynomial. I want to find all values of $a,b$ for which $f$ has no zeros in the region $h_1(x,y,z)\leq g_1(a,b)$ and $h_2(x,y,z)\leq g_2(a,b)$ ewe an assume that all the functions are sm...
The BBC's Watching North Korea from a supersonic fighter jet (screenshot from YouTube) shows the launch of a South Korean rocket.
I notice that it has both a very long, nicely expanded blue exhaust plume straight down as well as a large, lower velocity and wider bright yellow-white exhaust plume ...
Re: commentary on my answer here
For example, resist energy provides "resistance 5" against one of acid, cold, electricity, fire, or sonic damage; could a creature benefit from another casting of resist energy for a different energy type?
A shield of elemental energy protects a creature against...
I need to insert a chapter 7.5 between chapters 7 and 8. I've figured out how to get chapter 8 to be chapter 8, but I can't figure out how to get chapter 7.5 to be chapter 7.5. I'm using the memoir.cls and chapterstyle "dash".
Here's my MWE:
\documentclass{memoir}
\chapterstyle{dash}
\begin{d...
As you can see in .js, the table has only 1 row, but it is generating 5 rows... I don't understand why.
.js file
import { LightningElement,track } from 'lwc';
export class Table extends LightningElement {
@track columns = ['', 'COLUMN 1', 'COLUMN 2', 'COLUMN 3', 'COLUMN 4'];
@track rows = [1...
Sometimes I see advice to fit regressions with student-t residuals rather than using OLS (which is equivalent to assuming normally distributed residuals) if the distribution of the residuals is heavy-tailed. However, since the OLS estimator is BLUE (by Gauss-Markov), it should have lower variance...
Here is the output of gcc --version :
./gcc --version
gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
I understand this is version 7.5.0 but why is there the word "Ubuntu" before the version and what does "-3ubuntu1~18.04" after it means exactly in this context (gcc version)?
The manual does not really ...
I'm confused about differentiating these "this" and "that" when they're used to mean "so".
E.g.
Can you tell me why you're this angry?
Can you tell me why you're that angry?
I could guess that those sound OK and thus are interchangeable, or not?
I was reading about femtotechnology but I also know that many subatomic particles and arrangements are unstable and do not last even a second. And the heavier the particle is lower their half life is.
What could be done to make the heavier quarks(strange, charm, top, bottom), positronium, protoni...
Liesa, Forgotten Archangel:
Flying, lifelink
Whenever another nontoken creature you control dies, return that card to its owner's hand at the beginning of the next end step.
If a creature an opponent controls would die, exile it instead.
If an opponent summons Clone and clones Liesa or even sum...
I have been scratching my head for a couple of days on how to determine convergence/divergence of sequences. I made it to understand how to prove that a sequence converges, but still have numerous doubts about proof of divergence.
Say I have $\lim_{n \to +\infty } \sqrt{n+1} = +\infty$ and I have...
The CNN video Experts on what North Korea's series of missile tests may mean summarizes several tests of different "flying objects" including (apparently) two hypersonic missiles or at least maneuverable warheads (BBC: North Korea successfully tested hypersonic missile, says report).
As pointed o...
Assume there is a resource that allows for rapid regeneration of body parts and termination(magical deletion) of foreign object in the body upon usage. Lets say it scarce enough that you can't give it to everyone, so its still valuable.
You have to give it to your soldiers cause it's a huge moral...
The film 2001: A Space Odyssey is divided into several sections. The first, "The Dawn of Man", takes place in the distant past. This is followed by a sequence in which Hayward Floyd visits the monolith on the moon, and then after that we have the mission to Jupiter, which takes place 14 months la...
Six was a gold-medal winner several times in a computer games olympiad. The source code is on GitHub https://github.com/melisgl/six/tree/master/six. It has been pinned for a couple of decades, but I would like to bring it up, however I'm not familiar with programming KDE, Qt or even C++. I'm m...
Consider the following integral:
$$I = \int_{-5}^5 \frac{1}{(x(x-2))^{1/3}} dx.$$
The exact value is 6.30249 - 2.2405 I. I will perform NIntegrate in 3 different ways:
Naive method:
NIntegrate[1/((x (x - 2)))^(1/3), {x, -5, 5}]
6.28841 - 2.23957 I
Warning occurs.
Singularity handling with c...
I understand how in 1.23 Axler states that Fs is the set of all functions that map from the set S to F.
He later states that we can think of Fn as F{1,2,3,....,n}
Although an explanation in the book is provided, I'm still confused as to how we can represent it that way.
For example, according to...
I was looking for a solution to the following equation:
$$x^4 - x^3 = C$$
where $x$ is real and $C$ is a parameter.
Wolfram Alpha returned a very complex answer. I am looking for a simpler answer, which is approximately correct when $C$ is sufficiently large (i.e., it approaches the optimal solut...
I'm a lousy artist. If I want my Gaussian curves to be accurately drawn when I use a whiteboard, or work with pen & paper, what are my options?
Is there a way to use a straight edge, or compass, or some other trick to getting accurate curves from the Gaussian family?
I want to make more symmetric...
When touring Paris on Les Cars Rouge, I saw my bus begin to pull away from the bus stop. I wanted to call out to the driver to hold the bus for me as there wouldn’t be another bus for quite a while. Is there a French equivalent to “hold the bus?”
Do electric guitar (or bass) pickups sound different only because of EQ?
I understand the strength of magnet and totality of wire windings effects the strength of the signal but if one wanted to make one pickup sound like another would a very good EQ be able to achieve that?
That is, why buy mult...
I want to draw this picture:
This is what I have so far:
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\begin{document}
\begin{center}
\begin{tikzpicture}
\coordinate (S) at (0,0); %does nothing
\draw (0,0) circle (2cm);
\draw (-2,0) -- (2,0);
\end{tikzpicture}...
Consider the following scenario: Alice and Bob are in two labs far apart, and they each have one qubit. Can joint measurement (for bipartite projective measurement, they are measurements that cannot be written as the direct product of two measurements) be done between Alice and Bob? Is this kind ...
I have the equations
eq1=(a[3] - a[4]) \[Psi] . \[Xi] + (a[1] + 2 a[2]) \[Psi] . \[Phi]
eq2=2 (a[3] - a[4]) \[Psi] . \[Xi]
eq3=(a[1] + a[2] + a[3] + a[4]) \[Psi] . \[Phi]
Question: How do I make Mathematica to solve for the coefficients a[1], a[2], a[3] and a[4] the system of equations given by ...
I'm working on a friend's house to replace a ceiling light fixture controlled by a wall switch. In the process of trying to figure out which breaker de-energizes the fixture, I've determined that TWO of them do: in a logical-or manner, that is, if either or both breakers are "on", then the fixt...
A palindrome is a word which is spelled the same backwards and forwards. For example, "racecar" is a palindrome as is "redder". A double palindrome is a palindrome whose halves are also palindromes. For example, "abbabba" is a double palindrome, as the half "abba" is also a palindrome. Similarily, "
A common marketing strategy is a 'Free giveaway', where 'one lucky person will be selected from (some group) to receive a free (thing)'.
I was read that such arrangements can be deemed illegal lotteries.
Yet, contradictorily, I also see major websites doing this. For example on Twitch, when a sub...
I used a function in Python/Numpy to solve a problem in combinatorial game theory.
import numpy as np
from time import time
def problem(c):
start = time()
N = np.array([0, 0])
U = np.arange(c)
for _ in U:
bits = np.bitwise_xor(N[:-1], N[-2::-1])
N = np.append...
How can I get brackets (say "normal parenthese math brackets") inside a TikZ-matrix around some blocks?
For example here at the marked places:
Is there a decoration or something?
\documentclass[border=5mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{matrix}
\begin{document}
\begin{tikzpicture...
Can a planet that has absolutely no atmosphere be orbited by a spacecraft at extremely low "altitudes" (if you'd even call it altitude at such a low orbit.
For instance, if this planet's highest peak was 1km above sea level, could a spacecraft orbit this planet at 1.75km altitude? For sake of dis...
I'm trying to create property groups dynamically to store a list. When I loop through property groups all I get is the objects like the output code block below. When really what I want is the test strings. At least the objects are actually created but I really need to access the string I'm hopefu...
In a custom views-view-fields.html.twig I do print a list field (field_status) without issues. The values are:
new|New
old|Old
But if i want to do an if/else statement for printing different div containers i do get always printed the div container from else. Does anybody have an idea what i am do...
As title suggests, is "Flight Service Station" the same as "En Route Flight Advisory Service?"
In regards to VFR, I was told that if I get lost in flight and general lost procedures for VFR don't work then I can resort 121.5 or contact flight service station. When I did some digging, I also found...
There are lots of claims that ancient Israelis were black/brown/white or even east-asian looking?
So which one is accurate is there any evidence from Torah or from other biblical resource?
While reading Logicomix, I came across a scene that I don't quite understand.
Russell: ...Logicians are creating elaborate ways to "say the same things in different words"...this "everything is a tautology" stuff smells of metaphysical bosh!
This scene seems to imply that Russell didn't view l...
How to delete all the cells below the cursor? I want to remove all the cells that are used for experimenting with various function arguments which are typically at the bottom of the notebook.
How do power users typically cleanup code?
I am trying to add more than one pic in my QGIS project layer. Like in any one feature layer add new field (pic1, pic2,pic3, pic4 etc), but problem is Input App shows only two images in mobile Input App. and for 3 image I found image not available.
I wonder if there exist a way to map the square of an 2-body Ising Hamtiltonian (which will make it 4-body) back to 2-body? Let me explain what I mean by an example.
Suppose we have the following the 2-body Ising Hamiltonian.
$$
H =\sum_{{i,j}\in E} Z_iZ_j
$$
If we square this Hamiltonian we get ...
The \$argwhere\$ function takes a list of values and a predicate/boolean function as arguments and returns a list of indices where the predicate function returns true in the input list. For example,
argwhere([1, 2, 3, -5, 5], x -> x > 2)
would produce an output of [2, 4] because those are the (0...
Can we say that the value of the cumulative distribution function at the mean F(X< Mean) is always 0.5 for all kind of distributions that are not symmetric?
I'm a little confused about the "backlog" best practice and I would like to educate myself on this. I know the point of it, but the thing is, that I can't tell by definition, whether it's a status of an item or the collection of all items (no matter the status).
I used to work with the idea, that...
The chart supplement for KSNA mentions the following
AIRSPACE: CLASS C svc ctc APP CON svc 1415–0700Z‡ other times CLASS G.
I know that SVC means service. I've gathered that KSNA is class C from 1415 - 0700Z (which is 6:15am - 11pm PDT local time). My questions are the following.
It says "svc ctc
In this paper, there is a statement in abstract as:
"Our construction uses $3n + 0.002n log(n)$ logical qubits, $0.3n^3 + 0.0005n ^3log(n)$ Toffolis, and $500n^2 +n^2 log(n)$ measurement depth to factor n-bit RSA integers."
Title of paper states that 20.000.000 qubits are used to crack RSA-2048 ...
I'm wondering what is the meaning of the process identifier in Linux. It's the order of the process? it's a code that identifies the nature of the process or simply a number randomly generated to uniquely identify a process? Are different processes with a similar PID related in some way?
Thank yo...
I sold my phone to a friend. He need to erase content so he can use phone. I don't know if I gave him the correct password. If I change my apple password on my new phone will he be able to use it on my old phone to erase content as well?
In theory I like the SFP concept very much. However what strikes me is the manufacturer restrictions for every switch/card. How come different SFP modules are working with different vendors only? Is there a design flaw in the SFP specification? What makes the SFP modules vendor dependent?
Side qu...
I'm trying to align three labeled circles horizontally. Using absolute positions works although I would want to have a margin between the circles and its labels. However I think it would be nice to be able to position it relative to each other since the label lengths are variable.
I'm currently u...
I got a custom PCB. I am using DRV8428P driver (here is the datasheet) for a stepper motor. The problem I am facing is not being able to have the stepper rotate faster than 5 rpm. Also, the stepper makes a very loud noise.
Here is the schematic of my stepper controller:
Here are the specs of the...
I have a question concerning the exposure settings when scanning negatives:
Imagine I take a picture of mostly fog. Without manual correction, the camera would place the fog in zone V (middle grey) and to avoid this, the image is typically overexposed to some degree.
I had this situation few week...
Suppose that two researchers, say, Y. Yubaba and Z. Zeniba have proven an original mathematical theorem that I want to use.
I would like to name it the Yubaba-Zeniba theorem. Is it proper etiquette to ask for permission first to use their names in that way or are names good to go in general?
I want to eliminate consecutive duplicates from a string like f "aaabbbcccdeefgggg" = "abcdefg"
This is my code
f :: String -> String
f "" = ""
f "_" = "_"
f (x : xs : xss)
| x == xs = f (xs : xss)
| otherwise = x : f (xs : xss)
I got as error non-exhaustive patterns, I think it's from...
The famous sentence "There are three sorts of people: those who are alive, those who are dead, and those who are at sea" is often attributed to Aristotle.
However, I was unable to find an actual reference in Aristotle works for this sentence. Did Aristotle really say this? If so, may you please g...
Title.
I purchased a new deore 1x12 groupset without realising I would need to change the rear hub to fit the new microspline Shimano introduced a couple of years ago.
What would the shimano rear wheel hub product be to fit my specifications?
I also currently have a 140 rear brake disc that I don...
You work at a bakery and every day you make exactly 100 bagels. However your customers are not as reliable and every day a random number of bagels will be ordered. So sometimes you will run out of bagels and sometimes you will have leftovers.
Now leftover bagels will still be good for 1 more da...
How do the rules define Damage Roll?
Example, a Hexblade Rogue hits and rolls damage for attack with
a short sword (1d6 piercing),
as a sneak attack (2d6 piercing),
while Hex spell is active on target (1d6 necrotic),
with blade coated with Serpent Venom (3d6 poison, save for half),
adding Valor ...
It is well known that in $\mathbb{Z}_2$-valued simplicial cohomology (and other cohomologies)
$$ Sq^1 = \beta\;,$$
where $Sq^1$ is the first Steenrod square and $\beta$ is the Bockstein homomorphism for the short exact sequence
$$ \mathbb{Z}_2 \overset{\cdot 2}{\rightarrow} \mathbb{Z}_4 \overset{...
In a pre-electrical age, anyone who needs a mobile source of illumination must rely on a lantern, lamp, candle or torch. Torches seem to be the cheapest, most primitive option, yet surely they have some variation in design just as the other light sources vary across eras and cultures.
What are th...
I have this tool for permuting bits in BitSets:
com.stackexchange.codereview.util.BitPermutation.java:
package com.stackexchange.codereview.util;
import java.util.BitSet;
import java.util.Objects;
/**
* This class is responsible for representing the bit permutations of
* {@code long} values....
I'd like to find all the partitions (each subset of a partition should contain 2 elements) of a set composed by an even number of elements. For example, given $A=\lbrace 1,2,3,4,5,6 \rbrace$, I'd like to see the partitions:
$$
\lbrace \lbrace 1,2 \rbrace, \lbrace 3,4 \rbrace, \lbrace 5,6 \rbrace ...
I have seen several exampled of deploying RL agents in deceptive environnement or games and the agent learns to perform its tasks regardless. What about the other way around? Can RL be used to create deceptive agents? An example could be asking an agent a question "What color is this?" and it rep...
Michael is mentioned as one of the chief princes in Daniel 10:13
But the prince of the Persian kingdom resisted me twenty-one days. Then Michael, one of the chief princes, came to help me, because I was detained there with the king of Persia.(NIV)
He is mentioned in Jude :9
But even the archangel...
Consider the following plot (Mathematica 12.1):
ListLogPlot[Table[{x, x^-10}, {x, 1, 5}], GridLines -> Automatic,
Frame -> True]
There is a problem with ticks - the ticks on the left side do not coincide with the ticks on the right side of the plot:
Could you please tell me how to fix them to...
I have a simple physics 101 problem that leads to a strange result.
A cart of mass $m$ is bound to move without friction on a rail placed in the vertical plane (as shown in the picture).
The rail is formed by two circular pieces of radius $R$ glued together.
Initially, the cart is standing still...
The atmospheric pressure is around 100KPa which is 100,000 N/m2. If the gravitational acceleration is g = 10 m/s2, then it would be around 10 tons of weight of air per square metre!
Let's say that we have a thin sheet of metal weighing 10 kg. It is placed outdoors on top of a weight scale facing...
An op amp amplifies the difference between signals on Vin+ and Vin-. If I wanted to sample the differential voltage of a pair of signals whose common mode is outside and potentially significantly outside the range of the supply voltage, can op amps natively support this?
I understand professional...
I have following kernels available in the system:
config-5.10.0-1057-oem
config-5.11.0-46-generic
config-5.13.0-25-generic
config-5.13.0-27-generic
How do I remove kernel 5.10.0-1057-oem from the system, and therefore stop the OEM kernel from updating? Currently, my system ...
I want to make a macro "\mymacro" which has two string variables and returns array.
The two variables are arbitrary string characters and has the same length.
The length of the strings are also arbitrary.
"\mymacro" returns an array whose rows are the string variables.
For example,
\mymacro{abc}...