79233740

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

I discovered the problem. It was simply that the information in my .env file was being ignored, so the value for QUEUE_CONNECTION was still being "synced".

Clearing the cache solved it for me:

php artisan config:clear

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

79233739

Date: 2024-11-28 11:47:02
Score: 4.5
Natty:
Report link

Мне помог таймаут:

  useEffect(() => {
     setTimeout(()=> loadCaptchaEnginge(6), 0)
  },[])
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • No latin characters (3):
  • Low reputation (1):
Posted by: Denis Kokorev

79233737

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

One more problem may be if your parent element, or element to which you want to apply tooltip has pointer-events: none CSS property.

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

79233733

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

It looks to me that you haven't used await characteristic.startNotifications()

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

79233719

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

We managed to implement split tunneling with the following approach:

For Android 33+, we used builder.excludeRoute to exclude the desired IPs from the VPN. For versions below Android 33, we relied on builder.addRoute and included the required IP addresses calculated using the WireGuard AllowedIPs Calculator.

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

79233715

Date: 2024-11-28 11:42:00
Score: 0.5
Natty:
Report link

In my case I had do add Connection: Close header before sending request to backend service:

val targetHeaders = HttpHeaders().apply {
                    put("Connection", mutableListOf("Close"))
                }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: westman379

79233712

Date: 2024-11-28 11:40:59
Score: 4
Natty: 4.5
Report link

check the appspec file in github , use this doc for reference https://gbengaoni.com/blog/Deploy-a-PHP-application-on-EC2-with-Github-and-AWS-CodePipeline-fb38cf204cbb

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

79233709

Date: 2024-11-28 11:39:58
Score: 3.5
Natty:
Report link

Great solution, it's works on my site, best of the best, grab it!!

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

79233703

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

ls -l /data/ca-certs/ca-bundle.pem

• If the file does not exist, download the CA bundle:

curl -o ca-bundle.pem https://curl.se/ca/cacert.pem

mkdir -p ~/ca-certs
mv ca-bundle.pem ~/ca-certs/

• Export the correct path:

export AWS_CA_BUNDLE="/data/ca-certs/ca-bundle.pem"
export NODE_EXTRA_CA_CERTS="$AWS_CA_BUNDLE"
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Prasanna

79233702

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

Sample Output --- Movie Ticket Booking System ---

  1. Display Movies
  2. Book a Ticket
  3. Cancel a Ticket
  4. Generate Report
  5. Exit Enter your choice: 2 Available Movies:
  6. Inception
  7. Dangal Select a movie (1 or 2): 1 Enter seat number: 5 Enter seat type (Regular/Premium): Premium Ticket Booked: Ticket ID: 1, Movie: Inception, Seat: 5, Seat Type: Premium, Price: $300 --- Movie Ticket Booking System ---
  8. Display Movies
  9. Book a Ticket
  10. Cancel a Ticket
  11. Generate Report
  12. Exit Enter your choice: 3 Enter ticket ID to cancel: 1 Enter the movie for this ticket (1 for Inception, 2 for Dangal): 1 Enter the ticket price ($200 for Regular, $300 for Premium): 300 Ticket with ID 1 cancelled. Refund: $300 --- Movie Ticket Booking System ---
  13. Display Movies
  14. Book a Ticket
  15. Cancel a Ticket
  16. Generate Report
  17. Exit Enter your choice: 4 Booking Summary: Tickets Sold: 0 Total Revenue: $0.0
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Pasindu Denuwan

79233698

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

The above answer by Ted is not quite correct and would not work for me. You need to set binding culture in your specflow.json file for .net by doing the following:

