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

79264164

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

In my opinion, it is good to migrate in intermediate versions. Because from a far old version to 8 there are many advancements and support issues.

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

79264149

Date: 2024-12-09 07:34:56
Score: 1.5
Natty:
Report link

While you can't directly retrieve the message limit or sent count via the API, here's what you can do:

Monitor Quality Ratings:

Use the quality_rating field to ensure your messages maintain a GREEN rating. Degraded quality can impact limits. Proactively adjust messaging frequency if flagged (e.g., flagged or degraded ratings). Scale Based on Metrics:

Use internal counters within your system to track how many business-initiated conversations you're sending. Stop sending once you hit a known threshold (e.g., 1K, 10K, etc.). Feature Requests:

Consider submitting feedback to Meta's developer support to request such an API featur

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

79264148

Date: 2024-12-09 07:34:56
Score: 4
Natty:
Report link

I found the problem. I didn't have the variable TMP in the environment variables.

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

79264147

Date: 2024-12-09 07:33:55
Score: 0.5
Natty:
Report link

try creating /db.js file with following connection function

const mongoose=require('mongoose')
async function connectMongodb(url){
    return mongoose.connect(url)
    .then(() => console.log(new Date().toISOString()+": Mongodb connected"))
    .catch(err => console.log("error", err))
}

module.exports ={
    connectMongodb,
} 

and in your server.js/index.js file import and run funtion with suitable mongo uri in following way

 const newLocal = `./db`;
const { connectMongodb } = require(newLocal);
//establishin db connections
connectMongodb(process.env.MongoUrl)

in .env add MongoUrl="mongodb://root:[email protected]:27017/NextBase?authSource={your collection name}"

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

79264144

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

Just putting @Emma's comment under the question as the answer for others. Use df.to_spark()

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @Emma's
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Dhruv

79264141

Date: 2024-12-09 07:26:54
Score: 2
Natty:
Report link

I have also got similar issue while filtering the nodo_pool.

  1. terraformer import google --resources="gke" --connect=true --regions=us-central1 --projects=test --path-pattern={output}/{provider}/ --filter=container_cluster=test-01 --filter=container_node_pool=test_node_pool
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Niba Tandukar

79264137

Date: 2024-12-09 07:24:52
Score: 8 🚩
Natty:
Report link

Guys im loosing it im running on opdenjdk version 11.0.16.1 and atlas version 8.2.7. I have the same issue but when i change the properties to e.g. 8.2.2 i just get a blank white website and the url http://localhost:1990/confluence/plugins/servlet/upm/manage/all isn't even there. I even asked chatgpt but nothings works for me. I hope soem of you can help me.

Ps: Changing the JDK-version i rather difficult because of my organisation

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): I have the same issue
  • Whitelisted phrase (-1): works for me
  • RegEx Blacklisted phrase (3): you can help me
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (1):
Posted by: Mirox ___

79264129

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

You can find a complete list of TIFF tags in Tags for TIFF, DNG, and Related Specifications.
I think tifftools follow that specification but if you want to know exactly what constants it accept you could see his code, specifically constants.py .

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

79264128

Date: 2024-12-09 07:22:51
Score: 0.5
Natty:
Report link

The reason why there are 2 postgres instances spinned up is, because Quarkus also does that for you automatically when you’re running in the test and dev profiles.

You don’t need to explicitly create a QuarkusTestResourceLifecycleManager. As a matter of fact, you don’t need to specify your db url and do anything with Testcontainers.

Just write your test and a db is automatically spinned up for you. You don’t have to configure anything, this is all handled.

So you can remove all your code, except your test class and then it should look something like this:

quarkus:
  http:
    test-port: 9300

  datasource:
    db-kind: postgresql

  hibernate-orm:
    database:
      generation: none <--> drop-and-create is going to conflict with liquibase

  liquibase:
    enabled: true
    migrate-at-start: true
    change-log: classpath:db/dbChangelog-test.yaml
    default-schema-name: x
    validate-on-migrate: true

