79123851

Date: 2024-10-24 23:24:28
Score: 2.5
Natty:
Report link

x and y are integers (represented by the tools using a LOT of bits, I think 32 as default for systemverilog), so if x = 1 (integer) your tools might translate that to 32'h0000_0001 hence ~x might end up as = 32'hffff_fffe. Is that reasonably interpreted as "True" or "False" ? It's a non-sensical question to ask the synthesis tools to begin with.

Summary: Don't do boolean logic on integers! Do boolean logic on type "logic" or "wire" etc...

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Rolf W

79123823

Date: 2024-10-24 23:01:24
Score: 2
Natty:
Report link

What is possible?

It looks like the file system access API will allow you to have greater control over what you want. The <input> tag is more limited, so I would recommend using a button or other tag with an onclick event instead.

First things first, you can disable other kinds of files by setting the excludeAcceptAllOption to true.

Second, we can start in a given directory using the startin feature. This could be a saved directory or some kind of default directory like 'Home' which is present on most operating systems.

For the last requirement, it is unfortunately impossible to restrict the user's ability to navigate to other directories or rename files since this is a default feature of most/all operating systems.

For the <input type='file'> approach, this only has the few attributes stated here. The problem is that none of these attributes are able to control renaming or browsing, or even the ability to see which files you have clicked but not decided to select. For the File System Access API, there is also nothing of the sort since all of the file picker options are provided here and do not relate to this.

An indirect method such as preventing the mouse from right-clicking a file to rename or seeing where the cursor is located to stop it from to another directory would also not work. This is because the mouse movement, clicking, and all other user inputs are not detectable while in the file picker. If you create an event listener for typing or clicking, it will be unresponsive since the file picker is not an element so event listeners cannot be added.

The point is that there is no way to control file renaming or the directory the user goes into since there is no way for the programmer to know if these have happened. They cannot be done directly since there are no built-in options.

What should I do?

I know this is disappointing, but my only suggestion would be to use the two possible features and to somehow get around the other one. For your element, you could change it to a button as mentioned before and use an event listener to activate the file picker.

The code would then look like this:

const format = {
  excludeAcceptAllOption: true,
  multiple: false,
  startin: window.navigator.platform.indexOf("Win") != -1 ? "D:/" : "Users/",
  types: [{
    description: "Your description here",
    accept: {
      "text/*": [".json", ".xml"],
    },
  }, ]
};
async function filePicker() {
  var fileHandle = await window.showOpenFilePicker(format);
  return fileHandle;
}

function clickFunction() {
  window.showOpenFilePicker(format)
  var file = filePicker();

  // Do something with your file
}
.custom-file-upload {
  display: flex;
  cursor: pointer;
  background-color: #1c3849;
  color: white;
  border-radius: 6px;
  border: 1px solid black;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  font: 15px "Noto Sans Display", sans-serif;
  font-weight: normal;
  width: 200px;
  height: 50px;
  margin: 0;
}

.custom-file-upload:hover {
  background-color: #006e9e;
}
<label for="fileUpload" class="custom-file-upload">Load Parameters File</label>
<button id="fileUpload" style="display:none;" onclick="clickFunction()">

Important: this will not work in the browser snippet, so you will have to paste it into a text editor and run it locally.

Reasons:
  • Blacklisted phrase (2): What should I do
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What is
  • Low reputation (0.5):
Posted by: Paxon Kymissis

79123817

Date: 2024-10-24 22:58:24
Score: 1
Natty:
Report link

If you are a windows user then adding exclusion for the Leakless executable solve the problem

Follow these steps:

Windows Security -> virus & threat protection -> click Manage settings -> click Add or remove exclusions -> choose Folder -> Navigate to the leakless.exe file located at C:\Users[user_name]\AppData\Local\Temp\leakless-amd64-[your-temp-folder] and add it as an exclusion.

then try to restart or rebuild and run the app

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

79123802

Date: 2024-10-24 22:49:22
Score: 1
Natty:
Report link

If you have a directory somewhere that does support file locking, you can change the environment variable for the cache directory to that directory, e.g.:

$ export HF_HOME="/path/to/directory/with/file/locking"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: alex_ashwood

79123799

Date: 2024-10-24 22:47:21
Score: 2.5
Natty:
Report link

there is a update for TCPDF-2024 here: https://github.com/tecnickcom/TCPDF/tree/6.7.6

you can simply replace your old one with this new one here

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

79123798

Date: 2024-10-24 22:47:21
Score: 2
Natty:
Report link

Simply dragging and dropping does not work when dragging from a regular form into a tab control. In order to drag into a tab control, select all the items you wish to drag, and start the dragging (click, hold, and move) from the white top-left corner square

depictionOfWhereToDragFrom

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

79123792

Date: 2024-10-24 22:42:20
Score: 0.5
Natty:
Report link

Just wanted to add a custom solution to interpret static global variables without runScripts: 'dangerously' when relying on third-party content.

https://gist.github.com/sneko/72f1a6deb9efdf47b952fb3dd31660c6

It won't help in case you need remote scripts to be loaded, but since your post is one of the few about this, I thought posting my solution could help some :)

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Thomas Ramé

79123789

Date: 2024-10-24 22:41:20
Score: 1.5
Natty:
Report link

Having multiple CSS file will lead to multiple requests, however, as mentioned here you can concatenate multiple css files.

Hope this helps!

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

79123787

Date: 2024-10-24 22:40:20
Score: 1
Natty:
Report link

