79264670

Date: 2024-12-09 10:49:54
Score: 1
Natty:
Report link

Just add "playsinline" in video tag and its start playing on IOS mobile. working for me.

For Example in my code

<video class="slide-video slide-media" autoplay playsinline  loop muted preload="auto">
   <source src="resources/images/10.mp4" type="video/mp4" />
</video>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: sandeep kumar

79264658

Date: 2024-12-09 10:45:54
Score: 1.5
Natty:
Report link

Check this: GDB, LLDB, and LLDB-MI Commands (GDB/LLDB)

prefix your command with -exec should be ok.

for example, use -exec b main to add a breakpoint at main.

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

79264653

Date: 2024-12-09 10:43:53
Score: 1
Natty:
Report link

The dependency is unavailable

 implementation 'com.wang.avi:library:2.1.3'

However, this fork is working, a library added to the maven central repo:

implementation 'io.github.maitrungduc1410:AVLoadingIndicatorView:2.1.4'

Refer to the AVLoadingIndicator issue documentation here.

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

79264647

Date: 2024-12-09 10:41:52
Score: 1.5
Natty:
Report link

You can trigger a deploy by hitting this deploy hook which can be created at Projects > Settings > Git > Deploy Hooks

You can use any CI like GitHub actions to hit this hook or open this link in a browser whenever you need a deployment.

Deploying via Vercel automation requires paid seat.

Reasons:
  • Blacklisted phrase (1): this link
  • Whitelisted phrase (-1.5): You can use
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: vigzmv

79264644

Date: 2024-12-09 10:40:52
Score: 2
Natty:
Report link

The answer is now described in the question above.

I have not yet received a response and cannot judge the nature and quality of the error.

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

79264641

Date: 2024-12-09 10:39:51
Score: 2
Natty:
Report link

If your project is expanding and you notice that the application.properties file is becoming cluttered or repetitive, switching to application.yaml could enhance readability and maintainability. However, if you are comfortable using application.properties, there's no problem in continuing with it for smaller or less complex configurations. and in my opinion, application.yaml is better and Overlaps Kubernetes manifest when your application deploys on Kubernetes

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

79264640

Date: 2024-12-09 10:39:51
Score: 1
Natty:
Report link

I saw that it is collection type. I know that you cant sort collections. Maybe you can sort with interceptor during creation.

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

79264636

Date: 2024-12-09 10:38:51
Score: 1.5
Natty:
Report link

event and onlineMeeting both are look like diff

Have craeted a event POST https://graph.microsoft.com/v1.0/users/${userEmail}/calendar/events

some responce data of event { id: 'AAMkADdmZmEwYjA0LTNjZGUtNGM4Ny05NTYwLTIyZTNhNjAyMzIxZQBGAAAAAADBconfyf5jQq2rcVHU4htpBwAwd4uIxFeNAAAwd4uIxFeLQbmwZpFnrdZfAAAXY4M5AAA=', webLink: 'https://outlook.office365.com/owa/?itemid=AAMkADdmZmEwYjA0LTNjZGUtNGM4Ny05NTYwLTIyZTNhNjAyMzIxZQBGAAAAAADBconfyf5jQq2rcVHU4htpBwAwd4uIxFeLQbmwZpFnrdZfAAAAAAENAAAwd4uIM5AAA%3D&exvsurl=1&path=/calendar/item', onlineMeeting: { joinUrl: 'https://teams.microsoft.com/l/meetup-join/19%3ameecwOW?context3a%22e9d21387-43f1-4e06-a253-f9ed9096dc48%22%2c%22Oid%22%3a%227b98a0ea-caad-4f79-a7f3-07d921bf170c%22%7d', conferenceId: '517612208', tollNumber: '+1 945-468-5505' }, iCalUId: '040000008200E00074C5B7101A82E00800000000867E8252DF46DB010000000000000000100000000F68B9EC9034D443A3455A80500F98B6', uid: '040000008200E00074C5B7101A82E00800000000867E8252DF46DB010000000000000000100000000F68B9EC9034D443A3455A80500F98B6', }

Then tried to get meetingId with : GET /${hostEmail or userID}/onlineMeetings

unable to get meeting/meetingID

anybody got solution can you please point me

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Filler text (0.5): 00000000
  • Filler text (0): 0000000000000000
  • Filler text (0): 00000000
  • Filler text (0): 00000000
  • Filler text (0): 0000000000000000
  • Filler text (0): 00000000
  • Low reputation (1):
Posted by: BANDI RANJITH KUMAR

79264619

Date: 2024-12-09 10:33:50
Score: 2
Natty:
Report link

Thanks to procmon (as suggested by @Ahmed AEK) I found out that python 3.9 looked for dependancies in more directories than python 3.10 even though the PATH environment variable are the same for both python versions.

My .pyd files depends on a dll located in the parent directory. This directory is in the the PATH variable environment but python 3.10 ignored it.

I added dllDir = os.add_dll_directory(parent_path) before import_module(unitTestModuleName) and now Python 3.10 finds my dlls.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @Ahmed
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: ractiv

79264612

Date: 2024-12-09 10:30:49
Score: 2
Natty:
Report link

if your package.json() file contains main then remove that and add "start": "parcel", "build": "parcel build" under the scripts section then run 1.npx parcel build index.html 2.npx parcel index.html

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

79264611

Date: 2024-12-09 10:29:49
Score: 2
Natty:
Report link

Polymorfism is supported and since 1.6.3 even discriminator type is configurable.

https://github.com/Kotlin/kotlinx.serialization/blob/v1.6.3/docs/json.md#class-discriminator-output-mode

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

79264594

Date: 2024-12-09 10:20:47
Score: 2.5
Natty:
Report link

For anyone stumbling on this: I had to Disable Hyper-V and Enable VMX. Did this with the checktool substitute as described above (note that Hyper-V is not enabled in this code)

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

79264591

Date: 2024-12-09 10:20:47
Score: 3.5
Natty:
Report link

For a more clear answer, you can replace avcodec_decode_audio4() with pkt->size.

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

79264585

Date: 2024-12-09 10:19:46
Score: 2.5
Natty:
Report link

In my case, restarting Function App solved my issue.

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

79264572

Date: 2024-12-09 10:14:45
Score: 3.5
Natty:
Report link