{
    "bindingCulture": {
        "name": "en-US"
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: howardcrick

79233695

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

You can use Ctrl + E for zed, using linux, same for others

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

79233689

Date: 2024-11-28 11:33:56
Score: 6
Natty: 7.5
Report link

asasdasdcxasdwa dassssssssssssssssssssssssssssssssssssssssssssssssssss

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Filler text (0.5): ssssssssssssssssssssssssssssssssssssssssssssssssssss
  • Low entropy (1):
  • Low reputation (1):
Posted by: user28530331

79233674

Date: 2024-11-28 11:28:54
Score: 3
Natty:
Report link

I was running this command inside rails console and faced this error, if you are doing same mistake, then do exit from console and run it on actual terminal.

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

79233673

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

I tried to address the inserts and updates with sample data as you mentioned it did not work.

Final_table

INSERT INTO final_table (id, pid, code, date) VALUES
(1, 101, 'A001', '2023-11-01'),
(2, 102, 'B001', '2023-11-02'),
(3, 103, 'C001', '2023-11-03'),
(4, 104, 'D001', '2023-11-04');

Source_table

INSERT INTO source_table (id, pid, code) VALUES
(2, 102, 'B002'),  -- Matching record, code needs to be updated
(5, 105, 'E001'),  -- New record, needs to be inserted
(3, 103, 'C002');  -- Matching record, code needs to be updated

Merge

MERGE INTO final_table AS T
USING source_table AS S
ON T.pid = S.pid

-- For updates
WHEN MATCHED AND (
    T.code IS DISTINCT FROM S.code  -- Update only if 'code' differs
) THEN
    UPDATE
    SET 
        T.code = S.code 

-- For inserts
WHEN NOT MATCHED THEN 
    INSERT (id, code, pid)
    VALUES (S.id, S.code, S.pid);

Result

enter image description here

Reasons:
  • Blacklisted phrase (1): did not work
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: samhita

79233671

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

I Found this answer

Here is the correct way to receive the data from the previous screen

From Screen B

Navigator.pop(context,"Pass your data here");

In Screen A

String results;

var receiedValue =await Navigator.push(
              context,
              MaterialPageRoute(builder: (context) => ScreenB()),
            );
            // How do I refresh the widget here to fetch updated data?
           setState(){
          results = receiedValue;
            }
Reasons:
  • Blacklisted phrase (1): How do I
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Keshav Passi

79233669

Date: 2024-11-28 11:27:54
Score: 1
Natty:
Report link

It turns out that installing command line tools for SourceTree helped.

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

79233668

Date: 2024-11-28 11:27:54
Score: 5
Natty:
Report link

Thanks to @pmf and @GillesQuénot. My file was in CrLf format.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @pmf
  • User mentioned (0): @GillesQuénot
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Mr. Clear

79233666

Date: 2024-11-28 11:27:54
Score: 1
Natty:
Report link

Many of the comments here are useful and describe the practical aspects of macro usage. However, I noticed a lack of detailed explanation regarding the semantics, so I hope my comment helps clarify additional details.

Functions:

Macros:

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

79233650

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

ok good, what is I have all_categorical() ~ "{n} / {N} ({p}%) and I desire only to have the percentage in 2 digits?

How to do that?

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Y.M.S

79233645

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

I'm not sure but you might need key: UniqueKey(), in your GoRoute widgets.

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

79233641

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

All requested functionality is provided by FireDAC's component named TFDSchemaAdapter. This component handles all id assignments.

Delphi documentantion: https://docwiki.embarcadero.com/Libraries/Sydney/en/FireDAC.Comp.Client.TFDSchemaAdapter

Examples: https://docwiki.embarcadero.com/CodeExamples/Athens/en/FireDAC.SchemaAdapterMemTable_Sample

Or examples on GitHub: https://github.com/Embarcadero/RADStudio12Demos/tree/main/Object%20Pascal/Database/FireDAC/Samples/Comp%20Layer/TFDQuery/CachedUpdates/Centralized

Very simple snippet showing data saving do db, once everything is set according manual above:

 if FDSchemaAdapter1.UpdatesPending then
  begin
    FDSchemaAdapter1.ApplyUpdates; //applies correct IDs to all binded queries
    FDQuery1.CommitUpdates;
    FDQuery2.CommitUpdates;
    FDQuery3.CommitUpdates;
  end;
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Aleš

79233639

Date: 2024-11-28 11:20:50
Score: 6 🚩
Natty: 6
Report link

Is there an update on this? I want to make only products selectable in a reference editor, without allowing subtypes to be chosen.

Reasons:
  • Blacklisted phrase (1): update on this
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Is there an
  • Low reputation (1):
Posted by: va4n

79233617

Date: 2024-11-28 11:16:48
Score: 5
Natty:
Report link

link it good to see this link,will answer you

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): see this link
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Wei Yang

79233614

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

For me it worked when I ran RStudio as an administrator. I still don't get why it doesn't work when starting RStudio "normally", but at least now I can work again. When I reinstalled RStudio and R, it didn't work either.

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

79233610

Date: 2024-11-28 11:15:48
Score: 1.5
Natty:
Report link

In this link, you can easily find the topic Retrieve a list of all smart collections for a certain product_id

# Session is activated via Authentication
test_session = ShopifyAPI::Context.active_session

ShopifyAPI::SmartCollection.all(
  session: test_session,
  product_id: "632910392",
)
Reasons:
  • Blacklisted phrase (1): this link
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Paras Pansuriya

79233601

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

The --Override argument is only for use with the installargs parameter.

It can't be used to override the softwareName being passed in to, e.g., Uninstall-ChocolateyPackage (or further down, Get-UninstallRegistryKey).

You'll need to modify your uninstall script to say newforma* instead of newforma12.1*.

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

79233597

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

Just a clarification between Dart and Flutter, as you imply something about it, which seems to have needed some attention.

You do not need to install Dart separately as the Flutter SDK includes the full Dart SDK.

To learn more.

Additional tips: You can also use VS Code, but it is recommended to install Android Studio for some development reasons.

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

79233591

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

Do NOT HOST on GOOGLE Workspace primarily! Dependable Google Workspace Support Matters More Than Ever “Relying solely on Google Workspace support could cost your business more than many realize.” The name Google is closely associated with the reliability of “GOD,” but the facts are far from that. This message is based on our disastrous personal experience and is intended for every IT professional, business owner, and tech enthusiast. Since November 6, 2024, we’ve faced chaos due to Google Workspace support's negligence. Our attempts to escalate the issue have been ignored, leaving us stranded and suffering immense losses. This isn’t just a complaint; it’s a wake-up call. Our Story: When Google Workspace Failed Us

  1. Request us for Evidence: If you’re considering Google Workspace, talk to us first. We have documentation that will help you make an informed decision.
  2. The Problem: A critical issue arose, but Google support’s response was a time-consuming protocol from ages ago: silence and inaction. [Put here the screenshot of the 6-7 days]. For each minor doubt, instead of solving what is expected within a few hours, they are routing back to a repeating protocol of 6-7 days AGAIN!
  3. The Fallout, current situation: Weeks of unresolved issues led to operational disruptions, damaged client relationships, and significant financial losses.

The result: Lost Clients Broken Trust Financial Damage Why This Matters As a tech leader, Google should set the standard for reliable support. Instead: Negligence: Our case was dismissed with shocking indifference. Risk to Businesses: Unresponsive support can cripple IT operations, putting businesses at serious risk. This experience isn’t just our story; it’s a warning to others considering complete reliance on GoogleWorkspace. Use Google Workspace only as a secondary tool. The advice is to use a local, regional hosting provider with direct helpdesk support. Our Demands Accountability: Google must address the damages their negligence caused. Overhaul Support: Fix the broken system to prioritize businesses. Action from Leadership: Sundar Pichai and Google employees must take this seriously to ensure no other company suffers the same fate. What You Can Do Share this story to raise awareness. Tag @Google and @SundarPichai to demand better support. Join the conversation if you’ve had similar experiences; let your voice be heard! Protect Your Business: Diversify and Prepare While Google Workspace offers excellent tools, companies should rely on something other than them as a premium provider. Diversify your solutions, document issues, and research alternatives to ensure your business can survive without interruptions. Together, we can demand better from Google and ensure businesses get the support they deserve. Don’t stay silent; your voice matters!

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @Google
  • User mentioned (0): @SundarPichai
  • Low reputation (1):
Posted by: Muntazir Mehdi

79233581

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

I am also facing an issue to connect with Mariadb v10.11. My code,

MySqlConnection mySqlConn = new MySqlConnection("server=XXXXX;port=3306;database=XXXX;uid=XXXX;password=XXXX;commandinterceptors=Jf.MySql.Data.Collations.Interceptor,Jf.MySql.Data.Collations"); Utf8mb3.Enable(); mySqlConn.Open();

Note : Using above MySqlConnection i am able to connect with Mariadb 10.5 but its failing for Mariadb v10.11. I am using MySql.Data.dll (Ver: 6.9.8.0) and Jf.MySql.Data.Collations.dll ( Ver: 0.2.0.0).

What could be wrong here. Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): What could be
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Riyajodin Shaikh Phonologies

