79580374

Date: 2025-04-18 03:04:47
Score: 9 🚩
Natty: 4
Report link

I am facing same issue. I have a script placed on a server. Server already has kubectl and aws cli installed.

WHEN SCRIPT IS EXECUTED WITH AWS SSM
script runs eks update kubeconfig and then kubectl command, which fails with below error:
ERROR-------

E0417 15:54:14.627818 31772 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"http://localhost:8080/api?timeout=32s\": dial tcp 127.0.0.1:8080: connect: connection refused"

The connection to the server localhost:8080 was refused - did you specify the right host or port?

WHEN SCRIPT IS EXECUTED DIRECTLY FROM SERVER, IT PASSES THROUGH.

Note: the user in both case is root that is checked with whom.
Please help me if you found a solution.

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): if you found a solution
  • RegEx Blacklisted phrase (3): Please help me
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: vinit kumar

79580369

Date: 2025-04-18 02:55:45
Score: 2
Natty:
Report link

I don't have enough reputation to add a comment to VAS's comment, so I have to add "an answer" here to remind people reading this page.

The kubectl proxy and the kubectl port-forward don't work the same way.

To be short, kubectl proxy requires the Kube-apiserver access resources like pod/node/svc via clusterIP.

And port forward requires the Kube-apiserver coordinates with kubelet to forward the traffic.

Such difference will cause different user experience in some Serverless K8s Distribution.

Reasons:
  • RegEx Blacklisted phrase (1.5): I don't have enough reputation
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: 陈建谟

79580360

Date: 2025-04-18 02:38:41
Score: 3.5
Natty:
Report link

you can import jwt for that, it helps guard the user and admin differently

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

79580355

Date: 2025-04-18 02:34:40
Score: 3.5
Natty:
Report link
<style>
    #shownumber {
        border-radius: 50%;
        border: 5px solid #F10A0E;
        color: #F10A0E;
        font-size: 30px;
        width: 80px;
        text-align: center;
        position: absolute;
        margin-top: -25px;
    }

    label {
        font-size: 17px !important;
    }

    .hiclass {
        background-color: rgb(51, 144, 255);
        color: white
    }
</style>
<h5 class="text-left battambang text-bold">{{ $campus ?? 'គ្រប់សាខាទាំងអស់' }}</h5>
<h5 class="text-center muol">ចំនួននិស្សិតចុះឈ្មោះប្រចាំថ្ងៃ​</h5>
<h6 class="text-center battambang text-bold">គិតត្រឹមថ្ងៃទី:{{ dateFormat($from_date) }} ដល់ {{ dateFormat($to_date) }}</h6>
<h6 class="text-center battambang text-bold">ថ្ងៃបោះពុម្ភ: {{ date('d-m-Y h:i A') }}</h6>
<h6 class="text-center battambang text-bold" style="text-align: left !important;">System:0025</h6>
<table class="table-report table-report-boder">
    <div id="main_chart" style="height: 500px; width: 100%; margin-top: 30px;"></div>
</table>
<table align="center" width="98%" style="font-size: 14px; line-height: 25px; margin-top: 20px;">
    <tbody>
        <tr style="text-align: center;">
            <td width="25%"></td>
            <td width="20%"></td>
            <td width="70%" nowrap="nowrap"><span id="khmer-lunar-date"></span></td>
        </tr>
        <tr style="text-align: center;">
            <td></td>
            <td></td>
            <td>រាជធានីភ្នំពេញ, @khmer_date(date('Y-m-d'))</td>
        </tr>
        <tr style="text-align: center;">
            <td>បានឃើញនិង ឯកភាព</td>
            <td>បានពិនិត្យ</td>
            <td>អ្នកធ្វើតារាង</td>
        </tr>
    </tbody>
</table>
<script>
    $(document).ready(function () {
        var chartDom = document.getElementById('main_chart');
        var chart = echarts.init(chartDom);
        var labels = @json($dailyLabels).map(function(dateStr) {
            return convertDate(dateStr);
        });
        var option = {
            title: {
                text: 'ចំនួននិស្សិតចុះឈ្មោះប្រចាំថ្ងៃ',
                left: 'center',
                top: 10,
                textStyle: {
                    fontSize: 18,
                    fontFamily: 'Khmer OS Muol'
                },
                subtextStyle: {
                    fontSize: 14,
                    fontFamily: 'Khmer OS Battambang'
                }
            },
            tooltip: {
                trigger: 'axis'
            },
            xAxis: {
                type: 'category',
                data: labels,  
            },
            yAxis: {
                type: 'value',
                name: 'និស្សិត'
            },
            series: [{
                name: 'ចំនួននិស្សិត',
                type: 'bar',
                data: @json($dailyCounts),
                barWidth: '50px',
                itemStyle: {
                    color: '#3398DB',
                    borderRadius: [5, 5, 0, 0]
                }
            }]
        };

        chart.setOption(option);

        
        
    });

    function convertDate(dateStr) {
        const parts = dateStr.split('-');
        let year = parts[2];

        if (year.length === 2) {
            year = '20' + year;
        }

        parts[2] = year;
        return parts.join('-');
    }
    $(document).find('#khmer-lunar-date').html(khmerDate().toLunarDate());

You can help me.
Print chart

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): You can help me
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tep Sarak

79580354

Date: 2025-04-18 02:32:40
Score: 0.5
Natty:
Report link

In Pydantic v1 the method was called .dict(), it was deprecated (but still supported) in Pydantic v2, and renamed to .model_dump().

The examples here use .dict() for compatibility with Pydantic v1, but you should use .model_dump() instead if you can use Pydantic v2.

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

79580352

Date: 2025-04-18 02:28:39
Score: 3.5
Natty:
Report link

finally I find the answer. When using B1 call atoms, you dont need to add the BOM, BO and AdminInfo tags. just started from the "<Document>" will works.

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

79580347

Date: 2025-04-18 02:16:37
Score: 1
Natty:
Report link

The most common cause is the authentication token expiration. Snowflake's tokens expire after a set period. If that is the case, edit your connection in Looker Studio and re-authenticate with your Snowflake credentials. Consider using service accounts for a permanent fix, creating a dedicated service user in Snowflake, granting the appropriate permissions, then using those credentials in Looker Studio.

Another possibility is that Snowflake is blocking Google's IP ranges, so check your network policies in Snowflake and add Google's IP ranges to your allowlist.

If your queries are complex, they might be timing out, so optimize your queries, consider creating materialized views in Snowflake, or increase the timeout parameter.

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

79580342

Date: 2025-04-18 02:09:35
Score: 2.5
Natty:
Report link

Configuration info for Safari 18. The Safari menu includes an additional Settings menu item for the page. When this menu item is selected, a window is rendered that allows you to configure the Auto-Play. When Auto-Play is set to Allow All Auto-Play, the js will play.

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

79580340

Date: 2025-04-18 02:08:35
Score: 2
Natty:
Report link

The relevant part is this:

DCMAKE_C_COMPILER=C:/msys64/mingw64/bin/gcc.exe

And

DCMAKE_CXX_COMPILER=C:/msys64/mingw64/bin/g++.exe

You need to confirm and correct these paths.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Weber K.

79580339

Date: 2025-04-18 02:07:34
Score: 2
Natty:
Report link

If you would like the row(s) affected and other statistics displayed as a table instead of a list, and are struggling with the fact that the statistics object is a dictionary, here is how I converted and displayed it with a little help from https://stackoverflow.com/a/18495802/2260616

Note the list of 18 statistics available at https://learn.microsoft.com/en-us/dotnet/framework/data/adonet/sql/provider-statistics-for-sql-server

after calling Invoke-Sqlcmd with -StatisticsVariable "sqlcmd_statistics_dictionary"

