79369385

Date: 2025-01-19 17:13:14
Score: 1
Natty:
Report link

channel.setSound(null, null);

this worked for me

Reasons:
  • Whitelisted phrase (-1): this worked for me
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Husnain Rafique

79369383

Date: 2025-01-19 17:12:13
Score: 1
Natty:
Report link
  1. mean_square_error is a single number, so mean1 takes the mean of that number, which returns the number.

  2. Where is mean evaluated?

  3. Again, as mean_square_error is a single number, the standard deviation of it is zero.

  4. accuracy rounds numbers of to integers, so it might not be an appropriate metric for regression.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): is a
  • Low reputation (0.5):
Posted by: Slavensky

79369375

Date: 2025-01-19 17:05:12
Score: 1
Natty:
Report link

hi i just met this problem. I found that adding next headers to your service layer (OR where you use the api written in route.ts) would make it works.

import { headers } from "next/headers"

const res = await fetch("api/post", {
  headers: headers()
})

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

79369368

Date: 2025-01-19 17:00:11
Score: 3
Natty:
Report link

Jyton doesn't support android, so you can't use it with android studio or sketchware or any android app builder.

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

79369366

Date: 2025-01-19 17:00:11
Score: 3
Natty:
Report link

Seems using a breadboard is not always a good idea. Soldering everything to a perfboard was the solution

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

79369360

Date: 2025-01-19 16:58:10
Score: 1.5
Natty:
Report link

This question was asked 11 years ago and I am answering it today. :)

STEPS:

  1. Downloaded "Source Code Pro"
  2. Installed it per instructions
  3. PyScripter "tools" Tab > Options > Editor options
  4. Select "Source Code Pro" from list of fonts
  5. Select Style and Size
  6. Press OK to accept Font options
  7. Press OK to accept Edition options and apply settings to current environment
  8. Source Code Pro will be the default font!
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: divyansh927

79369345

Date: 2025-01-19 16:51:08
Score: 2
Natty:
Report link

I was able to solve my problem by adding RestClient.Builder as a parameter of the bean created in the class RestClientConfig.

So for valid handling Trace ID by RestClient in Spring Boot 3 application the class RestClientConfig should be configured in following way:

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestClient;
import org.springframework.web.client.support.RestClientAdapter;
import org.springframework.web.service.invoker.HttpServiceProxyFactory;

import com.example.clients.BeClient;

@Configuration
public class RestClientConfig {

    @Value("${api.url}")
    private String apiUrl;

    @Bean
    public BeClient beClient(RestClient.Builder restClientBuilder) {

        RestClient restClient = restClientBuilder
                .baseUrl(apiUrl)
                .build();
        var restClientAdapter = RestClientAdapter.create(restClient);
        var httpServiceProxyFactory = HttpServiceProxyFactory.builderFor(restClientAdapter).build();
        return httpServiceProxyFactory.createClient(BeClient.class);

    }

}

Working source code you can find here: https://github.com/wisniewskikr/chrisblog-it-cloud/tree/main/spring-cloud/observability/springcloud-springboot3-observability-grafana-stack-restclient

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Chris

79369344

Date: 2025-01-19 16:50:07
Score: 8
Natty: 8.5
Report link

i want to install quickfix on raspberry pi python, but i'm unable to install it due to alot of throw exceptions. has anyone installed it??? please let me know your steps! thanks, Kunal.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): ???
  • RegEx Blacklisted phrase (2.5): please let me know your
  • RegEx Blacklisted phrase (1): i want
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: K-Luxuriant

79369337

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

For bookworm when you install samba smb.conf is not automatically installed and as another user stated if you make your samba server a active directory domain controller then it will work out because that process results in one being made. However you can just make a smb.conf file and copy one of the examples from the samba wiki "Setting up Samba as a Standalone Server" page. the key detail is that you have: [global] server role = standalone server

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: guest_with_the_same_problem

79369335

Date: 2025-01-19 16:45:05
Score: 1
Natty:
Report link

The code below helps to dismiss the keyboard without losing clearing contents on the SearchView.

searchView.setQuery(searchView.getQuery(), false);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Moz

79369334

Date: 2025-01-19 16:45:05
Score: 4
Natty:
Report link

