79216815

Date: 2024-11-22 23:18:46
Score: 2.5
Natty:
Report link

has somone it working in the rabbitmq version 4? For me it works acutaly only at Docker version rabbitmq:3.12.1-management

would be nice to use the latest one.

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

79216802

Date: 2024-11-22 23:11:44
Score: 3.5
Natty:
Report link

Did you check your middlewares and providers?

Use telescope for api requests debugging.

Try to use Cache

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Orhan Özyalçın

79216788

Date: 2024-11-22 23:04:43
Score: 2.5
Natty:
Report link

In order for this to work, you need a keytab file generated by your Domain Controller and your web server to send a WWW-Authenticate: Negotiate header to the client, so it sends a GSSAPI SPNEGO token (as outlined by @grawity_u1686)

This library django-auth-spnego should help you get started with and do the desired authentication for you. Disclaimer: I'm the maintainer.

Reasons:
  • Contains signature (1):
  • Has code block (-0.5):
  • User mentioned (1): @grawity_u1686
  • Low reputation (1):
Posted by: alfonsrv

79216787

Date: 2024-11-22 23:03:43
Score: 1
Natty:
Report link

Based on the code provided, the command handler doesn't defer or reply in a timely manner, and the unknown interaction error is a common error to receive if you continue executing code and don't respond within the 3 seconds window it expects. I would add a defer/reply code set to your execution handler. See: https://discord.js.org/docs/packages/discord.js/14.16.3/CommandInteraction:Class

you can also see examples of how to reply and/or defer here: https://discordjs.guide/creating-your-bot/command-handling.html#executing-commands

In general, I would defer at the first line of the handler, do your handling, and then reply at the end.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: G-Force

79216770

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

Today, you can do:

[Flags]
public enum LongEnum : long
{
   ...
}
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: K Smith

79216765

Date: 2024-11-22 22:48:39
Score: 4.5
Natty: 4
Report link

Same issue as well with historical data. It is super shaky. not sure yet how to solve it, but Maybe writng a Script might help, instead using the formula.

There is as well sometimes the same issues using historical date (and time) when I changed the date to one day earlier it did work suddenly.

Reasons:
  • Blacklisted phrase (1): how to solve
  • RegEx Blacklisted phrase (1): Same issue
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Petra Samovski

79216757

Date: 2024-11-22 22:39:38
Score: 2
Natty:
Report link

I am trying to implement Arcgis with angular, everything is working fine map is displaying and layers are working until Item-Id is hardcoded (<arcgis-map item-id="sdfdfd43443433"...), but I want to assign "item-id" property dynamically, but it is not working correctly, not sure what am I missing here, here is the sample code


<arcgis-map [item-id]="itemId"></arcgis-map>
      OR
<arcgis-map item-id="{{itemId}}"></arcgis-map>

  @Component({
      selector: 'app-my-map',
      templateUrl: './my-map.component.html',
      styleUrls: ['./my-map.component.css']
    })
    export class MyMapComponent implements OnInit {
      itemId = 'YOUR_ITEM_ID'; // Replace with your actual item ID
    
      ngOnInit() {
      }
    }
Reasons:
  • Blacklisted phrase (1): I am trying to
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hari

79216756

Date: 2024-11-22 22:39:38
Score: 3.5
Natty:
Report link

CONNECTION_STRING= mongodb://[user_name]:[password]@127.0.0.1:27017/[Db_Name]?retryWrites=true&writeConcern=majority&authSource=admin

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Çağlar YILMAZ

79216748

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

Problem solved by adding the token : (action:posted_data:prog-info:0) as a value in this field

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

79216731

Date: 2024-11-22 22:24:34
Score: 2.5
Natty:
Report link

In Eclipse, under Run Configuration, you can show the command line Eclipse uses to run your program on the Dependencies tab.

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

79216727

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

I found a solution to get up-to-date data using the gcloud storage Python library, and it works effectively in "real time."

My guess is that using this approach, the gcloud storage library directly interacts with the Google Cloud Storage API instead of relying on file system synchronization through mounted volumes. This eliminates any potential caching or synchronization lag and ensures that the latest version of the data is always retrieved. I didn't expect such delays.

I'm keeping the post open because the question about delays and consistency when using mounted volumes in Cloud Run still stands. Not having high speed/consistency somehow kills some of the beauty of using the mounted volumes as local paths.

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

79216719

Date: 2024-11-22 22:17:33
Score: 3
Natty:
Report link

Guys they mean like when I give the first input and press enter the curser stays in the same line to take the next not moving to the next line, that's the point!

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

79216715

Date: 2024-11-22 22:13:31
Score: 6 🚩
Natty: 6
Report link

I have just downloaded Visual Studio 2022. I was previously using VS 2019. I have started a project to which I want to use a chart. Programs written with VS 2019 have the chart control in their toolboxes. I have started a new project in VS 2022 an there is no chart available. I've followed the advice in the first reply above to no avail.

What I am mystified is the chart is available in the older programs but not in the recent program. What do I have to do to get the chart control available?

Thanks, David.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): I have to do
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: David Snelling

79216710

Date: 2024-11-22 22:11:30
Score: 3.5
Natty:
Report link

Fetching everything from a collection.

Add collection names in list in the field section. Fetch that field data first. Then pass the field data to fetch the collection.

enter image description here

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

79216708

Date: 2024-11-22 22:11:30
Score: 0.5
Natty:
Report link

We were seeing the same thing. Maybe 5% of our videos did not have the maxres thumbnail. However, so far 100% of our videos have the standard resolution thumbnail, which is high enough resolution for our purposes, so we switched to that. That URL is mentioned in the answer from @android-enthusiast :

