English 1answer

I'm trying to sign data using the WebCrypto API, but instead of creating a private/public key and exporting it to pkcs#1 or 8, I would really like to use a user's PKCS#12 to sign data. I've read the W3C spec,...

We get into unnecessary coding arguments at my work all-the-time. Today I asked if conditional AND (&&) or OR (||) had higher precedence. One of my coworkers insisted that they had the same precedence, I had doubts, so I looked...

I'm working with a PDF report from data received from an application and recorded into a formated .tex LaTeX file. The aim of this report is to present data as a long table, which can span over several pages. Until...

I'm developing a parallax scrolling website using the Stellar and Skrollr libraries. The website behaves perfectly in Firefox because of Firefox's smooth scrolling feature, but in Chrome, scrolling with the mouse wheel is jerky, and the parallax effect is almost...

The Prussian province of Silesia was split in two "halves", the northwest, centered around Breslau (Wrocław), was mostly Protestant, German-speaking, and was akin to other regions of the kingdom of Prussia. The southeast, centered around Oppeln (Opole) however was very...

I'm trying to make a pattern that's easy to preceive by human but hard to write out by Mathematica when I came across this problem. (Check the original problem here) Let's check this simple case: I've got a list {5,1,2,1,2,1,2,1,2,4,3,3,3,3,3,3,10}...

In other words, what would you call this?

so when I hit the compile button or even build&view, texstudio will only display the pdf if there are no errors. It will not however, tell me where the errors are, let alone what they are. Instead, the circular loading...

The find command on Linux has a lot of options compared to the find command on SunOS or Solaris. I wanted to use the find command like this: find data/ -type f -name "temp*" -printf "%TY-%Tm-%Td %f\n" | sort -r...

Need help scripting with jar files

user2656801 06/18/2018 at 05:07. 1 answers, 0 views bash java
I need to launch 17 .jar files, one at a time, with a 7 second delay in between each. 3 hours later, I need to kill all java processes, but only those running on surge user. 3 hours later I...

