79334591

Date: 2025-01-06 23:49:47
Score: 3.5
Natty:
Report link

Also keen to see if there is a solution to this question.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29081561

79334581

Date: 2025-01-06 23:41:45
Score: 0.5
Natty:
Report link

Define the time range for a quarter, adjusting the zoom behavior, and ensuring smooth transitions between views:

"quarterExt",
"update": "[data('xExt')[0]['s']-oneDay, data('xExt')[0]['s'] + (ganttWidth / 1.5) * oneDay * 90]"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Robin

79334578

Date: 2025-01-06 23:38:42
Score: 6.5 🚩
Natty: 4
Report link

Did you ever get this? I am working on it as well so I'll post. I do have very nice formatted receipts printing with escpos codes. I'll be using OPOS. I also need to get MICR read and check endorsement and maybe check front printing.

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever get this
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Bill Goedert

79334563

Date: 2025-01-06 23:20:39
Score: 4
Natty:
Report link

I want to attach to this question because of the latest Appium.WebDriver for C# doesn't contain in its interface the method getPageSource()

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Marek Forys

79334555

Date: 2025-01-06 23:14:38
Score: 0.5
Natty:
Report link

Solution using Regular Expressions:

#include <iostream>
#include <regex>

std::string line = "{10}{20}Hello World!";

// Regular expression, that contains 3 match groups: int, int, and anything
std::regex matcher("\\{(\\d+)\\}\\{(\\d+)\\}(.+)");

std::smatch match;
if (!std::regex_search(line, match, matcher)) {
  throw std::runtime_error("Failed to match expected format.");
}

int start = std::stoi(match[1]);
int end = std::stoi(match[2]);
std::string text = match[3];
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: dczajkowski

79334553

Date: 2025-01-06 23:13:38
Score: 2.5
Natty:
Report link

I do not have an answer, but I am fighting with a "similar" problem on an Ubuntu 24.04.1 LTS.

Here are some notes that may help.

My problem is related to nvim replacing vim and breaking traditional vim functionalities. Specifically if I install nvim with apt, then it overrides vim and its configs, because of aggressive configurations. specifically, I would like to invoke nvim using "nvim" and vim using "vim". I am fine with vi to be associated with whatever the user prefenvimrs.

on this ubuntu, default neovim is currently 0.9.5-6ubuntu2 (normal apt install, as seen from dpkg --list)

If i uninstall nvim with apt uninstall neovim, the system puts back vim in charge, and apparently everything is fine.

I see that nvim installed via snap behaves more correctly than nvim installed via apt. The snap version is nvim 0.10.3

I also experienced weird behaviors (apparently unrelated to nvim) of tmux. when i operate on the last line of the window, it behaves erratically.

Strangely, I have this problem on a machine where i installed Ubuntu on the bare metal. I do not have it on several ubuntu 24.04 WSL. I am quite sure that in the malfunctioning installation, I was installing tmux, vim and later neovim, all with apt install.

uninstalling nvim with apt remove neovim, all the alternatives were reverted to vim.basic. Reinstalling neovim later with apt install neovim did not recreate the alternatives...

Reasons:
  • Blacklisted phrase (1): I have this problem
  • Blacklisted phrase (1): I do not have an answer
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Marco Guardigli

79334552

Date: 2025-01-06 23:12:37
Score: 3.5
Natty:
Report link

Yes, It works perfectly if both cors and @types/cors packages are installed.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hoang Phu

79334549

Date: 2025-01-06 23:11:37
Score: 0.5
Natty:
Report link

here an example

based on this person script https://www.reddit.com/r/SCCM/comments/cqif5a/visual_c_redist_detection_script/

##check VC Redistributable packages installed
 Get-ChildItem HKLM:\SOFTWARE\WoW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | ForEach-Object { 
    $CurDisplayName = $_.GetValue("DisplayName")
    if( $CurDisplayName -match "^Microsoft Visual C\+\+\D*(?<Year>(\d|-){4,9}).*Redistributable.*") {
        #$Year = $Matches.Year
        echo $Matches.0
    }
}
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: Tilo

79334544

Date: 2025-01-06 23:09:37
Score: 1.5
Natty:
Report link

The solution was as Detlef suggested. I just added .all() to the query.

@classmethod
def find_by_purpose_and_id(cls, client_id, purpose):
    return cls.query.
            filter_by(client_id= client_id,purpose=purpose).all()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Rual

79334541

Date: 2025-01-06 23:05:36
Score: 2.5
Natty:
Report link

After fighting this for a while, I found a solution to my problem. My website has many SVGs, and these SVGs use a custom font that I serve. When I serve these SVGs in an <img> tag, they can't access my custom font (unless I include it in the nested style, which would increase the file size too much for my liking). In order to get around this, I redownloaded each SVG again on DOMContentLoaded, and I replaced the <img> tags with inline versions of the SVGs:

function fetchSVG(svgUrl, resultFunction = null) {
    return fetch(svgUrl)
        .then(response => response.ok ? response.text() : null)
        .then(svgContent => {
            if (svgContent === null) {
                return;
            }

            const svgElement = new DOMParser().parseFromString(svgContent, "image/svg+xml").documentElement;
            svgElement.classList.add("swapped-svg");

            if (resultFunction !== null) {
                resultFunction(svgElement);
            }
        })
        .catch(error => console.error("Error loading SVG:", error));
}

document.addEventListener("DOMContentLoaded", function() {
    function replaceImageWithSVG(imgElement) {
        fetchSVG(imgElement.src, function(svgElement) {
            imgElement.replaceWith(svgElement);
        });
    }

    document.querySelectorAll(".svg-swap").forEach(svgSwap => {
        svgSwap.addEventListener("load", function() {
            replaceImageWithSVG(svgSwap);
        });

        if (svgSwap.complete) {
            replaceImageWithSVG(svgSwap);
        }
    });
});

After disabling this functionality, I saw that caching was working. I don't know the precise reason why, but fetching via JavaScript right away after the images loading via the <img> tag somehow messed with the cache. I found two solutions:

  1. If I didn't use <img> tags for the SVGs initially and I just downloaded them via JavaScript on DOMContentLoaded, the cache would work across refreshes of the website.
  2. If I use the attribute loading="lazy" in the <img> tags, it somehow didn't cause this strange behavior and the cache would still work across refreshes of the website. For those that have the same issue, keep in mind you may not want this lazy loading behavior, so this might not work for you.

As I mentioned, I don't know why "eager" downloading of the SVGs immediately with <img> tags without the attribute and then pulling the SVGs via JavaScript messed with the cache, but lazy loading resolved the issue, so I went with option #2.

Either way, both of my solutions end up doing some sort of lazy loading. If I didn't want this, I think I would have been forced to include font styling inside the SVGs, or I would have had to switch the format of the images from SVG to something else.