http://img.youtube.com/vi/<insert-youtube-video-id-here>/sddefault.jpg
Reasons:
  • Blacklisted phrase (1): youtube.com
  • Has code block (-0.5):
  • User mentioned (1): @android-enthusiast
  • High reputation (-1):
Posted by: Eric Barr

79216701

Date: 2024-11-22 22:07:30
Score: 2.5
Natty:
Report link

I found a solution to my problem and wanted to post it here for anyone having a similar issue. Basically, I restructured the component by moving the logic out of the lifecycle hook and testing the new method directly.

Here is the new method:

  const onMountedHandlerAsync = async () => {
    applicationStore.updateShowSpinner(true);
    if (await disclosureStore.getDisclosuresListAsync()) {
      disclosures.value = disclosureStore.disclosures;
      if (
        disclosures.value.length > 0 &&
        disclosures.value.length === selectedDisclosures.value.length
      ) {
        emit('form-status-updated', true, null);
      }
      applicationStore.updateShowSpinner(false);
      goTo(0, { duration: 200, easing: 'linear' });
    }
  };

Here is the restructured lifecycle hook:

  onMounted(async () => {
    await onMountedHandlerAsync();
  });

Here is the unit test:

  it('should get disclosures from the disclosureStore and populates the component disclosures on the onMounted lifecycle', async () => {
    // Arrange
    const appStore = mockedStore(useApplicationStore);
    appStore.updateShowSpinner.mockImplementation(() => {});
    const disclosureStore = mockedStore(useDisclosureStore);
    disclosureStore.updateSelectedDisclosures.mockImplementation((selected: IDisclosure[]) => {
      const store = useDisclosureStore();
      store.$state.selectedDisclosures = selected;
    });
    disclosureStore.getDisclosuresListAsync.mockResolvedValue(true)
    disclosureStore.disclosures = [
      <IDisclosure>{
        id: 1,
        name: 'Disclosure 1',
        displayName: 'Disclosure 1',
        url: 'http://localhost/api/disclosures/disclosure-1',
      },
      <IDisclosure>{
        id: 2,
        name: 'Disclosure 2',
        displayName: 'Disclosure 2',
        url: 'http://localhost/api/disclosures/disclosure-2',
      },
      <IDisclosure>{
        id: 3,
        name: 'Disclosure 3',
        displayName: 'Disclosure 3',
        url: 'http://localhost/api/disclosures/disclosure-3',
      },
    ];
    wrapper.vm.selectedDisclosures = [
      <IDisclosure>{
        id: 1,
        name: 'Disclosure 1',
        displayName: 'Disclosure 1',
        url: 'http://localhost/api/disclosures/disclosure-1',
      },
      <IDisclosure>{
        id: 2,
        name: 'Disclosure 2',
        displayName: 'Disclosure 2',
        url: 'http://localhost/api/disclosures/disclosure-2',
      },
      <IDisclosure>{
        id: 3,
        name: 'Disclosure 3',
        displayName: 'Disclosure 3',
        url: 'http://localhost/api/disclosures/disclosure-3',
      },
    ];

    // Act
    await wrapper.vm.onMountedHandlerAsync();
    await flushPromises();

    const disclosures = wrapper.vm.disclosures;

    // Assert
    expect(disclosureStore.getDisclosuresListAsync).toHaveBeenCalled();
    expect(disclosures.length).equals(3)
  });
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): having a similar issue
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Joe King

79216695

Date: 2024-11-22 22:06:29
Score: 0.5
Natty:
Report link

The last parameter of glDrawElements expects a pointer to an array of indices. Since you supply 0 (a NULL pointer), it will take the indices from the buffer bound to GL_ELEMENT_ARRAY_BUFFER. However, the binding of this buffer is not stored in the Vertex Array Object, so you will need to bind ebo before every render.

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

79216693

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

Referring to https://stackoverflow.com/a/78466486/13059668

If you want to use CmakeLists add the following line after add_executable

target_link_libraries(${PROJECT_NAME} PRIVATE "-lstdc++exp")
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Michael

79216687

Date: 2024-11-22 22:03:29
Score: 2
Natty:
Report link

This simple expression worked for me

=B2.URL

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Angel Alonso SA

79216673

Date: 2024-11-22 21:59:27
Score: 1.5
Natty:
Report link

Wherever you define {{ ownerList }} you should use {{ ownerList | raw }} instead.

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

79216671

Date: 2024-11-22 21:58:27
Score: 2.5
Natty:
Report link

that's happening because "hanging-balls" div has no height at all. So in reality you are not hovering to the balls. you could just give it a fixed height or 100%. I'm pretty sure that's the problem

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

79216667

Date: 2024-11-22 21:56:27
Score: 1
Natty:
Report link

The issue arises because sklearn.set_config(transform_output="pandas") is thread-local and does not persist across different threads, such as those used by Flask for handling requests. To fix this, explicitly set the configuration inside the request context by calling sklearn.set_config(transform_output="pandas") at the start of the predict() route. This ensures the pipeline uses the correct configuration for pandas output during the request handling process.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: سيد جمال Sayed gamal

79216664

Date: 2024-11-22 21:54:26
Score: 1.5
Natty:
Report link

I have solved this problem myself. After reading the client socket.io installation page I noticed that to use with NPM you need to use a bundler such as Webpack or Browserify.

I have started using Webpack now and it works a treat, I was avoiding it for a while because I am new to full stack development and wanted to keep it barebones. There was no mention of having to use a bundler on the typescript socket.io page.

