79235579

Date: 2024-11-29 00:35:07
Score: 2.5
Natty:
Report link

I was able to fix this, by listing all the built in stopwords in the custom stopwords then excluding if , that way I was able to search "if" and "the" without loading the search analyzer with the built in stop words

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

79235578

Date: 2024-11-29 00:33:06
Score: 9 🚩
Natty: 6.5
Report link

did you solve? how?.. I've been trying to solve it àll night. it's frustràtingg

Reasons:
  • RegEx Blacklisted phrase (3): did you solve
  • RegEx Blacklisted phrase (1.5): solve?
  • 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 solve
  • Low reputation (1):
Posted by: Popularly

79235569

Date: 2024-11-29 00:21:03
Score: 0.5
Natty:
Report link

If, like me, a journal requires EPS (annoying!) I've found https://cloudconvert.com/pdf-to-eps to work really well and not lose any quality. I know this isn't your "typical" programmers response, but it was the quickest and easiest for me.

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

79235565

Date: 2024-11-29 00:19:03
Score: 1
Natty:
Report link

Now you can detect it very easily using .NET 9.0

here are the details.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Majid Shahabfar

79235561

Date: 2024-11-29 00:17:03
Score: 0.5
Natty:
Report link

As was mentioned in the comments, I was approaching this incorrectly and ultimately reached a solution before the data arrived in PBI by leveraging M-Language/Power Query vs. Dax.

A key oversite by me was that I was only calculating when the status toggled between OPEN and CLOSED. Thus I could simplify the process by filtering out repetitive items such as ID = look to filter out meaningless data such as duplicate ID's where the status didn't change (such as ID 77 version 1 → 2).

The source code for what I used to solve the above sample data is below in M-Language format, but I'll summarize what I did.

Hope this helps others.

