79328318

Date: 2025-01-04 05:46:30
Score: 1.5
Natty:
Report link

This is what works for me: make sure that Command line tool is selected in the Xcode

  1. Go to Xcode preference
  2. Selecte location
  3. make sure that Command line tool is selected
Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Abhitech

79328308

Date: 2025-01-04 05:35:28
Score: 1
Natty:
Report link

7 years later if you're getting this error, see the message here

Effective June 17, 2024, Cloud Source Repositories isn't available to new customers. If your organization hasn't previously used Cloud Source Repositories, you can't enable the API or use Cloud Source Repositories. New projects not connected to an organization can't enable the Cloud Source Repositories API. Organizations that have used Cloud Source Repositories prior to June 17, 2024 are not affected by this change.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Wilhelm de Fheur Gorm

79328307

Date: 2025-01-04 05:35:27
Score: 7.5 ЁЯЪй
Natty: 6.5
Report link

Very helpful advice within this article! It is the little changes that produce the largest changes. Many thanks for sharing!

Full Stack Developer Course in Bangalore Full Stack Training in Bangalore Full Stack Training in Marathahalli

React Training in Bangalore

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): this article
  • Blacklisted phrase (2): thanks for sharing
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Infocampus

79328299

Date: 2025-01-04 05:28:24
Score: 1
Natty:
Report link

I was getting the same error while installing The transformers Library From hugginface, Specifically while installing flax and tensor flow

i Found a Solution To my problem, Leaving it here in case Anyone Else gets Stuck on this.

pip install 'transformers[tf-cpu]'

pip install 'transformers[flax]' (these commands are given on hugginface transformers installation page)

i tried multiple things but nothing i saw on the internet Worked.

then out of Frustration i installed Flax and TF(Tensor-Flow) like normal commands inside a virtual python Env,

pip install tf

pip install flax

and they Worked.

maybe this will help someone.

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

79328295

Date: 2025-01-04 05:25:24
Score: 1.5
Natty:
Report link

You can use CSS Gradients to achieve the BG. This will take some playing around with gradient directions and color code but it is achievable.

CSS Gradients take colors, and transition them in certain directions.

https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_images/Using_CSS_gradients[![enter image description here]1]1

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Whitelisted phrase (-1.5): You can use
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: AidanBruner

79328289

Date: 2025-01-04 05:18:22
Score: 3.5
Natty:
Report link

Change in this work: Settings - Editor - Color Scheme - Color Scheme Font

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Linh Trс║зn

79328284

Date: 2025-01-04 05:15:21
Score: 1.5
Natty:
Report link

Earlier you were trying to center the content vertically using justifyContent: 'center'.

This works, fine but we need to also look for few other things:

  1. The parent container has flexDirection: 'column' which is correct for stacking items vertically.
  2. The children components are not wrapped in additional component that is changing the layout unintentionally.
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Abhitech

79328281

Date: 2025-01-04 05:13:21
Score: 0.5
Natty:
Report link

As it turns out, Discord Game SDK is deprecated, and Discord isn't really saying that out loud. In C# land there are unofficial libraries to do Rich Presence like discord-rpc-sharp which I had success with. If you need to use an old version of .NET Framework like 3.5 you can use the v1.0.175 version of the library, as it's still functional.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: user18686221

79328275

Date: 2025-01-04 05:05:19
Score: 0.5
Natty:
Report link

Complete shot in the dark here because I know Symfony could show similar behavior for the same reason:

Try clearing all of your caches with the following:

php artisan cache:clear
php artisan route:clear
php artisan config:clear
php artisan view:clear

Also ensure APP_ENV is set correctly in your .env file.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ervin ┼аabi─З

79328271

Date: 2025-01-04 05:00:17
Score: 7.5 ЁЯЪй
Natty: 5
Report link

Again it's not related to proxy at all. Why you keep believing it's proxy related ? Can someone please share a working solution?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can someone please share
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Simon

79328262

Date: 2025-01-04 04:52:15
Score: 3
Natty:
Report link

рд╕реЗрд╡рд╛ рдореЗрдВ, рдЬрд┐рд▓рд╛ рдкрдВрдЪрд╛рдпрдд рд░рд╛рдЬ рдЕрдзрд┐рдХрд╛рд░реА, рдореБрдЬрдлреНрдлрд░рдирдЧрд░ рдЙрддреНрддрд░ рдкреНрд░рджреЗрд╢

рд╡рд┐рд╖рдп: рдмрд┐рдирд╛ рд╕реВрдЪрдирд╛ рджрд┐рдП рдкреНрд░рдзрд╛рди рджреНрд╡рд╛рд░рд╛ рд╣рдЯрд╛рдП рдЬрд╛рдиреЗ рдХреЗ рд╕рдВрдмрдВрдз рдореЗрдВ рд╢рд┐рдХрд╛рдпрдд рдПрд╡рдВ рдиреНрдпрд╛рдп рдХреА рдорд╛рдВрдЧред

рдорд╣реЛрджрдп/рдорд╣реЛрджрдпрд╛,

рд╕рд╡рд┐рдирдп рдирд┐рд╡реЗрджрди рд╣реИ рдХрд┐ рдореИрдВ рд░реАрддреВ рдЪреМрд╣рд╛рди, рдЧреНрд░рд╛рдо рдЬрд▓рд╛рд▓рдкреБрд░ рдиреАрд▓рд╛, рд╡рд┐рдХрд╛рд╕рдЦрдВрдб рдЬрд╛рдирд╕рда, рдЬрд┐рд▓рд╛ рдореБрдЬрдлреНрдлрд░рдирдЧрд░ рдХреА рдирд┐рд╡рд╛рд╕реА рд╣реВрдВред рдореИрдВ рдЕрдкрдиреЗ рдЧреНрд░рд╛рдо рдкрдВрдЪрд╛рдпрдд рдореЗрдВ рдкрдВрдЪрд╛рдпрдд рд╕рд╣рд╛рдпрдХ , рдХреЗ рд░реВрдк рдореЗрдВ рдХрд╛рд░реНрдпрд░рдд рд╣реВред рдорд╣реЛрджрдп рдкреНрд░рдзрд╛рди рдФрд░ рд╕рдЪрд┐рд╡ рджреНрд╡рд╛рд░рд╛ рдмрд┐рдирд╛ рдХрд┐рд╕реА рдкреВрд░реНрд╡ рд╕реВрдЪрдирд╛ рдФрд░ рдмрд┐рдирд╛ рдЙрдЪрд┐рдд рдХрд╛рд░рдг рдмрддрд╛рдП, рдореБрдЭреЗ рдореЗрд░реЗ рдкрдж рд╕реЗ рд╣рдЯрд╛ рджрд┐рдпрд╛ рдЧрдпрд╛ред рдпрд╣ рдХрд╛рд░реНрдпрд╡рд╛рд╣реА рди рдХреЗрд╡рд▓ рдЕрдиреНрдпрд╛рдпрдкреВрд░реНрдг рд╣реИ рдмрд▓реНрдХрд┐ рдкрдВрдЪрд╛рдпрдд рд░рд╛рдЬ рдЕрдзрд┐рдирд┐рдпрдо рдХреЗ рдкреНрд░рд╛рд╡рдзрд╛рдиреЛрдВ рдХрд╛ рднреА рдЙрд▓реНрд▓рдВрдШрди рд╣реИред