Reasons:
  • Whitelisted phrase (-2): I have solved
  • RegEx Blacklisted phrase (1.5): I am new
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Scarmez

79216663

Date: 2024-11-22 21:53:26
Score: 2.5
Natty:
Report link

figured it by ChatGpt. The modal needs to be outside map function and i needed to make one more useState and with each click on the button that opens modal the setstate sets the current item in the map array as the one that needs to be shown in the modal. otherwise if you click on modal when its inside map function the state sets to true for all open modal buttons in the list

Reasons:
  • Blacklisted phrase (0.5): i need
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Danko Grgić

79216660

Date: 2024-11-22 21:48:25
Score: 1.5
Natty:
Report link

In the Actions section of the alarm, you can set up notifications for both:

• Alarm state (Unhealthy): Notify you when the domain goes down.

• OK state (Healthy): Notify you when the domain becomes reachable again.

https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html

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

79216655

Date: 2024-11-22 21:45:24
Score: 4
Natty: 4
Report link

File is protect don't access how to this solve.

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

79216654

Date: 2024-11-22 21:45:24
Score: 3
Natty:
Report link

It seems to be a bug in 23.2.0 and 23.3.0, it works fine on 23.1.0 for me.

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

79216651

Date: 2024-11-22 21:44:23
Score: 1.5
Natty:
Report link

Apparently, it's not possible to do such a function in Move since it requires the witness (user who executes the transaction). So (I repeat, apparently) the only way is to have the user deploy a Coin bytecode in the frontend.

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

79216646

Date: 2024-11-22 21:42:23
Score: 1
Natty:
Report link

Few options can be tried to reduce the startup time of Glue jobs

Glue Job Configuration:

[As confirmed in comments changing the worker type has improved the startup time]

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

79216639

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

Vijay Raghavan Aravamudhan's answer worked for me. I'm just starting to learn, so I had no idea there were different terminals in Visual Studio Code.

Here are the options which I found when clicking the arrow highlighted (and choosing "bash" solved the problem for me).Options for various terminals.

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

79216630

Date: 2024-11-22 21:36:22
Score: 1.5
Natty:
Report link

I'm brand new to Stable Diffusion. I'm using it to generate some location pictures for an RPG campaign right now (personal use, not for publishing).

Currently using DreamshaperXL Turbo to generate at 1344x768 with DPM++ SDE Karras, 8 sampling steps, following by HiResFix using R-ESRGAN 4x+ upscaling to 2016x1152 with 0.3 denoising and 15 HiRes steps. (Feel free to tell me if any of this is totally wrong and not what I should be using)

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

79216628

Date: 2024-11-22 21:36:22
Score: 0.5
Natty:
Report link

Ok, I was able to use @Miao Tian-MSFT's answer to get the token I needed.

$accessToken = az account get-access-token --resource 499b84ac-1321-427f-aa17-267ca6975798 --query "accessToken" --output tsv

However, I also later discovered the piece I was missing - on the Agent job, be sure to check the "Allow scripts to access the OAuth token" box. That's what provides the $System.AccessToken to the scripts (making the above call unnecessary).

enter image description here

Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • User mentioned (1): @Miao
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: end-user

79216619

Date: 2024-11-22 21:32:21
Score: 0.5
Natty:
Report link

Solved with this code...

var events = [];
for (var i=0; i < calendarCount; i++) {
           
            events.push({
            title: calendarObject[i].title,
            start: new Date(calendarObject[i].startDate * 1000),
            end: new Date(calendarObject[i].endDate * 1000),
            allDay: calendarObject[i].isAllDay,
            color: calendarObject[i].color
            }); 

}

and then 'events: events' in the calendar setup

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

79216615

Date: 2024-11-22 21:31:20
Score: 0.5
Natty:
Report link

In my Program.cs file I added:

builder.Services.Configure<CookieAuthenticationOptions>(CookieAuthenticationDefaults.AuthenticationScheme, options =>
{
    options.AccessDeniedPath = "/access-denied";
});

I added my custom AccessDenied.razor component/page and using

@attribute [Authorize(Roles = "Admin,Standard")]

at the top of pages or the AuthorizeView tag in the pages

<CascadingAuthenticationState>
                <AuthorizeView Policy="RequireValidUser" Context="ImpersonationComponent">
                    <Authorized>
                        <Login />
                    </Authorized>
                </AuthorizeView>
            </CascadingAuthenticationState>

I was able to get role based authorization working.

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

79216614

Date: 2024-11-22 21:31:20
Score: 1.5
Natty:
Report link
  1. Consider using the region header if you are working in a non-USA hub.
  2. Keep in mind that the User-id should be the admin id not the user you are trying to add.
  3. Try to add only one user using this call: https://aps.autodesk.com/en/docs/acc/v1/reference/http/admin-projects-project-Id-users-POST/ and see if that works… I am maybe not the professional one to answer, but I have tried too many things in the last couple of weeks so I hope my tips would help you.
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Pierre Wehbi

79216600

Date: 2024-11-22 21:26:19
Score: 1
Natty:
Report link
SELECT 
    element.rulegroupid,
    element.terminatingrule.ruleid AS ruleid,
    element.terminatingrule.action AS action,
    action,
    httprequest.clientip as IP

FROM 
    waf_logs
CROSS JOIN UNNEST(rulegrouplist) AS t(element)
WHERE action = 'BLOCK'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Rafael Carreiro

79216594

Date: 2024-11-22 21:25:18
Score: 6 🚩
Natty: 5
Report link