Yes, Annolive(annolive.com) lets you do that. It free as well. try it here(https://app.annolive.com/playground/ner)

NER annotation

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

79369327

Date: 2025-01-19 16:43:04
Score: 2
Natty:
Report link

What error message you're getting when you try the state push?

When you run the state push, try with verbose logging: TF_LOG=DEBUG to extract the exact details of the error faced.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: ZimCanIT

79369311

Date: 2025-01-19 16:36:02
Score: 1.5
Natty:
Report link

You can escape everything inside the comment.

Within the comment, < becomes &lt; and > becomes &gt;.

Here is the link to escape characters reference - https://developer.mozilla.org/en-US/docs/Glossary/Character_reference

Here is an example -

<html>
  <body>
    <p>This is a paragraph</p>
    <!-- This is a <!-- problem comment --> comment -->
    <!-- This is a &lt;!-- fixed comment --&gt; comment -->
  </body>
</html>
Reasons:
  • Blacklisted phrase (1): Here is the link
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mohan Sandesh

79369303

Date: 2025-01-19 16:31:01
Score: 0.5
Natty:
Report link

I see 3 issues

  1. make sure next.js is compatible with Node.js versions like 18.x or 20.x
  2. Install Peer Dependencies Manually npm install typescript eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y ts-node --save-dev
  3. There is Deprecated Punycode Module so install npm install --legacy-peer-deps
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dileep Kommineni

79369302

Date: 2025-01-19 16:31:01
Score: 2.5
Natty:
Report link

The problem is coming from the fact that you should use Python 3.11 or older, instead of Python 3.12 or 3.13. Some packages like gensim encounter problems when using Python 3.12 or 3.13.

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

79369300

Date: 2025-01-19 16:30:01
Score: 0.5
Natty:
Report link

PyFi is a library that helps converting fixed-point to floating-point and vice-versa. Here is an example:

PYTHON FIXED POINT CONVERTER
Configuration:
-Type of conversion: Floating to fixed point
-Signedness: Signed
-Total bits: 32
-Fractional bits: 31
WARNING: 1.0 can not be represented, 0.99999999977 will be used instead ( index: 0 )
Converted values:
-Dec (Input): 0.99999999977,-0.50000000000
-Hex (Output): 0x7fffffff,0xc0000000
-Bin (Output): 0b01111111111111111111111111111111,0b11000000000000000000000000000000
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): is a
  • Low reputation (1):
Posted by: Cesar Pires Severo

79369293

Date: 2025-01-19 16:25:00
Score: 2
Natty:
Report link

In my German version this works with

Ctrl-Alt-i
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Lucky Joe

79369290

Date: 2025-01-19 16:22:59
Score: 1.5
Natty:
Report link

Not a direct answer, which may well be possible, but you could also name the modules in a particular way, such as L1.Intro, L2.Seq, etc.

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

79369286

Date: 2025-01-19 16:21:59
Score: 1
Natty:
Report link

If you dont want upgrade you android studio, you can follow this step

  1. Open your project's build.gradle file. You'll see something like this:

plugins{ alias(libs.plugins.android.application) }

  1. Click on application -> right click -> go to declaration

  2. you will go to lib.versions.toml file

  3. find agp and change it to 8.2.1

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Mir Injamamul

79369284

Date: 2025-01-19 16:20:57
Score: 10 🚩
Natty: 5
Report link

I do have exactly same question, why it’s not showing up on the screen until it gets saved?

Another question, on the first screen, you can see that the Description attribute is missing on UI, but I’m sure, it’s provided in manifest. This is what I have in my case as well, all the custom policies are shown in the list without descriptions… Does anybody know if this is a feature or bug?

Reasons:
  • Blacklisted phrase (1): Another question
  • Blacklisted phrase (1): anybody know
  • RegEx Blacklisted phrase (2): Does anybody know
  • No code block (0.5):
  • Me too answer (2.5): have exactly same question
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Dzmitry T.

79369283

Date: 2025-01-19 16:19:57
Score: 1
Natty:
Report link

If you dont want upgrade you android studio, you can follow this step

  1. Open your project's build.gradle file. You'll see something like this:

    plugins{ alias(libs.plugins.android.application) }

  2. Click on application -> right click -> go to declaration

  3. you will go to lib.versions.toml file

  4. find agp and change it to 8.2.1

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Mir Injamamul

79369277

Date: 2025-01-19 16:16:56
Score: 3.5
Natty:
Report link

In project properties , Set Debug Symbols to PDB files....

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

79369276

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

I have the exact issue as yours, I found an answer here that works for me. https://stackoverflow.com/a/79221315/15019598

I hope it helps.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-1): hope it helps
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Talkbiz

79369258

Date: 2025-01-19 16:02:53
Score: 6.5 🚩
Natty: 6
Report link

Could you please provide a little bit more information? What kind of errors have you faced? May I also ask you to share a stack trace or inspections that were thrown?

Reasons:
  • RegEx Blacklisted phrase (2.5): Could you please provide
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: JSMonk

79369250

Date: 2025-01-19 15:56:51
Score: 3
Natty:
Report link

This repo here has a simple vim setup with included custom configuration: https://github.com/CesarPiresSevero/vimconfig