рдореЗрд░реА рдирд┐рдпреБрдХреНрддрд┐ рдирд╡рдВрдмрд░ 2021 рдХреЛ рд╣реБрдИ рдереА, рдФрд░ рддрдм рд╕реЗ рдореИрдВ рдЕрдкрдиреЗ рд╕рднреА рдХрд░реНрддрд╡реНрдпреЛрдВ рдХреЛ рдИрдорд╛рдирджрд╛рд░реА рдФрд░ рдирд┐рд╖реНрдард╛ рдХреЗ рд╕рд╛рде рдирд┐рднрд╛ рд░рд╣реА рд╣реВрдВред рдкреНрд░рдзрд╛рди рджреНрд╡рд╛рд░рд╛ рдмрд┐рдирд╛ рд╕реВрдЪрдирд╛ рдпрд╛ рдЙрдЪрд┐рдд рдкреНрд░рдХреНрд░рд┐рдпрд╛ рдХреЗ рд╣рдЯрд╛рдпрд╛ рдЬрд╛рдирд╛ рдореЗрд░реЗ рдЕрдзрд┐рдХрд╛рд░реЛрдВ рдХрд╛ рд╣рдирди рд╣реИред

рдЕрддрдГ рдЖрдкрд╕реЗ рдЕрдиреБрд░реЛрдз рд╣реИ рдХрд┐ рдХреГрдкрдпрд╛ рдЗрд╕ рдорд╛рдорд▓реЗ рдХреА рдЬрд╛рдВрдЪ рдХрд░реЗрдВ рдФрд░ рдореБрдЭреЗ рдиреНрдпрд╛рдп рджрд┐рд▓рд╛рдиреЗ рд╣реЗрддреБ рдЙрдЪрд┐рдд рдХрджрдо рдЙрдард╛рдПрдВред рдпрджрд┐ рдЖрд╡рд╢реНрдпрдХ рд╣реЛ, рддреЛ рд╕рдВрдмрдВрдзрд┐рдд рдкреНрд░рдзрд╛рди рдФрд░ рд╕рдЪрд┐рд╡ рдХреЗ рдЦрд┐рд▓рд╛рдл рдХрд╛рд░реНрд░рд╡рд╛рдИ рдХреА рдЬрд╛рдП рддрд╛рдХрд┐ рднрд╡рд┐рд╖реНрдп рдореЗрдВ рдЗрд╕ рдкреНрд░рдХрд╛рд░ рдХреЗ рдЕрдиреНрдпрд╛рдпрдкреВрд░реНрдг рдХрд╛рд░реНрдп рди рд╣реЛрдВред

рд╕рдВрд▓рдЧреНрди:

  1. рдирд┐рдпреБрдХреНрддрд┐ рдкрддреНрд░ рдХреА рдкреНрд░рддрд┐ред

рд╕рдзрдиреНрдпрд╡рд╛рджред

