« first day (1559 days earlier)      last day (648 days later) » 

CS
CS
00:11
3
Q: What are the most creative uses of Mathematics in Economics

Pavel KocourekCould you recommend economic papers or books that exhibit exceptionally creative applications of mathematics? In other words, if you were to demonstrate to a mathematician the joy and potential of applying their skills to economic problems, what sources would you suggest?

00:29
1
Q: Assigning each string variable to the corresponding element from the list inside a loop

Mam MamI would like to assign values from a list l to variables g1, g2, g3, .... The list: l=Table[(i^2-10*i)/2,{i,1,10}].I would like to assign g1 to the first element of the list l[[1]] and so on using a loop. g1=l[[1]]; g2=l[[2]]; g3=l[[3]]; ... ClearAll["Global`*"] l = Table[(i^2 - 10*i)/2, {i, 1, ...

3
Q: Why only Az Yashir?

TargumWhy did the Jewish people only praise god with song after the miracle that occurred at the splitting of the sea? Were the miracles of the ten plagues not significant enough for the Jews to praise god?

00:54
1
Q: Can "The Virgin Mary" be called "daughter of Aaron"?

ميخائيل ميناLuke 1:36 And now, your relative Elizabeth in her old age has also conceived a son; and this is the sixth month for her who was said to be barren. (New Revised Standard Version) According to Gill's Exposition of the Entire Bible: For though Elisabeth was of the daughters of Aaron, or of the tr...

3
Q: On the Gospel of John 3:36

I. ChekhovIn the (1582) first edition of the Douay Rheims, John 3:36 appears as follows: In 1899, the (Challoner) Douay Rheims gives for the same verse: He that believeth in the Son, hath life everlasting; but he that believeth not the Son, shall not see life; but the wrath of God abideth on him. I can ...

5
Q: Big list: barycentric subdivision of simplicial sets

Dry BonesI'm preparing a seminar on the barycentric subdivision of simplicial sets and I'm looking for some examples of this construction appearing in the literature. Since it's a useful technique (at least in the context of simplicial complexes), but it's very rarely the main subject of an article, it's ...

6
Q: Children's book about a robot and a computer system that goes rogue in a school

Solomon UckoI have a vague recollection about a children's book I read a while ago, hopefully I'm not mixing things up with something else. Here's what I think I remember, though some of it might be wrong: Set in a middle school on Earth, probably in the United States (if it's even mentioned) There's a robo...

CS
CS
1
Q: Voltage divider explanation

Homer Jay SimpsonI am self studying linear electrical circuits and I have a problem using the voltage divider. To my understanding if I have voltage source and two or more resistors connected in series I can use the voltage divider to calculate the voltage drop across the resistor that is in my interest. So for e...

01:10
4
Q: How does automount works in modern linux distibutions like Ubuntu

VanuanIt's quite difficult to find information on how automount of removable media works in modern linux distributions. Usually, the answers are like edit /etc/fstab. But those are not what is useful. I want to understand how removable media automount works. So that I could change mount settings and se...

TeX
TeX
1
Q: forest column alignment/formatting

ravmanI'm trying to create two trees describing two experiments that are visually aligned, but where the 2nd diagram (M2) has 1 fewer categories. If I just remove the 4th category, it moves the entire 4th column, and recenters the 2nd tree, which is not what I want. I would like the following: Remove ...

CS
CS
01:26
1
Q: How much voltage must a MOSFET withstand in a half-bridge configuration?

WalterPHIt seems a bit silly and I guess I know the answer but I don't know why it gave me some confusion, in a half-bridge configuration like the one in the image: If between DC-Bus+ and DC-Bus- there is a voltage of 400VDC (for example), the voltage that exists between each drain and source of the MOS...

1
Q: What (if any) is the fastest way to make money with a pilot's license (without being full time employed)?

Tony DiNittoI'm in the USA, and I was considering getting a pilots license with the idea that I could have like a small charter plane and make some money. However, I learned that after getting the 'initial' license, it's prohibited to charge anyone for a flight. I've heard that pilots can sometimes do contra...

1
Q: Does the fullness of a pressure cooker effect it's performance?

hodaleWe make stock in our pressure cooker and it ends up being quite full. Will this affect the cooking in some way? Will a pressure cooker that is only 1/3 full cook things differently than if it was 2/3s full? Does it depend on what is being cooked? Naturally it will take longer to come up to pressu...

GIS
GIS
1
Q: PYQGIS csv-table via pure python

KlausI would like to use pure python to export the attribute table as csv. For the variable data i need a list that will read the whole attribute table. Is that possible? import csv layer=iface.activeLayer() header = [field.name() for field in layer.fields()] print(header) data = [ #Can I get the...

CS
CS
01:51
3
Q: Why is the transfer function of this circuit first order, when it has two energy storage elements?

Jadon ClugstonI have the following circuit (assuming an ideal opamp), simulate this circuit – Schematic created using CircuitLab which has a transfer function that looks something like $$ \frac{As + 1}{Bs + 1}$$ when you take the output to be the output of the opamp, and the input to be the node before R1 a...

02:16
3
Q: Name of Supernatural episode with evil car/GPS?

Conan HighwoodsI remember watching this Supernatural episode like back in 2015-2016. All I remember about it was that it had an evil GPS or maybe car, and it locked a victim in the car and the GPS then displayed 666 and a pentagram, then it killed the dude I think.

02:33
1
Q: Translate few Pali sentences

zeleni sokCant find a translation online anywhere, just a quote. Samanattata ' ti samanasukhadukkhabhavo. Ekacco hi danadisu ekam ' pi na paccasimsati. Ekasane nisajjam ekapallanke sayanam ekato bhojanan ' ti evam samanasukhadukkham paccasimsati. So sace gahatthassa jatiya pabbajitassa silena sadiso hoti t...

02:54
1
Q: Understanding 有上月了

aguijonazoI came across the following passage in a Taiwanese short story titled 水鬼學校和失去媽媽的水獺. 「哪時可以參觀池塘?」 「胖大媽,不急呢!」我們扛起水缸離去,說:「現在是戒嚴時期,學校遭小偷了,我們得先抓到賊呢!」 這事情有上月了,只是這三天很嚴重。 I’m having trouble understanding how the bold part of the last sentence works and what exactly it means. Does 上月 mean the same as 上個月...

4
Q: Salesforce Help Article "You have uncommitted work pending. Please commit or rollback before calling out"

Xaphy123I am trying to make sense of a Salesforce help article. I can't understand why the example they give here does not fail. The second fails because there is a callout (#3) after DML (#2). But why doesn't their first example also fail, between #5 and #6? Following the steps in this order will work ...

03:08
2
Q: When will Karson finish the mini stable at Lookout Landing?

StevoisiakThere's an NPC named Karson in Lookout Landing who is working to build a mini stable. Another nearby person says that once the mini stable is finished I'll be able to register horses there. How long will it take for Karson to finish building the mini stable at Lookout Landing?

 
1 hour later…
04:24
2
Q: Would different sounds of the same intensity but different frequencies have the same harmful effect on the human ear?

user629549The "safe noise exposure limits" I found on the internet only indicates the intensity of the sound in dB, but not the frequency. Does that mean that e.g. a 120dB sound with different frequencies from 20Hz to 20kHz has the same harmful effects on the ear?

5
Q: What were scientists called in England before the word "scientist" entered the vernacular?

RickyT.H. Huxley famously complained that the word "scientist" was a vulgar Americanism. This was in the 19th Century! Query: what did they call Isaac Newton in the 18th Century?

TeX
TeX
3
Q: Increase letter spacing in plain TeX

JohnI want to typeset the titles of the sections of my document in capitals, so I need to increase the spacing between the letters. I am currently using the following (ugly) trick \begingroup \catcode`/=13 \def/{\kern0.167em} \catcode` =\active \def {\kern0.5em} c/h/a/p/t/e/r t/i/t/l/e \endgroup Is ...

3
Q: Were there concrete plans, 40-41, for Japan to attack Singapore/Indonesia, while avoiding a fight with the US?

Italian Philosophers 4 Monica(I am writing this from memory, so please forgive inaccuracies in my citations.) In Shattered Sword I found this mention-in-passing that roughly said: "While not thinking that a war with the US was winnable, Yamamoto was also against pursuing the Southern Strategy without militarily confronting t...

CS
CS
04:49
1
Q: Voltage drop of a p-channel mosfet

AlexI am adding reverse polarity protection to my circuit. I can simply use a diode/schottky diode to do that; however, my main concern with a diode is its voltage drop. Therefore, I am considering the P-channel mosfet. I didn't add a zener diode with a resistor to protect its gate because my power w...

05:17
2
Q: Trouble Understanding Row Reduction Process - Need Help with Mistake Analysis

Bishop_1I've been working on some row reduction problems in linear algebra, and I came across a specific exercise where I'm having trouble identifying the mistake in my calculations. I was hoping some of you could help me out with some error analysis. Here's the original matrix and the steps I took for r...

DIY
DIY
05:33
1
Q: Pouring a concrete slab in batches

DaveI'm wondering if it's okay to pour a 7 x 9 x 4" slab for a shed in batches, in that I'm not able to handle all of the concrete in one day. If so, is there any attack plan that would work the best? Thank you:)

1
Q: LaTeX typeset for the frame ticks

RakeshFollowing this site, I inserted a LaTeX type set for the frame ticks. Following is the sample code. Plot[ Sin[x], {x, 0, \[Pi]}, Frame -> True, FrameStyle -> Directive[Black], FrameTicks -> { {{-1, -0.5, 0, -0, 0.5, 1}, None}, {With[{ticks = Pi/4 Range[0, 4]}, Thread[{ticks...

2
Q: Why can't autonomous delivery drones solve world hunger?

LiveInAmbeRAll advanced civilisations have to ask themselves how to best optimize their supply lines. Handing over that duty to AI would give an efficient and most importantly an impartial delivery system. People are just numbers to the machines, they don't pick favourites... or do they? What's the loophole...

06:23
1
Q: How to find the maximum value of this trigonometric function?

csn899The known conditions are: Sin[2 α + β] == 2 Sin[β], 0 < α < π/2, 0 < β < π/2 Find the maximum value of Tan [β] Maximize[{Tan[β], Sin[2 α + β] == 2 Sin[β], 0 < α < π/2, 0 < β < π/2, 0 < α + β < π}, {α, β}] // FullSimplify Solve[{TrigFactor[ SubtractSides[Sin[2 α + β]] == 2 Sin[β]], ...

Law
Law
07:09
2
Q: When lords were tried by the House of Lords, where could they appeal to?

Seeking answersIf a lord was proceeded against then the HoL would be the venue of first instance. But where would the appeal go from there, and what was the venue of last resort? Or was it there be all and end all, ie at one and the same time the court of both first instance and last resort

3
Q: Working with numbers

malioboroI met my old friend. When I ask him what you are working on now, here's his answer: 0 1 2 3 [4] 5 [6] 7 8 9 What is his job?

3
Q: Implementing sampling from GEV distribution from scratch

SlimakSlimakI am trying to implement sampling from GEV distribution without using external libraries (except numpy) and this is what I came up with: import numpy as np def gev_rvs(c=-0.583, loc=68.44, scale=66.05, size=1000): u = np.random.uniform(size=size) sample = loc + scale / c * (np.power(-np.l...

Law
Law
08:00
3
Q: Does Montana's law to ban TikTok violate Sections 9 and 10 of the Constitution?

PyrotechnicalThe State of Montana has passed SB419 which bans TikTok within Montana. This Washington Post article indicates that TikTok could avoid the ban provided its ownership was not based in, "any country designated as a foreign adversary" by the bill's effective date of January 2024. This seems like thi...

2
Q: Measuring distance with steps

Dmitry KamenetskyI am trying to measure 100m for a children's foot race, but I forgot to bring my measuring wheel. I know that each of my steps is between 0.9m and 1.1m (sampled at uniform). I can only take full steps - no half steps. I also have an unlimited supply of cones that I can place on the ground. How ca...

08:18
3
Q: Is there a Latin equivalent for this particular nsfw term?

DraconisThanks to Martial, I've come across a decent variety of sexual terms in Latin. Unfortunately, these words are generally difficult to look up in dictionaries, because of the archaic style Latin dictionaries are written in: Lewis and Short gloss futuō ("to fuck") as "to have connection with", or cu...

08:38
1
Q: Can a student pilot certificate be used for transportation with an endorsement?

SomeoneIf I live in Anytown and need to make a trip over to Bigcity for non-flight-training-related purposes, I have a student pilot certificate, it's just me going, and I have a solo endorsement from my instructor, is this legal? In other words, are solo flights made by student pilots for a primary pur...

TeX
TeX
08:50
2
Q: How to get lipsum to accept a count as a parameter

Geoff PointerI get the error: Missing number, treated as zero. trying to pass a counter to \lipsum. I feel like I might be forgetting some basic technique here, but I've unsuccessfully scoured the site to find out why the following doesn't work: \documentclass{article} \usepackage{lipsum} \newcount\zz \loop ...

09:02
1
Q: Using a passport with 4 months of validity left to apply for a Canadian visa

Gilmeri GolanoMy international passport has 4 months to expiry. I have tons of my travel history inside of this passport and I am going for renewals/reissue. Can I use this passport to submit a visa application to CIC (since the application for the visas are online) and add a note to show that I am going for p...

2
Q: Second homotopy group of a torus with a disc attached to it

LukeLet $X$ be the space obtained by attaching the boundary of a disc to the meridian of a torus. I am trying to compute $\pi_2(X)$. So far, I showed that $X$ is homotopic to $S^1 \vee S^2$, so the problem reduces to computing $\pi_2(S^1 \vee S^2)$. Moreover, let $Y$ be the space consisting of a real...

3
Q: Python command-line program that generates passwords

Ξένη ΓήινοςI took my code from this answer by me, I found it useful, so I developed it further, and here is the result. This script generates cryptographically secure passwords. The characters used by the passwords are chosen from the 94 printable ASCII characters that aren't blank characters or control cha...

 
1 hour later…
10:20
2
Q: Probability of a Program

NOT A GIFI'm trying to figure out how to get the probability that you reach a certain point in my game. The way it works is that you start off with 22 things (including yourself), and each time you press enter a random thing explodes and you get a point. The twist is that if something explodes, that thing...

10:54
1
Q: Python: How can I know the position of a modifier in the stack?

ZanQdoFor example in the following case, the Armature modifier should have a position index of 0 and the Subdivision a position index of 1. How can I get this index?

CS
CS
11:33
3
Q: Why is this rectifier bridge using double diodes?

Aram AlvarezWhile reading some old (paper) books, I found this as an example but without further explanation: Why does it use double diodes? I don't see anything about this elsewhere. Does this increase the handling current? Wouldn't it also drop more volts?

DBA
DBA
12:04
6
Q: WITH EXECUTE AS SELF returning an error when running sys.fn_dump_dblog

Hannah VernonI'm attempting to configure a stored procedure to EXECUTE AS a user with sysadmin privileges to allow a non-privileged user to obtain results from the undocumented TVF sys.fn_dump_dblog. I'm creating the procedure as a member of the sysadmin role, however when I subsequently attempt to run the pr...

1
Q: Sentence tokenization for sentence without punctuation

william007I wish to perform sentence tokenization for sentence without punctuation, below is the code: import nltk def segment_sentences(text): # Download the Punkt tokenizer if necessary nltk.download('punkt') # Tokenize the text into sentences sentences = nltk.sent_tokenize(text) ...

12:36
1
Q: Marketing Cloud - Prevent users from entering multiple responses in landing pages

VPYWe send emails to our customers requesting them to click on a link which takes them to our landing page in Marketing Cloud. They fill in their response in the landing page which is stored in a data extension. All of this works fine. But we want our customers to not be able to enter their response...

Law
Law
1
Q: Can artists file for plagiarism if their art is used in AI models to make AI art, given that there is proof they're the authors of their work?

daikkuden(I am an IT student writing a report proposing using blockchain technology to attribute "art" files, used in AI models, to their authors. I know next to nothing about copyright laws for creative works) Suppose metadata in the files used for AI models to generate new derivative art can be attribut...

 
1 hour later…
13:45
2
Q: What is an immutable object anyway

kanThe most popular answer is - it is an object which state does not change after creation-. What does it actually mean? My understanding is that any method call on the object should give the same result. So, it makes me wonder could an immutable object refers to mutable data?. For example, Is an im...

DIY
DIY
14:23
1
Q: Do one-gang power outlets with more than two jacks exist?

Mikhail T.There is a GFCI-power outlet in an awkward place, where we really need three devices plugged-in. The location makes use of an extender and power-strip undesirable. There is a variety of expanders on the market, but, because the existing outlet is a GFCI, the expanders cannot be secured to it with...

CS
CS
1
Q: Can I change the right axis of LTSpice to plot a variable other than phase?

King BrainI know how to change the x and y axis, but I wanted to plot something with respect to three variables. For example, I want to plot bandwidth with respect to quality factor, angular frequency, and variation in an amplifier resistor. Is there any way to do this?

 
1 hour later…
15:39
1
Q: Whats the purpose of PayPal?

sideshowbobSo..... if purchasing through PayPal the purpose of PayPal is to draw funds from my linked bank account in the amount of purchase price and apply as payment to merchant which is exactly what my debit card does, so what do i need PayPal for?

DSP
DSP
2
Q: Non-causality of fractional delays

JiroGiven a physical system (e.g., loudspeaker and microphone) with DA and AD converters. Playing a single pulse from the loudspeaker, I will most likely receive the pulse at the microphone with a fractional delay. If the system and sound propagation were ideal, this fractional delay would extend inf...

16:18
3
Q: Arcsine calculation method appropriate for a real time control software

SteveI have been developing a control software for the three phase induction motor. The main task of this C++ software is to control the torque of the motor. In a part of the control algorithm (the control algorithm is executed with \$100\,\mu\mathrm{s}\$ period.) I need to calculate the arcsine funct...

6
Q: My department asks to pay back to them the compensation I have received for being a member in a grant proposal assessment committee

PsySpBasically, it is as the title says. I have received an invitation to be a member of a grant proposal committee. They have offered a compensation for each working day (which includes interview sessions). Now, my department asks me to either give them back the entire compensation in a special acco...

16:38
3
Q: Is a given vector contained in an irreducible subspace of a representation?

AndromedaLet $G$ be a finite group and $\pi: G \to \operatorname{End}(V)$ a complex non-trivial representation on the vector space $V$. Given a vector $v\in V$, does there exist an irreducible subspace $W\subseteq V$ with $v\in W$? I am guessing the answer is no. My intuition tells me to look for (say) a ...

17:06
4
Q: What might Milton mean by "the work of male and female" in his "The Doctrine & Discipline of Divorce"?

John SmithIn book one of The Doctrine & Discipline of Divorce, it is written: Not that licence and levity and unconsented breach of faith should herein be countnanc’t, but that some conscionable, and tender pitty might be had of those who have unwarily in a thing they never practiz’d before, made themselv...

1
Q: What year is this Mongoose?

DuncanI bought this bike about 15 years ago and want to get it back to its original state. Does anyone know what year it is or have a photo of how it originally looked? Ive attached some shots, there doesn't seem to be any serial numbers ... Thanks!

17:24
2
Q: Simple anticoncentration bound for binomially distributed variable

reservoirThe following question, which arose during my research, seems deceivingly simple to me, but I could not find any elegant and formal argument. For a binomially distributed variable $X \sim \text{Bin} \left( n, \frac{1}{\sqrt[4]{n}} \right)$, I am looking for a preferably slick and short formal arg...

Ham
Ham
2
Q: Will a multi band vertical 'choose' correct radial?

quanglewangleFor elevated radials. If I put up a 40m/80m fan vertical can I do the same for radials, that is cut some for quarter wave on each band? Radials will be about 2m off ground.

17:45
2
Q: Map, applying list in a defined function

phy_mathSuppose I have defined some function (This is arbitrary) F[alpha_,a_,b_,c_]:=List[alpha,a+b+c] I want to apply this F for a given huge list of sets {{alpha1, {a1,b1,c1}}, {alpha2, {a2,b2,c2}}, {alpha3, {a3,b3,c3}}} Of course, I can plug this individually, but is there any smart way of pluggin...

2
Q: Doing laundry in European hostels

Ryan HendricksI will be staying in hostels while backpacking across Europe. Because adding extra luggage will be expensive, I will have to travel for a couple of weeks with only a small backpack. I have a couple of questions: Is it easy to do laundry in European hotels? Or is it better to just pay extra for b...

3
Q: First order equations from Lagrangians

ArianCan we find a Lagrangian for the the following first order equation? \begin{equation} \dot x=x^2, \end{equation} where the above equation is the Euler-Lagrange equation of that Lagrangian?. For second order equations, it can be found easily for some class of equations.

18:11
1
Q: Why can't we physically see angels in their material form anymore?

setszuIn the Torah, angels seem to appear physically several times. For instance, Jacob, physically I think, wrestles with an angel in Genesis 32:22-32, which indicates a material-physical form as far as I can tell. As has been described before, this indicates that angels have a physical form that they...

2
Q: Extending an adjunction using colimits

Jerry ScottI'd like a confirmation of a fact about limits and adjunction; the motivation is that I think that this fact is used implicitly sometimes in Kerodon, but I've never seen it written out. Let $C\subset C'$ and $D$ be categories, with the inclusion full, and take functors $F:C\rightleftarrows D:G$ s...

18:32
1
Q: What does a double mean when made by a partner who has already passed?

Bob CarrThe bidding was North : Pass, East : Pass, South (me) : 1D, West : 2C, North : Double. North had a balanced 10 points including three clubs to the king, four hearts, three spades, and three diamonds. Unless the double is for penalties, it seems that North had no option but to pass. My hand (So...

2
Q: Experiments with Voronoï summation

user50139In order to test my understanding of the Voronoï summation formula, I tried to apply it to a simple estimation of partial sums of Fourier coefficients of cusp forms. The result I obtained cannot possibly be true, but I do not see where the argument breaks down. Can someone spot the mistake in the...

18:52
1
Q: Nikon d5300 lcd turned on for 2 second and it stopped working

JakeI cant use any button or anything's just a black screen . It showed some date amd time setting for 2 second and it got blacked can anyone help

TeX
TeX
2
Q: Customize Tikz Circle Labels to Flow Along with the Circle Curve

Daniel JamesI want to label a circle I drew as a conglomeration of arcs and want it labeled on some nodes that will flow along the circle curves. What I currently have are horizontal labels, which do not flow along the circle curves. \documentclass{article} \usepackage{tikz, xcolor} \begin{document} \be...

19:12
1
Q: What are the function key shortcuts?

theonlygustiWhen you press and release the function key and some letters keys at the same time, it has some special macOS actions. I can't find anything official about these online. What are they? How can I control and hopefully disable them all?

19:34
1
Q: At non-controlled fields, what are the regulations concerning "line up and wait"?

Kenn SebestaMotivation I am working on best practices for a plane with a very slow constant speed prop. In my experience, it operationally takes 20 seconds or more to go from idle to full throttle (pushing the throttle faster than that causes the engine to overspeed as the prop can't catch up). This is a sub...

GIS
GIS
2
Q: Converting column with category names to numeric codes in QGIS Field Calculator

winnewoerpI use the Field Calculator in QGIS to transform an attribute column with category names to numeric codes. I use the following expression: CASE WHEN "category" = 'Foo' THEN 1 WHEN "category" = 'Bar' THEN 2 WHEN "category" = 'Boo' THEN 3 WHEN "category" = 'Far' THEN 4 /* etc. */...

2
Q: Is there an implementation of xgboost for a single target variable but using multiple regression parameters

gazza89Is it possible, using custom cost functions or otherwise, to run xgboost regression for a single target variable, but rather than outputting just the conditional mean (conditioned on the feature values) of the variable as a prediction, to output condition distribution parameters. For example, the...

19:55
3
Q: What did I do wrong?

pocoMy friend and I were bored so we decided to play a game of chess. I lost, for I have done something bad. I was a beginner, so I could not find where I went wrong. I wanted to know what was wrong, so I asked my friend, she did not reply. I decided to sleep. Next day I saw this on my table. 1. f4 ...

4
Q: The canonical category defined by a partially defined category

Felix LunguIn [1], Wehrheim and Woodward construct a category from the "partially defined" Weinstein category of Lagrangian correspondences. This seems to be an instance of a more general construction. I would summarize it as follows: Let's say that a partially defined category is exactly like a category, e...

GIS
GIS
1
Q: Clean polygons by shape type

bravopapaI have a map on QGIS that looks like this: I would like to clean the weird-looking polygons (inside a red circle for example) and keep the normal-looking ones. My initial approach was to compute the area of all polygons and deleted by size (i.e. deleting large polygons) #convert to MERCHICH NORD...

6
Q: C/C++ do not allow literal string concatenation

gozagIs there a way to warn or prohibit literal string concatenations such as: const char *a = "foo" " bar"; I spent hours finding a bug in a big static array that had const char * a[] = {"foo" "bar"}; instead of const char * a[] = {"foo", "bar"};

1
Q: Why does ddrescue not use distinct mapfiles for read and write errors? (And how to detect write errors?)

OuzoPowerSometimes, I have to clone a hard drive to another one that seems healthy (SMART values OK), but whose surface could not be checked fully for possible bad sectors. Typically, if I clone a healthy hard drive, I might use a destination drive that was not previously wiped and, accordingly, not fully...

20:10
2
Q: Can we import Apex method from Managed Package into LWC

Vitalii DehnerysI have Managed Package which is installed in my Dev Org. This package contains some Apex Methods which I want to import into my LWC in the Dev Org. The Apex Class and Method marked as global in the Package org. global class GlobalUtility { global static Boolean isUserLicenced(Id userId) { ...

TeX
TeX
2
Q: How to redefine the \partial command to adjust the kerning (as suggested by Michael Spivak)?

XCG-2Michael Spivak talked about this issue in his Math Font Quiz: (Original article: https://tug.org/pracjourn/2006-3/distract/mathquizAnswers.pdf) In Latin Modern (and in Computer Modern Unicode as well), the space between \partial and f is too large, and looks rather ugly (I don't know if this is...

1
Q: Why does the 2-category of groups have (some, strict) coinserters but not (strict) inserters?

Rylee LymanLet me begin by mumbling some abstract nonsense, and then attempt to be concrete. The category of groups inherits the structure of a strict 2-category from the 2-category of small categories. Explicitly, a 2-morphism between $\varphi$ and $\varphi'\colon H \to G$ is an element $g \in G$ such that...

1
Q: Chromatic Modes?

aj26Are there names for chromatic modes? As in where the "starting note" isn't in the "key" that you're playing. For example, D major but starting on C, as it's something between Aeolian and Locrian. Then you could either have C C# D E F# G A B C or, in a more regular scale format, B# C# D E F# G A B...

CS
CS
1
Q: How to apply Noether's theorem to translation symmetry?

AralianI want to calculate the noethers current for translation symmetry of the Polyakov action in conformal gauge. The action reads: \begin{align} S = \int d^2\sigma(\eta^{\alpha\beta}\partial_\alpha x^\mu\partial_\beta x^\nu\eta_{\mu\nu}) \end{align} which is ofc invariant under translation $x^\mu\rig...

20:42
5
Q: Is there a way to add a tooltip to points on the x axis?

IndianaI have a list of values associated with the xaxis, but I do not want to plot them as y values. Rather I want to do something like "TickLabels" in Matlab, but make them Tooltips (because they can be rather long). Conceptually, it would be something like this: timepoint 1 -> "this is the first point"...

2
Q: Is there a a reputation system for me among villagers?

dumpster_r4tI was wondering if there was a reputation system that makes my villagers love/hate me with things such as choosing whether or not to hang the thief, cure plagues, give to beggars, etc. impacting it. Will being nice give me a different outcome than not doing anything? I'm trying to get the best en...

GIS
GIS
3
Q: Grouping features with identical values in two fields and deleteing the geometry with the lowest value in the third field using QGIS

sistemaI've got a shapefile with three fields: "X", "Y" and "Z" they are the geometries as well but I also have them as field values. Every line geometry in the shapefile has a duplicate that has a different "Z" value so I want to delete the duplicates with the smaller "Z" value. When I run delete dupli...

3
Q: Nakayama lemma Proof

mathstudentI already know the following version of Nakayama´s Lemma: Let $R$ be a ring and $I \subseteq R$ an ideal in the Jacobson-Radical of $R$. If $M$ is a finitely generated $R$-module with $IM=M$, then $M=0$. I want to deduce the following more general version from the above version: Let $R$ be a ring...

TeX
TeX
21:02
2
Q: Commutative diagrams side by side

Rodney ColemanI would like to set these diagrams side by side. Any help would be appreciated. {\Large$$ \begin{tikzcd} X\arrow{r}{i}\arrow[swap]{dr}{j} & M \arrow{d}{j'}\\ & N \end{tikzcd} $$} and {\Large$$ \begin{tikzcd} X\arrow{r}{j}\arrow[swap]{dr}{i} & N \arrow{d}{i'}\\ & M \end{tikzcd} $$}

21:19
3
Q: Why is this line about prophecy in book 2 of the Odyssey thought to be "spurious"?

Matt ThrowerIn my translation of the Odyssey by Emily Wilson, she translates part of a speech concerning prophecy by Eurymachus at the end of book 2 as this: You know many ancient forms of wisdom, but if you tease this boy and make him angry, he will be hurt and never get to act on any of these prophecies o...

21:42
10
Q: The presence of both operator == and operator != breaks some concepts

FedorAfter upgrading to latest Visual Studio 2022 version 17.6, one of our custom views stopped to be recognized as std::ranges::range. It turned out that the problem was in the presence of both operator == and operator != in the view's iterator. Please find below minimal simplified example (without v...

21:57
3
Q: Insert a cell to "push" an output cell down so that my next output will not overwrite the last output

George WolfeNormally when you evaluate a function, its result overwrites previous results. I would like to insert a cell between my function so and the last output (push down the last result} so that the new result does not overwrite the old result.

22:12
1
Q: Windows: My User is in the "Administrators" Group. What does change when I select "Run as Adminstrator" in the Start-Menu?

Johannes Schaub - litbI don't know anything about Windows and try to understand the concepts about Permissions. Unfortunately, simply Googling doesn't help at all. Windows says that my user is a member of the "Administrator" group. But yet, when I normally run programs, such as PowerShell, they reject to do certain th...

22:23
1
Q: How to correctly specify variables in a function?

Mam MamThere is an expression (Sqrt[\[Pi]] (a b^2 d^3 + a (b^2 d^3 + 2 a (b + b d^3))) r[1, 1] r[1, 4])/(2 c^2 (b + b d^3)^(3/2)) - ( Sqrt[\[Pi]] (a b^2 d^4 + a (b^2 d^4 + 2 c (b d + b d^3))) r[5, 2] r[ 1, 4])/(2 a^2 (b d + b c^3)^(3/2)) where a, b, c, d, r[1, 1], r[1, 4], r[5, 2] are variables. I woul...

1
Q: Star that creates millions of galaxies through a massive coronal mass ejection. Does this make any sense?

NivekI want to base my novel off of the idea of a star creating millions of galaxies from a gigantic coronal mass ejection. Due to this it spawns the void which threatens to absorb the entirety of space, causing the reality to have to spilt into 5 layers to form negentrophy. I know that a CME is large...

CS
CS
1
Q: Friction on a Spinning Platform

Violet StrozykowskiI do not understand at all why, if an object is sitting on a spinning platform, the friction force is towards the center. I understand the need for a centripetal force during circular motion, but friction is only in opposition to a force being applied to an object / system, why does it act as cen...

1
Q: What does the likelihood function converge to when sample size is infinite?

TenderoLet $\mathcal{L}(\theta\mid x_1,\ldots,x_n)$ be the likelihood function of parameters $\theta$ given i.i.d. samples $x_i$ with $i=1,\ldots,n$. I know that under some regularity conditions the $\theta$ that maximizes $\mathcal{L}$ converges in probability to the true value $\theta_0$ as the sample...

2
Q: Logistic regression and non-linear relationship

jxqbbbIn the Titanic dataset, there are two features, "SibSp" and "Parch," which have an impact on the survival rate. For instance, the survival rate tends to increase when the values of "SibSp" range from 0 to 2, but it decreases from 2 onwards. I intend to use logistic regression for predictions and ...

Law
Law
22:43
3
Q: Are FBI agents eligible to be whistleblowers?

Matt ChambersAccording to this summary document on house.gov, they're not. I thought this was very interesting considering all the hubbub in the House of Representatives about the FBI agents being or not being whistleblowers. Who Is(n’t) Covered? Most executive branch employees, former employees, and applica...

CS
CS
22:54
3
Q: Weinberg's path integral for fermions in Volume 1

dennisIn sec. 9.5 of Weinberg's QFT 1, he introduces operators $Q$ and $P$ satisfying $$ \{Q,P\}=i \tag{9.5.1} $$ $$ \{Q,Q\}=\{P,P\}=0 \tag{9.5.2} $$ and eigenstates $|q\rangle$: $$ Q|q\rangle =q|q\rangle \tag{9.5.14} $$ where $q$ is a Grassmann number. The Grassmann $q$ is taken to satisfy $$ \{Q,q\}=...

23:05
2
Q: Ariane 6 upper stage schematic showing integration of APU

Organic MarbleI've been reading about the Auxiliary Power Unit (APU) on the Ariane 6 upper stage and am looking for a schematic showing how it's integrated into the stage. From Thermal Control of the Cryogenic Upper Stage of Ariane 6 I found this, but it only mentions the APU as being located on the ViTF, but ...

RPG
RPG
23:25
1
Q: Will paralyzing a grappler break the grapple?

gtoAssume you're grappled but you have a melee attack that can cause the paralyzed condition. If you successfully paralyze your grappler, will that break the grapple? Paralysis causes someone to be incapacitated which prevents them from taking actions or reactions, but resisting an attempt to break ...

DIY
DIY
23:38
1
Q: repairing damage to coating on stainless steel fridge

George AndersonOk people, I really screwed up. We recently bought a floor display fridge from Lowes. Because it was a floor display it didn't come with a box. Delivery staff taped the doors with packaging tape, which was nearly impossible to remove completely. I didn't want to use any sharp object for obviou...


« first day (1559 days earlier)      last day (648 days later) »