Lastly, I would like to confirm that I only originally experienced this issue in Safari on MacOS and all browsers on iOS, and the above two solutions solved the issue.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same issue
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: star8163264

79334518

Date: 2025-01-06 22:46:30
Score: 14 🚩
Natty: 6.5
Report link

I have the same problem and I can't solve it with your hints. As far as I can see the versions of gradle and Java are incompatible. What I don't know is, how to check and administer both versions in my flutter-project.

Could you please give me a further hint?

Thx in advance

Reasons:
  • Blacklisted phrase (1): Thx
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (2.5): Could you please give me
  • RegEx Blacklisted phrase (3): Thx in advance
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: CJBNBG

79334512

Date: 2025-01-06 22:42:26
Score: 7.5 🚩
Natty:
Report link

Do you have the bodyparser implemented in your nodejs app? If not, then iuthe body will alway be null.whats the output of nodejs in console?

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you have the
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Zaaaazzy

79334510

Date: 2025-01-06 22:40:26
Score: 4.5
Natty: 4
Report link

"Cannot compare left expression of type '...' with right expression of type '...' I understand the source of the problem (Hibernate 6.x expects the same data type on join statements) and I know how to fix" can you please elaborate on the solution to this error, I am currently running into the same issue.

Reasons:
  • RegEx Blacklisted phrase (2.5): can you please elaborate
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jean-Leman

79334507

Date: 2025-01-06 22:36:24
Score: 4
Natty: 4.5
Report link

you are putting this in php, or in which, in case you already have a server, but in JavaScript, how would it connect to html, this without using php or another language only with JavaScript How would it be done?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: alondra luna

79334503

Date: 2025-01-06 22:35:21
Score: 12 🚩
Natty: 6.5
Report link

I need some help. I am trying to set a Solana wallet secret key but always gives me the following ERROR - Invalid SOLANA_WALLET_SECRET_KEY format: Cleaned key length is 32, expected 64. Check your key format.

Any suggestions?

Thanks in advance!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): I am trying to
  • Blacklisted phrase (1): I need some help
  • RegEx Blacklisted phrase (3): Thanks in advance
  • RegEx Blacklisted phrase (2): Any suggestions?
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Dr. DrEgYo

79334500

Date: 2025-01-06 22:34:20
Score: 3.5
Natty:
Report link

Easiest way to find location of workbook

?thisworkbook.path

Into the Immediate Window.

Screenshot of Immediate Window

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Mr_robot_mn

79334499

Date: 2025-01-06 22:33:20
Score: 3.5
Natty:
Report link

This violates Telegram ToS and you must not do it.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AYMENJD

79334494

Date: 2025-01-06 22:29:20
Score: 1
Natty:
Report link

Your problem comes from your prediction.
As input, you have an array of vectors and in your first prediction you give an array to your model.
Your model was trained on an array of vectors.
To fix the problem, add a [ ].
This gives:

res = model.predict(testData[[0]])
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ChibiShadow

79334493

Date: 2025-01-06 22:29:20
Score: 1
Natty:
Report link

Not sure if this is still relevant or not but you seem to have a misunderstanding of the paradigm of k8s as it related to pods. Pods are seen as basically throw away. Pod died, start a new one. Pod evicted, start a new one elsewhere, etc. The only times that k8s really keeps them around is some small cases where there's a small hickup actually starting the pod, like resources or such.

In order to get something that will stay alive you want to use something like a Deployment, DaemonSet, StatefulSet, etc. You provide a template spec to these objects and they manage the creation of the Pods for you.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Alex Orange

79334489

Date: 2025-01-06 22:26:19
Score: 1.5
Natty:
Report link

Task managing on Android in that way because more of a performance hindering goal around Android 4 I believe..maybe 5. I forgot Google's URL or I'd look it up real quick but it's not critical info 🤖

I don't even think it's entirely possible with the way android is designed.. now it just sleeps things when it should & wakes if an activity/service/receiver is triggered.. yeah? Yeah.

If you know that why are you so adamant about constantly ending it? I'm curious, I used to go deep on Android kernels & task manager optimization in days of 5 hour batteries, unlocked bootloader's & HTC excellence lol

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: d0x

79334485

Date: 2025-01-06 22:25:19
Score: 0.5
Natty:
Report link

I had the same problem. At my case the solutions above didn't solve my problem.

My issue was,I'm using proxmox hypervisor. my vm servers are connected vm bridge/network which is using MTU 1400. I have to add MTU 1400 to my /etc/network/interfaces at each postgre vms

iface ens18 inet static address xxxxxx gateway xxx # dns-* options are implemented by the resolvconf package, if installed dns-nameservers xxx dns-nameservers yyy dns-search xxxx mtu 1400

Reasons:
  • Whitelisted phrase (-1): I had the same
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ali DoÄŸru

79334483

Date: 2025-01-06 22:23:18
Score: 0.5
Natty:
Report link

the code works when running it as a StackOverflow snippet:

body {
  background-color: rgb(148, 68, 223);
  margin: 50px;
}
#main {
  background-color: rgb(198, 173, 221);
  border-radius: 20px;
  border: 3px solid rgb(165, 116, 211);
  margin: 30px;
}
<html>
  
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Pierogi Lover's Personal Site</title>
    <link href="/style.css" rel="stylesheet" type="text/css" media="all">
  </head>

  <body>
    <div id="flex-container">
      <div id="main">
        <h1>Welcome!</h1>
      </div>
    </div>
  </body>

</html>

thus, it may be an issue with file structure / import.

if both files are in the same folder, then a way to import CSS can be:

<link href="./style.css" rel="stylesheet" type="text/css" media="all">
Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user19259811

79334477

Date: 2025-01-06 22:19:17
Score: 0.5
Natty:
Report link

this is my first answer, I tried to translate teh formulas from PT-BR to EN-US.

Put both Tables formatted as tables. Table2 refers to the right one. Then, paste this on cell A3: =REPLACE(IF([@Type]="BOS",JOINTEXT("/",1;UNIQUE(XLOOKUP([Concept],Table2[Concept Name],Table2[Acct]))),XLOOKUP([@Concept],Tablet2[Concept Name],Table2[Acct])),"0/",""). It worked, I still cannot post images, sorry. Answer Screenshot

Edit1: I changed the ; to , in the formulas.

Reasons:
  • Whitelisted phrase (-1): It worked
  • No code block (0.5):
  • Low reputation (1):
Posted by: Paulo Henrique de Barros Vaz

79334469

Date: 2025-01-06 22:15:17
Score: 1
Natty:
Report link

