qid int64 4 19.1M | question stringlengths 18 48.3k | answers list | date stringlengths 10 10 | metadata list |
|---|---|---|---|---|
74,352,284 | <p>I have a fetch request in <strong>Home.vue</strong> file and I want to use the same data to another vue file (<strong>AllJobs.vue</strong>) with the same component(props). How I can achieve this without make a new fetch request in <em><strong>AllJobs.vue</strong></em>?
I heard that I can use <em>Pinia</em>, but for ... | [
{
"answer_id": 74352852,
"author": "Daniel",
"author_id": 197546,
"author_profile": "https://Stackoverflow.com/users/197546",
"pm_score": 0,
"selected": false,
"text": "provide inject reactive ref"
}
] | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352284",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9172014/"
] |
74,352,293 | <p>How can I get member variable class(int) from object Item in the below function?
I can see it in Visual Studio debugger dynamic view. but not sure how could I access this programmatically.</p>
<pre><code> private void ThisAddIn_Startup(object sender, System.EventArgs e)
{
Application.ItemS... | [
{
"answer_id": 74352852,
"author": "Daniel",
"author_id": 197546,
"author_profile": "https://Stackoverflow.com/users/197546",
"pm_score": 0,
"selected": false,
"text": "provide inject reactive ref"
}
] | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352293",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20401086/"
] |
74,352,294 | <p>Code for a blackjack card counting program.</p>
<p>the issue is that it does not exit the while loop upon receiving no cin input from the user.</p>
<p>for example)
User would input x chars and then hit enter to exit the while loop.</p>
<pre><code>#include<iostream>
using namespace std;
int main(){
int c... | [
{
"answer_id": 74352852,
"author": "Daniel",
"author_id": 197546,
"author_profile": "https://Stackoverflow.com/users/197546",
"pm_score": 0,
"selected": false,
"text": "provide inject reactive ref"
}
] | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352294",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20443701/"
] |
74,352,312 | <p>I am trying to return an image carousel component from daisyUI but whenever I try to use it in the return statement in my App.tsx it returns an error, but doesn't whenever there is just one component (Navbar). The error message states</p>
<pre><code>'ImageSlides' cannot be used as a JSX component.
Its return type ... | [
{
"answer_id": 74352342,
"author": "Ben Wainwright",
"author_id": 3104399,
"author_profile": "https://Stackoverflow.com/users/3104399",
"pm_score": 1,
"selected": false,
"text": "ImageSlider.tsx return"
},
{
"answer_id": 74352427,
"author": "Puneet Chandhok",
"author_id":... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352312",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16883589/"
] |
74,352,319 | <p>I have a form with some input with a default value and its hidden. I want to submit its value, together with other inputs to the database using an API, I have tried the following method, but it is not working. Kindly help.</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="f... | [
{
"answer_id": 74352434,
"author": "MalwareMoon",
"author_id": 20241005,
"author_profile": "https://Stackoverflow.com/users/20241005",
"pm_score": 0,
"selected": false,
"text": "submitComment const postId = e.target[\"postId\"].value\n name=\"postId\"\n post.postid"
},
{
"answer_... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352319",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19223350/"
] |
74,352,330 | <p>I am using Angular 13 and I have an array of objects like this:</p>
<pre><code> [{
"name": "Operating System",
"checkedCount": 0,
"children": [{
"name": "Linux",
"value": "Redhat"... | [
{
"answer_id": 74352575,
"author": "caTS",
"author_id": 18244921,
"author_profile": "https://Stackoverflow.com/users/18244921",
"pm_score": 1,
"selected": false,
"text": "checked parent.children // minified data\nconst data = [{\"name\":\"Operating System\",\"checkedCount\":0,\"children\... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352330",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/229853/"
] |
74,352,339 | <p>I want to create multiple filters in Django.</p>
<p>The screen shot below explains it.</p>
<p><a href="https://i.stack.imgur.com/oJ9v0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oJ9v0.png" alt="enter image description here" /></a></p>
<p>The user may opt not to select some criteria.</p>
<p>If... | [
{
"answer_id": 74361224,
"author": "haduki",
"author_id": 18229792,
"author_profile": "https://Stackoverflow.com/users/18229792",
"pm_score": 0,
"selected": false,
"text": "Q objects varName = Room.objects.filter(category__in=categories) | Room.objects.filter(capacity__in=capacities) | R... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352339",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20443528/"
] |
74,352,373 | <pre><code>@api_view(['PUT'])
def updateRule1(request, id):
nums15 = 'OK'
json_data = json.loads(request.body)
# print(json_data)
con = None
cur = None
try:
con = cx_Oracle.connect('<server connection details>')
cur = con.cursor()
except cx_Oracle.DatabaseError as e:
... | [
{
"answer_id": 74352415,
"author": "Lucas Grugru",
"author_id": 16984466,
"author_profile": "https://Stackoverflow.com/users/16984466",
"pm_score": 2,
"selected": true,
"text": "cur.execute(...)"
},
{
"answer_id": 74353585,
"author": "sghaier",
"author_id": 3289923,
"... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352373",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14335702/"
] |
74,352,397 | <p>I'm quite new to bash scripting. I have a script where I want to extract part of the value of a particular line in a separate config file and then use that value as a variable in the script.
For example:</p>
<p>Line 75 in a file named config.cfg</p>
<p>"ssl_cert_location=/etc/ssl/certs/thecert.cer"</p>
<p>... | [
{
"answer_id": 74352415,
"author": "Lucas Grugru",
"author_id": 16984466,
"author_profile": "https://Stackoverflow.com/users/16984466",
"pm_score": 2,
"selected": true,
"text": "cur.execute(...)"
},
{
"answer_id": 74353585,
"author": "sghaier",
"author_id": 3289923,
"... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352397",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20443717/"
] |
74,352,413 | <p>Had a question..</p>
<pre><code>| a_id | name | r_id | message | date
_____________________________________________
| 1 | bob | 77 | bob here | 1-jan
| 1 | bob | 77 | bob here again | 2-jan
| 2 | jack | 77 | jack here. | 2-jan
| 1 | bob | 79 | in another room| 3-feb
| 3 | g... | [
{
"answer_id": 74352415,
"author": "Lucas Grugru",
"author_id": 16984466,
"author_profile": "https://Stackoverflow.com/users/16984466",
"pm_score": 2,
"selected": true,
"text": "cur.execute(...)"
},
{
"answer_id": 74353585,
"author": "sghaier",
"author_id": 3289923,
"... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352413",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/433073/"
] |
74,352,416 | <p>I am trying to create new dataframe out of the dictionary which includes lists.</p>
<p>It looks like something like that:</p>
<pre><code>{'prices': [[1574121600000, 1.000650588888066], [1574208000000, 0.9954110116644869]...
</code></pre>
<p>Those are UNIX date and price of stablecoins, however the columns are not na... | [
{
"answer_id": 74352415,
"author": "Lucas Grugru",
"author_id": 16984466,
"author_profile": "https://Stackoverflow.com/users/16984466",
"pm_score": 2,
"selected": true,
"text": "cur.execute(...)"
},
{
"answer_id": 74353585,
"author": "sghaier",
"author_id": 3289923,
"... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352416",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20443650/"
] |
74,352,433 | <p>number
output the square of the difference of the numbers.
For example, if the given number is 352, then it is the maximum number made from the digits of this number
532 and the minimum number is 235. The square of their difference is (532-235)(532-235) =297*297 = 88209.</p>
<p>The code is working but I need this co... | [
{
"answer_id": 74352623,
"author": "zvone",
"author_id": 389289,
"author_profile": "https://Stackoverflow.com/users/389289",
"pm_score": 2,
"selected": false,
"text": "digits = str(number)\nordered = sorted(digits)\nsmall = int(''.join(ordered))\nbig = int(''.join(ordered[::-1]))\n"
},... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352433",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17962912/"
] |
74,352,439 | <p>I want to create an QrCode using IronBarCode, and then save it as a Stream or Byte[].
However both methods expect the file to be saved prior to creation:</p>
<pre><code> var absolute = Request.Scheme + "://" + Request.Host + url;
var qrcode = IronBarCode.QRCodeWriter.CreateQrCode(abs... | [
{
"answer_id": 74353057,
"author": "user09938",
"author_id": 10024425,
"author_profile": "https://Stackoverflow.com/users/10024425",
"pm_score": 0,
"selected": false,
"text": "Windows Forms App (.NET Framework) Barcode using IronBarCode; using System.IO; public partial class Form1 : Form... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352439",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1469836/"
] |
74,352,442 | <p>I wonder how the module "pickle" save and load objects. I saved a file with a dataframe object on the disk,</p>
<pre class="lang-py prettyprint-override"><code>import pandas as pd
import pickle
df = pd.read_excel(r".\test.xlsx")
with open("o.pkl", "wb") as file:
pickle.d... | [
{
"answer_id": 74353057,
"author": "user09938",
"author_id": 10024425,
"author_profile": "https://Stackoverflow.com/users/10024425",
"pm_score": 0,
"selected": false,
"text": "Windows Forms App (.NET Framework) Barcode using IronBarCode; using System.IO; public partial class Form1 : Form... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352442",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20004128/"
] |
74,352,453 | <p>I'm trying to use selenium webdriver in python to click in all the thanks button on a page, but the problem is that my script is only clicking on the first button.</p>
<p>Below is the part of code that I´m using:</p>
<pre><code>counter = 0
while counter < 10:
wd.find_element_by_xpath('//*[contains(@href,"... | [
{
"answer_id": 74353057,
"author": "user09938",
"author_id": 10024425,
"author_profile": "https://Stackoverflow.com/users/10024425",
"pm_score": 0,
"selected": false,
"text": "Windows Forms App (.NET Framework) Barcode using IronBarCode; using System.IO; public partial class Form1 : Form... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352453",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6484462/"
] |
74,352,466 | <p>Hello StackOverflow Community Members,</p>
<p>I'm looking for some help 'git clone --recurse-submodules'ing a github repo using an ssh key, without being asked for username and password.</p>
<p>I have no issues cloning repos using a properly setup ssh key:</p>
<pre><code>git clone git@github.com:{company_name}/{main... | [
{
"answer_id": 74352864,
"author": "phd",
"author_id": 7976758,
"author_profile": "https://Stackoverflow.com/users/7976758",
"pm_score": 1,
"selected": false,
"text": ".gitmodules https:// ssh:// git@ git config --global url.<base>.insteadOf git config --global url.git@github.com:.instea... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352466",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3120582/"
] |
74,352,475 | <p>In a Rails app, for business reasons, I don't want to leak how many objects I have or the difference between objects count in a period of time.</p>
<p>I think global unique ids are an overkill in this case, as I just need <em>local</em> unique ids for each table. As ids in a default Rails + Potgresql app are already... | [
{
"answer_id": 74355773,
"author": "Sadman Ahmed",
"author_id": 6371134,
"author_profile": "https://Stackoverflow.com/users/6371134",
"pm_score": 1,
"selected": false,
"text": " Role.first\n Role Load (0.4ms) SELECT \"roles\".* FROM \"roles\" ORDER BY \"roles\".\"id\" ASC LIMIT $1 [[\... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352475",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/182172/"
] |
74,352,478 | <p>I have a student dataset that includes responses to questions as right or wrong. There is also a time variable in seconds. I would like to create a time flag to record number of correct and incorrect responses by <code>1 minute</code> <code>2 minute</code> and <code>3 minute</code> thresholds. Here is a sample data... | [
{
"answer_id": 74352754,
"author": "onyambu",
"author_id": 8380272,
"author_profile": "https://Stackoverflow.com/users/8380272",
"pm_score": 3,
"selected": true,
"text": "df %>%\n pivot_longer(i1:i9,values_transform = as.character) %>%\n group_by(id)%>%\n mutate(vs = rev(cumsum(replac... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352478",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5933306/"
] |
74,352,506 | <p>I am trying to find the correlation between two columns (sunshine_in_hours and AgeGroup_30_to_34) from a combined dataset in R. However, every time I try to run the cor() function, I just end up getting this error:</p>
<pre><code>Error in pmatch(use, c("all.obs", "complete.obs", "pairwise.co... | [
{
"answer_id": 74352629,
"author": "Juan C",
"author_id": 9462829,
"author_profile": "https://Stackoverflow.com/users/9462829",
"pm_score": 2,
"selected": true,
"text": "cor Combined <- inner_join(covidS, weatherS, by = 'Date')%>%\n mutate(Date = mdy(Date),\n Year = year(Date),\... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352506",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20352311/"
] |
74,352,507 | <p>In the debug left side panel, VS Code does not display the call stack, neither the variables and watch (picture below).</p>
<p><em>Someone knows how to display them ?</em></p>
<p><a href="https://i.stack.imgur.com/oxpo2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oxpo2.png" alt=" vs code not d... | [
{
"answer_id": 74352546,
"author": "JRiggles",
"author_id": 8512262,
"author_profile": "https://Stackoverflow.com/users/8512262",
"pm_score": 2,
"selected": false,
"text": "... Variables Watch Call Stack Breakpoints"
},
{
"answer_id": 74352641,
"author": "quamrana",
"auth... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352507",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5713806/"
] |
74,352,530 | <p>I'm sure this question has been asked before, but I can't seem to find something as simple as what I'm trying to do. Essentially, I just want to make sure the code <em>triggers</em> each parameter, calling any functions that may be sent as inputs. My biggest worry here is that optimizations may remove some of the ca... | [
{
"answer_id": 74352546,
"author": "JRiggles",
"author_id": 8512262,
"author_profile": "https://Stackoverflow.com/users/8512262",
"pm_score": 2,
"selected": false,
"text": "... Variables Watch Call Stack Breakpoints"
},
{
"answer_id": 74352641,
"author": "quamrana",
"auth... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352530",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12071685/"
] |
74,352,551 | <p>Hello Im not the best when it comes to using ejs so apologies if this is a stupid question. Im having a really difficult time figuring out why the html after my EJS data is not displaying, once I start my server. Im not sure if missing something after the ejs or if im completly using it incorrectly, Any help would... | [
{
"answer_id": 74362018,
"author": "silent Coder",
"author_id": 19760762,
"author_profile": "https://Stackoverflow.com/users/19760762",
"pm_score": 0,
"selected": false,
"text": "<%- include(\"header\") -%> // it should contain content upper part.\n\n<%- include(\"footer\") -%> // it sho... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352551",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16597057/"
] |
74,352,617 | <p>I have the below script and I am trying to access <code>logtime</code> variable when calling the function as userA but the <code>$logtime</code> inside the function is not getting the value. This works when I am not switching the user.</p>
<pre><code>logtime=`date +"%Y-%m-%d_%H%M%S"`
runcommand()
{
echo &... | [
{
"answer_id": 74352707,
"author": "Charles Duffy",
"author_id": 14122,
"author_profile": "https://Stackoverflow.com/users/14122",
"pm_score": 2,
"selected": false,
"text": "declare -f funcname declare -p varname sudo -u userA bash <<EOF\n$(declare -f runcommand)\n$(declare -p logtime)\n... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352617",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5875760/"
] |
74,352,694 | <p>I want to create a simple pyspark dataframe with 1 column that is JSON. I created the schema for the <code>groups</code> column and created 1 row.</p>
<pre><code>schema = T.StructType([
T.StructField(
'groups', T.ArrayType(
T.StructType([
T.StructField("ty... | [
{
"answer_id": 74353250,
"author": "wwnde",
"author_id": 8986975,
"author_profile": "https://Stackoverflow.com/users/8986975",
"pm_score": 0,
"selected": false,
"text": "df = spark.read.json(sc.parallelize(groups_rows)).na.fill('') \ndf.printSchema()\n\nroot\n |-- groups: array (nullable... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352694",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5508854/"
] |
74,352,822 | <p>I have following problem. I just can't figure out how to <a href="https://docs.walletconnect.com/2.0/kotlin/sign/wallet-usage" rel="nofollow noreferrer">initialize WalletConnect</a> and connect to Metamask on Android. I always get following exception.</p>
<pre><code>java.lang.NoSuchMethodError: No interface method g... | [
{
"answer_id": 74371243,
"author": "MelissaWood365",
"author_id": 20456869,
"author_profile": "https://Stackoverflow.com/users/20456869",
"pm_score": 0,
"selected": false,
"text": "enter code here\n"
},
{
"answer_id": 74445850,
"author": "Blackarrow",
"author_id": 1742578... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352822",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6580761/"
] |
74,352,833 | <p>I have a Laravel 6 app and am trying to pass two parameters from my view's form to my controller via a resource route. I can pass one, no problem, but passing two gives the same error:</p>
<p><code>Too few arguments to function App\Http\Controllers\Admin\SubscriptionsController::update(), 1 passed and exactly 2 expe... | [
{
"answer_id": 74371243,
"author": "MelissaWood365",
"author_id": 20456869,
"author_profile": "https://Stackoverflow.com/users/20456869",
"pm_score": 0,
"selected": false,
"text": "enter code here\n"
},
{
"answer_id": 74445850,
"author": "Blackarrow",
"author_id": 1742578... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352833",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6768483/"
] |
74,352,839 | <p>I am trying to pass all the arrays such as molecularWeight(concentration,time)
`</p>
<pre><code>concentration_time = np.array([[0,83],
[0.04,89],
[0.06,95],
[0.08,104],
[0.1,114],
... | [
{
"answer_id": 74352891,
"author": "ShlomiF",
"author_id": 5024514,
"author_profile": "https://Stackoverflow.com/users/5024514",
"pm_score": 0,
"selected": false,
"text": "numpy zipped import numpy as np\n\ndef molecularWeight(c,t):\n c = np.array(c)\n t = np.array(t)\n answer =... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352839",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20207466/"
] |
74,352,872 | <p>I saw a lot of answers for the date problem with Safari and IE for the date, using <code>replace(/-/g, "/")</code> works like a charm for these cases <code>2022-11-30 17:00 UTC+0200</code> but encountered an issue when I had other time zone like this one <code>2022-11-28 21:56 UTC-0500</code> it would crea... | [
{
"answer_id": 74352932,
"author": "Konrad",
"author_id": 5089567,
"author_profile": "https://Stackoverflow.com/users/5089567",
"pm_score": 3,
"selected": true,
"text": "const date = `2022-11-30 17:00 UTC-0200`\nconst regex = /(\\d+)-(\\d+)-(\\d+)/g\nconst result = date.replace(regex, '$... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352872",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13596673/"
] |
74,352,892 | <p>A Ke-number is an integer 10≤n≤99 such that, if we start a Fibonacci sequence with its digits, the sequence contains n.</p>
<p>For example, 47 is a Ke-number because the sequence starts like this: 4,7,11,18,29,47, coming to the number itself.</p>
<p>I'm trying to define the recursive function ke_number that takes a ... | [
{
"answer_id": 74353012,
"author": "Arty",
"author_id": 941531,
"author_profile": "https://Stackoverflow.com/users/941531",
"pm_score": 2,
"selected": false,
"text": "def ke_number(n, a = None, b = None):\n if a is None:\n return ke_number(n, n // 10, n % 10)\n if a < n:\n ... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352892",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20400765/"
] |
74,352,910 | <p>I have been looking at this piece of code for over 2 days now, and i have not been able to locate my Hydration error. It is driving me crazy. Could some one maybe take a look at it for me? Are there any tips and tricks to spot these kind of errors more quickly, would love to know!</p>
<p>I'am using nextjs and using ... | [
{
"answer_id": 74354099,
"author": "jme11",
"author_id": 3577849,
"author_profile": "https://Stackoverflow.com/users/3577849",
"pm_score": 3,
"selected": true,
"text": "events <EventCard /> event.id event.trcid export default function Events({ events }) {\n return (\n <>\n {even... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352910",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11595909/"
] |
74,352,919 | <p>I'm working on a C# project that will need to create text files and fill them with guids using an array of 25 tasks. I want to use another task separate from the writing tasks to monitor the size of the file at 0.5 second intervals.</p>
<p>I'm struggling to figure out a way to do this. I know with a C# WPF applicati... | [
{
"answer_id": 74354099,
"author": "jme11",
"author_id": 3577849,
"author_profile": "https://Stackoverflow.com/users/3577849",
"pm_score": 3,
"selected": true,
"text": "events <EventCard /> event.id event.trcid export default function Events({ events }) {\n return (\n <>\n {even... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352919",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17978542/"
] |
74,352,926 | <p>So this is a continuation of my <a href="https://stackoverflow.com/questions/74257959/python-webscraping-pricing-and-hidden-elements-with-selenium">previous question</a>, which, with the help of Prophet, I was able to get it working. Until last week.</p>
<p>Basically: on this <a href="https://www.centris.ca/en/prope... | [
{
"answer_id": 74353069,
"author": "AomineDaici",
"author_id": 13149512,
"author_profile": "https://Stackoverflow.com/users/13149512",
"pm_score": 0,
"selected": false,
"text": "data-mlsnumber ads = driver.find_elements(By.XPATH, \"//div[@class='description']/a\")\nprices = driver.find_e... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352926",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/943222/"
] |
74,352,929 | <p>I have two JavaRDD A and B. I want to only keep longs that are in A but not in B. How should I do that? Thanks!</p>
| [
{
"answer_id": 74353262,
"author": "Hema Jayachandran",
"author_id": 13163227,
"author_profile": "https://Stackoverflow.com/users/13163227",
"pm_score": 2,
"selected": true,
"text": "leftOuterJoin WrappedArray((168,(def,None)), (192,(abc,Some(abc)))) None val data = spark.sparkContext.pa... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352929",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8133719/"
] |
74,352,951 | <p>I have this span element. am fetching data and putting some text in that span element, therefore sometimes that span elements width is 200 px, sometimes its 100px. I want this span to have margin-right: half of its width. I am using this technique:</p>
<pre><code>const [width, setWidth] = useState()
const ref =... | [
{
"answer_id": 74353017,
"author": "Ori Drori",
"author_id": 5157454,
"author_profile": "https://Stackoverflow.com/users/5157454",
"pm_score": 1,
"selected": false,
"text": "useEffect offsetWidth useLayoutEffect(() => { \n setWidth(ref.current.offsetWidth);\n})\n ref <span className='bi... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352951",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20121566/"
] |
74,352,958 | <p><a href="https://i.stack.imgur.com/p3hZt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/p3hZt.png" alt="trying to understand this bit of code" /></a>
for some readability and searchability, here is the typed out code</p>
<pre><code>def counter(func):
def wrapper(*args, **kwargs):
wrapp... | [
{
"answer_id": 74353145,
"author": "Elliott",
"author_id": 19359809,
"author_profile": "https://Stackoverflow.com/users/19359809",
"pm_score": 0,
"selected": false,
"text": "def wrapper wrapper.count = 0 wrapper.count wrapper.count = 0 wrapper.count += 1 foo @counter foo foo.count foo co... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352958",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20444040/"
] |
74,352,979 | <p>I have a selenium project in Java using JUnit5. I have some suites and several tests with tags. I want to have a suite that runs all tests with <strong>both</strong> tags</p>
<p>An example of a suite is:</p>
<pre><code>@SelectClasses(ScreenshotComparisonTests.class)
@IncludeTags({"CC"})
@ExcludeTags({"... | [
{
"answer_id": 74353145,
"author": "Elliott",
"author_id": 19359809,
"author_profile": "https://Stackoverflow.com/users/19359809",
"pm_score": 0,
"selected": false,
"text": "def wrapper wrapper.count = 0 wrapper.count wrapper.count = 0 wrapper.count += 1 foo @counter foo foo.count foo co... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352979",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20443992/"
] |
74,352,998 | <p>After upgrading Cypress to v.11.10.0 tests fail in a very early stage.</p>
<p>We are using keycloak for login and cypress-kecloak-commands for the tests.</p>
<p>Test suite works as follows:</p>
<pre><code>beforeEach(() => {
cy.clearCookies();
cy.kcLogout();
cy.kcLogin('admin');
});
</code></pre>
<pre>... | [
{
"answer_id": 74353145,
"author": "Elliott",
"author_id": 19359809,
"author_profile": "https://Stackoverflow.com/users/19359809",
"pm_score": 0,
"selected": false,
"text": "def wrapper wrapper.count = 0 wrapper.count wrapper.count = 0 wrapper.count += 1 foo @counter foo foo.count foo co... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74352998",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20443513/"
] |
74,353,004 | <pre><code>import java.util.Scanner;
public class GirilenSayilardanMinveMaxDeğerleriBulma {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
System.out.print("kaç sayı gireceksiniz: ");
int a=input.nextInt();
int max=0,m... | [
{
"answer_id": 74353062,
"author": "M. Rogers",
"author_id": 6474819,
"author_profile": "https://Stackoverflow.com/users/6474819",
"pm_score": 2,
"selected": false,
"text": "b=input.nextInt();\nmax=b;\nmin=b;\n b=input.nextInt();\nif(b > max)\n max=b;\nif(b < min)\n min=b;\... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353004",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20443949/"
] |
74,353,056 | <p>I'm trying to determine how many meetings fall <strong>outside</strong> of a worker's standard business hours. All meeting times come out of the system in my time zone (Pacific Time), however there are workers across time zones. Therefore, I converted every worker's standard business hours according to their time zo... | [
{
"answer_id": 74353180,
"author": "KeithL",
"author_id": 3325290,
"author_profile": "https://Stackoverflow.com/users/3325290",
"pm_score": 0,
"selected": false,
"text": "=if(AND(timevalue(A2)>=timevalue(C2),timevalue(B2)<=timevalue(D2)),\"Y\",\"N\")\n"
},
{
"answer_id": 74355545... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353056",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16931748/"
] |
74,353,105 | <p>So I have a large 3D array (~ 2000 x 1000 x 1000). I want to update each value in the array to a random integer value between 1 and the current max such that all values = x are updated to the same random integer. I want to keep zeros unchanged. Also there can't be any repeats, i.e. different values in the original ... | [
{
"answer_id": 74353512,
"author": "Mad Physicist",
"author_id": 2988730,
"author_profile": "https://Stackoverflow.com/users/2988730",
"pm_score": 3,
"selected": true,
"text": "arr = np.random.randint(9001, size=(10, 20, 20))\np = np.arange(arr.max(None) + 1)\nnp.random.shuffle(p)\narr =... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353105",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17926120/"
] |
74,353,137 | <p>Writing a food ordering program for school, and am running into the issue of TypeError when trying to take the user input to select the menu item, then use that input to refer quantity value to that dictionary.</p>
<p>`</p>
<pre><code>menu = {
1: {"item": "Green Beret Omelette", "price"... | [
{
"answer_id": 74353512,
"author": "Mad Physicist",
"author_id": 2988730,
"author_profile": "https://Stackoverflow.com/users/2988730",
"pm_score": 3,
"selected": true,
"text": "arr = np.random.randint(9001, size=(10, 20, 20))\np = np.arange(arr.max(None) + 1)\nnp.random.shuffle(p)\narr =... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353137",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20442805/"
] |
74,353,152 | <p>Say I got a file that is</p>
<pre><code>1 hchen 50
2 vryzhikov 60
3 kmannock 74
4 vryzhikov 53
</code></pre>
<p>I make a dictionary of the names as keys and the scores as the values. If someone has 2 different scores, both scores would come out with that name.</p>
<p>Something like this:</p>
<pre><code>hchen 50
vryz... | [
{
"answer_id": 74353211,
"author": "Andrej Kesely",
"author_id": 10035985,
"author_profile": "https://Stackoverflow.com/users/10035985",
"pm_score": 1,
"selected": false,
"text": "out = {}\nwith open(\"students.txt\", \"r\") as f_in:\n for line in map(str.strip, f_in):\n if lin... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353152",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20213604/"
] |
74,353,155 | <p>I was watching <a href="https://www.youtube.com/watch?v=9N_wJ7oIHDk&t=0s&ab_channel=KonstantinVladimirov" rel="nofollow noreferrer">this</a> c++ lection (it's in russian).
At around 16:10 the lector asked an open question:</p>
<p>Having this code:</p>
<pre><code>int* foo()
{
volatile auto a = nullptr;
... | [
{
"answer_id": 74353258,
"author": "user17732522",
"author_id": 17732522,
"author_profile": "https://Stackoverflow.com/users/17732522",
"pm_score": 4,
"selected": true,
"text": "a volatile std::nullptr_t std::nullptr_t void* std::nullptr_t std::nullptr_t 0 int* b = a; a volatile std::nul... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353155",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3029238/"
] |
74,353,163 | <p>In a CSV file, I have dates, downtime, and incident numbers of my application. Based on the below data I have to plot a graph of my application uptime using Python. Uptime for the last 7 days, Uptime for the last 30 days, and uptime for the last 90 days.</p>
<div class="s-table-container">
<table class="s-table">
<... | [
{
"answer_id": 74353370,
"author": "It_is_Chris",
"author_id": 9177877,
"author_profile": "https://Stackoverflow.com/users/9177877",
"pm_score": 0,
"selected": false,
"text": "# convert to datetime\ndf['date'] = pd.to_datetime(df['date'])\n# groupby date and sum downtime then merge on a ... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353163",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3009657/"
] |
74,353,164 | <p>I'm traying to filter web data but my variables don't update!</p>
<pre><code>for i in range(len(links)):
cupons = recupTahmin(links[i])
try:
for j in range(len(cupons)):
eventName = cupons[j].find_element(by=By.XPATH, value="//a[@class='eventName ']").text
eventDate ... | [
{
"answer_id": 74353249,
"author": "Daemon",
"author_id": 19030643,
"author_profile": "https://Stackoverflow.com/users/19030643",
"pm_score": 0,
"selected": false,
"text": "predictions = []\n for c in cupons:\n bahis = c.find_element(...\n"
},
{
"answer_id": 74353422,
"aut... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353164",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18370758/"
] |
74,353,192 | <p>How can I add two icons, top and bottom, so that when the button is clicked, the icon changes (like changing the accordion icon)?</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"... | [
{
"answer_id": 74353289,
"author": "Anye",
"author_id": 16752210,
"author_profile": "https://Stackoverflow.com/users/16752210",
"pm_score": 2,
"selected": false,
"text": "let btn = document.getElementById(\"toggle\");\n\nbtn.addEventListener('click', function(){\n if(btn.firstChild.cl... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353192",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19601407/"
] |
74,353,197 | <p>I want to set the column width equal to the max string length in that column, actually I want to adjust the width of the column.</p>
<p>Here is my code:</p>
<pre><code>styler = df.style
for column in df:
column_length = df[column].astype(str).str.len().max()
#styler.set_properties(subset=[column], **{'width... | [
{
"answer_id": 74353289,
"author": "Anye",
"author_id": 16752210,
"author_profile": "https://Stackoverflow.com/users/16752210",
"pm_score": 2,
"selected": false,
"text": "let btn = document.getElementById(\"toggle\");\n\nbtn.addEventListener('click', function(){\n if(btn.firstChild.cl... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353197",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10967204/"
] |
74,353,232 | <p>I want to convert my project to android and publish it on play store. When I import it as apk, my project works fine, but when I import it as aab, my localization texts in the project are corrupted and the project does not work.Do I need to add it somewhere in the localization manager build settings? ( 0 Build Error... | [
{
"answer_id": 74355952,
"author": "Valery Boretsky",
"author_id": 6722284,
"author_profile": "https://Stackoverflow.com/users/6722284",
"pm_score": 0,
"selected": false,
"text": "bundle {\n language {\n enableSplit = false //android app bundle (aab) include all res languages\n... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353232",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16390011/"
] |
74,353,266 | <pre class="lang-c prettyprint-override"><code>// Why would I use this
odd = (int *) calloc( nOdd, sizeof(int) );
even = (int *) calloc( nEven, sizeof(int) );
// When i can just use this
int odd[nOdd];
int even[nEven];
</code></pre>
<p>What is the point in calloc. I dont understand how it dynamically allocates memory... | [
{
"answer_id": 74353306,
"author": "Caleb",
"author_id": 643383,
"author_profile": "https://Stackoverflow.com/users/643383",
"pm_score": 1,
"selected": false,
"text": "calloc() malloc() realloc()"
},
{
"answer_id": 74353329,
"author": "Eric Postpischil",
"author_id": 2982... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353266",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20444263/"
] |
74,353,269 | <p>I have the following piece of code that works fine:</p>
<pre class="lang-py prettyprint-override"><code>import pytest
class Person:
def __init__(self, name, age=None, height=None, lots_of_properties=None):
self.name = name
if age is not None:
self.age = age
if height is not N... | [
{
"answer_id": 74353462,
"author": "Jortega",
"author_id": 7551712,
"author_profile": "https://Stackoverflow.com/users/7551712",
"pm_score": 0,
"selected": false,
"text": "@pytest.mark.parametrize import pytest\n\nclass Person:\n def __init__(self, name, age=None, height=None, lots_of... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353269",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5041045/"
] |
74,353,272 | <p>I have a django project which works fine.
However, each time there is a change in my models (when I add attributes to my model), the migrations stop working. There is usually some sort of error or the migrations will not execute.
The only way for me to make the migrations to work is to drop the database and start fr... | [
{
"answer_id": 74353462,
"author": "Jortega",
"author_id": 7551712,
"author_profile": "https://Stackoverflow.com/users/7551712",
"pm_score": 0,
"selected": false,
"text": "@pytest.mark.parametrize import pytest\n\nclass Person:\n def __init__(self, name, age=None, height=None, lots_of... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353272",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9456594/"
] |
74,353,280 | <p>I am trying to filter this json.</p>
<p>here is the json</p>
<pre><code>const json = {
address: "fdqn",
pDet: [
{
pNam: "pnam1",
pMem: [
{
mIP: "1234", // search this string '1234'
gp: "gp1"
}, {
mIP: "567... | [
{
"answer_id": 74353371,
"author": "caTS",
"author_id": 18244921,
"author_profile": "https://Stackoverflow.com/users/18244921",
"pm_score": 3,
"selected": true,
"text": "flatMap filter_map const json = {address:\"fdqn\",pDet:[{pNam:\"pnam1\",pMem:[{mIP:\"1234\",gp:\"gp1\"},{mIP:\"567\",g... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353280",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5471522/"
] |
74,353,286 | <p>I have a data.table to which I want to add a countdown until a value of 1 appears in the <code>flag</code> column.</p>
<pre><code>dt = structure(list(date = structure(19309:19318, class = c("IDate",
"Date")), flag = c(0, 0, 0, 0, 0, 1, 0, 0, 0, 1)), class = c("data.table",
"data.... | [
{
"answer_id": 74353400,
"author": "Ric Villalba",
"author_id": 6912817,
"author_profile": "https://Stackoverflow.com/users/6912817",
"pm_score": 4,
"selected": true,
"text": "library(data.table)\n\ndt = structure(list(date = structure(19309:19318, class = c(\"IDate\", \n\"Date\")), flag... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353286",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11939840/"
] |
74,353,361 | <p><a href="https://i.stack.imgur.com/VW5jS.png" rel="nofollow noreferrer">enter image description here</a>For example I have a start date cell and an end date cell. I also have a conditional format statement that will take these two cells and calculate the progress in % of how complete my project is.</p>
<p>For exampl... | [
{
"answer_id": 74353400,
"author": "Ric Villalba",
"author_id": 6912817,
"author_profile": "https://Stackoverflow.com/users/6912817",
"pm_score": 4,
"selected": true,
"text": "library(data.table)\n\ndt = structure(list(date = structure(19309:19318, class = c(\"IDate\", \n\"Date\")), flag... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353361",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20444288/"
] |
74,353,385 | <p>I am trying to update a helm-deployed deployment so that it uses a secret stored as a k8s secret resource. This <em>must</em> be set as the STORAGE_PASSWORD environment variable in my pod.</p>
<p>In my case, the secret is in secrets/redis and the data item is redis-password:</p>
<pre>
$ kubectl get secret/redis -oy... | [
{
"answer_id": 74354833,
"author": "Wilson Liao",
"author_id": 4246782,
"author_profile": "https://Stackoverflow.com/users/4246782",
"pm_score": 1,
"selected": false,
"text": "kubectl edit kubectl edit deployment gateway\n # - name: REDIS_PASSWORD\n - name: STORAGE_PASSWORD\n ... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353385",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1238223/"
] |
74,353,389 | <p>I want to place an icon before the "Mon compte" text on my website.</p>
<p>Here is my HTML code :</p>
<pre><code><a href="/user" class="secondary-nav__menu-link secondary-nav__menu-link--link secondary-nav__menu-link--level-1" data-drupal-link-system-path="user">
Mon c... | [
{
"answer_id": 74354833,
"author": "Wilson Liao",
"author_id": 4246782,
"author_profile": "https://Stackoverflow.com/users/4246782",
"pm_score": 1,
"selected": false,
"text": "kubectl edit kubectl edit deployment gateway\n # - name: REDIS_PASSWORD\n - name: STORAGE_PASSWORD\n ... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353389",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
74,353,391 | <p>i want to make some blur in the edges of the recycler view, as you can see in the picture, the top and bottom part are "cut", i would like to give the sensation of disappearing (like the second image (that image is on figma, so i havent made it on android)), its possible to do that? I dont like the cutted ... | [
{
"answer_id": 74354833,
"author": "Wilson Liao",
"author_id": 4246782,
"author_profile": "https://Stackoverflow.com/users/4246782",
"pm_score": 1,
"selected": false,
"text": "kubectl edit kubectl edit deployment gateway\n # - name: REDIS_PASSWORD\n - name: STORAGE_PASSWORD\n ... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353391",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19861170/"
] |
74,353,395 | <p>I am using BigQuery and doing a capstone project for a course which needs us to analyze the data for a fictional cycling company.
Of the data that we're given, we're given the start and end time of the trips per month including date, hour, minute and second. I have the data in SQL with TIMESTAMP type for started_at ... | [
{
"answer_id": 74354833,
"author": "Wilson Liao",
"author_id": 4246782,
"author_profile": "https://Stackoverflow.com/users/4246782",
"pm_score": 1,
"selected": false,
"text": "kubectl edit kubectl edit deployment gateway\n # - name: REDIS_PASSWORD\n - name: STORAGE_PASSWORD\n ... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353395",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20251476/"
] |
74,353,409 | <p>I'm implementing a function that takes a <code>[[Int]]</code>, and return a <code>[String]</code>, it needs to fill the empty place in each sublist with <code>_</code>s, which index is the complement of the input list, and generate a string from the list, the length of each string is the same and is the (maximum of ... | [
{
"answer_id": 74353477,
"author": "Willem Van Onsem",
"author_id": 67579,
"author_profile": "https://Stackoverflow.com/users/67579",
"pm_score": 2,
"selected": true,
"text": "[1,2] \"_12\" [1,3] \"_1_3\" getRow :: [Int] -> String\ngetRow = go 0\n where go _ [] = …\n go i (x:... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353409",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12425434/"
] |
74,353,414 | <p><a href="https://i.stack.imgur.com/Qb4YN.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Qb4YN.jpg" alt="enter image description here" /></a></p>
<p>I need to replace the (_) in the first range (Red rectangle) into a SPACE in the second range (Green rectangle).
How can i do that ? thanks in advanc... | [
{
"answer_id": 74353545,
"author": "player0",
"author_id": 5632629,
"author_profile": "https://Stackoverflow.com/users/5632629",
"pm_score": 2,
"selected": false,
"text": "=INDEX(SUBSTITUTE(A1:A10; \"_\"; \" \"))\n"
},
{
"answer_id": 74354181,
"author": "Ping",
"author_id... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353414",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9575989/"
] |
74,353,418 | <p>So basically, the projection matrix works, as I move the camera arround and look at the cube, there's no problem. But, When I look to the side and the cube should be at the side of the screen, it gets deformed and scaled back.</p>
<p>From what I heard, the projection matrix is supposed to be:</p>
<ol>
<li><p>transla... | [
{
"answer_id": 74353717,
"author": "Rabbid76",
"author_id": 5577765,
"author_profile": "https://Stackoverflow.com/users/5577765",
"pm_score": 1,
"selected": false,
"text": "fov = 45 * PI/180\nplayer_pos = np.array([0,0,-4], dtype=np.float32) # <-- dtype=np.float32\n#camera_rot_y = PI/... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353418",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11718631/"
] |
74,353,424 | <p>I'm using Python to call an API that returns the last name of some soccer players. One of the players has a "ć" in his name.</p>
<p>When I call the endpoint, the name prints out with the unicode attached to it:</p>
<pre><code>>>> last_name = (json.dumps(response["response"][2]["play... | [
{
"answer_id": 74353717,
"author": "Rabbid76",
"author_id": 5577765,
"author_profile": "https://Stackoverflow.com/users/5577765",
"pm_score": 1,
"selected": false,
"text": "fov = 45 * PI/180\nplayer_pos = np.array([0,0,-4], dtype=np.float32) # <-- dtype=np.float32\n#camera_rot_y = PI/... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353424",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17667524/"
] |
74,353,433 | <blockquote>
<p>Does anyone know how to convert a List<Pair<K, Collection< V >>> to
Map<K,Collection< V >> in Kotlin, merging the collections associated with the same key?</p>
</blockquote>
<p>In Java I would use something like:</p>
<pre><code>.collect(Collectors.toMap(Map.Entry::getKey, M... | [
{
"answer_id": 74353723,
"author": "Ice",
"author_id": 5771474,
"author_profile": "https://Stackoverflow.com/users/5771474",
"pm_score": 1,
"selected": false,
"text": "associate listOf(\n Pair(1, listOf(\"1\", \"2\", \"3\")),\n Pair(2, listOf(\"1\", \"2\", \"3\")),\n Pair(3, lis... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353433",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19320502/"
] |
74,353,447 | <p>I am trying to figure out how to calculate a "New Measure" in my power BI visual that calculates the YTD daily average.</p>
<p>So for example,
my query on the backend would look like this</p>
<pre><code>App Date | ID | Subject
01\01\2022 | 123 | Math
01\01\2022 | 456 | Science
01\02\2022 | 7... | [
{
"answer_id": 74353723,
"author": "Ice",
"author_id": 5771474,
"author_profile": "https://Stackoverflow.com/users/5771474",
"pm_score": 1,
"selected": false,
"text": "associate listOf(\n Pair(1, listOf(\"1\", \"2\", \"3\")),\n Pair(2, listOf(\"1\", \"2\", \"3\")),\n Pair(3, lis... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353447",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20435318/"
] |
74,353,450 | <p>I try to make a very simple site that is only displaying an embedded PDF. The PDF viewer should have the same size as the browser window. However, I was unsuccessful in showing the full PDF height:</p>
<pre><code><!DOCTYPE html>
<html height="100vh" margin="0">
<body height="1... | [
{
"answer_id": 74353490,
"author": "vnetkc",
"author_id": 3421628,
"author_profile": "https://Stackoverflow.com/users/3421628",
"pm_score": 1,
"selected": false,
"text": "body {\n margin: 0;\n}\n\nbody,\nembed {\n height: 100vh;\n width: 100vw;\n} <body>\n <embed src=\"http://infolab... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353450",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20444344/"
] |
74,353,463 | <p>I have a table as following:</p>
<div class="s-table-container">
<table class="s-table">
<thead>
<tr>
<th>id</th>
<th>a</th>
<th>b</th>
<th>a</th>
<th>b</th>
</tr>
</thead>
<tbody>
<tr>
<td>123</td>
<td>1</td>
<td>6</td>
<td>7</td>
<td>3</td>
</tr>
<tr>
<td>456</td>
<td>2</td>
<td>8</td>
<td>9</td>
<td>7</td>
</tr>
... | [
{
"answer_id": 74353490,
"author": "vnetkc",
"author_id": 3421628,
"author_profile": "https://Stackoverflow.com/users/3421628",
"pm_score": 1,
"selected": false,
"text": "body {\n margin: 0;\n}\n\nbody,\nembed {\n height: 100vh;\n width: 100vw;\n} <body>\n <embed src=\"http://infolab... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353463",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18374702/"
] |
74,353,497 | <p>I am trying to find a way to make Chakra UI code work with react 18 in an next js app.</p>
<p>When i try to use a component which starts with a component, I get an error that says:</p>
<blockquote>
<p>Unexpected token <code>Stack</code>. Expected jsx identifier</p>
</blockquote>
<p>I've tried adding outer and and... | [
{
"answer_id": 74353490,
"author": "vnetkc",
"author_id": 3421628,
"author_profile": "https://Stackoverflow.com/users/3421628",
"pm_score": 1,
"selected": false,
"text": "body {\n margin: 0;\n}\n\nbody,\nembed {\n height: 100vh;\n width: 100vw;\n} <body>\n <embed src=\"http://infolab... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353497",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2860931/"
] |
74,353,511 | <p>How to give an animation to the div tag when it is displayed (click on button)?</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>function toggle_div_fun(id) {
var divele... | [
{
"answer_id": 74353490,
"author": "vnetkc",
"author_id": 3421628,
"author_profile": "https://Stackoverflow.com/users/3421628",
"pm_score": 1,
"selected": false,
"text": "body {\n margin: 0;\n}\n\nbody,\nembed {\n height: 100vh;\n width: 100vw;\n} <body>\n <embed src=\"http://infolab... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353511",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19601407/"
] |
74,353,528 | <p>I'm currently trying to write a method that goes through a list of Ant-Objects and returns a list of <code>AntScouts</code>, that extend Ant. In general, <code>List<Ant></code> can contain a lot of different Objects that inherit from Ant.</p>
<p>I also have an enum for the different kinds of ants:</p>
<pre><co... | [
{
"answer_id": 74353657,
"author": "Holloway",
"author_id": 1916917,
"author_profile": "https://Stackoverflow.com/users/1916917",
"pm_score": 0,
"selected": false,
"text": "AntType import java.util.List;\nimport static java.util.stream.Collectors.toList;\npublic class Demo {\n private... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353528",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19056337/"
] |
74,353,529 | <p>I'm trying to figure out how to add a favicon file to a next.js app (with react 18).</p>
<p>I have made a _document page that has a head tag as follows:</p>
<pre><code>import * as React from "react"
// import {createRoot} from 'react-dom/client'
import { ColorModeScript } from "@chakra-ui/react"
... | [
{
"answer_id": 74353964,
"author": "innocent masuki",
"author_id": 10766490,
"author_profile": "https://Stackoverflow.com/users/10766490",
"pm_score": 0,
"selected": false,
"text": "import { NextSeo } from \"next-seo\"\nimport type { OpenGraph } from \"next-seo/lib/types\"\nimport { useR... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353529",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2860931/"
] |
74,353,534 | <p>I have a widget that for whatever reason does not want to go to the bottom of the screen. Right now the screen looks like:</p>
<pre><code>body: Stack(
children: <Widget>[
SingleChildScrollView(
child: //make a widget that looks like twitter composing tweet
... | [
{
"answer_id": 74353964,
"author": "innocent masuki",
"author_id": 10766490,
"author_profile": "https://Stackoverflow.com/users/10766490",
"pm_score": 0,
"selected": false,
"text": "import { NextSeo } from \"next-seo\"\nimport type { OpenGraph } from \"next-seo/lib/types\"\nimport { useR... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353534",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19097292/"
] |
74,353,559 | <p>since this is the first discussion topic, forgive me in advance if I'm wrong.
My question will be, I have an example of a CSV file in the form of '.txt' and I am using this file.</p>
<ul>
<li>Name</li>
<li>Address</li>
<li>Direction</li>
<li>Status</li>
<li>Duration</li>
<li>Date</li>
</ul>
<p>I want to get values l... | [
{
"answer_id": 74353936,
"author": "Joel Coehoorn",
"author_id": 3043,
"author_profile": "https://Stackoverflow.com/users/3043",
"pm_score": 1,
"selected": false,
"text": "Foo M/d/yyyy (h:mm:ss tt)\n public class Foo\n{\n public string Name { get; set; }\n public string Address { g... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353559",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18529651/"
] |
74,353,573 | <p>I want to display a double (or int) similar to how you would a string with a <code>Text()</code> widget. Is there an equivalent to this widget for ints or doubles in Flutter? Sorry if this is obvious, but I could not find anything.</p>
| [
{
"answer_id": 74353619,
"author": "Michael Horn",
"author_id": 8174223,
"author_profile": "https://Stackoverflow.com/users/8174223",
"pm_score": 0,
"selected": false,
"text": "Text String final int two = 2;\nfinal double pi = 3.14;\n\nreturn Text(\"$two is an integer, and $pi is a doubl... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353573",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16806413/"
] |
74,353,575 | <pre><code>macbookair@Furqans-MacBook-2021 ~ % ssh -T furqanistic@github.com
/etc/ssh/sshd_config.d/100-macos.conf: line 2: Bad configuration option: usepam
/etc/ssh/sshd_config.d/100-macos.conf: line 3: Bad configuration option: acceptenv
/etc/ssh/sshd_config.d/100-macos.conf: line 4: Bad configuration option: subsys... | [
{
"answer_id": 74357405,
"author": "VonC",
"author_id": 6309,
"author_profile": "https://Stackoverflow.com/users/6309",
"pm_score": 0,
"selected": false,
"text": "sshd_config /etc/ssh/sshd_config.d/*.conf 100-macos.conf 100-macos.conf"
},
{
"answer_id": 74362355,
"author": "F... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353575",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19953575/"
] |
74,353,582 | <p>The problem is " Conversion = '-'". The source code is listed below. This is a program used to caculating the value of Coefficent A, B, and C based on the quadratic function.</p>
<pre><code>import java.util.Scanner;
public class RootsTestHamer {
public static void main(String[] args) {
//decla... | [
{
"answer_id": 74353655,
"author": "Ben Borchard",
"author_id": 4054720,
"author_profile": "https://Stackoverflow.com/users/4054720",
"pm_score": 1,
"selected": false,
"text": " System.out.printf(\"%.0f, %.of, and %.0f coefficients have %.0f real roots:\",a, b, c, r);\n ...\n Sy... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353582",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14620764/"
] |
74,353,586 | <p>I have a table that store the customer's 'PreOrder' number and 'PostOrder' number in the same column. I'm trying to write a case statement that will evaluate if the patient has one of the 'PreOrder' number and/or the 'PostOrder' number. There are three different numbers that could represent a 'PreOrder' and two diff... | [
{
"answer_id": 74353655,
"author": "Ben Borchard",
"author_id": 4054720,
"author_profile": "https://Stackoverflow.com/users/4054720",
"pm_score": 1,
"selected": false,
"text": " System.out.printf(\"%.0f, %.of, and %.0f coefficients have %.0f real roots:\",a, b, c, r);\n ...\n Sy... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353586",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17328107/"
] |
74,353,591 | <p>I've been trying to puzzle out how to form edge descriptors for a CGAL Triangulation_3 such that I can use Boost's implementation of Kruskal's Minimum Spanning Tree on that Triangulation.</p>
<p>I have been reading through the reference documentation for a Triangulation_2 (provided <a href="https://doc.cgal.org/late... | [
{
"answer_id": 74358360,
"author": "Andreas Fabri",
"author_id": 1895240,
"author_profile": "https://Stackoverflow.com/users/1895240",
"pm_score": 2,
"selected": false,
"text": "graph_traits"
},
{
"answer_id": 74524563,
"author": "anachronicnomad",
"author_id": 11929780,
... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353591",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11929780/"
] |
74,353,592 | <p>I have a dictionary like this:</p>
<pre><code>features_id = {
id1: [a, b, c, d],
id2: [c, d],
id3: [a, e, f, d, g, k],
...
}
</code></pre>
<p>I have also a list of values I want to create a new dictionary. Something like this:</p>
<pre><code>list_of_values = [a, c]
</code></pre>
<h1>Goal to achie... | [
{
"answer_id": 74358360,
"author": "Andreas Fabri",
"author_id": 1895240,
"author_profile": "https://Stackoverflow.com/users/1895240",
"pm_score": 2,
"selected": false,
"text": "graph_traits"
},
{
"answer_id": 74524563,
"author": "anachronicnomad",
"author_id": 11929780,
... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353592",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14846176/"
] |
74,353,595 | <p>I have a training dataset that consists of 60,000 observations that I want to create 9 subset training sets from. I want to sample randomly without replacement; I need 3 datasets of 500 observations, 3 datasets of 1,000 observations, and 3 datasets of 2,000 observations.</p>
<p><a href="https://i.stack.imgur.com/OxC... | [
{
"answer_id": 74358360,
"author": "Andreas Fabri",
"author_id": 1895240,
"author_profile": "https://Stackoverflow.com/users/1895240",
"pm_score": 2,
"selected": false,
"text": "graph_traits"
},
{
"answer_id": 74524563,
"author": "anachronicnomad",
"author_id": 11929780,
... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353595",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17548328/"
] |
74,353,602 | <p>It seems this HPC is hard to google docs. How does one write an <code>AND</code> statement for it? e.g. for <code>OR</code> one does:</p>
<pre><code>requirements = (CUDADeviceName == "Quadro RTX 6000") || (CUDADeviceName == "NVIDIA A40")
</code></pre>
<p>would:</p>
<pre><code>requirements = (CUDA... | [
{
"answer_id": 74358360,
"author": "Andreas Fabri",
"author_id": 1895240,
"author_profile": "https://Stackoverflow.com/users/1895240",
"pm_score": 2,
"selected": false,
"text": "graph_traits"
},
{
"answer_id": 74524563,
"author": "anachronicnomad",
"author_id": 11929780,
... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353602",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1601580/"
] |
74,353,607 | <p>I am looking for a solution to select different const via select dropdown menu to be shown in a table.</p>
<p>Anyone able to point me in the right direction?
Thanks.</p>
<pre><code><select id="select" name="select"\>
<option value="1"\>Device 1\</option\>
<option va... | [
{
"answer_id": 74353693,
"author": "Piritos Vajas",
"author_id": 19715373,
"author_profile": "https://Stackoverflow.com/users/19715373",
"pm_score": -1,
"selected": false,
"text": " const array = {\n \"1\" : {Name: \"Name 1\", Code: \"Code 1\", Speed: \"10\"},\n \"2\" : {Name:... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353607",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20444379/"
] |
74,353,627 | <p>I'm a newbie to python(3), but not to programming in general.</p>
<p>I'd like to distribute a git repo with myprogram consisting of these files:</p>
<pre><code>requirements.txt
myprogram.py
lib/modulea.py
lib/moduleb.py
</code></pre>
<p>My question is: What is the best-practice and least surprising way to let users ... | [
{
"answer_id": 74353921,
"author": "Victor Sandoval",
"author_id": 13500362,
"author_profile": "https://Stackoverflow.com/users/13500362",
"pm_score": 0,
"selected": false,
"text": "./bin/pip install -r requirements.txt python3 -m venv . python3 -m venv example-env source example-env/bin... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353627",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/345716/"
] |
74,353,634 | <p>I'm currently learning Kotlin and I'm trying to understand something. The tutorial I'm following is making a toolbar. We made the toolbar in the layout xml file then used setSupportActionBar() to find it. I can see that setSupportActionBar() is part of the AppCompatActivity class.</p>
<p>We then use supportActionBar... | [
{
"answer_id": 74353921,
"author": "Victor Sandoval",
"author_id": 13500362,
"author_profile": "https://Stackoverflow.com/users/13500362",
"pm_score": 0,
"selected": false,
"text": "./bin/pip install -r requirements.txt python3 -m venv . python3 -m venv example-env source example-env/bin... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353634",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10873338/"
] |
74,353,650 | <p><a href="https://i.stack.imgur.com/n4dPj.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/n4dPj.jpg" alt="enter image description here" /></a>
Just for clarity - Here is an image for reference, I want to click on any of the smaller cubes at the bottom so that the corresponding larger cube moves lef... | [
{
"answer_id": 74354005,
"author": "D4V3XX",
"author_id": 12382672,
"author_profile": "https://Stackoverflow.com/users/12382672",
"pm_score": 2,
"selected": false,
"text": " if (Physics.Raycast(ray, out hit, 15000, mask))\n {\n \n if (hit.collider.tag == \"1s... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353650",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20443360/"
] |
74,353,658 | <p>Is it possible to rotate loaded texture on sphere geometry in Three.js? I don't want to rotate the object, just texture that is applied to material. Let's say I have a sphere that looks like that:
<a href="https://i.stack.imgur.com/Ol3y7.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ol3y7.jpg" a... | [
{
"answer_id": 74354351,
"author": "Anye",
"author_id": 16752210,
"author_profile": "https://Stackoverflow.com/users/16752210",
"pm_score": 2,
"selected": true,
"text": "function render(){\n requestAnimationFrame(render);\n renderer.render(scene, camera);\n\n sphere.rotation.y +... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353658",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14741168/"
] |
74,353,671 | <p>Python question: I have a list of sentences on which I want to apply nltk stemming. So for each word in each sentence, I want to apply, in this case, the nltk snowball.stem function.</p>
<p>I want to write that as short as possible via list comprehension.
Below code works fine, but I want to write it in less lines:<... | [
{
"answer_id": 74354351,
"author": "Anye",
"author_id": 16752210,
"author_profile": "https://Stackoverflow.com/users/16752210",
"pm_score": 2,
"selected": true,
"text": "function render(){\n requestAnimationFrame(render);\n renderer.render(scene, camera);\n\n sphere.rotation.y +... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353671",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1035461/"
] |
74,353,695 | <p>The C script is supposed to take x amount of CPU bound forks and x amount of IO bound forks, so then lets say 10 total processes if you there's 5 of each. If I fork 10 times, then 5 of those should go to working on the CPU bound "fake work" and 5 of those should go to the IO bound "fake work". Wa... | [
{
"answer_id": 74354351,
"author": "Anye",
"author_id": 16752210,
"author_profile": "https://Stackoverflow.com/users/16752210",
"pm_score": 2,
"selected": true,
"text": "function render(){\n requestAnimationFrame(render);\n renderer.render(scene, camera);\n\n sphere.rotation.y +... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353695",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20444441/"
] |
74,353,696 | <p>could you guys help me with a project. I was able to find a solution for my problem and the formula looks like this:</p>
<pre><code>=IFERROR(VLOOKUP(E4;A8:B13;2;FALSE);0)+IFERROR(VLOOKUP(F4;A8:B13;2;FALSE);0)+IFERROR(VLOOKUP(G4;A8:B13;2;FALSE);0)
</code></pre>
<p>I have a category (e.g. Fruits) and need to import a ... | [
{
"answer_id": 74354351,
"author": "Anye",
"author_id": 16752210,
"author_profile": "https://Stackoverflow.com/users/16752210",
"pm_score": 2,
"selected": true,
"text": "function render(){\n requestAnimationFrame(render);\n renderer.render(scene, camera);\n\n sphere.rotation.y +... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353696",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20444417/"
] |
74,353,757 | <p>I have just started using neo4j.</p>
<p>I was trying to use it to describe a company's Enterprise Architecture.</p>
<p>I'd like to show that, by removing the node "Middleware", Service_A goes from Client_A and Server_X, and the same for the other services.</p>
<p>Is there a way to do that? Is this the righ... | [
{
"answer_id": 74354351,
"author": "Anye",
"author_id": 16752210,
"author_profile": "https://Stackoverflow.com/users/16752210",
"pm_score": 2,
"selected": true,
"text": "function render(){\n requestAnimationFrame(render);\n renderer.render(scene, camera);\n\n sphere.rotation.y +... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353757",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1483141/"
] |
74,353,771 | <p>i have the following array of dictionaries with the one below as an example of a single dictionary</p>
<pre><code>{
"id": 80,
"name": "Low Level Topic",
"questions": [
{
"id": 23,
"shortName&quo... | [
{
"answer_id": 74354016,
"author": "caTS",
"author_id": 18244921,
"author_profile": "https://Stackoverflow.com/users/18244921",
"pm_score": 0,
"selected": false,
"text": "let data = {\"id\":80,\"name\":\"Low Level Topic\",\"questions\":[{\"id\":23,\"shortName\":null,\"name\":\"Some quest... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353771",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2906950/"
] |
74,353,783 | <p>I would like to generate a sparse matrix using a custom discrete distribution.</p>
<p>E.g.:</p>
<pre><code>from scipy.sparse import random
from scipy import stats
xk = np.arange(7)
pk = np.array([0.1, 0.2, 0.3, 0.1, 0.1, 0.1, 0.1])
custm = stats.rv_discrete(name='custm', values=(xk, pk))
rvs = custm.rvs
dens = 0.5... | [
{
"answer_id": 74354418,
"author": "Nick ODell",
"author_id": 530160,
"author_profile": "https://Stackoverflow.com/users/530160",
"pm_score": 2,
"selected": false,
"text": "vals = data_rvs(k).astype(dtype, copy=False)\n S = random(1, 8, density=dens, data_rvs=lambda k: rvs(size=k))\n"
... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353783",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9494464/"
] |
74,353,791 | <p>I'm writing the unit tests for the old method, which uses <code>CompletableFuture.supplyAsync()</code>. The method is not complex, but my unit test keeps running and does not stop when executing the <code>join()</code>. I believe <code>supplyAsync()</code> should return the value very quickly. Is it because I set up... | [
{
"answer_id": 74354128,
"author": "Jared Renzullo",
"author_id": 20409306,
"author_profile": "https://Stackoverflow.com/users/20409306",
"pm_score": 2,
"selected": false,
"text": "execute() run() zipCode vip"
},
{
"answer_id": 74381563,
"author": "Meilan",
"author_id": 8... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353791",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8898054/"
] |
74,353,793 | <p>I'm currently working on creating rainy animation.</p>
<p>Here's what i have tried.
I created a rain drop view using <code>CSS</code> and tried to create multiple rain views using <code>JavaScript</code> modifying its position with <code>padding-right</code>. But on my webpage I can only see only one rain is droppin... | [
{
"answer_id": 74354128,
"author": "Jared Renzullo",
"author_id": 20409306,
"author_profile": "https://Stackoverflow.com/users/20409306",
"pm_score": 2,
"selected": false,
"text": "execute() run() zipCode vip"
},
{
"answer_id": 74381563,
"author": "Meilan",
"author_id": 8... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353793",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12906445/"
] |
74,353,798 | <p>In my Angular-14 application, I want to search or filter data in a table using Text Input field and select dropdown.</p>
<p>I am this JSON response:</p>
<pre><code>{
"data": {
"pageItems": [
{
"id": "1b1b89c0-b18d-4403-b1ba-0a73c1eb2c5c"... | [
{
"answer_id": 74354128,
"author": "Jared Renzullo",
"author_id": 20409306,
"author_profile": "https://Stackoverflow.com/users/20409306",
"pm_score": 2,
"selected": false,
"text": "execute() run() zipCode vip"
},
{
"answer_id": 74381563,
"author": "Meilan",
"author_id": 8... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353798",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9037515/"
] |
74,353,845 | <p>Right Now I'm trying my first medium leetcode problem for the first time (<strong>Remove Nth Node From End of List</strong>) and I'm pretty confident that the code I have should work with it. But for some reason when I it runs, my while-loop for <code>A.Next</code> gives the error:</p>
<pre><code>NoneType' object ha... | [
{
"answer_id": 74354128,
"author": "Jared Renzullo",
"author_id": 20409306,
"author_profile": "https://Stackoverflow.com/users/20409306",
"pm_score": 2,
"selected": false,
"text": "execute() run() zipCode vip"
},
{
"answer_id": 74381563,
"author": "Meilan",
"author_id": 8... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353845",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8741999/"
] |
74,353,866 | <p>I want to get out the minimum price for categories 1, 2 and 3
I've used</p>
<pre><code> LEAST(MIN(price_reduced),MIN(price))
IFNULL(MIN(price_reduced),MIN(price)) ... WHERE price <> 0 and price_reduced <> 0
</code></pre>
<p>Database</p>
<div class="s-table-container">
<table class="s-table">
<thead... | [
{
"answer_id": 74354604,
"author": "FanoFN",
"author_id": 10910692,
"author_profile": "https://Stackoverflow.com/users/10910692",
"pm_score": 0,
"selected": false,
"text": "cte WITH cte AS (SELECT category,\n MIN(price) AS mp,\n MIN(CASE WHEN price_reduced <= 0 THEN 9999 ELSE... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353866",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5321818/"
] |
74,353,898 | <h2>Background</h2>
<p>There is a list of frequently asked questions and answers in the form of an accordion UI element:</p>
<pre class="lang-html prettyprint-override"><code><h1>Frequently Asked Questions</h1>
<ol class="accordion">
<li>
<h2>
<button type="bu... | [
{
"answer_id": 74355717,
"author": "slugolicious",
"author_id": 76714,
"author_profile": "https://Stackoverflow.com/users/76714",
"pm_score": 1,
"selected": false,
"text": "<ol> <li> <div> <ol> z-index aria-owns role=\"presentation\" role=\"listitem\" role=\"presentation\" role=\"present... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353898",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16053949/"
] |
74,353,904 | <p><a href="https://i.stack.imgur.com/LyynK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LyynK.png" alt="enter image description here" /></a></p>
<p>I have this if statement in the cshtml of a page. For some reason or another it keeps giving me that the User.Identity.IsAuthenticated is dereference... | [
{
"answer_id": 74354139,
"author": "Dimitris Maragkos",
"author_id": 10839134,
"author_profile": "https://Stackoverflow.com/users/10839134",
"pm_score": 0,
"selected": false,
"text": "@if (User.Identity?.IsAuthenticated == true)\n{\n}\n"
},
{
"answer_id": 74355049,
"author": ... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353904",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18665526/"
] |
74,353,909 | <p>I would like to make a bar plot, where each bar is represented by one of the three columns in this data frame. The 'size' of each bar depends on the sum created by adorn_totals.</p>
<p>Reproducible example:</p>
<pre><code>library(janitor)
test_df <- data.frame(
a = c(1:5),
b = c(1:5),
c = c(1:5)
) %>%... | [
{
"answer_id": 74353991,
"author": "Ric Villalba",
"author_id": 6912817,
"author_profile": "https://Stackoverflow.com/users/6912817",
"pm_score": 3,
"selected": true,
"text": "library(janitor)\nlibrary(ggplot2)\n\ntest_df <- data.frame(\n a = c(1:5),\n b = c(1:5),\n c = c(1:5)\n ) %>... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353909",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20364879/"
] |
74,353,913 | <p>I originally created a diagonal slider using the viewport width and height to determine where each box/image needed to be both on the x and y axis. However, when I started implementing animations the performance started to suffer. This is due to the window size being a dependency of a useEffect.</p>
<p>I am curious ... | [
{
"answer_id": 74353991,
"author": "Ric Villalba",
"author_id": 6912817,
"author_profile": "https://Stackoverflow.com/users/6912817",
"pm_score": 3,
"selected": true,
"text": "library(janitor)\nlibrary(ggplot2)\n\ntest_df <- data.frame(\n a = c(1:5),\n b = c(1:5),\n c = c(1:5)\n ) %>... | 2022/11/07 | [
"https://Stackoverflow.com/questions/74353913",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7065024/"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.