Hope it helps!

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Cesar Pires Severo

79369249

Date: 2025-01-19 15:56:51
Score: 2.5
Natty:
Report link

I have a solution for this when i was trying to compile my code in bash shell g++ solution.cpp -o solution it gave an error of this collect2.exe: error: ld returned 116 exit status the issue I faced was there were two g++ bin file in my computer one is ucrt64 folder and one in mingw64

you want to test by which your code is running and use that one or else you can download the code runner extension on vscode it does the job and compiles the c++ file into .exe and then you just run the .exe file simply

but if you want to this in terminal you can always and set an alias of g++ to your bin path g++ file

or you can simply do export PATH=/c/msys64/ucrt64/bin:$PATH

if all this doesnt work then sorry bro :(

Reasons:
  • Blacklisted phrase (1): doesnt work
  • Blacklisted phrase (1): :(
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Engineering student

79369248

Date: 2025-01-19 15:56:50
Score: 5.5
Natty: 6
Report link

do you have problem with me? im nooooooooooooooooob

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Filler text (0.5): ooooooooooooooooo
  • Low reputation (1):
Posted by: Mahdi.y

79369232

Date: 2025-01-19 15:45:48
Score: 1
Natty:
Report link

if you installed by vcpkg

import os 

gtkbin = r'<path-to-vcpkg-installed-folder>\installed\x64-windows\bin'
os.environ['PATH'] = os.pathsep.join((gtkbin,os.environ['PATH']))
 
import cairosvg
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: the9an

79369227

Date: 2025-01-19 15:42:47
Score: 0.5
Natty:
Report link

array_merge function is used to combine arrays not to concatenate array values. You can achieve your desired results using concatenation operator .

<?php
$array = ["a", "b", "c", "d", "e", "f"];

$pdl = $array[4] . $array[5]; // Concatenate "e" and "f"

echo $pdl; // Outputs: ef
?>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Raja Jahanzaib

79369222

Date: 2025-01-19 15:39:47
Score: 3
Natty:
Report link

I think you need to get rid of your docker and re-install it

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Duru Cynthia Udoka

79369203

Date: 2025-01-19 15:26:45
Score: 1
Natty:
Report link

Anaconda should show up in the Python interpreter list, not as a language option. Try to ensure Python extension is in VS Code. Afterwards select Interpreter and choose your Anaconda environment.

When you create a new .py file, it’ll use the selected interpreter. If you’re using Jupyter, you can select that for .ipynb files.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Duru Cynthia Udoka

79369193

Date: 2025-01-19 15:15:43
Score: 1.5
Natty:
Report link

Refresh tokens are generally needed in offline scenarios like PWA or client which are able to "long live" and may have their token expired. Unless you have such a scenario, there is no need to deal with refresh token. MSAL will take care of most the flows for you.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Pravin Chandankhede

79369177

Date: 2025-01-19 15:09:42
Score: 1
Natty:
Report link

Create a list container and loop through the IDs

activity_in_use <- list()

for (i in 1:length(active_people))
{
activity_in_use[[i]] <- filter(d_activity, Id %in% i)
}

Put the list together

dfout <- Reduce(rbind, activity_in_use)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Anthony Basooma

79369176

Date: 2025-01-19 15:09:42
Score: 0.5
Natty:
Report link

In PostgreSQL, you don't need the current_timestamp, it automatically calculates.

CREATE TABLE Customer (
  customerID SERIAL PRIMARY KEY,
  name VARCHAR(255) NOT NULL,
  address TEXT,
  birthdate DATE,
  CONSTRAINT age_check CHECK (AGE(birthdate) >= INTERVAL '18 years')
);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Syed Bilal Haider

79369174

Date: 2025-01-19 15:08:41
Score: 1.5
Natty:
Report link

AWS S3 Sync is definitely your best option for downloading everything from your bucket, but if you prefer a graphical interface, tools like Cyberduck or Mountain Duck are great alternatives. These tools let you easily browse and download from S3 buckets, including bulk downloads. They do require setting up your AWS credentials, but they offer a more intuitive, user-friendly way to manage your files.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Duru Cynthia Udoka

79369168

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

It was removed, use StaggeredGrid.count or use GridView.custom

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

79369167

Date: 2025-01-19 15:04:40
Score: 0.5
Natty:
Report link

This is achievable using csvsql, like this:

csvsql --query "select * from joined limit 2, 4;" joined.csv

This would print lines 2-4 from the output. Note that the table name is the same as the basename of the CSV file (in this case "joined").

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

79369161

Date: 2025-01-19 15:03:40
Score: 1.5
Natty:
Report link
    If any CORS policy is injected into your backend project, you can put your frontend URL in this configuration. We have shared an example of how to add CORS to our project. I hope this solution is okay. If not, please let us know.

builder.Services.AddCors(options =>
{
    options.AddPolicy(name: MyAllowSpecificOrigins,
                      builder =>
                      {
                          builder.WithOrigins("http://localhost:5173"); // You can add value in configuration file
                      });
});
Reasons:
  • Whitelisted phrase (-1): solution is
  • RegEx Blacklisted phrase (2.5): please let us know
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dattatray Patil

79369156

Date: 2025-01-19 15:00:39
Score: 1
Natty:
Report link

You should:

  1. Enable RocksDB State Backend: Set state.backend: rocksdb in the flink-conf.yaml file. Add state.checkpoints.dir: s3:/// for S3 checkpoint storage.

  2. Enable S3 Plugin: Include the S3 plugin in your Flink image or deployment. Add the flink-s3-fs-hadoop or flink-s3-fs-presto jar to the plugins directory.

  3. Provide S3 Credentials: Configure access keys using environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY) or add them to flink-conf.yaml.

  4. Deploy on Kubernetes: Use a custom Flink Docker image with the S3 plugin enabled, or mount the plugin directory into your Kubernetes pods.

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

79369153

Date: 2025-01-19 14:57:39
Score: 2.5
Natty:
Report link

In my opinion, I think the best way would be to end comments prematurely and for large files, I don't think there's a smart tool to do the job.

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

79369151

Date: 2025-01-19 14:55:38
Score: 4
Natty:
Report link

Here's similar question: Can you determine if Chrome is in incognito mode via a script?

The FileSystem API is disabled in incognito mode.

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

79369150

Date: 2025-01-19 14:55:38
Score: 0.5
Natty:
Report link

iOS 18 now renders text beginning with "https://..." in a FooterText as clickable links.

See this Q/A for how to add a footer text.

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

79369146

Date: 2025-01-19 14:53:38
Score: 1.5
Natty:
Report link

Yes, there are several free text-to-voice websites available. Here are a few options:

These websites allow you to paste text and listen to it being read aloud.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Christopher Maryann

79369139

Date: 2025-01-19 14:46:36
Score: 4
Natty:
Report link

You can highlight the block of text you wish to comment out and then use the (command + /) on mac or (ctrl + /) on windows to comment it

Reasons:
  • Blacklisted phrase (1): to comment
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dennis Jr

79369135

Date: 2025-01-19 14:44:35
Score: 3.5
Natty:
Report link

I see on my Win10 Pro localhost IIS PHP8:

Sorry, it is not an answer on your question. In my opinion,it shows that PHP works incorrect in this function.
I can read (or write) any file with fopen("DataDir", "r"), but I cannot read list of files in this "DataDir". Copy code opendir() under "DataDir" does not work.

Vitaly Eremenko 2025-01-19

Reasons:
  • Blacklisted phrase (1): not an answer
  • Blacklisted phrase (0.5): I cannot
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Vitaly Eremenko

79369134

Date: 2025-01-19 14:43:35
Score: 2
Natty:
Report link

Turns out the animation was built with R15 and I had set the game to only R6 and due to the different body parts between the two types, the game couldn't play the R15 animation on the R6 body.

A misconception I had was R6 means the character is blocky and R15 means the character is not blocky. However it's only the body parts that are different.

R6 VS R15 Picture On Blocky Character

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

79369133

Date: 2025-01-19 14:41:35
Score: 1
Natty:
Report link

Looking at the comments something that caught me out when working with indexedDB from the service worker is that it the extension has it's own area for the db.

When saving from a content script it saves to your browsers indexedDB

When saving from the service-worker it saves to the extension indexedDB, the easiest way to open this inspecting your popup then going to the application > Indexed DB

This might be why you couldn't find the object store from options_page. You might have to do some syncing up to make sure you are saving to just one location.

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

79369127

Date: 2025-01-19 14:41:35
Score: 2.5
Natty:
Report link

Your schema.prisma has to be populated with one model which then has references to any of the other models you defined in other .prisma. Essentially, the feature works by tracking deps.

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

79369125

Date: 2025-01-19 14:34:34
Score: 2.5
Natty:
Report link

I usually use this tool https://onlinequicktool.com/lorem-ipsum-generator/ which lets you chose words, paragraphs or sentences and even customise the length.

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

79369123

Date: 2025-01-19 14:33:33
Score: 4
Natty:
Report link

https://supabase.com/dashboard/project/_/api?page=tables-intro

You can go to this link and open your project and then download the types using the button on the right side

Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: heysujal

79369119

Date: 2025-01-19 14:28:32
Score: 2.5
Natty:
Report link

Minimalist state machine implementation in C99:

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

79369113

Date: 2025-01-19 14:23:31
Score: 2.5
Natty:
Report link

Make your customers change it themselves. Make a webpage where users can generate a unique QR code based on the initial one (which may lead to the generation page) and include all the necessary materials in the shipping package.

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

79369107

Date: 2025-01-19 14:18:28
Score: 2.5
Natty:
Report link

You can do the following steps:

  1. VS Tools
  2. Options
  3. Nuget Package Manager and install Microsoft.EntityFrameworkCore package and ENJOY!
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: po yesh

79369104

Date: 2025-01-19 14:17:28
Score: 0.5
Natty:
Report link

I want to provide what I did to solve this per the comments of @Tsyvarev and @drescherjm

I downloaded the actual source from the GLM releases page

After unzipping the source, at the root of the source, I ran the commands:

C:\cmake\bin\cmake -DGLM_BUILD_TESTS=OFF -DBUILD_SHARED_LIBS=OFF -B build . -G "MinGW Makefiles"
C:\cmake\bin\cmake --build build -- all
C:\cmake\bin\cmake --build build -- install

Adding "MinGW Makefiles" resolved the "compiler variable not set" errors I was getting and since the source contained the GLM_BUILD_INSTALL, the install executed without errors.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Murat Aykanat

79369099

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

The identation in application.yml for spring.config.import is incorrect. The correct place for config is:

spring:
  application:
    name: MyService

  profiles:
    active: dev
  config:
    import: vault://

After this the secrets are successfully getting injected in the springboot application.

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

79369080

Date: 2025-01-19 14:05:24
Score: 2.5
Natty:
Report link

Run:

sudo sed -i 's/inspect\.getargspec/inspect.getfullargspec/g' /usr/share/qtcreator/debugger/dumper.py

Source

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: arcadius

79369070

Date: 2025-01-19 13:58:22
Score: 1
Natty:
Report link

It doesn't bring anything compared to one-liners using ternary operators. One could argue that it may be more readable but it is a matter of preference.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Eric MORAND

79369068

Date: 2025-01-19 13:56:20
Score: 10.5 🚩
Natty: 5.5
Report link

I am stuck with same error can you help in this case

Reasons:
  • RegEx Blacklisted phrase (1.5): I am stuck
  • RegEx Blacklisted phrase (3): can you help
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am stuck with same error
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ritesh Parwal

79369066

Date: 2025-01-19 13:55:20
Score: 1
Natty:
Report link

What works best for me is to tell the Finder to copy the file to the clipboard. The finder takes care of all the details, different file classes etc.

osascript -e 'tell app "Finder" to set the clipboard to ( POSIX file "/Users/someuser/somefile.zip" )'

You need to provide an absolute path and e.g. avoid "~" (home directory).

I tested this with pasting to Finder windows, Apple Mail, MS Word...

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: Oliver Oppitz

79369063

Date: 2025-01-19 13:51:19
Score: 5
Natty: 7
Report link

bạn sửa được lỗi này chưa, mình cũng bị tương tự. Hay là chỉ gửi tới được số đã xác minh nhưng phải khác với số đã tạo tài khoản?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dũng Nguyễn Văn

79369061

Date: 2025-01-19 13:48:18
Score: 1.5
Natty:
Report link

So Easy

Edit file hosts: edit host

sudo nano /etc/hosts

then

127.0.0.1    yourlaravel.test
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andi Syafrianda

79369058

Date: 2025-01-19 13:47:17
Score: 2
Natty:
Report link

Try updating the SDK tools on your android studio. Preferences>Languages & Frameworks>Android SDK>

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

79369055

Date: 2025-01-19 13:46:17
Score: 0.5
Natty:
Report link

What about

def validate_option_b_input(value: Optional[list[float]]):
    if value is not None and len(value) != 2:
        raise ValueError("Length must be 2")
    return value

class OptionB(BaseModel):
    min: Optional[float] = None
    max: Optional[float] = None
    value: Annotated[
        Optional[list[float]],
        AfterValidator(some_eventual_validation),
        AfterValidator(validate_option_b_input),
        Field(validate_default=True),
    ] = None
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: lord_haffi

79369053

Date: 2025-01-19 13:45:17
Score: 0.5
Natty:
Report link

In my case just adding Lombok version (for ex. 1.18.37) in pom.xml solved the problem.

<dependency>
    <groupId>org.projectlombok</groupId>
    <artifactId>lombok</artifactId>
    <version>1.18.37</version>
    <scope>provided</scope>
</dependency>

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

79369040

Date: 2025-01-19 13:36:15
Score: 1.5
Natty:
Report link

Just to try to help someone, I went through something similar and managed to solve it by setting this Env: NODE_TLS_REJECT_UNAUTHORIZED=0.

Ref: https://stackoverflow.com/a/21961005/10686489

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • Has code block (-0.5):
Posted by: Ayrton Everton

79369037

Date: 2025-01-19 13:34:14
Score: 0.5
Natty:
Report link

Late to the party, but I just stumbled upon this and afterwards used my head (sigh) for a top level async function. Instead of doing process.exit(1) you can simply set process.exitCode = 1 in your catch clause. This will make it so control flow continues as normal and once the process exits on its own, it will do so with code 1.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Marces Engel

79369035

Date: 2025-01-19 13:34:14
Score: 4
Natty: 4
Report link

Minimalist implementations in C99:

Finite State Machine (FSM)

Hierarchical State Machine (HSM) with usage example.

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

79369032

Date: 2025-01-19 13:32:13
Score: 1.5
Natty:
Report link

I found a solution! Even if you didn't create a quarto project per se, but a simple quarto document within an R project, manually make a separate yml file. To do this, create a new text file, copy the text below and save as "_quarto.yml" in the root directory.

project:
  execute-dir: project

Link to a simple github repo for illustration purposes.

Reasons:
  • Contains signature (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kostas

79369031

Date: 2025-01-19 13:30:12
Score: 14
Natty: 8.5
Report link

I have the same problem, do you resolve it pls ???

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Blacklisted phrase (1): ???
  • RegEx Blacklisted phrase (1.5): resolve it pls ???
  • RegEx Blacklisted phrase (2.5): do you resolve it
  • 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: RAKOTOARIMANANA Rantsa

79369026

Date: 2025-01-19 13:27:11
Score: 3.5
Natty:
Report link

I figured it alot - Now I can hit client side break points in Chrome following this wiki : https://developer.chrome.com/docs/devtools/javascript/source-maps

(For some reason , launch.json did not work for me)

Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: petercli

79369025

Date: 2025-01-19 13:27:11
Score: 3
Natty:
Report link

Use process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';

Ref: https://stackoverflow.com/a/21961005/10686489

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: Ayrton Everton

79369018

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

Thanks to the previous comment, I've finally found the solution : moving the base url from an absolute url :

apiUrl: 'https://localhost:7139/api'

to a relative url :

apiUrl: '//localhost:7139/api'

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: gallup gallup

79369017

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

Error is resolved for angular v16:

I have installed ng-apexcharts v1.8.0 and it's working fine.

npm i [email protected]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: sugnay patel

79369009

Date: 2025-01-19 13:15:08
Score: 2
Natty:
Report link

You can use qrcodejs. I am using it in this website here ( you can check source code in the browser ) https://onlinequicktool.com/qr-code-generate/

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Anand Joshi

79369002

Date: 2025-01-19 13:12:08
Score: 1
Natty:
Report link
Align(
                  alignment: (widget.maxLines ?? 1) <= 1 ? Alignment.center : Alignment.topCenter,
                  widthFactor: 1,
                  heightFactor: (widget.maxLines ?? 1) <= 1 ? 1 : 1 + ((widget.maxLines ?? 1) - 1) * 0.8333,
                  child: Padding(
                    padding: EdgeInsets.fromLTRB(10.sp, 0.sp, 10.sp, 0),
                    child: CustomImage(
                      assetImg: widget.customPreIcon!,
                      color: AppColors.mainColor,
                      height: 25.h,
                    ),
                  ),
                )

you can check result here

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

79369001

Date: 2025-01-19 13:11:06
Score: 11
Natty: 7.5
Report link

I have the same problem how do I fix it, please?

Reasons:
  • Blacklisted phrase (1): how do I
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (1): I have the same problem how do I fix it, please
  • 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: mohamed174

79368997

Date: 2025-01-19 13:05:05
Score: 3.5
Natty:
Report link

Found the reason: the TLD dev requires https. https://en.wikipedia.org/wiki/.dev

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Hector Ordonez

79368996

Date: 2025-01-19 13:05:05
Score: 0.5
Natty:
Report link

I was able to fix my issue change the sqlcommand query to be like this:

/opt/sqlpackage/sqlpackage /a:Publish \
  /tsn:"sqlserver-2022,1433" \
  /tdn:"databasetest" \
  /tu:"sa" \
  /tp:"Strong#Passw0rd1" \
  /ttsc:True \
  /sf:/tmp/db.dacpac
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Nmaster88

79368979

Date: 2025-01-19 12:55:03
Score: 3.5
Natty:
Report link

I found this external package to generate entities based on database https://github.com/siburuxue/doctrine-helper

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

79368976

Date: 2025-01-19 12:55:03
Score: 2
Natty:
Report link

For some reason it did not fetch all 66 products from the all collection - but only apparently the first 48.

Solution was in this case to create a collection with only the needed products (which is less than 48).

However, if anyone would know how to change the script to make it more solid and work with 48+ products, suggestions are welcome.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Kenneth Bon Nielsen

79368974

Date: 2025-01-19 12:55:03
Score: 1
Natty:
Report link

Hopefully to save others looking around I found a working solution which avoids using the bt-tooltip-errors plugin.

In your .js file enable the bootstrap tool tip as normal;

const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]')
const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap.Tooltip(tooltipTriggerEl))