import matplotlib.pyplot as plt import numpy as np # Dados da tabela umidade_teorica = [0, 2, 4, 6, 8, 10, 12] coef_inchamento = [0, 10, 20, 30, 25, 15, 5] # Plotar os dados originais plt.figure(figsize=(10, 6)) plt.plot(umidade_teorica, coef_inchamento, 'o-', label='Coeficiente de Inchamento') # Ajustar a curva (exemplo simples com polinômio de grau 2) z = np.polyfit(umidade_teorica, coef_inchamento, 2) p = np.poly1d(z) plt.plot(umidade_teorica, p(umidade_teorica), "r--", label='Curva Ajustada') # Traçar a tangente paralela ao eixo da umidade umidade_tangente = 5.95 # valor exemplo, ajuste conforme necessário coef_tangente = 25.10 # valor exemplo, ajuste conforme necessário plt.axhline(y=coef_tangente, color='g', linestyle='--', label='Tangente Paralela') plt.scatter(umidade_tangente, coef_tangente, color='red', label='Ponto Tangente (5.95, 25.10)') # Traçar a corda unindo o ponto de origem ao ponto tangente plt.plot([0, umidade_tangente], [0, coef_tangente], color='blue', linestyle='-', linewidth=2, label='Corda de Origem ao Ponto Tangente') # Personalizar o gráfico plt.xlabel('Umidade Teórica (%)') plt.ylabel('Coeficiente de Inchamento (%)') plt.title('Curva de Inchamento com Tangente e Corda') plt.legend() plt.grid(True

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Luiz Nelson

79334461

Date: 2025-01-06 22:12:16
Score: 0.5
Natty:
Report link

Aha!

I tried this again from my workstation desktop environment, and come to find out that helm was displaying a window to ask for my credentials to access the credentials store.

Since I was logged in via ssh, I never got a window popup.

I'll continue with my bug opened for helm #13594.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Patrick Gardella

79334456

Date: 2025-01-06 22:08:15
Score: 1
Natty:
Report link

Of course, SSDP uses only UDP, not TCP, that's why I hope, that I can use only UDP golang functions to achieve my effect. Now I am trying with something like:

data := []byte(`M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nST: roku:ecp\r\n\r\n`)
        fmt.Printf("sending data: %s\n", string(data))

_, err = connection.WriteToUDP(data, addr)

but with no success for now...

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Abram

79334451

Date: 2025-01-06 22:06:14
Score: 12.5
Natty: 7.5
Report link

I am having the same problem. Did you solve it?

Reasons:
  • RegEx Blacklisted phrase (3): Did you solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: jero lambre

79334436

Date: 2025-01-06 21:58:11
Score: 5.5
Natty:
Report link

Don't use view bots, in this video I explain the problems of using https://youtu.be/6i21EGSNmVQ

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Blacklisted phrase (1): this video
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Eduardo Frans

79334433

Date: 2025-01-06 21:57:10
Score: 0.5
Natty:
Report link

I saw this answer from another post about converting DD–MMM-YY to YYYY-MM-DD in BigQuery using the combination of format_date and parse_date:

SELECT FORMAT_DATE("%Y/%m/%d",PARSE_DATE('%d-%b-%y','31-OCT-20'))

You can follow the format above if you are using Big Query, just change the date value.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: yannco

79334423

Date: 2025-01-06 21:50:07
Score: 13 🚩
Natty: 6.5
Report link

I have the same issue, can anyone help how to solve it? keycloak version is 16.1.1

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Blacklisted phrase (1): how to solve
  • RegEx Blacklisted phrase (1.5): how to solve it?
  • RegEx Blacklisted phrase (3): can anyone help
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29080727

79334422

Date: 2025-01-06 21:50:07
Score: 2
Natty:
Report link

Did you try to #include <cstring> instead of "cstring" ? (assuming that "cstring" is not supposed to be in your includePaths as defined in your JSON).

Reasons:
  • Whitelisted phrase (-2): Did you try
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Lormane

79334400

Date: 2025-01-06 21:37:04
Score: 1
Natty:
Report link

yes , this kind of memory usage is completely normal as far as I have seen. I had a project on a comparitive study between a few custom made models over transfer learning models. There every time I would run each of the models (or worse , all of them on a single notebook in a sequential manner) , it would completely use up all the vram available on the p100 in kaggle and the memory usage shot up to over 22gb the moment model fitting starts.

I would suggest using a lower batch size during fitting in order to reduce the resouce usage slighty , though i am no expert and pretty much a novice. I would also suggest you to try different learning rates and optimziers as well and reduce the number of epochs, as in my experience after about 40 - 50 epochs , there's barely any noticeable difference.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Subho

79334388

Date: 2025-01-06 21:34:03
Score: 2
Natty:
Report link

There is a file called ListViewWidget.scss, but Guidewire in Guidewire Studio has it in a folder that they reserve as non-editable. If you do edit the file, you can adjust the css for the ListViewWidget.

Eg. something like this

enter image description here

results in the paging controls being shifted to the left and no longer right-justified enter image description here

This could be something you could play with, but I dont think it would be Guidewire approved.

Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: grambo25

79334386

Date: 2025-01-06 21:33:03
Score: 1
Natty:
Report link

Does this solve your problem?

@ECHO OFF
SETLOCAL
set "var1=Hello world"
Echo var1 before: %var1%
call:myDosFunc var1 
Echo var1 after : %var1%
goto :eof

:myDosFunc    -- passing a variable by reference, and changing value
echo   Notice that a variable passed by reference does NOT echo the value, and it echos the variable name instead.

CALL SET "arg2=%%%~1%%"
echo %arg2%
echo   Arg1 variable name = '%~1' and Arg2 value = '%~2'
set "%~1=Good bye world!!!"
goto :eof
Reasons:
  • RegEx Blacklisted phrase (1.5): solve your problem?
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Magoo

79334380

Date: 2025-01-06 21:31:02
Score: 2
Natty:
Report link

I believe the save(...) method is marked with @Transactional meaning that a transaction is started and committed each time the save method is called in the for loop.

I'd first start by following the advice in this blog to enable SQL logging (which will you better understand the SQL that is generated by JPA).

Then I'd follow the bulk insert advice in this StackOverflow post and see if you get better performance.

Lastly, if you're going to be using JPA for persistence, I can't recommend Vlad Mihalcea's blog enough. You'll find a TON of valuable insights.

Reasons:
  • Blacklisted phrase (1): this blog
  • Blacklisted phrase (1): StackOverflow
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: wmkoch

79334370

Date: 2025-01-06 21:28:01
Score: 0.5
Natty:
Report link

You were almost there. Just add +1 on this line:

ax.set_yticks(np.arange(0, max_y + 1, increment))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: rehaqds

79334364

Date: 2025-01-06 21:24:00
Score: 2
Natty:
Report link

Yes Sir,it will. Your custom properties get passed to the template so you can reference it via mustache np

Sorry out the short answer I gotta go somewhere but I'll try to remember to come back and fill it out a bit if you want & nobody else has by then

Have fun!

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: d0x

79334361

Date: 2025-01-06 21:22:00
Score: 3
Natty:
Report link