Personal Note Today is Thanksgiving in America and I do like the idea of Gratitude as a concept (like for real... I've been to India some people/kids really have it tough 😕!). However somewhere in America, this holiday took a wrong turn when it became okay for in-laws to invite themselves over, irrespective of what the homeowner (me) says... Is it bad that I feel way more comfortable rambling on about the above technical challenge contrasted to walking out of my home office to the family warzone where I'm bound to encounter annoying inlaws and simpleton siblings... ??? Oh good, I thought I was the only one! Happy Thanksgiving StackOverflow!

End State Of Data

This is what was fed to Power BI

ID  Version Modified    Status  Value
55  1   2/28/2024   Open    1
66  1   4/15/2024   Open    1
66  3   5/12/2024   Open    -1
66  3   5/12/2024   Closed  1
77  1   5/6/2024    Open    1
77  5   7/15/2024   Open    -1
77  5   7/15/2024   Closed  1
88  1   6/11/2024   Open    1
88  2   6/22/2024   Open    -1
88  2   6/22/2024   Closed  1
88  4   7/15/2024   Open    1
88  4   7/15/2024   Closed  -1
88  6   8/5/2024    Open    -1
88  6   8/5/2024    Closed  1

M Formula Solution

This could probably be cleaned up, but my inlaws are asking my kids to play UNO which I can't let them endure without support so gotta go.

let
    cClose = "Closed",
    ooOpen = "Open",
    startTable=  
        Table.FromRecords({
            [ID = 88, Version = 1, Modified = #date(2024,06,11), Status = ooOpen],
            [ID = 88, Version = 2, Modified = #date(2024,06,22), Status = cClose],
            [ID = 88, Version = 4, Modified = #date(2024,07,15), Status = ooOpen ],
            [ID = 88, Version = 6, Modified = #date(2024,08,05), Status = cClose ],

            [ID = 77, Version = 1, Modified = #date(2024,05,06), Status = ooOpen],
            [ID = 77, Version = 2, Modified = #date(2024,05,25), Status = ooOpen],
            [ID = 77, Version = 5, Modified = #date(2024,07,15), Status = cClose],

            [ID = 66, Version = 1, Modified = #date(2024,04,15), Status = ooOpen],
            [ID = 66, Version = 3, Modified = #date(2024,05,12), Status = cClose],

            [ID = 55, Version = 1, Modified = #date(2024,02,28), Status = ooOpen],
            [ID = 55, Version = 2, Modified = #date(2024,03,28), Status = ooOpen]
        }),
    setTypes = Table.TransformColumnTypes(startTable,{{"Version", Int64.Type}, 
                                        {"ID", Int64.Type},{"Modified", type date}, {"Status", type text}}),
    #"Sorted Rows" = Table.Sort(setTypes,{{"ID", Order.Ascending},{"Modified",Order.Ascending}}),
    #"Added Index" = Table.AddIndexColumn(#"Sorted Rows", "Index", 0, 1, Int64.Type),
    fixColumnOrder = Table.ReorderColumns(#"Sorted Rows" ,{"ID", "Status", "Version", "Modified"}),
    checkColMatches = let 
                        zTable = fixColumnOrder, 
                        zIDList = Table.Column(zTable,"ID"),
                        zStatusList = Table.Column(zTable,"Status"),
                        addIndex = Table.AddIndexColumn(zTable, "Index", 0, 1, Int64.Type),
                        testResult =  Table.AddColumn(addIndex, "CheckForMatches", each 
                                if [Index] = 0 then false else 
                                    if zIDList{[Index]-1} = [ID] then zStatusList{[Index]-1} = [Status]  else false, type logical),
                                    endResult = Table.RemoveColumns(testResult,{"Index"})
                        in
                            endResult,
    #"Filtered Rows" = Table.SelectRows(checkColMatches, each ([CheckForMatches] = false)),
    #"Removed Columns" = Table.RemoveColumns(#"Filtered Rows",{"CheckForMatches"}),
    #"Added Custom" = Table.AddColumn(#"Removed Columns", ooOpen, each if [Status] = ooOpen then 1 else -1, Int64.Type),
    
    createClosedIncludingDoOvers = 
             let 
                zTable =  #"Added Custom",
                idListAgain =  Table.Column(zTable,"ID"),
                plusIndex = Table.AddIndexColumn(zTable,"Index",0,1,Int64.Type),
                AddedClosedItems = Table.AddColumn(plusIndex, cClose, each if [Status] = cClose then 1 else  if [Index] = 0 then 0 else if (idListAgain{[Index]-1} = [ID]) and ([Status] = "Open") then -1 else 0  ,Int64.Type)
            in
                Table.RemoveColumns(AddedClosedItems,{"Index"}),
    #"Unpivoted Columns" = Table.UnpivotOtherColumns(createClosedIncludingDoOvers, {"ID", "Status", "Version", "Modified"}, "Items", "Value"),
    RemovedZeros = Table.SelectRows(#"Unpivoted Columns", each ([Value] <> 0)),
    #"Removed Columns1" = Table.RemoveColumns(RemovedZeros,{"Status"}),
    #"Renamed Columns" = Table.RenameColumns(#"Removed Columns1",{{"Items", "Status"}})
in
    #"Renamed Columns"
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): ???
  • Blacklisted phrase (1): StackOverflow
  • Whitelisted phrase (-1): Hope this helps
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: pgSystemTester

79235557

Date: 2024-11-29 00:12:02
Score: 2
Natty:
Report link

For me it was simply that my HTTPS binding had been removed somehow during the upgrade (perhaps the self-hosted SSL certificate was deleted? I'm just guessing). I re-added the HTTPS binding and could connect again.

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

79235556

Date: 2024-11-29 00:10:01
Score: 3
Natty:
Report link

The "image/x-icon" MIME type is intended for ICO files. Since your favicon is a PNG file you should use type="image/png" instead.

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

79235554

Date: 2024-11-29 00:09:00
Score: 1
Natty:
Report link

In iOS 18, we now have the onScrollTargetVisibilityChange modifier. Simply attach this to the scroll view and use the scrollTargetLayout modifier on the container of the items whose visibility you want to track.

ref: https://developer.apple.com/documentation/swiftui/view/onscrolltargetvisibilitychange(idtype:threshold:_:)

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

79235532

Date: 2024-11-28 23:44:55
Score: 4
Natty:
Report link

Here is a good set of standards published by Carnegie Mellon University.

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

79235527

Date: 2024-11-28 23:40:54
Score: 1.5
Natty:
Report link

I found this information on the web. I'm paraphrasing here: While Python primarily uses the # symbol for single-line comments, triple quotes can be used to create multi-line comments. The words, etc inside these qoutes are strings that aren't assigned to a variable, so they don't have any effect on the program's execution.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tony Cardinal

79235525

Date: 2024-11-28 23:38:54
Score: 0.5
Natty:
Report link

I solved this by adding .setReorderingAllowed(true) to the transaction and in FragmentA and postponing the Transition till the PreDrawListener fires.

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: TomPeterson

79235519

Date: 2024-11-28 23:35:53
Score: 1.5
Natty:
Report link

With the SFAPI, use a query like this:

query GetProduct($id: ID!) {
  product(id: $id) {
    collections(first: 250) {
      nodes {
        title
        description
        # ...more data as needed
      }
    }
  }
}

And the variable:

{
  "id": "gid://shopify/Product/123"
}

On the admin panel, you can install the GraphiQL app to test both Storefront and Admin api: https://shopify.dev/docs/storefronts/headless/building-with-the-storefront-api/api-exploration/graphiql-storefront-api

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

79235517

Date: 2024-11-28 23:34:53
Score: 0.5
Natty:
Report link

I found the issue. The working option is the third one (including the kubectl command directly into the condition). The only additional thing I was missing is that I needed to add "sudo" before the command. I didn't have to do it within the VM because the user it was part of the suddoers.

PS. The first two were still getting stuck within the loop even though I added the sudo to the command.

echo "Waiting for the dev secret to be created ...... "
while [ $(sudo kubectl get secrets -n dev | grep "dev" | wc -l) -eq 0 ]
do
    echo "inside dev secret loop ...... " >> /tmp/var.txt
    sleep 1
done
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: GTGabaaron

79235516

Date: 2024-11-28 23:34:53
Score: 1.5
Natty:
Report link

It's not a bug, it is to optimize storage on simulators the photos are not stored locally. To make photos available on simulator storage, go to Settings -> Photos and select 'Download and keep originals' in the icloud section.

enter image description here

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

79235515

Date: 2024-11-28 23:33:53
Score: 3
Natty:
Report link

run : pnpm i next@canary

I find the response here : https://github.com/vercel/next-learn/issues/892

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

79235510

Date: 2024-11-28 23:30:52
Score: 1
Natty:
Report link

You can utilize the decostand() function in the vegan package to transform matrices in many different ways. The presence-absence transformation would be

library(vegan)
mydata_pa=decostand(as.matrix(mydata), method="pa")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Patrick Nichols

79235505

Date: 2024-11-28 23:27:51
Score: 2
Natty:
Report link

And so, for many reasons, I decided to write my own implementation rest-client-call-exception. I posted it on github and published it on maven-central. Everybody welcome to use, discuss and contribute.

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

79235501

Date: 2024-11-28 23:23:51
Score: 0.5
Natty:
Report link

After thorough testing I can confirm that listFiles is not getting files from cacheDir (only folders), but it works on filesDir.

It has much more sense to store tmp files in cacheDir, because this is what they are, but given I cannot access them later, I'll swap to filesDir and work on there.

Still don't understand why listFiles is not working for cacheDir, but for the moment I found a solution to my issue.

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Diego Perez

79235499

Date: 2024-11-28 23:23:51
Score: 1.5
Natty:
Report link

So it turns out that when you build redis on my system, it sets --with-jemalloc-prefix=je_, which means that all of jemalloc's public APIs become prefixed with the string je_ (or JE_)

Running export JE_MALLOC_CONF=narenas:40 then results in the expected behavior.

The prefix behavior is described here : https://github.com/jemalloc/jemalloc/blob/dev/INSTALL.md

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

79235490

Date: 2024-11-28 23:18:49
Score: 1.5
Natty:
Report link

You can use the "Run Plugin API" plugin from the Figma Community to help convert the JSON into a Figma-compatible format.

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

79235485

Date: 2024-11-28 23:12:48
Score: 3
Natty:
Report link

You may change the diagram or use interfaces to achieve this prototype. In Java you can't use Multi-Inheritance.

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

79235472

Date: 2024-11-28 23:04:46
Score: 0.5
Natty:
Report link

By combining sklearn's KFold and torch.utils.data.Subset, this could be easily achieved.

kf = KFold(n_splits=params.training.k_folds, shuffle=True, random_state=42)
for i, (train_index, valid_index) in enumerate(kf.split(train_set_)):
        # +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
        # +                      Splitting the dataset
        # +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
        train_set = Subset(train_set_, train_index)
        valid_set = Subset(train_set_, valid_index)

        train_loader = DataLoader(train_set, batch_size=batch_size, shuffle=True)
        valid_loader = DataLoader(valid_set, batch_size=batch_size, shuffle=True)

        # +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
        # +   Rest of the code using fold's train_loader and valid_loader
        # +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Savindi

79235471

Date: 2024-11-28 23:03:46
Score: 0.5
Natty:
Report link

This is what I came up with:

template<std::ranges::range R> 
auto foo_coroutine(R&& rng) {
    if constexpr (std::is_lvalue_reference_v<R>)
        return foo_coroutine_impl(std::ranges::subrange{rng}, std::move(func));
    else if constexpr (std::ranges::borrowed_range<R>)
        return foo_coroutine_impl(std::move(rng), std::move(func));
    //Deduction fails for rvalue non borrowed ranges

}

auto foo_coroutine_impl(const std::ranges::borrowed_range auto rng) {
   /*...*/ 
}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: dwto

79235468

Date: 2024-11-28 23:03:46
Score: 1
Natty:
Report link

Writing here for the future.

In my case i was getting the same error using pycharm to run the code in command line of pycharm.

My venv on pycharm have the library installed but the venv on command line don't, so, to fix it I have install the library via command line pip install pytesseract and it works

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

79235464

Date: 2024-11-28 22:57:44
Score: 11 🚩
Natty: 6.5
Report link

could you solve it? I have the same problem

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Blacklisted phrase (2): could you solve
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: MAUROEPCE

79235455

Date: 2024-11-28 22:52:42
Score: 4.5
Natty: 4
Report link

galajican bezini evimizə qonaq 🍻😄😄

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

79235450

Date: 2024-11-28 22:50:41
Score: 1.5
Natty:
Report link

Anyone finding this question and wondering if there is now support in Vaadin, yes there is. Vaadin 24.5 has introduced the Popover component (https://vaadin.com/docs/latest/components/popover), which has multiple uses. In this context, it can be used as a rich text tooltip. It can also be used as a context menu, notification or dropdown field etc.

Note that https://vaadin.com/directory/component/tooltips4vaadin is essentially discontinued as the developer no longer works for Vaadin.

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

79235446

Date: 2024-11-28 22:47:40
Score: 11 🚩
Natty: 5
Report link

I have similar issue, but without making any major update on my site.

Auto ads stoped working and ad preview don't show nothing.

We're you able to solve this issue?

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): I have similar
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve this issue?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have similar issue
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: 996RE36

79235445

Date: 2024-11-28 22:47:40
Score: 2
Natty:
Report link

just add this ligne after the background color :

type: BottomNavigationBarType.fixed,

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

79235438

Date: 2024-11-28 22:41:39
Score: 2.5
Natty:
Report link

You can even use EF core to execute a vanilla SQL statement, that would be my preferred option if the query and relationship are complex.

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

79235430

Date: 2024-11-28 22:32:37
Score: 1
Natty:
Report link

I found it much easier to use the .h5 format: model.save(path/to/model.h5)

tf.keras.models.load_model(path/to/model.h5) works with no issues.

I don't know if you have the model in memory somewhere, but if you do, save it to .h5 instead of .keras

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

79235429

Date: 2024-11-28 22:31:36
Score: 10 🚩
Natty:
Report link

I am having the same problem. Except for me the error code is 12 and it tells me that:

{"error":{"message":"(#12) Deprecated for versions v21.0 or higher","type":"OAuthException","code":12,"fbtrace_id":"A6J3..."}}

Did anyone fix that issue already?

Reasons:
  • RegEx Blacklisted phrase (3): Did anyone fix that
  • RegEx Blacklisted phrase (1.5): fix that issue already?
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I am having the same problem
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Julian W.

79235426

Date: 2024-11-28 22:30:34
Score: 7.5 🚩
Natty:
Report link

Compo, your code works perfectly:

@For /F "Skip=50 EOL=? Delims=" %%G In ('Dir "C:\Images" /A:-D /B /O:-D /T:W 2^>NUL') Do @Del "C:\Images\%%G" /A /F

Do you have any suggestions on how to apply this same method to the contents of multiple folders?

I made a sample folder structure:

enter image description here

Or should I just create a different batch file and run automatically for each subfolder?

Thank you very much for your help.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (2): any suggestions
  • RegEx Blacklisted phrase (2.5): Do you have any
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: S.Zs.94

79235420

Date: 2024-11-28 22:28:34
Score: 3.5
Natty:
Report link

I would tend to think you have a CORS issue with your cookies: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#preflight_requests_and_credentials

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

79235408

Date: 2024-11-28 22:17:32
Score: 2.5
Natty:
Report link

I know it's been a while since I've been here. I got called away and just a few days ago got back into this project. Today, I got the cobol COPY statement to work. Here are my "lessons-learned":

20241128 Copybooks

  1. cobc -fixed -v -x -static -I%apphome%\cobcpy -L%apphome%\GNUCobol\lib -o %apphome%\pgmexe%1.exe %apphome%\source%1.cob >>%LOG% 2>&1 ---MUST have inlude directory -I%apphome%\cobcpy AFTER -static
  2. COPY must begin in col 12
  3. No Quotes
  4. No extension. Will find .cbl, .cob, .cpy
  5. Case does not matter
  6. Copy XXXXXX. Must end with period!
    If inside a statement like: IF 1=1 copy xxxx. END-IF. (remember col 12!) Copy statement end period will not terminate the outer statement!
Reasons:
  • Blacklisted phrase (1): I know it's been
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: A David Wulkan

79235407

Date: 2024-11-28 22:17:32
Score: 4
Natty:
Report link

enter image description here

enter image description here

enter image description here

Right-click your MVC project, follow this direction, just fill in the URL, and close the dialog.

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

79235399

Date: 2024-11-28 22:14:31
Score: 5
Natty:
Report link

I can hit your app on https. This seems to be resolved. I believe you were trying to hit the http route. Can you confirm? enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
Posted by: mikegross

79235383

Date: 2024-11-28 22:02:27
Score: 1.5
Natty:
Report link

I just had the same problem and the cause was that I set a transition to self.

To be clear, I had "Can transition to self" unchecked, that was not the problem. Instead I literally created a transition from one state to the same state. The transition was very hard to see in the state machine, so I missed it.

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

79235380

Date: 2024-11-28 21:59:27
Score: 2
Natty:
Report link

I am trying to do the same thing and ran into another challenge...

For me it says that the request is deprecated for version 21 or higher and when I run 20 it still says that...

curl 'https://graph.facebook.com/v22.0/XXXXXXXXXXXX/register' \
  -H 'Authorization: Bearer EAAPr...' \
  -H 'Content-Type: application/json' \
  -d '{ "messaging_product": "whatsapp", "pin": "XXXXXX", "data_localization_region": "DE" }'

This then returns:

{"error":{"message":"Unknown path components: \/XXXXXXXXXXXX\/register","type":"OAuthException","code":2500,"fbtrace_id":"AC-kbm_XXXXXXXXXXXX"}}
Reasons:
  • Blacklisted phrase (1): I am trying to
  • Blacklisted phrase (1): trying to do the same
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Julian W.

79235373

Date: 2024-11-28 21:56:25
Score: 7 🚩
Natty:
Report link

I'm having the same problem, but I think it might be the version

Reasons:
  • Blacklisted phrase (1): I'm having the same problem
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Daiana Lins

79235351

Date: 2024-11-28 21:42:22
Score: 2
Natty:
Report link

Please use the Reference FMUs and the build process there as a blueprint how to generate well defined FMUs from C-Code.

https://github.com/modelica/Reference-FMUs

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

79235349

Date: 2024-11-28 21:41:22
Score: 1
Natty:
Report link

Better late than sorry, I just saw this post. The extension is also provided as Ruby gem, so you need to manage the Gem with gem-maven-plugin and mavengem-wagon, then configure the require pointing to the property path. There's an example using asciidoctor-revealjs https://github.com/asciidoctor/asciidoctor-maven-examples/blob/main/asciidoc-to-revealjs-example/pom.xml, simply replace the gem name.

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

79235347

Date: 2024-11-28 21:39:21
Score: 0.5
Natty:
Report link

Maybe a bit late but potentially still relevant for some:

In case you have ssh access to the cloud9 instance you can forward two local ports from your machine, e.g.

ssh -L 8080:localhost:8080 -L 8081:localhost:8081 [email protected]

and continue testing with the browser on your machine.

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

79235345

Date: 2024-11-28 21:38:21
Score: 2
Natty:
Report link

V hlavních rolích hráli: Pan učitel Haas Pan ředitel Elner Matěj Ed Liška Ve vedlejších rolích: Nathaniel Zhorzoliany Tobiáš Percl Štěpán Percl Kamere: Benjamin Jurek Matěj Ed Liška Rekvizity: Max Šebánek Tobiáš Percl Štěpán Percl Matěj Ed Liška Nathaniel Zhorzoliany Benjamin Jurek Střih: Matěj Ed Liška Nathaniel Zhorzoliany

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

79235327

Date: 2024-11-28 21:29:19
Score: 1.5
Natty:
Report link

The Go Programming Language Specification states:

A single channel may be used in send statements, receive operations, and calls to the built-in functions cap and len by any number of goroutines without further synchronization.

So, yes, it’s safe.

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

79235324

Date: 2024-11-28 21:26:18
Score: 1
Natty:
Report link

If you just want to run through a list once starting at a particular point you can do:

my_list = ['a', 'b', 'c', 'd', 'e', 'f', 'g']
start_index = 4

for i in my_list[start_index:]+my_list[:start_index]:
    print(i)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: start up

79235290

Date: 2024-11-28 21:01:12
Score: 2
Natty:
Report link

Late to the party, but for me it was a missing semi-colon at the end of a tailwind @apply line.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @apply
  • Single line (0.5):
  • High reputation (-1):
Posted by: Spock

79235270

Date: 2024-11-28 20:46:09
Score: 0.5
Natty:
Report link

@fuegonju, thank you for your solution. I can confirm that this is a correct approach for managing column filter modes in Material React Table with server-side filtering. Here's why it works well:

Proper Utilization of MRT's State Management:

1- The provided solution effectively uses MRT's state management by leveraging the columnFilterFns state to track filter modes for each column.

const [columnFilterFns, setColumnFilterFns] = useState<Record<string, string>>(
    Object.fromEntries(
        columns.map(({ accessorKey }) => [accessorKey as string, 'contains'])
    )
);

2- Seamless Integration with MRT's Filter Mode System:

3- Effective Server-Side Implementation:

const getQueryParams = (filters, columnFilterFns) => {
    return filters.reduce((acc, filter) => {
        const filterMode = columnFilterFns[filter.id];
        // Map to backend filter syntax (e.g., __icontains, __startswith)
        return {
            ...acc,
            [`${filter.id}__${getBackendFilterSuffix(filterMode)}`]: filter.value
        };
    }, {});
};

4-Additional Improvement – Type Safety with TypeScript:

Defining Filter Modes:

type FilterMode = 'contains' | 'startsWith' | 'equals';
type ColumnFilterFns = Record<string, FilterMode>;
Reasons:
  • Blacklisted phrase (0.5): thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @fuegonju
  • Low reputation (0.5):
Posted by: alireza jalilian

79235268

Date: 2024-11-28 20:46:09
Score: 3
Natty:
Report link

Official document.

https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING-URIS

You can come up with your own url using this document.

Reasons:
  • Blacklisted phrase (1): this document
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Jin Lim

79235265

Date: 2024-11-28 20:45:08
Score: 1
Natty:
Report link

What about adist?

> d <- adist(names(sample_df), "monday")

> sample_df[,d == min(d)]
  mondaya mondayb
1       1       1
2       1       1
3       1       1
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): What
  • High reputation (-2):
Posted by: ThomasIsCoding

79235264

Date: 2024-11-28 20:45:08
Score: 6 🚩
Natty: 5.5
Report link

thank you, I have the image down in the middle of the page, meaning is not the first thing you see on the screen area so how can control the effect to start only once that section comes up on the screen after scrolling down??

Right now, it does the effect upon loading the page, but you don't get the chance to see it as is off down the page.

Thank you in advance!

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (3): Thank you in advance
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Roger Mendoza

79235259

Date: 2024-11-28 20:42:07
Score: 1.5
Natty:
Report link

In the end, with the help of some acquaintances I've looked at the situation from a different view. Instead of trying to make NicknameData act as its parent, we changed the way the names and titles in the game are called.

Even though now the game deserializes the said JSON twice, it's pretty safe working with the times when the character array lacks the needed lines.

Now the Nickname Data looks like this:

    [Serializable]
public class NicknameData : *GameClass*
{
    [JsonPropertyName("runame")]
    public string? runame;

    [JsonPropertyName("ruNickName")]
    public string? ruNickName;

    public NicknameData() { }

    internal static NicknameData Create(ref Utf8JsonReader reader)
    {
        var result = new NicknameData();
        while (reader.Read())
        {
            if (reader.TokenType == JsonTokenType.EndObject)
            {
                break;
            }
             if (reader.TokenType == JsonTokenType.PropertyName)
            {
                string propertyName = reader.GetString();
                reader.Read();

                if (propertyName == "name")
                {
                    result.name = reader.GetString();
                }
                else if (propertyName == "runame")
                {
                    result.runame = reader.GetString();
                }
                else if (propertyName == "ruNickName")
                {
                    result.ruNickName = reader.GetString();
                }
            }
        }
        return result;
    }
}

Beside that, I was given the custom converter which is, unlike built-in ones, working without sending errors of inability to converse into parent class or, which is more frequent, the Exception: System.NullReferenceException: Object reference not set to an instance of an object. error.

It's quite long so I'll edit the link of the converter into the answer once we push the code update onto our localization GitHub.

Either way, thank you, those who tried to help me! Now the localization idea which haunted me for weeks has come to fruition and I feel really happy and relieved.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1): help me
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Knightey

79235255

Date: 2024-11-28 20:40:06
Score: 2
Natty:
Report link

Thanks to @sweeper, this is what I was looking for:

} catch let RustBasedPackage.SessionError.Error(_, errorDetail) where errorDetail.code == .CommunicationError {
  pushResetPasswordLaunchEmailAppViewController(email: email)
} catch {
  presentGenericAlert()
}
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @sweeper
  • Self-answer (0.5):
Posted by: Seto

79235254

Date: 2024-11-28 20:40:06
Score: 0.5
Natty:
Report link

Mine issue was fixed by adding environment variables XDG_CONFIG_HOME and XDG_CACHE_HOME:

$browser = $browserFactory->createBrowser
(
    [
        'envVariables' => [
            'XDG_CONFIG_HOME'=>'/tmp/.chromium',
            'XDG_CACHE_HOME'=>'/tmp/.chromium',
        ]
    ]
);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Roman

79235249

Date: 2024-11-28 20:38:06
Score: 2
Natty:
Report link

Remember to create a Lambda layer containing the redshift-connector library and then add it to the Lambda function. A common mistake with Lambda is assuming that including an import statement is always enough. And even after creating a new layer, it is common to forget to then explicitly attach that new layer to the function.

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

79235248

Date: 2024-11-28 20:36:05
Score: 3
Natty:
Report link

it looks like registering your custom org.springframework.http.converter.GenericHttpMessageConverter with special access to resource does suites your needs...

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

79235245

Date: 2024-11-28 20:34:04
Score: 7 🚩
Natty:
Report link

Can you provide what kind of error its throw? and also error message

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you provide what
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: Dima jangveladze

79235243

Date: 2024-11-28 20:33:04
Score: 1.5
Natty:
Report link

If the problem was the unused levels of a factor not available in the new dataset, it seems appropriate to drop them with the droplevels() function. For example:

levels(droplevels(P17.sp@data$Pack))

Note: to make your example reproductible, it would be great to get access to the data. Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: cmoreno

79235236

Date: 2024-11-28 20:28:03
Score: 3.5
Natty:
Report link

when you are running solana-test-validator in cmd , change to admin from user , it will work.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): when you are
  • Low reputation (1):
Posted by: Mahaboob Shabaz

79235233

Date: 2024-11-28 20:27:02
Score: 0.5
Natty:
Report link

You can just override get_domain nowadays:

class MySitemap(Sitemap):
    def get_domain(self, site=None):
        return "www.yourdomain.com"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Jonatan

79235225

Date: 2024-11-28 20:22:01
Score: 1.5
Natty:
Report link

The issue is with wrong input_device_index in input stream. Index = 1 is 9 CABLE Input (VB-Audio Virtual C, MME (0 in, 2 out) which is a audio-out port not an input port. Try giving Index = 0 for 3 CABLE Output (VB-Audio Virtual , MME (2 in, 0 out). This worked in my case.

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

79235224

Date: 2024-11-28 20:21:00
Score: 4
Natty:
Report link

ruby-in-case-on-camel-neckenter code here`#M001633

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: rachelle serrano Rea

79235222

Date: 2024-11-28 20:20:00
Score: 2.5
Natty:
Report link

Your code can´t finish at doPost(e) runing time response, so it make a loop. Like @TheMaster explain. Create another funcion with your code that makes the process. Consider doPost a trigger to execute a function. Learn about time triggers creation. I recomend also, you create an Id to your webhook interation. If you have a mesage from webhook that create a trigger, you dont want the trigger start twice about the same message, so you start the trigger only if the "message id" its a new message, try save the messages id on User Properties. and compare the inmediate old message with the actual trigger starter, to evitate the trigger start more than once by the same start command.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @TheMaster
  • Single line (0.5):
  • Low reputation (1):
Posted by: William Belini

79235219

Date: 2024-11-28 20:18:59
Score: 1
Natty:
Report link

I finally found the problem, after 3 weeks...

The problem that you can see in the video was caused by the JPanel being opaque (I have no idea why it causes that problem).

To fix this annoying bug just set the JPanel as not opaque.

Best way to fix this

Override the isOpaque method to be sure that it will be always on false:

@Override
public boolean isOpaque() {
    return false;
}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Pulsi_

79235213

Date: 2024-11-28 20:16:59
Score: 1.5
Natty:
Report link

I encountered the same issue in two of my projects using Next.js 14 App Router and Axios for API integration. Fortunately, the problem was resolved by using the noStore() function.

You have to just add one function in your server component or the layout file.

You can refer to the documentation here: https://nextjs.org/docs/app/api-reference/functions/unstable_noStore

I’m confident this solution will work for you as well!

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Wali Ullah

79235211

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

This is a classic case for dismissTo:

router.dismissTo("/login");

This will clear all screens back to /login

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

79235201

Date: 2024-11-28 20:09:57
Score: 2
Natty:
Report link

Here's a version that's basically a one-to-one translation of the original C code. This is far from idiomatic Rust of course, but helps illustrate how raw pointers work in unsafe Rust.

fn Q_rsqrt( number: f32 ) -> f32
{
    let mut i: i32;
    let (x2, mut y): (f32, f32);
    const threehalfs: f32 = 1.5;

    x2 = number * 0.5;
    y  = number;
    i  = unsafe { * ( &raw const y as *const i32 ) }; // evil floating-point bit level hacking
    i  = 0x5f3759df - ( i >> 1 );                     // what the fuck?
    y  = unsafe { * ( &raw const i as *const f32 ) };
    y  = y * ( threehalfs - ( x2 * y * y ) );         // 1st iteration
//  y  = y * ( threehalfs - ( x2 * y * y ) );         // 2nd iteration, this can be removed

    return y;
}

(playground link)

Reasons:
  • Blacklisted phrase (2): fuck
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Arbel Groshaus

79235200

Date: 2024-11-28 20:08:56
Score: 1.5
Natty:
Report link

I found this issue with Android Studio after updating to the Ladybug version.

I fix it

migrating kotlin to 2.0.0

-> if we use kotlin = "2.0.0" need to update agp to "8.7.2" fixed

-> Also while using Compose in our project, if we use Kotlin 2.0.0 or above, we need to add Compose compiler for the project while migrating to Kotlin 2.0.0

-> gradle wrapper needs to update 8.9 in gradle-wrapper.properties file

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nagaraju Deshetty

79235194

Date: 2024-11-28 20:05:55
Score: 5.5
Natty:
Report link

Have you contacted the PythonCustomer Support?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lama alharthy psau

79235188

Date: 2024-11-28 20:02:54
Score: 4.5
Natty: 5
Report link

I know it is a very old topic but if someone is interested in a solution here it is: https://github.com/mrluaf/SSH-Tunnel-Dynamic-Port-Forwarding-Python/

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

79235178

Date: 2024-11-28 19:55:53
Score: 3.5
Natty:
Report link

There's an OpenSource port of WebForms to .NET 8 here: github.com/webformsforcore/WebFormsForCore.

With this library you can run existing WebForms projects directly in .NET 8.

Here's a video tutorial on how to convert the sample WebForms site to .NET 8.

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

79235175

Date: 2024-11-28 19:53:52
Score: 3
Natty:
Report link

you need to reference the tagid of the object in the raise function:

rec = canvas.create_rectangle(x, y, x+100, y+100,tags="dummy") canvas.tag_raise("dummy", "all")

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

79235169

Date: 2024-11-28 19:50:51
Score: 3.5
Natty:
Report link

NICE httpsds ://r5---sn-n4v7snll.gvt1.com/edgedl/android/studio/install/2024.2.1.11/android-studio-2024.2.1.11-windows.exe?cms_redirect=yes&met=1732822894,&mh=iF&mip=137.184.118.32&mm=28&mn=sn-n4v7snll&ms=nvh&mt=1732822580&mv=m&mvi=5&pl=20&rmhost=r3---sn-n4v7snll.gvt1.com&rms=nvh,nvh&shardbypass=sd&smhost=r5---sn-n4v7snls.gvt1.com

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: BINU

79235158

Date: 2024-11-28 19:43:50
Score: 3
Natty:
Report link

I am actually working on this myself. If I figure it out, I will update here and give you my code. I hope to answer soon!

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

79235155

Date: 2024-11-28 19:42:49
Score: 2.5
Natty:
Report link
const allItems = await db. table.toArray()

As see in this issue -> https://github.com/dexie/Dexie.js/issues/715

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

79235149

Date: 2024-11-28 19:39:49
Score: 3
Natty:
Report link

[ 1

FROM customer c JOIN customer_transaction ct ON c.Customer_SSN_ID = ct.Customer_ID WHERE c.Customer_SSN_ID = 1; -- Specify the Customer ID to check details

]1

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

79235134

Date: 2024-11-28 19:34:47
Score: 1
Natty:
Report link

I had to use $.html() not $.xml()

Here is that in context based on this answer

   // Finally write the font with the modified paths
    fs.writeFile("test.html", $.html(), function(err) {
        if(err) {
            throw err;
        }
        console.log("The file was saved!");
    });
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: JESUS rose to life

79235132

Date: 2024-11-28 19:33:47
Score: 1
Natty:
Report link
"""SELECT 
c.Customer_SSN_ID AS "Customer ID",
c.First_Name || ' ' || c.Last_Name AS "Customer Name",  -- Concatenate first and last name
c.Email,
ct.Account_Balance AS "Account Balance"

FROM customer c JOIN customer_transaction ct ON c.Customer_SSN_ID = ct.Customer_ID WHERE c.Customer_SSN_ID = 1; -- Specify the Customer ID to check details

Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Jony Deph

79235126

Date: 2024-11-28 19:31:46
Score: 2
Natty:
Report link

you can use the function JSON.stringify() to convert json data to normal english. if this doesnt work for you, you can use the json convert available online. Paste your text their and it will convert the data into string or english

Reasons:
  • Blacklisted phrase (1): doesnt work
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ishika Soni

79235122

Date: 2024-11-28 19:28:45
Score: 2.5
Natty:
Report link

There are acorn and acorn-typescript, don't know how good

https://github.com/acornjs/acorn

https://github.com/TyrealHu/acorn-typescript

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

79235114

Date: 2024-11-28 19:21:43
Score: 3
Natty:
Report link

In your pixel funtion you named a variable pixel which is same as the funtion name which is causing the issue, Change the name and it should solve your issue

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

79235109

Date: 2024-11-28 19:18:42
Score: 2.5
Natty:
Report link

Those headers are generated in the build tree, not the source tree.

Check the location where the generated project files were placed.

You may have to copy them into the same location as the other (non-generated) headers.

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

79235105

Date: 2024-11-28 19:18:42
Score: 2.5
Natty:
Report link

To upgrade your version of NumPy you need to upgrade your Python as well.

You can find which version you need here: https://numpy.org/news/

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

79235099

Date: 2024-11-28 19:12:41
Score: 1
Natty:
Report link

I found where the adapted toolchain compiler is :

~/Documents/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-gcc 

The command line is then very simple:

~/Documents/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-gcc -o hello hello.c

You can obviously add it to PATH environment variable.

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

79235092

Date: 2024-11-28 19:09:41
Score: 3.5
Natty:
Report link

Violation of PRIMARY KEY constraint 'PK_DADS_FEELOT'. Cannot insert duplicate key in object 'dbo.DADS_FEELOT'. The duplicate key value is (D24DD122366). The statement has been terminated. I have paid the payment and still this msg comes to me. Plzz give my money back or sol this problem

Reasons:
  • Blacklisted phrase (1): Plzz
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Artiza

79235091

Date: 2024-11-28 19:09:41
Score: 0.5
Natty:
Report link

You can achieve this functionality using the new PinnedHeaderSliver and SliverResizingHeader widgets introduced in Flutter 3.24. These widgets allow you to design dynamic App Bars where headers can float, stay pinned, or resize as the user scrolls.

Implementation Steps:

These new widgets provide a simpler and more flexible interface compared to the existing SliverPersistentHeader and SliverAppBar.

💡 For a practical example, check out the PinnedHeaderSliver code that recreates the effect of the settings bar in iOS apps.

References:

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

79235086

Date: 2024-11-28 19:08:40
Score: 3.5
Natty:
Report link

In the Google Map widget, you can customize the gestureRecognizers to avoid conflicts.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Josu Alejandro Hernndez Castel

79235083

Date: 2024-11-28 19:07:40
Score: 1
Natty:
Report link

likely prisma is not correctly connecting to db. make sure:

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

79235082

Date: 2024-11-28 19:06:40
Score: 3
Natty:
Report link

Run in production mode, and you'll see it increment from 1 render to 2 renders when the onChange fires.

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

79235076

Date: 2024-11-28 19:04:39
Score: 1
Natty:
Report link

I ran id command in my linux terminal and it seems 1001 stands for docker user.

my output: uid=1000(cosmin) gid=1000(cosmin) groups=1000(cosmin),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),1001(docker)

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

79235075

Date: 2024-11-28 19:04:39
Score: 1.5
Natty:
Report link

The solution from jaredsinclair doesn't work for me. So I modified his solution to make it work.

I like the PopoverTip and want to use it to display details of the data the user taps on. That's why I added generating the displayed text when the button is pressed to the example.

import SwiftUI
import TipKit


struct SomeTip: Tip {
  let id: String
  let titleString: String
  let messageString: String
  @Parameter static var shownTips: [String: Bool] = [:]

  var title: Text {
    Text(titleString)
  }

  var message: Text? {
    Text(messageString)
  }

  var rules: [Rule] {
    [
      #Rule(Self.$shownTips) { tip in
        tip[id] == true
      }
    ]
  }

  var options: [TipOption] {
    [
      Tip.IgnoresDisplayFrequency(true)
    ]
  }
}


struct ViewWithOnScreenHelp: View {
    @State private var onscreenHelp = false

    @State var message = ""

    @State var garbage = ""
    @State var tip = SomeTip(
        id: "",
        titleString: "",
        messageString: ""
    )

    var body: some View {
        VStack {
            Button("Tip") {
                garbage = UUID().uuidString
                message = "\(Int.random(in: 0...1000))"

                tip = SomeTip(
                    id: garbage,
                    titleString: "Tip",
                    messageString: "Messge: \(message)")

                SomeTip.shownTips[tip.id] = true
            }
            .background {
                Color.clear
                    .popoverTip(tip)
                    .id(garbage)
            }
        }
        .padding()
        .task { // This .task would normally go on the app root-view
            try? Tips.resetDatastore()     // not normal use
            try? Tips.configure([
                .displayFrequency(.immediate),
                .datastoreLocation(.applicationDefault),
            ])
        }
    }
}

#Preview {
    ViewWithOnScreenHelp()
}
Reasons:
  • RegEx Blacklisted phrase (2): doesn't work for me
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Michal Kus

79235036

Date: 2024-11-28 18:49:35
Score: 2.5
Natty:
Report link

Go to xcode -> settings -> account. Most likely you need to login here again.

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

79235033

Date: 2024-11-28 18:47:35
Score: 5.5
Natty: 4.5
Report link

https://i.sstatic.net/7cjQdueK.png

please give me the path followed by A* algorithme ,following this graph

Reasons:
  • RegEx Blacklisted phrase (2.5): please give me
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ayoub NAIM

79235029

Date: 2024-11-28 18:46:34
Score: 2.5
Natty:
Report link

A glTF model is considered "not animated" in coding when it lacks any animation data within its file structure; meaning it only contains the 3D geometry and textures of the model itself, without any information regarding movement, keyframes, or bone structures necessary for animation.

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

79235015

Date: 2024-11-28 18:37:33
Score: 3
Natty:
Report link

Since your components are in the drafts, make sure the access token you're using has permission to access files in that section.

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

79235003

Date: 2024-11-28 18:30:31
Score: 0.5
Natty:
Report link

I got this issue as well, however complaining about the rack version.

I rolled back then my passenger from 6.0.23 to 6.0.17 and it worked.

No idea, how to troubleshoot this with the recent passenger version. I removed the rack version it was complaining about. Then I got "rack is missing", even version 2.2.10 according the Gemfile was installed. So I suspect, that there is something wrong in passenger 6.0.23.

Reasons:
  • Whitelisted phrase (-1): it worked
  • No code block (0.5):
  • Low reputation (1):
Posted by: viragomann

79235000

Date: 2024-11-28 18:29:30
Score: 3.5
Natty:
Report link

There's an OpenSource port of WebForms to .NET 8 here: github.com/webformsforcore/WebFormsForCore.

With this library you can run existing WebForms projects directly in .NET 8.

Here's a video tutorial on how to convert the sample WebForms site to .NET 8.

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

79234994

Date: 2024-11-28 18:27:30
Score: 3
Natty:
Report link

you can just use the signal in youre html and dont worry for the perfomentce its ok to use even if its was a real getter in youre case because its a signal the changed detection its better then the usual (if you use on push) you can read more about it in this articalenter link description here

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ariel nimni

79234991

Date: 2024-11-28 18:25:29
Score: 2.5
Natty:
Report link

Did you try:

search("Google", safe=None)

?

Reasons:
  • Whitelisted phrase (-2): Did you try
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Kamil Sawoń

79234989

Date: 2024-11-28 18:23:29
Score: 2
Natty:
Report link

Maybe you want to implement something like this?

import time

text = input("Enter your text: ").lower()

for char in text:
    print(' ', end='')
    for ch in range(ord('a'), ord(char)):
        print('\b'+chr(ch), end='')
        time.sleep(0.01)
    print('\b'+char, end='')
    time.sleep(0.01)
print()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
Posted by: Konstantin Makarov