79227413

Date: 2024-11-26 15:58:12
Score: 0.5
Natty:
Report link

Have you checked index fragmentation? Try launching this query that gives you fragmentation percentage per table.

SELECT S.name as 'Schema',
T.name as 'Table',
I.name as 'Index',
DDIPS.avg_fragmentation_in_percent,
DDIPS.page_count
FROM sys.dm_db_index_physical_stats (DB_ID(), NULL, NULL, NULL, NULL) AS 
DDIPS
INNER JOIN sys.tables T on T.object_id = DDIPS.object_id
INNER JOIN sys.schemas S on T.schema_id = S.schema_id
INNER JOIN sys.indexes I ON I.object_id = DDIPS.object_id
AND DDIPS.index_id = I.index_id
WHERE DDIPS.database_id = DB_ID()
and I.name is not null
AND DDIPS.avg_fragmentation_in_percent > 0
ORDER BY DDIPS.avg_fragmentation_in_percent desc

Then try to rebuild your indexes instead of reorganizing.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: T.mod

79227402

Date: 2024-11-26 15:55:11
Score: 4
Natty: 4.5
Report link

Each row has an ID, use the get_row_index and use this for each accordion item ID.

https://www.advancedcustomfields.com/resources/get_row_index/

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

79227393

Date: 2024-11-26 15:53:10
Score: 3
Natty:
Report link

a helpful Plugin is the API-Logging Plugin for Shopware 6. It allows all API request to the /api and /store-api endpoints to be reliably logged, making troubleshooting and monitoring much easier. Here is the Link

Reasons:
  • Blacklisted phrase (1): Here is the Link
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: MoonlightFairy

79227389

Date: 2024-11-26 15:52:10
Score: 0.5
Natty:
Report link

It turns out I needed to copy over the cookies from the original request since Blazor Server does not automatically know about them so just creating an empty CookieContainer doesn't work the same as it does in WASM.

builder.Services.AddScoped(sp =>
    new GraphQLHttpClient(config =>
    {
        var baseUri = new Uri(sp.GetRequiredService<NavigationManager>().BaseUri);
        var cookie = sp.GetRequiredService<IHttpContextAccessor>().HttpContext?.Request.Cookies[".AspNetCore.Cookies"];
        var container = new CookieContainer();
        container.Add(new Cookie(".AspNetCore.Cookies", cookie, "/", baseUri.Host));
        config.EndPoint = new Uri($"{baseUri}graphql");
        config.HttpMessageHandler = new HttpClientHandler
        {
            CookieContainer = container,
            UseCookies = true
        };
    }, new SystemTextJsonSerializer()));
Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Evan Kaiser

79227386

Date: 2024-11-26 15:51:09
Score: 1.5
Natty:
Report link

after an update here is the new way to find these settings

  1. in settings I typed @ext:eamodio.gitlens source
  2. then I un-checked the Group the <VIEW_TYPE> view

image of settings page

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

79227360

Date: 2024-11-26 15:44:06
Score: 1.5
Natty:
Report link

I had a similar requirement for my function. Here you can read how I solved the problem. You can extend dynamic parameters depending on the values of the parameters. Take a look: https://stackoverflow.com/a/79227324/4879264

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-2): I solved
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: abo

79227357

Date: 2024-11-26 15:43:06
Score: 0.5
Natty:
Report link

I just copied the x86 powershell lnk from %appdata%\Microsoft\Windows\Start Menu\Programs\Windows PowerShell and replaced the path to the executable back to %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe, as none of the options in this thread seemed intuitive to me. For PowerShell 5.1 that is – some of the solutions here seem to be targeting PS7.

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

79227351

Date: 2024-11-26 15:42:06
Score: 1.5
Natty:
Report link

Solution : replace

$middleware->append(StartSession::class);
$middleware->append(SetLocale::class);

by

$middleware->web([SetLocale::class]);

in bootstrap/app.php

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

79227348

Date: 2024-11-26 15:41:06
Score: 0.5
Natty:
Report link

As mentioned in the question, I submitted a bug to docker about this, and the docker team got on it quite quickly. Unfortunately, the outcome is that it's not actually a bug in docker, rather the docs were wrong about what algorithms are supported. Only sha256 is supported, the reason was explained in this older comment.

The gist being that the checksum option doesn't just run a full checksum on the downloaded artefact, it's integrated with docker's own layer hashing system, which (I assume) only uses sha256.