Excelente respuesta @MikeMopo funciono perfecto, me ha salvado el día después de horas de investigación, muchas gracias

Reasons:
  • Blacklisted phrase (2): gracias
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @MikeMopo
  • Single line (0.5):
  • Low reputation (1):
Posted by: Pixel347

79216585

Date: 2024-11-22 21:20:17
Score: 1
Natty:
Report link

I was faced with this same exact problem. I'm going to guess you and I were probably doing the same application challenge!

Using requests, I was able to pull down the raw HTML response from calling the page, then using BeautifulSoup I was able to turn it into a workable, parse-able object:

# Make request
html_response = requests.get(url=url)

# Parse html into a BeautifulSoup object
soup = BeautifulSoup(html_response.text, 'html.parser')

# Collect and return the first table (assuming the first table is what you want)
return soup.find('table')

From there, you can parse the table more precisely to pull out the data you want. Here are a couple examples of how you can work with a BeautifulSoup table to get what you need:

I'm refraining from copy-pasting my exact solution because I know others will use this to fill out the same job application challenge, but this gets you everything you need as long as you have a Python foundation.

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sam

79216571

Date: 2024-11-22 21:13:15
Score: 3.5
Natty:
Report link

I was facing the same issue on Windows, the issue was not really about the IDE. It was about the JAVA JDK was not installed properly, check following link:

https://www.youtube.com/watch?v=SQykK40fFds&ab_channel=GeekyScript

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: sherif salah

79216569

Date: 2024-11-22 21:13:15
Score: 2.5
Natty:
Report link

Have you tried to disable antivirus, or add exception (Avast is making same problem to me)

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Digitalis Auroris

79216546

Date: 2024-11-22 21:02:13
Score: 1
Natty:
Report link

If you add the following line to your startup profile, the error goes away permanently.

Add-Type -Path "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.IO.Compression.dll" -ReferencedAssemblies System.IO.Compression

To get the location of your startup profile, type $profile while in PowerShell or PowerShell ISE. For ISE,it will look like Powershell_ise.ps1

For some weird reason, even though you put that at the top of the script where you're going to use system.io.compression, it doesn't see it unless you highlight that line and run selection.

By putting the line in your startup profile, it loads the assembly, and your script will run.

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

79216529

Date: 2024-11-22 20:56:10
Score: 6 🚩
Natty:
Report link

I'm facing the same problem right now. While using Constants, Authentication works fine but there is another the problem that make me switch to localStorage. The problem is when I logged in, other browsers also logged me in too. I've tried changing to localStorage and then there's this problem.

Reasons:
  • Blacklisted phrase (1): m facing the same problem
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tran Ho Quang Trung

79216526

Date: 2024-11-22 20:55:10
Score: 1.5
Natty:
Report link

Or with css (replace product-1111 with your product post id):

#product-1111 .related.products {
    display: none;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: FT418

79216520

Date: 2024-11-22 20:53:09
Score: 0.5
Natty:
Report link

Create an extension function:

fun <T : IMyBasicInterface> Class<T>.createGenericClass(param1: String): GenericClass<T> {
    return GenericClass<T>(param1)
}

And then use it like this:

interfacesSet.forEach { currentInterface ->
    val myObj = currentInterface.createGenericClass(param1)
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: kosert

79216517

Date: 2024-11-22 20:49:08
Score: 1
Natty:
Report link

Six years later, but my teammate just pointed out to me: It's a unicode thing.

When you use Object Explorer (or its script), it's showing you the number of characters.

When you use sp_help, it's showing you the amount of space (number of bytes) needed.

If the column was varchar or char, for those 1 char requires 1 byte, so both of the above methods would show the same number (even though they have different meanings, characters vs bytes).

But when the column is Nvarchar or Nchar, for those 1 unicode char requires 2 bytes.

So, for example, your nvarchar column "MEMBER_LAST_NAME" can accept up to 35 unicode characters (see Object Explorer's info), which require 2x that: up to 70 bytes of space (see sp_help's info).

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

79216516

Date: 2024-11-22 20:49:08
Score: 3
Natty:
Report link

Here's what worked for me after a long search: https://docs.hitachivantara.com/r/en-us/pentaho-data-integration-and-analytics/9.4.x/mk-95pdia002/manage-the-pentaho-system/manage-the-pentaho-server/advanced-topics/customize-the-pentaho-server/change-the-web-application-name-or-port/change-the-web-application-name-on-tomcat

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Patricio Saavedra

79216509

Date: 2024-11-22 20:47:08
Score: 3.5
Natty:
Report link

For me the solution was very simple, a new JS module file I had added was not found as @Klaassiek points out. Republishing the server fixed this problem. In another case there was a typo in the file path.

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

79216501

Date: 2024-11-22 20:44:07
Score: 3.5
Natty:
Report link

yes,.append() has been removed.But we can still use ._append()

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

79216496

Date: 2024-11-22 20:39:06
Score: 1.5
Natty:
Report link

It seems I missed some documentation from MSFT regarding header. Is also seems I was not setting up properly postman while sending certificates.

According to documentation the header where I can see the certificate is 'X-Forwarded-Client-Cert'. I'm also adding here another link regarding the details of this header for future reference.

I do have now an issue with the certificate chain which seems to be different vs the one in the file, but this is outside of the original question.

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

79216488

Date: 2024-11-22 20:36:05
Score: 6.5 🚩
Natty:
Report link

I have the same issue. Meta does not seem to have the microphone enabled for the in-app browser for Instagram or Facebook.

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Miguel López

79216468

Date: 2024-11-22 20:24:01
Score: 0.5
Natty:
Report link

Starting from Django 5.1 there is a dedicated template tag querystring

Basic usage:

{% querystring size="M" %}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: dtatarkin

79216465

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

mysqld --defaults-file=/etc/mysql/my.cnf --initialize lower_case_table_names=1 --user=mysql --console

Remember to remove lower_case_table_names=1 from the command in mysql 8

mysqld --defaults-file=/etc/mysql/my.cnf --initialize --user=mysql --console (Mysql 8)

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

79216461

Date: 2024-11-22 20:21:01
Score: 2
Natty:
Report link

First check that you are running your project in the correct directory. That means in vscode or any IDE that you are using just check the project path in the terminal and if it is wrong path adjust it by using cd or .. , Ig this will help you ;)

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