$sqlcmd_statistics_object = ($sqlcmd_statistics_dictionary `
  | %{New-Object PSObject -Property $_})
Format-Table -InputObject $sqlcmd_statistics_object -AutoSize -Property `
  IduCount, IduRows, SelectCount, SelectRows, SumResultSets, `
  Transactions, BuffersSent, BytesSent, BuffersReceived, BytesReceived
Format-Table -InputObject $sqlcmd_statistics_object -AutoSize -Property `
  ConnectionTime, ExecutionTime, NetworkServerTime, ServerRoundtrips, `
  CursorOpens, PreparedExecs, Prepares, UnpreparedExecs

The results will look like:

enter image description here

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tom Keller

79580338

Date: 2025-04-18 02:06:34
Score: 1
Natty:
Report link

the mailchimp's standard API endpoint, such as POST /lists/{list_id}/members, require an email_address field, making it unsuitable for adding SMS-only contacts.

Adding SMS-Only Contacts:

In order to add contacts without email addresses, you can import them via a CSV or TXT file. This will allow you to include only phone number for SMS marketing. (https://mailchimp.com/help/set-up-your-sms-marketing-program/) (https://mailchimp.com/help/about-sms-marketing/)

You can follow these steps to import SMS contacts:

  1. create a CSV or TXT file containing the phone numbers of your SMS subscribers. (https://mailchimp.com/solutions/sms-marketing-tools/)

  2. You need to also make sure that you have consent from those contacts to receive sms messages. (https://mailchimp.com/solutions/sms-marketing-tools/)

  3. then you import your contacts using MailChimp's import tool to upload your file and add the SMS contacts to your audience.

Also, before you import sms contact, you need to set up an SMS Marketing program in Mailchimp. (https://mailchimp.com/help/use-send-sms-actions/)

Workaround Using Placeholder Emails:

using placeholder email addresses to bypass the email requirement is not really recommended because it may violate Mailchimp's terms of service. (https://mailchimp.com/developer/transactional/docs/fundamentals)

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

79580336

Date: 2025-04-18 02:06:34
Score: 0.5
Natty:
Report link

The image_picker package needs two additional packages, image_picker_android and image_picker_platform_interface. Then you can continue using ImagePicker().pickMultiMedia() on both Android and iOS.

setup the main.dart file:

void main() {
 final ImagePickerPlatform implementation = ImagePickerPlatform.instance;
 if (implementation is ImagePickerAndroid) {
  implementation.useAndroidPhotoPicker = true;
 }
 
 ...
}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Spencer

79580335

Date: 2025-04-18 02:05:34
Score: 0.5
Natty:
Report link

@Barry's suggestion of `using` seems a reasonable solution to me, but in the end doesn't really save much given how simple a (non-template) operator<< for S would be.

I like the idea of a base class used just to guide ADL to the right answer. I'll have to see if that is feasible in our real codebase.

The problem with putting the template in global namespace (or in N) is that works.... but only sometimes. Because this is relying on normal, non-ADL lookup, it is subject to shadowing. So if _any_ other operator<< is visible in N::N1 namespace the one in N (or global) namespace is hidden. This is very fragile and working code can be broken by completely unrelated changes, and the failure can be very context dependent (i.e. works for most usages but fails if some unrelated type N::N1::C, which happens to have an operator<< , is visible.)

As to the original question of adding to std:: namespace, it might be argued that this case might be counted under this clause (from cppreference)

It is allowed to add template specializations for any standard library function template to the namespace std only if the declaration depends on at least one program-defined type and the specialization satisfies all requirements for the original template, except where such specializations are prohibited.

as std::operator<<(std::basic_ostream<C, Trait>&, T) is already a template (for at least some types, in at least some implementations) and we are adding a partial specialisation of that.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Barry's
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Greg

79580328

Date: 2025-04-18 02:01:32
Score: 2
Natty:
Report link

When the Controller try to connect to database, some error ocurred. You can enable retry, if it is not enabled yet.

If it is already enabled, then there is a problema with your connection to your db instance. You need to track and diagnose where is the failure (network, authentication, and so on).

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When the
  • Low reputation (0.5):
Posted by: Weber K.

79580318

Date: 2025-04-18 01:48:29
Score: 5
Natty: 5
Report link

yo tengo un problema similar pero aca es con sfml para c++ y los archivos no venian con su controlador de graficos

Reasons:
  • Blacklisted phrase (2): tengo
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kevin Granados

79580317

Date: 2025-04-18 01:47:28
Score: 7 🚩
Natty: 5
Report link

So have u fixed that?

Напиши мне в тг по @codeem, давай замутим это дело в вебе. И ещё добавим pwa, чтобы можно было генерить картинки в вебе одной командой.

Reasons:
  • RegEx Blacklisted phrase (1.5): fixed that?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @codeem
  • No latin characters (1.5):
  • Low reputation (1):
Posted by: imNauryzbay

79580307

Date: 2025-04-18 01:37:25
Score: 1.5
Natty:
Report link
def mac_fmt(bssid):
    return "{:02x}:{:02x}:{:02x}:{:02x}:{:02x}:{:02x}".format(*bssid)

for ssid, bssid, channel, RSSI, authmode, hidden in ap.scan():
    mac = mac_fmt(bssid)
    print(f"BSSID: {mac}")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Helmut Doring

79580305

Date: 2025-04-18 01:35:22
Score: 9.5 🚩
Natty:
Report link

buenas necesito ayuda

como hago dos histogramas cuando tengo una variable con dos niveles que son lugar 1 y lugar 2, pero estos estan en una sola columna . cuando realizo el histograma me toma todos los datos , no los discrimina por lugar. mi variabla respuesta es contenido de vit C

nota:los niveles de lugar estan uno a continuacion de otro ,

mi pregunta es como le digo a R que tome los datos del lugar 1 para el histogrma

y tome los datos del lugar 2 para el otro histograma

gracias por tu respuesta

Reasons:
  • Blacklisted phrase (2): ayuda
  • Blacklisted phrase (2): tengo
  • Blacklisted phrase (2): gracias
  • Blacklisted phrase (2): pregunta
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: deysi

79580304

Date: 2025-04-18 01:35:21
Score: 14
Natty: 8
Report link

I have the same question just like you said. Have you solved it? could you share the idea, really thanks!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): I have the same question
  • Blacklisted phrase (2): Have you solved it
  • RegEx Blacklisted phrase (2.5): could you share
  • RegEx Blacklisted phrase (1.5): solved it?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same question
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ben

79580303

Date: 2025-04-18 01:35:21
Score: 3
Natty:
Report link

If you want to prevent the last slide from being cut off, you should not set any gap or spacing by yourself in the slide-wrapper. use SlidePerView and SpaceBetween.

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

79580293

Date: 2025-04-18 01:16:17
Score: 0.5
Natty:
Report link
public class Config implements WebMvcConfigurer

WebMvcConfigurer is not deprecated.

I produced the usable code following your question:


import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

@Configuration
public class Config implements WebMvcConfigurer {

    @Value("${allowed-origins:*}")
    String allowedOriginsPattern;
        // contains "http://localhost:8080,http://127.0.0.1:8080,http://[::1]:8080"

    @Override
    public void addCorsMappings(CorsRegistry registry) {
       String[] origins = allowedOriginsPattern.split(",");

       registry.addMapping("/**")
           .allowedOriginPatterns(origins)
           .allowedMethods("GET", "OPTIONS", "POST")
           .allowCredentials(true);
    }
}


In the application.yml, I added:

server:
  servlet:
    context-path: /

allowed-origins: "http://localhost:8080,http://127.0.0.1:8080,http://[::1]:8080"

An incorrect context-path could be a reason for a CORS problem.

The example repository was here.

To try, after starting Spring Boot, please visit in your browser:

http://localhost:8080
http://127.0.0.1:8080
http://[::1]:8080

Example output in the browser:

CORS
GET http://127.0.0.1:8080/api
GET request page
POST http://127.0.0.1:8080/api
POST request page
GET http://localhost:8080/api
GET request page
POST http://localhost:8080/api
POST request page
GET http://[::1]:8080/api
GET request page
POST http://[::1]:8080/api
POST request page

In the example, the JavaScript I used:

<script>
                async function getter(uri, elementId){
                    const responseGet = fetch(uri, { "method": "GET" })
                            .then(response => {
                                if (!response.ok) {
                                    return response.text()
                                        .catch(() => {
                                            throw new Error(response.status);
                                        })
                                        .then(({message}) => {
                                            console.log(message);
                                            throw new Error(message || response.status);
                                        });
                                }
                            return response.text();
                            });

                            
                        const responseGetText = await Promise.resolve(responseGet);
                        

                        const elementGet = document.getElementById(elementId);
                        elementGet.innerHTML = elementGet.innerHTML + "<div>" + responseGetText + "</div>"

                }
                
                async function poster(uri, elementId, body){
                    const responsePost = fetch(uri, { "method": "POST", body: body })
                        .then(response => {
                            if (!response.ok) {
                                return response.text()
                                    .catch(() => {
                                        throw new Error(response.status);
                                    })
                                    .then(({message}) => {
                                        console.log(message);
                                        throw new Error(message || response.status);
                                    });
                            }
                        return response.text();
                        });

                        
                    const responsePostText = await Promise.resolve(responsePost);
                    

                    const elementPost = document.getElementById(elementId);
                    elementPost.innerHTML = elementPost.innerHTML + "<div>" + responsePostText + "</div>"
                }

                async function main(){
                    

                   await getter("http://127.0.0.1:8080/api", "getipv4");
                   await poster("http://127.0.0.1:8080/api", "postipv4", JSON.stringify({"user": "user"}));

                   
                   await getter("http://localhost:8080/api", "getlocalhost");
                   await poster("http://localhost:8080/api", "postlocalhost", JSON.stringify({"user": "user"}));

                   
                   await getter("http://[::1]:8080/api", "getipv6");
                   await poster("http://[::1]:8080/api", "postipv6", JSON.stringify({"user": "user"}));


                }
                main();
                </script>
Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hdvlp

79580292

Date: 2025-04-18 01:15:16
Score: 1
Natty:
Report link

For a recent version of jQuery:

$("#slider").slider('option', 'value') 

returned zero for a double slider version. This returned a two element array with the proper values:

$("#slider").slider('option', 'values')

Note that value is plural.

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

79580287

Date: 2025-04-18 01:02:13
Score: 3
Natty:
Report link

The correct answer from @jonrsharpe:

"how TypeScript obtains the original DOM document object from the browser" - it doesn't. Those interfaces are only used to make sure you're doing the right thing at compile time. At run time, you have regular JavaScript accessing the global document object.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @jonrsharpe
  • Low reputation (1):
Posted by: KEHoltz

79580278

Date: 2025-04-18 00:49:10
Score: 1.5
Natty:
Report link

you can try to use Group function

= Table.Group(Source, {"Type"}, {{"ID", each Text.Combine([ID],",")}})

enter image description here

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

79580277

Date: 2025-04-18 00:46:50
Score: 0.5
Natty:
Report link

you can try to create a measure

Measure = if(max('Calendar'[Date])>=today(),1)

add this measure to visual filter and set to 1

enter image description here

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

79580269

Date: 2025-04-18 00:38:47
Score: 4
Natty:
Report link

nicee mantap kali sangat memuaskan

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

79580264

Date: 2025-04-18 00:25:44
Score: 3
Natty:
Report link

If you're reading this in 2025, Cloud Run now has the "Send traffic directly to a VPC" feature.

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

79580263

Date: 2025-04-18 00:24:44
Score: 3.5
Natty:
Report link

Actually, when u 'enable platform', there is no option to save. So, changed settings are not saved, and u are back to square one - meaning u are unable to share, & get msg

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

79580239

Date: 2025-04-17 23:54:38
Score: 5
Natty: 5
Report link

Andrew Kin Fat Choi 's answer helped!

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

79580232

Date: 2025-04-17 23:47:36
Score: 1
Natty:
Report link

the API spec of the Azure DevOps - Approvals And Checks - Check Configurations is here.

A sample payload looks like this. Seems like your approver object is slightly different.

POST https://dev.azure.com/{organization}/{project}/_apis/pipelines/checks/configurations?api-version=7.1-preview.1

{
  "settings": {
    "approvers": [
      {
        "displayName": null,
        "id": "3b3db741-9d03-4e32-a7c0-6c3dfc2013c1"
      }
    ],
    "executionOrder": "anyOrder",
    "minRequiredApprovers": 0,
    "instructions": "Instructions",
    "blockedApprovers": []
  },
  "timeout": 43200,
  "type": {
    "id": "8c6f20a7-a545-4486-9777-f762fafe0d4d",
    "name": "Approval"
  },
  "resource": {
    "type": "queue",
    "id": "1",
    "name": "Default"
  }
}

refer to this link for all field specs.
https://learn.microsoft.com/en-us/rest/api/azure/devops/approvalsandchecks/check-configurations/add?view=azure-devops-rest-7.1&tabs=HTTP

Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
Posted by: qkfang

79580229

Date: 2025-04-17 23:39:35
Score: 0.5
Natty:
Report link

Formula to interpolate values into a template string containing placeholders

The OP asked for string interpolation similar to Python f-string. The goal is that a user only needs to enter a single string to define a template, but within that string there is specially marked "placeholder" to indicate where to substitute a value. The placeholder can be a key enclosed in curly braces, e.g. {TICKER}. Google Sheets didn't have such a formula.

Fast forward to 2025, Sheets still doesn't have it, but does offer array-based formulas and iteration mechanism like REDUCE. Combined with REGEXREPLACE, we can define a Named Formula that simulates simple interpolation.

Formula. The formula below takes three parameters:

Create a Named Function TEMPLATE with these three parameters, so named and in that order, then enter the formula definition:

= REDUCE( template, keys, LAMBDA( acc, key,
  LET(
    placeholder, CONCATENATE( "\{", key, "\}" ),
    value, XLOOKUP( key, keys, values ),
    REGEXREPLACE( acc, placeholder, TO_TEXT(value) ) 
  )
 ) )

Example with one placeholder. Your example uses a custom Apps Script function called ImportJSON, but your question is more about the string interpolation, so I will just focus on how to generate the URL based on the value of A2 (the cell containing string "BTC"). In a cell enter:

= TEMPLATE(
    "https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&ids={TICKER}",
    "TICKER", A2
)

The result should be https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&ids=BTC

Example with multiple placeholders. You can give arrays as the keys and values arguments for multiple placeholders:

= TEMPLATE( 
  "My name is {name} and I am {age} years old.",
  { "name", "age" }, { "Lan", 67 }
)

Confirm the result is: My name is Lan and I am 67 years old.

How it works? The REDUCE formula takes the string template as an initial value, and iterates through the values of keys. In each iteration:

Named Function. If you just want to use this, you can import the Named Function TEMPLATE from my spreadsheet functions. See the documentation at this GitHub repo for more details.

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

79580228

Date: 2025-04-17 23:38:34
Score: 2.5
Natty:
Report link

There is a library that do just that. And also provides configurations for retries and refreshes for resilience.

https://www.npmjs.com/package/lazy-with-retry

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

79580225

Date: 2025-04-17 23:33:33
Score: 0.5
Natty:
Report link

Reviving this topic because the Extension system in Blender 4.2 provides a proper solution to this problem, which involves packaging .whl files (which you can download from PyPI) with your extension, and then mentioning that .whl file in the extensions' manifest file. Documentation here.

It's also possible to pull this off pre-Blender 4.2, by implementing your own code to import .whl files, which is easiest to do by simply stealing this code from Blender Studio

I've just tested both methods and they work great, unlike any other solution I've tried, which either relies on deprecated pip function calls, or they install the modules in the global python environment no matter what you do, which isn't available from inside Blender, or they rely on launching Blender from a venv, which is obviously silly.

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

79580203

Date: 2025-04-17 22:55:24
Score: 1
Natty:
Report link

all the data "in" databricks is stored wherever you say you want it stored. Databricks can connect with and manage via unity catalog multiple sources.

It sounds like you just want to make sure that all your storage is in your same azure tenant which is the basic standard setup youd have a storage blob/server/hyperscale etc etc in azure that is associated with your tenant and that is the storage that databricks would.

Azure Databricks is not a storage account - your storage will be self directed in whatever capacity you choose, obviously, chosing to store on an azure storage account makes sense here, as does having that storage account in the same azure tenant as the databricks environment

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

79580198

Date: 2025-04-17 22:50:23
Score: 3
Natty:
Report link

why dont you use the global call, which is what i usually use http://10.0.2.2:<port>

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): why do
  • Low reputation (1):
Posted by: striker

79580176

Date: 2025-04-17 22:29:18
Score: 3
Natty:
Report link
Replacing

affinity = "euclidean"  

To

metric = 'euclidean' 


Worked. Thank You.
Reasons:
  • Blacklisted phrase (0.5): Thank You
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Max

79580165

Date: 2025-04-17 22:16:15
Score: 0.5
Natty:
Report link

If you're running into issues with async methods while working with Temp Mail APIs, you might want to consider switching to a service that provides a more developer-friendly experience and clean endpoints.

For example, 1SecMail offers a lightweight temp mail API that's super easy to integrate — no authentication required for basic use. It returns clean JSON responses and works well with async workflows (Node.js, Python, etc.).

Might save you some debugging time. Hope this helps!

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

79580164

Date: 2025-04-17 22:16:15
Score: 6.5
Natty: 7.5
Report link

Can you share the entire stack please? Just copy/paste the text from that window, it should suffice.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you share
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can you share the
  • Low reputation (1):
Posted by: Gabriel Rohweder

79580157

Date: 2025-04-17 22:11:13
Score: 3
Natty:
Report link

More details on this - we are using liquibase 4.31.1 and did not see it 4.29.2. Further - we see it in postgres, but not in mssql. seems to be related to https://github.com/liquibase/liquibase/issues/6666

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

79580140

Date: 2025-04-17 21:52:08
Score: 4
Natty:
Report link

Nice to see finally issue resolved.

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

79580137

Date: 2025-04-17 21:49:07
Score: 1.5
Natty:
Report link

You don't have to. Texture is a class itself, so use it.

For example in case of a String class:

String
;; => java.lang.String
(type String)
;; => java.lang.Class
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: tsl

79580121

Date: 2025-04-17 21:37:04
Score: 3
Natty:
Report link

What if I want messages to be ordered as well. I am facing a scenario where I am sending packets from 2 TCP connection in a manner say 1 TCP connection first send a packet than 2 TCP send. I am implementing it using conditional locks
Then on server side I want packets to be received in same order why is my order changing is it because of epool?


void *send_packets(void *arg) {
    int conn_id = *(int *)arg;

    set_thread_affinity(conn_id );
    int sock = socket(AF_INET, SOCK_STREAM, 0);

    int flag = 1;
    setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, &flag, sizeof(flag));
    int sndbuf = 8 * 1024 * 1024;
    setsockopt(sock, SOL_SOCKET, SO_SNDBUF, &sndbuf, sizeof(sndbuf));

    struct sockaddr_in serv_addr = { .sin_family = AF_INET, .sin_port = htons(PORT) };
    inet_pton(AF_INET, SERVER_IP, &serv_addr.sin_addr);

    if (connect(sock, (struct sockaddr*)&serv_addr, sizeof(serv_addr)) < 0) {
        perror("Connection failed");
        free(arg);
        return NULL;
    }

    for (int i = 0; i < PACKETS; i++) {
        pthread_mutex_lock(&lock);
        while (current_conn != conn_id) {
            pthread_cond_wait(&cond, &lock);
        }

        sprintf(msg, "12345678901234567890123456789012345678901TCP:%d | PACKET:%d\n", conn_id, global_packet_id++);
      
        send(sock, msg, 60, 0);
        printf("%s", msg);

        current_conn = (current_conn % TCP_CONN) + 1;  // Move to the next connection
        pthread_cond_broadcast(&cond);
        pthread_mutex_unlock(&lock);
    }

    close(sock);
    free(arg);
    return NULL;
}
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): What if I
  • Low reputation (1):
Posted by: Akanksha Dadhich

79580118

Date: 2025-04-17 21:34:03
Score: 10 🚩
Natty: 6.5
Report link

I have the same issue, the app remains unaware whether the code is entered and subscription is redeemed from App Store or not. The user has to close the app and restart it and again enter the iCloud password which then detects that a subscription is active, then it lets the user use the app. Is it the same case for you? I am developing in Flutter by the way.

If yes and you've found a solution, please help me also.

Thank you very much

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (3): please help me
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: dakshil kanakia

79580117

Date: 2025-04-17 21:34:03
Score: 2.5
Natty:
Report link

Did you try installing vite as a dev dependency?

You can do so like this

npm install --save-dev vite

Then try running your code again. If you are still getting the same error after instally maybe check if your node-modules folder isn't missing. You can fresh install with:

rm -rf node_modules

npm install

Reasons:
  • Whitelisted phrase (-2): Did you try
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): getting the same error
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: mizzy

79580110

Date: 2025-04-17 21:30:02
Score: 1
Natty:
Report link

Sometimes, the default GsonConverterFactory provided by Retrofit is not enough, especially when:

In such cases, we can create a custom JSON converter.

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

79580106

Date: 2025-04-17 21:25:01
Score: 3.5
Natty:
Report link

Tested on Angular/primeNG version 19 only, you can test another. REPO: gitHub

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

79580103

Date: 2025-04-17 21:23:00
Score: 2
Natty:
Report link

I tried this query again the next day and everything worked as expected. Every case I tested the query using "=" performed the same as "LIKE".

I originally noticed this issue due to an error on the application side, so I put in some error handling and reporting so if it happens again I will know right away and I can try to gather more information or test some other solutions. But without a way to reproduce the issue I'll mark this question as answered until I see the issue again.

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

79580094

Date: 2025-04-17 21:16:58
Score: 1
Natty:
Report link

Try setting log_level:

std.testing.log_level = .debug;
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: sigod

79580076

Date: 2025-04-17 21:01:54
Score: 4
Natty:
Report link

NASM.US is currently down ; ()

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

79580060

Date: 2025-04-17 20:49:51
Score: 1
Natty:
Report link

AWS CodeCommit is no longer open to new users.

After careful consideration, we have made the decision to close new customer access to AWS CodeCommit, effective July 25, 2024. AWS CodeCommit existing customers can continue to use the service as normal. AWS continues to invest in security, availability, and performance improvements for AWS CodeCommit, but we do not plan to introduce new features.

The recommendation is to switch to another hosted provider for git—like GitHub, GitLab, or BitBucket—or host git yourself.

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

79580052

Date: 2025-04-17 20:44:50
Score: 0.5
Natty:
Report link
public function testIsCalledWithTwoParameters()
{
    $mock = $this->createMock(Foo::class);

    $mock->expects($this->once())
        ->method('bar')
        ->with($this->callback(function (int ...$args): true {
            $this->assertCount(2, $args);
            $this->assertEquals(1, $args[0]);
            $this->assertEquals(2, $args[1]);
            return true;
        });

    // will fail
    $mock->bar(1, 2, 3);
}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: ERO

79580047

Date: 2025-04-17 20:41:49
Score: 3
Natty:
Report link

If anyone is looking for how to disable this annoying feature in the newer versions of Visual Studio 2022, do the following:

Go to Tools -> Options -> IntelliCode -> General.

In that window, simply remove the check mark from "Show inline completions" and then press OK.
Thats it.

Screen shot to explain what to uncheck from the available list

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

79580040

Date: 2025-04-17 20:35:48
Score: 2
Natty:
Report link

From https://graphviz.org/docs/outputs/ascii/

Since Graphviz 13.0.0, if Graphviz was built with AAlib support, the output format ascii will produce an ASCII art representation of the input graph.

Simply set the output format to ascii:

dot -Tascii input.dot

Note: as of writing (April 2025), version 13.0.0 is unreleased - https://gitlab.com/graphviz/graphviz/-/blob/dcdd75784dbe655b728da4d62a3b1e4aed142521/CHANGELOG.md

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

79580034

Date: 2025-04-17 20:30:47
Score: 1
Natty:
Report link

in my case, the owner of ~/go/pkg/mod has changed to root for some reason, probably from homebrew, use chown -R yourname ~/go/pkg/mod will change them back to your user then all installation in vscode succeed.

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

79580030

Date: 2025-04-17 20:29:47
Score: 1.5
Natty:
Report link

I had the same issue, the fix was simple for me.
It seems like the file was not in UTF-8 so terraform was somehow misinterpreting it.
For me saving it in UTF-8 worked.

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

79580029

Date: 2025-04-17 20:29:47
Score: 0.5
Natty:
Report link

Leaving aside for a moment the requirement for a constant gap between rectangles, this is the same question as this Rectangle packing around a center point

The equal gap requirement can be handled by first adding to each rectangle an extra margin all around equal to the required gap, then passing the extended rectangles to the algorithm and application I provided here https://stackoverflow.com/a/79283164/16582

Here is a screenshot of the results when the required gap is zero.

enter image description here

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • No code block (0.5):
  • High reputation (-2):
Posted by: ravenspoint

79580028

Date: 2025-04-17 20:29:47
Score: 2
Natty:
Report link

Here is what my professor explained to me when I asked the same question. He explained by taking example of 4 fold cross validation.

Split each user’s ratings into 4 folds (e.g., User1’s 4 ratings - 4 test/train splits).

For each fold, hold out 1 rating/user as test data (if a user has <4 ratings, cycle/reuse splits).

Exclude single-rating users from testing (keep their data in training).Train on the remaining ratings (all users’ non-test data).

Repeat for all 4 folds, ensuring users always have training data. That's it ! Hope it makes sense

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): User1
  • Low reputation (1):
Posted by: TechwithVidya

79580019

Date: 2025-04-17 20:19:43
Score: 0.5
Natty:
Report link

You can now use the flutter_bidi_text package — it automatically detects text direction for Text, TextField, and TextFormField based on content.

Example:

import 'package:flutter_bidi_text/bidi_text.dart';

String rtlString = 'فارسی';
String mixedString = 'This is mixed string English and فارسی';

Column(
  children: <Widget>[
    const BidiText('English'), // Always LTR
    const BidiText('فارسی'), // Always RTL
    BidiText(ltrString), // Based on content, RTL
    BidiText(mixedString), // Based on content, LTR
  ],
)

It uses bidirectional algorithms under the hood for seamless mixed-language support.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Mohammed Al-Zubiri

79580003

Date: 2025-04-17 20:13:42
Score: 1.5
Natty:
Report link

I know this is an old thread, but I ran into the same error while using Linux App Service. According to the latest Azure documentation, Linux App deployment is now supported. To fix this error, add the setting (WEBSITE_WEBDEPLOY_USE_SCM = false) in the Azure App Configuration.

Config Setting

For more details, check the documentation: Azure App Settings.

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

79579988

Date: 2025-04-17 19:59:38
Score: 0.5
Natty:
Report link

This is an age old question, I'd try to answer it to the best of my understanding of the RecyclerView architecture.

For starters the two major types of scrolling are Horizontal and Vertical.

Vertical scrolling is done on Y axes and horizontal scrolling is done on X axes. The goal is to achieve scrolling on both axis (Y & X) which when combined is a 2D scroll.

Since 2D scrolling refers to the movement of content within a two-dimensional space, allowing users to view areas beyond the visible screen, the goal is to implement a 2D scroll in a vertically oriented RecyclerView

The repeated illustrations is typical example of a 2D scrollable layout

The most common way to achieve this is through wrapping the RecyclerView in a HorizontalScrollView as explained by the previous answers.

For this example:

In activity_main.xml

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_height="match_parent"
  android:layout_width="match_parent">

  <HorizontalScrollView
    android:layout_height="match_parent"
    android:layout_width="match_parent"
    android:fillViewport="true">

    <androidx.recyclerview.widget.RecyclerView
      android:layout_width="wrap_content"
      android:layout_height="match_parent"

      android:nestedScrollingEnabled="false"
      android:id="@+id/recyclerview" />
  </HorizontalScrollView>
</LinearLayout>

For the Item View Layout (e.g., list_item_log.xml root):

Wrapping a RecyclerView in a HorizontalScrollView works but expect but expect trade-offs.


The second method is by using a RecyclerView.LayoutManager

Base on my understanding and test, creating a LinearLayoutManager (LLM) is the best approach.

I can't answer this here because custom LLMs are complicated.

Check out my GitHub repository CodeOps Studio it's contains a module that implements an experimental LLM, i used to achieve 2D Scroll (if think it's cool leave a ⭐)

Visual Comparison between RecyclerView Wrapped in HorizontalScrollView and using a LLM.

RecyclerView wrapped in a HorizontalScrollView to achieve 2D scroll.

Link: here

RecyclerView with LLM to achieve 2D scroll

Link here:

More context


Why Wrapping RecyclerView in HorizontalScrollView is Problematic because of the following

Measurement & Recycling Issues: RecyclerView needs well-defined bounds (especially width, in this case) to know which items are visible and which can be recycled. When you place it inside a HorizontalScrollView, the RecyclerView might be measured with near-infinite width. This breaks its ability to efficiently determine which item views are off-screen vertically, potentially disabling view recycling altogether and causing massive performance degradation, negating the whole point of using RecyclerView.

Touch Conflicts: Handling nested scrolling where one container scrolls horizontally and the child scrolls vertically can be very tricky to get right. You often end up with scenarios where either the horizontal or vertical scroll "wins" unexpectedly, leading to a poor user experience.


Finally

To anyone reading this I hope you find this helpful.

~ EUP

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

79579981

Date: 2025-04-17 19:52:35
Score: 4.5
Natty: 4
Report link

Add it to your drawable folder

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

79579977

Date: 2025-04-17 19:50:34
Score: 2.5
Natty:
Report link

Go to extensions-Manage Extensions-Update & check if it was showing to update Integration services. If it does update it.
Probably it will resolve the issue else it will show some different error message which will be easy to resolve. Also, once check in event viewer after re-running the package.

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

79579971

Date: 2025-04-17 19:45:33
Score: 3.5
Natty:
Report link

can you share the complete script, I am not able to connect to websocket server.

import socketio
from socketio.async_redis_manager import AsyncRedisManager
from starlette.applications import Starlette
from starlette.routing import Route, Mount
from starlette.responses import JSONResponse
import uvicorn

# 1. Configure Redis-backed manager for pub/sub
mgr = socketio.AsyncRedisManager("redis://localhost:6379/0")

# 2. Create Socket.IO server with Redis client_manager
sio = socketio.AsyncServer(
    async_mode="asgi",
    client_manager=mgr,          # ← crucial for syncing across instances :contentReference[oaicite:1]{index=1}
    cors_allowed_origins="*",
)

# 3. Mount Socket.IO as an ASGI app under /ws
ws_app = socketio.ASGIApp(sio, socketio_path="test")

# 4. Define HTTP route just for sanity check
async def homepage(request):
    return JSONResponse({"message": "Socket.IO + Redis server is up"})

# 5. Wire up Starlette routes
app = Starlette(debug=True, routes=[
    Route("/", homepage),
    Mount("/ws", ws_app),
])

# 6. Socket.IO event handlers
@sio.event
async def connect(sid, environ):
    print(f"Client connected: {sid}")
    await sio.send(sid, "Welcome!")

@sio.event
async def message(sid, data):
    print(f"Received from {sid}: {data}")
    await sio.send(sid, f"Echo: {data}")

@sio.event
async def disconnect(sid):
    print(f"Client disconnected: {sid}")

# 7. Run with Uvicorn
if __name__ == "__main__":
    uvicorn.run(app, host="127.0.0.1", port=8000)

I trying to connect using ws://localhost:8000/test

Reasons:
  • Blacklisted phrase (1): I am not able to
  • RegEx Blacklisted phrase (2.5): can you share
  • Long answer (-1):
  • Has code block (-0.5):
  • Starts with a question (0.5): can you share the
  • Low reputation (1):
Posted by: Ajaykumar Kanojiya

79579970

Date: 2025-04-17 19:45:33
Score: 2.5
Natty:
Report link

Not the most secure solution, but if you need a one-liner including the password...

sshpass -p <password> sftp <user>@<destination> <<< $'put <filepath>'

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

79579963

Date: 2025-04-17 19:41:31
Score: 0.5
Natty:
Report link
Private Sub CommandButton5_Click()
Dim deger As String, m As Integer
If ListBox1.ListIndex = -1 Then   'If there is no item selected on listbox,no move will be made.
MsgBox "Choose an listbox item from left", , ""
Exit Sub
End If

deger = ListBox1.Value
For m = 0 To ListBox2.ListCount - 1
    If deger = CStr(ListBox2.List(m)) Then
        MsgBox "This item already exists in ListBox2", vbCritical, ""
    Exit Sub
    End If
Next
ListBox2.ListIndex = -1
 ListBox2.AddItem ListBox1.Value
ListBox1.RemoveItem (ListBox1.ListIndex)
Call animation_to_right
End Sub 


enter image description here

Source

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

79579960

Date: 2025-04-17 19:37:31
Score: 2
Natty:
Report link

The Truth and Reconciliation Commission (TRC) of Canada was established to uncover the impacts of the residential school system and promote healing between Indigenous and non-Indigenous communities. In 2015, the TRC released 94 Calls to Action aimed at all levels of government, institutions, and individuals to address ongoing injustices and advance reconciliation. While some progress has been made, many of these Calls to Action remain unfulfilled. This essay will explore two specific Calls to Action that have not yet been implemented: Call to Action #45, which involves a Royal Proclamation of Reconciliation, and Call to Action #56, which calls for an annual Prime Minister's report on reconciliation. It will also discuss personal commitments I can make as an active participant in the reconciliation process.

One Call to Action that could be implemented with political will is Call to Action #56, which asks the Prime Minister to issue an annual “State of Aboriginal Peoples” report to Parliament. This report would outline plans to advance reconciliation and track progress over time. It’s a practical way to keep reconciliation on the public agenda and ensure government accountability. Despite its potential impact, this Call has not been fulfilled. The reason I chose this Call is because it is logistically simple compared to others—it does not require new legislation or major funding, but rather a commitment to transparency and responsibility. If the Prime Minister delivered this report each year, it would send a strong message that reconciliation is a national priority. While the political landscape can be unpredictable, this is a concrete step that could realistically be implemented now.

In contrast, Call to Action #45 presents more challenges. It calls for the Government of Canada, in partnership with Indigenous peoples, to develop and issue a Royal Proclamation of Reconciliation. This would formally affirm the nation-to-nation relationship and Canada's constitutional obligations to Indigenous peoples. While symbolic, this proclamation would carry deep meaning and recognition. However, its implementation is complex. It requires high-level political coordination, consultation with diverse Indigenous nations, and collaboration with the Crown. The process could be slowed by differing views on content, representation, and jurisdiction. I chose this Call because, although it's ambitious, it represents a meaningful step toward decolonizing Canada's institutions. The challenge lies not in its purpose, but in the political and logistical effort required to bring all parties together in a respectful, inclusive way.

As an individual, I recognize that reconciliation is not just the work of governments or organizations—it is also my responsibility. One commitment I can make is to continue educating myself and others about Indigenous histories, cultures, and contemporary realities. I can actively support Indigenous-led initiatives in my community, including attending cultural events, supporting Indigenous businesses, and advocating for the inclusion of Indigenous voices in school and local government. Additionally, I commit to challenging stereotypes and speaking out against racism when I encounter it. Reconciliation begins with awareness and continues with action, and I want to be part of that ongoing process.

In conclusion, Canada still has important work to do to fulfill the TRC’s Calls to Action. Call to Action #56 could be implemented with relatively few barriers but has yet to be prioritized by political leadership. Call to Action #45, while deeply significant, faces challenges due to the complexity of involving multiple stakeholders. Despite these obstacles, we all have a role to play. By educating ourselves and taking intentional action, we can help move Canada closer to reconciliation. It is not only about righting past wrongs but about building a more just and respectful future for all.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30302847

79579956

Date: 2025-04-17 19:35:30
Score: 1
Natty:
Report link

Client components are used for client-side interactivity. You can think of "use client" components as use interactivity components. Server components can import client components but they cannot render them. ColumnSearch should be converted to client component since it renders imported components. You have to add "use client" at the top of ColumnSearch component. Additionally you should wrap the ColumnSearch component within another client component e.g. ColumnSearchWrapper. That way when you import ColumnSearchWrapper within Filter, it will only reference the client component instead of rendering.

Here's the ColumnSearchWrapper example (without props):

'use client'
import { ColumnSearch } from './ColumnSearch'

export default function ColumnSearchWrapper() {
  return <ColumnSearch />
}

And then you add "use client" at the top of ColumnSearch. Additionally you cannot pass functions from server components to client components. Server components send data to the browser through serialization (using JSON). Can you send string or number with JSON - yes. Can you send function with JSON - not really. Hope it helped at least a little.

Reasons:
  • Whitelisted phrase (-1): Hope it help
  • RegEx Blacklisted phrase (2.5): Can you send
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jakub Cezary Kolando

79579952

Date: 2025-04-17 19:33:30
Score: 3.5
Natty:
Report link

I've since discovered that these are known as fullerene graphs, and have been extensively structured.

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

79579951

Date: 2025-04-17 19:32:29
Score: 1
Natty:
Report link

Code:

if new_item not in items:
   items.append(new_item)

Example:

>>> items
[1, 2, 3, 4]
>>> new_item = 3
>>> if new_item not in items: \
...     items.append(new_item)
...
>>> items
[1, 2, 3, 4]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Continuous Improvement

79579949

Date: 2025-04-17 19:29:28
Score: 1.5
Natty:
Report link

You can update the TrustFrameworkExtensions file by adding a custom claim transformation and a technical profile to check if the account exists with a previous IDP. Use AzureActiveDirectoryUserReadUsingAlternativeSecurityId or similar logic to query based on the old IDP identifier.

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

79579934

Date: 2025-04-17 19:17:25
Score: 2
Natty:
Report link

Turns out I was providing the buildTarget wrong.

For anyone who comes across this post, please do remember that you can find the right build target in scala doctor provider. You can also infer buildTarget from the name of the .json files created in .bloop folder when metals starts. IT defaults to your artifact name or id afaik in your pom.xml.

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

79579932

Date: 2025-04-17 19:17:25
Score: 2
Natty:
Report link

Figured it out and @Charlieface was correct I was way overthinking this problem.

In my top OPENJSON call if I set this column name

`[ChildArray] nvarchar(max) '$.json_request.parentArray.childArray' as JSON`

Then I can make a simple call like this and my BuildingArea information is displayed correctly.

CROSS APPLY
OPENJSON(base.[ChildArray])
WITH (
BuildingArea int '$.Location.BuildingArea'
) AS details

Thank you @Charlieface for making me rethink my approach

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Has code block (-0.5):
  • User mentioned (1): @Charlieface
  • User mentioned (0): @Charlieface
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: B. Youngman

79579926

Date: 2025-04-17 19:13:24
Score: 1
Natty:
Report link

copy command for whl file is missing. Just add below your copy requirements.txt

[...]
COPY requirements.txt .
COPY solv_logger.whl .
[...]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Arno

79579925

Date: 2025-04-17 19:13:23
Score: 5
Natty: 4
Report link

Settings>Tools>Python Plots

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: vracker

79579922

Date: 2025-04-17 19:12:23
Score: 1
Natty:
Report link

You need to also add x permissions to the script itself.

chmod 0755 1.sh

Also, there shouldn't be a space between ! and /bin/sh in the first line of the script.

#!/bin/sh
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: steve banks

79579910

Date: 2025-04-17 19:05:21
Score: 1.5
Natty:
Report link

The await blocks execution until sleeps finishes. It causes the async operation to execute in synchronous way again.

After the block is done, exception is caught.

Maybe try others statements instead of sleeps.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Weber K.

79579908

Date: 2025-04-17 19:03:20
Score: 4
Natty:
Report link

If the elements are hashable, use a set.

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

79579895

Date: 2025-04-17 18:57:18
Score: 1.5
Natty:
Report link

I tried to find the solution for this and it was not so easy - so I will add my experience here.

I had a very similar issue on VS2022 pro with a solution containing multiple projects, one a blazor wasm project and another one an api project. When clicking on "debug", the applications seemed to run (in the sense no issue was visible in the netcore command windows) but no browser was opened. When stopping the debugger, a popup "unable to connect to web server https" appeared.

Ultimately, a full repair of VS2022, followed by a restart, fixed it.

A surprise to me was that whatever was causing this issue with vs2022, it ALSO caused an issue with Netskope client (a vpn), failing to connect and also failing on reinstall. After the vs2022 repair, this started working again too.

Cheers.

Reasons:
  • Blacklisted phrase (1): Cheers
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Pablo Urquiza

79579888

Date: 2025-04-17 18:49:16
Score: 3
Natty:
Report link

After some digging, I believe the issue is Wayland vs X11 in a virtual machine. When the display process is set to use Xorg, this issue is not visible. It reappears when it is set back to Wayland. It is not solved by installing xwayland either.

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

79579878

Date: 2025-04-17 18:44:15
Score: 2.5
Natty:
Report link

I'm pretty sure the screen scrap violates YouTube's TOS. It seems like the easiest way to harvest one's own comments would be to ride the local history logs out (could do it with some sort of keyboard poker at the crudest level). No doubt there is/will be an agentic path to it as well.

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

79579872

Date: 2025-04-17 18:42:14
Score: 1
Natty:
Report link

Downloaded the google-services.json file again and replaced the existing one with the new one, and it worked.😁😁

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

79579861

Date: 2025-04-17 18:35:12
Score: 2.5
Natty:
Report link

ok so you can create a service which will run with notification with accessiblity service which will keep your app active in background which may be save your app accessibility service to survive if your app structure support it obivously

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

79579853

Date: 2025-04-17 18:29:11
Score: 2
Natty:
Report link

Do I need to create sub-windows for that?

No, there is an example [1] using only one window. Basically, it is similar to already mentioned in comment above ("rendering to offscreen pixmap"):

[1] https://www.khronos.org/opengl/wiki/Programming_OpenGL_in_Linux:_Creating_a_texture_from_a_Pixmap

Reasons:
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: jpka

79579851

Date: 2025-04-17 18:27:10
Score: 1
Natty:
Report link

Run this on ubuntu:
sudo apt-get install redis-server

sudo service redis start

Or if you would like to start it on boot, you can run:
sudo systemctl enable redis-server

This creates the necessary symlinks to start Redis automatically during system boot.

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

79579847

Date: 2025-04-17 18:25:09
Score: 3.5
Natty:
Report link

In properties change build action to none.

https://arcanecode.com/2013/03/28/ssdt-error-sql70001-this-statement-is-not-recognized-in-this-context/

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Weber K.

79579846

Date: 2025-04-17 18:24:09
Score: 2.5
Natty:
Report link

According to the error message, Change the provider SQLNCL 11... to Microsoft OLEDDB Driver for SQL Server. (SQLNCL is deprecated driver). Also, there will be more detailed error logs in the folder check them once. Send it to me.
Re-run the package and see what it will show in Event Viewer. Let me know.

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

79579841

Date: 2025-04-17 18:20:08
Score: 2
Natty:
Report link

Turns out the desired output wasn't generated because the model was trained via the Subclass API, which means the model lacks certain instance variables. Training a toy example using the Sequential API, Functional API, and Subclass API resulted in generation of the conceptual graph for the first two APIs and no conceptual graph for the Subclass API.

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

79579838

Date: 2025-04-17 18:17:07
Score: 1.5
Natty:
Report link
from fpdf import FPDF

# Crear una clase personalizada para el PDF
class TriagePDF(FPDF):
    def header(self):
        self.set_font("Arial", "B", 12)
        self.cell(0, 10, "Notas de Triage Intrahospitalario", border=False, ln=True, align="C")
        self.ln(5)

    def add_case(self, number, motivo, enfermedad):
        self.set_font("Arial", "B", 11)
        self.cell(0, 10, f"📝 Caso {number}", ln=True)
        self.set_font("Arial", "", 10)
        self.multi_cell(0, 8, f"📌 Motivo de Consulta:\n{motivo}\n")
        self.multi_cell(0, 8, f"📋 Enfermedad Actual:\n{enfermedad}\n")
        self.ln(5)

# Casos simulados
casos = [
    {
        "motivo": "Dolor abdominal intenso desde hace 6 horas.",
        "enfermedad": "Paciente masculino de 54 años con dolor abdominal tipo cólico, inicio súbito, localizado en epigastrio irradiado a hipocondrio derecho. EVA 8/10, sin alivio con paracetamol. Náuseas, sin fiebre. Diabético tipo 2."
    },
    {
        "motivo": "Fiebre alta y tos persistente desde hace 3 días.",
        "enfermedad": "Femenina de 32 años, refiere fiebre no cuantificada, tos seca y malestar general. Inicio progresivo, sin disnea. Contacto reciente con familiar con cuadro gripal. Sin tratamiento previo."
    },
    {
        "motivo": "Caída desde su propia altura con dolor en cadera.",
        "enfermedad": "Paciente masculino de 78 años, caída accidental. Dolor en cadera derecha, no puede deambular. Sin pérdida de conciencia. Antecedente de osteoporosis. Sin tratamiento al momento."
    },
    {
        "motivo": "Dolor torácico opresivo desde hace 1 hora.",
        "enfermedad": "Hombre de 45 años, dolor torácico tipo opresivo, irradiado a brazo izquierdo. EVA 7/10, asociado a disnea leve. Hipertenso, en tratamiento irregular. No ha tomado medicación."
    },
    {
        "motivo": "Dificultad para respirar desde hace 2 días.",
        "enfermedad": "Femenina de 60 años con disnea progresiva, especialmente en decúbito. Tos productiva, sin fiebre. EPOC diagnosticado. Sin uso reciente de broncodilatadores."
    },
    {
        "motivo": "Dolor lumbar tras levantar objeto pesado.",
        "enfermedad": "Masculino de 40 años, refiere lumbalgia súbita al levantar carga. Dolor irradiado a glúteo derecho, sin déficit motor ni sensitivo. No antecedentes de trauma previo."
    },
    {
        "motivo": "Convulsión presenciada por familiares.",
        "enfermedad": "Paciente masculino de 19 años, episodio convulsivo tónico-clónico de 2 minutos. Postictal con somnolencia. Sin antecedentes conocidos. Primer episodio según familiares."
    },
    {
        "motivo": "Diarrea líquida abundante desde hace 24 horas.",
        "enfermedad": "Femenina de 27 años, múltiples deposiciones líquidas, sin sangre. Asociado a dolor abdominal leve y náuseas. Refiere comida en la calle previo al inicio. No ha tomado medicación."
    },
    {
        "motivo": "Cefalea intensa que no cede con analgésicos.",
        "enfermedad": "Masculino de 35 años, cefalea holocraneana, EVA 9/10, no aliviada con paracetamol. No fotofobia ni vómitos. No antecedentes de migraña. Inicio hace 12 horas, progresiva."
    },
    {
        "motivo": "Paciente traído por agresión física.",
        "enfermedad": "Masculino de 29 años, agredido con puño en rostro. Equimosis en región malar derecha. No pérdida de conciencia. Dolor moderado, sin signos de fractura evidente."
    }
]

# Crear el PDF
pdf = TriagePDF()
pdf.set_auto_page_break(auto=True, margin=15)
pdf.add_page()

# Agregar los casos
for i, caso in enumerate(casos, 1):
    pdf.add_case(i, caso["motivo"], caso["enfermedad"])

# Guardar el PDF
pdf.output("Notas_Triage_Intrahospitalario.pdf")

Reasons:
  • Blacklisted phrase (2): Crear
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nixon Narvaez

79579828

Date: 2025-04-17 18:04:05
Score: 0.5
Natty:
Report link
!/usr/bin/bash
# Translate Number to Hebrew letter count
# Mike 16-APR-2025

n="$1"

if [ ! "$n" ] ;
then
    read -p "Enter a number 1 to 99 : " n
fi
if [ $n -lt 1 ] || [ $n -ge 100  ] ;
then
    echo "Parameter out of limits"
    exit
fi

tens='יכלמנסעפצ'
units='אבגדהוזחט'

a=`expr $n % 10`
b=`expr $n / 10`

u=`expr $a - 1`
t=`expr $b - 1`

#echo "a = $a  b = $b"
#echo "u = $u  t = $t"

case $n in
    [1-9])  r="'"${units:u:1} ;;
    15) r='ט"ו' ;;
    16) r='ט"ז' ;;
    ?0) r="'"${tens:t:1} ;;
    *)  r=${tens:t:1}'"'${units:u:1}
esac

# Linux consoles output Hebrew right-to-left:
x=`tty | grep "tty[1-6]"`
y=${#r}
if [[ "$x" ]] && [ $y -gt 2 ] ;
then
    r=`echo "$r" | rev`
fi

echo "result : $r"
unset  tens units a b u t r x
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: MikeR

79579827

Date: 2025-04-17 18:04:05
Score: 0.5
Natty:
Report link

OK, found kind of solution: so according to the (mentioned above) clue found a while ago WM may indeed override these values — and there's a need to mess with that window further using xcb_configure_window function. In this particular case the following should be added right before /* Free the Generic Event */ comment line:

uint32_t vals[5];
  vals[0] = (screen->width_in_pixels / 2) - (600 / 2);
  vals[1] = (screen->height_in_pixels / 2) - (400 / 2);
  vals[2] = 600;
  vals[3] = 400;
  vals[4] = 20; 

xcb_configure_window(c, win, XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y |
  XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT |
  XCB_CONFIG_WINDOW_BORDER_WIDTH, vals);
xcb_flush(c);

I noted that the above still somehow did not allow me to change „border width” of the window (anyone knows why?) — while its size and position have been changed accordingly.

Reasons:
  • Blacklisted phrase (0.5): why?
  • Blacklisted phrase (1): anyone knows
  • Whitelisted phrase (-2): solution:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Empty Stack

79579825

Date: 2025-04-17 18:02:04
Score: 4
Natty:
Report link

I tried to look for the NormalizationOptions class but didn't find it.

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

79579818

Date: 2025-04-17 17:55:02
Score: 4.5
Natty: 5
Report link

Same issue, i tried exactly the same procedures and trying to fix this error!

Reasons:
  • RegEx Blacklisted phrase (1): Same issue
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: BeastRWA

79579813

Date: 2025-04-17 17:52:01
Score: 1.5
Natty:
Report link

As @Mr_Pink pointed out, I had to use the %q verb in my test for getting output with line breaks character \n printed out:

Test

func TestGuideBoardRender(t *testing.T) {
    var want string
    rendered := renderGuideBoard()
    want = "1  2  3  4  5\n6  7  8  9  10\n11 12 13 14 15\n16 17 18 19 20\n21 22 23 24 25"
    if rendered != want {
        t.Errorf("Guiding board values aren't right\ngot:\n\n%q\n\nwant:\n\n%q", rendered, want)
    }
}
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Mr_Pink
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: wavesinaroom

79579811

Date: 2025-04-17 17:50:58
Score: 8.5 🚩
Natty:
Report link

from docx import Document

from docx.shared import Pt, RGBColor, Inches

from docx.enum.text import WD_PARAGRAPH_ALIGNMENT

# Crear documento

doc = Document()

# Encabezado con nombre del grupo

header = doc.add_paragraph()

header.alignment = WD_PARAGRAPH_ALIGNMENT.CENTER

run = header.add_run("Pela'os Activos")

run.font.size = Pt(16)

run.font.bold = True

run.font.color.rgb = RGBColor(0, 102, 204)

location_date = doc.add_paragraph("Santiago de Veraguas, Panamá\n[Fecha]")

location_date.alignment = WD_PARAGRAPH_ALIGNMENT.LEFT

# Datos del destinatario

doc.add_paragraph("[Nombre del comercio o responsable]")

doc.add_paragraph("[Nombre del establecimiento]")

doc.add_paragraph("Presente.\n")

# Cuerpo de la carta

body = (

"Estimados señores:\\n\\n" 

"¡Un cordial saludo de parte del grupo juvenil \*Pela’os Activos\*! En alianza con la fundación española " 

"\*\*Donesacull\*\*, nos encontramos organizando una actividad muy especial que busca dejar huellas positivas " 

"en nuestra comunidad.\\n\\n" 

"El próximo 19 de octubre de 2025, estaremos llevando a cabo una jornada solidaria en la comunidad de " 

"La Coloradita, en La Peña, Santiago de Veraguas, donde haremos entrega de regalos, útiles escolares, ropa y más " 

"a niños, niñas y familias en situación vulnerable.\\n\\n" 

"Para hacer esto posible, estamos buscando aliados estratégicos como ustedes. Queremos invitarlos a ser parte de este " 

"proyecto a través de patrocinio o descuentos especiales en sus productos o servicios. Su aporte no solo nos ayudará a lograr " 

"un mayor alcance, sino que también posicionará su marca como un comercio con conciencia social.\\n\\n" 

"A cambio, ofrecemos publicidad directa en nuestras redes sociales, donde destacaremos su negocio como uno de nuestros " 

"patrocinadores oficiales. Haremos publicaciones agradeciendo su apoyo, mencionando su marca y mostrando cómo su contribución " 

"hace la diferencia.\\n\\n" 

"No es solo una donación. Es una oportunidad de conectar con la comunidad, ganar visibilidad y ser parte de una causa que transforma vidas.\\n\\n" 

"Nos encantaría reunirnos o conversar con ustedes para compartir más detalles y escuchar sus ideas de colaboración.\\n\\n" 

"Gracias por considerar ser parte de este sueño con impacto real. ¡Contamos con ustedes!\\n\\n" 

"Con aprecio,\\n\\n" 

"\[Tu nombre y apellido\]\\n" 

"Representante – Pela’os Activos\\n" 

"Tel.: \[tu número\]\\n" 

"Correo: \[tu correo electrónico\]\\n" 

"Instagram/Facebook: @PelaosActivos" 

)

doc.add_paragraph(body)

# Guardar documento

file_path = "/mnt/data/Carta_Comercial_Pelaos_Activos.docx"

doc.save(file_path)

file_path

Reasons:
  • Blacklisted phrase (2): ayuda
  • Blacklisted phrase (1): cómo
  • Blacklisted phrase (2): Gracias
  • Blacklisted phrase (2): Crear
  • RegEx Blacklisted phrase (2): encontramos
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mierda 3mil

79579808

Date: 2025-04-17 17:47:57
Score: 2
Natty:
Report link

After struggling with the exact same issue in PyLucene 10.0.0, I've found the solution via https://github.com/fnp/pylucene/blob/master/test/test_PyLucene.py#L149

You are supposed to use parse(String[] queries, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer). So you are missing flags field.

E.g.:

fields = ["Post", "Title", "Comments", "Subreddit"]
SHOULD = BooleanClause.Occur.SHOULD
query = MultiFieldQueryParser.parse(query, fields, [SHOULD, SHOULD, SHOULD, SHOULD], analyzer)
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: anonymous847294544k9887

79579804

Date: 2025-04-17 17:46:56
Score: 6.5 🚩
Natty: 4
Report link

@ottavio did you find the code or write your own?

I have the same goal and looking for any useful resource.

Reasons:
  • RegEx Blacklisted phrase (3): did you find the
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @ottavio
  • Low reputation (0.5):
Posted by: Aljaz - aly

79579789

Date: 2025-04-17 17:33:53
Score: 0.5
Natty:
Report link

You can use a RedirectView:

urlpatterns = [
    path(
        "servertest/<path:path>",
        RedirectView.as_view(url="server-test/%(path)s"),
    ),
]
Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Thore

79579787

Date: 2025-04-17 17:32:52
Score: 4
Natty:
Report link

You need to set the disk usage limit less than the actual size of storage device but sufficient enough to contain all your data.
enter image description here

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

79579786

Date: 2025-04-17 17:32:52
Score: 3
Natty:
Report link

a few years later but in case of something needs this tip. In your code before return in var rectShape you need the code line

rectShape.r = 10; //for example.

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

79579772

Date: 2025-04-17 17:25:51
Score: 5
Natty:
Report link

Unfortunately I can't comment, but if it's failing it could be that the file formatting is affecting the read, specifically for java? Is it windows, linux, mac? That may affect file encoding. Ensure the file has a newline at the end, and maybe even ensure there aren't any hidden characters that may be throwing off the read of the properties. Last it may be that java isn't executing with the same user so maybe it's searching in a different directory?

Reasons:
  • RegEx Blacklisted phrase (1): can't comment
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Milton Zurita