This solved an issue I have with an assertion failure when calling waitonmouseevents in fortran2025. However, it also disable by break points.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: CLM

79334356

Date: 2025-01-06 21:19:59
Score: 0.5
Natty:
Report link

Utilizing the Full Text Search capability appears to provide the solution based on this post.

On the MongoDB create a text index, on the Foo collection, using a wildcard to index all document content. In my API I can then perform the search using that index:

var filter = Builders<Foo>.Filter.Text(request.Term);
await _foo.Find(filter).ToListAsync()
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Leigh.D

79334345

Date: 2025-01-06 21:13:58
Score: 3.5
Natty:
Report link

This was actually solved by passing empty text to buton as property .command(text="").

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Jan Vaško

79334342

Date: 2025-01-06 21:12:57
Score: 1.5
Natty:
Report link

I was running into the same thing and the version I installed was v5.0.0

I downgraded to v4.2.1 and it is rendering now. I have an older version of react so I'm wondering if this had something to do with it, but I'm thinking this could help you as well.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: aaron.v

79334338

Date: 2025-01-06 21:10:57
Score: 1.5
Natty:
Report link

Try adding this to your theme's stylesheet:

.submenu {
overflow-y: scroll;
height: 500px;

}

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Michael

79334337

Date: 2025-01-06 21:10:57
Score: 3.5
Natty:
Report link

On most of cases oblique projection is enought. https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Camera-projectionMatrix.html

solve this following https://jsantell.com/portals-with-asymmetric-projection/

In the case the projection is arbitrary y can resolve using this https://github.com/etienne-p/UnityHomography

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Seyacat

79334327

Date: 2025-01-06 21:05:55
Score: 1.5
Natty:
Report link

According to Rory Braybrook (see this Medium article), you can use a "domain_hint". Also see this SO answer.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Jeff Codes

79334323

Date: 2025-01-06 21:04:55
Score: 1
Natty:
Report link

The {ranger} package offers this option via always.split.variables. The package is very fast as well.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: Michael M

79334319

Date: 2025-01-06 21:02:55
Score: 2.5
Natty:
Report link

Recently I wrote article how SSH port forwarding works and how to implement it in Rust:

https://dev.to/bbkr/ssh-port-forwarding-from-within-rust-code-5an

I hope it answers your question.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
Posted by: Pawel Pabian bbkr

79334316

Date: 2025-01-06 21:01:54
Score: 1
Natty:
Report link

There are several issues in the code above.

  1. In VolumeItem, you have two CellItem with the same value for the id prop. Try removing those props or use unique ids.
  2. TextField is using controlled value but setValue is never called.
  3. In onValueChange, e.stopPropagation() and e.preventDefault() are not necessary.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Soetji Anto

79334312

Date: 2025-01-06 21:00:54
Score: 1.5
Natty:
Report link

passwordCracker.py > ...

1 from random import *

5

6

7

8

9

2

3

4

import os

u_pwd = input("Enter a password: ")

pwd=['a','b', 'c', 'd', 'e', 'f','g', 'h','i' '1', '2', '3', '4', '5', '6']

pw=""

while(pw!=u_pwd):

pw=""

for letter in range(len(u_pwd)):

10

guess_pwd = pwd [randint(0,17)]

11

pw=str(guess_pwd)+str(pw)

12

print(pw)

13

print("Cracking Password...Please

14

os.system("cls")

15

print("Your Password Is :",pw)

16

17

#LET'S CRACK-IT!

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Manjeet Chahal Mr Mone

79334294

Date: 2025-01-06 20:51:52
Score: 4
Natty:
Report link

This question has now been answered in the comments. You'll need to expand the comments to see the answer. Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ambassador

79334293

Date: 2025-01-06 20:51:52
Score: 2
Natty:
Report link

See Thomas's answer in comments.

Link also provided here: github.com/microsoftgraph/msgraph-sdk-powershell/issues/1622

I just needed to add a @( ) to the variable of "ResourceAccess" under -RequiredResourceAccess.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Harry

79334291

Date: 2025-01-06 20:50:51
Score: 3
Natty:
Report link

Problem solved. I had changed the namespace to another package.

Created a new project with the correct namespace, then it works.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: rphl

79334290

Date: 2025-01-06 20:49:49
Score: 11.5 🚩
Natty:
Report link

I have a similar problem, and I would like to know if your solution worked. I am trying to use the code below for my structure, but I have not had success yet. Can you help me?

Basically, what I need to do is select the tree item by name and then set its checkbox to true. Because when recording the script directly through SAP, it searches for the file by its Child identifier, as below:

session.findById("wnd[0]/usr/cntlTREE_CONTAINER/shellcont/shell").selectItem "Child12","2"
session.findById("wnd[0]/usr/cntlTREE_CONTAINER/shellcont/shell").ensureVisibleHorizontalItem "Child12","2"
session.findById("wnd[0]/usr/cntlTREE_CONTAINER/shellcont/shell").changeCheckbox "Child12","2",true
session.findById("wnd[0]/usr/btnVALIDAR").press
session.findById("wnd[1]/tbar[0]/btn[0]").press
session.findById("wnd[0]/usr/cntlTREE_CONTAINER/shellcont/shell").selectItem "Child11","1"
session.findById("wnd[0]/usr/cntlTREE_CONTAINER/shellcont/shell").ensureVisibleHorizontalItem "Child11","1"
session.findById("wnd[0]/usr/cntlTREE_CONTAINER/shellcont/shell").changeCheckbox "Child11","1",true
session.findById("wnd[0]/usr/btnVALIDAR").press

My tree: enter image description here

MyCode

If Not IsObject(application) Then
   Set SapGuiAuto  = GetObject("SAPGUI")
   Set application = SapGuiAuto.GetScriptingEngine
End If
If Not IsObject(connection) Then
   Set connection = application.Children(0)
End If
If Not IsObject(session) Then
   Set session    = connection.Children(0)
End If
If IsObject(WScript) Then
   WScript.ConnectObject session,     "on"
   WScript.ConnectObject application, "on"
End If
Set tree = session.findById("wnd[0]/usr/cntlTREE_CONTAINER/shellcont/shell")
Set ListNodeKeys = tree.getallnodekeys
For Each nodeKey In ListNodeKeys
   If nodeText = "File_Name" Then
        tree.selectItem (nodeKey)
        tree.ensureVisibleHorizontalItem (nodeKey)
        tree.changeCheckbox (nodeKey),true
   End If
Next nodeKey     

Reasons:
  • Blacklisted phrase (1.5): I would like to know
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): I have a similar problem
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): I am trying to
  • Blacklisted phrase (1): enter image description here
  • RegEx Blacklisted phrase (3): Can you help me
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I have a similar problem
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Leonardo Batista

79334284

Date: 2025-01-06 20:47:48
Score: 2
Natty:
Report link