79216456

Date: 2024-11-22 20:20:00
Score: 4.5
Natty: 4
Report link

لقد قمت بتغيير اسم الحزمة الخاصة بي باستخدام طريقة إعادة الهيكلة، وكان اسم الحزمة com.universe.messengerوقمت بتغييره إلى com.hoooom10 كما كان من المفترض أن يتم ذلك، ولكن التطبيق لا يزال يتعطل. الرجاء مساعدتي في معرفة الخطأ الذي ارتكبته وما الذي يمكنني فعله لتصحيحه؟

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: هلا وغلا

79216455

Date: 2024-11-22 20:19:59
Score: 12 🚩
Natty: 4
Report link

Did you find a way to fix this? I have the same issue, I tried both ways, using the fluent api and the declarative, but none worked.

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (3): Did you find a way to fix this
  • RegEx Blacklisted phrase (1.5): fix this?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find a
  • Low reputation (1):
Posted by: Douglas Eccker

79216448

Date: 2024-11-22 20:12:57
Score: 1
Natty:
Report link

I had the same problem while using windows 10
I could solve it just by installing Microsoft-MPI from its github repo:

https://github.com/microsoft/Microsoft-MPI/releases

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: reza laki

79216429

Date: 2024-11-22 20:01:54
Score: 10.5 🚩
Natty: 5.5
Report link

do you find any answer , because i face same issue ?

Reasons:
  • RegEx Blacklisted phrase (2.5): do you find any
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i face same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Yousof Sayed

79216422

Date: 2024-11-22 19:59:54
Score: 0.5
Natty:
Report link

So, I have a solution, but it's a little hacky. For reasons I don't understand, the publisher from pekko needs a subscriber other than the ones over the ones from RSocket. This works, but with the caveat that the sink will consume everything it can if there are no connected clients (which is actually preferred in my use case)

def serverSink : Sink[Payload, NotUsed] = {
    val sink : Sink[Payload, Publisher[Payload]] = Sink.asPublisher(true)
    sink.mapMaterializedValue { pub =>
      pub.subscribe(new Subscriber[Payload] {
        override def onComplete(): Unit = ()
        override def onError(t: Throwable): Unit = ()
        override def onNext(t: Payload): Unit = ()
        override def onSubscribe(s: Subscription): Unit = s.request(Long.MaxValue)
      })
      RSocketServer.create(
        SocketAcceptor.forRequestStream(payload =>
          Flux.from(pub)
      )).bindNow(TcpServerTransport.create("localhost", 3141))
      NotUsed.notUsed()
    }
  }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: David Masters

79216421

Date: 2024-11-22 19:57:53
Score: 3.5
Natty:
Report link

If I can write something here because I've got the same error:

  1. logged in to databricks using databricks cli

  2. got aad token from resource: keyvault

  3. run the command: databricks secrets create-scope --scope 'my_name' --scope-backend-type 'AZURE_KEYVAULT' --resource-id 'link_to_resource_id_keyvault' --dns-name 'URI_of_key_vault' --user-aad-token $token failed: Unexpected token 'databricks' in expression or statement.

    • CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
    • FullyQualifiedErrorId : UnexpectedToken
  4. tried differently with the same command but converted json to string: databricks secrets create-scope --json $tostr $secretscope= @ { scope = "connect-to-prod-ADLS" initial_manage_principal="users" scope_backend_type="AZURE_KEYVAULT" user_aad_token = 'token_in_plain_txt_shouldnt_be_really' backend_azure_keyvault= @ { resource_id = "resource_id of KeyVault" dns_name = "URI of Keyvault" } } user_aad_token generated with azure cli. Error: Still couldn't create a secret scope. What is the real issue here?

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Mohamed

79216415

Date: 2024-11-22 19:55:53
Score: 3
Natty:
Report link

if you have already created the BACKEND_URL in your .env file you need run npm dev in back and front at the same time

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

79216412

Date: 2024-11-22 19:55:53
Score: 1
Natty:
Report link

The problem was solved by include the generation block with required version. Within the block, the file was given the name version_override.tf, causing terraform to override the main file version.tf.

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

79216411

Date: 2024-11-22 19:54:52
Score: 2.5
Natty:
Report link

I tried this today, im a complete newbie to coding. This was the first challange that was difficult, and was a massive step up from the challanges on previous modules. Up until this it was all pretty straightforward. this was the first one that actually required writing code as opposed to just changing a few things. it overwhelmed me and after about 2 hours i was getting nowhere. will likely return to it and try again another day.

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

79216408

Date: 2024-11-22 19:53:52
Score: 5
Natty: 4.5
Report link

I am interested to extract my WhatsApp backup. Does this still work today?

Does it work without Android ID? The phone I used to use for WhatsApp is broken and cannot start it any more. Once backup downloaded, is there any way to get the conversations (text, csv, or any other format) outside of WhatsApp?

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): is there any
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: yoanpg