79233577

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

This functionality has moved to the sidebar and can be re-added to the bottom bar here:

enter image description here

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

79233568

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

While writing your codes, use the uses section. implementation

{$IFDEF MSWINDOWS}
  uses Winapi.ShellAPI, Winapi.Windows,vcl.Forms,IdUri;
{$ENDIF}

between these phrases If you write your procedures and functions between these phrases, they will be compiled.

{$IFDEF MSWINDOWS}
  your codes
{$ENDIF}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Erol Akyuz

79233565

Date: 2024-11-28 11:03:44
Score: 1.5
Natty:
Report link

You can try configuring the setExposeRepositoryMethodsByDefault to false and check.

Sample code snippet:

@Configuration public class AppRepositoryConfig implements RepositoryRestConfigurer {

@Override
public void configureRepositoryRestConfiguration(RepositoryRestConfiguration config, CorsRegistry cors) {

    config.setExposeRepositoryMethodsByDefault(false);
}

}

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Configuration
  • Low reputation (1):
Posted by: xiaowang

79233558

Date: 2024-11-28 11:01:43
Score: 1
Natty:
Report link

As mentionned in @keith comment, you should do this since node22:

import packageJson from "./package.json" with { type: "json" };

or for dynamic import:

const { default } = await import('./file.json', {with: {type: 'json' }});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @keith
Posted by: MathKimRobin

79233554

Date: 2024-11-28 11:01:43
Score: 1
Natty:
Report link

Not a fix, but a workaround is to enable "Legacy Previews Execution":

Editor > Canvas > Use Legacy Previews Execution

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

79233545

Date: 2024-11-28 10:59:42
Score: 4
Natty:
Report link

clear client(browser) cache: ctrl + f5

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

79233538

Date: 2024-11-28 10:57:42
Score: 1
Natty:
Report link

You can fix parameters to zero by using the posfix argument. As noted in the documentation of hlme:

posfix: Optional vector specifying the indices in vector B of the parameters that should not be estimated. Default to NULL, all parameters are estimated.

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

79233534

Date: 2024-11-28 10:56:41
Score: 4
Natty:
Report link

Try using the @Hidden annotation in your controller. On the method level or on the class level.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Hidden
  • Single line (0.5):
  • Low reputation (1):
Posted by: Chris Sibaya

79233533

Date: 2024-11-28 10:56:40
Score: 5.5
Natty: 4
Report link

I am same issue. I have vs code 1.75.0 When I install Thunder extension , I get error :

in command palate, I do not see Code: Check for Updates Or Help/check updates.

Any suggestions?

Reasons:
  • RegEx Blacklisted phrase (2): Any suggestions?
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: petercli

79233526

Date: 2024-11-28 10:55:40
Score: 3
Natty:
Report link

Not really an answer, but I step "more near" to the answer I think

I did read again the documentation here: Win32_Process

I made a few experiments (I am now total confused total)

BEFORE code line...

ret_val = process.Terminate()

...I made, in different run's, the following:

A print(str(process.Terminate))

B print(str(callable(process.Terminate)))

C print(str(type(process.Terminate)))

The 'results' was:

A

0

Execution failed!
com_error: SWbemObjectEx: 0x80041002 :: Nicht gefunden
com_error in subsequent call of "<user input of Main Library.Exec "Exec1">", line 28
    ret_val = process.Terminate()
  in file "C:\Program Files\Python311\Lib\site-packages\win32com\client\dynamic.py", line 634
    ret = self._oleobj_.Invoke(retEntry.dispid, 0, invoke_type, 1)