A change to the docs has been submitted already (though as of this writing it's not live)

I'm probably massively oversimplifying or misrepresenting some details here, but that's a Good Enough™ explanation for me. If you need to know more than a very surface answer to the question "why can't I use other checksum algorithms in ADD in a Dockerfile", please don't rely on this answer and look into it more deeply.

If you need to perform a checksum on a build artifact with a different algorithm than sha256, you can't do it with ADD --checksum. To do that, see @DazWilkin's answer

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @DazWilkin's
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: hoylemd

79227330

Date: 2024-11-26 15:37:04
Score: 2
Natty:
Report link

There is no official support for Flutter in Playwright, nor are they prioritizing adding it anytime soon.

See this thread for more information (and potential future updates, as this might change): https://github.com/microsoft/playwright/issues/26587#issuecomment-1693876574

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

79227317

Date: 2024-11-26 15:33:03
Score: 3
Natty:
Report link

Problem was in network. Nginx from remote produced timeout problems.

Devopses just changed k8s pods for application and nginx stopped closing the connection my app to remote.

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

79227300

Date: 2024-11-26 15:27:00
Score: 0.5
Natty:
Report link

IntelliJ 2024.1.3 (Community Edition) Adds 'Appearance' between View and Toolbar.

View > Appearance > Toolbar

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

79227298

Date: 2024-11-26 15:26:00
Score: 1.5
Natty:
Report link
  1. Pre-generate a Fixed Question Set You can generate a fixed set of questions once and save them in a neutral format. This ensures the same set of questions can be reused for both exams2webquiz and exams2openolat.

Steps: Use exams2xyz to generate a consistent question set using the seed in one format (e.g., exams2webquiz). Save the generated question set as a static file, such as JSON, XML, or RDS (R data file), for re-use. Read the static file when creating outputs for both formats.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Anuj Goyal

79227286

Date: 2024-11-26 15:22:59
Score: 0.5
Natty:
Report link

Thanks @jkpieterse, I solved this problem creating a 'temp' column and copying&pasting the text:

table1.addColumn(-1, null, "temp");
let col = table1.getColumnByName("temp");
let act = table1.getColumnByName("Total");
col.getRangeBetweenHeaderAndTotal().setFormula("=VALUE([@[Total]])")
act.getRangeBetweenHeaderAndTotal().getRow(0).copyFrom( table1.getColumn("temp").getRangeBetweenHeaderAndTotal(), ExcelScript.RangeCopyType.values, false, false);

I hope this can help another else...

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-2): I solved
  • Whitelisted phrase (-1): hope this can help
  • Has code block (-0.5):
  • User mentioned (1): @jkpieterse
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Facundooz

79227280

Date: 2024-11-26 15:20:58
Score: 1
Natty:
Report link

You can shift only the B and C column

import pandas as pd

# Create the DataFrame
data = {
    'A': ['First', 'Second'],
    'B': ['row to delete', 'row to delete'],
    'C': ['row to shift', 'row to shift']
}

df = pd.DataFrame(data)

print(df)

# Shift only the 'B' and 'C' columns
df[['B', 'C']] = df[['B', 'C']].shift(-1, axis=1, fill_value='')


print(df)

enter image description here

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

79227272

Date: 2024-11-26 15:17:55
Score: 8 🚩
Natty: 4.5
Report link

Did you can solve the problem?

Reasons:
  • RegEx Blacklisted phrase (1.5): solve the problem?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you can solve the
  • Low reputation (1):
Posted by: Lucas Rodrigues

79227271

Date: 2024-11-26 15:16:54
Score: 2
Natty:
Report link

It seems like you may have some issues with route matching when running the tests in the suite. Can you share details about your authentication setup (e.g., Passport, Sanctum) ?

BTW, for failed authentication, you should be getting a 401 Unauthorized response, not a 404 or 200. You can use dd($response) to check what is return on posted JSON.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • RegEx Blacklisted phrase (2.5): Can you share
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: ludndev

79227267

Date: 2024-11-26 15:15:54
Score: 3.5
Natty:
Report link

To solve this problem, just reinstall Visual Studio. It will help to reinstall Windows.

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

79227266

Date: 2024-11-26 15:15:54
Score: 3.5
Natty:
Report link

the error is removed but now it is not giving me the output for the print returning the c/ line

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

79227258

Date: 2024-11-26 15:13:53
Score: 2.5
Natty:
Report link

What about a helper column? Only when the value of that column equals 1, the copy should be done:

Screenshot

The dollarsign is meant for distinguishing absolute and relative cell references. If you have questions about that, please let me know.

Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What
  • High reputation (-2):
Posted by: Dominique

79227242

Date: 2024-11-26 15:10:52
Score: 1.5
Natty:
Report link

So I was having the same problem in OAuth consent screen. None of the solutions worked for me. I finally figured out that I have too many projects in my GCP. I deleted a few old projects and brought down the total project numbers to 6 and the consent screen worked.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dhrubo

79227241

Date: 2024-11-26 15:10:52
Score: 0.5
Natty:
Report link

You simply take the buffers and concatenate them along with a wav header in arraybuffer format, then convert the result to base64 and play it with expo-av :

await Audio.Sound.createAsync({ uri: 'data:audio/wav;base64,' + yourBase64String }, { shouldPlay: true })
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: UPanda

79227220

Date: 2024-11-26 15:05:51
Score: 1.5
Natty:
Report link

Here's something that seems to work but doesn't:

.jsonPath("$.message").toString().contains("textYoureLookingFor")

It returns true whether the text is there or not.

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

79227218

Date: 2024-11-26 15:04:50
Score: 1.5
Natty:
Report link

The Snowflake COPY INTO process keeps track of the files that have already been loaded; you don't need to do this yourself:

https://docs.snowflake.com/en/user-guide/data-load-considerations-load#load-metadata

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

79227214

Date: 2024-11-26 15:03:50
Score: 3.5
Natty:
Report link

@Eric 's solution might have helped few people to make the build pass. But, you would be wondering how can just adding -v to the build makes it pass. That's a good indication that you are having timing issues in authentication handshake. -v prints verbose output of error logs which takes slightly more time than usual and it helps the build pass.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @Eric
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: creamCheeseCoder

79227196