Then wherever you have your function that submits the query when you click the button;

$('#btn-get-sql').on('click', function() { ... }) Add the following;

var elem = $('div.error-container');
elem.attr('data-bs-original-title', elem.attr('title')).tooltip();

Now when you have a querybuilder error the tooltip will show up in the correct style. If there is a better way to do this please let me know.

Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: user3788685

79368967

Date: 2025-01-19 12:51:02
Score: 1.5
Natty:
Report link

The dependency

implementation 'com.truizlop.fabreveallayout:library:1.0.0'

is no longer maintained, opt to use this instead:

implementation 'com.github.truizlop:FABRevealLayout:fd3d295c13'

Refer to this documentation.

Reasons:
  • Blacklisted phrase (1): this document
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Eldo Martadjaya

79368961

Date: 2025-01-19 12:48:01
Score: 2.5
Natty:
Report link

#uninstall your courrent version drf by tying

pip uninstall djangorestframework

#and then install the drf 3.13.1 by running below code .

pip install djangorestframework==3.13.1

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

79368952

Date: 2025-01-19 12:43:00
Score: 2.5
Natty:
Report link

Checkout Using dictionary to make Option menu and receive the values on selection, with tkinter, it is a similar situation to what you are trying to do with dictionaries. Hope this helps :)

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: htrehrthtr