B

False

Execution failed!
com_error: SWbemObjectEx: 0x80041002 :: Nicht gefunden
com_error in subsequent call of "<user input of Main Library.Exec "Exec1">", line 28
    ret_val = process.Terminate()
  in file "C:\Program Files\Python311\Lib\site-packages\win32com\client\dynamic.py", line 634
    ret = self._oleobj_.Invoke(retEntry.dispid, 0, invoke_type, 1)

C

<class 'int'>

Execution failed!
com_error: SWbemObjectEx: 0x80041002 :: Nicht gefunden
com_error in subsequent call of "<user input of Main Library.Exec "Exec1">", line 28
    ret_val = process.Terminate()
  in file "C:\Program Files\Python311\Lib\site-packages\win32com\client\dynamic.py", line 634
    ret = self._oleobj_.Invoke(retEntry.dispid, 0, invoke_type, 1)

If I execute ONLY...

ret_val = process.Terminate()

...so I get, like in the past, this:

Execution failed! TypeError: 'int' object is not callable

Have perhaps now anybody an idea what could be the reason for the problem?

Reasons:
  • Blacklisted phrase (1): what could be
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Fonso

79233522

Date: 2024-11-28 10:54:40
Score: 2
Natty:
Report link

I was facing the same issue . You need to set channelId from backend to send push notification to frontend. https://docs.expo.dev/push-notifications/sending-notifications/ also add "useNextNotificationsApi": true in app.json and rebuild your app.

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

79233509

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

Explicitly formatting headers and indices and then to the data

import pandas as pd
df = pd.DataFrame(
    [
        [0.5, 1.5, 0.1], 
        [0.5, 2.5, 0.3], 
        [1.5, 1.5, 0.4], 
        [1.5, 2.5, 0.2]
    ],
    columns=['A', 'B', 'C']
)
pt = df.pivot_table(index='B', columns='A', values='C')
pt.columns = pt.columns.map(lambda x: f"{x:.2f}")  # Format columns to 2 decimals
pt.index = pt.index.map(lambda x: f"{x:.2f}")      # Format index (rows) to 2 decimals

# Apply conditional formatting 
styled_pt = pt.style.map(lambda x: 'color:red;' if x > 0.2 else None)

# Apply float formatting to the data cells 
styled_pt = styled_pt.format("{:.2f}") 

styled_pt

Output

enter image description here

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

79233505

Date: 2024-11-28 10:48:38
Score: 1.5
Natty:
Report link

nice question! At the moment for distribution reasons we don't support removing data from caches keeping it only on the indexes. It would be nice to support this case eventually. Feel free to open an issue here: https://github.com/infinispan/infinispan/issues

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

79233504

Date: 2024-11-28 10:48:38
Score: 1
Natty:
Report link

How about using pandas?

You can create a data set in DataFrame format first.

And then, you can export the DataFrame to a csv file.

Following is a simple example:

import pandas as pd
data = [['John', 25], ['Mary', 30], ['Bob', 20]]  # Create a data
df = pd.DataFrame(data, columns=['Name', 'Age'])  # Convert the data to DataFrame
df.to_csv('example.csv')  # Export the DataFrame to csv file

The result of this code looks like this.

CSV file

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

79233502

Date: 2024-11-28 10:48:37
Score: 9.5 🚩
Natty:
Report link

I'm just trying to get gtk working on raspberry pi os. Everything compiles and builds but like you I get same error message when running code. when this line executes: gtk_window_new(GTK_WINDOW_TOPLEVEL);

I'd be really grateful if you could elaborate on your answer a little. I don't know an XPM is and google is coming up with real estate proteries lol. Also, could you show what you canged in your code or build settings please.

Reasons:
  • RegEx Blacklisted phrase (2.5): could you show what you
  • RegEx Blacklisted phrase (2): I'd be really grateful
  • RegEx Blacklisted phrase (1): I get same error
  • No code block (0.5):
  • Me too answer (2.5): I get same error
  • Low reputation (1):
Posted by: Martin Bingham

79233498

Date: 2024-11-28 10:46:36
Score: 0.5
Natty:
Report link

Form1 f1 = new Form1();

        f1.WindowState = FormWindowState.Minimized;

this one worked for me

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Bilaal Cali Cibaar

79233491

Date: 2024-11-28 10:43:35
Score: 5
Natty:
Report link

Helo All i am facing same issue and tried above nginx.ingress.kubernetes.io/configuration-snippet: | real_ip_header CF-Connecting-IP; but same issue and when get ingress pod logs i've seen cloud flare ips

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): i am facing same issue
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Hossam

79233490

Date: 2024-11-28 10:42:35
Score: 3
Natty:
Report link

There was an import for testing "RouterTestingModule"

This caused some issue in routing event After removing the above import, the routing worked as expected.

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

79233488

Date: 2024-11-28 10:41:34
Score: 2.5
Natty:
Report link