// quarkus will spin up postgres automatically from here
@QuarkusTest
@TestHTTPEndpoint(YourRestController.class) ---> this will automatically add the rootpath to RestAssured
class MyTest {

   ...
}

For more info check these links:

Reasons:
  • Blacklisted phrase (1): these links
  • RegEx Blacklisted phrase (1): check these links
  • Long answer (-1):
  • Has code block (-0.5):
Posted by: Serkan

79264124

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

It seems the similar cause to MS Teams bot created using Teams toolkit does not find installations or members

From the FAQ (https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/interactive-notification-bot-in-teams?tabs=ts1%2Cts2%2Cts3%2Cts4%2Cjsts%2Cts5#faq):

Notification target connections are stored in the persistence storage. If you're using the default local file storage, Azure web app and Azure Functions clean up the local file during a restart or redeploy.

To resolve, use your own shared storage for production environment. See https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/interactive-notification-bot-in-teams?tabs=ts1%2Cts2%2Cts3%2Cts4%2Cjsts%2Cts5#add-storage

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

79264119

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

Just run the following commands in terminal:

  git config --unset remote.origin.fetch

  git config --set remote.origin.fetch +refs/heads/*:refs/remotes/origin/*

Now, you just run

git fetch

and you'll get all remote branches.

Helpful site : Git - git-config Documentation

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

79264110

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

mine was same as yours but this resolved it. MAIL_ENCRYPTION= dont add any value to MAIL_ENCRYPTION, not even null or anything else.

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

79264108

Date: 2024-12-09 07:11:49
Score: 1
Natty:
Report link

jakarta.annotation has moved to jakarta.annotation-api

See here: enter link description here

or just add the dependency (v3.0.0)

<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
<version>3.0.0</version>
Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: 0x53olution

79264107

Date: 2024-12-09 07:11:49
Score: 0.5
Natty:
Report link

You can refer the golang scanner and copy the code here. In short, you need to create a scanner and scan the source file by yourself.


    reader := bytes.NewBuffer(src)
    scanner := bufio.NewScanner(reader)
    for scanner.Scan() {
        line := scanner.Text()
        nline := line
        l += len(line)
        // copied from src/cmd/compile/internal/syntax/parser.go
        text := commentText(line)
        // see src/cmd/compile/internal/noder/noder.go#L220
        // to handle the gc directive you like.
        if strings.HasPrefix(text, "go:linkname ") {
                // do y
        }

    }

https://github.com/golang/go/blob/c8fb6ae617d65b42089202040d8fbd309d1a0fe4/src/cmd/compile/internal/noder/noder.go#L220

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

79264106

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

The solution I found is to attach the UIManager to the Canvas object in the Inspector.

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

79264099

Date: 2024-12-09 07:06:47
Score: 4
Natty: 4
Report link

@RishiDev , Have you got solution for this issue .

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @RishiDev
  • Low reputation (1):
Posted by: Rohit Yadav

79264097

Date: 2024-12-09 07:04:46
Score: 2.5
Natty:
Report link

For Ubuntu: apt install ninja_build

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

79264091

Date: 2024-12-09 07:01:46
Score: 1
Natty:
Report link

use this method setClipToOutline,according to Android documentation

AndroidView will not clip its content to the layout bounds. Use View.setClipToOutline on the child View to clip the contents, if desired. Developers will likely want to do this with all subclasses of SurfaceView to keep its contents contained.

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

79264090

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

To force the line to be greater than 1px the width and height of the viewport must be passed as uniforms (attributes to the shader) so that the when the line is rendered, the shader understands how large the view is relative to the line width you are requesting.

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

79264080

Date: 2024-12-09 06:56:44
Score: 0.5
Natty:
Report link

Previously, I was using Android Gradle version 7.5 and AGP version 7.4.2, where I consistently encountered the error: Phone Number Hint failed 16: [28438] No phone number is found on this device. This happened on all devices.

After updating to Gradle version 8.7 and AGP version 8.5.0, the issue was resolved for most devices, and the Phone Number Hint pop-up started working properly. However, the same error still occurs on a specific device, Samsung M31s, while it works as expected on other devices.

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

79264079

Date: 2024-12-09 06:56:44
Score: 2.5
Natty:
Report link

Try changing the ownership of data directory like this Chown postgres:postgres /mnt/Data/postgresdb/postgresql/9.5/main And chmod 750 /mnt/Data/postgresdb/postgresql/9.5/main

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

79264074

Date: 2024-12-09 06:54:44
Score: 3.5
Natty:
Report link

In my case, I was providing form token to cookie token parameter and vice versa.

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

79264068

Date: 2024-12-09 06:52:43
Score: 3
Natty:
Report link

Instead of using else for type == 2 use an if statement I do not know why else fails.

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

79264057

Date: 2024-12-09 06:47:42
Score: 0.5
Natty:
Report link

The correct answer, provided by the author of SQLModel is:

Use a model for data validation (table=False) and create a model for SQL by inheriting the data validation model adding table=True.

Then after validation, copy data from data validation model to SQL model.

Full answer here: https://github.com/fastapi/sqlmodel/issues/52#issuecomment-1311987732

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

79264053

Date: 2024-12-09 06:46:42
Score: 2.5
Natty:
Report link

I got the same issue as your post.

I am trying to create an empty metadata by "CGImageMetaDataSetValueWithPath", and set values for HDRGainMapHeadroom, HDRGainMapVersion. But nothing was written in. Perhaps your guess is true, and the name space for HDR is private.

But anyway, this way might help you.

new_meta = CGImageMetadataCreateMutableCopy(metadata), while metadata is from one HDR file from your iPhone. Then, CGImageMetaDataSetValueWithPath(new_meta, nil, "your_key", "your_value") works.

Reasons:
  • Blacklisted phrase (1): I am trying to
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jiayuan Li

79264051

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

yes splitting works for me - albeit, I have only split the file in a very crude way; I do not know if it will improve the results or not; I'm working with large text files, with context at the start of the document - so splitting in half doesn't seem like the correct approach for me.

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

79264045

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

The current implementation of the GenerativeModel class doesn’t properly handle async functions when passed as tools, resulting in coroutine objects never being awaited and causing runtime errors. But there is a solution by modifying the file for supporting async here

If you are using synchronous libraries like requests: Use multithreading unless you can switch to an async-compatible library.

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

79264044

Date: 2024-12-09 06:43:41
Score: 0.5
Natty:
Report link

I tested answers, same results. In fact, there is no problem with my code or answers, let's see how it solved.

The structure of MyList component is as follow:

return (
  ...
  // the problem is one of style classes of my <p>
  <p className="c3 c4">
    // components contains some <span className="c1 c2">...</span>
    {components}
  </p>
  ...
)

And the c4 class is exactly:

.c4 {
  float: right;
}

I don't know how but when i remove this class from <p> it works fine.

The problem solved, and thanks for all the replies.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: sad

79264043

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

youtrack.jvmoptions使用

*Dhttp.proxyHost=10.1.1.1 
*Dhttp.proxyPort=7890 
*Dhttps.proxyHost=10.1.1.1 
*Dhttps.proxyPort=7890
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: 冰上云梦

79264030

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

To build this todo shortcut functionality(todo live template) from scratch follow the below steps:

  1. Go to Settings > Editor > Live Templates
  2. Click on '+' icon to add new Live Template
  3. Add Abbreviation: todo
    Description: adds //TODO
    Template text: // TODO $date$
  4. Click on Edit Variables...
  5. Add Name: date
    Expression: date()
    Click OK
  6. Cline Define to set Application context
    I just want to use it in Java, so I selected Java
  7. Click Apply
  8. Click OK

Steps to add new Live Eemplate

Steps to edit template variable

Steps to define Application context

This will set up the shortcut.

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