рднрд╡рджреАрдп, рд░реАрддреВ рдЪреМрд╣рд╛рди рдЬрд▓рд╛рд▓рдкреБрд░ рдиреАрд▓рд╛ рдЬрд╛рдирд╕рда рдореБрдЬрдлреНрдлрд░рдирдЧрд░ рдореЛрдмрд╛рдЗрд▓ рдирдВрдмрд░ - 7465012078 [ рддрд╛рд░реАрдЦ -

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • No latin characters (2.5):
  • Low reputation (1):
Posted by: Savumita Savumita

79328261

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

You can set the default revalidation time for the layout or page to be equal to 0я╝МThis approach can effectively solve the problem you have raisedуАВ

export const revalidate = 0

or:

 const res = await fetch(
    "https://a*******z/api/v1/posts",
    { next: { revalidate: 0 } }
  );
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Yi oaiL

79328260

Date: 2025-01-04 04:50:15
Score: 0.5
Natty:
Report link

Here is a way if you want the property name with status:

$ jq '.provisionInfo | with_entries(.value = .value.Status)' tmp.json 

{
  "2b66706e-237c-4d05-b3c0-31b03186b9e5": "Up",
  "3fb6886e-9877c-4d05-b39f-31b03186b9e5": "Up"
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: nntrn

79328254

Date: 2025-01-04 04:45:13
Score: 4
Natty:
Report link

<[email protected] ><4180068332><01783438295><

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

79328250

Date: 2025-01-04 04:42:12
Score: 2
Natty:
Report link

1st step: type this command (via terminal) at the root of your project: npx ng update

2nd: Look at the suggested update of @angular/cli and apply it (only it). It is of the form: "ng update @angular/cli@", =17 in my case.

I hope it is well translated. I used a translator.

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

79328237

Date: 2025-01-04 04:30:10
Score: 0.5
Natty:
Report link

The answer isn't obvious, but it can be done...

<input type="submit" value="Add Review" formaction="addReview?gameId=${game.id}" class="ui blue labeled submit icon button"/>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: xpusostomos

79328235

Date: 2025-01-04 04:30:10
Score: 3.5
Natty:
Report link

As it seems, i missed last "/" in my base url

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

79328232

Date: 2025-01-04 04:25:09
Score: 0.5
Natty:
Report link

The same problem happened to me. It is due to incompatibility of python packages. missingpy is incompatible with the last version of python package.

Precisely the private function _check_weights does not exist anymore in neighbors._base.py in the last version of scikit-learn.

Furthemore, if you have a virtual environment, open the directory ".venv/lib/python3.13/site-packages/missingpy/knnimpute.py", you can see that _check_weights is imported from sklearn.neighbors.base and not from sklearn.neighbors._base.

This means that missingpy is not maintain anymore.

If you want to use it, you need to uninstall the newest version of scikit-learn :

And install one of the latest version of scilit-learn which is compatible with missingpy. For example you can install a version <= 1.1. For example :

pip install scikit-learn==1.1

Finally use the following commands.

import sklearn.neighbors._base sys.modules['sklearn.neighbors.base'] = sklearn.neighbors._base
from missingpy import MissForest

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

79328225

Date: 2025-01-04 04:14:07
Score: 4
Natty:
Report link

Problem solved. Switched to IB Gateway API instead of using the TWS API.

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

79328220

Date: 2025-01-04 04:09:06
Score: 1
Natty:
Report link

so far the only workaround is to create offline portable project folder like this: In case of after moving or renaming when the project folder stops working, do the following:

  1. empty these folders: python, venv
  2. create backup for the following files and folders: telemetry_user_id, webui.db, vector_db, uploads
  3. setup.bat
  4. paste the following files and folders: telemetry_user_id, webui.db, vector_db, uploads
  5. run.bat
  6. import any other backup if necessary.
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: intotheai

79328209

Date: 2025-01-04 04:00:04
Score: 1.5
Natty:
Report link

тИШ can't compose dependent functions.

In first example, the argument p in f is infered as fun _ => a, so f become independent function so тИШ works coincidentally.

If you want to compose dependent functions, write fun a => g (f a), or use g тИШ' f in Mathlib.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): can't
  • Low reputation (1):
Posted by: Miyahara K┼Н

79328205

Date: 2025-01-04 03:56:03
Score: 3.5
Natty:
Report link

Why not just copy over the ssh keys into the docker container?

RUN mkdir -p /root/.ssh

COPY id_rsa /root/.ssh/id_rsa
COPY id_rsa.pub /root/.ssh/id_rsa.pub

RUN chmod 600 /root/.ssh/id_rsa && chmod 644 /root/.ssh/id_rsa.pub

RUN ssh-keyscan -H myrepo.com >> /root/.ssh/known_hosts
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Why not
  • Low reputation (1):
Posted by: Dave982

79328200

Date: 2025-01-04 03:51:02
Score: 2
Natty:
Report link

I will suggest you use obspy version 1.4.0, if you are currently using version 1.4.1..

I have encountered this problem and have solved it in this way.

best,

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

79328198

Date: 2025-01-04 03:45:01
Score: 3.5
Natty:
Report link

Thanks to @BenzyNeez, now I know there are TWO .shadow() methods in ShapeStyle:

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @BenzyNeez
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Pegasus Roe

79328197

Date: 2025-01-04 03:43:01
Score: 0.5
Natty:
Report link

The idea of the Data Transfer Object (DTO) is to have a dedicated data class for accessing the API. A mapper is generally used to transform the DTO into Domain data models, which are used by the rest of the app. If your MemeList is simple, then the mapper will also be simple and this is not a large burden.

In this simple case you might be able to use the single MemeList data class for all other uses. If your API is clean and without superfluous extra fields, the field names are reasonable, and the structure of the data is acceptable, then you could get by.

But the idea of a DTO is to insulate your business and repository layers from the details of the particular API you are using, and rely only on Domain layer data models. It is more of an insurance policy against future changes. If the DTO is done correctly, you could change your API provider or change from Retrofit to Ktor and the code changes would be limited to the API code (not the Domain, Repository, UseCases, etc.)

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

79328187

Date: 2025-01-04 03:29:58
Score: 4
Natty:
Report link

I also encountered the same problem

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

79328185

Date: 2025-01-04 03:27:57
Score: 1.5
Natty:
Report link

Thank you @Inbar Gazit for the response. I've come across several similar posts, but none of them provide the expected answer. Adding the complete solution for any future reference.

Below is my example template stored in DocuSign Account with some PreFillTabs added.

enter image description here

To send an envelope using Template stored on DocuSign, follow the steps below

  1. Create the Envelope using the template in "created" status in EnvelopeDefinition
EnvelopeDefinition BuildEnvelopeDefinition(string DSTemplateId)
{
    EnvelopeDefinition envelopeDefinition = new EnvelopeDefinition();
    envelopeDefinition.TemplateId = DSTemplateId;
    envelopeDefinition.EmailSubject = "PreFill Tabs Test Document";
    envelopeDefinition.EmailBlurb = "PreFill Tabs Email Blurb for Testing";
    envelopeDefinition.TemplateRoles = TemplateSigner();

    envelopeDefinition.Status = "created";

    return envelopeDefinition;
}
  1. Use the DocuSign SDK/API to CreateEnvelope()
EnvelopeSummary envSummary = EnvelopesApi.CreateEnvelope(DSAccountId, env);
  1. Fetch the Tabs from the draft envelope
Tabs tabs = EnvelopesApi.GetDocumentTabs(DSAccountId, draftEnvelopeId, "1");
  1. Set the values for the PreFillTabs. The TabId is not immutable. So use the TabId from the response of the above API call to set values for it.
  2. Use the UpdateDocumentTabs to set values for the Tabs in the draftEnvelope.
EnvelopsApi.UpdateDocumentTabs(DSAccountId, draftEnvelopeId, "1", tabsVal); 
  1. Create another EnvelopeDefinition with Status as "sent"
EnvelopeDefinition envDef2 = new EnvelopeDefinition()
{
    EnvelopeId = draftEnvelopeId,
    Status = "sent"
}
  1. Use the DocuSign SDK/API to CreateEnvelope() again with the new EnvelopeDefinition(envDef2)
EnvelopeSummary envSummary2 = EnvelopesApi.CreateEnvelope(DSAccountId, envDef2);
  1. Get the Envelope Status using envSummary2.Status.
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Inbar
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Adam

79328157

Date: 2025-01-04 02:53:50
Score: 2
Natty:
Report link

It's actually fairly easy. I've just had to do this after Access stopped working. Create a new folder and transfer every thing to it except the lock file. Delete the original folder with the lock file. Rename the new folder with the same name as the original. Problem solved. Obviously on a large multi user system there will be a bit more work to do but nothing very drastic or demanding.

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

79328150

Date: 2025-01-04 02:48:49
Score: 2
Natty:
Report link

I just wrote a package to do this: https://github.com/biona001/sweepystats

Internally sweeping is dispatched to BLAS3 calls, so it should be nearly optimally efficient.

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

79328139

Date: 2025-01-04 02:39:47
Score: 3.5
Natty:
Report link

I found the problem: Datagrid's IsEditable attribute(property) is changed to Editable in new versions. I hope Mudblazor team try to not change fundamental characteristics of such components. the only way to find out the problem was VS IntelliSense color schema for undefined property's name. enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: siamak danesh

79328136

Date: 2025-01-04 02:36:46
Score: 8.5
Natty: 8.5
Report link

I have had a client update their credit card information, but there is no way I can tell to process the delinquent amount. How do you process it???

Reasons:
  • Blacklisted phrase (1): How do you
  • Blacklisted phrase (1): ???
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: uent

79328125

Date: 2025-01-04 02:28:44
Score: 1
Natty:
Report link

The keyring crate requires that you specify the platforms you want to support.

If you wanted support MacOS and Windows, you'd specify in your Cargo.toml like this:

keyring = { version = "3", features = ["apple-native", "windows-native"] }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mrmizz

79328122

Date: 2025-01-04 02:26:43
Score: 1.5
Natty:
Report link

Adding 'local.settings.json' file configured with the following CORS setting to my Azure Function API project resolved the issue for me:

{
  "Values": {
  },
  "Host": {
    "CORS": "*"
  }
}

The following SO answer helped me (https://stackoverflow.com/a/60109518/443971).

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: seanrco

79328112

Date: 2025-01-04 02:19:41
Score: 4
Natty: 4.5
Report link

This one works for me ... for current directory (pwd), use .. ls -Ap1 | pr -t -3 Regards Fred James

Reasons:
  • Blacklisted phrase (1): Regards
  • Whitelisted phrase (-1): works for me
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Fred James

79328090

Date: 2025-01-04 02:00:38
Score: 1
Natty:
Report link

I feel like you have to loop and you know how to build a loop. Your error probably comes from deleting the row above where you are at when it moves up to the next iteration. Excel really only likes deleting the row you are on or previous ones you have visited. And, of course, as you designed it, when deleting rows, you should process from the bottom to the top.

Instead of deleting the row above when conditions are met, don't. Your "If" should only delete the row you are on or the one you came from. In other words, check down, not up.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Don of the Dead

79328089

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

I figure this out myself. I change the amplify build setting to the following

version: 1
applications:
    -
        backend:
            phases:
                build:
                    commands: ['npm ci --cache .npm --prefer-offline', 'npx ampx pipeline-deploy --branch $AWS_BRANCH --app-id $AWS_APP_ID']
        frontend:
            phases:
                build:
                    commands: ['mkdir ./dist && touch ./dist/index.html']
            artifacts:
                baseDirectory: dist
                files:
                    - '**/*'
            cache:
                paths:
                    - '.npm/**/*'
        appRoot: packages/shared_backend
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: JosephHung

79328084

Date: 2025-01-04 01:58:37
Score: 1.5
Natty:
Report link

This adds a blank line

.pp
\&
.pp

The \& is a zero-width space, so nothing is printed. But the paragraph is not empty, so you get the blank line.

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

79328070

Date: 2025-01-04 01:46:35
Score: 0.5
Natty:
Report link

Account ID is a constant value in Azure Databricks and equals to
2ff814a6-3304-4ab8-85cb-cd0e6f879c1d
It should not be confused with Tenant ID or Client ID.

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

79328067

Date: 2025-01-04 01:43:34
Score: 3
Natty:
Report link

I see you are using Ollama from langchain.llms, you might need to try LLM instead from crewAI or completion from LiteLLM.

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

79328042

Date: 2025-01-04 01:28:31
Score: 3.5
Natty:
Report link

After some experimentation, what worked for me was Edit > IntelliSense > Switch between automatic and tab-only Intellisense completion

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: TOM

79328041

Date: 2025-01-04 01:28:31
Score: 2
Natty:
Report link

I will try to partly speak about the topic.

We have faced a similar question, when using different versions of an Open Api interface.

The main question was:

Does having a common business logic for the different api versions make sense?

And, if the business logics of the different versions are very similar, in order not to duplicate code, we are considering the option of using a library that generates code (super-models, which are a super-set of all model versions).

This is only possible if all model pojos are compatible in the different versions.

If so, the idea, is to translate the particular model request into a super-model request, which would be the suitable pojo for running your business logic.

And then, when you have a super-model answer, you will have to translate it into the particular model answer, before being converted eventually into json by Jersey (or whatever library you use)

I want to share with you the library I programmed to try to solve the problem (it is at a very early stage, but its unit tests work).

If you try it and have problems, you can contact me at ([email protected])

A link to the library:

github

Shared at my own server

Reasons:
  • Blacklisted phrase (0.5): contact me
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Francisco Javier Rojas

79328031

Date: 2025-01-04 01:15:28
Score: 3.5
Natty:
Report link

i don't have enough reputation to answer the upper comment, but it's as simple as just creating a file called health, no need for health.html

Reasons:
  • RegEx Blacklisted phrase (1.5): i don't have enough reputation
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Davi Barberini

79328029

Date: 2025-01-04 01:14:27
Score: 0.5
Natty:
Report link

A solution that uses built-in @ViewBuilder and doesn't convert views to AnyView.

The advantage compared to creating your own @resultBuilder is that you don't have to redefine other methods such as buildExpression, buildIf, etc.

The disadvantage is that it only works if you want to apply the same transformation to all subviews. In case of a divider, for example, you can't only add dividers between subviews, this solution will add an extra divider before the first subview. I couldn't find a way to retrieve the first element of a value pack..

Also note that this only works if we have more than one subview. If you try

BoxWithDividerView {
    Text("Hello")
}

you will get a compilation error.

import SwiftUI

struct BoxWithDividerView<each SubView: View>: View  {
    private let subviews: (repeat each SubView)
    init (@ViewBuilder content: @escaping () -> TupleView<(repeat each SubView)>) {
        subviews = content().value
    }
    
    var body: some View {
        VStack {
            // using TupleView directly instead of ForEach etc.
            TupleView(
                // TupleView takes a tuple instead of an array,
                // which works nicely here with "repeat";
                ( repeat
                    // need another TupleView inside to wrap two views;
                    // if you're only applying modifies to the subviews,
                    // and are not adding extra views, you don't need this
                    TupleView(
                        // add all our views and their modifications here
                        (Divider(), each subviews)
                    )
                )
            )
        }
    }
}

struct ViewThatUsesBox: View {
    let show_airplane: Bool
    
    var body: some View {
        BoxWithDividerView {
            Text("Hello")
            Image(systemName: "house")
            Text("Some more text")
            // example demonstrating that we're able to use "if" conditions
            // inside our builder
            if show_airplane {
                Image(systemName: "airplane")
            }
        }
    }
}

#Preview {
    ViewThatUsesBox(show_airplane: true)
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @ViewBuilder
  • User mentioned (0): @resultBuilder
  • Low reputation (1):
Posted by: Alex

79328024

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

This doesn't seem to have anything to do with SQL server CDC as such, but more that the JVM heap space is insufficient for the volume of data the Airbyte worker is attempting to process.

I haven't used Airbyte but heap space is a configurable option at the JVM level. The values.yml file shown is setting the JVM heap space to a size equal to 80% of the available RAM (-XX:MaxRAMPercentage=80.0).

I'm guessing that this means the JVM has access to 80% of the memory configured for the worker container which if I am understaing the configuration file could be as little as 80% of 1 Gi (i.e. 858 MiB).

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

79328023

Date: 2025-01-04 01:08:26
Score: 3.5
Natty:
Report link

you can add a condition to check the network connectivity

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

79328019

Date: 2025-01-04 01:07:25
Score: 5
Natty: 4.5
Report link

%#я┐ея┐е%#я┐ея╝Ия╝Йя┐е%я┐ея┐етАжтАжя┐е&я┐е&тАжтАж*тАжтАжя┐ея┐е%тАжтАжя┐ея╝ЖтАжтАж тАжтАжя╝Жя╝Ея┐ея╝Жя╝Ея╝Ея╝Ея╝Е├Чя╝Жя╝Ия╝Ця╝Ця╝Чя╝Хя╝Ця╝Ця╝Ея┐е├ЧтАжтАжя┐ея╝ШтАжтАжя┐ея╝Е├Чя╝ЖтАжтАжя╝Ия╝Й├Чя╝Ея┐ея╝Ж я╝ЖтАжтАж├ЧтАжтАжя╝Ея┐ея╝Ия╝Й├Чя┐ея╝Ея╝ЖтАжтАжя╝Е├Ч├Ч тАжтАж├Чя╝ЖтАжтАжя╝Ея╝Ия╝ЙтАжтАжя╝Жя┐ея╝Гя╝Йя╝Ия╝Йя┐етАжтАжя╝ЖтАжтАж├ЧтАжтАжя╝Хя╝Шя╝Хя┐ея╝Жя╝Ш├Чя╝Ия╝ЙтАжтАжя╝Ея╝Ия╝Йя╝Ия╝Йя╝ЖтАжтАжя╝Ф тАжтАж├Чя╝Жя╝Ея┐е├ЧтАжтАжя╝Ея╝Ия╝Йя╝Ия╝Ея╝Ея╝Шя╝Щя╝Шя╝Ея╜Дя╜Ця╜Кя╜Дя╜Зя╜Дя╜Жя╜Шя╜Уя╜Бя╜Дя╜Ея╜Ея╜Чя╜Тя╜Ея╜Ея╜Т я╜Дя╜Дя╜Зя╜Ия╜Дя╜Тя╜Ия╜Дя╜Уя╜Зя╜Т я╜Ея╜Ля╜Уя╜Ря╜Фя╜Ия╜Ря╜Зя╜Тя╜Кя╜Ея╜Ля╜ЖтАжтАжя╝Ея┐етАжтАжя╝Е├Чя╝Жя┐е├Чя╝ЖтАжтАжя┐е├Чя╝ЖтАжтАжя╝Ия╝Йя╝▓я╝Дя╝Жя╝Й├Чя┐ея┐е├Чя╝Й

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • No latin characters (3):
  • Low reputation (1):
Posted by: giang xiao

79328017

Date: 2025-01-04 01:01:24
Score: 0.5
Natty:
Report link

I used MikeT's suggestion of iteration to solve this.

new popVacation() code:

public void popVacations(){
        repository = new Repository(getApplication());
        List<Vacation> allVacations = repository.getmAllVacations();
        ArrayAdapter<Vacation> spinnerAdapter = new ArrayAdapter<>(this, android.R.layout.simple_spinner_item, allVacations);
        spinnerAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
        spinner.setAdapter(spinnerAdapter);
        spinnerAdapter.notifyDataSetChanged();
        spinner.setSelection(findVacation(associatedVacation, allVacations));
    }

and the new findVacation:

public int findVacation(int associatedVacation, List<Vacation> allVacations) {
        int i = 0;
        for (Vacation vacation : allVacations){
            if (vacation.getVacationID() == associatedVacation){
                return i;
            }
            else i++;
        }
        return 0;
    }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Johnny Rinaldo

79328010

Date: 2025-01-04 00:55:23
Score: 3.5
Natty:
Report link

I can't comment on StefanKarpinski's answer b/c I don't have enough rep, but note that you can also use Distributions.DiscreteUniform(1,n) (for example) instead of 1:n. Worth mentioning b/c it's a formal distribution, which may have some advantages in certain cases.

Reasons:
  • RegEx Blacklisted phrase (1): can't comment
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Peter Todd Williams

79328008

Date: 2025-01-04 00:54:22
Score: 9.5
Natty: 7.5
Report link

Why did you add 3 to LEA in the second solution?

Thanks in advance

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Thanks in advance
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Starts with a question (0.5): Why did you add
  • Low reputation (1):
Posted by: user29045280

79328007

Date: 2025-01-04 00:54:22
Score: 1.5
Natty:
Report link

Yes according to the AWS documentation for elastic load balancers, changing the Scheme requires replacement.

Scheme

Required: No

Type: String

Allowed values: internet-facing | internal

Update requires: Replacement

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

79328005

Date: 2025-01-04 00:52:21
Score: 4
Natty:
Report link

After upgrading to v4.37.1 and facing this same issue, I ran wsl --update

Still facing the same issue, I unchecked 'Enable integration with my default distro"

My Docker displays : "You don't have any WSL 2 distros installed. Please convert a WSL 1 distro to WSL 2, or install a new distro and it will appear here."

Reasons:
  • No code block (0.5):
  • Me too answer (2.5): facing the same issue
  • Low reputation (1):
Posted by: emeka

79327996

Date: 2025-01-04 00:45:18
Score: 6 ЁЯЪй
Natty: 5.5
Report link

I have the same problem by in visual studio 2022, i solvent: Delete the old file exp FacturacionDataSet.Designer.cs and using the new FacturacionDataSet1.Designer.cs. thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): I have the same problem
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Low reputation (0.5):
Posted by: Erick Guardado

79327991

Date: 2025-01-04 00:39:16
Score: 4
Natty:
Report link

If someone needs an implementation in spring-boot, wish u find it helpful: https://github.com/yaeby/TextFromImage.git

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

79327972

Date: 2025-01-04 00:20:12
Score: 1
Natty:
Report link

Try this package.

It provides a fast, simple, and movable slider.
It can be used in connection with tkinter as well as other GUIs other than pyqt.

https://pypi.org/project/seolpyo-mplchart/

seolpyo-mplchart

Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: django.seolpyo.com

79327971

Date: 2025-01-04 00:19:12
Score: 1
Natty:
Report link

Try this package.

It provides a fast, simple, and movable slider.
It can be used in connection with tkinter as well as other GUIs other than pyqt.

https://pypi.org/project/seolpyo-mplchart/

seolpyo-mplchart

Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: django.seolpyo.com

79327952

Date: 2025-01-04 00:04:09
Score: 1
Natty:
Report link

I found a solution to this. Apparently it is an issue with corrupted volumes You have to stop all the containers, prune the volumes, then restart

  1. docker compose down
  2. docker volume prune
  3. docker compose up -d
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Oluwatobi Emmanuel

79327940

Date: 2025-01-03 23:48:06
Score: 3
Natty:
Report link

Try using CDate(Range(A1).Value), this converts the values to a date on the fly https://learn.microsoft.com/en-us/office/vba/language/concepts/getting-started/type-conversion-functions

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

79327939

Date: 2025-01-03 23:47:06
Score: 2.5
Natty:
Report link

I believe Solaris threads are a combination of user and kernel scope. See this ref

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

79327938

Date: 2025-01-03 23:46:05
Score: 4
Natty:
Report link

pls check if you have correct java version into runner enter image description here

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

79327933

Date: 2025-01-03 23:42:04
Score: 1.5
Natty:
Report link

I created a script to extract the unicode code point map from Google Fonts: https://github.com/terros-inc/expo-material-symbols

This can then be used after adding the font that can be downloaded from Google's releases page: https://github.com/google/material-design-icons/releases/latest

For example:

import glyphMap from './map.json'
const MaterialSymbols = createIconSet(glyphMap, 'Material Icons', 'MaterialIcons-Regular.ttf')
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: techied

79327932

Date: 2025-01-03 23:41:03
Score: 7 ЁЯЪй
Natty: 5
Report link

A├▒os despues, este articulo me ha ayudado mucho. Muchas gracias al se├▒or Gwang. Muy clara su expliacion y la mejor respuesta a este problema.

Reasons:
  • Blacklisted phrase (2): ayuda
  • Blacklisted phrase (2): gracias
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ruben Bermudez

79327925

Date: 2025-01-03 23:32:01
Score: 3
Natty:
Report link

Thank you very much: @JB-007, @z.. & @Spectral Instance; I truly appreciate your attention to this issue. For brevity, I ended up using the formula: =CONCAT(IF(ISNUMBER(SEARCH(C$1:C$11,A1)),D$1:D$11,"")) and it worked on my work laptop (M365) and also worked (briefly) on my home laptop (Microsoft Student Office 2019), but when I moved my reference table, Cols C & D, to their own worksheet (Sheet2!) is where I ran into problems.

  1. Like I said it worked as long as all the content stayed in the same worksheet, except Excel put brackets ({}) around my formula: enter image description here
  2. I moved my small example table to its own worksheet, Sheet2: enter image description here
  3. When I ran my updated formula, I got no value at all in the cell. Then when I clicked on the Formula Wizard, Excel completely crashed and shut down. enter image description here

I am assuming these issues are probably all linked to the destination version of Excel I'm using, but I'd rather hear from you. Thank you once again for your help!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): enter image description here
  • Whitelisted phrase (-1): it worked
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @JB-007
  • User mentioned (0): @Spectral
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Umby

79327924

Date: 2025-01-03 23:32:01
Score: 1
Natty:
Report link

Open file descriptors mean that JVM has open connections, which unfortunately cannot survive checkpoint dump via CRIU. Apparently, that's java specific problem, because CRIU claims that it persists open sockets and whatnot in linux.

Use org.crac.Resource to close and restore anything that opens sockets.

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

79327922

Date: 2025-01-03 23:31:01
Score: 0.5
Natty:
Report link

In Spark, xxhash64 does not use a customizable seed; it may default to 0 or a predefined value. In Python, xxhash.xxh64() requires an explicit seed, which defaults to 0 if not provided.

So, first find the seed used in Spark (consult the documentation or test values). then apply the same in Python.

import xxhash seed = 0 # Replace with the actual seed value used in Spark print(xxhash.xxh64('b', seed=seed).intdigest())

Reasons:
  • No code block (0.5):
Posted by: Ali Saberi

79327912

Date: 2025-01-03 23:22:59
Score: 3.5
Natty:
Report link

providing an empty ssl-ca will raise this error as well..

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

79327909

Date: 2025-01-03 23:20:58
Score: 1
Natty:
Report link

Reza Dorrani has a video and a GitHub repository (linked in the video description) that provides a solution for a dynamic form in Power Apps.

It requires a second list to supply the list of fields, or "properties" as you mentioned.

He provides the ability to convert the form fields to JSON and write it to a list, as well as convert the JSON to a collection.

HTH

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

79327908

Date: 2025-01-03 23:19:58
Score: 1
Natty:
Report link

Characters with accents, such as ├б, ├й, ├н, ├│, ├║, which I use because I work with the Spanish language, can be displayed correctly in the listings using the following configuration:

\lstset{
literate=%
{├б}{{\'a}}{1}
{├й}{{\'e}}{1}
{├н}{{\'i}}{1}
{├│}{{\'o}}{1}
{├║}{{\'u}}{1}}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ├Бngel Reyes Guzm├бn

79327905

Date: 2025-01-03 23:19:58
Score: 1
Natty:
Report link

Another option might be using a new version of a library I programmed that I have just uploaded to make it public.

It is based on pdfbox.

It is not mature yet but it is a good improvement compared to the previous version.

I am open to work together with somebody who is for making it better. ([email protected])

A link for downloading it: Java Pdf table extraction library v2.0

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Francisco Javier Rojas

79327896

Date: 2025-01-03 23:09:56
Score: 2.5
Natty:
Report link

In the end, I programmatically edited the faulty jar-dependency bytecode (and stripped the impacted methods/classes from the superfluous annotation) as part of my gradle build, through a gradle "TransformAction" class (and a bytecode editor library; javassist in my case).

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

79327890

Date: 2025-01-03 23:06:56
Score: 3.5
Natty:
Report link

If possible, the class name should start with a capital letter, and the first letter of the word that appears after it should also be capitalized.

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

79327881

Date: 2025-01-03 22:59:54
Score: 1.5
Natty:
Report link

You can always determine R2. All you need to do is to determine the naive model, (in this case can be a simple average). You take your predicted values, observed values and naive model predicted values. R2 is simply:

R2 = 1- Sum of squares (predicted, observed)/ Sum of squares (predicted_naive model, observed)

That is all.

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

79327858

Date: 2025-01-03 22:44:50
Score: 2
Natty:
Report link

The same problem happens to me. I'm also on windows, and I have a strong suspicion, that that's causing the problem. Can anyone write an answer, that doesn't use WSL? I tried updating pip, npm and node, and reinstalling all of the servers (emmet_lsp, clangd, pyright) none of them worked. I tried the kickstarter config, and everything worked in there, except for the Lsp. I'm truly lost.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Fl├│ri├бn Filk├│h├бzi

79327853

Date: 2025-01-03 22:42:49
Score: 7.5 ЁЯЪй
Natty: 4.5
Report link

Did you find the solution for this problem? i am also exposed to it now

Reasons:
  • RegEx Blacklisted phrase (3): Did you find the solution
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find the solution for this
  • Low reputation (1):
Posted by: Abdelrahman Hammam

79327848

Date: 2025-01-03 22:39:48
Score: 0.5
Natty:
Report link

Instead of

precision_curve, recall_curve, thresholds = precision_recall_curve(y_test, y_scores)

it should be

precision_curve, recall_curve, thresholds = precision_recall_curve(1-y_test, y_scores)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: oliver13

79327838

Date: 2025-01-03 22:34:47
Score: 0.5
Natty:
Report link

This is what I came up with

import tkinter as tk

def notifyTkInter(message):
    root = tk.Tk()
    root.geometry('400x100+1500+900')
    lbl = tk.Message(root,  fg='black', border=1, text=message, width=200, font=("Arial", 15))
    lbl.pack()
    root.mainloop()

notifyTkInter("Hello World")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: SomeGenericDev

79327836

Date: 2025-01-03 22:32:47
Score: 1
Natty:
Report link

ensure your server supports multisite if it does then add custom code to .htacess and wp-confi files

adding the code define( 'WP_ALLOW_MULTISITE', true );

.htacess /* Multisite */ define( 'MULTISITE', true ); define( 'SUBDOMAIN_INSTALL', false ); // Set to true if using subdomains define( 'DOMAIN_CURRENT_SITE', 'example.com' ); // Your main site domain define( 'PATH_CURRENT_SITE', '/' ); // The path where the network is installed define( 'SITE_ID_CURRENT_SITE', 1 ); define( 'BLOG_ID_CURRENT_SITE', 1 );

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

79327833

Date: 2025-01-03 22:30:46
Score: 1
Natty:
Report link
Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: velazcod

79327825

Date: 2025-01-03 22:27:45
Score: 1
Natty:
Report link

You don't need to have 2 React apps. The correct way is to use your controller to validate and redirect to the correct place, depending on the user's roles.

When you validate users, you can return to a different page using Inertia->render and passing the necessary props for each page. In that view, you can import whatever component you need for your interface, but creating two different React apps is not the best approach.

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

79327824

Date: 2025-01-03 22:27:45
Score: 1
Natty:
Report link

Yes, you can subclass Net::HTTP, override the private on_connect method, then use setsockopt on @socket.io.setsockopt to set the socket options including TCP Keepalive, e.g.

class KeepaliveHttp < Net::HTTP
  def on_connect
    @socket.io.setsockopt(Socket::SOL_SOCKET, Socket::SO_KEEPALIVE, true)
    @socket.io.setsockopt(Socket::SOL_TCP, Socket::TCP_KEEPIDLE, 5)
    @socket.io.setsockopt(Socket::SOL_TCP, Socket::TCP_KEEPINTVL, 20)
    @socket.io.setsockopt(Socket::SOL_TCP, Socket::TCP_KEEPCNT, 5)
  end
end

Inspired by this answer: https://stackoverflow.com/a/73704394/994496

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Emil O

79327815

Date: 2025-01-03 22:23:44
Score: 2
Natty:
Report link

I was facing a similar situation as I was trying to brute force a canary in a ctf pwn challenge. Your code exploit looks good buts it is missing a few things. You should make the process connection,p, also global. Don't forget to close the processes before the next iterations so that you don't get an OSError number 24.

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

79327799

Date: 2025-01-03 22:14:42
Score: 1.5
Natty:
Report link

Here is something that worked for me:
transition: ease-in-out 1s;
Though it looks kind of weird while it's growing, at least it's working (for me).

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

79327793

Date: 2025-01-03 22:10:41
Score: 2.5
Natty:
Report link

I just press "ctrl-v", to highlight the line. Then "alt-k" or "alt-j" to move it up or down respectively.

Not sure if it works on all nvim versions. I use LazyVim.

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

79327787

Date: 2025-01-03 22:07:41
Score: 2.5
Natty:
Report link

GET file:///E:/main-KPJ5OKOH.js net:ERR_FILE_NOT_FOUND

This kind of error usually happens when your index.html uses absolute paths to scripts, styles, etc., like /main-KPJ5OKOH.js. Electron will look of the file in the system's (or drive's) root directory. The same issue occurs when you have <base href="/"> in index.html, which seems to be inserted by Angular by default.

What you can do is setting the the base URL to something like . or ./ either in your angular.json, index.html, or via build flag:

ng build --base-href .

See also:

Reasons:
  • Blacklisted phrase (1): How should I
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: mwopitz

79327784

Date: 2025-01-03 22:06:40
Score: 0.5
Natty:
Report link

I was here trying to reference an Azure DevOps parameter (as apposed to a variable) in a bash script step of my Pipeline. My script wasn't in a file; it was defined in the YML itself.

I eventually figured it out: instead of prefixing the reference in a dolor-sign and wrapping in parenthesis like $(), I needed to wrap my parameter reference in double brackets like ${{ }}.

Here is my YML:


parameters:
 - name: name
  displayName: Customer Name
  type: string
  default: ABC
  values:
  - ABC
  - DEF
  - GHI

# ...

    - bash: |
        my_cli --customer ${{ parameters.customer }}

Utilizing bash environment variables didn't seem to work for me, but maybe it could have. See Examples | Bash@3 - Bash v3 task for more on that.

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

79327776

Date: 2025-01-03 21:59:39
Score: 0.5
Natty:
Report link

Edit- looks like it was low battery power on my mac. Once it was plugged in then it worked fine.

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

79327771

Date: 2025-01-03 21:55:38
Score: 0.5
Natty:
Report link

I also had the same problem so I built my own tool maven-module-graph.

Try it out on this project: https://github.com/eclipse/steady/tree/3d261afe9513f7c708324aa0183423ab2e9e4692

$ java -jar maven-module-graph-1.0.0-SNAPSHOT.jar --project-root . --plain-text output.txt --plain-text-indent 0

You can also use indent to show the hierarchy in the modules. Json format is also available.

org.eclipse.steady:root:3.2.5
org.eclipse.steady:rest-backend:3.2.5
org.eclipse.steady:rest-lib-utils:3.2.5
org.eclipse.steady:frontend-bugs:3.2.5
org.eclipse.steady:frontend-apps:3.2.5
org.eclipse.steady:plugin-maven:3.2.5
org.eclipse.steady:cli-scanner:3.2.5
org.eclipse.steady:kb-importer:3.2.5
org.eclipse.steady:patch-lib-analyzer:3.2.5
org.eclipse.steady:patch-analyzer:3.2.5
org.eclipse.steady:repo-client:3.2.5
org.eclipse.steady:lang-python:3.2.5
org.eclipse.steady:lang-java-reach-soot:3.2.5
org.eclipse.steady:lang-java-reach-wala:3.2.5
org.eclipse.steady:lang-java-reach:3.2.5
org.eclipse.steady:lang-java:3.2.5
org.eclipse.steady:lang:3.2.5
org.eclipse.steady:shared:3.2.5
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: AMAN SHARMA

79327768

Date: 2025-01-03 21:53:37
Score: 2
Natty:
Report link

I faced this issue when upgrading to splunk logging lib 1.11.8 and upgrading to a runtime using Java 17. I ended up downloading the splunk logger lib from github and debugging it directly - turns out the call to the Splunk HEC was failing with "invalid index". Updating the Splunk HTTP log4j config to add the splunk index associated with my Splunk token (index attribute) fixed the issue.

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

79327766

Date: 2025-01-03 21:51:36
Score: 2
Natty:
Report link

You need to move your fizzbuzz check up to the top of your if statements. 45 is divisible by 3 and so the if statement is passed, the contents executed and then no more checks are done.

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

79327762

Date: 2025-01-03 21:50:36
Score: 0.5
Natty:
Report link

RouterLink wasn't imported in app.component.ts

old code:

import { Component } from '@angular/core';
import {  RouterOutlet } from '@angular/router';


@Component({
  selector: 'app-root',
  imports: [RouterOutlet, RouterLink],
  templateUrl: './app.component.html',
  styleUrl: './app.component.css'
})
export class AppComponent {
  title = 'angular-ecommerce';
}

Working Code:

import { Component } from '@angular/core';
import { RouterLink, RouterOutlet } from '@angular/router';


@Component({
  selector: 'app-root',
  imports: [RouterOutlet, RouterLink],
  templateUrl: './app.component.html',
  styleUrl: './app.component.css'
})
export class AppComponent {
  title = 'angular-ecommerce';
}

My bad that was an easy fix I should've figured that out earlier

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

79327757

Date: 2025-01-03 21:48:33
Score: 9 ЁЯЪй
Natty:
Report link

@rd.vdw do you have remote config i am having same issue can you share remote and host config for translate

Reasons:
  • RegEx Blacklisted phrase (2.5): can you share
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): i am having same issue
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: will smith

79327736

Date: 2025-01-03 21:40:30
Score: 2.5
Natty:
Report link

You could do this with a Custom Command using the LINX Custom Command.vi. You will have to code the functionality into the Arduino board's firmware by following the instructions here. Disclaimer: I am about to do this myself for the first time. I'll report here in the comments with any tips and gotchas I come up with across respectively.

Regards,

Paul

Reasons:
  • Blacklisted phrase (1): Regards
  • Blacklisted phrase (1): any tips
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Paul Sirianni

79327731

Date: 2025-01-03 21:38:29
Score: 0.5
Natty:
Report link

This is because your main() code never calls Client::set_a. And your update() does not modify anything in any Client instance.

Before asking questions, you have to run your code under the debugger, it should solve all problems like that.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sergey A Kryukov

79327725

Date: 2025-01-03 21:36:29
Score: 2
Natty:
Report link

The issue turned out to be incorrect configuration of the console UART. It seems that if the wrong UART is selected then bl31 gets stuck (and of course no console output appears in this case).

By default, ATF defines IMX_BOOT_UART_BASE=0x30890000 which is the address for UART2. This aligns with the block diagram supplied by Phytec 1, which incorrectly shows the serial debug console wired to UART2. In fact, the console is wired to UART1 (0x30860000).

Setting IMX_BOOT_UART_BASE=0x30860000 enables ATF to access the console and allows the boot process to continue.

Thanks to @Frant for the helpful suggestions - while the issue turned out to be something else, the suggestion to print the contents of x0 on the UART led me down the right path to find the real problem.

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

79327718

Date: 2025-01-03 21:31:27
Score: 2.5
Natty:
Report link

https://www.itdroplets.com/iis-php-and-windows-authentication-run-as-a-service-account/

In Section (1), go to system.webServer/serverRuntime and change authenticatedUserOverride from UseAuthenticatedUser to UseWorkerProcessUser (2). Make sure you click on Apply.

Dropping this here so when I forget in the future I can look it up again. This is what resolved the issue for me. :)

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

79327708

Date: 2025-01-03 21:26:26
Score: 0.5
Natty:
Report link

This is an old question, but the existing answers are incorrect in 2024. It is now possible for server-side code to distinguishing incoming XHR requests from non-XHR requests by looking at the "Sec-Fetch-Dest" request header. In all modern browsers now the Sec-Fetch-Dest value for XHR requests is the literal string "empty". For non-XHR requests it's something else.

See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Dest

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

79327705

Date: 2025-01-03 21:25:26
Score: 3.5
Natty:
Report link

I am also having the same problem at the moment.

As pointed out in https://stackoverflow.com/a/7476709/11025934 they don't expect the client_secret to stay secret. That being said the thread that is being quoted is really old (from 2011) and it seems weird that they haven't fixed that or in their words "phased it out".

To me this means that they treat the client_secret the same as the client_id. If that's the case, then it is probably ok to use it. My problem with this however is that adding a Desktop OAuth 2.0 client in https://console.cloud.google.com/auth/clients does not require a redirect_uri and I believe this is a big security risk.

As shown above, there doesn't seem to be a redirect_uri field for a Desktop application OAuth 2.0 client.

For me there are 2 solutions:

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I am also having the same problem
  • Low reputation (1):
Posted by: Panagiotis Vasileiou

79327696

Date: 2025-01-03 21:22:25
Score: 3
Natty:
Report link

Ensure that you invalidate the cache with all 3 checkboxes checked. When I left them unchecked, it did not work for me. Also, I had an issue with the terminal window immediately closing and after doing it, it was resolved.

Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Gdoodle Dev

79327694

Date: 2025-01-03 21:21:24
Score: 10.5 ЁЯЪй
Natty:
Report link

I am having the same problem here. If any solution is available, please reply in comment!

Loads of thanks in advance.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (1.5): please reply
  • Whitelisted phrase (-1): solution is
  • RegEx Blacklisted phrase (3): thanks in advance
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same problem
  • Low reputation (1):
Posted by: Sriram Ganesh

79327692

Date: 2025-01-03 21:20:23
Score: 2.5
Natty:
Report link

I just ran into this error. I was querying data from a view, and landing it to a table. When I ran INSERT INTO []..SELECT.. I got a truncation error on one of the columns on the destination table. ADF simply was complaining with 'Received an invalid column length from the bcp client for colid'

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

79327685

Date: 2025-01-03 21:16:22
Score: 1
Natty:
Report link

Sometimes it may so happen that you move your main folder and forget to update the new path in the Pylance icon on the window's down-right side. Just updating to the new path worked for me.

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