A better option is probably to push your content through helm template first and then parse it. (https://stackoverflow.com/a/63502299/5430476)

Yes, templating makes this task much easier.

However, in my case, I need to adjust YAML nodes across 1 to 200 Helm YAML files in different charts.

For instance, I want to add the following label to all YAML files:

metadata:
  # ...
  labels:
    helm.sh/chart: {{ $.Chart.Name }}-{{ $.Chart.Version | replace "+" "_" }}

Inspired by @ilias-antoniadis's answer, I made some improvements on his option 1:

  1. Handling multiple {{ }} placeholders in a single value, as in the example above.
  2. Processing Helm's flow control syntax (e.g., if or range), which doesn’t include a colon (:) on the same line.
#!/usr/bin/env python
import sys
import re
import yaml


class SimpleGoTemplateHandler:
    def __init__(self):
        self.left = "{{"
        self.right = "}}"
        self.left_placeholder = "__GO_TEMPLATE_LEFT__"
        self.right_placeholder = "__GO_TEMPLATE_RIGHT__"
        self.pipe = "|"
        self.pipe_placeholder = "__THE_PIPE__"
        self.control_counter = 0  # Counter for Helm flow control statements.
        self.control_pattern = re.compile("^(\s*)(\{\{)")  # e.g. "  {{- if .Values.foo -}}"

    def __gen_control_key(self):
        self.control_counter += 1   # prevent duplicated keys
        return f"__CONTROL_{self.control_counter}__"

    def escape(self, content: str) -> str:
        # handle helm control syntax.
        # e.g.
        #   from:
        #     {{- if .Values.foo -}}
        #     {{- end -}}
        #   to:
        #     __CONTROL_1__: "{{- if .Values.foo -}}"
        #     __CONTROL_2__: "{{- end -}}"
        replaced_lines = []
        for line in content.split("\n"):
            pattern_match = self.control_pattern.match(line)
            if pattern_match:
                line = f"{pattern_match.group(1)}{self.__gen_control_key()}: \"{line}\""
            replaced_lines.append(line)

        content = "\n".join(replaced_lines)

        # handle go templates in values
        content = content.replace(f"{self.left}", f"{self.left_placeholder}").replace(f"{self.right}", f"{self.right_placeholder}")

        # handle yaml multiline syntax
        content = content.replace(f"{self.pipe}", f"{self.pipe_placeholder}")
        return content

    def unescape(self, content: str) -> str:
        # undo handle helm control syntax.
        content = re.sub(r"__CONTROL_\d+__: ", "", content)

        # undo handle yaml multiline syntax
        content = content.replace(f"{self.pipe_placeholder}", self.pipe)

        # undo handle go template in values
        return content.replace(f"{self.left_placeholder}", self.left).replace(f"{self.right_placeholder}", self.right)


handler = SimpleGoTemplateHandler()

with open(sys.argv[1]) as f:
    content = f.read()
    yaml_data = yaml.safe_load_all(handler.escape(content))

    # do something with your data

print(handler.unescape(yaml.dump_all(yaml_data, sort_keys=False, width=1000)))

# OR
# with open(sys.argv[1], "w") as f:
#     f.write(handler.unescape(yaml.dump_all(yaml_data, sort_keys=False, width=1000)))

To handle these cases:

  1. First, process Helm's flow control syntax by appending a dummy key to each line for parsing.
  2. Replace all {{ and }} with placeholders to avoid issues with YAML parsers.
  3. Replace all | (pipe characters), since after using pyyaml.dump, these can be split into multiple lines.

Unfortunately, I’m not familiar with Go, so I’m not sure how to use text/template effectively in this case.

It would be great if there were a handy tool to handle scenarios like this.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): stackoverflow
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @ilias-antoniadis's
  • Low reputation (0.5):
Posted by: ktc

79233482

Date: 2024-11-28 10:38:33
Score: 1.5
Natty:
Report link

The issue was related to @capacitor/ios at the end of the day, since I was trying to implement a custom notifications inside AppDelegate, and to make it work, I had to patch the package, and get ride of any use of UNUserNotificationCenterDelegate

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

79233481

Date: 2024-11-28 10:37:33
Score: 5.5
Natty:
Report link

https://support.google.com/assistant/thread/310248669/𝗪𝗵𝗮𝘁-𝗶𝘀-𝘁𝗵𝗲-𝗰𝗮𝗻𝗰𝗲𝗹𝗹𝗮𝘁𝗶𝗼𝗻-𝗽𝗼𝗹𝗶𝗰𝘆-𝘄𝗶𝘁𝗵-𝗨𝗻𝗶𝘁𝗲𝗱-𝗔𝗶𝗿𝗹𝗶𝗻𝗲𝘀

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Benja min

79233478

Date: 2024-11-28 10:37:33
Score: 1
Natty:
Report link

Is there a way to convert graph to grid

No, you can't convert any graph to a grid. Simply because graph’s node can have an unlimited number of connections, whereas a grid's node typically has only 4 connections (or 8 if diagonal movements are allowed)

Can we use CBS on graph

Yes, CBS can be used on a graph. In fact, the original paper provides an algorithm that works with a graph.

If you need an example with a graph, there is a Python library that implements CBS and works with both graphs and grids. For example, we can reproduce the graph from the paper — the one with mice and cheese:

from w9_pathfinding import Graph, CBS

S1, S2, A1, A2, A3, B1, B2, B3, C, G1, G2 = range(11)

graph = Graph(
    num_vertices=11,
    edges=[
        (S1, A1), (S1, A2), (S1, A3),
        (S2, B1), (S2, B2), (S2, B3), 
        (A1, C), (A2, C), (A3, C),
        (B1, C), (B2, C), (B3, C),
        (C, G1), (C, G2),
    ]
)
starts = (S1, S2)
gaols = (G1, G2)