79368947

Date: 2025-01-19 12:39:59
Score: 4.5
Natty: 5
Report link

Additional hint, because this can easily happen if you have multi-indexed variables and keep track of them in nested lists: Maybe you have passed a list of variables instead of the individual variable?

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

79368945

Date: 2025-01-19 12:36:58
Score: 6.5
Natty: 7
Report link

Can you please tell what are the libraries i should add in eclipse classpath? I need to run the report from eclipse after creating it in jasper.

Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (2.5): Can you please tell what
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can you please
  • Low reputation (1):
Posted by: Mari

79368943

Date: 2025-01-19 12:35:57
Score: 5.5
Natty: 4.5
Report link

Is there any update here? Sadly, 2 years later and I this problem still persists.

Reasons:
  • Blacklisted phrase (1): Is there any
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Is there any
  • Low reputation (1):
Posted by: Kostas

79368940

Date: 2025-01-19 12:30:55
Score: 8.5 🚩
Natty: 5
Report link

did you find a solution? is react-native-firebase the only alternative?

Reasons:
  • RegEx Blacklisted phrase (3): did you find a solution
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): did you find a solution
  • Low reputation (1):
Posted by: Pranati Sattarapu

79368938

Date: 2025-01-19 12:30:54
Score: 0.5
Natty:
Report link