For me, I was running 2 yarn installs simultaneously on 2 different projects on my machine and that caused the issue. I had to do the installs one after the other.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Chris

79334276

Date: 2025-01-06 20:43:47
Score: 3
Natty:
Report link

Inheriting from the desired type worked and expressed what I want most succinctly:

public class ListOfStringUtility : List<string> {
  public List<string> Items { get; set; }
  //...and appropriate supporting methods for just that one public property/field...
}

Thanks again, @Ctznkane525 and @gunr2171, for your prompt answers!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • User mentioned (1): @Ctznkane525
  • User mentioned (0): @gunr2171
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: James Craig Burley

79334274

Date: 2025-01-06 20:43:47
Score: 1.5
Natty:
Report link

I added this at the Manifest and worked:

android:enableOnBackInvokedCallback="true"
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Emiliano Schiavone

79334272

Date: 2025-01-06 20:42:47
Score: 0.5
Natty:
Report link

Update to Git Flow

What you have is a decent start and essentially follows basic git flow. However one suggestion I would have is not having branches for specific people, instead specific features which will set you up for a real git flow.

Furthermore instead of constantly freely merging (especially onto main) you could start using pull requests. When linking pull requests to feature branches you gain more control and a better history of updates.


Here is an example of typical git flow for any application:

your 'test' branch is equivalent to the 'development' branch in the diagram below

Typical Git Flow

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Kyle The Wizard

79334271

Date: 2025-01-06 20:42:47
Score: 2
Natty:
Report link

I just used two different autolayout calls.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Sonicsmooth

79334267

Date: 2025-01-06 20:40:46
Score: 1
Natty:
Report link

Here are several similar blocks in MSL: CombiTable1Ds, CombiTable2Ds, and CombiTimeTable. Not sure which you mean and I use CombiTimeTable, but the same principle described below holds for all of them.

You need to provide the table size information to CombiTimeTable at time of translation. Thus at least a dummy table that settle the size and you can read that from a file.

After translation and before simulation, you can change the values in the table but you cannot change the size.

The details of how to make your file in a proper way you find here:

https://doc.modelica.org/Modelica%204.0.0/Resources/helpWSM/Modelica/Modelica.Blocks.Sources.CombiTimeTable.html

I am not sure I understand correctly what you means with "I want to dynamically assign it", but it sounds to me like after translation and before simulation, and then you have the limitations as described.

I must also admit that I have not access to Dymola and I base my answer on what holds for Modelica in general.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
Posted by: janpeter

79334265

Date: 2025-01-06 20:39:46
Score: 2.5
Natty:
Report link

Starting with SvelteKit 2.14, hash-based routing can be configured via svelte.config.js.

export default {
  kit: {
    router: { type: 'hash' }
  }
}
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Chris Hubbard

79334262

Date: 2025-01-06 20:37:46
Score: 2
Natty:
Report link

I just came across a similar problem, but with glfw. If you manually included the library, you probably want to make a new project because I have no idea how to revert all those settings back to normal. What you want to do is follow all these instructions: https://learn.microsoft.com/en-us/vcpkg/get_started/get-started-msbuild?pivots=shell-powershell, and make sure manifest mode is enabled in your project settings. then run your program once and visual studio will download the library. make sure you include dependencies.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kris

79334256

Date: 2025-01-06 20:33:45
Score: 3.5
Natty:
Report link

I've got same issue. Its typical JavaScript project with ESLint and TypeScript without any extra plugins.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nikola

79334252

Date: 2025-01-06 20:31:45
Score: 3
Natty:
Report link

It turns out that the issue was not having a SSH connection to the computers that can connect to the database. Also, the only change needed to the files is in the yaml file keeping the one line commented out; the entry point does not need to change.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: mendesd

79334251

Date: 2025-01-06 20:31:45
Score: 2
Natty:
Report link

Answering in case someone comes across this in the future. I had to cache my routes with php artisan route:cache and it started working correctly.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Justin Dreher

79334235

Date: 2025-01-06 20:22:43
Score: 1.5
Natty:
Report link

I believe the issue came from misconfigured services in my program.cs file.

builder.Services.AddAuthorization(options => {
    options.FallbackPolicy = options.DefaultPoicy;
});
builder.Services.AddCascadingAuthenticationState();

seemed to be the missing pieces needed to get this to work.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Sunkist

79334233

Date: 2025-01-06 20:21:43
Score: 0.5
Natty:
Report link

Problem Explained:

I use Next A LOT - this is a common question/concern but is actually totally normal and working as expected. Next is letting you know code is being injected.

This happens often when you have browser extensions that modify code after next hydrates it which is why sometimes it is flagged as a hydration warning.

The obvious flag here is Date.now and Math.random, these are clearly not in your new app and is common code used in extensions.

Solution Explained:

start removing chrome extensions such as Grammerly, css color pickers, or things like json converters that overlay the page etc.

If you do not have extensions like this then just remove them one by one (you can add them back easy). You'll notice that when you remove them, the error will no longer exist.

As soon as you find the extension causing the issue then simply disable it or do not use it while debugging your application.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Kyle The Wizard

79334232

Date: 2025-01-06 20:21:42
Score: 4
Natty: 4.5
Report link

I tried reading through https://github.com/dart-lang/dart-pad/issues/3061

apparently you'll need at least dart 3.6

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jehoshaphat Obol

79334212

Date: 2025-01-06 20:13:40
Score: 1
Natty:
Report link

If anyone encounters a similar issue:

In my case, the problem was related to the domain where the video was hosted, which did not match my site's domain. For instance, my site was hosted on wordpress.com, BUT the videos were hosted on video.wordpress.com. When I migrated my site to my own hosting, with the video hosted on the same domain as my site, it resolved the issue.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Striffly

79334206

Date: 2025-01-06 20:09:39
Score: 2
Natty:
Report link

It also ensures you will only be running one core of a multicore machine.

Try cpu-init-udelay=1000 first. Works better on my Asus motherboard, where the only other options to boot were noapci and noapic

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Richard

79334204

Date: 2025-01-06 20:08:39
Score: 1
Natty:
Report link

Is there a way to do the if/else chain without starting with an if(0)?

I don't know of a better way to generate an if-else chain with macros. I agree it does look a little hacky.

However, here's another way way to validate that this string is one in the set built from X-Macros that compiles for C++14. Up to your taste if you think its better or not for your codebase.

#include <set>
#include <string>

void validate_string(std::string some_thing) {
    /* Build the set of strings to test against with X-Macros */
    static const std::set<std::string> validate_set = {
    #define X(name) #name,
    MY_LIST
    #undef X
    };

    if (validate_set.find(some_thing) != validate_set.end()){
        /* Then some_thing is one of the compile time constants */
    }
    
}
Reasons:
  • Blacklisted phrase (1): Is there a way
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is there a
Posted by: GandhiGandhi