I have created 3 graphs for vertexes number 998, 999 and 1000 as below:- f[m_] := Graph[Range@MeshCellCount[m, 0], MeshCells[m, 1][[All, 1]], EdgeWeight -> PropertyValue[{m, 1}, MeshCellMeasure], VertexCoordinates -> MeshCoordinates[m]]; BlockRandom[SeedRandom[12]; pts998 = RandomReal[100, {998, 3}];] BlockRandom[SeedRandom[12]; pts999 = RandomReal[100, {999,...

Correctly escaping quotation marks

Anoynmous 06/18/2018 at 03:09. 2 answers, 224 views bash shell python quoting
I have the following command: python -c 'import crypt; print(crypt.crypt("$Password", crypt.mksalt(crypt.METHOD_SHA512)))' Where $Password is a shell variable. How do I correctly expand it as a variable, and not have it treated as a literal?...

Say that I have created a hypothetical new invention. I would like for it to be used by as many people as possible without restrictions, so I deliberately choose not to pursue a patent on it. As described in the...

This question already has an answer here: How can I return multiple values from a function in C#? 24 answers So I am trying to pass in one variable, the money variable, and break it into two variables. I...

Understanding question

Luke 06/18/2018 at 01:01. 2 answers, 240 views triangle formal-proofs
"Consider finitely many points in the plane such that, if we choose any three points A,B,C among them, the area of triangle ABC is always less than 1. Show that all of these points lie within the interior or on...

According to 18.04 Bionic Beaver release notes: For new installs, a swap file will be used by default instead of a swap partition. Changes since 16.04 LTS So, what will happen to the existing swap partition after the scheduled upgrade...

I have a PC that wants to play a variant human warlock, but uses heavy armor and has the feat Skilled which states you gain proficiency in any combination of 3 skills or tools. Is heavy or any armor considered...

I have a home mortgage with an outstanding principal balance of $150,000 and a fixed interest rate of 3%. My loan was a 15 year loan, of which I have 13 years left. However, I plan to pay my loan...

I have a statement that says: If $a^2 + b^2 + c^2 = 2$ and $(a + b + c)(1 + ab + bc + ac) = 3^2$ What is the value of $( a + b + c )$...

Simple question about probability

Ofek Pintok yesterday at 22:33. 4 answers, 520 views probability
I'm a bit confused about something. Let's say I want to cross a road to my friend's house. The probability of the road to be opened is $p$, and $1-p$ to be closed. So I know the probability for one...

Let's assume I want to install Debian in English language. Sure, I will select Language: English - English (default) for that. In a next step I can choose my Country, territory or area (to set the correct timezone I guess)....

If I was taxed at 120k starting January, but only worked for 4 months and don't plan on working for the rest of the year, is there anyway I can take the adjusted withholdings (40k instead of 120k salary) earlier...

I want to be able to write an attribution at the end of a quote/verse environment that spans multiple lines. I found this answer which suggests this piece of code \def\signed#1{{\unskip\nobreak\hfil\penalty50 \hskip2em\hbox{}\nobreak\hfil\sl#1 \parfillskip=0pt \finalhyphendemerits=0 \par}} I have adapted it by...

The title is quite self-explanatory: I'm an undergraduate maths student who hasn't attended (yet) a course in Algebraic Geometry (but I did a course on commutative algebra), however I have to write a short essay on projective varieties for a...

This question already has an answer here: Cosine of the sum of two solutions of trigonometric equation $a\cos \theta + b\sin \theta = c$ 5 answers If $p$ & $q$ are the solutions of $$a \cos x + b...

Info I'm designing a macaw that has metal feathers, claws, and a metal beak--to be particular, steel. To start with, assume a regular anatomy/physiology of a macaw+steel feathers, claws, and beak. The growing beak/claws/feathers are pure steel, all the way...

This is a basic question so bear my ignorance. I feel like they contribute collectively in no way to the target. This is for performance and accuracy. The target is polar (0,1).

I need to create a custom module which over writes the existing 'Review' Module to add an extra field 'Email Id' I believe I need to over write core Model files 'app/code/core/Mage/Review/Model/Resource/Review.php' ,'app/code/core/Mage/Review/Model/Resource/Review/Product/Collection.php' and Block file 'app/code/core/Mage/Adminhtml/Block/Review/Edit/Form.php' Also I don't...

I am trying to write a basic function that will decide whether the object already exists in array of objects based on unique id that is inside this object as a property. Upon searching I came up with this code,...

I was experimenting with a arduino and a ledstrip ws2811 it works all perfect, but I do not understand how a particular led knows when it is called or adressed. Has every led an unique address?

Here is the scenario: I am the GM, and one of my players is a Sharpshooter Rogue. He likes to hide as a bonus action to gain advantage on his rolls, which effectively nullifies the -5 attack bonus on Sharpshooter,...

What is on/in my lens?

Mindcontrol yesterday at 18:04. 2 answers, 114 views lens
Took it to a camera store and they said it wasn't fungus, but they also didn't tell me what it was. I have removed the front element and cleaned the backside but it does not fix the issue. Not sure...

So, I have a question that focuses on a character from a show, Spongebob. Sandy Cheeks lives in a reverse aquarium under the sea in Bikini Bottom, in a dome that looks like this The Treedome is made out of...

I have some difficulty grasping these concepts. Let's say, for example, a power source of 10W operating at 5V is connected to a load of 0.5 ohms. According to Ohm's law, it is expected that a current of 10A should...

This Tumblr post, which has accumulated over 3,000 notes, claims: During the 1980s, more gay men died in New York City during the AIDS crisis than all recorded deaths of American soldiers in Vietnam. Wikipedia cites US News to say...

Can a declaration affect the std namespace?

Peter yesterday at 16:31. 4 answers, 134 views c++
#include<iostream> #include<cmath> int abs(int a){return a > 0? -a : a ;} int main(){ int a = abs(-5); int b = std::abs(-5); std::cout<< a << std::endl<< b <<std::endl; return 0; } I expected that the output will be-5and5, but the...

Sum of digits of a square number.

Math Tise yesterday at 16:15. 4 answers, 270 views number-theory
A positive integer n is said to be good if there exists a perfect square whose sum of digits in base 10 is equal to n. For instance, 13 is good because (7^2)=49 and 4+9=13. How many good numbers are...

I'm learning about the change of basis in linear algebra, and trying to come up with an example to understand it. But somehow my example below doesn't make sense. Let $B_1 = ((1,0),(0,1))$ be the standard basis in $R^2$, and...

Let's say you are on the side of a river and you want to: Swim across to the other side of the river. Or Swim across the other side of the river. Should you include to? Meaning as towards but...

Should I stop doing cardio?

GlinesMome yesterday at 14:34. 2 answers, 179 views cardio body-fat
I'm a 27 years old man, I'm 1.76m tall, I weigh 66 kilos and I have 6.6% body fat. My current goal is to improve my posture and my muscular mass. I think I have a pretty good heart health...

I'm sending out a profile to contacts with a checksum - they are not logged in when they submit it. Can i create an activity for that contact when the profile form is submitted? So far i've run into permissions...

Calculate angle EZB in the below drawing.

Samuel yesterday at 13:16. 2 answers, 90 views geometry
We are given angles A and B (70 and 60 respectively). Also AΓ=ΒΔ. Ζ and E are midpoints of AB and ΓΔ respectively. I also drew some bigger circles with radius AH and ΒΘ, trying to see some pattern but...

So I have seen usages of "Your will be done" in the context when some higher authority is issuing orders but shouldn't it be "Your will will be done"? it makes more semantic sense than the former.

I'm basically asking this question, because the answer there is not working for the case with -- lines. Say you have a line like so: \draw (0,0) -- (3,3) node[sloped, midway,above]{Hey!}; Then is it possible to make a style such...

I am trying to plot presence/absence (1/0) of a sample species against various environmental variables. I have put presence/absence on the y-axis and the environmental variable (in this case barometric pressure) on the x axis, however the resulting plot looks...

I'm sure there must be something wrong with the following reasoning because otherwise a lot of P vs. NP research would be curtailed but I cannot determine my error: For any fixed integer $k>0$ define $$B_k := \{ \langle \varphi...

Number the positive rationals

HAEM yesterday at 11:44. 3 answers, 87 views code-golf rational-numbers
The positive rational numbers can be shown to be numerable with the following process: Zero has the ordinal 0 Arrange the other numbers in a grid so that row a, column b contains a/b Plot a diagonal zig-zag top right...

I know that the former is for transitive verbs and the latter is for intransitive verbs (specifically motion verbs like 出る、向く、上る) but how do I explain the following sentence: 明日、会社を休む。 At first, I thought that it's just one of those...

The digital root (also repeated digital sum) of a positive integer is the (single digit) value obtained by an iterative process of summing digits, on each iteration using the result from the previous iteration to compute a digit sum. The...

I want to display 2.00 m instead of 2 m, even if the leading number is not a decimal number (= is an integer). Unfortunately all \sisetup-commands I tried did not work... Minimum Working Example (MWE): \documentclass{article} \usepackage{siunitx} \begin{document} \SI{2}{\meter}...

Language

Popular Tags