paths = CBS(graph).mapf(starts, gaols)
print(paths)  # [[S1, A3, C, G1], [S2, B3, B3, C, G2]]
Reasons:
  • Blacklisted phrase (1): Is there a way
  • Long answer (-1):
  • Has code block (-0.5):
  • Starts with a question (0.5): Is there a
  • Low reputation (1):
Posted by: w9_

79233475

Date: 2024-11-28 10:36:32
Score: 1.5
Natty:
Report link

I use .NET 8 and this work for me

@rendermode @(new InteractiveServerRenderMode(prerender: false))

Put this on the top of your component and this work for me:)

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

79233469

Date: 2024-11-28 10:34:31
Score: 2
Natty:
Report link

In my case the reason was attribute loading="lazy" on img tag:

<img loading="lazy">
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: SlowMe

79233464

Date: 2024-11-28 10:31:31
Score: 1
Natty:
Report link

Following on from Kashyap's anwser, i neededed to include the following to the json request

  "spark_conf": {
     "spark.databricks.cluster.profile":"singleNode",
     "spark.master":"local[*, 4]"
  },
 "custom_tags": {
  "ResourceClass":"SingleNode"
}

in order to be able to interact with tables and not present warning messages in the UI.

Reasons:
  • Blacklisted phrase (0.5): i need
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: TA1992

79233460

Date: 2024-11-28 10:30:31
Score: 3.5
Natty:
Report link

any update? how can I install dependency with --no-build-isolation in requirements.txt? I'm using pip 24.3.1

Reasons:
  • Blacklisted phrase (0.5): how can I
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: donggyu

79233455

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

For example

$arr = ['9','3','34','334','56','89', '559', '8','876'];

sort($arr);

$total = count($arr);

foreach($arr as $key=> $val){

if($key == $total-2 ){ print_r($val);

}

}

Reasons:
  • Low length (1):
  • No code block (0.5):
  • No latin characters (0.5):
  • Low reputation (1):
Posted by: Abhishek Thakur

79233452

Date: 2024-11-28 10:27:30
Score: 1.5
Natty:
Report link

The timezone.useUTC option is currently deprecated, and it's recommended to use the time.timezone setting. You can set this property to undefined and it should fall back to the local browser time zone.

time: {
    timezone: undefined
}

Demo: https://jsfiddle.net/BlackLabel/9kdb8er4/

API: https://api.highcharts.com/highcharts/time.timezone

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

79233439

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

I have tried it but it simply says "Exited with no change"

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

79233438

Date: 2024-11-28 10:22:29
Score: 1.5
Natty:
Report link

To change the default action for the "Human Resources Menu" to go directly to "Leave Requests" instead of the "Employee Menu," you need to adjust the menu sequence or link settings. Log into the admin panel, go to the menu configuration settings, and find the "Human Resources Menu." Change the sequence number or action of the "Leave Requests" option to make it the default. This will prioritize "Leave Requests" when you click the HR menu. Save the changes and test to ensure it works. If unsure, consult your system admin for more specific guidance.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: David Honey

79233437

Date: 2024-11-28 10:22:29
Score: 1
Natty:
Report link

It seems PHP IntelliSense extension works better and might be more suitable in your case than PHP Intelephense extension. At least from its homepage, it seems it could help you autocomplete without $. There are couple of examples on how to using the extension.

Reasons:
  • Whitelisted phrase (-1): in your case
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Naveed Ahmed

79233436

Date: 2024-11-28 10:22:29
Score: 1
Natty:
Report link

"how a piece of Python code is distinguished for a division to be made in the interpreter (either C program or Java classes as the author states)"

Below are some pointers that might answer your question :

Usability :

  1. CPython - Most commonly packaged when you download python(on windows) or install linux(pre-installed). So can be used for almost any python project with exception mentioned in point 2.
  2. JYthon - You have to specifically download the jar for this from JYthon official website. So if your python project is going to require access from Java libraries and/or frameworks, JYthon is ideal interpreter.

So to answer in short, its not your piece of code that will decide which interpreter but you the user based on your project architecture(whether it has java library/framework dependencies) decides whether to use CPython or Jython.

Note : For a project both CPython and Jython can be used together, but remember only one interpreter can use the run-time environment at a time.

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

79233434

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

