« first day (1903 days earlier)   

12:18 AM
2
Q: Poker bets on Python

Cat metI'm writing poker for my bot in discord. So far I'm presenting an incomplete version of the project, which is only a betting system. The development took a lot of time, so I decided to ask for help. Perhaps something in the project structure could be optimized. import sys, os; sys.path.insert(0...

 
1
Q: Why is one process ps command showing spaces around a directory instead of slashes?

k.schroeder31I'm trying to debug a failing legacy process monitor that searches processes that are running. I determined it is being caused by some mysterious linux behavior. The process being ran is /opt/my/path/directoryname/daemonname but for some odd reason, it shows up with spaces, not /, around directo...

 
1
Q: Was Deuteronomy 18:15, interpreted messianically in Judaism?

Saul57Deuteronomy 18:15 “The Lord your God will raise up for you a prophet like me from among you, from your brethren—him you shall heed— 16 just as you desired of the Lord your God at Horeb on the day of the assembly, when you said, ‘Let me not hear again the voice of the Lord my God, or see this grea...

 
3
Q: Product map on topological group measurable?

BotwinnikLet $G$ be a topological group and $\mathcal{B}$ its Baire $\sigma$-algebra (i.e. the smallest $\sigma$-algebra for which all continuous functions $G\rightarrow\mathbb{R}$ are measurable). Consider the product map $\cdot :G\times G\rightarrow G$ given by $(g,h)\mapsto g \cdot h$. Question: Is the...

 
GIS
1
Q: How to make an infinite repeating projection in qgis?

Vsevolod TsukanovI'm using the EPSG:3857 projection in QGIS. And I use a raster relief layer and several vector layers. Is it possible to make the map not interrupt at 180 degrees, but continue?

 
12:41 AM
2
Q: Shebang can reference a script in Linux

jrw32982I've always heard that the target of a shebang line (e.g. #!/bin/bash) must be a binary executable, not a script. And this is still true for many OSes (e.g. MacOS). But I was surprised to see that this is not true on Linux, where up to 4 levels of scripts can be used, where the fourth script re...

 
1:04 AM
2
Q: Why are venomous mammals and birds so rare in comparison to reptiles and fish?

li tchi.Why are venomous mammals and birds so rare in comparison to reptiles and fish? Metabolic reasons? Morphology? Selection pressures? Why are not all reptiles venomous but many are? Why are platypuses venomous? Is there a difference between venomous and poisonous?

 
CS
1:29 AM
2
Q: What is wrong with my OpAmp Circuit Calculation?

MikeWazowskiThe Question: My Workings: My Mathematica Output: I am attempting to solve this problem using KCL, can someone tell me what I am doing wrong? My mathematica code is not outputting anything. Thank you

 
1:49 AM
3
Q: rock paper scissors game in console

user24687626I've made a simple rock paper scissors game using javascript. Any feedback appreciated. This is a first project I've done with almost no help let computerScore = 0; let humanScore = 0; function getComputerChoice() { let computerChoice = Math.floor((Math.random() * 100)/40); //generates a numbe...

 
CS
2
Q: Efficiently transforming non-recursive CFG into an NFA

breandanIt should be possible to rewrite a non-recursive CFG [1] as an acyclic NFA, since non-recursive CFGs represent finite languages (and thus regular a fortiori). Is there an explicit algorithm to rewrite an ε-free non-recursive grammar into an equivalent ε-free NFA? My instinct is to put the grammar...

 
2:37 AM
3
Q: Is the cap-product map injective for singular varieties?

user45397Let $X$ be a singular, projective (complex) variety of dimension $n$ with at worst isolated singularities. We know that taking cup-product with the cohomology class of $X$ induces a morphism from the cohomology group to the Borel-Moore homology: $$ \cap [X]: H^{2p}(X) \to H_{2n-2p}^{\mathrm{BM}}(...

 
2:59 AM
2
Q: How do normal species and a religious-fanatic species tolerate each other?

controlgroupSetting: In this world (i.e. the one in which you’re reading a WBSE post), intelligent life turns out to be fairly common throughout the Universe, just it tends to blow itself up somehow before it can colonize a major section of the Universe and find other intelligence, since discovering FTL is e...

 
GIS
1
Q: Simple way to put a canvas on a map using Leaflet?

JohnIn Mapbox GL JS I might do something like: const canvas = document.createElement("canvas"); canvas.width = WIDTH; canvas.height = HEIGHT; map.addSource('canvas-source', { type: 'canvas', canvas: canvas, coordinates: [ [WEST, NORTH], [EAS...

 
1
Q: A question about rational functions in complex analysis

Mathematics enjoyerIn Ahlfors's complex analysis $$ R(z)=\frac{P(z)}{Q(z)} $$ given as the quotient of two polynomials. We assume, and this is essential, that $P(z)$ and $Q(z)$ have no common factors and hence no common zeros. $R(z)$ will be given the value $\infty$ at the zeros of $Q(z)$. It must therefore be con...

 
3:43 AM
1
Q: Fill missing data in between available data with default value

OokerMy raw data has values on some random times: const rawData = [ {hour: 3, value: 3} , {hour: 5, value: 9} , {hour: 10, value: 5} , ] as const I would like to fill all missing hours as having value 0: const processedData = [ { hour: 3, value: 3 }, { hour: 4, value: 0 }, { hour: 5, val...

 
4
Q: How was the miraculous complement of two Harkonnen legions for the retaking of Arrakis explained?

François JurainIn Dune, the first novel in Frank Herbert's cycle, the condition sine qua non for the Imperial Sardaukar to take part in the venture is that the Harkonnens provide plausible deniability to the Emperor. In the final package, two legions of Sardaukar would complement the Harkonnen forces, fighting ...

 
CS
1
Q: How can I make this AC current switch turn on at 20mA instead of 50mA?

RodrigoI've bought this AC current switch, which is sensitive to currents from 50 mA to 5 A on the single AC wire that passes inside its hole. When currents from 50 mA start to flow in the wire, it allows its output terminals to "conduct". I need it to be sensitive to lower currents, in the range of 20 ...

 
2
Q: Non-Euclidean geometry: why constant curvature?

WeierNon-Euclidean geometries are generally presented as models for the first four of Euclid's axioms, which do not satisfy the fifth axiom (parallel's postulate). Most texts present two models of non-Euclidean geometries: hyperbolic geometry and spherical geometry. These two models can be considered ...

 
RPG
2
Q: How Balanced Would a Magic Item that Changes Size by One Be?

J ThompsonLet's say for example the magic items are as follows: Torvald's Insecurity. Your size is increased by one for as long as you are attuned to this amulet and it is on your person. Smeek's Sleuthing Stone. Your size is decreased by one for as long as you are attuned to this stone and it is on you...

 
4:06 AM
1
Q: Rigid bodies interacting incorrectly

Cloud9kIm attempting to drop a sphere on a turbo compressor wheel and i want the sphere to "roll" down the fin it hits. instead, when it falls its like it hits an invisible box that's near the comp wheel and shaped differently. Both are set to rigid body. sphere is active+dynamic. Comp wheel is passive+...

 
6
Q: How are Gimli's athletic abilities in the books?

MaxDThree specific examples from the movie adaption of The Two Towers come to mind. When Aragorn, Legolas and Gimli chase the Uruk-hai to rescue Merry and Pippin, Gimli is constantly out of breath and falling behind the others. At the battle of Helm's Deep, Aragorn has to toss Gimli onto the walkwa...

 
4:31 AM
1
Q: Interpolation: From age groups to specific age

NourI have a database contains 10 age groups ( [15;19], [20;24]... [+60) and number of individuals in every age group but it doesn't follow any distribution (once it decreases and other time it increases), and I want to find the number of individuals for each specific age ( 15, 16, 17, 18....), any h...

 
RPG
4
Q: Can I increase my number of trained skills if I increase my Intelligence modifier?

PyrotechnicalI am currently playing a Rogue who had a lower than average intelligence score at character creation. As our party is nearing 5th level, I was anticipating where I might put some of my attribute boosts towards and Intelligence is on the list. If I do elect to increase my Intelligence modifier, wi...

 
5:15 AM
3
Q: Has there been policy direction to reform US attitudes towards free speech and assembly?

Pete WIn the US, 1st Amendment includes not only free speech, but also freedom of assembly. A civil rights attorney working for Harvard Law School posted the contrasting two-scene video below, showing apparently different attitudes towards public gatherings with political elements. https://twitter.com/...

 
3
Q: Find length of 3rd leg of a triangle (that is not a right triangle)

Steven MartinAssume I have any triangle $\triangle ABC$. I know that given the lengths two sides of the triangle and angle between them, I can find the length of the third side. In other words, given values of $AB$, $AC$, and $\angle BAC$, I can find $BC$. What if instead of the angle, I know the length of $...

 

« first day (1903 days earlier)