If still needed, have a look at https://cosmoplotian.readthedocs.io/en/latest/cosmoplotian/projections.html and https://skyproj.readthedocs.io/en/latest/projections.html (I did not test it myself). All seem to be derived from https://lscsoft.docs.ligo.org/ligo.skymap/plot/allsky.html.

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

79264571

Date: 2024-12-09 10:14:45
Score: 2
Natty:
Report link

If you want to extract only selected field values, so you can you use following fields so that you can extract only selected field values to a set of XY points & those are as follows :

  1. AI tool
  2. Autofill tool
  3. ADU Builder an extracting only selected field values software.
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Toadu Builders

79264569

Date: 2024-12-09 10:13:45
Score: 1.5
Natty:
Report link

To set the $GOPATH on macOS, follow these steps:

Steps to Set $GOPATH on macOS Open Terminal Launch the terminal application on your Mac.

Edit the Shell Configuration File Depending on the shell you use (e.g., zsh or bash), you need to edit the corresponding configuration file:

For zsh (default in macOS Catalina and later): bash Copy code nano ~/.zshrc For bash (older macOS versions or manually configured): bash Copy code nano ~/.bash_profile Add $GOPATH to the File Append the following lines to set the $GOPATH environment variable:

bash Copy code export GOPATH=$HOME/go export PATH=$PATH:$GOPATH/bin Replace $HOME/go with your desired directory if you want a custom location.

Save and Exit

Press Ctrl + O to save the file. Press Ctrl + X to exit the editor. Apply the Changes Run the following command to reload the configuration:

bash Copy code source ~/.zshrc # For zsh source ~/.bash_profile # For bash Verify the Configuration Check if $GOPATH is set correctly by running:

bash Copy code echo $GOPATH This should output the directory you set (e.g., /Users/yourname/go).

Notes Ensure that the directory exists by creating it if necessary: bash Copy code mkdir -p $GOPATH For more technical tutorials and hosting solutions, visit mainvps.net.

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

79264568

Date: 2024-12-09 10:13:45
Score: 1.5
Natty:
Report link

It turns out, there is a debugger option to disable implicit evaluation. In Rider. it is: Settings -> Build, Execution, Deployment -> Debugger -> Value inspections/Allow property evaluations and other implicit function calls. Disabling this option solves the issue.

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

79264564

Date: 2024-12-09 10:12:45
Score: 1
Natty:
Report link

I have not found a way to do this with LangChain, but I found a function that allows me to flatten the output and results in what I want, although it seems a bit clunky and I believe there must be a better solution.

The key is to add the following function to the chain:

def flatten_dict(*vars) -> dict:
    '''
    Flatten a dictionary by removing unnecessary mid-level keys.
    Returns a Runnable (chainable) function.
    '''
    flat = {}
    for var in vars:
        keys = [k for k in var]
        for key in keys:
            if isinstance(var[key], dict):
                flat.update(var[key])
            else:
                flat[key] = var[key]
    return flat

chain = (
    {"first_prompt_output": first_chain, "possible_values": RunnablePassthrough(), "first_value": RunnablePassthrough()} 
    | RunnableParallel(result={"second_prompt_output": second_chain, "first_value": itemgetter("first_value")})
)
| flatten_dict
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: JachymDvorak

79264561

Date: 2024-12-09 10:12:45
Score: 1
Natty:
Report link

Open Terminal -> Enter the following command to clear the Xcode cache:

rm -rf ~/Library/Developer/Xcode/DerivedData/*
rm -rf ~/Library/Caches/com.apple.dt.Xcode
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Vikram Kumar

79264559

Date: 2024-12-09 10:11:44
Score: 0.5
Natty:
Report link

Option B is not the best because increasing the SQL endpoint's scaling range addresses resource limits, but doesn't directly resolve the latency issue, which is likely caused by insufficient resource allocation or optimization.

For more explanation, you can use these Databricks Certified Data Engineer Associate practice exams

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

79264558

Date: 2024-12-09 10:11:44
Score: 0.5
Natty:
Report link

Got the fix, exclude mongodb-driver if it is being included from any other dependency (it comes from debezium-connector-mongodb) and add it as such

    <dependency>
        <groupId>org.mongodb</groupId>
        <artifactId>mongodb-driver-sync</artifactId>
        <version>4.11.2</version>
        <exclusions>
            <exclusion>
                <groupId>org.mongodb</groupId>
                <artifactId>mongodb-driver-core</artifactId>
            </exclusion>
        </exclusions>
    </dependency>
    <dependency>
        <groupId>org.mongodb</groupId>
        <artifactId>mongodb-driver-core</artifactId>
        <version>4.11.2</version>
        <scope>compile</scope>
    </dependency>
    <!-- for getting real-time events, when it was giving NoSuchMethodError for changeStream.getSplitEvent() -->
    <dependency>
        <groupId>org.mongodb</groupId>
        <artifactId>bson</artifactId>
        <version>4.11.2</version>
    </dependency>

Adding the bson dependency solved it

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

79264557

Date: 2024-12-09 10:10:44
Score: 1.5
Natty:
Report link

it can get a service reference from a component in other bundle, but it can't get a service reference inherited from its base class which is in other bundle.

here's the solution in this website OSGI @Component annotation does not include references required by the base class while extending an existing OSGI service

before i add some configuration in pom.xml the compiled directory target/classes/OSGI-INF/org.onosproject.incubator.net.tunnel.impl.TunnelManager.xml

<?xml version="1.0" encoding="UTF-8"?>
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.3.0" name="org.onosproject.incubator.net.tunnel.impl.TunnelManager" immediate="true" activate="activate" deactivate="deactivate">
  <implementation class="org.onosproject.incubator.net.tunnel.impl.TunnelManager"/>
  <service>
    <provide interface="org.onosproject.incubator.net.tunnel.TunnelService"/>
    <provide interface="org.onosproject.incubator.net.tunnel.TunnelAdminService"/>
    <provide interface="org.onosproject.incubator.net.tunnel.TunnelProviderRegistry"/>
  </service>
  <reference name="store" cardinality="1..1" interface="org.onosproject.incubator.net.tunnel.TunnelStore" field="store"/>
</scr:component>

after i added "-dsannotations-options: inherit" in the plugin in some pom.xml, then i get the reference annotated by @Reference from its base class in TunnelManager.xml

<plugins>
    <plugin>
        <groupId>biz.aQute.bnd</groupId>
        <artifactId>bnd-maven-plugin</artifactId>
        <version>3.5.0</version>
        <executions>
            <execution>
                <id>run-bnd</id>
                <goals>
                    <goal>bnd-process</goal>
                </goals>
            </execution>
        </executions>
        <configuration>
            <bnd><![CDATA[-dsannotations-options: inherit]]></bnd>
        </configuration>
    </plugin>
</plugins>

    <?xml version="1.0" encoding="UTF-8"?>
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.3.0" name="org.onosproject.incubator.net.tunnel.impl.TunnelManager" immediate="true" activate="activate" deactivate="deactivate">
  <implementation class="org.onosproject.incubator.net.tunnel.impl.TunnelManager"/>
  <service>
    <provide interface="org.onosproject.incubator.net.tunnel.TunnelService"/>
    <provide interface="org.onosproject.incubator.net.tunnel.TunnelAdminService"/>
    <provide interface="org.onosproject.incubator.net.tunnel.TunnelProviderRegistry"/>
  </service>
  <reference name="eventDispatcher" cardinality="1..1" interface="org.onosproject.event.EventDeliveryService" field="eventDispatcher"/>
  <reference name="store" cardinality="1..1" interface="org.onosproject.incubator.net.tunnel.TunnelStore" field="store"/>
</scr:component>

Thank you this website, it has answer unless you use the correct search key words

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Reference
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: emalovecode

79264555

Date: 2024-12-09 10:09:44
Score: 1.5
Natty:
Report link

I know I'm far late. I encounter the same situation. Which when I want to print report from other model, the report is empty

Here is my solution without making additional method on the target class

class HrContract(models.Model):
    _inherit = 'hr.contract'

    def print_nominee_report(self):
        account_payment_id = 1

        model = self.env['account.payment'].browse(account_payment_id)
        return model.env.ref('account.action_report_xxxxx').report_action(model)
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: odoo dimas

79264554

Date: 2024-12-09 10:09:43
Score: 4.5
Natty: 4
Report link

I wrote my own application for sending and receiving Firebase push notifications. https://play.google.com/store/apps/details?id=com.alexbayker.firebasetester

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

79264552

Date: 2024-12-09 10:08:42
Score: 2
Natty:
Report link

I think that is not necessary function You can just use copyfile function and then kill the source path

private sub btnMove() 'Pathing ..... '...... Copyfile sourcePath ,DestinationPath Kill sourePath End sub

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

79264541

Date: 2024-12-09 10:04:40
Score: 9.5 🚩
Natty: 6
Report link

I have the same problem as you. Have you found a solution? I tried changing the model to support batch processing, but requests exceeding max_batch_size still had problems.

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (2.5): Have you found a solution
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Anchor

79264540

Date: 2024-12-09 10:04:40
Score: 1.5
Natty:
Report link

The default resource editor has been greatly improved in Visual Studio 17.11 (2024). https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes-v17.11#resourceexplorer

With, for example, a grid view of all the languages. Visual Studio improved resource editor

Some more information: https://devblogs.microsoft.com/visualstudio/easier-localization-with-the-new-resource-resx-manager/

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

79264538

Date: 2024-12-09 10:04:40
Score: 0.5
Natty:
Report link

In case you are running Windows Home Server editions outside Windows 'servicing timelines', it's worth looking at the below where they suggest it's no longer supported:

https://docs.docker.com/desktop/setup/install/windows-install/

"Docker only supports Docker Desktop on Windows for those versions of Windows that are still within Microsoft’s servicing timeline. Docker Desktop is not supported on server versions of Windows, such as Windows Server 2019 or Windows Server 2022. For more information on how to run containers on Windows Server, see Microsoft's official documentation."

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

79264537

Date: 2024-12-09 10:03:39
Score: 4.5
Natty: 4.5
Report link

https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github

This extension does exactly that :)

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

79264535

Date: 2024-12-09 10:03:39
Score: 3
Natty:
Report link

Instead of AspNetCore.Mvc.MvcJsonOptions, which package we can use in .net 8.0 ? I am getting the error - 'Could not load type 'Microsoft.AspNetCore.Mvc.MvcJsonOptions' from assembly 'Microsoft.AspNetCore.Mvc.Formatters.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.'

Reasons:
  • RegEx Blacklisted phrase (1): I am getting the error
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Sibin

79264532

Date: 2024-12-09 10:02:39
Score: 3
Natty:
Report link

Turn out after setting the base hyperlink, excel stops to convert URL to relative links. So this question can be closed.

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

79264526

Date: 2024-12-09 10:00:39
Score: 0.5
Natty:
Report link

This is still a relevant question. You can follow this official guide to be able to use Document AI API via credentials. Note that this only works for client libraries.

Basically you'll need to create a service account and a service account key as a JSON file, which you can then use to authenticate your requests. Hope this helps!

https://cloud.google.com/document-ai/docs/process-documents-client-libraries

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

79264515

Date: 2024-12-09 09:57:38
Score: 3.5
Natty:
Report link

for this issue you should unnstall the sharp package

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

79264508

Date: 2024-12-09 09:55:37
Score: 2.5
Natty:
Report link

If you provide it as @value, it will be overridden by the models value. If you provide it as Value, it will override the models value.

Therefore, it should work, if you change your code like this:

@Html.TextBoxFor(model => item.Filepath, new { Value = item.Filepath, Type = "file" })

I'm curious though, does anyone know, why it is implemented like that in razor? I find this behavior pretty confusing, since the HTML attribute names are case insensitive by definition...

Reasons:
  • RegEx Blacklisted phrase (2): does anyone know
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Canabale

79264505

Date: 2024-12-09 09:54:37
Score: 0.5
Natty:
Report link

Html Agility Pack is the best solution there. LINK

// From File
var doc = new HtmlDocument();
doc.Load(filePath);

// From String
var doc = new HtmlDocument();
doc.LoadHtml(html);

// From Web
var url = "http://html-agility-pack.net/";
var web = new HtmlWeb();
var doc = web.Load(url);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): is the
Posted by: AVTUNEY

79264498

Date: 2024-12-09 09:51:36
Score: 2
Natty:
Report link

You can use Firebase remote config. And get api key at a run time.

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

79264496

Date: 2024-12-09 09:50:36
Score: 2
Natty:
Report link

ldap.ldif is unsorted, you can use this repo to reorder: https://github.com/jiangtao69039/ldapsort

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: 桃桃桃子

79264494

Date: 2024-12-09 09:50:36
Score: 1
Natty:
Report link

Since I use WebElementFacade, so I can wait until the button is not visible anymore, after the click:

toPageBButton.click();
element(toPageBButton).waitUntilNotVisible();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Ragnarsson

79264493

Date: 2024-12-09 09:50:36
Score: 0.5
Natty:
Report link

i have used 100vh, 100dvh, 100% etc. but due to iOS address bar it wasn't full height. finally window.innerHeight worked for me.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: whatistruth

79264471

Date: 2024-12-09 09:40:34
Score: 3
Natty:
Report link

Turns out it was a setting on their admin portal, to determine if the app is embedded on a store or not, turning this off did the trick.

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

79264468

Date: 2024-12-09 09:39:34
Score: 3
Natty:
Report link

Go to: settings > Network & Internet > Internet Properties > from there it’s a cakewalk to the certificate wizard. That should do it for you.

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

79264467

Date: 2024-12-09 09:39:34
Score: 0.5
Natty:
Report link

comment or remove enableEdgeToEdge for stop full screen in jetpack compose

   override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
     //  enableEdgeToEdge()
        setContent { } 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Adnan Bashir

79264466

Date: 2024-12-09 09:39:33
Score: 9.5 🚩
Natty: 5.5
Report link

Still Facing The Same Issue After Changing The " Quote. Can you please help me how to resolve..

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can you please help me
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): Facing The Same Issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kishore NK

79264460

Date: 2024-12-09 09:38:32
Score: 0.5
Natty:
Report link

This is the signature of the function:

void *memcpy(void * restrict dest, const void * restrict src, size_t n);

Note the restrict keyword. This keyword guarantees that the two memory locations are not overlapping. It enables better optimization. If the regions overlap anyway, it is undefined behavior.

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

79264445

Date: 2024-12-09 09:34:31
Score: 3
Natty:
Report link

AsEventListener doesn't work in a UX Live Component, use LiveListeners instead.

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

79264443

Date: 2024-12-09 09:34:31
Score: 2
Natty:
Report link

In my case it was also an AWS S3 GET (same as with https://stackoverflow.com/users/280292/oden) that I had configured through policies, but I made a mistake in the referrer section. I wrote "StringEquals" : "mydomain.com" and it should have been "StringLike" : "mydomain.com/*". Sharing just in case it's useful to anyone.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jose

79264442

Date: 2024-12-09 09:34:31
Score: 0.5
Natty:
Report link

I was facing a similar problem in my gradle Project, when trying to verifyPact, it was not publishing verified on the broker.

In case you are using an IDE like IntelliJ IDEA, when you execute the verifyPact task you need to set the following in the Environment variable.

pact.verifier.publishResults=true
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: srijan439

79264440

Date: 2024-12-09 09:33:30
Score: 5
Natty:
Report link

I still don't know how to fix this, but I ended up trying a bundler like that thread suggests (Rollup), it took a while to config but I made it work.

Reasons:
  • RegEx Blacklisted phrase (2): don't know how to fix
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: vietan

79264434

Date: 2024-12-09 09:31:29
Score: 6
Natty: 7
Report link

What was the final outcome of this project? Was it successful?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Starts with a question (0.5): What was the
  • Low reputation (1):
Posted by: King

79264430

Date: 2024-12-09 09:28:28
Score: 1.5
Natty:
Report link

A bit late but you can add \u200B within your String which will define where to break your String if needed:

So in your example you could do something like const Text( "Thisisa\u200Blongtextwr", style: TextStyle( fontWeight: FontWeight.bold, fontSize: 14, ), and it will output: "Thisisa" "longtextwr"

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

79264429

Date: 2024-12-09 09:27:27
Score: 1
Natty:
Report link

I've found that putting the content in the header often works for what I'm trying to do:


| a | b | c |
|--|--|--|
a b c
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Simon

79264423

Date: 2024-12-09 09:26:27
Score: 0.5
Natty:
Report link

PS C:\Users\moi\Desktop\REACT NATIVE\projet> npm start

[email protected] start expo start

Starting project at C:\Users\moi\Desktop\REACT NATIVE\projet Starting Metro Bundler TypeError: fetch failed TypeError: fetch failed at node:internal/deps/undici/undici:13178:13 at processTicksAndRejections (node:internal/process/task_queues:95:5) at fetchWithCredentials (C:\Users\moi\Desktop\REACT NATIVE\projet\node_modules@expo\cli\src\api\rest\client.ts:92:24) at cachedFetch (C:\Users\moi\Desktop\REACT NATIVE\projet\node_modules@expo\cli\src\api\rest\cache\wrapFetchWithCache.ts:26:24) at getNativeModuleVersionsAsync (C:\Users\moi\Desktop\REACT NATIVE\projet\node_modules@expo\cli\src\api\getNativeModuleVersions.ts:39:20) at getVersionedNativeModulesAsync (C:\Users\moi\Desktop\REACT NATIVE\projet\node_modules@expo\cli\src\start\doctor\dependencies\bundledNativeModules.ts:33:14) at getCombinedKnownVersionsAsync (C:\Users\moi\Desktop\REACT NATIVE\projet\node_modules@expo\cli\src\start\doctor\dependencies\getVersionedPackages.ts:58:7) at getVersionedDependenciesAsync (C:\Users\moi\Desktop\REACT NATIVE\projet\node_modules@expo\cli\src\start\doctor\dependencies\validateDependenciesVersions.ts:97:33) at validateDependenciesVersionsAsync (C:\Users\moi\Desktop\REACT NATIVE\projet\node_modules@expo\cli\src\start\doctor\dependencies\validateDependenciesVersions.ts:46:25) at startAsync (C:\Users\moi\Desktop\REACT NATIVE\projet\node_modules@expo\cli\src\start\startAsync.ts:112:5)

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

79264421

Date: 2024-12-09 09:23:26
Score: 3.5
Natty:
Report link

Solved: by analizing "vmlinux" with nm, and decompiling with "objdump", I saw that the actually called function is "getname_flags.part.0" due to compiler optimizations.

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

79264402

Date: 2024-12-09 09:16:25
Score: 0.5
Natty:
Report link

Key Changes:

1.Simplified Shipping Method IDs: Combined all express shipping methods into a single array.

2.Correct Method ID Format: Ensure the method IDs match the format returned by get_method_id(), which typically includes the method type and instance ID (e.g., flat_rate:25).

3.Status Update: Changed the status to 'priority' to match your requirement.

add_action( 'woocommerce_thankyou', 'shipping_method_update_order_status', 10, 1 );
function shipping_method_update_order_status( $order_id ) {
    if ( ! $order_id ) return;

    // Define your express shipping methods IDs
    $express_shipping_methods = array('flat_rate:25', 'flat_rate:26', 'flat_rate:27', 'flat_rate:28');

    // Get an instance of the WC_Order object
    $order = wc_get_order( $order_id );

    // Get the WC_Order_Item_Shipping object data
    foreach ( $order->get_shipping_methods() as $shipping_item ) {
        // Check if the shipping method is one of the express options
        if ( in_array( $shipping_item->get_method_id(), $express_shipping_methods ) && ! $order->has_status('priority') ) {
            $order->update_status('priority'); // Update the order status to 'priority'
            break; // Stop the loop
        }
    }
}
Reasons:
  • Blacklisted phrase (1): thankyou
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Seven

79264395

Date: 2024-12-09 09:15:25
Score: 2
Natty:
Report link

Here is some further info on the approach. No additional tools are required - just the text tool. After selecting text tool, instead of clicking on the canvas to start writing, hold and drag the text tool to create a rectangle with a desired shape:

enter image description here

Once the rectangle is created, you will be able to choose to justify the text:

enter image description here

This behaviour feels like a bug at first, but actually makes sense, as you have to have a defined text area in order to justify the text within it...

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

79264393

Date: 2024-12-09 09:14:24
Score: 0.5
Natty:
Report link

Here is corrected decorator

def decorate_verify_user(fun):
  def nothing():
    logging.debug("no username password available") 
    return template("failed_login.html",post_data="No post_data")
  @wraps(fun)
  def do_it():
    if(verify_user()==True):
      logging.debug("#fun() reached...")
      return fun()    #return added XXX
    else:
      return nothing()  #return added YYY
  logging.debug("function name of do_it is {}".format(do_it.__name__))
  return do_it

Only return was added to fun() and nothing() at XXX and YYY As I understand, I needed to return template for display in browser. In earlier code, function was executed but template was returned, hence, no display of template in browser

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: ShaileshKumarMPatel

79264391

Date: 2024-12-09 09:14:24
Score: 0.5
Natty:
Report link

Just to follow-up: indeed there was a inner error handling in pychromecast, configurable in this way

            cast = pychromecast.get_chromecast_from_host(
                host=(self.ip, None, self.id, self.id, self.id),
                tries=1,
                retry_wait=0,
                timeout=5.0
            )
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Rafal Zarajczyk

79264384

Date: 2024-12-09 09:12:24
Score: 2.5
Natty:
Report link

Fatal error: Uncaught mysqli_sql_exception: Unknown column 'text' in 'field list' in C:\xampp\htdocs\web\eqi.php:19 Stack trace: #0 C:\xampp\htdocs\web\eqi.php(19): mysqli->query('INSERT INTO `eq...') #1 {main} thrown in C:\xampp\htdocs\web\eqi.php on line 19

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

79264381

Date: 2024-12-09 09:11:24
Score: 3.5
Natty:
Report link

"brew cleanup" command solved my problem :D

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

79264370

Date: 2024-12-09 09:08:23
Score: 0.5
Natty:
Report link

In many cases, the database literature uses the terms "data" and "information" as synonyms. As C.J. Date (he is one of the most famous experts on the theory of relational databases) wrote in his famous book "An Introduction to Database Systems" (8th edition, p.6):

Incidentally, please note that we treat the terms data and information as synonyms in this book. Some writers prefer to distinguish between the two, using data to refer to what is actually stored in the database and information to refer to the meaning of that data as understood by some user. The distinction is clearly important – so important that it seems preferable to make it explicit, where appropriate, instead of relying on a somewhat arbitrary differentiation between two essentially synonymous terms.

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

79264367

Date: 2024-12-09 09:08:23
Score: 3
Natty:
Report link

this is a problem between next15 and next-intl, please wait a few days for next-intl or next15 to have a new update

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Huy Lưu

79264366

Date: 2024-12-09 09:08:23
Score: 2
Natty:
Report link

See here

The "android_metadata" table is automatically created and its size increases. If the "android_metadata" table exists, it is not created. If not, it is created. As in the link above, android_metadata was created in advance to ensure consistency.

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

79264365

Date: 2024-12-09 09:06:22
Score: 1.5
Natty:
Report link

This is an answer that does not explain how to debug the java. @elliotfrish and @cyberbrain did give enough explanations about that

Here is an explanation about why the openjdk 8 failed whereas the code was running fine on oracle jdk 8. The fact that I managed to launch the jar with openjdk8 on another VM also confirmed the issue was not on the jar itself but on the conf of the VM.

There was actually a font library missing on the VM. The installation of fontconfig.x86_64 and its dependencies solved the issue.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @elliotfrish
  • User mentioned (0): @cyberbrain
  • Self-answer (0.5):
Posted by: iclman

79264364

Date: 2024-12-09 09:06:22
Score: 1
Natty:
Report link

It is a bit difficult to help without having the possibility to reproduce your issue, however here are a bunch of things that may be worth considering:

There was a known problem in a previous version of SAS regarding this (you can read more about it at http://support.sas.com/kb/13/510.html). You may try to remove the REF= options (or use REF=FIRST or LAST) and to see if the issue persists (i.e., you could try to run the code below)

proc surveylogistic data=nhis29;
cluster ppsu;
strata pstrat;
weight wtfa;
class SRVY_YR edu pov sex / param=ref ref = FIRST;
model ft(event='1') = srvy_yr edu pov sex / expb;
run;

If this is still not working, I would suggest to start from the simpler model which is working, and to add variables one at a time, so that you can understand when the error appears and hopefully gather more information about the reason (which, as PBulls suggested, may be related to the combinations of parameters you are considering in the data).

I would also maybe try to temporarily remove the cluster and strata statements to see if the full model runs without those:

proc surveylogistic data=nhis29;
weight wtfa;
class SRVY_YR edu pov sex / param=ref ref = FIRST;
model ft(event='1') = srvy_yr edu pov sex / expb;
run;
Reasons:
  • Blacklisted phrase (2): still not working
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Luigi

79264362

Date: 2024-12-09 09:04:22
Score: 1.5
Natty:
Report link

1.Open Command Palette: Press Ctrl + Shift + P.

2.Access User Settings: Type Preferences: Open User Settings (JSON) and open the settings.json file.

3.Modify Settings: Add or ensure the following lines are included:

"terminal.integrated.defaultLocation": "bottom", "terminal.integrated.shell.windows": "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"

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

79264361

Date: 2024-12-09 09:04:22
Score: 2
Natty:
Report link

As suggested in the comments, I added a timeout to exit gracefully and this eliminated the delay in subsequent executions. Cannot find any reference to how timeouts can affect future executions but apparently they do add several seconds of delay.

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

79264352

Date: 2024-12-09 08:59:20
Score: 2.5
Natty:
Report link

I haven't read the documentation very carefully for building under ARMv7. Thanks to @AlanBirtles I read again documentation and found out that forget specify buildenv for building my dependencies:

[buildenv]
CC=arm-linux-gnueabihf-gcc-9
CXX=arm-linux-gnueabihf-g++-9
LD=arm-linux-gnueabihf-ld
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @AlanBirtles
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Артём Липаткин

79264345

Date: 2024-12-09 08:57:19
Score: 2
Natty:
Report link

Your above code is correct. just need to check, There is no extra space in your password or the stored hash, and check that your database can hold the whole hash. Also, ensure your Laravel setup is correct and up to date.

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

79264342

Date: 2024-12-09 08:56:19
Score: 2.5
Natty:
Report link

After a lot of trial & error, i found that my env variable was set to jdk 11 which doesn't support javax/xml/bind , i switched it to jdk8 ( organization std ) and it worked.

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

79264339

Date: 2024-12-09 08:55:19
Score: 3
Natty:
Report link

Try this, I think it's very easy. (Bee.SQL)

Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Gholibjon Madiyarov

79264337

Date: 2024-12-09 08:55:19
Score: 0.5
Natty:
Report link

Use the List widget, that is designed for performance. It looks like you have so much data that if you try to render it all at once in a Scroll the system can’t cope - but a List widget renders only what is on screen.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: andy.xyz

79264335

Date: 2024-12-09 08:55:19
Score: 3.5
Natty:
Report link

Had same issue, downgraded to v22.12.0 LTS and now working

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

79264315

Date: 2024-12-09 08:47:17
Score: 2
Natty:
Report link

I've been working on making our .NET Core app use app-local ICU to avoid future inconsistencies, following Microsoft's documentation. Here’s the relevant part of our .csproj file:

enter code here

<PackageReference Include="Microsoft.ICU.ICU4C.Runtime" Version="72.1.0.3" />
<InvariantGlobalization>true</InvariantGlobalization>
<ItemGroup>
<IcuAssemblies Include="icu\*.so*" />
<RuntimeTargetsCopyLocalItems Include="@(IcuAssemblies)" AssetType="native" 
 CopyLocal="true"
 DestinationSubDirectory="runtimes/linux-x64/native/"
 DestinationSubPath="%(FileName)%(Extension)"
 RuntimeIdentifier="linux-x64" NuGetPackageId="Microsoft.ICU.ICU4C.Runtime" />
</ItemGroup>
<ItemGroup>
<RuntimeHostConfigurationOption Include="System.Globalization.UseNls" 
 Value="false" />
<RuntimeHostConfigurationOption Include="System.Globalization.AppLocalIcu" 
 Value="72.1" />
</ItemGroup>

This setup works fine on Windows 10/11 and our build server running RHEL 9. However, when we deploy the app to Amazon Linux 2 (AL2), it crashes on startup. The journalctl log from systemd shows the following:

enter code here

 test-server.internal myApp[2736]: at MyApp.Program.Main(String[] args) in 
 MyApp\Program.cs:line 15
 test-server.internal systemd[1]: myApi.service: main process exited, 
 code=killed, status=6/ABRT
 test-server.internal systemd[1]: Unit myApi.service entered failed state.
 test-server.internal systemd[1]: myApi.service failed.

I also noticed other warnings/errors related to the systemd service file, but removing the ICU-related settings (RuntimeHostConfigurationOption) allows the app to run just fine. Here’s what I’ve already checked:

  1. The publish/runtimes/linux-x64/native directory contains the correct ICU files (libicuuc.so.72, libicudata.so.72, etc.).
  2. Running ldd on the .so files resolves all dependencies on AL2.
  3. Running the app manually (outside of systemd) still fails when using app-local ICU, so it doesn't seem like a systemd issue.
  4. I’ve confirmed the app works fine with the default ICU globalization settings on AL2. My systemd service file looks like this:

enter code here

[Unit]
Description=MyApp .NET Core WebApp
After=network.target
Wants=network.target

[Service]
WorkingDirectory=/path/to/app
ExecStart=/usr/bin/dotnet /path/to/app/MyApp.dll
Restart=always
RestartSec=10
Environment=ASPNETCORE_ENVIRONMENT=Training
Environment=ASPNETCORE_URLS=http://*:5000

[Install]
WantedBy=multi-user.target

Also I need to know What could cause the app to crash on Amazon Linux 2 with app-local ICU? and are there any extra steps or dependencies required for AL2 that aren’t mentioned in the Microsoft docs?

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: mohammad javad amin

79264285

Date: 2024-12-09 08:36:14
Score: 12 🚩
Natty: 5.5
Report link

@bigless Were you able to resolve this ?

Reasons:
  • RegEx Blacklisted phrase (1.5): resolve this ?
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @bigless
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: gaurav v

79264281

Date: 2024-12-09 08:34:13
Score: 0.5
Natty:
Report link

Using this URL instead worked for me : "*https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.css*"

Just add it to your index.css :

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.css');

OR

to your index.html (inside tag) :

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
Reasons:
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Rohit Roy

79264279

Date: 2024-12-09 08:31:13
Score: 1
Natty:
Report link

I don't think this can be fixed. This is the native useEffect behavior with Strict Mode, described in the documentation.

https://react.dev/reference/react/StrictMode

Your components will re-run Effects an extra time to find bugs caused by missing Effect cleanup.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: beloyar

79264271

Date: 2024-12-09 08:29:12
Score: 2
Natty:
Report link

Using table structure and cell spacing and cell padding and align you can achieve it if using old tech. Make sure you set border size none so that borders disappear.

If you are using div based then using bootstrap this job can be achieved.

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

79264268

Date: 2024-12-09 08:28:12
Score: 3
Natty:
Report link

The commands are correct and working, the problem is the path from which you have to execute them. Go to the directory where the dlls are and from there execute the .exe with the corresponding path. That way the .exe finds the dlls and folders it need based on the environment you are in.

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

79264265

Date: 2024-12-09 08:27:11
Score: 2
Natty:
Report link

edit please your question and add more information about your problem. For example, what is the error message, when is your error message appear (during running the app, or when you type this code)...

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Farkas János

79264263

Date: 2024-12-09 08:26:10
Score: 5.5
Natty: 7
Report link

I find the answer on how to test gRPC in this article: https://api-academy.hashnode.dev/how-to-test-grpc-apis

Reasons:
  • Blacklisted phrase (1): this article
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Winky

79264261

Date: 2024-12-09 08:25:10
Score: 3
Natty:
Report link

You can edit Variable value and put both of them together something like this :

enter image description here

Please ensure you restart your system once making these changes to see changes reflect.

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

79264251

Date: 2024-12-09 08:21:09
Score: 2.5
Natty:
Report link

On Gitlab.com (somewhere around version 17.6) these are removable globally via User settingsPreferencesBehaviorShow shortcut buttons above files on project overview

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

79264239

Date: 2024-12-09 08:17:08
Score: 1
Natty:
Report link

Invalid IPv6 Format Provided

I found the issue: the IPv6 address I was using for the query was incorrect. After fixing it, the following code worked as expected:

int main() {
    DHCP_CLIENT_INFO_V6 clientInfo = { 0 };
    DHCP_IPV6_ADDRESS clientAddress = { 0 };

    // Correct IPv6 address: 2022::74c0:f5e6:feca:3fb3
    clientAddress.HighOrderBits = 0x2022000000000000;
    clientAddress.LowOrderBits = 0x74c0f5e6feca3fb3;
    clientInfo.ClientIpAddress = clientAddress;

    DHCP_SEARCH_INFO_V6 query{};
    query.SearchType = Dhcpv6ClientIpAddress;
    query.SearchInfo.ClientIpAddress = clientAddress;

    LPDHCP_CLIENT_INFO_V6 result{ 0 };
    DWORD ret = DhcpGetClientInfoV6(L"WIN-QI9RF26NQVN", &query, &result);

    if (ret == ERROR_SUCCESS) {
        //
        // Process the result...
        //
    } else {
        std::cout << std::to_string(ret) << std::endl;
    }
}

To make the implementation more robust, I wrote a helper function to convert IN6_ADDR to DHCP_IPV6_ADDRESS:

// Converts IN6_ADDR to DHCP_IPV6_ADDRESS
static void convertToDHCPIPv6(const IN6_ADDR* in6Addr, DHCP_IPV6_ADDRESS* dhcpAddr) {
    if (!in6Addr || !dhcpAddr) return;

    dhcpAddr->HighOrderBits = 0;
    dhcpAddr->LowOrderBits = 0;
    for (size_t i = 0; i < 4; i++) {
        dhcpAddr->HighOrderBits = (dhcpAddr->HighOrderBits << 16) | ntohs(in6Addr->u.Word[i]);
    }
    for (size_t i = 4; i < 8; i++) {
        dhcpAddr->LowOrderBits = (dhcpAddr->LowOrderBits << 16) | ntohs(in6Addr->u.Word[i]);
    }
}

Here’s the complete, improved implementation:

static std::string LookupIPv6(const std::string& ip) {
    IN6_ADDR addr{};
    if (inet_pton(AF_INET6, ip.c_str(), &addr) != 1) {
        throw std::invalid_argument("Invalid IPv6 address");
    }

    DHCP_IPV6_ADDRESS clientIp;
    convertToDHCPIPv6(&addr, &clientIp);

    DHCP_SEARCH_INFO_V6 query{};
    query.SearchType = Dhcpv6ClientIpAddress;
    query.SearchInfo.ClientIpAddress = clientIp;

    LPDHCP_CLIENT_INFO_V6 result{ 0 };
    DWORD ret = DhcpGetClientInfoV6(DHCPSERVER, &query, &result);

    if (ret != ERROR_SUCCESS || !result) {
        std::string msg;
        switch (ret) {
        case ERROR_DHCP_JET_ERROR:
        case ERROR_DHCP_INVALID_DHCP_CLIENT:
            msg = "DHCP client not found.";
            break;
        default:
            msg = "Failed to get DHCP client info, error code : " + std::to_string(ret);
            break;
        }
        FreeClientInfoMemoryV6(result);
        throw std::runtime_error(msg);
    }

    char mac[128]{};
    BYTE* macData = result->ClientDUID.Data;
    size_t macLength = result->ClientDUID.DataLength;

    size_t len = macLength < sizeof(mac) / 3 ? macLength : sizeof(mac) / 3;

    char* macPtr = mac;
    for (size_t i = 0; i < len; i++) {
        int printed = (i == len - 1) ?
            snprintf(macPtr, sizeof(mac) - (macPtr - mac), "%02x", macData[i]) :
            snprintf(macPtr, sizeof(mac) - (macPtr - mac), "%02x:", macData[i]);
        macPtr += printed;
    }
    FreeClientInfoMemoryV6(result);

    return std::string(mac);
}

Issue: Status Code Returns 2

Although this code now works correctly, I am still unsure why the status code returns 2. If anyone can provide insights into this specific error code, it would be much appreciated.

Reasons:
  • Blacklisted phrase (1): appreciated
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: haiyang tao

79264232

Date: 2024-12-09 08:14:07
Score: 0.5
Natty:
Report link

Reference for Understanding the thread dump : https://docs.oracle.com/cd/E13150_01/jrockit_jvm/jrockit/geninfo/diagnos/using_threaddumps.html

This thread is one of many worker threads in Java's common thread pool. Right now, it's paused, waiting for something from the pool while trying to establish a secure connection. It's been waiting for over 4 hours, which suggests it might be stuck or delayed due to network problems or issues with the thread pool itself.

Please refer your implementation for the configuration changes like network timeouts and check if the remote server is currently up and running healthy.

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

79264226

Date: 2024-12-09 08:10:07
Score: 2
Natty:
Report link

In my case, I was using CLI and "react-native": "0.66.5", version.

I changed my react-native-screens version to "3.4.0".

It helped me to resolve the issue.

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

79264222

Date: 2024-12-09 08:08:06
Score: 1
Natty:
Report link

you can try delete ALL the global yarn configuration files. open terminal: rm -f ~/.yarn*. then Run yarn set version stable or your specific version and run yarn install again

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

79264218

Date: 2024-12-09 08:06:06
Score: 1
Natty:
Report link

There is a gcc for 8088: https://github.com/tkchia/gcc-ia16

It is used to build a whole 16 bit Linux called ELKS: https://github.com/ghaerr/elks Parts of ELKS such as its libc can be built with Open Watcom as well.

There is also a recent version of dev86: https://codeberg.org/jbruchon/dev86

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

79264216

Date: 2024-12-09 08:06:06
Score: 2
Natty:
Report link

You can share report as Embed report:

Open your workspace > open your report > "File" > "Embed Report" > "Publish to web(public)" > you will get option for link sharable to 'email'

[if "Publish to web(public)" steps throws some error then : go to setting icon on your report > admin portal > tenant settings > export and sharing settings > publish to web > then turn on this setting with toggle button - (if toggle button already on then click 'Allow users to new embed codes']

Pros : user don't need any kind of license or even Power BI account to see your report

Cons : Data privacy issue as anyone can access your report who has this generated link.

Later on you can delete this link by : go to settings icon > manage embed codes > select your shared report link > click on delete icon

Reasons:
  • Blacklisted phrase (1): this link
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ROHAN SHETE

79264210

Date: 2024-12-09 08:04:05
Score: 2.5
Natty:
Report link

The earlier suggestion with snowflake.organization_usage.accounts should work.

select * from snowflake.organization_usage.accounts
where account_name = '<NAME>';

enter image description here

enter image description here

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

79264209

Date: 2024-12-09 08:04:05
Score: 1.5
Natty:
Report link

This seems due to an issue with the Yarn installation or configuration. you trying to use yarn-3.6.4.cjs

try:

npm install --global yarn
yarn set version 3.6.4
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ankit Saini

79264208

Date: 2024-12-09 08:02:03
Score: 8 🚩
Natty: 6
Report link

I was having the same issue and I followed the GitHub repo you have given. After following the steps now instead of showing "This app does not have any open source license", it shows Debug License Info and when I click on it, the app crashes.

Can you please help me?

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can you please help me
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Eklavya

79264204

Date: 2024-12-09 08:01:03
Score: 1.5
Natty:
Report link

Try using setup file

In jest.config.ts

    setupFilesAfterEnv: [
      '<rootDir>/path/to/setupTests.ts',
    ],

In setupTests.ts

import '@testing-library/jest-dom';
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: beloyar

79264201

Date: 2024-12-09 07:58:02
Score: 3
Natty:
Report link

Tried this solution, but while opening the zip file, it says Unable to expand output.zip

Error PopUp

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

79264200

Date: 2024-12-09 07:58:02
Score: 2.5
Natty:
Report link

I deleted my pubspec.lock file then use command flutter clean and flutter pub get this resolve my problem and project runs without any error

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

79264181

Date: 2024-12-09 07:49:00
Score: 2.5
Natty:
Report link

us-west1-docker.pkg.dev should actually be us-docker.pkg.dev

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

79264177

Date: 2024-12-09 07:48:00
Score: 1.5
Natty:
Report link
    <Image
      src={Image}
      alt="Icon"
      quality={100}
      layout='responsive'
    />
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Madhuka Dilshan

79264170

Date: 2024-12-09 07:43:59
Score: 3
Natty:
Report link

Below is the code to send a request to a custom PromptFlow endpoint hosted in Azure, allowing interaction with an AI model deployment.

 var chatHistory = new[]
        {
            new { role = "system", content = "You are a helpful customer support chatbot." },
            new { role = "user", content = "Hi, I need help with my subscription." },
            new { role = "assistant", content = "Sure, can you provide more details about the issue?" }
        };

        var prompt = "What are the steps to cancel my subscription?";
        var requestBody = new
        {
            chat_history = chatHistory,
            question = prompt
        };

        string jsonRequestBody = JsonConvert.SerializeObject(requestBody);

        try
        {
            var response = await CallPromptFlowEndpoint(jsonRequestBody);
            Console.WriteLine("API Response:");
            Console.WriteLine(response);
        }
        catch (Exception ex)
        {
            Console.WriteLine($"Error: {ex.Message}");
        }
    }

    private static async Task<string> CallPromptFlowEndpoint(string jsonRequestBody)
    {
        using (HttpClient client = new HttpClient())
        {
client.DefaultRequestHeaders.Add("Authorization", $"Bearer {ApiKey}");
            client.DefaultRequestHeaders.Add("azureml-model-deployment", ModelDeploymentName);
            var response = await client.PostAsync(
                EndpointUrl,
                new StringContent(jsonRequestBody, Encoding.UTF8, "application/json")
            );

            if (response.IsSuccessStatusCode)
            {
                return await response.Content.ReadAsStringAsync();
            }
            else
            {
                string errorMessage = await response.Content.ReadAsStringAsync();
                throw new Exception($"Error: {response.StatusCode}, Details: {errorMessage}");
            }
        }
    }
}

Output

I referred to the Azure OpenAI Service REST API documentation for this implementation and the How-to Guide on Creating and Managing Compute Sessions in Azure.

Additionally, I referred to the How to Manage Compute Sessions for PromptFlow and How to Customize Session Base Image for PromptFlow.

Below is the code to create images given a prompt.

POST https://{endpoint}/openai/deployments/{deployment-id}/images/generations?api-version=2024-10-21

{
 "prompt": "In the style of WordArt, Microsoft Clippy wearing a cowboy hat.",
 "n": 1,
 "style": "natural",
 "quality": "standard"
}

Output of response

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (2.5): I need help
  • RegEx Blacklisted phrase (2.5): can you provide
  • Long answer (-1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Sampath

79264169

Date: 2024-12-09 07:43:59
Score: 5
Natty: 4.5
Report link

I have an issue with getting user profile data. May you help me with solving the issue. This is the link to my question, Utilize the LinkedIn API with React and Flask to retrieve user profile data

Reasons:
  • Blacklisted phrase (1): help me
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Martin Mburu

79264167

Date: 2024-12-09 07:43:58
Score: 1
Natty:
Report link

You just need to use the parameter float_format in to_csv():

df.to_csv("test_sn.csv", float_format='{:.1E}'.format)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: rehaqds