79334199

Date: 2025-01-06 20:05:38
Score: 1
Natty:
Report link

The recommended way to sort columns from Arcpy is this:

    import arcpy

fc = 'c:/data/base.gdb/well'
fields = ['WELL_ID', 'WELL_TYPE']

# Use ORDER BY sql clause to sort field values
for row in arcpy.da.SearchCursor(
        fc, fields, sql_clause=(None, 'ORDER BY WELL_ID, WELL_TYPE')):
    print(u'{0}, {1}'.format(row[0], row[1]))

See 5B: https://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-data-access/searchcursor-class.htm#P_GUID-3CB1DFF4-983D-445F-9CB2-0FF1CD4B4880

After reading: https://community.esri.com/t5/python-questions/sql-clause-in-arcpy-da-searchcursor-is-not/td-p/51603

I found this reference in the documentation of ArcGIS: https://pro.arcgis.com/en/pro-app/latest/help/analysis/geoprocessing/basics/the-in-memory-workspace.htm

Limitations Memory-based workspaces have the following limitations:

Memory-based workspaces do not support geodatabase elements such as feature datasets, relationship classes, attribute rules, contingent values, field groups, spatial or attribute indexes, representations, topologies, geometric networks, or network datasets.

Specifically Attribute indexes means you cant sort.

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: P.Harrison

79334198

Date: 2025-01-06 20:04:37
Score: 0.5
Natty:
Report link
<!-- https://mvnrepository.com/artifact/com.itextpdf/itext-core -->
<dependency>
    <groupId>com.itextpdf</groupId>
    <artifactId>itext-core</artifactId>
    <version>9.0.0</version>
    <type>pom</type>
</dependency>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: blackmoon

79334195

Date: 2025-01-06 20:04:37
Score: 1
Natty:
Report link

If we publish it in the public folder, people who have the link can openly view this file. For example: example.com/storage/files/abcd1234.png . Anyone can visit this link and view it.

I was advised to access via url using storage facede for this. not sure if it is the best solution.

Here is a code example.

Route::get('/storage/products/{path}', function ($path) {
        $path = 'products/' . $path;
        if (!Storage::disk('local')->exists($path)) {
            abort(404);
        }
    
        $file = Storage::disk('local')->get($path);
        $mimeType = Storage::disk('local')->mimeType($path);
    
        return Response::make($file, 200)->header("Content-Type", $mimeType);
})
Reasons:
  • Blacklisted phrase (1): this link
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kadir Bay

79334194

Date: 2025-01-06 20:03:36
Score: 4
Natty:
Report link

Yes you can do that. In Metrics Explorer, choose Consumed API > API > Request Count as your metric. Then the key is to set Aggregator: Unaggregated(none), and then click Add aligner (its at the bottom of the aggregator menu), and for alignment function choose Sum.

(this is based on a similar answer about Google Cloud Run: How can I see request count (not rate) for a Google Cloud Run application?

Reasons:
  • Blacklisted phrase (0.5): How can I
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: danevil

79334190

Date: 2025-01-06 20:01:35
Score: 2
Natty:
Report link

For me the issue was that i recently added the package expo-auth-session to use Google Sign in, but I never re-built the app into a new development build. expo-auth-session is a native package so this is required after you install it. I am not sure why it was giving me the "Cannot find native package ExpoApplication" error.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Darren Jackson

79334180

Date: 2025-01-06 19:57:34
Score: 0.5
Natty:
Report link

Introduction

In this post, I will share how to configure Azure AD B2C Custom Policies to dynamically generate a bearer or access token using a token endpoint. This is particularly useful for scenarios where you need to authenticate with a third-party system or API and retrieve dynamic access tokens.

Why This is Useful

Simplifies API authentication by automating token retrieval. Makes it easy to integrate with systems requiring OAuth 2.0 authentication. Enhances the capabilities of Azure AD B2C Custom Policies for advanced scenarios.

Key Concepts

Claims and Technical Profiles: Define claims to hold required values (e.g., client_id, client_secret) and use a Technical Profile to call the token URL. Service URL: Points to the OAuth token endpoint, typically in the format: https://login.microsoftonline.com/``/oauth2/token. Claims Transformation: Ensures that the received access token (bearerToken) can be used in subsequent steps. Step-by-Step Guide

Define Claim Types 1)Define the claims required for the token generation. Place this under the section of your custom policy XML:

<ClaimType Id="grant_type">
  <DisplayName>grant_type </DisplayName>
  <DataType>string</DataType>
  <DefaultPartnerClaimTypes>
    <Protocol Name="OAuth2" PartnerClaimType="grant_type" />
  </DefaultPartnerClaimTypes>
</ClaimType>
<ClaimType Id="client_id">
  <DisplayName>Client ID</DisplayName>
  <DataType>string</DataType>
  <DefaultPartnerClaimTypes>
    <Protocol Name="OAuth2" PartnerClaimType="client_id" />
  </DefaultPartnerClaimTypes>
</ClaimType>
<ClaimType Id="client_secret">
  <DisplayName>Client secret</DisplayName>
  <DataType>string</DataType>
  <DefaultPartnerClaimTypes>
    <Protocol Name="OAuth2" PartnerClaimType="client_secret" />
  </DefaultPartnerClaimTypes>
</ClaimType>
<ClaimType Id="resource">
  <DisplayName>resource</DisplayName>
  <DataType>string</DataType>
  <DefaultPartnerClaimTypes>
    <Protocol Name="OAuth2" PartnerClaimType="resource" />
  </DefaultPartnerClaimTypes>
</ClaimType>

Note :You can try by providing the values here or in the Technical profile as well it is up to you.

2) Create the Technical Profile This profile retrieves the access token from the token URL and stores it in the bearerToken claim. Place this under the section:

<TechnicalProfile Id="OAuth2BearerToken">
  <DisplayName>Get OAuth Bearer Token</DisplayName>
  <Protocol Name="Proprietary" Handler="Web.TPEngine.Providers.RestfulProvider, Web.TPEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
  <Metadata>
    <Item Key="ServiceUrl">https://login.microsoftonline.com/<YourTeanantId>/oauth2/token</Item>
    <Item Key="HttpMethod">POST</Item>
    <Item Key="AuthenticationType">None</Item>
    <Item Key="HttpBinding">POST</Item>
    <Item Key="SendClaimsIn">Form</Item>
    <Item Key="Content-Type">application/x-www-form-urlencoded</Item>
  </Metadata>
  <InputClaims>
    <InputClaim ClaimTypeReferenceId="client_id" PartnerClaimType="client_id" DefaultValue="Your_Client_Id" AlwaysUseDefaultValue="true" />
    <InputClaim ClaimTypeReferenceId="client_secret" PartnerClaimType="client_secret" DefaultValue="Your_Client_Secret" AlwaysUseDefaultValue="true" />
    <InputClaim ClaimTypeReferenceId="resource" PartnerClaimType="resource" DefaultValue="resource id (Optional)" AlwaysUseDefaultValue="true" />
    <InputClaim ClaimTypeReferenceId="grant_type" PartnerClaimType="grant_type" DefaultValue="client_credentials" AlwaysUseDefaultValue="true" />
  </InputClaims>
  <OutputClaims>
    <OutputClaim ClaimTypeReferenceId="bearerToken" PartnerClaimType="access_token" DefaultValue="default token" />
  </OutputClaims>
  <UseTechnicalProfileForSessionManagement ReferenceId="SM-Noop" />