79216389

Date: 2024-11-22 19:45:49
Score: 8.5 🚩
Natty: 5.5
Report link

i fucking don't understand this and i dont know what "Used space character for indentation instead of tab as used before in the file." that means oKAY so HELP ME plz am begging you. I been stuck like this of 3 months ok HEEEEELLLLLLPPPPPPPPP.

Reasons:
  • Blacklisted phrase (1): HELP ME
  • Blacklisted phrase (2): fuck
  • RegEx Blacklisted phrase (2): HELP ME plz
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Filler text (0.5): PPPPPPPPP
  • Low reputation (1):
Posted by: CActus_DJ

79216385

Date: 2024-11-22 19:45:49
Score: 1
Natty:
Report link

In Android Studio

  1. Tools > SDK Manager > Language & Frameworks > Flutter
  2. Flutter SDK path: choose the correct path
  3. Apply > OK
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dinith

79216373

Date: 2024-11-22 19:42:48
Score: 0.5
Natty:
Report link

If A() happens to return some value and that return value is handle by suspend fun B() you can simply do this:

suspend fun A() {
        return coroutineScope {
            
            return@coroutineScope B() // here your returning B() 
        }
    }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Giovanny Piñeros

79216367

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

Uninstall VS Code and download it directly from the official website.

It's likely that you installed VS Code using your software manager, which defaults to the Flatpak version. This version runs in a sandboxed environment, resulting in restricted permissions and limited functionality.

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

79216359

Date: 2024-11-22 19:36:46
Score: 1.5
Natty:
Report link

CREATE PROC nametable_DeleteRcord

@fild

AS

BEGIN

DELETE from table_nametable

WHERE namefild = @fild;

END

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

79216357

Date: 2024-11-22 19:36:46
Score: 1
Natty:
Report link

After some more experimentation I found that the issue was caused when updating to Visual Studio 2022 v17.11.6, but the release window was so short between that and v17.12 that I likely never tried to edit a Form/Control in the designer, so assumed it was v17.12 that caused it.

As we don't have a good reason to target a specific version of Windows, we have decided to alter the TargetFramework to be "net8.0-windows" for all our projects and that does seem to resolve the issue we are having with the Forms Designer.

However, I'm sure there are plenty of people out there with good reasons to be targeting a specific version that may also run afoul of this issue, so hopefully Microsoft will address it in an upcoming release.

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

79216353

Date: 2024-11-22 19:35:45
Score: 4
Natty:
Report link

There is no way to accomplish that by now as Liquibase does not call jdbc method setQueryTimeout anywhere in it's code. Maybe you could open an issue at github requesting this enhancement?

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

79216351

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

In Win 11, I copied code down from a website. When I tried to change it, I got the 'Read Only' error. The correction was to go into File Manager for the .py file I was trying to run and turn off the Read Only property.

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

79216341

Date: 2024-11-22 19:30:44
Score: 5.5
Natty:
Report link

A Redis database would work well for this. You can find a similar example here: https://allendowney.github.io/DSIRP/redis.html

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

79216338

Date: 2024-11-22 19:30:44
Score: 2.5
Natty:
Report link

As mentioned in Mathias' comment, because there is a docstring as the first element after the signature, the definition is syntactically complete without the need for a pass statement. To remove the warning, either remove the docstring or the pass statement, as both are not needed.

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

79216333

Date: 2024-11-22 19:25:42
Score: 7.5 🚩
Natty: 6
Report link

but what it's not good to choise standard or custom ? I dont know what to choise please help

Reasons:
  • RegEx Blacklisted phrase (3): please help
  • RegEx Blacklisted phrase (1): I dont know what to choise please
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Elihaou Taieb

79216326

Date: 2024-11-22 19:23:41
Score: 1.5
Natty:
Report link

I'm a little late to this party, but for anyone who still has this issue I was able to work around it by disabling Copilot while editing .razor files. Not the most convenient solution, but works for me - hopefully whatever the real issue is will get fixed at some point.

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

79216324

Date: 2024-11-22 19:21:41
Score: 1
Natty:
Report link
import {Settings,I18nManager} from 'react-native';//Settings only for IOS
export const GetLAng=()=>{
    var locale='?????';
    if (Platform.OS === 'ios') {
        locale = Settings.get('AppleLocale') || Settings.get('AppleLanguages')[0];
    } else {
        locale = I18nManager.getConstants().localeIdentifier;
    }   
    console.log( locale );
    return(
        <View style={[]} >
            <Text style={[]} >{locale}</Text>
        </View>
    )
}
Reasons:
  • Blacklisted phrase (1): ???
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hakan

79216310

Date: 2024-11-22 19:17:40
Score: 0.5
Natty:
Report link

In the end, I couldn't find a native solution. If one does exist, please share it. I'll leave my own solution here, which I achieved using a Blueprint macro.

For column declaration, you currently need to specify the column type, for example, you can create a varchar by using the string() function. It is not possible to reference an existing column without specifying the type.

I created a macro for Blueprint that I named column. I pass the name of the existing column to it. (1) It queries the column's data based on the table and column name, then calls the appropriate function with the correct parameters. (2) After this, it becomes easy to set the current attributes based on the data found in the database. These will be overridable later.