As @heiko has pointed out in his comment:

http:localhost:3000 and http:localhost:4200 are considered same site AND cross origin. Meaning when setting cookie config, the SameSite field can be set to strict given that the request is being send from another port on the same site, making it SameSite.

The code changed:

cookie: {
    secure: false,
    httpOnly: true,
    maxAge: 1000 * 60 * 3,
    sameSite: 'strict' // Right here, changed from 'none' to 'strict'
}}));

Here is an in-depth answer for anyone who faces the same issue:

Understanding the Terminology

Same-Site: "Same-Site" refers to requests made within the same registrable domain, ignoring the protocol, port, and subdomains.

For example, http://example.com and https://example.com are considered "same-site" because the domain (example.com) matches. Similarly, http://localhost:3000 and http://localhost:4200 are "same-site" because they share the same base domain: localhost. This concept is primarily relevant when dealing with cookies and the SameSite attribute, which determines whether cookies are sent with cross-site or same-site requests.

Cross-Origin: "Cross-Origin" is a stricter term. For two URLs to be considered same-origin, their protocol, domain, and port must all match.

Since http://localhost:3000 and http://localhost:4200 use different ports, they are cross-origin. This distinction is critical for browser security features like the Same-Origin Policy and CORS (Cross-Origin Resource Sharing), which govern whether resources can be shared between different origins.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @heiko
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Hamzah Alkhateeb