</TechnicalProfile>
3) Integrate with the Orchestration Step Use the OAuth2BearerToken Technical Profile in your orchestration journey. For example:

<OrchestrationStep Order="1" Type="ClaimsExchange">
  <Preconditions>
    <Precondition Type="ClaimEquals" ExecuteActionsIf="true">
      <Value>bearerToken</Value>
      <Value>NOT_EMPTY</Value>
      <Action>SkipThisOrchestrationStep</Action>
    </Precondition>
  </Preconditions>
  <ClaimsExchanges>
    <ClaimsExchange Id="GetBearerToken" TechnicalProfileReferenceId="OAuth2BearerToken" />
  </ClaimsExchanges>
</OrchestrationStep>

Tips and Best Practices

Always use secure methods to manage client_id and client_secret. Validate the token endpoint and ensure it adheres to OAuth 2.0 standards. Log outputs in development for debugging purposes but avoid exposing sensitive data.

Conclusion

By following these steps, you can dynamically generate bearer tokens in Azure AD B2C Custom Policies, simplifying secure integrations with external systems.

Same I have tried in Postman collection enter image description here Hope this helps :) Thanks, Vamsi Krishna Chaganti

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): Hope this helps
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Vamsi Krishna

79334171

Date: 2025-01-06 19:53:34
Score: 2
Natty:
Report link

For organizations, visit: https://github.com/orgs/org-name/packages

For users, visit: https://github.com/username?tab=packages

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: xuhdev

79334163

Date: 2025-01-06 19:51:33
Score: 1.5
Natty:
Report link

Screen readers will read SVG by default, so you're right you should use aria-hidden="true" to hide it

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: user19259811

79334160

Date: 2025-01-06 19:49:33
Score: 3
Natty:
Report link

this Link is No Longer Available http://behance.net/dev/apps i don't know why and i'm Also want to do the same thing, i have a website, i don't know how to link Behance APi Key to a Plugin on WordPress, Please if you find the new Page To Create Apps on Behance Tell me and i Appreciate That.

Reasons:
  • Blacklisted phrase (1): this Link
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Eljamali Said

79334158

Date: 2025-01-06 19:48:32
Score: 2
Natty:
Report link

Compiler Explorer, same compiler settings. -O3 optimizes all of this code away and just prints the number.

https://godbolt.org/z/r4hnvqd6s

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Lord Alveric

79334147

Date: 2025-01-06 19:44:31
Score: 1
Natty:
Report link

By default, screen readers will announce the <svg> content if it is accessible. So yeah, you should hide it using aria-hidden :)

<svg width="1em" class="inline" aria-hidden="true"><use href="#start-icon"></use></svg>

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: FlyingEagle2512

79334145

Date: 2025-01-06 19:44:31
Score: 3
Natty:
Report link

Btw: As of today, January 6, I got a message from ngrok that my quota was exceeded for the rest of the month! It was fine as long as it lasted...

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Michael Uhlenberg

79334138

Date: 2025-01-06 19:41:30
Score: 2
Natty:
Report link

Yes you need a device and some TV or monitor to connect it by HDMI. BUT If you want mobility of developing you can connect your Roku device by Video Capture Card (HDMI -> USB) and connect it just like a webcam.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Oleksandr Shchyrov

79334129

Date: 2025-01-06 19:37:29
Score: 0.5
Natty:
Report link

You need to save as 24-bit, which is not the default. The default is 256-color, and that's why the color's messed up.

Try here

Reasons:
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Xavier J

79334116

Date: 2025-01-06 19:30:28
Score: 2.5
Natty:
Report link

My best guess would be related to the installed version of java on your system. all versions 1.16.5 and before use java 8 not java 17+ most users have java 8 installed already but check anyway

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lex

79334111

Date: 2025-01-06 19:28:27
Score: 1
Natty:
Report link

good afternoon.

Just invert the inheritance order of the first two classes, as well as the inheritance of SQLModel as below:

Your code

class UserRead(SQLModel):
    id: uuid.UUID

class UserBase(UserRead):
    full_name: str
    email: EmailStr
    is_active: bool = True
    is_superuser: bool = False

Below is my code

from typing import Optional
from datetime import datetime
from sqlmodel import Field, SQLModel

class AutoExecutaBaseId(SQLModel):
    """
    BASE DATA MODEL - Auto-execute table
    """

    id: Optional[int] = Field(default=None, primary_key=True)

class AutoExecutaBase(AutoExecutaBaseId):
    """
    BASE DATA MODEL - Auto-execute table
    """

    state: bool = Field(default=False, nullable=False)
    next_execution: Optional[datetime] = Field(default=None, nullable=True)

class AutoExecuta(AutoExecutaBase, table=True):
    """
    ORM DB MODEL - Auto-execute table
    """

    __tablename__ = 'auto_execute'

class AutoExecutaPublico(AutoExecutaBase):
    """
    PUBLIC MODEL - Auto-execute table
    """

    pass

It will work!

Considering the mro() Method Resolution Order, first load the inheritance.

Therefore, to avoid having to mess with the resolution method with magic methods like new or any other means, just do this!

The logic is not to replicate table attributes, unless it is really necessary.

I also wished that the first column would be the id.

This is my table

[table with correct order][1] [1]: https://i.sstatic.net/lCzyVw9F.png

Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): good afternoon
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Junior Leal

79334107

Date: 2025-01-06 19:28:27
Score: 3
Natty:
Report link

Stimulus already handle the removing, no need to do it yourself :-)

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Teddy Valente

79334102

Date: 2025-01-06 19:25:26
Score: 2.5
Natty:
Report link

Apoorva Chikara's response mentioned the option of doing this in a hybrid way, and in my opinion, it seems to be one of the most interesting options. This approach seems to make it easier to organize translations, especially if it's a large and complex project.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Fernanda Campos

79334098

Date: 2025-01-06 19:22:26
Score: 3
Natty:
Report link

For C++ I searched for C_Cpp.clang_format_fallbackStyle in Settings and changed it to { BasedOnStyle: Google, IndentWidth: 4 }. Now my braces are in sameLine.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Marios Papadakis

79334093

Date: 2025-01-06 19:20:25
Score: 1
Natty:
Report link