Date: 2024-11-26 14:56:48
Score: 2.5
Natty:
Report link

If on flutter sometimes it is as simple as reconnecting Firebase, rerun the flutterfire configure and overwrite the saved configurations

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

79227183

Date: 2024-11-26 14:52:47
Score: 3
Natty:
Report link

For now, I found codicon name can found here.

And here is the name of the icons, in the source code.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: 我要改名叫嘟嘟

79227152

Date: 2024-11-26 14:46:45
Score: 2
Natty:
Report link

The library is only on jcenter https://mvnrepository.com/artifact/com.chauthai.swipereveallayout/swipe-reveal-layout/1.4.1 so maybe you need to add it in your gradle file with

repositories {
    jcenter()
}

it will be marked as deprecated I think as jcenter is not supported anymore.

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

79227149

Date: 2024-11-26 14:45:44
Score: 0.5
Natty:
Report link

The closest result I got without @tailwindcss/forms was:

<fieldset class="relative inline-flex items-center me-4">
  <div
    class="
      relative
      h-fit
      flex
      items-center
      justify-center
      shrink-0
      [&:has(input:checked)]:after:bg-rose-700
      [&:has(input:checked)]:after:cursor-pointer
      [&:has(input:checked)]:after:absolute
      [&:has(input:checked)]:after:block
      [&:has(input:checked)]:after:rounded-full
      [&:has(input:checked)]:after:top-0
      [&:has(input:checked)]:after:left-0
      [&:has(input:checked)]:after:mt-[3px]
      [&:has(input:checked)]:after:ml-[3px]
      [&:has(input:checked)]:after:size-2.5
      [&:has(input:checked)]:after:animate-scale-in
    "
  >
    <input
      type="radio"
      id="radio-id"
      name="radio"
      class="
        appearance-none
        size-4
        border-2
        rounded-full
        cursor-pointer
        checked:border-rose-700
        border-neutral-800/30
        disabled:border-neutral-800/10
      "
    />
  </div>

  <label
    for="radio-id"
    class="ml-1 cursor-pointer"
  >
    Teste
  </label>
</fieldset>

Demo: https://play.tailwindcss.com/6VSSGg2i53

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

79227138

Date: 2024-11-26 14:40:41
Score: 7 🚩
Natty: 6
Report link

how did you export a FMU from scilab?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): how did you
  • Low reputation (1):
Posted by: Chuanye Wang

79227131

Date: 2024-11-26 14:37:40
Score: 2
Natty:
Report link

I think you can try some really easy ways:

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

79227127

Date: 2024-11-26 14:36:40
Score: 3
Natty:
Report link

Data Boost is currently in preview and Go client is not yet supported.

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

79227124

Date: 2024-11-26 14:36:40
Score: 5
Natty: 4.5
Report link

Use this link to extract your audit Log using Synapse Link

https://learn.microsoft.com/en-us/power-platform/admin/audit-data-azure-synapse-link

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

79227123

Date: 2024-11-26 14:36:39
Score: 2
Natty:
Report link

I can't install curl cause of this error:

inreplace failed /usr/local/Cellar/curl/8.11.0_1/lib/pkgconfig/libcurl.pc: expected replacement of /^(Requires.private: )ldap,(.*),mit-krb5-gssapi,/ with "\1\2,"

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

79227118

Date: 2024-11-26 14:34:39
Score: 0.5
Natty:
Report link

For Redis:

As of Rails 7.1.0.beta1, Rails.cache.redis always returns a Connection Pool (https://github.com/mperham/connection_pool), so the access to the Redis client and consequently to the keys are now different:

Rails.cache.redis.with do |redis_client|
  redis_client.keys
end
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: joaomarcos96

79227114

Date: 2024-11-26 14:33:37
Score: 11 🚩
Natty: 6.5
Report link

did you got any solution ? or any template to start with

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): did you got any solution
  • RegEx Blacklisted phrase (2): any solution ?
  • Low length (1.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: Purushottam Tapase

79227106

Date: 2024-11-26 14:31:33
Score: 7.5 🚩
Natty: 6
Report link

The code doesnt work for me it gives an error message Failed to save logic app TestingRecurence. The recurrence schedule of trigger 'Recurrence' could not have 'WeekDays' for recurrence frequency 'Month'. Is there a workaround for this?

Reasons:
  • Blacklisted phrase (1): doesnt work
  • RegEx Blacklisted phrase (2): doesnt work for me
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Beth T

79227105

Date: 2024-11-26 14:30:33
Score: 2.5
Natty:
Report link

If you want an easy setup this transformation could be done with excel using pivot table, you can either export your table from power bi visual or save your table as an excel file. after performing pivot table you can re import it again in your power BI data model

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

79227084

Date: 2024-11-26 14:25:32
Score: 1
Natty:
Report link

In Drupal 8+ you can do the following:

$regex = '[\W]';
$query->addExpression("column, :regex, '')", 'alias', [':regex' => $regex]);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jon Menard

79227076

Date: 2024-11-26 14:23:31
Score: 1.5
Natty:
Report link

Answering my own question : I just had to add a jvm.options file with the following content:

--add-opens=java.base/java.lang=ALL-UNNAMED

Edit: typo

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

79227067

Date: 2024-11-26 14:21:31
Score: 2
Natty:
Report link

I've had a similar problem, but was unable to use the workaround because the script file runs as soon as you open the spreadsheet because of the definition of the onOpen() function. Next time, I will try and open the script file without opening the spreadsheet to see if this resolves the issue for me as well.

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

79227049

Date: 2024-11-26 14:15:29
Score: 2
Natty:
Report link

According to the docs, one has to create a page [...page].vue in the pages folder. This route will match all routes and will display this page when no other routes are matching.

src/pages/[...page].vue

That's it.

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

79227046

Date: 2024-11-26 14:14:29
Score: 3.5
Natty:
Report link

I downgraded the node version to 16 and it fixed the issue.

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

79227043

Date: 2024-11-26 14:14:29
Score: 3
Natty:
Report link

would be better to use a vault file and define variables in there for the passwords that you can then refer to from the above playbook

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

79227041

Date: 2024-11-26 14:13:28
Score: 2.5
Natty:
Report link

My mistake, it is indeed included in the documentation as Evgenij Ryazanov pointed out in the comments. I was able to fix the problem by starting the h2 in mode LEGACY, other modes will work as well. Information about different compatibility modes can be found here

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

79227027

Date: 2024-11-26 14:08:27
Score: 3.5
Natty:
Report link

The problem was on the provider's side. The provider said that somehow my IP address became non-white and changed it to white and the problem disappeared.

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

79227020

Date: 2024-11-26 14:06:26
Score: 4.5
Natty: 5
Report link

These steps helped me resolve this problem: https://www.linkedin.com/pulse/aem-bundles-resolving-archetype-archetypeversion35-cannot-vikraman/

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Manpreet Kaur

79227019

Date: 2024-11-26 14:06:26
Score: 2.5
Natty:
Report link

That happens because the compiler is confused about the actual value of this string. To "fix" this, you need to force its interpretation. Try the code below:

return ip.ToString();

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sanderson Corrêa

79227012

Date: 2024-11-26 14:04:25
Score: 2.5
Natty:
Report link

above code add in below file to remove header and footer from all pages

app/design/frontend/YourTheme/default/Magento_Theme/layout/default.xml

but header and footer remove only from home page to add code in below file path

app/design/frontend/YourTheme/ThemePackage/Magento_Cms/layout/cms_index_index.xml

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

79227001

Date: 2024-11-26 14:02:24
Score: 1.5
Natty:
Report link

If you want to replace paragraph breaks (newlines) with a comma in Notepad++, follow these steps:

  1. Open the file in Notepad++.

  2. Press Ctrl + H to open the "Find and Replace" dialog.

  3. In the Find what field, enter \r\n (for Windows) or \n (for other systems).

  4. In the Replace with field, type..

  5. Select Match using Regular Expression at the bottom.

  6. Click Replace All.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Lalit Baghel

79226998

Date: 2024-11-26 14:01:24
Score: 1
Natty:
Report link
setDateFilter() {
  this.gridApi
  .setColumnFilterModel("NAME_OF_COLID", {
    conditions: [
      {
        type: "inRange",
        dateFrom: "2024-11-01",
        dateTo: "2024-11-04",
      },
    ],
    operator: "OR",
  })
  .then(() => {
    //this.gridApi.onFilterChanged();
  });
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: eladr

79226989

Date: 2024-11-26 13:58:23
Score: 2.5
Natty:
Report link

Go to Command Palette [short key Ctrl+Shift+P], type "Python: Select Interpreter," and provide a path to your venv. If it does not work you can also try to activate the venv manually by typing .\venv\Scripts\activate in your integrated terminal.

For more details, you can refer to this document

Reasons:
  • Blacklisted phrase (1): this document
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Sandhya Krishnan

79226987

Date: 2024-11-26 13:57:21
Score: 10.5 🚩
Natty: 6.5
Report link

@alexlevicky did you find any answer to this problem ?

Reasons:
  • RegEx Blacklisted phrase (3): did you find any answer to this problem
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @alexlevicky
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Vaibhav G

79226980

Date: 2024-11-26 13:55:20
Score: 2.5
Natty:
Report link

In my case it was caused by a large file (~25MB), you should check if it is your case too.

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

79226973

Date: 2024-11-26 13:54:20
Score: 2
Natty:
Report link

To simplify JSON parsing, it’s best to ensure that every value is associated with a key. You can restructure the JSON to include the “Street Address” value within a key-value pair.

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

79226968

Date: 2024-11-26 13:51:19
Score: 0.5
Natty:
Report link

There is TextAssist from Nebula. It is very limited though.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Basilevs

79226962

Date: 2024-11-26 13:50:18
Score: 1
Natty:
Report link

Here is a workaround for you.

  1. Created a new table

enter image description here

  1. sort the column1 by sort column

enter image description here

  1. create a date2 column in original table enter image description here

  2. Do not create relationship between tables and create a measure

    MEASURE = SWITCH ( TRUE (), SELECTEDVALUE ( 'Table (2)'[Column1] ) IN { "Feb-24", "Mar-24", "Apr-24", "May-24" }, CALCULATE ( SUM ( 'Table'[Sales] ), 'Table'[Date] = SELECTEDVALUE ( 'Table (2)'[Column1] ) ), SELECTEDVALUE ( 'Table (2)'[Column1] ) = "Q1 Sales", CALCULATE ( SUM ( 'Table'[Sales] ), QUARTER ( 'Table'[Date2] ) = 1 ), SELECTEDVALUE ( 'Table (2)'[Column1] ) = "Q2 Sales", CALCULATE ( SUM ( 'Table'[Sales] ), QUARTER ( 'Table'[Date2] ) = 2 ), SELECTEDVALUE ( 'Table (2)'[Column1] ) = "Q1 - Q2 Growth", ( DIVIDE ( CALCULATE ( SUM ( 'Table'[Sales] ), QUARTER ( 'Table'[Date2] ) = 2 ), CALCULATE ( SUM ( 'Table'[Sales] ), QUARTER ( 'Table'[Date2] ) = 1 ) ) - 1 ) * 100 )

enter image description here

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
Posted by: Ryan

79226956

Date: 2024-11-26 13:49:18
Score: 2
Natty:
Report link

I think you just made a typo, BUILD_TOOLS_VERSION with S not BUILD_TOOL_VERSION

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

79226955

Date: 2024-11-26 13:49:18
Score: 2.5
Natty:
Report link

What do you mean "Stripe support hasn’t been able to provide a solution" exactly? What did they say?

It's very hard to tell what is the problem with your specific account in a public forum. Please reach out to Stripe Support again, they should be able to help.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What do you mean
  • Low reputation (0.5):
Posted by: vanya

79226951

Date: 2024-11-26 13:46:17
Score: 1
Natty:
Report link

I had a similar issue and found an easy fix.

I am using pandas to read an excel file in the same folder as my python file. When running my file from cmd prompt, everything works great. When I ran the file from VS Code it would always say FileNotFound.

The Fix: In VS Code, use the file explorer and ensure you are in the folder containing your file and NOT a step or two higher in the file hierarchy. I had a "Python Projects" folder open and the files for this specific project were in a subfolder...when I navigated to just the subfolder specific to my project in VS code using "open folder", it fixed the issue.

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

79226947

Date: 2024-11-26 13:45:17
Score: 1.5
Natty:
Report link

@Rustam Gasanov's answer is the correct answer, but the latest version has changed the settings file path, Since I can't continue writing the latest config file path below the comment (not enough reputation points), I will write a new comment to supplement that answer.

This is usually because the value for the Virtual Disk Limit has been exhausted.

Just change the value in the config file and restart it:

du -sh ~/Library/Containers/com.docker.docker // Check how much does docker data currently occupy
cat ~/Library/Group\ Containers/group.com.docker/settings-store.json
{
  ...
  "diskSizeMiB": 51200,
  ...
}
Reasons:
  • RegEx Blacklisted phrase (1.5): enough reputation points
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: 0x1af2aec8f957

79226943

Date: 2024-11-26 13:45:17
Score: 1
Natty:
Report link
const { shell } = require('electron')

shell.openExternal('https://github.com')
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: Yasir Ijaz

79226937

Date: 2024-11-26 13:43:16
Score: 0.5
Natty:
Report link

You might want to look at ngx-translate, it can do dynamic translations. Check the below stack answer for reference code on how to set it up.

Use @ngx-translate in standalone components in Angular 17

How To Use ngx-translate with Angular

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

79226936

Date: 2024-11-26 13:42:16
Score: 0.5
Natty:
Report link

I was able to first output the working method to $expr and then found the method for the usual $match:

await this.prisma.productRelease.aggregateRaw({
    pipeline: [
        {
            $match: {
                marking: { $ne: EnumProductReleaseMarking.deleted },
                created_at: {
                    $gte: { $date: startYear },
                    $lte: { $date: endYear }
                }
            }
        },
        {
            $group: {
                _id: {
                    month: { $month: '$created_at' }
                },
                totalAmount: { $sum: '$total_amount' },
                totalSale: { $sum: '$total_sale' },
                totalSwap: { $sum: '$total_swap' },
                totalBonus: { $sum: '$total_bonus' },
                count: { $sum: 1 }
            }
        }
    ]
})
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mezantrop

79226934

Date: 2024-11-26 13:42:16
Score: 0.5
Natty:
Report link
duckdb:

(
df1.sql.select("*,lag(a) over() col1")
.select("*,sum(coalesce((col1!=a)::int,0)) over(order by index) col2")
.select("*,row_number() over(partition by col2) col3")
.filter("col3<=3")

.order("index")
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: G.G

79226930

Date: 2024-11-26 13:40:16
Score: 1.5
Natty:
Report link

This has changed in PyQt6: self.tableView.setSelectionBehavior(QTableView.SelectionBehavior(1))

0 - selects individual cells (items) 1 - selects lines (rows) 2 - select columns (columns)

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Eric Hulsinga

79226927

Date: 2024-11-26 13:40:16
Score: 2.5
Natty:
Report link

I faced the same error, and the problem turned out to be the terminal's current directory. It wasn’t pointing to my React app’s folder. After navigating to the correct directory where my React app was located, running npm start worked perfectly. Let me know if this helps someone :)

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

79226924

Date: 2024-11-26 13:39:16
Score: 2
Natty:
Report link

dont worry about the site key even if somoene tries to abuse it he won't be able because its tied to ur domain , the thing that u should worry about is the private key thats where the verification of the token start if somoene got it he can simply send milions of verification to ur google api and then it would cost u

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

79226920

Date: 2024-11-26 13:38:13
Score: 9 🚩
Natty: 5.5
Report link

is it possible to add counts and % on the plot that @stefan has generated above?

Reasons:
  • Blacklisted phrase (1): is it possible to
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @stefan
  • Single line (0.5):
  • Starts with a question (0.5): is it
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: user70810

79226919

Date: 2024-11-26 13:38:13
Score: 1
Natty:
Report link

if you are running on chrome or flutter web, you need to disable the Mobile Ads initialization. Can use this:

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();
  if (!kIsWeb) await MobileAds.instance.initialize();

  runApp(const ProviderScope(child: MyApp()));
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Poliin

79226916

Date: 2024-11-26 13:36:13
Score: 3
Natty:
Report link

The issue arises because @GeneratedValue cannot be used with composite keys defined using @IdClass. To resolve this, remove @GeneratedValue and manage the id field manually. For Oracle, implement a service to fetch the next sequence value using a native query (SELECT <sequence_name>.NEXTVAL FROM DUAL). Before persisting the entity, set the id field using this service. For MariaDB, the database will handle the auto-increment behavior automatically.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @GeneratedValue
  • User mentioned (0): @IdClass
  • User mentioned (0): @GeneratedValue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Steve Rogers

79226913

Date: 2024-11-26 13:36:13
Score: 2.5
Natty:
Report link

I also checked, there is no wxDataViewListCtrl in wxSmith palette. Another option would to use wxListCtrl to implement similar functionalities like wxDataViewListCtrl. You can also use Standard>Custom to create your own class. Here is the tutorial for wxPanel using a "Custom" item https://wiki.codeblocks.org/index.php/WxSmith_tutorial:_Using_wxPanel_resources

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

79226912

Date: 2024-11-26 13:35:12
Score: 1
Natty:
Report link

I had the very same issue, and updating the service account didn't work for me.

Fortunately, although the project was old, there was yet no data in the Firebase Storage bucket. I added a new bucket of the same name and the issue disappeared.

I assume that the issue is very specific to projects that were created when Firebase Storage wasn't that mature.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Andi F.

79226911

Date: 2024-11-26 13:35:12
Score: 0.5
Natty:
Report link

I came across the same issue and I found what the problem was.

.ql-editor > * { 
  cursor: text;
}

This is the default css style of quill, I just changed it to my custom code:

.ql-editor > * { 
  cursor: initial !important;
}

The cursor started working normal again, hope this helps :)

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Lyubomir Stoyanov

79226903

Date: 2024-11-26 13:33:12
Score: 0.5
Natty:
Report link

My favorite approach works with outerHTML:

var table = document.getElementById("myTable");
var newrow = table.tBodies[0].insertRow();
newrow.outerHTML = "<tr><td>aaaa</td><td>bbb</td></tr>";

This way you can insert complex rows with several cells and within the cells html elements like fields and buttons.

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

79226898

Date: 2024-11-26 13:32:11
Score: 1
Natty:
Report link

to open a new tab using same previous path you need adjust your configuration file.

use-current-path - Use same path whenever a new tab is created (Note: requires use-fork to be set to false). 

Like it:

[navigation]
use-current-path = true
use-fork = false

You can check more infos here: https://raphamorim.io/rio/docs/config/navigation/

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

79226895

Date: 2024-11-26 13:30:11
Score: 1
Natty:
Report link

I feel like you have a good general idea of the main messaging services that AWS provides, but I think a couple details are missing:

SQS

For this use case it might be a good option to consider an SQS FIFO queue which means the messages will be handled in order.

Otherwise one bid might reach the backend before another, even though it was published at a later timestamp.

Furthermore, make sure that the visibility timeout is larger than the time you require to process the message. Otherwise you could accidentally pull the same SQS message twice. This is a general best practice though, so nothing particular with your use case.

Kinesis

Kinesis will not force each consumer to read all messages.

With kinesis you have a dynamodb lease table where each consumer registers which shards it will be pulling information from.

In this setup with 2 instances it could be a good idea to have 2 shards (or more if needed) and each instance will only pull from the shards it has resisted in the lease table.

Furthermore, it would probably be a good idea to use the bidding item id as a hash key for the kinesis messages, assuring that each bid for a certain item always goes to the same shard, since kinesis only promises ordering on a shard level.

Backend Application

Depending on how your application runs it might still be a good idea to have some sort of locking in place in the application itself.

If you are sure it will only ever pull and process one message at a time though, I guess this might be overly cautious.

As to the "I also assume that every service instance maintains an in-memory mapping..." part:

I'm not quite sure if you're talking about the "leasing" part or the data storage of the bids. For both cases though I would ask why you think it should be in memory?

A centralised location both for the "leasing" and storage of the bids seems more appropriate, since it's then decoupled from the instances.

With kinesis there is the dynamodb lease table, and with Kafka I guesss it's something different, but still something central that all instances communicate with. Otherwise there would be no way of detection collisions where multiple consumers try and process the same shards etc.

As for the storage of the bids themselves, that should also generally be in a separate storage (e.g. RDS / DynamoDB) since otherwise they would of course disappear if you had an issue with your application or performed a deployment etc.

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

79226883

Date: 2024-11-26 13:28:11
Score: 0.5
Natty:
Report link

To resolve the issue, change the folder name from:

423f0288fa7dffe069445ffa4b72952b4629a15a-a4bfdb9a-3a8e-40d1-895b-328f0f4c6181

to:

423f0288fa7dffe069445ffa4b72952b4629a15a

Repeat this process as needed, and it will work!

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

79226881

Date: 2024-11-26 13:27:10
Score: 1.5
Natty:
Report link

I reviewed the code samples mentioned by @Holger, and based on them used the approach of appending string objects to a list store.

Comparison function

gint comparestrings (gconstpointer a, gconstpointer b, gpointer user_data) {
GtkStringObject *object_a = (GtkStringObject *)a;
GtkStringObject *object_b = (GtkStringObject *)b;
const char *string_a = gtk_string_object_get_string(object_a);
const char *string_b = gtk_string_object_get_string(object_b);
return g_ascii_strncasecmp (string_a, string_b, 10);
}

Instantiating the dropdown and populating with string objects

GListStore *list_store = g_list_store_new(GTK_TYPE_STRING_OBJECT);
GtkWidget *dropdown= gtk_drop_down_new(G_LIST_MODEL(list_store), NULL);
g_list_store_append(list_store,gtk_string_object_new("zebra"));
g_list_store_append(list_store,gtk_string_object_new("horse"));
g_list_store_append(list_store,gtk_string_object_new("monkey"));
g_list_store_append(list_store,gtk_string_object_new("aardvark"));
g_list_store_sort (list_store, comparestrings, NULL);

Sorts correctly as advertised.

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Holger
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: 9-Pin

79226873

Date: 2024-11-26 13:23:09
Score: 1
Natty:
Report link

For Ios, you need to update your infoPlist by adding

infoPlist: {
        NSMicrophoneUsageDescription:
          "The app records ...",
        UIBackgroundModes: ["audio"],
      }

to your config.ios

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

79226865

Date: 2024-11-26 13:19:09
Score: 3
Natty:
Report link

the problem was the fetch is not complete

the old fetch(/data)

the new fetch(http://localhost:3000/data)

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

79226850

Date: 2024-11-26 13:13:07
Score: 1
Natty:
Report link

UPDATE

Prometheus now supports environment variables by default from v3.0 onward.

See here, in reference to the expand-external-labels flag.

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

79226848

Date: 2024-11-26 13:12:07
Score: 5
Natty:
Report link

How about GstTagsetter?

Element interface that allows setting of media metadata.

From https://gstreamer.freedesktop.org/documentation/gstreamer/gsttagsetter.html?gi-language=c

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How
  • Low reputation (1):
Posted by: Alvaro Vazquez

79226846

Date: 2024-11-26 13:12:07
Score: 1
Natty:
Report link

You can see this answer : https://stackoverflow.com/a/78613211/23865791

As wrote previously, Glance previews are now supported with the latest versions of Android Studio.

You need to use Glance 1.1.0-rc01 or newer :

implementation("androidx.glance:glance:1.1.1")
implementation("androidx.glance:glance-preview:1.1.1")
implementation("androidx.glance:glance-appwidget-preview:1.1.1")
implementation("androidx.glance:glance-appwidget:1.1.1")

And add the annotations with a size for your widget preview:

@OptIn(ExperimentalGlancePreviewApi::class)
@androidx.glance.preview.Preview(widthDp = 250, heightDp = 250)
@Composable
private fun Preview() {
...
}

But for the moment the Glance previews are limited compared to Compose previews.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dimitri LTC

79226845

Date: 2024-11-26 13:12:07
Score: 1.5
Natty:
Report link

Since GHC 9.2 there are two new language extensions that support this:

https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/overloaded_record_dot.html https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/overloaded_record_update.html

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-2):
Posted by: Chris Stryczynski

79226838

Date: 2024-11-26 13:10:06
Score: 2.5
Natty:
Report link

Just Follow these steps :

  1. Go to the Settings page in chrome
  2. Privacy and security
  3. Third party cookie section
  4. Disable the option Block third-party cookies in Incognito mode
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Vivek Antony

79226826

Date: 2024-11-26 13:07:06
Score: 3
Natty:
Report link

Here's the built wheel for Tgcrypto 1.2.5 for those folks who can't run it on Python 3.12

Credits to this guy that i found on GitHub.

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

79226816

Date: 2024-11-26 13:05:04
Score: 14
Natty: 9.5
Report link

@saurav-pattnaik did you find any solution?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): did you find any solution
  • RegEx Blacklisted phrase (2): any solution?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @saurav-pattnaik
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Isa Arslan

79226810

Date: 2024-11-26 13:02:03
Score: 1.5
Natty:
Report link

I found a clever solution to this. In the DI container, we usually register our dependencies during app initialization. However, it is fine to register a dependency in context. Here's a snippet of how I did it.

export function mountPrismaDatabase(app: OpenAPIHono<OpenAPIHonoConfig>) {
    app.use(async (c, next) => {
        // order is important here.
        // we initialize our prisma client connection first
        // and bind it to the context
        const adapter = new PrismaD1(c.env.DB);
        const client = new PrismaClient({ adapter });
        c.set('prisma', client);
        await next();
    });

    app.use(async (c, next) => {
        // we then register that context to our di container
        registerContextModule(applicationContainer, c);
        await next();
    });
}

I can then consume this dependency in my infrastructure.

type OAHonoContext = Context<OpenAPIHonoConfig>;

export class AuthenticationService implements IAuthenticationService {
    constructor(private _context: OAHonoContext) {}

    // ...code...

    createToken(session: Session): string {
        return jwt.sign(session.getData(), this._context.env.JWT_SECRET);
    }

    // ...code...
}

If you need more details, you may check this basic todo repo that I am currently using to practice clean architecture in my profile. I am linking the exact commit hash so that this link won't be broken when I move files around.

Reasons:
  • Blacklisted phrase (1): this link
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: thisjt

79226794

Date: 2024-11-26 12:58:02
Score: 1
Natty:
Report link

On the off chance that this migration has taken you more than 10 years, the dotnet CLI is very versatile for this kind of stuff:

dotnet remove MyApp.csproj reference ../MyLibrary/MyLibrary.csproj
dotnet add MyApp.csproj package MyLibrary.NuGet --version 1.2.3
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Javier Pavier

79226776

Date: 2024-11-26 12:52:01
Score: 2.5
Natty:
Report link

A variable of type String can be Nothing, and in that case they behave differently:

Trim(myString) returns "" (an empty string)

myString.Trim() gives a runtime error

myString?.Trim() returns Nothing

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

79226773

Date: 2024-11-26 12:51:01
Score: 3
Natty:
Report link

I encountered, and I am still looking for a solution, the same problem. One thing I have learned thus far is to make sure that the private key is OPEN SSH.

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

79226771

Date: 2024-11-26 12:50:00
Score: 4.5
Natty: 4.5
Report link

api.geonames.org/findNearbyJSON?lat=44.9928&lng=38.9388&featureClass=P

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Дмитрий Иванов

79226767

Date: 2024-11-26 12:48:00
Score: 2.5
Natty:
Report link

For me, I use Ubuntu 22.04, node version 22.11.0 and had that problem. After using nvm to set node version to 18.20.5, it works fine.

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

79226726

Date: 2024-11-26 12:33:56
Score: 4
Natty:
Report link

pleas i need it , it is not that hard just give me and answer to my teacher question "how to add link to your xamarin project(text that, when clicked, takes you to the page)

Reasons:
  • Blacklisted phrase (0.5): i need
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jakub

79226719

Date: 2024-11-26 12:30:56
Score: 3
Natty:
Report link

If you're interested, you can try our self-developed Libro Notebook. It supports direct connections to SQLite databases without requiring magic commands, allowing you to perform database operations more efficiently and intuitively. It's especially suitable for database development and analysis scenarios. For more details, you can check out this article.

https://medium.com/@libro.development/take-a-journey-into-data-analysis-and-reporting-with-sql-in-libro-notebook-154a13041f41

We’d love for you to try it and share your feedback!

Reasons:
  • Blacklisted phrase (1): this article
  • Blacklisted phrase (0.5): medium.com
  • No code block (0.5):
  • Low reputation (1):
Posted by: ximolk

79226718

Date: 2024-11-26 12:30:56
Score: 1
Natty:
Report link

Still the issue happens. As workaround, you can only define api_key and all endpoints will work with both query and header api key.

securityDefinitions:
    api_key:
    type: "apiKey"
    name: "key"
    in: "query"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: badicuady

79226711

Date: 2024-11-26 12:28:55
Score: 0.5
Natty:
Report link

You're looking for @angular-builders/custom-esbuild.

Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Matthieu Riegler

79226702

Date: 2024-11-26 12:26:55
Score: 3.5
Natty:
Report link

missing " in the action :) or : after https

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

79226696

Date: 2024-11-26 12:23:52
Score: 6 🚩
Natty:
Report link
FROM webdevops/php-nginx:8.3-alpine

# Installation dans votre Image du minimum pour que Docker fonctionne
RUN apk add oniguruma-dev libxml2-dev
RUN docker-php-ext-install \
        bcmath \
        ctype \
        fileinfo \
        mbstring \
        pdo_mysql \
        xml

# Installation dans votre image de Composer
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer

# Installation dans votre image de NodeJS
RUN apk add nodejs npm

ENV WEB_DOCUMENT_ROOT /app/public
ENV APP_ENV production
WORKDIR /app
COPY . .

# On copie le fichier .env.example pour le renommer en .env
# Vous pouvez modifier le .env.example pour indiquer la configuration de votre site pour la production
RUN cp -n .env.example .env

# Installation et configuration de votre site pour la production
# https://laravel.com/docs/10.x/deployment#optimizing-configuration-loading
RUN composer install --no-interaction --optimize-autoloader --no-dev
# Generate security key
RUN php artisan key:generate
# Optimizing Configuration loading
RUN php artisan config:cache
# Optimizing Route loading
RUN php artisan route:cache
# Optimizing View loading
RUN php artisan view:cache

# Compilation des assets de Breeze (ou de votre site)
RUN npm install
RUN npm run build

RUN chown -R application:application .
CMD ["sh", "-c", "run_migration_and_seed.sh"]

Adding this to my dockerfile taht only containe a php artisan migrate to test but it's not launch

#24 [stage-0 16/16] RUN chown -R application:application .
#24 DONE 4.8s

#25 exporting to image
#25 exporting layers
#25 exporting layers 8.1s done
#25 writing image sha256:ae2742756b94b1973d1f6dd0b9178e233c73a2a86f0ba7657b59e7e5a75f5b2d done

It's not appear here, can you help understand why?

thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): why?
  • RegEx Blacklisted phrase (3): can you help
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: shinzo94