79227585

Date: 2024-11-26 16:46:27
Score: 0.5
Natty:
Report link

Modify Scrollbar Size in settings.json

"editor.scrollbar.horizontalScrollbarSize": 14,
"editor.scrollbar.verticalScrollbarSize": 14,
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Suryateja KONDLA

79227582

Date: 2024-11-26 16:45:27
Score: 2
Natty:
Report link

just an update, I have managed to make it work by completely creating another resource group and then the function, there seems to be an issue with the resource group as it was made years ago. One other thing that I want to mention is that the client must match the type if you are using strong typed hubs, return Clients.All.newMessage(new NewMessage(invocationContext, message)); on the client side would look like connection.On<NewMessage>("Broadcast", (value) => Console.WriteLine(Serialize(value)));

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Pultea Robert

79227580

Date: 2024-11-26 16:45:27
Score: 1
Natty:
Report link

Up to now (Channel 24.05), the recommended way is to use environment.shellAliases.

environment.shellAliases = {
  l = null;
  ll = "ls -l";
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: yaner

79227579

Date: 2024-11-26 16:43:27
Score: 2
Natty:
Report link

The log file would be useful to troubleshoot your problem.

But without it you can try using a tool like: Bulk Crap Uninstaller or RevoUninstaller to remove all XAMPP's files and try to reinstall the same version or an older one (if the problem is related with the build).

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

79227573

Date: 2024-11-26 16:41:26
Score: 3.5
Natty:
Report link
var displayRepresentation: DisplayRepresentation {
    DisplayRepresentation(
        title: LocalizedStringResource(stringLiteral: name ),
        subtitle: "Door",
        image: .init(named: image!),
        synonyms: ["Gate"]
    )
}

where name & image are defined as:

@Property(title: "Name")
var name: String

@Property(title: "Image")
var image: String?
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Starts with a question (0.5): where
  • Low reputation (1):
Posted by: user28498496

79227570

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

The original poster is probably done with this by now but, for the benefit of any who follow:-

Custom Document Properties are visible to and can be modified by any user via the 'File' tab then select 'Info'. On the 'Info' page look for the 'Properties' section which has a small drop-down control. This control provides an option called 'Advanced Properties'. Select it and a dialog opens that contains several tabs. Select the 'Custom' tab. You can now inspect, create and edit any Custom Document Property. Most basic and non-inquisitive Excel users are unlikely to stumble on this.

Note that - The 'Properties' drop down is locked and inoperable if the Workbook structure has been password protected.

If you want to hide things better than that then 'Custom Properties' (CPs) are the way to go as they are, as far as I have been able to discover, only accessible programmatically. It is important to understand that Custom Properties are properties (children) of a specific worksheet - as selected/specified when the CPs are created. If that 'parent' worksheet is deleted then the associated CPs are lost. I recommend that you have a dedicated worksheet specifically allocated for this purpose and hide it to avoid user instigated harm. I usually use a single ellipsis character "…" as the worksheet name but that is up to you.

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

79227558

Date: 2024-11-26 16:37:25
Score: 1
Natty:
Report link

I had same issue. In my case this was missing packages in the system. Trying bitbake core-image-minimal gave me better diagnostics (sorry, I didn't copy the exact output).

I installed the missing packages. In my case it was # apt install chrpath diffstat lz4. Then bitbake-layers started to work.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dominik Wójt

79227552

Date: 2024-11-26 16:36:25
Score: 4.5
Natty:
Report link

Sorry to comment here, but I was having difficulty with this too. I didnt want to make a new question, as my code is identical, but my problem is related to after having done a long click and moving the mouse around and then stopping moving, but maintaining the click, the code in the timer for mousedown is no longer being called, or rather they don't start again when the mousemove part stops:

    let isMouseDown = false;
    let intervalId = null;
    
    canvas.addEventListener('mousedown', (event) => {
        if (!isMouseDown) {
            isMouseDown = true;
            handleMouseClick(event);
            intervalId = setInterval(() => {
                handleMouseClick(event);
            }, 30); 
        }
    });
    
    canvas.addEventListener('mouseup', () => {
        isMouseDown = false;
        clearInterval(intervalId);
    });
    
    canvas.addEventListener('mousemove', (event) => {
        if (isMouseDown) {
            handleMouseClick(event);
            clearInterval(intervalId);
        }
    });

So can someone help me with this scenario, to reiterate, click and hold, move mouse, stop moving mouse, mousedown calls cease. I consider this to be valuable to the question that was asked and so I maintain the validity of the comment.

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): to comment
  • RegEx Blacklisted phrase (3): can someone help me
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Leigh Hobson

79227539

Date: 2024-11-26 16:34:24
Score: 1
Natty:
Report link

A wrong cases offered in comments: s = ababac, t = abac.

According to the logic of the original code, the pointer s should move back by a certain position each time in the else{} statement, but the original code overlooks it.

I rewrite it like :

        if (*ptrT == *ptrS) {
            ptrT++;
        } else {
            ptrS -= (ptrT - t);
            ptrT = t;
        }
        ptrS++;

it works.

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

79227531

Date: 2024-11-26 16:32:23
Score: 0.5
Natty:
Report link

Below script works form me.

az monitor scheduled-query list --query "[?tags.regionspecific=='yes'].{name:name, resourceGroup:resourceGroup}" -o tsv |  
while IFS=$'\t' read -r alert_name resource_group; do  
    echo "Disabled log query alert rule: $alert_name in resource group: $resource_group"  
done 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Vowneee

79227530

Date: 2024-11-26 16:32:23
Score: 3
Natty:
Report link

The program "import unittest; print(unittest)" shows the location of an (unexpected) self written module "unittest". That module has blocked the builtin module.

Thanks to wrandrea!

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

79227525

Date: 2024-11-26 16:31:23
Score: 2
Natty:
Report link

To get the full name in mdesc, use

mdesc, ab(36)

Ab means abbreviate, but you can put in a big number that covers the length of your variable names.

(Asking someone to search the the Stata help menu to dive though pages of text is to misunderstand the power of web-search engines to help people find the exact info they need).

Reasons:
  • Blacklisted phrase (1): help me
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: ChrisD

79227521

Date: 2024-11-26 16:31:23
Score: 3
Natty:
Report link

{"update_id":937988537,"message":{"message_id":7095,"from":{"id":7428318017,"is_bot":false,"first_name":"\u5927\u5409\u5927\u5229","username":"xxxx"},"chat":{"id":-4581955586,"title":"xxx","type":"group","all_members_are_administrators":false},"date":1732638232,"migrate_to_chat_id":-1002315289604}}

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: VAN.CY

79227518

Date: 2024-11-26 16:29:22
Score: 1.5
Natty:
Report link

Service principal can also be created using PAC CLI pac admin create-service-principal command. It sets up right permissions on service principal including call to /providers/Microsoft.BusinessAppPlatform/adminApplications

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

79227516

Date: 2024-11-26 16:29:22
Score: 1.5
Natty:
Report link

For me the key was switching to using shallowRef() instead of ref() for the dom element references. Once I made that switch everything started working.

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

79227514

Date: 2024-11-26 16:28:22
Score: 1
Natty:
Report link

You Just need to attach the soap service as a connected service in VS. Right Click in your project ==> Add Service Reference ==> Select "WCF Web Service" and follow the form inserting WSDL url or the WSDL xml file. After that all the classes and methods you need (including response class models) will be generated by VS.

You can also use HttpClient passing the xml request in body, but it will require more effort generating class models. If you still prefer this way, vs past special can help you generating the class, for example you can do the calls using postaman, and then copying the xml result pasting with "paste special" in a new class file.

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

79227511

Date: 2024-11-26 16:27:21
Score: 0.5
Natty:
Report link

Ours was a somewhat specific use case, but we were able to access all of the same props as before by switching from the cell slot to a wrapper in the renderCell method in our column definitions.

export const authorColumns: GridColDef[] = [
  {
    field: 'Actions',
    ...
    renderCell: props => (
      <CellBase {...props}>
        <ActionsCell {...props} />
      </CellBase>
    ),
    ...
  },
  ...
]

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

79227510

Date: 2024-11-26 16:27:21
Score: 1.5
Natty:
Report link

For FMX, I'm using hexadecimal (RGB) value:

Label1.TextSetting.FontColor := $FF00FF;
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Wellington Telles Cunha

79227489

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

If canvas matrix is not set, and you transform every path by the matrix before drawing it, it works a little faster. At least when the number of paths is too big

path.transform(matrix)

On every path instead of:

canvas.setMatrix(matrix)

Or

canvas.concat(matrix)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: takluiper

79227466

Date: 2024-11-26 16:15:18
Score: 2.5
Natty:
Report link

Thanks for the answers. I got a solution from another programmer:

kivy adjusts the size of the window to the desktop settings. There the desktop was set to 125%. The program is ok, it scales 25% up and then the borders appear. A behavior that I do not expect when explicitly specifying the window size in pixels.

I do not know how to detect or solve this. Someone outside will have this behavior too when using my program. Maybe I find out later.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Sprudel

79227454

Date: 2024-11-26 16:12:17
Score: 1
Natty:
Report link

Problem You want to initialize the VideoPlayerMediaKit plugin with platform-specific libraries in your Flutter project.

Solution Below is the implementation to ensure the VideoPlayerMediaKit is initialized for supported platforms and the necessary dependencies added to the pubspec.yaml void main() { VideoPlayerMediaKit.ensureInitialized( android: true, iOS: true, macOS: true, windows: true, linux: true, ); runApp(const MyApp()); }

dependencies: flutter: sdk: flutter video_player: ^2.9.2 video_player_media_kit: ^1.0.5

Platform-specific native libraries

media_kit_libs_android_video: any media_kit_libs_ios_video: any

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

79227444

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

You can use a pointer directly to point to the desired section of the array.Like for eg instead of double *smallarr[10] = &bigarr[297]; you can just do double smallarr = &bigarr[297]; and then use a loop to process (as in smalllar[i]....)

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tabraiz Bilal

79227435

Date: 2024-11-26 16:06:15
Score: 1
Natty:
Report link

Save the Vectors

vectorstore = SKLearnVectorStore.from_documents(
        documents=doc_splits,
        persist_path=PERSIST_PATH,
        embedding=OllamaEmbeddings(model="Gemma-2:9b"),
        serializer="parquet",
    )

vectorstore.persist()

Load the Saved parquet file

vectorstore = SKLearnVectorStore(
            persist_path=PERSIST_PATH,
            embedding=OllamaEmbeddings(model="Gemma-2:9b"),
            serializer="parquet"
        )
docs = vectorstore.similarity_search(query)

*Note: PERSIST_PATH is the path where you would like to save the file and load it.

Refer: https://python.langchain.com/docs/integrations/vectorstores/sklearn/*

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

79227432

Date: 2024-11-26 16:05:15
Score: 1
Natty:
Report link

Have noticed that using AddQuotes might be useful here. Hence somehow path is being broken at the end.

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

79227420

Date: 2024-11-26 16:02:14
Score: 5
Natty: 6.5
Report link

[enter image description here][1]

[1]: https://i.sstatic.net/9nqeCCDK.png**strong text**

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: yogesh

79227419

Date: 2024-11-26 16:02:14
Score: 4
Natty: 5
Report link

I was looking for the same after Vandad Playlist . Thank you for the solution

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lakshay Gupta

79227415

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

- Perfect emulation + perfect simulation = identical to the target system

Bonus:

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

79227414

Date: 2024-11-26 15:59:12
Score: 2
Natty:
Report link

Found the solution this morning.

  1. I converted my packages.config to package reference See docs
  2. I updated my csproj of the NuGet package to be:
<None Include="Xsds\*.xsd">
  <pack>true</pack>
  <PackagePath>contentFiles\any\any\Xsds\</PackagePath>
  <PackageCopyToOutput>true</PackageCopyToOutput>
  <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>

I would like to know if this is possible to do with a packages.config. It's rather annoying that this NuGet package simply won't work unless the user is doing it a specific way..

Reasons:
  • Blacklisted phrase (1.5): I would like to know
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: RED

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