If i understand it correctly then your example is wrong ssdp is udp so you need to create a UDP package. ssdp send its payload in http Format over udp so you can only use "Net". Your example shows a http request what should not work because it use TCP. So you can create the ssdp request with Sprintf, or Just a predifined string because i Thing it would always be the same, and send the Bytes via udp

Reasons:
  • No code block (0.5):
  • Single line (0.5):
Posted by: Christoph

79334092

Date: 2025-01-06 19:20:23
Score: 13 🚩
Natty:
Report link

were you able to resolve it?

I'm working on a similar use case where I'm uploading images to media library and then extracting their hash using API.

Upload script worked well and all the required files are uploaded which I can see on the platform but when i'm trying to extract the hash, name and created date using API or even query explorer I only get 1663 images whereas there are more than 10000 images in the media library.

What I think is that maybe I'm only able to get the data for all the files that were uploaded manually and not the ones that were uploaded using API.

What bothers me the most is that I'm getting the data but it's incomplete, did you got it working? were you able to extract data for all the files that you uploaded using API?

Reasons:
  • RegEx Blacklisted phrase (3): did you got it
  • RegEx Blacklisted phrase (1.5): resolve it?
  • RegEx Blacklisted phrase (3): were you able
  • RegEx Blacklisted phrase (2): working?
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user29079364

79334090

Date: 2025-01-06 19:19:23
Score: 1
Natty:
Report link

Answer based on @dale-k's comment:

ORDER BY
  CASE WHEN :sortField = 'creationDate' AND :sortDirection = 'DESC' THEN update_.creation_date END DESC,
  CASE WHEN :sortField = 'creationDate' AND :sortDirection = 'ASC' THEN update_.creation_date END ASC,
  CASE WHEN :sortField is NULL THEN update_.default_time_field END DESC;
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @dale-k's
  • Self-answer (0.5):
Posted by: ritratt

79334084

Date: 2025-01-06 19:17:22
Score: 2
Natty:
Report link

Just to correct what @gabriel.hayes said:

.then() is not recursive. Each step is independent of the next, with only the resolved value being passed along, thus once a .then() step completes, its memory can usually be released unless it holds references.

In contrast, recursion involves a function calling itself (or another function in a recursive chain). Each step in a recursive process remains unresolved until all subsequent steps resolve. For example, if Func(n) calls Func(n+1), it cannot finish until Func(n+1) resolves, which in turn depends on Func(n+2), and so on. This creates a stack of unresolved calls that stays in memory until the recursion fully unwinds.

You can think of .then() as passing a message along a chain: once the message is passed, you're done. In recursion, each step requests something from the next and must wait for a response, leaving it unresolved until the response arrives.

An analogy for this could be a restaurant:

So no, every part of the .then() chain is not retained in memory until the final step resolves.

If you want a more in-depth look at how it works under the hood, this video does a great job of visualizing it.

And as we just entered 2025, I'm wishing you all a Happy New Year! 🎉

Reasons:
  • Blacklisted phrase (0.5): best regards
  • Blacklisted phrase (1): regards
  • Blacklisted phrase (1): this video
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sir. ZyPA

79334083

Date: 2025-01-06 19:17:22
Score: 9
Natty: 7.5
Report link

I have the same question. Is there an R equivalent of STATA's metobit?

Reasons:
  • Blacklisted phrase (1): I have the same question
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same question
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Roozm Safi

79334064

Date: 2025-01-06 19:11:20
Score: 1
Natty:
Report link

You can take screenshots and even record video of any app on your device. For doing that you need to buy Video Capture Card (HDMI -> USB) and than it will connect to your PC as webcam. This is good think for demo and mobility (You can test your app even without an external monitor or TV) just with your laptop.

But you cannot take screenshots of apps except dev one. If this is your case and you want to take a screenshot of your dev app you need to open device ip in browser and in Tools select create a screenshot.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Oleksandr Shchyrov

79334063

Date: 2025-01-06 19:10:19
Score: 2
Natty:
Report link

Try get component FreeLook from the script: var freeLook_cam = <CinemachineFreeLook>(); and then set the FOV value: freeLook_cam.m_Lens.FieldOfView = value;

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: trollik223

79334051

Date: 2025-01-06 19:04:18
Score: 1.5
Natty:
Report link

Try adding view-transition-name: anything to your sticky elements. The value can be literally anything and does not even have to have the old and new state. This fixed the problem for me.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user19610670

79334039

Date: 2025-01-06 18:59:16
Score: 0.5
Natty:
Report link

I haven't used it, but I've heard people recommend GrayLog.

The Open version seems like what you're looking for.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Mihail Minkov

79334036

Date: 2025-01-06 18:58:16
Score: 1.5
Natty:
Report link

Change final AgroData? agroData; to required AgroData agroData; where you define your entity. That's because don't support nullables.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dario Herrera Velasco

79334032

Date: 2025-01-06 18:56:16
Score: 1.5
Natty:
Report link

I am facing the same issue with it today, even the older versions of code isn't working which was working fine till yesterday.

I literally went through 1000s of lines to code comments/uncommenting and trying to make it work as my production build is failing.

Please someone help with the resolution.

Here is the issue I am facing

 npm run build --debug

> [email protected] build
> vite build

vite v6.0.7 building for production...
✓ 2302 modules transformed.
x Build failed in 8.28s
error during build:
[vite:esbuild-transpile] Transform failed with 1 error:
assets/index-!~{001}~.js:81956:38160: ERROR: Unexpected "case"

Unexpected "case"

_Error logs of 781 lines. .... here_
                                                                                                                                                                                                                          ^
81957|  /**
81958|   * @license

    at failureErrorWithLog (/Users/akashrathor/Personal/referlynk/node_modules/esbuild/lib/main.js:1476:15)
    at /Users/akashrathor/Personal/referlynk/node_modules/esbuild/lib/main.js:755:50
    at responseCallbacks.<computed> (/Users/akashrathor/Personal/referlynk/node_modules/esbuild/lib/main.js:622:9)
    at handleIncomingPacket (/Users/akashrathor/Personal/referlynk/node_modules/esbuild/lib/main.js:677:12)
    at Socket.readFromStdout (/Users/akashrathor/Personal/referlynk/node_modules/esbuild/lib/main.js:600:7)
    at Socket.emit (node:events:520:28)
    at addChunk (node:internal/streams/readable:559:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
    at Readable.push (node:internal/streams/readable:390:5)
    at Pipe.onStreamRead (node:internal/stream_base_commons:191:23)
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I am facing the same issue
  • Low reputation (0.5):
Posted by: Akash Rathor

79334022

Date: 2025-01-06 18:50:13
Score: 14.5
Natty: 7.5
Report link

I have the same problem, do you have a solution?

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Blacklisted phrase (3): have a solution?
  • RegEx Blacklisted phrase (2.5): do you have a
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Italo Goes