79594954

Date: 2025-04-27 11:08:00
Score: 4
Natty:
Report link

I have some problems on SseEmitter too, So i try to use your code to fix my problems, but the problems exist too. I use curl to request,

 curl -v -H "Accept: text/event-stream" \
http://localhost:8181/sse/events

the response is

Trying 127.0.0.1:8181...
* Connected to localhost (127.0.0.1) port 8181 (#0)
> GET /sse/events HTTP/1.1
> Host: localhost:8181
> User-Agent: curl/8.1.2
> Accept: text/event-stream
>
< HTTP/1.1 200
< Vary: Origin
< Vary: Access-Control-Request-Method
< Vary: Access-Control-Request-Headers
< Content-Type: text/event-stream
< Content-Length: 26
< Date: Sun, 27 Apr 2025 10:56:32 GMT
<
event:myevent
* Connection #0 to host localhost left intact
data:Event 0

it just return first event, but in server log i can see the printing log , i am confused。is there anybody can help,please

Reasons:
  • Blacklisted phrase (1): is there any
  • RegEx Blacklisted phrase (3): anybody can help
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: alicerabbit

79594948

Date: 2025-04-27 10:54:57
Score: 0.5
Natty:
Report link

Agree with the comment from @Peter regarding the return value checks.

Another potentially useful debug point here would be to convert your poll() example to use the polling itself as a simple delay by changing the final parameter to 1 (meaning a 1 millisecond timeout):

else {
        pollfd pfd{};
        pfd.fd = fd;
        pfd.events = POLLIN;

        int ret = poll(&pfd, 1, 1); // final parameter is 1ms timeout

Then emit explicit debug for the values of ret and pfd.revents every iteration before you run the subsequent error checks on them.

Side note: from personal experience of similar gotchas in the past, try using static_cast<unsigned>(byte) when you log the received bytes, this can sometimes reveal interesting behaviours.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Peter
  • Low reputation (0.5):
Posted by: Simon Walke

79594930

Date: 2025-04-27 10:23:52
Score: 0.5
Natty:
Report link

The downside with using the cancelling/resuming instead of pausing is that it can create reporting issues, especially for MRR based companies.

Churnkey has a good guide on how they use pauses: https://docs.churnkey.co/billing-providers/stripe

Churnkey uses Stripe's built-in pause feature which will update the subscription's pause_collection[behavior] to mark_uncollectible. The resumes_at field will automatically be set by Churnkey depending on the length of the pause selected.

You can specify the maximum pause length allowed by customers while configuring your offboarding flow.

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

79594919

Date: 2025-04-27 10:10:50
Score: 3.5
Natty:
Report link

First of all, make it clearer by showing the whole code, not separate snippets as you did there ; this will help us understand eventuel placement issues with your variable definitions or errors of such kind. :)

Reasons:
  • RegEx Blacklisted phrase (1): help us
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: So ucif

79594909

Date: 2025-04-27 09:57:47
Score: 3
Natty:
Report link

Salam necesen evde deyilem basqa yaerdeyem gelende yigacam Öz'ün kardeşi işten çıkarıldı mı ne verb de bilmirem de bilmirem de bilmirem de bilmirem de bilmirem

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

79594908

Date: 2025-04-27 09:55:46
Score: 0.5
Natty:
Report link

What happens in React is that when you execute 'npm run build' command, it replaces %PUBLIC_URL% with ./ or the homepage(if specified) in package.json field. Changing %PUBLIC_URL% to another path made the browser look for images and other files in the wrong location. Changing it back to %PUBLIC_URL% will not solve the issue as browser will be loading files from its cache.

  1. You need to first clear browser cache by opening DevTools → Right-click Reload button → Choose Empty Cache and Hard Reload

  2. Delete the build/ folder and rebuild -

    npm run build
    
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: mayankdv

79594898

Date: 2025-04-27 09:44:44
Score: 3
Natty:
Report link

I have the same issue using VS Code for a NestJS + Mongoose server project. The same solution mentioned in several answers above, with a twist: Put it in the eslint.config.mjs` (extension can also be js or whatever you are using for eslint.config.

Put the following in the `rules` object:

rules: {
    ...
    "prettier/prettier": [
        "error",
        {
            "endOfLine": "auto"
        }
    ],
    ...
Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same issue
Posted by: Binyamin Regev

79594890

Date: 2025-04-27 09:40:42
Score: 4
Natty:
Report link

I have the exact same issue but my greek letters should go into the xlabel.
I've already tried set xlabel "{/Symbol a}/{\U+00B0}" enhanced font ",12" and it didn't work. More precisely the alpha looks weird and just like the latin "a" (and gamma also looks as in the example above).

My minimal example would be:

set encoding utf8
set xlabel "{/Symbol a}"
plot 1

Reasons:
  • No code block (0.5):
  • Me too answer (2.5): I have the exact same issue
  • Low reputation (1):
Posted by: Tim

79594879

Date: 2025-04-27 09:24:39
Score: 1
Natty:
Report link

If your data already in DataFrame format ou can used this:

combined_df = pd.concat([df_txt, df_choco], axis=0, ignore_index=True)

df_txt came from df_txt = pd.read_csv('add.txt', delimiter=',')

and df_choco same logic as above.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: oppo56789

79594875

Date: 2025-04-27 09:16:38
Score: 3
Natty:
Report link
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ujjal Talukdar

79594874

Date: 2025-04-27 09:16:38
Score: 1.5
Natty:
Report link

This is because your Laravel version is not compatible with the Doctrine DBAL version you are using.

1. Check your version : composer why carbonphp/carbon-doctrine-types

2. Downgrade your version : composer require nesbot/carbon:^2.66(whatever your version is)

3. Remove your dependencies : composer remove carbonphp/carbon-doctrine-types

4. Install the compatible ones : composer require doctrine/dbal:^3.0(whatever your version is)

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

79594872

Date: 2025-04-27 09:15:37
Score: 4
Natty:
Report link

This is a repo I came across for LLM finetuning

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

79594871

Date: 2025-04-27 09:14:37
Score: 2.5
Natty:
Report link

I have a small integration example for VS Code that allows you to deploy the built image directly

to the target device over the network. In my opinion, it’s very convenient.

https://github.com/berserktv/vscode-yocto-helper.git

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Владислав Королев

79594869

Date: 2025-04-27 09:11:36
Score: 1
Natty:
Report link

You don't have to reinvent the wheel, there are great open source solutions that you can try to integrate into your project. Even if you don't want to do that, you can take a look into these solutions to have an understanding of how they implemented it:

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

79594865

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

there is possibilities of later importing sklearn.datasets import load_iris

directly run load_iris block of code .

First run imported libraries code block then run loading dataset block again .

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

79594863

Date: 2025-04-27 09:02:34
Score: 1
Natty:
Report link

Actually i was getting the same error while using the qwen2.5 model for inference but there was one thing i overlooked by mistake and it was very silly i forgot to edit the pod container size large enough to fit the model weights, after i corrected that it RAN without any error.

I hope this helps .

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: 9Mercury

79594859

Date: 2025-04-27 08:56:33
Score: 1.5
Natty:
Report link

I'm a bit confused about what you're trying to do. To return to Form1, you just need to set form.Owner = this; when creating Form2, and then use Owner.Show() in Form2 FormClosing event to show Form1 again

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

79594855

Date: 2025-04-27 08:50:31
Score: 6 🚩
Natty: 5.5
Report link

You can watch this tutorial,I wish you can find your solution.

https://www.youtube.com/watch?v=4KTSJZcXy6c&t=225s&ab_channel=WinCoderSujon

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Blacklisted phrase (1): youtube.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: sujon biswas

79594853

Date: 2025-04-27 08:49:30
Score: 10 🚩
Natty:
Report link

Hi WhatsApp bro i need answer from this question you can help me?

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (0.5): i need
  • RegEx Blacklisted phrase (3): you can help me
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Unchek Bodoh

79594848

Date: 2025-04-27 08:41:29
Score: 1
Natty:
Report link

Update for 2025:

the list of allowed scheduler types from documentation

“linear” = get_linear_schedule_with_warmup
“cosine” = get_cosine_schedule_with_warmup
“cosine_with_restarts” = get_cosine_with_hard_restarts_schedule_with_warmup
“polynomial” = get_polynomial_decay_schedule_with_warmup
“constant” = get_constant_schedule
“constant_with_warmup” = get_constant_schedule_with_warmup
“inverse_sqrt” = get_inverse_sqrt_schedule
“reduce_lr_on_plateau” = get_reduce_on_plateau_schedule
“cosine_with_min_lr” = get_cosine_with_min_lr_schedule_with_warmup
“warmup_stable_decay” = get_wsd_schedule

their parameters can be passed to Trainer using --lr_scheduler_kwargs

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

79594838

Date: 2025-04-27 08:27:26
Score: 3
Natty:
Report link

hello maybe your looking for the new openturns conditional distribution if you want to condition distribution components by a some scalar values:

https://openturns.github.io/openturns/latest/user_manual/_generated/openturns.experimental.PointConditionalDistribution.html

Maybe we will add vine copulas in the future as I started a module for that.

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

79594835

Date: 2025-04-27 08:25:25
Score: 1.5
Natty:
Report link

Try to install it via NPM npm i @symfony/stimulus-bundle and npm i @hotwired/stimulus

This way IDE will check their types in node_modules

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

79594829

Date: 2025-04-27 08:16:23
Score: 4
Natty: 4.5
Report link

This formula it's a bit long, but I think it works: https://sudapollismo.substack.com/p/fifo-capital-gains-excel-formula

screenshoot

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

79594825

Date: 2025-04-27 08:15:23
Score: 1
Natty:
Report link

In C (and similar languages)

In C#, anonymous types are super handy for temporary structures, but they can't easily be returned from a method because they don't have a named type.

Example of an anonymous type:

csharp

CopyEdit

varresult = new { Name = "Alice", Age = 30 };

Inside a method? Fine.
Returning from a method? Not directly — unless you:


Options to Return Anonymous-Like Data

  1. Return as object (not ideal, because you lose type safety)
csharp

CopyEdit

publicobject GetPerson() { return new { Name = "Alice", Age = 30 }; }

Downside: You can't easily use .Name and .Age without casting/reflection.


  1. Use dynamic type
csharp

CopyEdit

publicdynamic GetPerson() { return new { Name = "Alice", Age = 30 }; }

Upside: Easier to access properties. Downside: No compile-time checking (errors at runtime if you mistype).


  1. Define a real class instead

Best practice for returning structured data:

csharp

CopyEdit

publicclass PersonDto { public string Name { get; set; } public int Age { get; set; } } public PersonDto GetPerson() { return new PersonDto { Name = "Alice", Age = 30 }; }


Quick Summary

OptionProsConsobjectQuick hackNo type safetydynamicEasy accessRuntime errorsReal classBest choiceSlightly more code

In Python, JavaScript, etc.

If you meant Python or JavaScript, they naturally return anonymous structures all the time:

python

CopyEdit

defget_person(): return {"name": "Alice", "age": 30}

javascript

CopyEdit

functiongetPerson() { return { name: "Alice", age: 30 }; }

In dynamic languages, anonymous types are normal and no problem at all.

Refrence site https://stackoverflow.com

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Sherwali Khan

79594824

Date: 2025-04-27 08:14:23
Score: 2.5
Natty:
Report link

It’s unclear which zone you are using for the configuration: "notification.mygatecorp.com" or "mygatecorp.com". If you are configuring it under the "mygatecorp.com" domain, you will need to modify the DKIM name to "selector1-azurecomm-prod-net._domainkey.azurecomm.net.notification". For more information, you can refer to this documentation Verify custom domain

Reasons:
  • Blacklisted phrase (1): this document
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Ebraheem

79594818

Date: 2025-04-27 08:09:20
Score: 14.5 🚩
Natty: 4.5
Report link

I'm having the same issue, now the version of lxml is 5.4.0 but I still get the error.when I use

from lxml.etree import tostring

I got

ModuleNotFoundError: No module named 'lxml.etree'

Did you solve this problem ?I dont know how to solve it.

Reasons:
  • Blacklisted phrase (1): how to solve
  • RegEx Blacklisted phrase (3): Did you solve this problem
  • RegEx Blacklisted phrase (1.5): solve this problem ?
  • RegEx Blacklisted phrase (2): I dont know how to solve
  • RegEx Blacklisted phrase (1): I still get the error
  • RegEx Blacklisted phrase (2): know how to solve
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I'm having the same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: qnt

79594817

Date: 2025-04-27 08:08:20
Score: 1.5
Natty:
Report link

Manual Base64 Decoding Guide​ (using "TWFu" example):

  1. Handle URL-Safe Characters​ (if applicable):

    • Replace "-" with "+" and "_" with "/"

    • Example: "TWFu" remains unchanged

  2. Add Padding:

    • Ensure string length is multiple of 4 by adding "="

    • Original "TWFu" (length 4) needs no padding

  3. Base64 Character Table:

    base64
    

    复制

    A-Z → 0-25    a-z → 26-51
    0-9 → 52-61   + → 62   / → 63
    
  4. Convert to 6-bit Binary:

    markdown
    

    复制

    T(19) → 010011
    W(22) → 010110
    F(5)  → 000101
    u(46) → 101110
    
  5. Combine & Split into 8-bit Bytes:

    binary
    

    复制

    01001101 | 01100001 | 01101110
    
  6. Convert to ASCII:

    markdown
    

    复制

    0x4D → M
    0x61 → a
    0x6E → n
    

    Final Result: "Man"


Recommended Automation Tool:
For practical implementation, using the GoTools Base64 Converter which offers:

✓ Bidirectional Conversion (Text ↔ Base64)
✓ URL-Safe Encoding/Decoding
✓ Automatic Padding Handling
✓ Binary/Hex Data Preview
✓ Error Detection for Malformed Input
✓ Multi-Format Export Options

Ideal for developers working with:


Pro Tips:

  1. For non-ASCII characters (e.g., Chinese), verify UTF-8 encoding layers

  2. Validate binary outputs using hex editors like HxD

  3. Always sanitize inputs when decoding untrusted data

  4. Use chunking (76-char lines) for large datasets

This combination of fundamental understanding and modern tooling provides both educational value and production-ready efficiency. The manual process helps debug encoding issues, while the tool accelerates daily development workflows.

Would you like me to elaborate on any specific aspect of the decoding process or tool features?

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Jack Guo

79594808

Date: 2025-04-27 07:51:16
Score: 1
Natty:
Report link

This is what worked for me I uninstalled NodeJS Then installed NVM which allows you to install multiple NodeJS So switched to NodeJS version 12.0.0 and error was solved

nvm install 12.0.0 nvm use 12.0.0

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

79594806

Date: 2025-04-27 07:48:15
Score: 4.5
Natty:
Report link

You can try using different online base64 decoding tools for processing, such as: https://go-tools.org/tools/base64-converter

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

79594805

Date: 2025-04-27 07:48:15
Score: 0.5
Natty:
Report link

If I understood your question correctly, it looks like you simply need $_SERVER['REQUEST_URI']

If that's not what you're trying to do, I suggest you to take a look at PHP's parse_url function, which parses any given URL and returns all its parts in a tidy array. It can also return a single specific part.

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

79594800

Date: 2025-04-27 07:39:13
Score: 4.5
Natty: 5
Report link

This formula it's a bit long, but I think it works: https://sudapollismo.substack.com/p/fifo-capital-gains-excel-formula

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

79594791

Date: 2025-04-27 07:23:09
Score: 1
Natty:
Report link

In my situation:

Im using import { useSpring, animated } from '@react-spring/web';
instead of import { useSpring, animated } from 'react-spring/web';

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @types
Posted by: Nor.Z

79594769

Date: 2025-04-27 07:05:05
Score: 9.5
Natty: 7
Report link

Can you post the steps how to achieve this ?

Reasons:
  • Blacklisted phrase (1): how to achieve
  • RegEx Blacklisted phrase (2.5): Can you post
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Can you post the
  • Low reputation (1):
Posted by: dineshkumar

79594762

Date: 2025-04-27 06:55:03
Score: 1
Natty:
Report link

Installing hrsh7th/vscode-langservers-extracted via NPM and since it's preconfigured in nvim kickstart i can simply add cssls = {} or somesass_ls = {} within local servers = {...} as long as i have the packages installed via NPM globally, which help the LS. Those are documented in the docs for cssls and somesass_ls.

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

79594761

Date: 2025-04-27 06:53:02
Score: 4
Natty:
Report link

gpu GPU hpu i here for gpu network

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

79594758

Date: 2025-04-27 06:50:01
Score: 2.5
Natty:
Report link

It looks like you're facing performance issues with autocomplete in both Android Studio and VSCode

I'm not sure about VSCode but in Android Studio it's a Line endings issue

Check out this guide: https://axat.hashnode.dev/fixing-android-studios-slowness-while-developing-with-flutter

Reasons:
  • Blacklisted phrase (1): this guide
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Akshat Bhuhagal

79594756

Date: 2025-04-27 06:48:00
Score: 2
Natty:
Report link

I found this question when trying to work out why users on a second LDAP server could not log in. It was because Gitlab doesn't allow multiple LDAP servers to be configured in the non-EE version. See https://gitlab.com/gitlab-org/gitlab/-/issues/355835 which I found via this discussion of why the second server's login tab did not appear (up to this point, I'd not noticed the login screen had tabs, since there is only ever one tab!) https://forum.gitlab.com/t/only-first-ldap-server-is-shown-as-tab-on-the-login-screen/76599

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

79594754

Date: 2025-04-27 06:47:00
Score: 3
Natty:
Report link

Thank you, @Tanaike, for your solution! While my original issue was with inserting a QR code image in the body of a Google Document (replacing a placeholder), the approach you suggested of using getParent().asParagraph().appendInlineImage() and then removing the placeholder element (removeChild()) also worked perfectly for my case. This was after trying many other methods that resulted in the "Element does not contain the specified child element" error. Your solution was the one that finally resolved it. Much appreciated!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): appreciated
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Tanaike
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dmytro Hyk

79594749

Date: 2025-04-27 06:41:59
Score: 1
Natty:
Report link

You can try like his

<button
    onMouseDown={() => setActive(true)}
    onMouseUp={() => setActive(false)}
    onMouseLeave={() => setActive(false)}
    style={{ 
         backgroundColor: active ? '#fff' : '#000', 
         color: active ? '#000' : 'fff'
    }}
>
    Button Label
</button>

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

79594748

Date: 2025-04-27 06:40:58
Score: 1
Natty:
Report link

The short answer is that you can't—a GF grammar needs a pre-defined lexicon. The words in a GF grammar contain a full inflection table, which for many languages can be quite complex, and pattern matching on a string isn't allowed at runtime. (More on that here.) Furthermore, even if you enter only fully-formed noun phrases and don't need to guess any inflected forms, you would still miss information about agreement: "apple pie is delicious" vs "pretzels are delicious". This is going to be much trickier in languages other than English.

That said, if your application is simple enough and you are working on a language that doesn't have much morphology, maybe you can get away with string literals. You can read this answer, the relevant part starts from subheading “Arbitrary strings as artists”.

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

79594743

Date: 2025-04-27 06:32:56
Score: 3.5
Natty:
Report link

https://www.reddit.com/r/unrealengine/comments/7s47zz/how_to_use_outdated_marketplace_code_plugins_with/?rdt=40644
this may be helpful

you need to copy the plugin from engine to the project,regenerate the VS project files and compile from source

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

79594742

Date: 2025-04-27 06:32:56
Score: 1.5
Natty:
Report link

Thought I'd tried out everything before asking this question, but apparently not. Here's the way to do it:

import { render } from "solid-js/web";
import { Router, Route,createAsyncStore } from "@solidjs/router";

let ShowDocs = props => (
  <p>
    doc1: {props.doc1.a} <br/>
    doc2: {props.doc2.a} <br/>
    doc3: {props.doc3.a} <br/>
  </p>
);

let Main= props => {
    const docs = {};
    for (let i=1; i<=3; i++)
        docs['doc'+i] = createAsyncStore(() => ({a:'blah'+i}));

    const docs2 = () => {
        const ds = {};
        for (let i=1; i<=3; i++)
            ds['doc'+i] = docs['doc'+i]();
        return ds;
    }

    return (
        <div>
            WORKS:  <ShowDocs doc1={docs.doc1()} doc2={docs.doc2()} doc3={docs.doc3()} /> 

            BUT IS THERE A WAY TO DO SOMETHING LIKE THIS?
                <ShowDocs {...docs2()} />
        </div>
    );
}

render(() => <Router><Route path="/*" component={Main} /></Router>, document.getElementById("app")!);
Reasons:
  • Blacklisted phrase (1): IS THERE A WAY
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user527388

79594736

Date: 2025-04-27 06:24:55
Score: 2.5
Natty:
Report link

I think you have to make the method as private so from outside you will not be able to access the method. Therefore you cannot update.

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

79594735

Date: 2025-04-27 06:23:54
Score: 3
Natty:
Report link

Adding cancel_action inside your paystack meta data to redirect to a page when the cancel button is clicked. Link to the docs

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

79594727

Date: 2025-04-27 06:12:51
Score: 0.5
Natty:
Report link

For this need to use mouse events

<button
    onMouseDown={() => setActive(true)}
    onMouseUp={() => setActive(false)}
    onMouseLeave={() => setActive(false)}
    style={{ backgroundColor: active ? 'white' : 'black', color: active ? 'black' : 'white' }}
>
    The-Button
</button>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dhaval Makwana

79594724

Date: 2025-04-27 06:11:50
Score: 1
Natty:
Report link

This did the trick:

 @Expose()
  @Transform(({ obj }) => obj.user.userName)
  createdBy!: string;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: derstauner

79594720

Date: 2025-04-27 06:05:49
Score: 3
Natty:
Report link

SI funciona con gnone, hay que desactivar el wayland, y activar que fucione con X11 en lugar de wayland

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

79594718

Date: 2025-04-27 06:04:49
Score: 3.5
Natty:
Report link

In my case, i have to `Link Binary with the libraries` manually... error resolved
enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Wahab Khan Jadon

79594710

Date: 2025-04-27 05:50:46
Score: 0.5
Natty:
Report link

Even if your app only uses HTTPS (this is 99% of all apps), you still need to file a French encryption declaration.

Under French law (Article L2332-1 of the Defense Code) and ANSSI guidance (source), any cryptographic functionality, including HTTPS, requires at least a simple declaration.

Apple also highlights the need to comply with local encryption regulations even for standard libraries (Apple docs).

There are services like NovaStore that can handle the filing if you want to stay compliant.

Reasons:
  • No code block (0.5):
Posted by: safaiyeh

79594705

Date: 2025-04-27 05:45:45
Score: 2
Natty:
Report link

It is not cached as you assume. The statement you show that uses f() is a top-level statement and therefore it only runs once when the module is first imported. It doesn't matter how many times you expect a to equal 1, you're not re-executing any code whatsoever. The only time that the code in the ./asd module ran was when the module was first imported, when zero test cases had been executed.

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

79594704

Date: 2025-04-27 05:44:45
Score: 3
Natty:
Report link

The reason for this error is because in that SDK version, the project is configured to use expo-router instead of navigation. Expo-router is built on top of navigation. That's why the NavigationContainer nesting is created.

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

79594703

Date: 2025-04-27 05:44:45
Score: 1.5
Natty:
Report link

You are still executing the following instructions after an at end condition occurs therefore the record you are getting is the part of the last record in the file which remains in the files buffer.

better code would be:

read file at end move 'y' to at end-sw. (end-sw was defined in working storage as 'n'.)

if end-sw not equal 'y' perform the processing you want. (in another paragraph)

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Daniel G Lang

79594699

Date: 2025-04-27 05:39:43
Score: 2.5
Natty:
Report link

I'm working with same feature and created a db diagram with minimum columns for understanding how it'll work in real application.

Here is my db diagram, where you may get an idea and implement.

Product Variation Wise Price in Ecommerce

Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Md. Abdul Majid

79594694

Date: 2025-04-27 05:32:42
Score: 4
Natty:
Report link

If you'd like to stay connected with your friend

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

79594684

Date: 2025-04-27 05:02:37
Score: 1
Natty:
Report link
  1. Go to you repository

  2. Go to Settings -> General

    enter image description here

  3. On the General section, scroll down to "Danger Zone".

    enter image description here

  4. Click on the Change Visibility button.

    enter image description here

  5. Click on the Change to private button.

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

79594682

Date: 2025-04-27 05:01:36
Score: 1.5
Natty:
Report link
truct TodoItem {
    let title        : String
    let state        : State
    let dueDate      : DueDate
    let location     : Location
    let collaborators: [Collaborator]
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mafrooha Noohu

79594679

Date: 2025-04-27 04:52:35
Score: 1
Natty:
Report link

I managed to fix this by adding a new method in the entity.

public function getIsBookable(): ?bool
{
    return $this->isBookable();
}

I guess behind the scenes ApiPlatform calls something like `$entity->get{$field}` instead of the classic symfony getter

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

79594669

Date: 2025-04-27 04:36:32
Score: 5.5
Natty:
Report link

What is the TextInputLayout border stroke color? For more information, see https://m3.material.io/components/text-fields/specs.

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What is the
  • Low reputation (1):
Posted by: Manabu Nakamura

79594660

Date: 2025-04-27 04:23:29
Score: 1
Natty:
Report link

You can use ImageConvertHQ.com — a free online tool that converts images to JPEG with no software needed. It’s fast and supports multiple formats. Plus, no watermarks or login required.

https://imageconverthq.com/image-to-jpeg

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

79594652

Date: 2025-04-27 04:03:25
Score: 3.5
Natty:
Report link

Migrating apps can be a real headache, huh? I feel your pain. I once had a similar struggle when trying to switch frameworks. It sounds like you've really thrown the kitchen sink at this problem. Have you double-checked that all the dependencies for Expo SecureStore are properly installed? Maybe it's a version compatibility issue. Also, did you try looking at the Expo logs in more detail? That might give a clue about what's going wrong deeper down. Any luck yet?

Reasons:
  • Blacklisted phrase (1.5): Any luck
  • Whitelisted phrase (-2): did you try
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Fred Davis

79594639

Date: 2025-04-27 03:38:20
Score: 2.5
Natty:
Report link

Kanhaiya vikram shinde mi as director we will be

MiMri rijalt
cell 1 cell 2
cell 3 cell 4
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kanha Shinde

79594638

Date: 2025-04-27 03:35:19
Score: 0.5
Natty:
Report link
"This is half Solved!!!"
 In [ ]:
 # I did my best in the so little time :(((( :(
 Image Coloring Problem
 In this project, you will tackle the challenge of image colorization, a process that
 involves adding color to grayscale images. Image colorization has applications in
 various fields, such as restoring old movies and photographs, enhancing satellite
 imagery, and assisting in medical image analysis.
 The goal is to build a deep learning model that can accurately predict the color
 channels of an image given its grayscale version. You will use PyTorch, a popular
 deep learning library, to construct and train your model. The project will be
 structured around several key tasks, each contributing to the development and
 evaluation of your colorization model.
 U-Net Architecture
 The neural network The neural network needs to take in a noised image at a
 particular time step and return the predicted noise. Note that the predicted noise is
 a tensor that has the same size/resolution as the input image. So technically, the
 network takes in and outputs tensors of the same shape. What type of neural
 network can we use for this?
 What is typically used here is very similar to that of an Autoencoder, which you
 may remember from typical "intro to deep learning" tutorials. Autoencoders have a
 so-called "bottleneck" layer in between the encoder and decoder. The encoder first
 encodes an image into a smaller hidden representation called the "bottleneck", and
 the decoder then decodes that hidden representation back into an actual image.
 This forces the network to only keep the most important information in the
 bottleneck layer.
 In terms of architecture, the DDPM authors went for a U-Net, introduced by
 (Ronneberger et al., 2015) (which, at the time, achieved state-of-the-art results for
 medical image segmentation). This network, like any autoencoder, consists of a
 bottleneck in the middle that makes sure the network learns only the most
 important information. Importantly, it introduced residual connections between the
 encoder and decoder, greatly improving gradient flow (inspired by ResNet in He et
 al., 2015).
Here's a description of the UNet architecture:
 1. Contracting Path (Encoder):
 • The input to the UNet is typically a grayscale or multi-channel image.
 • The contracting path starts with a series of convolutional layers
 followed by max-pooling layers.
 • Each convolutional layer is usually followed by a rectified linear unit
 (ReLU) activation function.
 • The number of filters typically increases with the depth of the network,
 capturing increasingly abstract features.
 • Max-pooling layers progressively downsample the spatial dimensions of
 the feature maps, allowing the network to learn hierarchical
 representations.
 2. Bottleneck:
 • At the bottom of the U-shaped architecture lies the bottleneck or
 central layer.
 • It represents the point where the network switches from the contracting
 path to the expanding path.
 • The bottleneck layer typically consists of convolutional layers without
 max-pooling, allowing the network to capture contextual information.
 3. Expanding Path (Decoder):
 • The expanding path involves upsampling the feature maps and
 concatenating them with feature maps from the contracting path.
 • Each step in the expanding path involves an upsampling operation
 (e.g., transposed convolution or upsampling followed by convolution) to
 increase the spatial resolution.
 • The concatenated feature maps from the corresponding contracting
 path stage serve as skip connections.
 • Skip connections help preserve spatial information and assist in the
 precise localization of segmentation boundaries.
This was adapted from Lukman Aliyu
 Requirements
 • Prepare the data
 • Build a U-net architecture
 • Train the model on the prepared dataset
 • Display 5 images from the training set in 3 formats: original color,
 grayscale, and the colorized
 • Run inference on 10 images in the test set
 • Display the 10 images in 3 formats: original color, grayscale, and the
 colorized
 1. Setup and Imports
 In [ ]:
 import torch
 import torch.nn as nn
 import torch.optim as optim
 from torch.utils.data import DataLoader, Dataset, random_split
 from torchvision import datasets, transforms
 from torchvision.transforms.functional import to_pil_image, resize
 import matplotlib.pyplot as plt
 import numpy as np
 from PIL import Image
 from tqdm import tqdm
 import os
2. Load the Dataset
 class ColorizationDataset(Dataset):
 def __init__(self, dataset, transform_input=None, transform_target=None):
 self.dataset = dataset
 self.transform_input = transform_input
 self.transform_target = transform_target
 def __len__(self):
 return len(self.dataset)
 def __getitem__(self, idx):
 color_img, _ = self.dataset[idx]
 gray_img = transforms.functional.to_grayscale(color_img, num_output_channels
 if self.transform_input:
 gray_img = self.transform_input(gray_img)
 if self.transform_target:
 color_img = self.transform_target(color_img)
 return gray_img, color_img
 transform_input = transforms.Compose([transforms.Resize((32, 32)), transforms.ToTensor
 transform_target = transforms.Compose([transforms.Resize((32, 32)), transforms.
 base_train_dataset = datasets.CIFAR10(root='./data', train=True, download=True)
 base_test_dataset = datasets.CIFAR10(root='./data', train=False, download=True)
 train_full = ColorizationDataset(base_train_dataset, transform_input, transform_target
 test_dataset = ColorizationDataset(base_test_dataset, transform_input, transform_target
 train_size = int(0.8 * len(train_full))
 val_size = len(train_full)-train_size
 train_dataset, val_dataset = random_split(train_full, [train_size, val_size])
 batch_size = 16
 train_loader = DataLoader(train_dataset, batch_size=batch_size, shuffle=True)
 val_loader = DataLoader(val_dataset, batch_size=batch_size, shuffle=False)
 test_loader = DataLoader(test_dataset, batch_size=batch_size, shuffle=False)
 # Just Looking at the data and trying too visualize it
 random_img_idx = torch.randint(0, 1000, (1,)).item()
 print(train_dataset[0][0])
 test_image = train_dataset[random_img_idx][0] # 0 for image part in (image, label) tuple.
 test_image = resize(test_image, (250, 250), antialias=None) # better visualization
 #print(test_image.shape)
 #print('Number of channels in test_image: ', test_image.shape[0])
 test_image.show()
 #to_pil_image(test_image)
 In [ ]:
 In [ ]:
3. Define the Model Architecture
 class Autoencoder(nn.Module):
 def __init__(self):
 super(Autoencoder, self).__init__()
 self.encoder = nn.Sequential(
 nn.Conv2d(1, 16, 3, stride=2, padding=1), nn.ReLU(),
 nn.Conv2d(16, 32, 3, stride=2, padding=1), nn.ReLU(),
 nn.Conv2d(32, 64, 3, padding=1), nn.ReLU(),
 nn.Conv2d(64, 128, 3, padding=1), nn.ReLU()
 )
 self.decoder = nn.Sequential(
 nn.ConvTranspose2d(128, 64, 3, padding=1), nn.ReLU(),
 nn.ConvTranspose2d(64, 32, 3, padding=1), nn.ReLU(),
 nn.ConvTranspose2d(32, 16, 4, stride=2, padding=1), nn.ReLU(),
 nn.ConvTranspose2d(16, 3, 4, stride=2, padding=1), nn.Sigmoid()
 )
 def forward(self, x):
 x = self.encoder(x)
 x = self.decoder(x)
 return x
 class ComprehensiveLoss(nn.Module):
 def __init__(self):
 super(ComprehensiveLoss, self).__init__()
 def forward(self, input, target):
 input = torch.clamp(input, 1e-7, 1-1e-7) # Prevent log(0)
 loss =-1 * (target * torch.log(input) + (1-target) * torch.log(1-input
 return loss.mean()
 def train_model(model, train_loader, val_loader, criterion, optimizer, num_epochs
 model.to(device)
 for epoch in range(num_epochs):
 model.train()
 running_loss = 0.0
 for gray_imgs, color_imgs in tqdm(train_loader, desc=f"Epoch {epoch+1}/
 gray_imgs, color_imgs = gray_imgs.to(device), color_imgs.to(device)
 outputs = model(gray_imgs)
 loss = criterion(outputs, color_imgs)
 optimizer.zero_grad()
 loss.backward()
 optimizer.step()
 running_loss += loss.item()
 print(f"Epoch [{epoch+1}/{num_epochs}], Loss: {running_loss / len(train_loader
 model.eval()
 val_loss = 0.0
 with torch.no_grad():
 for gray_imgs, color_imgs in val_loader:
 In [ ]:
gray_imgs, color_imgs = gray_imgs.to(device), color_imgs.to(device
 outputs = model(gray_imgs)
 val_loss += criterion(outputs, color_imgs).item()
 print(f"Validation Loss: {val_loss / len(val_loader):.4f}")
 4. Training the Model
 def train_model(model, train_loader, val_loader, criterion, optimizer, num_epochs
 model.to(device)
 for epoch in range(num_epochs):
 model.train()
 running_loss = 0.0
 for gray_imgs, color_imgs in tqdm(train_loader, desc=f"Epoch {epoch+1}/
 gray_imgs = gray_imgs.to(device)
 color_imgs = color_imgs.to(device)
 outputs = model(gray_imgs)
 loss = criterion(outputs, color_imgs)
 optimizer.zero_grad()
 loss.backward()
 optimizer.step()
 running_loss += loss.item()
 avg_loss = running_loss / len(train_loader)
 print(f"Epoch [{epoch+1}/{num_epochs}], Training Loss: {avg_loss:.4f}")
 # Validation loss
 model.eval()
 val_loss = 0.0
 with torch.no_grad():
 for gray_imgs, color_imgs in val_loader:
 gray_imgs = gray_imgs.to(device)
 color_imgs = color_imgs.to(device)
 outputs = model(gray_imgs)
 loss = criterion(outputs, color_imgs)
 val_loss += loss.item()
 val_loss /= len(val_loader)
 print(f"Validation Loss: {val_loss:.4f}")
 4.1 Loss function
 In [ ]:
 In [ ]:
 In [ ]:
 In [ ]:
# define your training loop with validation
 # ----------------------------
5. Showing Performance on Training
 data
 def visualize_colorization(model, dataset, device='cpu', num_images=5):
 model.eval()
 fig, axs = plt.subplots(num_images, 3, figsize=(10, 4 * num_images))
 with torch.no_grad():
 for i in range(num_images):
 gray, color = dataset[i]
 gray = gray.unsqueeze(0).to(device)
 output = model(gray).squeeze(0).cpu()
 axs[i, 0].imshow(to_pil_image(color))
 axs[i, 0].set_title("Original Color")
 axs[i, 1].imshow(to_pil_image(gray.squeeze(0).cpu()), cmap='gray')
 axs[i, 1].set_title("Grayscale Input")
 axs[i, 2].imshow(to_pil_image(output))
 axs[i, 2].set_title("Colorized Output")
 for j in range(3): axs[i, j].axis("off")
 plt.tight_layout()
 plt.show()
 6. Making Inferences
 def visualize_colorization(model, dataset, device='cpu', num_images=5):
 model.eval()
 fig, axs = plt.subplots(num_images, 3, figsize=(10, 4 * num_images))
 with torch.no_grad():
 for i in range(num_images):
 gray, color = dataset[i]
 gray = gray.unsqueeze(0).to(device)
 output = model(gray).squeeze(0).cpu()
 axs[i, 0].imshow(to_pil_image(color))
 axs[i, 0].set_title("Original Color")
 axs[i, 1].imshow(to_pil_image(gray.squeeze(0).cpu()), cmap='gray')
 axs[i, 1].set_title("Grayscale Input")
 axs[i, 2].imshow(to_pil_image(output))
 axs[i, 2].set_title("Colorized Output")
 for j in range(3): axs[i, j].axis("off")
 plt.tight_layout()
 plt.show()
 device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
 model = Autoencoder()
 In [ ]:
 In [ ]:
 In [ ]:
 In [ ]:
criterion = ComprehensiveLoss()
 optimizer = optim.Adam(model.parameters(), lr=1e-4)
 # Train the model
 train_model(model, train_loader, val_loader, criterion, optimizer, num_epochs=10
 # Visualize on training data
 visualize_colorization(model, train_dataset, device=device, num_images=5)
 # Visualize on test data
 visualize_colorization(model, test_dataset, device=device, num_images=10
Reasons:
  • Blacklisted phrase (1): :(
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jemberu Tomas

79594635

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

I had a private registry container that was causing this issue. my fix for this was to re-push the affected images. the manifests from a recent change were affected. the only change that I had done was to move the underlying registry folder on the local docker instance node from /docker-registry to /mnt/nfs/docker-registry. When I rsync'd the files, something must have affected the manifest sha sum. Not sure if that is the "exact" root cause, but that's the only thing I can think happened, and the fix was to repush the images, which was super fast since all the layers were already present, it created a new manifest sha sum instantly and I was able to pull again.

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

79594634

Date: 2025-04-27 03:25:17
Score: 1.5
Natty:
Report link

It may be caused by this problem
@TestPropertySource(locations = { "classpath:application.yml", "classpath:contract-test.properties" })@ActiveProfiles({ "local" })

Check application.yml and contract-test.properties

Ensure that the endpoint IDs for all Actuator-related configurations are legal (lowercase letters, numbers, and hyphens are allowed only -)

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

79594629

Date: 2025-04-27 03:16:15
Score: 0.5
Natty:
Report link

Are you trying to randomly change the color of a specific layer inside a LayerDrawable? If so, you can find the target drawable within the LayerDrawable either by index (getDrawable(int index)) or by ID (findDrawableByLayerId(int id)), and then change its color using setTint(int tintColor). If your LayerDrawable is created in XML, you can directly assign an ID to each layer like this:

<item
    android:id="@+id/background_layer"
    android:drawable="@drawable/bottom_background_drawable" />
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: wangpan

79594628

Date: 2025-04-27 03:12:15
Score: 0.5
Natty:
Report link

Got the same issue Here!
Date 2025-04-26
Workbench 8.0.40
MySQL 8.4.5
It looks like during the process of wizard importing CSV data or even on single row entering data, it will put a bXXXXX (XXXXX as being your data) in front of the wanted BINARY(1) data.

It will also put a b in front of all next data, even if data type was defined in the table editor carefully.

Moving BINARY(1) data in middle of attributes, note all next attributes:
INSERT INTO `noteluq`.`Cours` (`no_cours`, `cours_nom`, `credit`, `cycle`, `actif`, `departement`, `temps_actif`) VALUES ('ADM 1010', 'ADMIN DE GRANDS', '3', '1', b'1', b'ADMIN', b'0001');

The work around I found is moving your (hopefully only) binary attribute to the end of all attributes.

after correction:
INSERT INTO `noteluq`.`Cours` (`no_cours`, `cours_nom`, `credit`, `cycle`, `departement`, `temps_actif`, `actif`) VALUES ('ADM 1010', 'ADMIN DE TI CULS', '3', '1', 'ADMIN', '0001', b'1');

INSERT INTO `noteluq`.`Cours` (`no_cours`, `cours_nom`, `credit`, `cycle`, `departement`, `temps_actif`, `temps_retrait`, `actif`) VALUES ('ADM 1020', 'ADMIN DE GRANDS', '3', '1', 'ADMIN', '0001', '0004', b'0');

The import data table wizard seemed affected by the order data in table has been set. When I try to import data, even I put "actif" at the very end of attributes and save, it appears elsewhere. and creates an error While loading data.

Hope these informations helps

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Clément D.

79594617

Date: 2025-04-27 02:52:11
Score: 2.5
Natty:
Report link

If you've tried everything that's been written above and you have a WordPress website. It might just be that you're missing an index.php file

Reasons:
  • Blacklisted phrase (1): ve tried everything
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Lucifer

79594614

Date: 2025-04-27 02:49:10
Score: 0.5
Natty:
Report link

Thank you for using DolphinDB.

To resolve this issue, you can forcibly remove the recovering partitions of the table using dropRecoveringPartitions from the ops module.

use ops
dropRecoveringPartitions(dbPath="dfs://stock", tableName="stock")

Once that's done, you can safely delete the table using dropTable.

If you run into any other issues, don't hesitate to ask - we're happy to help!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Polly

79594612

Date: 2025-04-27 02:41:09
Score: 3.5
Natty:
Report link

Solve the problem by upgrading the Windows version,docker windows clients need at least 22H2 version Supports

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

79594610

Date: 2025-04-27 02:37:08
Score: 5.5
Natty:
Report link

The workaround is to downgrade the Xdebug version (of course by choosing a version that matches project PHP version).

Others used the same workaround as stated here https://www.reddit.com/r/PHPhelp/comments/q4cd85/xdebug_causing_err_connection_reset/

I don't know where to submit this issue to get it fixed (or at least investigated). Please share if you know where to do it.

Also, please share if you have a better solution.

Hope this helps!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • RegEx Blacklisted phrase (2.5): Please share
  • RegEx Blacklisted phrase (2.5): please share
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: AJoe16

79594602

Date: 2025-04-27 02:25:05
Score: 1.5
Natty:
Report link

postMessage is the standard approach for sending data from React Native to WebView especially for passing user data. injectJavaScript directly executes code in the WebView context, which is useful for DOM manipulation or calling functions but less useful for just passing data. Your current setup with postMessage and event listeners is the right pattern for this use case

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

79594599

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

I had this problem with third party sample code, it was linking with the option "-mwindows" in CMakeLists.txt. that's why there was no console output.

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

79594596

Date: 2025-04-27 02:05:01
Score: 3
Natty:
Report link

make sure not to link with the option "-mwindows"

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

79594581

Date: 2025-04-27 01:38:56
Score: 5.5
Natty: 5
Report link

Multi Architecture

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sahrul Gunawan Indonesia

79594580

Date: 2025-04-27 01:36:55
Score: 1
Natty:
Report link
text = input()
exit_text = ['Done', 'done', 'd']
while True:
    for letter in reversed(text):
        print(letter, end='')
    print()
    text = input()
    if text in exit_text:
        break
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tyler Truitt

79594575

Date: 2025-04-27 01:29:54
Score: 2.5
Natty:
Report link

I’m the maintainer of Plotlars.

Good news—starting with Plotlars 0.9.0 (just released!) you can add a secondary y-axis to any cartesian plot.

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

79594562

Date: 2025-04-27 01:05:49
Score: 2
Natty:
Report link

The problem was solved by wrapping the prompt with the chat template that Llama models use during instruction tuning. Adding the special tokens to the prompt better steered the model in the right direction.

Here is a code block that demonstrates what worked:

# Prepare a prompt for email re-write task
original_text = "Hi guys, just checking in to see if you finally finished the slides for next week when we meet with Jack. Let me know asap. Cheers, John"

messages = [
    {"role": "system", "content": "You are an AI assistant that revises emails in a professional writing style."},
    {"role": "user", "content": f"Revise the following draft email in a professional voice, preserving meaning. Only provide the revised email.\n\n### Draft:\n{original_text}"}
]


# Apply the chat template (adds special tokens like <|start_header_id|>, etc.)
prompt = tokenizer.apply_chat_template(
    messages,
    tokenize=False, # We want the string, not tokens yet
    add_generation_prompt=True # Ensures the prompt ends expecting the assistant's turn
)


print("--- Formatted Prompt ---")
print(prompt)
print("------------------------")
Reasons:
  • Blacklisted phrase (1): Cheers
  • RegEx Blacklisted phrase (1): Hi guys
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user2101255

79594553

Date: 2025-04-27 00:47:45
Score: 1
Natty:
Report link
856665)))+12215560 G=J end end end end end end end s=#Y return H(G)end,function(R,V)local H=m(V)local Q=function(Q)return s(R,{Q},V,H)end return Q end,function(R)for V=861835+-861834,#R,-547061-(-547062)do S[R[V]]=S[R[V]]+(-836683-(-836684))end if Q then local s=Q(true)local H=Y(s)H[V(353563-353686)],H[V(-923293-(-923168))],H[V(-124745+124636)]=R,C,function()return-1043234-316256 end return s else return i({},{[V(831539+(((268913+(-275522-(-109814)))+(-326386-(-1002313)))+-1610796))]=C,[V(612861-612984)]=R;[V(85515-85624)]=function()return 161596+-1521086 end})end end,function(R,V)local H=m(V)local Q=function(Q,i,Y,X,G)return s(R,{Q,i,Y;X;G},V,H)end return Q end return(r(((-354902+17762895)-(-97778))-847948,{}))(H(G))end)(getfenv and getfenv()or _ENV,unpack or table[V(((36683+(-857651+313452))-509885)+(-9589+(561505-(((-695251+(-175762+-11908))-(-384528))+(-92146+125190)))))],newproxy,setmetatable,getmetatable,select,{...})end)(...)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Phan The Bao

79594550

Date: 2025-04-27 00:33:43
Score: 0.5
Natty:
Report link

Adding the line below to

/etc/httpd/conf/httpd.conf

saved my project. A one long running script (2-4minutes) just quit. No error, no log, nothing. Didn't even finished what was send out. I could not find any log relative to the time stamps on the failures. (Alma8, php8, httpd 2.4.37. Something in Apache can also kill a running script and leave NO trail. THANK YOU to the poster who mentions that change.

ProxyTimeout 600
Reasons:
  • Blacklisted phrase (0.5): THANK YOU
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: denpick

79594546

Date: 2025-04-27 00:26:41
Score: 5.5
Natty:
Report link

没有大神回答一下吗 我也遇到了同样问题,我是使用NotificationHub.php,错误是一样的

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • No latin characters (1.5):
  • Low reputation (1):
Posted by: user30377628

79594545

Date: 2025-04-27 00:25:41
Score: 0.5
Natty:
Report link

I actually solved this and wanted to post the solution.

The fix was to convert to "SliverGridDelegateWithMaxCrossAxisExtent) and set the "maxCrossAxisExtent" to the width of the image, an then leave childAspectRatio as the width/height of the image.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Evan R.

79594543

Date: 2025-04-27 00:17:40
Score: 3
Natty:
Report link

Ok, it seems Clangd is using gRPC so the example I have be trying to follow is not valid, clangd version 18.1.3 (1ubuntu1).

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

79594540

Date: 2025-04-27 00:09:38
Score: 0.5
Natty:
Report link

Thank you for the clues! I had to run the solution from @DmytroMitin through the debugger to grasp what was happening.

package dynamicProperties

import scala.language.dynamics

class DynamicProps(val props: java.util.Properties, val propName: String = "", val prop: Option[String] = None) extends Dynamic:
  def updateDynamic(name: String)(value: String): AnyRef =
    val newName = if propName.isEmpty then name else propName + "." + name
    props.setProperty(newName, value)
  def selectDynamic(name: String): DynamicProps =
    val newName = if propName.isEmpty then name else propName + "." + name
    val newProp = Option(props.getProperty(newName))
    DynamicProps(props, newName, newProp)
  def applyDynamicNamed(name: String)(args: (String, String)*): Any =
    if name != "add" then throw IllegalArgumentException()
    for (k, v) <- args do
      props.setProperty(k, v)

  override def toString: String = prop.getOrElse("n/a")

This is my test code.

import dynamicProperties.DynamicProps
import org.scalatest.funsuite.AnyFunSuite

class DynamicPropsTest extends AnyFunSuite:
  test("Set username") {
    val sysProps = DynamicProps(System.getProperties)
    sysProps.username = "Fred"
    assert(sysProps.username.toString() == "Fred")
    sysProps.xxx.yyy = "bbb"
    assert(sysProps.xxx.yyy.toString() == "bbb")
  }
  test("Assign java.home") {
    val sysProps = DynamicProps(System.getProperties)
    val home = sysProps.java.home.toString()
    val javaHome: String = System.getProperty("java.home")
    assert(home == javaHome)
  }
  test("Add key/value pairs") {
    val sysProps = DynamicProps(System.getProperties)
    sysProps.add(username="Fred", password="Secret")
    assert(sysProps.username.toString() == "Fred")
    assert(sysProps.password.toString() == "Secret")
  }

For setting the properties with multiple periods, I noticed the code jumped to selectDynamic before going to updateDynamic .

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @DmytroMitin
  • Self-answer (0.5):
Posted by: Christopher Spears

79594529

Date: 2025-04-26 23:51:34
Score: 2
Natty:
Report link

The == operator follows specific type coercion rules. null and undefined are equal to each other by special definition in JavaScript, but they don't equal false because comparison with booleans involves converting the boolean to a number first (false becomes 0), and neither null nor undefined equal 0.

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

79594522

Date: 2025-04-26 23:41:31
Score: 7 🚩
Natty: 5.5
Report link

Is there any upwork api to apply to jobs?

Reasons:
  • Blacklisted phrase (1): Is there any
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Is there any
  • Low reputation (1):
Posted by: Ali Abdullah

79594518

Date: 2025-04-26 23:36:30
Score: 0.5
Natty:
Report link

For Firebase, you need to run the download commands like "sudo npm install dotenv --save" inside the functions folder; otherwise, it won't work. This was the issue that I just had.

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

79594517

Date: 2025-04-26 23:33:29
Score: 3
Natty:
Report link

You can create a virtual environment on the USB drive and that will allow you to run cmd for the USB. The file would be something like 'cmd venv.bat'.

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

79594512

Date: 2025-04-26 23:23:27
Score: 2.5
Natty:
Report link

The following works to return all rows:

const results = await sequelize.query(
  `SELECT id FROM moneys`,
  { type: QueryTypes.SELECT }
);
return results;

This is in line with the documentation at https://sequelize.org/docs/v6/core-concepts/raw-queries .

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

79594511

Date: 2025-04-26 23:21:27
Score: 0.5
Natty:
Report link

Without another bridging condition to tell whether the sender on a comment record is the buyer or the seller, the query is under-constrained and COUNT of anything will return the COUNT of the under-constrained Cartesian product, i.e. GROUPing BY only order_id here.

This is because "senders" in the comment system are a completely independent role from buyer or selling in the order system, stemming from "order_responses" having a composite primary key - i.e. order_responses.order_id, unlike order_responses ( order_id, response_id ), is not a key in its own right that can be joined to alone without the addition further binding conditions found as foreign keys elsewhere, e.g. if "orders" had a FOREIGN KEY to requests ( request_id ) that allowed us to separately find a deterministic link to buyer_id.

We would need additional bridging journal entries as an (INNER) JOIN, as exist in the comment_receivers table, to pare down who is sending what to whom here by eliminating records.

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

79594488

Date: 2025-04-26 22:50:20
Score: 1.5
Natty:
Report link

You need to place the Exit Sub before your LowHours subroutine to prevent falling through to it after the loop completes.

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

79594458

Date: 2025-04-26 22:07:12
Score: 1
Natty:
Report link

This helped me:

  1. Stop all docker processes in Task Manager → Processes.

  2. Stop TiWorker in Task Manager → Processes.

  3. Restart Trusted Installer in Task Manager → Services.

  4. Restart Docker Desktop.

Detailed description https://stackoverflow.com/a/79594451/12691808. TiWorker suspends Trusted Installer → Trusted Installer suspends Windows Optional Features → Docker Desktop does not respond while Windows Optional Features is stuck.

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

79594457

Date: 2025-04-26 22:06:12
Score: 1
Natty:
Report link

This helped me:

  1. Stop all docker processes in Task Manager → Processes.

  2. Stop TiWorker in Task Manager → Processes.

  3. Restart Trusted Installer in Task Manager → Services.

  4. Restart Docker Desktop.

Detailed description https://stackoverflow.com/a/79594451/12691808. TiWorker suspends Trusted Installer → Trusted Installer suspends Windows Optional Features → Docker Desktop does not respond while Windows Optional Features is stuck.

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

79594455

Date: 2025-04-26 22:05:11
Score: 1
Natty:
Report link

This helped me:

  1. Stop all docker processes in Task Manager → Processes.

  2. Stop TiWorker in Task Manager → Processes.

  3. Restart Trusted Installer in Task Manager → Services.

  4. Restart Docker Desktop.

Detailed description https://stackoverflow.com/a/79594451/12691808. TiWorker suspends Trusted Installer → Trusted Installer suspends Windows Optional Features → Docker Desktop does not respond while Windows Optional Features is stuck.

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

79594449

Date: 2025-04-26 21:56:09
Score: 1.5
Natty:
Report link

As of Flutter 3.31 (beta channel) Flutter experimentally supports hot reload on web as well with a flag on run:

flutter run -d chrome --web-experimental-hot-reload

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

79594444

Date: 2025-04-26 21:44:07
Score: 2
Natty:
Report link

Make sure:

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

79594441

Date: 2025-04-26 21:36:05
Score: 1.5
Natty:
Report link

I'm not sure what the exact cause of this issue is, but I tried to remove the console.log from the custom block, and it works fine. I'm new to Node.js and Express, thus I can not get the exact issue.

As follows is my example, I tackled the issue with "express-validator": "^7.2.1",

.custom(async (value) => {
  const ticket = await Ticket.findOne({ _id: value })
  if (!ticket) {
    throw new Error("NOT_EXIST")
  }
  // console.lg('ticket result', ticket)
  return true
})

I know it's late, but I liked to share my experience and archive this solution for newbie learners like me.

Reasons:
  • RegEx Blacklisted phrase (1.5): I'm new
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: sfwnisme

79594427

Date: 2025-04-26 21:25:02
Score: 2
Natty:
Report link

I had a component that I know was breaking, but I didn't know why. My solution was to run this component inside a useEffect(() => setTimeout(() => renderComponent(), xx), []).

With this, I was able to capture the thrown error in the browser.

Argh you React for swallowing errors !

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

79594408

Date: 2025-04-26 21:11:59
Score: 3
Natty:
Report link

Screenshot of extest cli install-vsix options

I am not sure if it is taking the default vsix from any of your project sub-directories,
extest gives an option to override the vsix files, if you want to install your own extension, use the -f option to specify the path of your vsix file.

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

79594406

Date: 2025-04-26 21:10:58
Score: 2
Natty:
Report link

So who what when where why are IDDL in SWITCH TO DISABILITY PAY ONLY AS DDS ON MY SSDI SSID AND AS IF "SUDDEN INFANT DEATH SYNDROME" AND "SUDDEN AFFECTION DISORDER", AFFECTING SOMEONE ELSE AND EFFECTING ME AS YOURE ALL PAIDInG AND E'BETTING,WITH SPECIAL EFFECTS? As SOS,HELP, EASEMENT, AID, RELIEF, ALLEVIATION, RESTITUTION, RETIREMENT, ON ATTIRE AS I AM HEALD AS NUED NUDE CONTINENT AFTER CONTINENT ON BREAK FAST.. TACO BELL. AMAZON. YUMM. TRICON ENTERPRISES. WHILE YOU TREAT AND RETREAT AS SELF IN ME AS ORGAN POOLS AND AS "IF,IM THERE IN THE FLESH.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Keitharentthee Lindseyannemaxf

79594398

Date: 2025-04-26 21:01:57
Score: 1.5
Natty:
Report link

This happened to me as a beginner a couple of times!

Add this to the header of your request:

KEY: Accept
VALUE: application/json

The server should now respond with a response body!

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