79368930

Date: 2025-01-19 12:23:53
Score: 2.5
Natty:
Report link

If all configurations are right even that error is coming then use : In Eclipse/STS: Right-click the project Run As → Maven clean , Run As → Maven install , Run As → Run on server

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

79368921

Date: 2025-01-19 12:15:51
Score: 1.5
Natty:
Report link

As @HolyBlackCat pointed out, using a class with specializations and a static member function (and using a separate function as a nicer interface to the specializations) solves the problem. The class specialization for ranges now looks like this:

template <sink_c sink_t, std::ranges::sized_range value_t>
requires requires(sink_t& sink, std::ranges::range_value_t<value_t> element) {
    { DefaultWrite<sink_t, std::ranges::range_value_t<value_t>>::call(sink, element) };
}
struct DefaultWrite<sink_t, value_t> {
    static void call(sink_t& sink, value_t const& value);
};
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @HolyBlackCat
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: AdamantConlanger

79368907

Date: 2025-01-19 12:05:49
Score: 3
Natty:
Report link

For changing the cursor color @mykola-tychyna answer did not work for me, but using DrawableCompat.setTint does:

textView.textCursorDrawable?.let{ DrawableCompat.setTint(it, colorInt) }
Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @mykola-tychyna
  • Low reputation (0.5):