Blueprint::macro('column', function (string $column) {
    /** @var \Illuminate\Database\Schema\Blueprint $this */

    $table = $this->getTable();
    $columns = collect(Schema::getColumns($table));
    $columnData = $columns->firstWhere('name', $column);

    /** Get current definition by column's type */

    $type = $columnData['type'];
    if (preg_match('/^(\w+)(?:\(([^)]+)\))?$/', $type, $matches)) {
        $dataType = $matches[1]; // ex. varchar(255) -> varchar
        $parameters = isset($matches[2]) ? explode(',', $matches[2]) : []; // ex. varchar(255) -> [255]

        return $this->addColumn($dataType, $column, ...array_map('trim', $parameters));
    }
    else {
        throw new \RuntimeException(sprintf(
            'Invalid column type format: "%s". Expected a valid SQL type like "varchar(255)" or "boolean".',
            $type
        ));
    }

    /** Set current attributes */

    if ($columnData['nullable']) {
        $definition->nullable();
    } else {
        $definition->notNullable();
    }

    if (! is_null($columnData['default'])) {
        $definition->default($columnData['default']);
    }

    if (strpos($columnData['type'], 'unsigned') !== false) {
        $definition->unsigned();
    }

    if ($columnData['auto_increment']) {
        $definition->autoIncrement();
    }

    if (! is_null($columnData['comment'])) {
        $definition->comment($columnData['comment']);
    }

    return $definition;
});

It retains its previous type, unsigned, default(1), and comment attributes, and from now on, it will also be nullable.

Schema::table('users', function (Blueprint $table) {
    $table->column('votes')->nullable()->change();
});
Reasons:
  • RegEx Blacklisted phrase (2.5): please share
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: rozsazoltan

79216306

Date: 2024-11-22 19:14:39
Score: 3
Natty:
Report link

I'm aware this question was asked 10 years ago (or thereabouts). But..., we're still facing this problem with Antlr 4.16 (latest version). Sufficiently deeply nested Cobol if-then-else statements with optional trailing end-if can take upto 7 minutes in the parser - from start rule... We've profiled it, and we're seeing all the time spent in the if-then -else walking. We're using the same grammar if_statement: IF condition THEN? statement_list (ELSE statement_list)? END_IF?

Any thoughts or suggestions would be welcome.

Reasons:
  • Blacklisted phrase (1.5): Any thoughts
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Anil Peres-da-Silva

79216304

Date: 2024-11-22 19:14:39
Score: 2.5
Natty:
Report link

For Google chrome, you can "Emulate a focused page", making it so that the page stays focused even when clicking elsewhere.

The option is in the rendering tab.

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

79216293

Date: 2024-11-22 19:10:38
Score: 2
Natty:
Report link

def no_shouting(my_list): my_list2 = [] for word in my_list: if word.isupper() == True: pass else: my_list2.append(word) return my_list2

if name == "main": my_list = ["ABC", "def", "UPPER", "ANOTHERUPPER", "lower", "another lower", "Capitalized"] pruned_list = no_shouting(my_list) print(pruned_list)

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

79216290

Date: 2024-11-22 19:09:37
Score: 1.5
Natty:
Report link

Division by zero returns NULL in SQLite -> multiplying by NULL results in NULL etc.

SQLite does not raise arithmetic exceptions (eg. divide by zero, 1/0). SQLite returns a NULL value for 1/0.

sqllogictest wiki

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

79216282

Date: 2024-11-22 19:06:37
Score: 1.5
Natty:
Report link

hey what you can do here is:

this way the footer menu will always show even when the modal is open

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

79216278

Date: 2024-11-22 19:05:36
Score: 0.5
Natty:
Report link

I have a problem trying to use google maps api in nextjs.

The problem is that I can't access the path where I have my search.tsx file. I get a 404 error in console, and in postman, using the path http://localhost:3000/api/search I also get a 404 error. I share with you my codes and my file organization, I appreciate any help! :)

page.tsx:

        for (const category of selectedCategories) {
      try {
        const response = await fetch("../api/search", {
          method: "POST",
          headers: {
            "Content-Type": "application/json",
          },
          body: JSON.stringify({
            location,
            category,
            filters: {
              minRating,
              minReviews,
              businessHours,
              ...filters,
            },
          }),
        });

        if (!response.ok) {
          throw new Error(
            `API request failed with status ${response.status}`
          );
        }

        const data: SearchResponse = await response.json();

        if (!data.success) {
          throw new Error(data.error || "Failed to fetch leads");
        }

        const leads = data.results;

        // Update count for each
        setExtractedLeadsCount((prev) => prev + leads.length);

        // Add leads to array with additional metadata
        const processedLeads = leads.map((lead) => ({
          ...lead,
          category,
          searchLocation: location,
          extractedAt: new Date().toISOString(),
        }));

        allLeads = [...allLeads, ...processedLeads];
      } catch (error) {
        toast({
          title: "Error",
          description: `Failed to fetch ${category} in ${location}: ${error.message}`,
          variant: "destructive",
        });
        continue;
      }
    }

Search.tsx:

    import { NextApiRequest, NextApiResponse } from 'next';
import fetch from 'node-fetch';

interface GooglePlacesResponse {
    results: any[];
    status: string;
    error_message?: string;
}

const handler = async (req: NextApiRequest, res: NextApiResponse) => {
    if (req.method === 'POST') {
        const { location, category } = req.body as { location: string; category: string };

        try {
            const response = await fetch(
                `https://maps.googleapis.com/maps/api/place/textsearch/json?query=${encodeURIComponent(category)}+in+${encodeURIComponent(location)}&key=APIKEY`
            );
            const data: GooglePlacesResponse = await response.json();

            res.status(200).json(data); // Devuelve los datos obtenidos
        } catch (error) {
            console.error("Error fetching data from Google Places:", error);
            res.status(500).json({ error: "Error fetching data" });
        }
    } else {
        res.setHeader('Allow', ['POST']);
        res.status(405).end(`Method ${req.method} Not Allowed`);
    }
};