Here's what you do:

  1. convert the document to plain text
  2. import into excel; semicolon delimited
  3. copy the row of data, click a new cell, transpose to get the data in one column 4)in cell B1, paste this: =IF(ISNUMBER(FIND(",", MID(A1, FIND("""", A1)+1, FIND("""", A1, FIND("""", A1)+1)-FIND("""", A1)-1))), MID(A1, FIND(",", A1)+2, FIND("""", A1, FIND(",", A1))-FIND(",", A1)-2), IF(ISNUMBER(FIND(" ", MID(A1, FIND("""", A1)+1, FIND("""", A1, FIND("""", A1)+1)-FIND("""", A1)-1))), LEFT(MID(A1, FIND("""", A1)+1, FIND("""", A1, FIND("""", A1)+1)-FIND("""", A1)-1), FIND(" ", MID(A1, FIND("""", A1)+1, FIND("""", A1, FIND("""", A1)+1)-FIND("""", A1)-1))-1), MID(A1, FIND("""", A1)+1, FIND("""", A1, FIND("""", A1)+1)-FIND("""", A1)-1) ) )

That will grab the name whether it's formatted "first, last" or "first last" and if neither, just paste the value inside the "" 5) in cell C1 paste this: =IF(ISNUMBER(FIND(",", MID(A1, FIND("""", A1)+1, FIND("""", A1, FIND("""", A1)+1)-FIND("""", A1)-1))), LEFT(MID(A1, FIND("""", A1)+1, FIND(",", A1)-FIND("""", A1)-1), FIND(",", A1)-FIND("""", A1)-1), IF(ISNUMBER(FIND(" ", MID(A1, FIND("""", A1)+1, FIND("""", A1, FIND("""", A1)+1)-FIND("""", A1)-1))), MID(A1, FIND(" ", A1)+1, FIND("""", A1, FIND(" ", A1))-FIND(" ", A1)-1), MID(A1, FIND("""", A1)+1, FIND("""", A1, FIND("""", A1)+1)-FIND("""", A1)-1) ) )

will do the same for last name 6) Paste this in C1: =MID(A1, FIND("<", A1)+1, FIND(">", A1) - FIND("<", A1) - 1)

-- Pulls the email address out

Done!

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

79123779

Date: 2024-10-24 22:35:19
Score: 1
Natty:
Report link

Upon checking the Spanner public issue and feature requests tracker, I found no existing feature request related to Spanner row-level security. I suggest you file a new request so that the Spanner team can look into it and have discussions about it.

Also for the PostgreSQL compatibility report for Spanner, you might consider checking the release notes as an alternative, where you’ll find a list of features that Spanner supports specific to PostgreSQL.

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

79123777

Date: 2024-10-24 22:34:18
Score: 1
Natty:
Report link

LCP, CLS, and TBT are very good metrics and that's why they are the three highest-weighted metrics in the performance score.

https://github.com/GoogleChrome/lighthouse/blob/main/docs/v8-perf-faq.md#why-are-the-core-web-vitals-metrics-weighted-differently-in-the-performance-score

As far as I can tell, their weights are not "coming from" the HTTP Archive. It appears that they instead use the Archive's corpus of data to project how their weights will impact the web's scores.

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

79123773

Date: 2024-10-24 22:31:18
Score: 1
Natty:
Report link

The issue is entirely due to a bug in macOS’s event handling system. You can observe the same behavior in macOS’s built-in onscreen Keyboard Viewer – when simulating the Fn + Control + any arrow key combination, it results in incorrect response. Unfortunately, there’s no workaround available until Apple addresses this.

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

79123770

Date: 2024-10-24 22:30:17
Score: 3
Natty:
Report link

--no-role-passwords parameter will avoid accessing object in issue

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

79123769

Date: 2024-10-24 22:30:17
Score: 1
Natty:
Report link

K.. After lots and lots of troubleshooting... I finally got it figured out...

Country=driver.find_element(By.XPATH, "full-xpath-pasted-here"); countryselect=Select(Country); countryselect.select_by_visible_text(ClientCountry)

Definitely thought I had this before, but I think I had the wrong variable in the third command at the beginning. I think I had the ClientCountry and not countryselect.

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

79123759

Date: 2024-10-24 22:22:16
Score: 2.5
Natty:
Report link

wx.TextCtrl is a subclass of wx.TextEntry, which has SetHint() method. It does not do exactly what you want: prompt is removed when the field is focused, text is not italic (at least on Linux). But it is simple and consistent with other similar stuff on the system.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): is a
  • Low reputation (0.5):
Posted by: Andrei Korshikov

79123743

Date: 2024-10-24 22:13:14
Score: 1.5
Natty:
Report link

Like @Bart McEndree suggested. You may temporarily replace ; enclosed by "

Example :

SELECT REPLACE(REPLACE(REPLACE(text, '";"', '"\xff"'), ';', ''), '"\xff"', '";"') FROM <table>;

In this example, I temporarily replace ";" by "\xff", but you may change that.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Bart
  • Low reputation (0.5):
Posted by: Mike

79123740

Date: 2024-10-24 22:13:14
Score: 1.5
Natty:
Report link

This works now following way:

asciidoctorj {
    modules {
        diagram.use()
    }
}

See: https://asciidoctor.github.io/asciidoctor-gradle-plugin/master/user-guide/#diagram

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

79123733

Date: 2024-10-24 22:09:13
Score: 2.5
Natty:
Report link

the problem was the app routes:

wrong routing:

Coorect routing:

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

79123728

Date: 2024-10-24 22:04:13
Score: 0.5
Natty:
Report link

Private Endpoint for the deployment slot is created using the same Bicep code as for the web site, aka Microsoft.Network/privateEndpoints.

The difference is only in the groupIds property of the privateLinkServiceConnections array, as it MUST be as follows:

groupIds: ['sites-${webSlot.name}']

Where webSlot is defined using Microsoft.Web/sites/slots resource.

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

79123726

Date: 2024-10-24 22:04:13
Score: 3
Natty:
Report link

vector_store_lancedb = LanceDBVectorStore(uri=LANCEDB_URI, mode="append") "append" keyword did the trick

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

79123723

Date: 2024-10-24 22:03:12
Score: 3.5
Natty:
Report link

Late to the party, but including var.axes=0 should work

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

79123715

Date: 2024-10-24 22:00:12
Score: 0.5
Natty:
Report link

In SQL this can be done with window functions and OVER PARTITION

SELECT *
  , AVG (Value) OVER (PARTITION BY [ID]) AS [AverageByID]
  , AVG (Value) OVER() AS [OverallAverage]
FROM [data]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: antonio_mg

79123705

Date: 2024-10-24 21:54:10
Score: 5
Natty: 5
Report link

OK so you`re telling me that none who work on the css language have tried to remove banding on their gradients in atleast 12 years ?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nic Tanghe

79123703

Date: 2024-10-24 21:53:10
Score: 2.5
Natty:
Report link

You will have to change your background color with javascript, perhaps using an "invisible" class with a background color property

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

79123694

Date: 2024-10-24 21:50:09
Score: 1
Natty:
Report link

This works for me.

Step 1: Add the link server using MSOLEDBSQL for @provider

EXEC master.dbo.sp_addlinkedserver
@server = N'MYLINKEDSERVER',
@srvproduct=N'mssqlserver',
@provider=N'MSOLEDBSQL', /* Microsoft OLE DB driver for SQL Server */
@datasrc=N'TESTSERVER',
@provstr=N'Encrypt=yes;TrustServerCertificate=yes;'

-- Use "yes" NOT "true"

Step 2: Configure the login mapping with SQL Authentication

EXEC sp_addlinkedsrvlogin
@rmtsrvname = 'MYLINKEDSERVER', -- The Linked Server name created above
@useself = 'False', -- Use False to specify SQL authentication
@locallogin = NULL, -- Use NULL to allow all local logins
@rmtuser = 'TESTREADONLYUSER', -- SQL Server login username
@rmtpassword = 'SECRETPASSWORD'; -- SQL Server login password

Reasons:
  • Whitelisted phrase (-1): works for me
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @provider
  • User mentioned (0): @server
  • User mentioned (0): @rmtsrvname
  • User mentioned (0): @useself
  • User mentioned (0): @locallogin
  • User mentioned (0): @rmtuser
  • User mentioned (0): @rmtpassword
  • Low reputation (1):
Posted by: user2658092

79123682

Date: 2024-10-24 21:44:07
Score: 2.5
Natty:
Report link

The answer was actually more simple than I expected. After some research in the provided environnement for the front, I found out i had an import of provideHttpClientTesting in my app.config.ts. This prevented my front-end to do actual requests, which it now does.

Thank you for the attention you've given to my problem !

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Thomas Le Dret

79123680

Date: 2024-10-24 21:44:07
Score: 4
Natty:
Report link

As if no one is here to answer this annoying error, I got this error when I tried to import a Gridlayout in xml file using Java language. I think the error is thrown by the .gradle directory and I feel like that kotlin and java must have declared their own gradle directory with their own specific paths in edit system environment! If anyone has experienced the same problem, please share with me, i forgot to point out that when i looked at dependency tree i realized that none of the dependencies resolved (n) and although I forced them to the same version, the error still exists! Hope to hear from someone solving this annoying error🥺

Reasons:
  • RegEx Blacklisted phrase (2.5): please share
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ahmad Shiravand

79123667

Date: 2024-10-24 21:36:05
Score: 2.5
Natty:
Report link

Just make sure your input is password type. This will avoid receiving suggestions regarding the text entered.

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

79123662

Date: 2024-10-24 21:34:04
Score: 4.5
Natty: 5
Report link

Does anyone know how to design a real tree in kotlin so that when a button is clicked and a text is entered, a branch is created at the end of which the text is written. The tree I would like to make is similar to a bonsai tree

Reasons:
  • RegEx Blacklisted phrase (2): Does anyone know
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Andrea Conrado

79123661

Date: 2024-10-24 21:34:04
Score: 4.5
Natty:
Report link

First of all please consider that your buttons should NEVER be children of a. This may solve your problem, also please provide a code snippet and make sure the images are in an accepted format and do not have a background

Reasons:
  • RegEx Blacklisted phrase (2.5): please provide a code
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: THE MANUX

79123651

Date: 2024-10-24 21:29:03
Score: 2
Natty:
Report link

Forget that. Turned out that was just repeating the same 200 rows over and over again. :(

Back to the drawing board, but we came up with this result instead:

let
// Function to get all pages
GetAllPages = () =>
let
    // Function to get the next page
    GetNextPage = (skipCount as number) =>
    let
        url = "https://finder.bloodsandbeyond.co.uk/odata/myURL?$skip=" & Number.ToText(skipCount),
        headers = [
            #"x-api-token" = "????????????????"
        ],
        source = try Web.Contents(url, [Headers=headers]) otherwise null,
        // Convert response to JSON
        jsonResponse = if source = null then error "No data from API!" else try Json.Document(source) otherwise null,
        // Check if jsonResponse is valid
        value = if jsonResponse <> null and Record.HasFields(jsonResponse, "value") then jsonResponse[value] else null,

        // Debugging: Log the URL and the number of records fetched
        _ = if value <> null then
            let
                recordCount = List.Count(value),
                debugMessage = "Fetched " & Number.ToText(recordCount) & " records from: " & url
            in
                // Uncomment the next line to display debug messages in the console
                // Debug.WriteLine(debugMessage)
                null
            else
                null

    in
        // Return the records as a table or null if no records
        if value = null or List.IsEmpty(value) then null else Table.FromList(value, Splitter.SplitByNothing(), null, null, ExtraValues.Error),

    // Initialize variables
    pages = {}, // List to hold pages
    currentPage = GetNextPage(0), // Start with the first page
    skipCount = 0, // Initialize skip count

    // Loop to fetch pages until there are no more records
    Result = List.Generate(
        () => [Page = currentPage, Skip = skipCount], // Start with the first page
        each [Page] <> null, // Continue while there's a valid page
        each [Page = GetNextPage([Skip] + 200), Skip = [Skip] + 200], // Get the next page and update skip count
        each [Page] // Return the current page
    ),

    // Combine all pages into a single table
    allData = Table.Combine(List.RemoveNulls(Result))
in
    allData,

// Call the function to get all the data
Result = GetAllPages(),
#"Expanded Column1" = Table.ExpandRecordColumn(Result, "Column1", {"id", "invoice_id", "source", "state", "transaction_id", "amount", "created_at", "updated_at", "deleted_at"}, {"id", "invoice_id", "source", "state", "transaction_id", "amount", "created_at", "updated_at", "deleted_at"})
in
#"Expanded Column1"
Reasons:
  • Blacklisted phrase (1): ???
  • Blacklisted phrase (1): :(
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Edward Tillen

79123644

Date: 2024-10-24 21:26:02
Score: 2.5
Natty:
Report link

It's worth noting that in Angular 18+ you can now use the @let syntax to get a reference to your data.

<div>
  @let myItem = myItem$ | async;
  <span>{{ myItem.title }}
</div>
  
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @let
  • Low reputation (1):
Posted by: Luke Weston

79123633

Date: 2024-10-24 21:19:01
Score: 0.5
Natty:
Report link

@Jaquarh convinced me it was way easier than I thought it would be by really testing. His version was the basis for this solution. Thanks, Jaquarh!

I haven't tested with Resources since I don't store them, if someone wants to add an answer with Resources please do.

<?php

function test_type(mixed $value, string $type): bool
{   $foundType =  strtolower(gettype($value)); 
    $foundType = ['boolean'=>'bool', 'integer'=>'int', 'double'=>'float'][$foundType] ?? $foundType;
    
    $type = str_replace('?', 'null|', $type);
    $typesUnion = explode('|', $type);
    $typesIntersection = explode('&', $type);
    if ( count($typesIntersection)>1) {
        if (  ! is_object($value) ) return false;
        foreach($typesIntersection as $subtype) {
            if ( ! ($value instanceof $subtype)) return false;
        }
        return true;
    }
    foreach($typesUnion as $subtype) {

        if ( is_null($value) && strtolower($subtype)=='null' )  return true;       
        if ( $value === false && strtolower($subtype)=='false' )  return true;       
        if ( $value === true && strtolower($subtype)=='true' )  return true;       
        if ( is_callable($value) && strtolower($subtype)=='callable' )  return true;       
        if ( is_object($value) ) { if ( $value instanceof $subtype) return true; }
        elseif ( $foundType == strtolower($subtype) ) return true;
    }
    return false;
}

enum hello { case world; case earth; case mars; };

echo (int) test_type(false,  "int|bool");                                   // 1
echo (int) test_type(null,  "?int");                                        // 1
echo (int) test_type(null,  "int|string");                                  // 0
echo (int) test_type("hello, world", "?bool");                              // 0
echo (int) test_type(hello::world, "hello");                                // 1
echo (int) test_type(false, "DateTimeInterface|false");                     // 1
echo (int) test_type(true, "DateTimeInterface|false");                      // 0
echo (int) test_type(new DateTime, "DateTimeInterface|false");              // 1
echo (int) test_type(new DateTime, "null|int|DateTime|DateTimeImmutable");  // 1
echo (int) test_type(new DateTime, "DateTime&DateTimeInterface");           // 1
echo (int) test_type([1,2,3,4], "Array");                                   // 1
echo (int) test_type(fn($x) => $x+1, "callable");                           // 1

https://onlinephp.io/c/fea67

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Jaquarh
  • Self-answer (0.5):
Posted by: Roemer

79123632

Date: 2024-10-24 21:18:00
Score: 7
Natty: 7
Report link

can you please give me the data set

Reasons:
  • RegEx Blacklisted phrase (2.5): can you please give me
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): can you please give me the
  • Low reputation (1):
Posted by: Ibrahim14 Ibraking043

79123630

Date: 2024-10-24 21:17:00
Score: 0.5
Natty:
Report link

You can use a tool like aeneas to align the original text with your TTS-generated audio, generating accurate timestamps. Then, compare the Whisper subtitles with the original text using string similarity algorithms like difflib or Levenshtein distance to detect and correct errors. You can automate the process to replace misrecognized words while keeping the timestamps intact. This should improve subtitle accuracy based on your original text.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Toony

79123620

Date: 2024-10-24 21:14:59
Score: 3
Natty:
Report link

AI can definitely create songs! There are various tools and platforms that use machine learning algorithms to compose music, generate melodies,generate subtitle, and even produce lyrics. Some of the key features of AI-generated songs include:

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

79123614

Date: 2024-10-24 21:12:58
Score: 4
Natty: 4
Report link

its not outdated, its THE simplest one - forever, lol. you nailed it!

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

79123603

Date: 2024-10-24 21:07:57
Score: 1.5
Natty:
Report link

Based on this:

The button disappears during loading and is replaced by a loader animation,

After clicking the button, try waiting for the button to disappear instead of waiting on the loader animation.

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

79123582

Date: 2024-10-24 20:58:54
Score: 0.5
Natty:
Report link

I just found out how to get the icons for these items.

This is the MENUITEMINFO structure:

<StructLayout(LayoutKind.Sequential)>
Public Structure MENUITEMINFO
    Public cbSize As UInteger
    Public fMask As UInteger
    Public fType As UInteger
    Public fState As MFS
    Public wID As Integer
    Public hSubMenu As IntPtr
    Public hbmpChecked As IntPtr
    Public hbmpUnchecked As IntPtr
    Public dwItemData As IntPtr
    Public dwTypeData As String
    Public cch As UInteger
    Public hbmpItem As IntPtr
End Structure

I just found out it has 3 icons inside: hbmpItem (the only one I was checking at first), but also hbmpChecked and hbmpUnchecked. Apparently some context menu handlers use hbmpUnchecked instead of hbmpItem. I found this in the sources of the 7-zip context menu handler.

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

79123557

Date: 2024-10-24 20:45:50
Score: 5.5
Natty: 4.5
Report link

above someone mentioned that knowing the length of the pulse you can calculate the fuel consumption. but how to calculate the amount of fuel injected during this pulse?

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

79123551

Date: 2024-10-24 20:44:48
Score: 8.5 🚩
Natty:
Report link

Did you find the solution? I am having trouble with it too, im using GeneXus 18 and not only that does not work but when I dont put any ServiceUrl at all and i try to put one on the mobile phone it crashes.

Reasons:
  • RegEx Blacklisted phrase (3): Did you find the solution
  • RegEx Blacklisted phrase (2): I am having trouble
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find the solution
  • Low reputation (1):
Posted by: Juan Pablo Wais Martinez Wais

79123541

Date: 2024-10-24 20:39:46
Score: 2.5
Natty:
Report link

I also had the same problem today, but with an ESP32-C6 and the ESP-IDF 5.31. I'm using both TWAI controller and had the problem with both two times, because I first thought of using listen only (which will also give the same errorframe).

#define PIN_CAN0_RX     GPIO_NUM_23
#define PIN_CAN0_TX     GPIO_NUM_3
#define PIN_CAN1_RX     GPIO_NUM_21
#define PIN_CAN1_TX     GPIO_NUM_20

As you already said, there is a very small down-peak on the TX which will result in an error frame.

Through testing I played around in the library files and I might have an workaround, but I don't know why it is working. During playing I found out, that when the pin not even registered as an output but "de"activated as an output, it still works. So the workaround is to go to the "components/driver/twai/twai.c" and in the function "twai_configure_gpio" change the line:

//Set TX pin
gpio_conf.mode = GPIO_MODE_OUTPUT | (io_loop_back ? GPIO_MODE_INPUT : 0);

into

//Set TX pin
gpio_conf.mode = 0u | (io_loop_back ? GPIO_MODE_INPUT : 0);

I've NOT tested the io_loop_back mode, but this change will DEactivate the output mode for the selected pin and there is no error frame on init and TWAI I/O still works. Maybe the functionality of the following "esp_rom_gpio_connect_out_signal" will enable output mode for the pin shrug

Maybe this "fix"/workaround also works with you and maybe somebody with further insight into the esp-code could check why this works at least with the C6.

Best regards, Markus

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Markus

79123531

Date: 2024-10-24 20:36:46
Score: 1
Natty:
Report link

My name is Luis and I work for the Metabase Success Engineering team

The problem that you're trying to solve here is to make internal users (in this specific case) to see their data and not be able to change the filters. Metabase has a feature called "Data Sandboxes" (https://www.metabase.com/docs/latest/permissions/data-sandboxes) that allows administrators to use user properties to be injected into the query that arrives to the data warehouse, without the user being able to modify the query at all (the rewriting happens on the backend).

We put a lot of effort and people's time in the documentation of the product, so please use that before looking for answers somewhere else. Most probably every single need is either addressed or we have an issue created in our public github issue tracker.

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

79123528

Date: 2024-10-24 20:35:45
Score: 1
Natty:
Report link

It would be great if you could share the file Here's one of my suggestions on how you can do it

import xml.etree.ElementTree as ET

tree = ET.parse('file.xml')
root = tree.getroot()

# Find all headers by their tag name
headers = root.findall('.//header1') # Use './/' to find all occurrences

for header in headers[1:]:
    root.remove(header)

I'm not sure of my proposed solution, so please correct me if you need to. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Davyd Antoniuk

79123519

Date: 2024-10-24 20:32:44
Score: 4.5
Natty:
Report link

Ao tentar desinstalar o Mariadb, recebi um erro... Então utilizei os seguintes comandos para desinstalar (mantendo as bases pq eu queria reinstalar uma versão atualizada).

1 - Pare o serviço MariaDB: sudo systemctl stop mariadb

2 - Remova os pacotes do MariaDB: sudo apt-get purge mariadb-server mariadb-client mariadb-common

3- Remova pacotes não utilizados e limpe o cache: sudo apt-get autoremove sudo apt-get autoclean

Opcional: Remova os arquivos de configuração e dados do MariaDB (Não fiz ): sudo rm -rf /etc/mysql/ sudo rm -rf /var/lib/mysql/

Esses comandos garantirão que o MariaDB seja completamente removido do seu sistema.

Depois é só reinstalar e logar :

sudo apt install mariadb-server

sudo service mysql start

mysql -u root -p

Reasons:
  • Blacklisted phrase (1): Então
  • Blacklisted phrase (1): não
  • Blacklisted phrase (1): Não
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Dieyzon Rocha

79123511

Date: 2024-10-24 20:28:43
Score: 1.5
Natty:
Report link

Seems to be a Windows-only issue. I just ran it 1000 times on a Linux system and got the same checksum 1000 times. Have you tried other output formats (gif, jpeg, svg, ...)?

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: sroush

79123505

Date: 2024-10-24 20:25:42
Score: 4
Natty:
Report link

For spring boot version 3.3.4 and above, use @EnableDiscoveryClient as @EnableEurekaClient is deprecated.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @EnableDiscoveryClient
  • User mentioned (0): @EnableEurekaClient
  • Single line (0.5):
  • Low reputation (1):
Posted by: Abhishek Ashware

79123500

Date: 2024-10-24 20:23:41
Score: 1
Natty:
Report link

Co-Simulation FMUs according to the FMI 2.0 standard to not have direct feedthrough. (The standard defines an order: set inputs - advance time by the communication timestep - get outputs of the FMU) If Simulink treats this as having direct feedthrough: contact the Mathworks support and report this as a bug. (Reason could be special behaviour at initialization that is mapped to a Simulink-specific implementation.)

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Christian Bertsch

79123496

Date: 2024-10-24 20:21:40
Score: 0.5
Natty:
Report link

OP solved the issue by bumping to the latest Node.js and VueJS versions.

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

79123493

Date: 2024-10-24 20:20:40
Score: 1.5
Natty:
Report link

SUMMARY ASWIN RAVICHANDRAN New Jersey, USA • (929) 595-3080 • [email protected] • LinkedIn ● Results-driven Data Engineer with 4 years of experience in managing and analyzing large-scale healthcare and business datasets. Proficient in SQL, Python, and ETL tools, with a proven track record of improving data-driven decision-making, automating processes, and developing predictive models. ● Skilled in data visualization, real-time monitoring, and data warehouse integration using tools such as Power BI, Apache Kafka, Snowflake, and Spark. Adept at collaborating with cross-functional teams to enhance data solutions and drive project success, demonstrating strong analytical, problem-solving, and communication skills. EDUCATION Master of Science in Computer Science, New Jersey Institute of Technology, Newark, NJ, USA Bachelor of Technology in Computer Science, Rajalakshmi Engineering College, Chennai, TN, India PROFESSIONAL EXPERIENCE Aug 2022 – Dec 2023 Aug 2016 – May 2020 Mount Sinai | Data Engineer Mar 2023 – Present ● Conducted in-depth analysis on over 1TB of healthcare and pharmacy data using SQL, Python, and R to identify trends and insights, improving data-driven decision-making processes. ● Utilized SQL, Python (Pandas, NumPy), and ETL tools (Alteryx, Talend) to clean, transform, and load data from multiple sources, ensuring data integrity and accuracy. ● Automated routine data processing tasks with Python scripts, saving over 100 hours of manual work per month and allowing for more focus on complex analysis tasks. ● Implemented advanced data visualization techniques using Power BI, reducing report generation time by 50% and enhancing the clarity of actionable insights for stakeholders. ● Developed and deployed predictive models using scikit-learn and TensorFlow to forecast medication demand and optimize inventory management, resulting in a 15% reduction in medication shortages. ● Worked closely with cross-functional teams including product managers, engineers, and healthcare professionals to develop and enhance data-driven solutions, resulting in a 20% increase in project success rates. ● Implemented real-time data monitoring dashboards using Apache Kafka and Grafana, improving the ability to detect and respond to data anomalies and operational issues promptly. ● Leveraged AWS services such as S3 for data storage and Lambda for serverless computing, improving the scalability and cost-efficiency of data processing workflows. ● Utilized AWS Redshift for data warehousing and analytics, enabling faster query performance and more efficient data analysis. ● Applied OLTP (Online Transaction Processing) systems to ensure efficient handling of transactional data and OLAP (Online Analytical Processing) systems for complex analytical queries, enhancing overall system performance and user experience. ● Designed and managed ETL workflows using Talend, Alteryx, and Spark, optimizing data pipelines and reducing data processing times by 40%. ● Integrated Snowflake data warehouse solutions to streamline data storage, access, and analytics, enhancing overall system performance and scalability. ● Applied dimensional modeling techniques to design and implement star and snowflake schemas for efficient querying and reporting in healthcare analytics. ● Implemented Slowly Changing Dimension (SCD) Type 1 and Type 2 techniques to manage and track changes in dimensional data, ensuring accurate historical data analysis and reporting. Version 1 | Data Engineer Jan 2020 – Jul 2022 ● Designed and implemented scalable big data architectures tailored to business needs, balancing performance requirements with considerations for data volume, velocity, and variety. ● Utilized tools like Elasticsearch and NiFi to enhance data processing and search capabilities. ● Applied in-depth Extract, Transform, Load (ETL) skills to orchestrate the smooth movement of data, optimizing processes for efficiency and maintaining data integrity throughout. Leveraged Apache Oozie for workflow scheduling and orchestration. ● Applied expertise in data modeling to design structures that optimize storage, retrieval, and processing, catering to unique challenges posed by varying data volumes and complexities. ● Performed advanced statistical analysis and machine learning to derive actionable insights from complex datasets, leveraging tools such as Python, R, and TensorFlow. ● Developed predictive models to forecast business metrics, improving decision-making processes and strategic planning. Utilized scikit-learn and Spark MLlib for model building and evaluation. ● Conducted exploratory data analysis (EDA) to uncover patterns, correlations, and anomalies in large datasets, using tools like Jupyter Notebooks and Pandas. ● Implemented natural language processing (NLP) techniques to extract meaningful information from unstructured text data, utilizing libraries such as NLTK and SpaCy. ● Applied encryption and access controls to secure sensitive data in Hadoop clusters, Azure Databricks. Utilized GCP (IAM) and Azure (IAM) for identity and access management, and incorporated Azure Event Hub for real-time data ingestion and processing. ● Conducted performance tuning for ETL processes, resulting in a resource utilization optimization of 20%. ● Implemented caching strategies and query optimizations in Hive and Azure Synapse Analytics, leading to a 30% improvement in analytical query performance. Utilized GCP Cloud Storage and Azure Blob Storage for efficient data storage. ● Established data quality checks and validation processes, reducing data errors by 15%. Utilized Azure Data Factory, GCP Data Fusion, and NiFi for data quality management. ● Implemented monitoring solutions, resulting in a 40% reduction in data quality issues through proactive identification and resolution. Used Azure Monitor and GCP Cloud Monitoring for monitoring and alerting. ● Utilized Snowflake for data warehousing, implementing optimized storage and retrieval solutions to support scalable analytics and reporting. Integrated Elasticsearch for enhanced search functionalities and data retrieval. TECHNICAL SKILLS Methodologies: SDLC, Agile/ Scrum, Waterfall Language & Databases: Python, SQL, R, SCALA, MySQL, MS SQL Server, ETL. Python Packages: Pandas, NumPy, Matplotlib, SciPy, Scikit-Learn, SeaBorn, PyTorch, ggplot2, Plotly Data Components: HDFS, MapReduce, Hive, HCatalog, HBase, Sqoop, Flume, Kafka, Yarn, Cloudera Manager, Kerberos, Pyspark Airflow, Kafka Snowflake Data Analytics Skills: Data Manipulation, Data Cleaning, Data Visualization, Exploratory Data Analysis, Data Analysis Others: AWS, AZURE(Databricks), NLP, A/B Testing, Hypothesis testing, ETL, Hadoop, Spark, Big Query, Apache Airflow, Tools: Tableau, Power BI, Advanced Excel, Visual Studio, GIT, Jupyter Notebook Version Control: Git, GItHub Operating Systems: Windows, macOS PROJECTS Enterprise Data Warehouse Design ● Architected an efficient Flight Management System data architecture, using SQL Server, Oracle, MySQL, PostgreSQL & Athena with AWS Glue, SSIS, Talend & Alteryx to enhance Business Intelligence capabilities, improving data retrieval times and analytics accuracy via Power BI and Tableau. Cloud-native Application Development ● Designed and implemented cloud applications on AWS, utilizing EC2, S3, Lambda, Auto Scaling, and CloudWatch, resulting in optimized performance, scalability, and a robust monitoring framework that significantly enhanced operational efficiencies. CERTIFICATION  Azure Data Engineer Associate – Microsoft  Architecting with Google Compute Engine - Coursera

Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Aswin Ravichandran

79123491

Date: 2024-10-24 20:19:40
Score: 1
Natty:
Report link

If there is no other formatting in cells you can apply Range(...).ClearFormats or Cells.ClearFormats in the entire sheet.

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

79123488

Date: 2024-10-24 20:17:39
Score: 1
Natty:
Report link

When you have optionals and code completion suggests testing for '!= nil', you must keep in mind true and false are both not nil. In this scenario it's best to do something like this:

if let bool = data?.contains("string") {
   boolVariable = bool
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When you have
  • Low reputation (0.5):
Posted by: mrcrowley

79123486

Date: 2024-10-24 20:16:39
Score: 0.5
Natty:
Report link

Somewhere on my angular site i had a picture with src that contained % in the URL... I think it was a link to a pic on wikipedia. Anyways despite vite not explicitly telling me which URL caused the crash, i think removing that wikipedia url with a % in it fixed the issue for me.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Max Alexander Hanna

79123485

Date: 2024-10-24 20:16:39
Score: 1
Natty:
Report link

I can't express my feelings of your "new" credential manager flow. Not only it is much less functional than before (previous was not a masterpiece, sure). But in 2024 it is almost impossible to incorporate it into multiplatform application with dependency injection, and here are two main reasons:

  1. Need to pass context twice: CredentialManager.create() and credentialManager.getCredential().
  2. Need to know that second context must be ActivityContext, ApplicationContext is not enough. Not Jetpack Compose-friendly.

There is a library KMPAuth that tries to fix this. But it is a shame that Google's front end - Authentication - looks so ugly.

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

79123479

Date: 2024-10-24 20:13:38
Score: 1
Natty:
Report link

Is it necessary to register all the columns that exist in the table in the Entity class or is it enough to register only those that interest me?

A: No, it is not necessary to register all the columns that exist in the table in the JPA entity class. You can map only the columns that are of interest to you in your application. JPA will only interact with the columns you define in the entity class.

Now for the error, with the info you have shared, it seems like you need to disable auto ddl generation : spring.jpa.hibernate.ddl-auto=none

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is it
  • Low reputation (1):
Posted by: itssoumen

79123462

Date: 2024-10-24 20:06:36
Score: 0.5
Natty:
Report link

If you use the ordinal or nominal data type, you can supply a timeUnit to get date formatting. There are many options depending on what kind of data you are working with.

import altair as alt
import polars as pl

source = pl.DataFrame(
    {
        "Category": list("AAABBBCCC"),
        "Value": [0.1, 0.6, 0.9, 0.7, 0.2, 1.1, 0.6, 0.1, 0.2],
        "Date": [f"2024-{m+1}-1" for m in range(3)] * 3,
    }
).with_columns(pl.col("Date").str.to_date())

bars = alt.Chart(source.to_pandas()).mark_bar().encode(
    x=alt.X("Date:O", timeUnit="yearmonthdate"),
    xOffset="Category:N",
    y="Value:Q",
    color="Category:N",
)

bars

enter image description here

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

79123459

Date: 2024-10-24 20:05:36
Score: 2.5
Natty:
Report link

It seems like Neo4j in Spring Boot 2.7.17 has stricter property type limitations, no longer supporting maps within maps directly as property values. Unfortunately, this feature appears to have been removed. One workaround is to serialize your nested map into a string (e.g., JSON) before storing it, then deserialize it when retrieving. This way, you avoid altering your database model while keeping your nested data structure intact. https://newztalkies.com/leads-kinderelizabeth-fraleyready-to-unleash-real-time-tracking-analytics-to-enhance-childrens-development-and-parental-engagement/ https://techprimex.com/elizabeth-fraley-leads-kinderready-to-unleash-real-time-tracking-analytics-to-enhance-childrens-development-and-parental-engagement/ https://usagreenlab.com/kinderready-real-time-tracking-elizabeth-fraley/

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

79123450

Date: 2024-10-24 20:02:33
Score: 8 🚩
Natty: 6
Report link

For the code above, do you replace $AndroidSource Folder with a path? Similarly, do you replace $WindowsTargetFolder with a path or keep exactly as written? How do I identify the path of my actual plugged in Android Google Pixel 4a? Lastly, how can I copy over my SMS text messages from Google Pixel 4a into my Windows PC? Is there a way to test this? Even though I backed up my phone (or so I think), the data is super sensitive, and I really want to be sure that the command doesn't delete anything. Thank you in advance!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): how can I
  • Blacklisted phrase (1): How do I
  • Blacklisted phrase (1): Is there a way
  • RegEx Blacklisted phrase (3): Thank you in advance
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Paulina

79123442

Date: 2024-10-24 19:57:31
Score: 0.5
Natty:
Report link

No need to uninstall anything, just make sure you have the latest version of Yarn. For example, if you installed it with npm, first update Yarn, then set it to version 2, which is the Berry version, and that's it.

npm install -g yarn
yarn set version berry
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Eduardo Rosado

79123441

Date: 2024-10-24 19:57:31
Score: 3.5
Natty:
Report link

That is, making sure to create secure and unique sessions.

What if we only want to allow one device to access the dashboard, but the user willingly shares their cookies? Is there nothing we can do?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Atakan Akbulut

79123437

Date: 2024-10-24 19:54:31
Score: 1.5
Natty:
Report link

There are several reasons why your parallel code is slower. Let's keep in mind the main reason to use parallel threads: You have tasks that are CPU-bound and wish to divide the workload.

The problem is that your code is NOT CPU-bound in the first place. A simple loop over 100_000 iterations is not hogging the CPU. About 8 years ago, using a 3.0 GHz CPU, I found that I could go through 600_000 iterations before parallel threads would be beneficial.

Next, BitArray is a horrible example for using Parallel.For iterating 1 index at a time? As mentioned in a comment, it is not thread-safe but what I want to point out is that a BitArray is backed by a list of integers. So an individual bit in the BitArray maps to a bit on an integer. And with Parallel.For, your loop may be attempting to set individual bits belonging to the same backing integer, which causes many performance issues. Yikes!

A better example would be try using a bool[]. There would be less performance conflicts. Even still, do not expect this to perform better than a simple serial loop.

What could be done to create a loop that rivals or surpasses a serial performance? Besides using a bool[], you should try to increase the array length to half a million or more. But you will still find Parallel.For is slower.

Why? Because Parallel.For creates a new task for each index. Granted, creating a task is a relatively low-impact call but when you create 100K up to 1 million, then a lot of those little impact things add up to a big impact. You could still use parallel threads but the focus should be to create just a few, and not 100K.

You can investiage using a Range Partitioner. Or you can simple create your own chunks based on the array length. A general rule of thumb I apply is to use twice the number of CPU's. That is 2 * Environment.ProcessorCount. Divide the array length by that value to produce a range size. If it does not divide evenly, i.e. has a remainder, then add 1 to the range size. Now just create your own ranges based on that range size.

You can then process each range in parallel. Instead of creating 100K threads, you have created a much smaller amount so you have minimized the overhead of creating tasks.

If you still insist on using BitArray, then the challenge is to produce a range size that is also evenly divided by 32. Why? Because that why a backing intger will belong to only one range. While you process the many ranges in parallel, you still process a given range serially. Since the backing integer would belong to only 1 range, you do not encounter performance conflicts.

Below is a link to a Paritioner class:

https://learn.microsoft.com/en-us/dotnet/api/system.collections.concurrent.partitioner?view=net-8.0

Reasons:
  • Blacklisted phrase (0.5): Why?
  • Blacklisted phrase (1): What could be
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: Rick Davin

79123435

Date: 2024-10-24 19:53:30
Score: 1
Natty:
Report link

I would define a requirements.txt file with what packages you want and versions. Then activate a virtual environment and install that requirement.txt file and that should fix the 'No module named' error.

  1. Making Virtual Environment in root directory

    python3 -m venv venv

  2. Activate Virtual Environment on macOS/Linux:

    source venv/bin/activate

    On windows

    venv\Scripts\activate

  3. With the virtual Environment installed, install required packages

    pip install -r requirements.txt

  4. Run your python project like normal

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

79123432

Date: 2024-10-24 19:51:30
Score: 1
Natty:
Report link

I got there in the end, chat gpt did eventually work for me, after a bit of debugging and error handling.

For anyone in the same boat, hopefully this code can help.

    let
    // Define the Table.GenerateByPage function for pagination
    Table.GenerateByPage = (getNextPage as function) as table =>
    let        
        listOfPages = List.Generate(
            () => getNextPage(0),            // Start with the first page (skip=0)
            (lastPage) => lastPage <> null,  // Stop when null is returned (no more data)
            (lastPage) => getNextPage(Table.RowCount(lastPage)) // Pass the row count as the next skip value
        ),
        // Concatenate the pages together
        tableOfPages = Table.FromList(listOfPages, Splitter.SplitByNothing(), {"Column1"}),
        firstRow = tableOfPages{0}?
    in
        // If no pages are returned, return an empty table
        if (firstRow = null) then
            Table.FromRows({})
        else if (Table.IsEmpty(firstRow[Column1])) then
            firstRow[Column1]
        else
            Value.ReplaceType(
                Table.ExpandTableColumn(tableOfPages, "Column1", Table.ColumnNames(firstRow[Column1])),
                Value.Type(firstRow[Column1])
            ),

    // Define the getNextPage function with enhanced error handling
    getNextPage = (skipCount as number) =>
    let
        // Construct the API URL with pagination logic
        url = "https://finder.bloodsandbeyond.co.uk/myURL?$skip=" & Number.ToText(skipCount),
        headers = [
            #"x-api-token" = "?????????????????????????"
        ],
        source = try Web.Contents(url, [Headers=headers]) otherwise null,
        // Convert the response to text and parse it as JSON
        rawResponse = if source = null then error "No data from API!" else Text.FromBinary(source),
        jsonResponse = try Json.Document(rawResponse) otherwise null,
        // Check if the "value" field exists and is valid
        value = if jsonResponse = null or not Record.HasFields(jsonResponse, "value") then null else jsonResponse[value],
        // If value is null or empty, stop fetching further pages
        nextPage = if value = null or List.IsEmpty(value) then null else value
    in
        // Return the result as a table or null
        if nextPage = null then null else Table.FromList(nextPage, Splitter.SplitByNothing(), null, null, ExtraValues.Error),

    // Use Table.GenerateByPage to get all data
    allData = Table.GenerateByPage(getNextPage)
in
    allData
Reasons:
  • Blacklisted phrase (1): ???
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Edward Tillen

79123424

Date: 2024-10-24 19:49:30
Score: 3
Natty:
Report link

Fantastic answer. Don't need to see if "checked". If the checkbox HAS a value then --> it WAS checked. No Value --> NOT checked

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

79123423

Date: 2024-10-24 19:48:29
Score: 1
Natty:
Report link

For those that don't want a comma before the "and" when there are two records, here is a slight variation of the answer by @johncappelletti.

Select Distinct
      OwnerID
     ,stuff( ( Select case when row_number() over(order by pn) = 2 and nullif(sum(1) over() ,1) = 2
                               then ' and ' 
                           when row_number() over(order by pn) = nullif(sum(1) over() ,1)
                               then ', and ' 
                           else ', ' 
                       end + pn  
                FROM (Select distinct pn 
                       From @YourTable
                        Where OwnerID = A.OwnerId
                     ) e 
                Order By PN
                For XML Path('')), 1, 2, '')  AS [Pet(s)]
 From @YourTable A
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @johncappelletti
  • Low reputation (1):
Posted by: user3546122

79123401

Date: 2024-10-24 19:35:26
Score: 2.5
Natty:
Report link

The variables in your template need to be wrapped in a pair of [(..)]. Read the docs for more information: https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html#textual-template-modes

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

79123400

Date: 2024-10-24 19:34:25
Score: 0.5
Natty:
Report link

enter image description here

In incognito mode it blocks third-party cookies if your authentication flow relies on cookies that are considered "third-party" that is - ( cookies set by domains other than your own during the authentication process), these cookies may be blocked. This can result in the session not being recognized after the redirect back from the third-party authentication provider.

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

79123398

Date: 2024-10-24 19:33:25
Score: 2
Natty:
Report link

"that other guy" gave the answer in the comments. As skipping an editor ad-hoc is what i'm looking to do in the grand scheme of things. Thank you!

EDITOR="touch" <do whatever>
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: ReckerDan

79123395

Date: 2024-10-24 19:30:25
Score: 2
Natty:
Report link

It's working in my next js project. just rename the pages folder from src or remove it from src.

before: src/pages

after: src/Cpages

it's working fine

You can also remove the folder from src directory

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sumon Chandra Paul

79123378

Date: 2024-10-24 19:21:23
Score: 0.5
Natty:
Report link

Because you use numpy array of integers, all your result will be rounded off to integers. You need to define A and b as

A = np.array([[3,-2],[1,5]], dtype=np.float64)
b = np.array([1,1], dtype=np.float64)

Doing so allows for float values in your matrices.

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

79123371

Date: 2024-10-24 19:19:22
Score: 3
Natty:
Report link

Change version. I download signaling sdk latest version and it didnot work. When I download version 1.5.1 it works.

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

79123369

Date: 2024-10-24 19:19:22
Score: 4
Natty:
Report link

Fixed in 1.4.1, thanks for reporting!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: ralphjsmit

79123368

Date: 2024-10-24 19:18:22
Score: 3.5
Natty:
Report link

use 'git branch -M main' it will rename your local branch to main

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

79123361

Date: 2024-10-24 19:14:21
Score: 4
Natty: 4
Report link

is this still impossible? would love to be able to use the msg.getPlainBody() but it makes the cell like 5 times bigger with the signature.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): is this
  • Low reputation (1):
Posted by: Zak Whipp

79123360

Date: 2024-10-24 19:14:20
Score: 1
Natty:
Report link

If you want to ensure that you are effectively utilizing resources, the pull method is preferred in processing messages every 200ms. This approach gives direct control on timing and it collects and processes messages efficiently.

For handling high message volume and wanting to avoid manual queue complexity, use the callback approach but be aware or check the documents for the internal queue limit.

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

79123359

Date: 2024-10-24 19:13:20
Score: 1.5
Natty:
Report link
apt install docker-compose

on Debian based systems will install all the python modules and links required to run docker if your server doesn't install them by default.

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

79123355

Date: 2024-10-24 19:12:20
Score: 4
Natty:
Report link

Old post but i've the same error when using venv and "RIO Framework". I I use the same solution (thank TitanFighter) of replacing version 0.0.14 by 0.0.12 and it's work.

cd your venv directory, activate it. A t prompt :

"pip uninstall python-multipart" (it's remove version 0.0.14 of my main python)

"pip install python-multipart" ==> this install version 0.0.12 who work wih Rio.

Reasons:
  • No code block (0.5):
  • Me too answer (2.5): 've the same error
  • Low reputation (1):
Posted by: Khristophe

79123349

Date: 2024-10-24 19:10:19
Score: 2.5
Natty:
Report link

In your code you have set the query.set_parameter(1, 'sensor_123') value 1 which results in the "Parameter index out of range" error as already mentioned in your error code. Change this value from 1 to 0 and i am sure your issue will be resolved.

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

79123345

Date: 2024-10-24 19:08:18
Score: 0.5
Natty:
Report link

The Route property in the Flyout seems to be the issue. Hopefully somebody who knows a lot more about it will explain in the comments? ;)

<FlyoutItem FlyoutDisplayOptions="AsMultipleItems">

    <ShellContent
        Title="Page 1"
        Icon="one_icon.png"
        ContentTemplate="{DataTemplate local:OnePage}"
        ** Route="OnePage" />  <!-- << I believe this is the fault--> **
    <ShellContent
        Title="Page 2"
        Icon="two_icon.png"
        ContentTemplate="{DataTemplate local:TwoPage}"
        ** Route="TwoPage" />  <!-- << Delete this --> **
    <ShellContent
        Title="Page 3"
        Icon="three_icon.png"
        ContentTemplate="{DataTemplate local:ThreePage}"
        IsVisible="true"
        ** Route="ThreePage" /> <!-- << Delete this --> **

</FlyoutItem>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ray

79123325

Date: 2024-10-24 19:01:16
Score: 0.5
Natty:
Report link

thanks its work this hooks. adding custom text after related product in detail page.

this code add in child-theme function.php file

add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs',20);
function woocommerce_output_product_data_tabs() {

    $output = '<div class="section">
    <div class="container flex justify-center">
    <div class="max-w-text-overlay">
        <h2 class="section_block>
            <span class="contained-heading inline-block">Made In India</span>
        </h2>
    </div>
    </div>
    </div>';
    echo $output;
}
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Bhumi Mehta

79123324

Date: 2024-10-24 19:01:16
Score: 1.5
Natty:
Report link

The code snippet you posted uses roboflow-python package which provides HTTP client making calls to the Roboflow platform.

If you intend to use the models inside your app, please use https://github.com/roboflow/inference package. Here you may find getting-started docs: https://inference.roboflow.com/quickstart/run_a_model/

Device can be specified by env flag: CUDA_VISIBLE_DEVICES

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Paweł Pęczek

79123302

Date: 2024-10-24 18:55:15
Score: 1
Natty:
Report link

The term Service may confuse us since it gives the impression that some processes are running as Services, listening to incoming traffic, and Proxying/Load Balancing to PODS. However, that's not true.

Kubernetes Services aren't Processes listening to incoming traffic like some servers or load-balancers.

So, how does this Service mechanism work?

Services are Kubernetes objects stored in the etcd after creation.

The Kub-Proxy in each node keeps track of when Services are Created, Updated, and Deleted and updates the Node's iptable rules so the kernel will redirect the Service IP to the correct POD IP for any request to the Service.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: S.Nakib

79123290

Date: 2024-10-24 18:52:14
Score: 2
Natty:
Report link

I am also facing this issue but I am not doing it from organisation(its from my personal profile) So, let me explain you what I did to solve this

name: "Build Docker Registry"
       runs-on: ubuntu-22.04
       permissions:
          contents: read
          packages: write
       steps:
        - name: Checkout 
          uses: actions/checkout@v4
        - name: Login to Docker Hub
          uses: docker/login-action@v3
          with:
            username: ${{ github.repository_owner }}
            password: ${{ secrets.GITHUB_TOKEN }}
            registry: ghcr.io
        - name: Build and push
          uses: docker/build-push-action@v2
          with:
            context: .
            file: ${{ env.DOCKERFILE_PATH }}
            push: true
            tags: |
              ghcr.io/${{ github.repository_owner }}/${{ env.DOCKER_IMAGE_NAME }}:${{ github.sha }}

Do it this also,

enter image description here

So, see here is my package enter image description here

you can see the full .yaml file here - https://github.com/manzil-infinity180/dumpStore_backend/blob/main/.github/workflows/ci.yaml

Reasons:
  • Blacklisted phrase (1): also facing this
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Rahul Vishwakarma

79123279

Date: 2024-10-24 18:48:13
Score: 2.5
Natty:
Report link

This can be accomplished from the IP addresses view in the GCP console and using the subnet property to filter resources.

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

79123276

Date: 2024-10-24 18:47:12
Score: 1
Natty:
Report link

I was getting this error after MacOS Sequoia update

OSError: [Errno 48] Address already in use

After updating my computer MacOS Sequoia

To fix it, turn off Airplay Receiver in Settings

Toggle OFF for

Airplay Receiver -> OFF

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: user3826696

79123272

Date: 2024-10-24 18:47:12
Score: 1.5
Natty:
Report link

No. There are not different degrees of !important anywhere in css. The closest analogy is at-rule layers which define order of precedence. This is either a mistake or a joke.

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

79123271

Date: 2024-10-24 18:46:12
Score: 2
Natty:
Report link

How can I resolve this issue?

Once you make ID the PK you won't have any trouble adding the foreign key. You will have to change the partitioning. You can still partition by ID if you want.

Or you could have one column that is both the PK and the timestamp, eg Generate a unique time-based id on a table in SQL Server

Reasons:
  • Blacklisted phrase (0.5): How can I
  • RegEx Blacklisted phrase (1.5): How can I resolve this issue?
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How can I
  • High reputation (-2):
Posted by: David Browne - Microsoft

79123270

Date: 2024-10-24 18:46:12
Score: 1
Natty:
Report link

I just finished your solution today, and the only mistake was that the load signal should depend on enable too.

assign c_load = (reset || (Q == 4'hc && enable)) ? 1 : 0;

With this little modification the signals became correct.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Miklós Takács

79123269

Date: 2024-10-24 18:45:11
Score: 2.5
Natty:
Report link

After macOS 15:

system_profiler SPAirPortDataType | awk '/Current Network Information:/ { getline; print substr($0, 13, (length($0) - 13)); exit }'

Found it here: https://snelson.us/2024/09/determining-a-macs-ssid-like-an-animal/

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

79123267

Date: 2024-10-24 18:45:11
Score: 4
Natty:
Report link

Finally answered this - needed to add

"references": [
        { "path": "../backend/tsconfig.json" }
    ],

to my backend and

"composite" : true

in my frontend

https://www.youtube.com/watch?v=S-jj_tifHl4

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: charlietlamb

79123256

Date: 2024-10-24 18:41:10
Score: 1.5
Natty:
Report link

UPDATE:

This script is running on a remote server over ssh as part of a bigger GitHub project. The server is a google cloud VM running Ubuntu 22.04 lts. my local machine is running Debian bookworm. I have both systems fully updated.

Upon testing the script by itself in its own test file test.sh, it works fine. Apparently there is something elsewhere in the project interfering with the read command which isn't annotated in the project specifications and I can't find where it could be overidden therein. I'll have to talk with the project admins about it.

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

79123230

Date: 2024-10-24 18:30:07
Score: 2.5
Natty:
Report link

Argon2 needs to run on a Node.js server. Therefore, if you want to get rid of this error in Next.js, specifically with the new App Router, you need to add 'use server' at the top of your file where you import and use it.

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

79123226

Date: 2024-10-24 18:30:05
Score: 9 🚩
Natty:
Report link

I am experiencing the same issue right now. Tried different emails too and always got the same error message. Were you able to find a solution?

Reasons:
  • RegEx Blacklisted phrase (1): Were you able to find a solution
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ko_fal

79123220

Date: 2024-10-24 18:28:02
Score: 6 🚩
Natty: 5.5
Report link

I am trying to copy to clipboard using df.to_clipboard and paste inside excel, but I need each of my (rows) to have a blank newline underneath, any ideas?

I want something like this:

1 2 3

1 2 3

1 2 3

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): I am trying to
  • Blacklisted phrase (1): any ideas
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Adéyẹmi Ìbíkúnlé

79123211

Date: 2024-10-24 18:21:59
Score: 8 🚩
Natty: 4
Report link

I am looking for exactly the same solution. Keep the real time values for 2 days and then delete it. I am storing the aggregated values for 2 years.

I am using pgAdmin to make a query on the telemetry keys I want to delete after 2 days but am not able to find the right query. Can you point me in the right direction?

Also when I know the query, I can make the pg_cron job. Do you want to share an example of how you solved this?

Reasons:
  • Blacklisted phrase (2): I am looking for
  • RegEx Blacklisted phrase (1.5): solved this?
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Roel van Wanrooy

79123207

Date: 2024-10-24 18:20:58
Score: 3
Natty:
Report link

Did you tried it with cron? Like this:

refresh_key: {
  every: "0 13  * * *", 
  timezone: "Europe/Amsterdam",
  }

This refreshes the preaggregation everyday at 13.00h Amsterdam time.

https://cube.dev/docs/reference/data-model/cube#refresh_key

https://crontab.guru

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: pjleiwa

79123206

Date: 2024-10-24 18:20:58
Score: 1
Natty:
Report link

From the error you provided, it looks like a timeout issue. Try setting the timeout parameter when initializing the geolocator like this-

geolocator = geopy.Nominatim(user_agent='my-geocoding-app/1.0', timeout=10)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: code-infected

79123202

Date: 2024-10-24 18:17:57
Score: 0.5
Natty:
Report link

There are two issues with the code you provided.

First, the k value should be changed. You didn't share the part of your code where you defined k but it appears you are using k = 60. That should be changed to k = 2.

Second, you are initializing the rank at 1, when it should init at 0.

To make these changes take this code:

combined_scores = {}
k = ?????
for rank, point in enumerate(dense_results, start=1):
    if point.id not in combined_scores:
        combined_scores[point.id] = 0
    combined_scores[point.id] += 1 / (k + rank)

for rank, point in enumerate(sparse_results, start=1):
    if point.id not in combined_scores:
        combined_scores[point.id] = 0
    combined_scores[point.id] += 1 / (k + rank)

fused_results = sorted(combined_scores.items(), key=lambda x: x[1], reverse=True)

and change it to this:

combined_scores = {}
k = 2
for rank, point in enumerate(dense_results):
    if point.id not in combined_scores:
        combined_scores[point.id] = 0
    combined_scores[point.id] += 1 / (k + rank)

for rank, point in enumerate(sparse_results):
    if point.id not in combined_scores:
        combined_scores[point.id] = 0
    combined_scores[point.id] += 1 / (k + rank)
Reasons:
  • Blacklisted phrase (1): ???
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Thierry Damiba

79123200

Date: 2024-10-24 18:17:57
Score: 4
Natty: 5.5
Report link

You need to write c.s = 5 instead of c.s(5)

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

79123193

Date: 2024-10-24 18:15:56
Score: 1.5
Natty:
Report link

The fix to this so that hopefully no one else has to go through this is, in flutter config --jdk-dir even tho in flutter config -h it doesn't say anything about this you can just pass the path to your JDK for example flutter config --jdk-dir /usr/lib/jvm/java-17-openjdk

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