Posted by: PhilKes

79368899

Date: 2025-01-19 12:01:48
Score: 5.5
Natty: 4
Report link

I had a similar problem, and I just posted the solution here:

How to separate Jenkins report of Cypress tests from "(root)" to browser's name?

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: librogil

79368895

Date: 2025-01-19 11:59:47
Score: 1
Natty:
Report link

Buddy, you have to build your resources to use them on server, as you can not run yarn dev or npm run dev unless you have private server.

On your local server use npm run build or yarn build to bundle them.

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

79368889

Date: 2025-01-19 11:57:46
Score: 2.5
Natty:
Report link

By the help of a co-worker I've figured-out how to solve it:

cypress.config.js should be:

    reporter: 'junit',
    reporterOptions: {
      mochaFile: 'cypress/results/results-[hash].xml', 
      jenkinsMode: true,
      outputs: true,
      testsuitesTitle: 'Cypress Tests' 
    },

and the top of each test file should be:

describe(Cypress.browser.name + '.' + 'some specific headline', () => {

and that's it, and now my jenkins looks like this:

actual categories instead of just "(root)"

Reasons:
  • Blacklisted phrase (1): how to solve
  • Probably link only (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: librogil

79368874

Date: 2025-01-19 11:44:43
Score: 3.5
Natty:
Report link

I added this line in Style

<item name="colorSecondaryContainer">@color/accent</item>
  

And now it's working. .This link may be useful for you.

https://m3.material.io/components/navigation-drawer/specs

Reasons:
  • Blacklisted phrase (1): This link
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user8314841

79368871

Date: 2025-01-19 11:40:42
Score: 5.5
Natty: 4.5
Report link

I made an ESP32 project that can communicate with OBD 2 via ELM327. How about using ELMduino?... and what is the difference? thanks ....

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Abe okianugroho

79368868

Date: 2025-01-19 11:38:41
Score: 1.5
Natty:
Report link

as @user85421 mentioned, using unicodes won't make the escapes unrequired, as I though it would.

so, escaping (, ), [ and { is still required, here's the fix:

    private static final String MATCH_OPENING_BRACE = "\\\u0028";
    private static final String MATCH_CLOSING_BRACE = "\\\u0029";
    
    private static final String MATCH_OPENING_SQUARE_BRACE = "\\\u005B";
    private static final String MATCH_CLOSING_SQUARE_BRACE = "\u005D";
    
    private static final String MATCH_OPENING_CURLY_BRACE = "\\\u007B";
    private static final String MATCH_CLOSING_CURLY_BRACE = "\u007D";
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @user85421
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: ccampisano

79368866

Date: 2025-01-19 11:37:41
Score: 3.5
Natty:
Report link

There is a Graph API to publish your app to the organization app catalog. https://learn.microsoft.com/en-us/graph/api/teamsapp-publish?tabs=http&view=graph-rest-1.0#example-2-upload-a-new-application-for-review-to-an-organizations-app-catalog&preserve-view=true

I am using this API in my PowerShell module to publish the declarative agent automatically.

https://github.com/code365opensource/microsoft.copilot.toolkit/

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: 陈希章 - Ares Chen

79368861

Date: 2025-01-19 11:34:39
Score: 2.5
Natty:
Report link

I agree with @Turing85, this is not a good practice. However, if you're building a tool to assist with database analysis, such as measuring query performance or automating some non-business-related analyses, I think you simply need to use something like DataSourceFactory, JdbcTemplate. This will allow you to dynamically connect to databases using data provided, for example, through an endpoint.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @Turing85
  • Low reputation (1):
Posted by: Maciej Iwan