export default handler;
Reasons:
  • Blacklisted phrase (1): any help
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Emiliano Velázquez

79216266

Date: 2024-11-22 19:01:36
Score: 14.5
Natty: 7.5
Report link

i have the same problem with my crystal report now in 2024, have you find any solution?

Reasons:
  • Blacklisted phrase (1): i have the same problem
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (2): have you find
  • RegEx Blacklisted phrase (2): any solution?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Matías Bravo Asenjo

79216265

Date: 2024-11-22 19:01:35
Score: 4.5
Natty: 6
Report link

read this document and please add a star in article

https://github.com/gitipasand/install-Oracle-PHP-extension-on-MAC-M1

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

79216258

Date: 2024-11-22 18:59:35
Score: 1
Natty:
Report link

You need to use WITHIN GROUP (ORDER BY date DESC).

SELECT
  sku,
  LISTAGG(DISTINCT date, ';') WITHIN GROUP (ORDER BY date DESC) AS date_list
FROM sku_data
GROUP BY sku
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: keithwalsh

79216238

Date: 2024-11-22 18:54:33
Score: 2.5
Natty:
Report link

Clone the Nginx source and the ngx_http_geoip2_module. Run ./configure --with-debug --add-dynamic-module=ngx_http_geoip2_module, then make modules. The .so file will be in the objs directory

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

79216233

Date: 2024-11-22 18:50:32
Score: 8.5 🚩
Natty:
Report link

can you show me the error you are having?

Reasons:
  • RegEx Blacklisted phrase (2.5): can you show me
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): can you
  • Low reputation (1):
Posted by: Airo

79216228

Date: 2024-11-22 18:49:31
Score: 8.5 🚩
Natty:
Report link

Did you ever managed to solve this issue? I am going through the exact same thing but nothing seems to work.

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever manage
  • RegEx Blacklisted phrase (1.5): solve this issue?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Adnir Andrade

79216220

Date: 2024-11-22 18:46:30
Score: 1.5
Natty:
Report link

This problem happens when trying to build your own library and trying to publish it into maven repository, so that this library can be included in other applications as a dependency/plugin
This exact problem is probably related to this topic on Stack Overflow
How to fix Plugin with id 'com.github.dcendents.android-maven' not found. in android studio

and this error is probably caused by lines in gradle files like these

apply plugin: 'com.github.dcendents.android-maven'

plugins {
  id "com.github.dcendents.android-maven" version "2.1"
}
    
dependencies{
    classpath 'com.github.dcendents:android-maven-plugin:1.2'
}

So the solution might be to comment/delete lines like above and rebuild/resync project with gradle files. At least error notification should be gone

this plugin com.github.dcendents.android-maven is based on this github repository
https://github.com/dcendents/android-maven-gradle-plugin
This is much likely an abandoware as written in this repository's readme
Alternatively you can try using different android build plugin like mentioned in above repository's readme
https://developer.android.com/studio/build/maven-publish-plugin

Reasons:
  • Blacklisted phrase (1): this plugin
  • Blacklisted phrase (1): to comment
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: pangratt12345

79216217

Date: 2024-11-22 18:45:29
Score: 17.5
Natty: 7
Report link
Hi, thank you for your solution.I face the same problem, but your sollution is not working for me.Do you have any other solution that might help me,please?
Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (2): help me,please
  • RegEx Blacklisted phrase (2.5): Do you have any
  • RegEx Blacklisted phrase (3): not working for me
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I face the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Rim ALILLOUCH

79216211

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

could you make me a code so that I can brute force a phone that I connect to the PC I use for the program (sorry for my English I don't speak the language well)

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

79216203

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

git request-pull is a Git command that generates a pull request message that you can send to someone else to request that they pull your changes into their repository. It essentially prepares a formatted message that shows the differences between two branches and describes the changes you'd like them to review and merge. However, git request-pull doesn't actually create a pull request on GitHub or any other hosting service — it simply formats the information for a human recipient.

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

79216196

Date: 2024-11-22 18:36:27
Score: 0.5
Natty:
Report link

I was looking for a solution to this here in 2024. This free plugin is super simple for adding email content per product: https://wordpress.org/plugins/product-specific-email-content-for-woocommerce/

It may not be robust enough for the use case of the OP but it worked for sending product-specific info.

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

79216186

Date: 2024-11-22 18:33:26
Score: 1.5
Natty:
Report link

Please use MarkupString:

<p>@(new MarkupString(Loc["LocalizedText"]))</p>
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: instanceMaster

79216182

Date: 2024-11-22 18:31:25
Score: 7 🚩
Natty: 5.5
Report link

I have the same problem, I'm running in circles...

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kibuya Shanon

79216177

Date: 2024-11-22 18:30:24
Score: 6
Natty: 7
Report link

What of U want the items in different names?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): What of
  • Low reputation (1):
Posted by: user23851502

79216173

Date: 2024-11-22 18:29:24
Score: 1
Natty:
Report link

The command is q, for quit.

I actually have nothing more to say, but SO wants me to say more, so here you go.

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

79216164

Date: 2024-11-22 18:26:22
Score: 7.5 🚩
Natty: 5.5
Report link

Большое спасибо, сделал мой вечер

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: Pashto

79216162

Date: 2024-11-22 18:26:22
Score: 4
Natty:
Report link

I'm recently working in a project aiming to make trivial to handle cases likes this, check it: https://github.com/brenoliradev/svelte-standalone

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