I forgot to initialize mssql driver in my testing package :(

import (
    "time"

    "github.com/jmoiron/sqlx"

    _ "github.com/microsoft/go-mssqldb" // mssql driver      <-------------
)

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

79233430

Date: 2024-11-28 10:20:27
Score: 1.5
Natty:
Report link

I solved same problem by disabling antivirus (Avast / windows 10) and it works.

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ankita Modi

79233429

Date: 2024-11-28 10:19:27
Score: 1.5
Natty:
Report link

I am explaining in very short way, There is only way to get all Orders one the First Way and 2nd With the First Way you have to also call the Draft Order API and then Merge all Records other then that dont waste time, no option i have done this.

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

79233423

Date: 2024-11-28 10:17:26
Score: 1.5
Natty:
Report link

Use for current day todayBuilder, like this:

todayBuilder: (context, day, events) {
            return CustomWidget();
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: AzPsu

79233413

Date: 2024-11-28 10:16:26
Score: 3.5
Natty:
Report link

For .wpress you need to have All in one plugin, What is the size of file

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

79233402

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

I don't know if this is relevant to you now but I will answer for others.

I have this error again now and started digging for info. I have audio from YT playing, but if I send a clear mp3 file to the bot, it gives me this error.

  1. 2880417800 - Specific ffmpeg error code. I don't know what it means. But it is a specific code, it does not change.
  2. For Discord py it is best to use pytube and not YoutubeDL. YoutubeDL is a very slow and crooked lib. It is MUCH easier to work with pytube. If pytube doesn't work well, uninstall it and install it via pytubefix (pip install pytubefix).
  3. I use the following ffmpeg_options: {'before_options': '-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5', 'options': '-vn -filter:a "volume=0.15"'} If you remove “before_options” completely, mp3 files start playing normally. But there is a new problem - the bot sometimes stops playing music a few (10-15 seconds) after the start with the code ffmpeg 0 (although 0 means that the process is completed without errors). And how to fix it I don't know yet. *Without before_options will be: {'options': '-vn -filter:a "volume=0.15"'}
Reasons:
  • RegEx Blacklisted phrase (1): I have this error
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Arsenij Diachenko

79233400

Date: 2024-11-28 10:13:24
Score: 4.5
Natty: 5
Report link

Run:

rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2023

Fixed my issue

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Anand Wycliffe

79233390

Date: 2024-11-28 10:10:24
Score: 0.5
Natty:
Report link

This kind of code is beyond current Frama-C/WP capabilities. Basically, the main (industrial) use-cases of Frama-C/WP are generally programs with strongly constrained coding rules. Such codes are generally well-typed and use very few operations on bits. Consequently, heterogeneous casts, unions and bit operation have a poor support in Frama-C/WP.

Here are the properties that are intractable:

There is currently ongoing research effort to deal with the first problem, that will probably need additional R&D effort on industrial use cases to be fully scalable.

On the second aspect, to the best of my knowledge, there have been questions along years on this topic, but no industrial will to improve this feature in WP.

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

79233382

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

Normally 443 is the port for secure wss while ws should default to 80 (or 8080), not quite sure why it manifests like that though, but def shouldn't use 443 for this setup

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

79233370

Date: 2024-11-28 10:06:23
Score: 3
Natty:
Report link

you can use a question mark (?) after answer to make the variable nullable

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: The Helper 1507

79233368

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

There is an easier solution now, webpack has a functionalty to resolve TypeScript files imported using the .js extension: https://webpack.js.org/configuration/resolve/#resolveextensionalias

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

79233354

Date: 2024-11-28 10:03:22
Score: 0.5
Natty:
Report link

In case you are not working in Ubuntu, you can check to make sure you have mod_proxy_html enabled in the default configuration file.

  1. Find the httpd.conf file (usually you will find it in a folder called conf, for default installation as stated on apache documentation it could be placed in /usr/local/apache2/conf)
  2. Inside the httpd.conf file uncomment the line by removing the pound '#' sign from in front of the line (around line 122 for a default file)

LoadModule proxy_html_module modules/mod_proxy_html.so

Then restart apache.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: João Quintas

79233353

Date: 2024-11-28 10:03:22
Score: 2.5
Natty:
Report link

I have the same notification in the new version of Spring boot 3.4.0. You may need to fix the hikari settings in application.properties so that they apply properly, but I haven't found any information about this anywhere.

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

79233347

Date: 2024-11-28 10:00:21
Score: 3
Natty:
Report link

MSBuild with .Net 9 shipped a feature called BuildCheck. A simple dotnet build -check could demo what it's capable of. See https://github.com/dotnet/msbuild/blob/main/documentation/specs/BuildCheck/Codes.md

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

79233346

Date: 2024-11-28 10:00:20
Score: 8 🚩
Natty:
Report link

Hi could you please tell which version of angular ang ngx-bootstrap you are using?

Reasons:
  • RegEx Blacklisted phrase (2.5): could you please tell
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alex Umanskiy

79233335

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

Do you start server directly using Node.js or do you run it through VS.Code? I use VS.Code as my dev environment so while developing I run it through it (actually I have one window for server and other window for client). It would be possible to run it using Node.js but you would need to transpile .ts to .js first.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Jan Liska

79233334

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

The issue you're facing is because coucou is not defined as a command in your bot's code, while you defined coucou in your MyBot class, it is not registered as a command

Add that to declare your function as a command

@bot.command()

You can see more at this link

Then look at the Cogs to organize a collection of commands, listeners...

Reasons:
  • Blacklisted phrase (1): this link
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Victor Hubert

79233332

Date: 2024-11-28 09:56:19
Score: 1.5
Natty:
Report link

first you add .(dot)operator to you env file because when you start you project first time env file don't start with .(dot)operator so set .env after that un comment CI_ENVIRONMENT and make it CI_ENVIRONMENT = development now you see your application in development mode. But problem is you can't see CodeIgniter fire icon in CodeIgniter built-in server php spark serve (localhost:8080) but you see fire icon in Apache server on you application (localhost/your_project_name/public).

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

79233331

Date: 2024-11-28 09:56:19
Score: 6 🚩
Natty: 5.5
Report link

Are you got the solution please let me know

Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ashok Kumar

79233324

Date: 2024-11-28 09:53:18
Score: 1
Natty:
Report link

Also notice that the text can not be longer than 2000 characters, otherwise you will get this failure. This was my solution in Matillion:

if len(detailed_error) > 2000:
  max_len = len(detailed_error)-2000
  context.updateVariable('detailed_error', detailed_error[max_len:])
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Lalo lalic

79233322

Date: 2024-11-28 09:53:18
Score: 2
Natty:
Report link

SELECT accountid, sum(Debit) - sum(Credit) as balance, SUM(IF(DATEDIFF(CURDATE(), transactiondate) BETWEEN 1 AND 7, Debit, 0)) AS age7Days, SUM(IF(DATEDIFF(CURDATE(), transactiondate) BETWEEN 8 AND 16, Debit, 0)) AS age15Days, FROM billing bill having balance > 0 GROUP BY accountid

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

79233318

Date: 2024-11-28 09:51:17
Score: 1
Natty:
Report link

I’m running an online course on GitHub Classroom and frequently updating the content. Here’s how it works:

  1. Make the necessary changes.
  2. Click the Sync assignments button.
  3. Students will receive a Pull request #1.
  4. Students simply need to click Merge pull request to apply the updates. enter image description here enter image description here
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: mustapha mekhatria

79233313

Date: 2024-11-28 09:50:17
Score: 2
Natty:
Report link

If git expand the asterisk you can easily get all subdirectories, if shell you can still do similar like Documentation/*/*.txt

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

79233281

Date: 2024-11-28 09:40:14
Score: 5
Natty: 6
Report link

Hace unos meses tuve usurpación de mi cuenta personal, con la cual perdí toda mi información y la mal utilizan para crear cuentas, manejar mi celular y computadora, no me permiten usar Google, ni un navegador valido al igual que las App de mi celular y ustedes contribuyen hacer daño, CUMAS!!

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

79233265

Date: 2024-11-28 09:37:13
Score: 3.5
Natty:
Report link

I'm experiencing my phone being hacked and I need my account for other apps but do not want to put account on phone because it compromised

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rhea Hernandez

79233260

Date: 2024-11-28 09:35:12
Score: 4.5
Natty:
Report link

I am currently getting error 422 on SwaggerHub ARVR-Toolkit enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Khang Nguyễn

79233257

Date: 2024-11-28 09:35:12
Score: 2.5
Natty:
Report link

Here's how we fixed this: We moved the login UI and the Identity Server to the same domain.

The Identity Server is now running on backend.example.com and the UI is running on portal.example.com

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

79233252

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

I believe in the same conclusion as Maksym, however i would just like to point out, that you should use uuid's insted of simple id's as this opens door to a possible attack called "IDOR" or else known as "Insecure Direct Object Reference"

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

79233248

Date: 2024-11-28 09:31:10
Score: 0.5
Natty:
Report link

The solution might be to customize RestartClassLoader with META-INF/spring-devtools.properties and the definitions of restart.exclude & restart.include: https://docs.spring.io/spring-boot/reference/using/devtools.html#using.devtools.restart.customizing-the-classload

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

79233247

Date: 2024-11-28 09:31:10
Score: 1
Natty:
Report link

In uploadVideo function change storage type to storageVideo

use or modify this function in multer.js:

const uploadVideo = multer({
    storage: storageVideo,
    fileFilter: fileFilterVideo
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: SOURABH PATIL

79233246

Date: 2024-11-28 09:30:10
Score: 3.5
Natty:
Report link

clearing your cached data & files on your browser will work.

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

79233243

Date: 2024-11-28 09:29:10
Score: 1.5
Natty:
Report link

As my tested, no need to add the code below:

app.locals.basedir = path.join(__dirname, 'views');

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

79233234

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

You can write a CI job to check if the status of the Ticket and then fail the job according to the need. Also there is a setting to prevent merging when there are failed pipelines https://docs.gitlab.com/ee/user/project/merge_requests/auto_merge.html#require-a-successful-pipeline-for-merge

This will ensure changes are not pushed to the main branch in case the requirement is not satisfied.

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

79233232

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

It baffles me that CloudWatch still does not support this basic operation. We had to add epoch timestamps to our logs and compare them instead.

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

79233225

Date: 2024-11-28 09:23:08
Score: 2.5
Natty:
Report link

In my case, add external jar https://mvnrepository.com/artifact/jboss/jnp-client/4.0.2, this issue is fix.

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: yu yang Jian

79233223

Date: 2024-11-28 09:22:07
Score: 3
Natty:
Report link

I realise that this is well after the event but trying this did not work for me. Tw sets of code below both of which result in an error - 'the requested entity was not found'. This is odd because if I change "remove" to "create", the function succeeds.

  function removeStudents() {
  //Classroom.Courses.Students.remove({
  // userId: "[email protected]",
  //}, 727305413955);


var ClassroomID=727305413955
var TeacherslistID="[email protected]";
Classroom.Courses.Teachers.remove({"userId":TeacherslistID},ClassroomID)
}

The error lists this line as at fault Classroom.Courses.Students.remove

Any update on this would be appreciated.

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): did not work
  • Blacklisted phrase (1): update on this
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Class Admin

79233220

Date: 2024-11-28 09:21:07
Score: 2.5
Natty:
Report link

Mossab answer worked for me. Thanks for your help.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-0.5): Thanks for your help
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Vikas Singh

79233217

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

There is a Getting Started guide: https://github.com/ocornut/imgui/wiki/Getting-Started But at heart your question is a question about the build process in C/C++.

You need your program to somehow link with the code contained in dear imgui. Usually it means compiling the imgui sources files (imgui/*.cpp) into your project. But if you compile them on the command-line in one command you are going to recompile the whole library everytime, which is a bit wasteful for your time.

People use build systems such as Makefile, cmake, premake to organize their building into smaller chunks, which 99% of the time involve compiling each .cpp file into an object file, and then linking all object files into a program. This way the .cpp files are only recompiled when changed or when one of the dependency they use is changed. You should read about those.

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