79146221

Date: 2024-10-31 20:17:40
Score: 5.5
Natty: 4.5
Report link

@aled - I enabled XA in the database connector configs, but getting the same results

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @aled
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: ddog0823

79146220

Date: 2024-10-31 20:17:40
Score: 0.5
Natty:
Report link

Per the documentation, aws configure get "only looks at values in the AWS configuration file". The actual scope appears to be anything stored in the ~/.aws folder. E.g., with the SSO I use, the expiration is stored inside ~/.aws/credentials file as aws_expiration, per profile. So I can either parse the file or use aws configure get aws_expiration to retrieve the value

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

79146219

Date: 2024-10-31 20:17:40
Score: 1
Natty:
Report link

If you are using Next.js 14 and under you will get:

"WEBPACK_IMPORTED_MODULE_3_.functionName) is not a function".

On Next.js 15, it says

"[ Server ] Error: Attempted to call functionName() from the server but functionName is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."

In conclusion, you need to create a client component and call the function there, then return the client component.

Sorry if this seems out of place or poorly worded. I am very frustrated it took this long for me to fix and needed to get this out.

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

79146217

Date: 2024-10-31 20:14:39
Score: 2.5
Natty:
Report link

You could import and use the dark mode on the 'home page' and then render it and change the route in base to the page opened (so you don't have to apply the dark mode to every page and may have some bugs or more lines to check)

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

79146199

Date: 2024-10-31 20:08:37
Score: 2.5
Natty:
Report link

I've been having the same problem using the Python API, and I suspect it doesn't expose this functionality. So here's my plan for testing this via curl or similar:

The GitLab API Docs page on Emoji Reactions has a section §Add reactions to comments that discusses emoji reactions to comments (aka notes). Below is a summary of that §.

It says that the form is supposed to be:

GET /projects/:id/issues/:issue_iid/notes/:note_id/award_emoji
                  ^^^^^^^^^^^^^^^^^

Substitute merge_requests/merge_request_iid or snippets/:snippet_id as appropriate.

So,

curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/1/issues/80/notes/1/award_emoji"

will return a json list of the emoji, and appending /:award_id would retrieve a single one. For example:

curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/1/issues/80/notes/1/award_emoji/2"

would return

{
  "id": 2,
  "name": "mood_bubble_lightning",
  "user": {
    "name": "User 4",
    "username": "user4",
    "id": 26,
    "state": "active",
    "avatar_url": "http://www.gravatar.com/avatar/7e65550957227bd38fe2d7fbc6fd2f7b?s=80&d=identicon",
    "web_url": "http://gitlab.example.com/user4"
  },
  "created_at": "2016-06-15T10:09:34.197Z",
  "updated_at": "2016-06-15T10:09:34.197Z",
  "awardable_id": 1,
  "awardable_type": "Note"
}
Reasons:
  • Blacklisted phrase (1): to comment
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): having the same problem
  • Low reputation (0.5):
Posted by: ctwardy

79146195

Date: 2024-10-31 20:07:37
Score: 3
Natty:
Report link

Este error ocurre porque PyAudio no tiene actualmente una wheel precompilada para Python 3.13, ya que es una versión muy reciente y PyAudio no se ha actualizado para soportarla.

Intenta instalar el paquete wheel primero: pip install wheel

Reasons:
  • Blacklisted phrase (1): porque
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Christian Peña Granillo

79146176

Date: 2024-10-31 20:02:36
Score: 1
Natty:
Report link

Remove the below line from your code. It is creating one extra blank Figure.

plt.figure(figsize=(10, 6))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: fahim irfan

79146173

Date: 2024-10-31 20:01:35
Score: 3
Natty:
Report link

As Selvin has pointed out, I was starting a new thread for MessageLoop. Calling MessageLoop in ExecuteAsync solved the problem. Thank you Selvin.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: Srikanth S

79146169

Date: 2024-10-31 20:00:35
Score: 3.5
Natty:
Report link

mine is due to database tool plugin is overriding it. disable it solved the problem

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

79146165

Date: 2024-10-31 19:59:35
Score: 2.5
Natty:
Report link

With @Cisco's comment I started to dig more into the lifecycle of Gradle. After digging in a bit, I found afterEvaluate - Adds a closure to call immediately after this project is evaluated. This is too late in the lifecycle to modify the executing tasks.

What I wanted to do was conditionally execute a tasks provided by a plugin after the 'build' task had completed. In case anyone else is interested, here is the process.

Step 1: Update the task I want to conditionally run to be conditional.

tasks.getByName("artifactoryPublish").onlyIf {
    properties["isPublishingEnabled"].toString().toBooleanStrict()
}

This will check the isPublishingEnabled property, and run the artifactoryPublish task only if the property is true.

Step 2: Attach it to the build.

tasks.getByName("build").finalizedBy("artifactoryPublish")

This directs tells gradle to run artifactoryPublish once build completes.

I had inherited the afterEvaluate block, and I have no idea why it was included. So, if anyone can explain how it could assist in this scenario, I would appreciate it.

Reasons:
  • Blacklisted phrase (1.5): would appreciate
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Cisco's
  • Self-answer (0.5):
Posted by: eimmer

79146164

Date: 2024-10-31 19:59:35
Score: 2
Natty:
Report link

Well, this was silly. I didn't realize it at first, but there was actually a header property in the posted object which it wanted defined and accepts a localizedString. Seems to be similar to the title so I just set it to what the title has for now and it works.

Now I have another issue! With an active pass returned and its id, I can generate a wallet pass url to add to wallet: https://pay.google.com/gp/v/save/{pass.Id}

However, this page only says "Something went wrong. Please try again."

Closest thing I could find is that my email account doing the testing in demo mode needs to be either added as an admin user to the pay & wallet account and/or a test user under the wallet api. I have added it to both with no luck.

Reasons:
  • Blacklisted phrase (1): no luck
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Matthew

79146159

Date: 2024-10-31 19:55:34
Score: 1
Natty:
Report link

Seems the information you provided files are being copied to PUBLISH_DIRECTORY which is pointing to "d:\a\1\a but you need to make sure that files are properly zipped and deployed to "~\wwwroot" directory

  • Script: | cd $(PUBLISH_DIRECTORY) zip -r ../publish.zip DisplayName: "Zip create from published Directory"

Update the deployment task

'$(Build.ArtifactStagingDirectory)/publish.zip'

Ensuring your build outputs are zipped and copied correctly will hopefully solve your 404 issues. If Still exists then please check the logs again. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: ISK

79146148

Date: 2024-10-31 19:50:30
Score: 12 🚩
Natty: 6
Report link

did you resolve the problem? I have the same problema. In the example added by Sayali, he only check with a file from personal drive but not with a sharepoint drive.

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): did you resolve the problem
  • RegEx Blacklisted phrase (1.5): resolve the problem?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: Hozcar Andrés López Ramírez

79146144

Date: 2024-10-31 19:47:28
Score: 2
Natty:
Report link

In SSMS, the diagramming tool does not allow more than 2 bends directly in relationship lines.

If you want, you can try other tools, such as MySQL Workbench, dbdiagram.io, DBeaver, etc., for advanced diagram customization.

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

79146142

Date: 2024-10-31 19:45:28
Score: 2
Natty:
Report link

Turns out VisualStudio was bugging out and didn't show me the Install System.Drawing.Common until restart :(

Was able to solve this with:

Bitmap bitmap = new Bitmap(front);
bitmap.MakeTransparent(Color.Black);
bitmap.Save(front);
BitmapImage bi = new BitmapImage();
bi.CreateOptions = BitmapCreateOptions.IgnoreImageCache;
bi.UriSource = new Uri(front);
this.Front.Source = bi;
Reasons:
  • Blacklisted phrase (1): :(
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Queen Mochi

79146141

Date: 2024-10-31 19:45:28
Score: 0.5
Natty:
Report link

If you want to keep the line:

id = models.BigAutoField(primary_key=True)

You should had auto_created = True :

id = models.BigAutoField(primary_key=True, auto_created = True)

Else it is null as you get in your error message.

But you needn't really this line. Django do it by itself.

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

79146136

Date: 2024-10-31 19:42:27
Score: 1
Natty:
Report link

DualShock 4 uses different report formats over USB and Bluetooth. USB output report 0x05 is the closest match to Bluetooth output report 0x11 but there are a few differences. Check out dualshock4_output_report_usb and dualshock4_output_report_bt in hid-playstation.c to see how the reports differ.

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

79146125

Date: 2024-10-31 19:37:26
Score: 0.5
Natty:
Report link

It's because you're no longer using const constructors. Flutter has an optimization where it will short-circuit rebuilding subtrees if a widget is identical (not equal) between rebuilds. You can see the same thing happens if you just remove const without adding keys: the new Widget instances are not identical, so Flutter uses the keys to link the existing State instances with the new Widget instances, calls didUpdateWidget on each State, then rebuilds the tree.

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

79146111

Date: 2024-10-31 19:29:24
Score: 2
Natty:
Report link

Try to create virtual environment with venv in python. And then upgrade/downgrade dependencies. Make sure to use venv, it can be automated with pyCHarm

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

79146106

Date: 2024-10-31 19:27:24
Score: 1
Natty:
Report link

No, Excel formulas can't make text bold or change the format of text. Formulas only handle the content, not how it looks.

However, here are some ways to work around this:

Manual Formatting: After you've entered your text, you can select the cell and use Excel’s formatting tools to make it bold. This won't work for parts of a formula, though.

Conditional Formatting: If you want to highlight text based on conditions, use Conditional Formatting to make cells look bold when certain rules are met.

Using Online Tools: If you want bold text for pasting elsewhere, check out this Bold Text Generator to create styled text you can copy and use in documents or websites.

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

79146103

Date: 2024-10-31 19:27:24
Score: 1.5
Natty:
Report link

Broad Filtering: Improper timestamp filtering does not restrict the search to the partitions.

Plan of Execution: A poorly structured query is probably the reason for the redundant partition scans.

Indexing Problems: If you don't index the timestamp in the right manner, you can slow down the process of data retrieval and can become a bottleneck.

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

79146098

Date: 2024-10-31 19:25:23
Score: 4.5
Natty: 5
Report link

This is simple there is no need to use JS or libraries just refer this post: https://www.developerthink.com/blogs/how-to-create-a-colorized-spotlight-effect-on-image

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

79146094

Date: 2024-10-31 19:23:23
Score: 0.5
Natty:
Report link

2024:

if you're updating from version 5 to 6 then you should change the middleware namespace according to the docs

from : \Spatie\Permission\Middlewares\ to \Spatie\Permission\Middleware\

the difference is the plural s being removed from Middlewares

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

79146091

Date: 2024-10-31 19:23:23
Score: 0.5
Natty:
Report link

The right way to generate rows with redshift is to use WITH RECURSIVE CTEs, like that:

with recursive t(n) as (
  select 0::integer
  union all
  select n+1 from t where n <= 100
)
select n*2 as two_times_n from t;

You can join t with whatever real table you want.

See https://docs.aws.amazon.com/redshift/latest/dg/r_WITH_clause.html

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

79146080

Date: 2024-10-31 19:20:22
Score: 1
Natty:
Report link

just paste this line in the web.config inside the <system.serviceModel> tag

<serviceHostingEnvironment aspNetCompatibilityEnabled="true" />

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

79146077

Date: 2024-10-31 19:19:21
Score: 1
Natty:
Report link

Try importing tkinter like this:

import tkinter as tk

In Python 3.x, the tkinter module's name starts with a lowercase letter, unlike in Python 2.x.

Also, avoid using wildcard imports, as they can make code less readable and prone to conflicts. Instead, just import tkinter as tk and use the tk prefix.

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

79146070

Date: 2024-10-31 19:16:21
Score: 1
Natty:
Report link

I did 0.0.0 when I first started developing, then at the Main Release Im doing 1.0.0 the last Zero is for Bug Fixes, Mini Updates, and Quality of Life Fixes The Middle is for Big Updates, Cross Overs The First is for just the Game's like Main Release Version and Increases after the 99th Middle Number while the Middle Zero increases after the 10th Last Number or With Every New Update The 10th Last Number increases with Every Bug Fix and Mini Update So basically Im using a System that supports itself and each Number while the Middle & Last are entirely Dependent on themselves and The First is dependant on the Middle

The Last Number basically builds off of the Middle Number with Bug Fixes and Stuff

After the Middle Number increases the Last Number turns 0 and the only times the last is allowed to go after 10 is if the Middle Number is not going to increases or in this Case the Update is not ready for Launch

The First Number doesn't signify much but only the Fact that the Game is officially Released while the Middle and Last Signify Bug Fixes and Updates

But that's just the System I use

Use whatever ya Like

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

79146066

Date: 2024-10-31 19:15:20
Score: 11.5
Natty: 8
Report link

same issue, did you fixed it??

Reasons:
  • RegEx Blacklisted phrase (3): did you fixed it
  • RegEx Blacklisted phrase (1.5): fixed it??
  • RegEx Blacklisted phrase (1): same issue
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sebastian

79146057

Date: 2024-10-31 19:14:19
Score: 4.5
Natty:
Report link

Read about big - omega notation. https://www.geeksforgeeks.org/analysis-of-algorithms-big-omega-notation/

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

79146050

Date: 2024-10-31 19:12:18
Score: 0.5
Natty:
Report link

@lizuki Here are some basic screen commands from the tldr help page:

  - Show open screen sessions:
    screen -ls

  - Start a new named screen session:
    screen -S session_name

  - Reattach to an open screen:
    screen -r session_name

  - Detach from inside a screen:
    <Ctrl> + A, D

  - Kill the current screen session:
    <Ctrl> + A, K

Useful: Send text to a screen even if detached (except in version 5.0.0, it returns a buffer overflow instead):

screen -S <session_name> -X stuff <text>

For example, send "ls -l" to screen s1:

screen -S s1 -X stuff "ls -l\n"

Here \n adds a newline at the end, effectively pressing enter after a command.

While we're here, I might as well do the same for tmux. Again, some basic tmux commands from its tldr page:

  - Start a new session:
    tmux

  - Start a new named session:
    tmux new -s name

  - List existing sessions:
    tmux ls

  - Attach to the most recently used session:
    tmux attach

  - Detach from the current session (inside a tmux session):
    <Ctrl>-B d

  - Create a new window (inside a tmux session):
    <Ctrl>-B c

  - Switch between sessions and windows (inside a tmux session):
    <Ctrl>-B w

Some more cool commands:

  - Attach a specific session:
    tmux attach -t <session_name>

  - Split the session vertically:
    <Ctrl>-B %

  - Split the session horizontally:
    <Ctrl>-B "

  - Send text to a session, even if detached:
    tmux send -t <session_name> <text>

  - Send command to a session, even if detached:
    tmux send -t <session_name> <command> ENTER
    tmux send -t s1 "ls -l" ENTER

Finally, tmux will automatically complete partial commands. For example, instead of using

tmux attach-session -t <session_name>

You can shorten it like so:

tmux attach -t <session_name>

tmux a -t <session_name>

Of course, there is a lot more information on both of their manpages.

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

79146047

Date: 2024-10-31 19:11:18
Score: 3
Natty:
Report link

Was an IO mismatch. Gpio 6 caused it to reboot. Just realized it when I woke up this morning

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

79146041

Date: 2024-10-31 19:09:17
Score: 4
Natty:
Report link

I'm open to every solution as long as I can do this even if I change the library.

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

79146016

Date: 2024-10-31 19:00:15
Score: 2
Natty:
Report link

IS NULL on an individual field is working for me, however, when I try to exclude rows with a value in both field A and field B, it is not working.

I've tried: (A IS NULL or B IS NULL)

and: NOT (A IS NOT NULL and B IS NOT NULL)

I am still getting records with a value in both.

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

79146015

Date: 2024-10-31 19:00:15
Score: 2.5
Natty:
Report link

It is possible. Use the procedure as a view from the database timeAtt.fdb

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: ZPKSoft Paweł Krzyżanowski

79146013

Date: 2024-10-31 18:59:15
Score: 1
Natty:
Report link

Posting this solution as it may be helpful for those who have upgraded to .NET 8.

I added "FUNCTIONS_INPROC_NET8_ENABLED": 1 in my local settings to avoid the error.

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

79146012

Date: 2024-10-31 18:59:15
Score: 1
Natty:
Report link

Posting this solution as it may be helpful for those who have upgraded to .NET 8.

I added "FUNCTIONS_INPROC_NET8_ENABLED": 1 in my local settings to avoid the error.

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

79146006

Date: 2024-10-31 18:57:14
Score: 1
Natty:
Report link

Posting this solution as it may be helpful for those who have upgraded to .NET 8.

I added "FUNCTIONS_INPROC_NET8_ENABLED": 1 in my local settings to avoid the error.

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

79145988

Date: 2024-10-31 18:53:13
Score: 0.5
Natty:
Report link

It seems that I need to write property.two=$myResolver{property.one}tree to resolve the nested property.

The prefix is important.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Harold L. Brown

79145984

Date: 2024-10-31 18:51:12
Score: 2
Natty:
Report link

Try clonedObject.setCoords() after copying

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
Posted by: Vadim

79145983

Date: 2024-10-31 18:51:12
Score: 0.5
Natty:
Report link

HTMLElement is the type of the dom element. You are using that type for a parameter of a callback for an event coming from the dom element. Those aren't the same thing.

Try:

const handleOnClick = useCallback((ev: React.MouseEvent<HTMLElement>) => {
  console.log(ev.currentTarget);
}, []);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): is the
Posted by: Abraham Labkovsky

79145973

Date: 2024-10-31 18:50:11
Score: 3
Natty:
Report link

In my case I reopen the firewall rule for MyAsus and everything works fine again. Hope anyone facing this issue double check this.

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

79145963

Date: 2024-10-31 18:46:10
Score: 0.5
Natty:
Report link

Understanding Vercel's Limitations for Hosting Vue and Express Applications

If you're trying to deploy both a Vue.js frontend and an Express backend on Vercel and encountering a 404 error, it's important to know that Vercel is primarily designed for static sites and serverless functions. Here are some key points to consider:

No Server-Side Rendering (SSR): Vercel is not optimized for traditional server-side rendering. While it supports serverless functions, it doesn't provide a persistent Node.js instance required for running a full Express application.

Hosting Limitations: If your Express app relies on server-side rendering or requires a long-lived Node.js server, Vercel may not be the right choice. Instead, consider platforms that are specifically designed for hosting full Node.js applications, such as Heroku, DigitalOcean, or AWS.

Recommended Solutions: If you need to deploy both a Vue.js frontend and an Express backend together, look into using services like Heroku, which can host your entire Node.js server and handle the routing effectively. This approach allows for a more seamless integration between your frontend and backend, enabling features like API calls and dynamic content generation.

In summary, while Vercel excels at deploying static sites and serverless functions, if you need a full Express application, you might want to explore alternatives that provide a dedicated Node.js environment.

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

79145956

Date: 2024-10-31 18:43:09
Score: 3
Natty:
Report link

The problem for me was in the version used to compile the proto files. I changed fixed the grpcio-tools==1.64.1 and recompiled the proto files.

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

79145955

Date: 2024-10-31 18:43:09
Score: 1
Natty:
Report link

Add manual watcher in project package.json

"scripts": { "watch": "nodemon app.js" // Replace app.js with your main file }

Then run

npm run watch

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

79145945

Date: 2024-10-31 18:39:07
Score: 0.5
Natty:
Report link

I had else instead of fi at the end of if statement.

if [ -z $SOMEVAR ]; then
    echo "hello, some var is set"
else  # <--- here I should have had `fi`


# if ... do some other stuff
# other stuff
# exit
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kacper

79145936

Date: 2024-10-31 18:37:07
Score: 3
Natty:
Report link

Are you able to declare the transloco configuration object as a constant rather than declaring in-line when TranslocoTestingModule.forRoot() is invoked and await the promises before the tests are executed?

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: pawooten

79145934

Date: 2024-10-31 18:37:07
Score: 1.5
Natty:
Report link

Just go inside your iOS folder and write this command

pod install
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: iamJohnvesly

79145926

Date: 2024-10-31 18:34:06
Score: 1.5
Natty:
Report link

Here a few tips that can help you to fix your problem:

  1. You need to make sure that the OS is compatible with the Python version. For example, if you're using Windows 7, then Python 3.12 is not compatible with the OS version.
  2. Second, check for errors that VSCode is giving you.
  3. Make sure you installed the Python Extension, as told in the Quick Start Guide for Python in VS Code.
  4. Make sure you inserted a Python Interpeter in the IDE.
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sithila Somaratne

79145924

Date: 2024-10-31 18:34:06
Score: 2.5
Natty:
Report link

Is it safe and defined behaviour to cast a pointer to another level of indirection?

No

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Is it
  • High reputation (-2):
Posted by: 4386427

79145922

Date: 2024-10-31 18:32:05
Score: 1
Natty:
Report link

This work for me :

class ParametersGeneral:
    def __init__(self, section_name, enable_adjacent_channel=False, enable_cochannel=False, num_snapshots=10000, imt_link='DOWNLINK', system='RAS', seed=101, overwrite_output=True, is_space_to_earth=False, output_dir='output', output_dir_prefix='output'):
        self.section_name = section_name
        self.enable_adjacent_channel = enable_adjacent_channel
        self.enable_cochannel = enable_cochannel
        self.num_snapshots = num_snapshots
        self.imt_link = imt_link
        self.system = system
        self.seed = seed
        self.overwrite_output = overwrite_output
        self.output_dir = 'output'
        self.output_dir_prefix = 'output' 
        self.is_space_to_earth = is_space_to_earth
        self.output_dir = output_dir
        self.output_dir_prefix=output_dir_prefix

for attr in attr_list:
    try:
        attr_val = getattr(self, attr)
        config_value = config[self.section_name][attr]
        
        print(f"Setting attribute '{attr}' with value from config: {config_value} (type: {type(config_value)})")

        if isinstance(attr_val, str):
            setattr(self, attr, config_value)
        elif isinstance(attr_val, bool):
            setattr(self, attr, bool(config_value))
        elif isinstance(attr_val, float):
            setattr(self, attr, float(config_value))
        elif isinstance(attr_val, int):
            setattr(self, attr, int(config_value))
        elif isinstance(attr_val, tuple):
            try:
                param_val = config_value
                tmp_val = list(map(float, param_val.split(","))) 
                setattr(self, attr, tuple(tmp_val))
            except ValueError:
                print(f"ParametersBase: could not convert string to tuple \"{self.section_name}.{attr}\"")
                exit()

    except KeyError:
        print(f"ParametersBase: NOTICE! Configuration parameter \"{self.section_name}.{attr}\" is not set in configuration file. Using default value {attr_val}")
    except Exception as e:
        print(f"Um erro desconhecido foi encontrado: {e}")
Reasons:
  • RegEx Blacklisted phrase (2): encontrado
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ahmed

79145915

Date: 2024-10-31 18:29:04
Score: 3
Natty:
Report link

Two ways:

  1. There are community-created themes available, such as SwaggerDark by Amoenus
  2. Directly, follow the tutorial of this site
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Yes

79145901

Date: 2024-10-31 18:24:03
Score: 2.5
Natty:
Report link

you have to enable the nd_pdo_mysql instead of pdo_mysql (in Cpanel Select PHP version)

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

79145895

Date: 2024-10-31 18:24:03
Score: 2.5
Natty:
Report link

It seems like I was missed creating the custom DB on endpoint-2 and then running CREATE SERVER, CREATE USER MAPPING etc. I was running these commands on the postgres DB and thus the failure.

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

79145892

Date: 2024-10-31 18:23:03
Score: 3
Natty:
Report link

If you want something lighter and more customizable, material_charts could be a good fit as well. It’s user-friendly and provides a lot of flexibility for handling large datasets.

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

79145880

Date: 2024-10-31 18:18:01
Score: 2
Natty:
Report link

Your Static IP (.111) is within "DHCP Range" (.100-.200), so I assume you might have an IP conflict there.

Try to use the .93 IP as Static and ensure there's no other static entry with .93

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

79145878

Date: 2024-10-31 18:17:01
Score: 1.5
Natty:
Report link

This is how I would test it. Scroll to the end of the page. Check if the scroll height matches the scroll position combined with the viewport height. If they match it's the end of the page. If it does not match it could be some CSS issues like overflowing content. Here is my code please let me know if it helps you:

const { test, expect } = require('@playwright/test');

test('Check if the page can scroll to the end', async ({ page }) => {
    await page.goto('https://yourwebsite.com'); // Visit your website
    await page.evaluate(() => window.scrollTo(0, document.body.scrollHeight)); // scroll to bottom
    await page.waitForTimeout(500);   // Wait for any lazy-loaded content to load 
    // if not lazy loaded content you can remove above line

    // Calculate if user scrolled to end of page
    const isAtEndOfPage = await page.evaluate(() => {
        const scrollableHeight = document.documentElement.scrollHeight;
        const currentScrollPosition = window.innerHeight + window.scrollY;
        return currentScrollPosition >= scrollableHeight;
    });

    // Check if the page scrolls to the end
    expect(isAtEndOfPage).toBe(true);
});
Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: dram95

79145873

Date: 2024-10-31 18:13:00
Score: 3
Natty:
Report link

After reading the prompt care fully I just open the: Flutter > Release.xconfig After

enter image description here

Before , add another include that they mention in prompt

enter image description here

, Close the Xcode, Run pod deintegrate and pod install , the error gone

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: muhammad tayyab

79145857

Date: 2024-10-31 18:04:56
Score: 8.5 🚩
Natty: 5.5
Report link

I've had the same problem. Have you been able to solve it?

Reasons:
  • Blacklisted phrase (1.5): Have you been able to
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: mehmet kar

79145855

Date: 2024-10-31 18:03:56
Score: 3.5
Natty:
Report link

I believe the issue occurs because exdate needs to be an array of date strings without the additional quotes you put around them. Var e has double quotes around the variable and single quotes around each date. Is it possible for you to create variable like this: var e = ['2024-11-05T13:30:00', '2024-11-07T13:30:00']; ?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: dram95

79145852

Date: 2024-10-31 18:03:56
Score: 1.5
Natty:
Report link

You can use this extension:https://marketplace.visualstudio.com/items?itemName=PabloLeon.PostgreSqlGrammar&ssr=false#overview

With .psql extension it highlights everything ok. No syntax checks though

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

79145851

Date: 2024-10-31 18:03:56
Score: 1.5
Natty:
Report link

javascript:(function () { var script = document.createElement('script'); script.src="//cdn.jsdelivr.net/npm/eruda"; document.body.appendChild(script); script.onload = function () { eruda.init() } })();

maybe this'll work for you. it shows the inspect source value if you don't have it enabled either by any administration by anyone or if your device just doesn't have any inspect source button.... nevermind. it seems that you went mexis classroom as well for the coding...

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

79145836

Date: 2024-10-31 17:59:55
Score: 1
Natty:
Report link

The problem was in the max_age query parameter of the authorization URL provided by our client (the one that a client redirects a user to in order to get an authorization code). The max_age had a value of 0 (e.g. max_age=0) which for some reason caused Entra to issue an authorization code that would provide a token that was seemingly issued 5 minutes in the past and immediately expired in the present. We fixed it by removing the query parameter altogether. This resulted into getting a token with the default 60-90 minutes lifetime. More about the query parameter can be read in the OIDC specification.

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

79145827

Date: 2024-10-31 17:56:54
Score: 3.5
Natty:
Report link

Could you help me in improving performance? It is in C#.

Without code? No. Show some code, and we might stand a chance.

However, XmlSerializer is going to be much better at this than you. Serialization looks simple from the outside, but there are lots of edge cases and pitfalls, and avoiding those while maintaining performance is hard.

But: a model of 200/300 elements should be basically instant; if it is taking 46 seconds, either there is something horribly wrong in your code that I can't speculate about (please show code if you want input here!), or: you're processing a few GiB of data.

Here's a runnable example that caters to your basic model while also supporting the unknown attributes/elements alluded to in the comments:

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml;
using System.Xml.Serialization;

var xml = """
    <root>
      <test>
        <testchild>
        </testchild>
        <testchild>
        </testchild>
      </test>
      <test>
        <testchild id="42" name="fred">
        </testchild>
        <testchild>
        </testchild>
      </test>
    </root>
    """;

var serializer = new XmlSerializer(typeof(MyRoot));
var obj = (MyRoot)serializer.Deserialize(XmlReader.Create(new StringReader(xml)))!;
Console.WriteLine(obj.Tests.Sum(x => x.Children.Count));
Console.WriteLine(obj.Tests[1].Children[0].GetAttribute("id"));

[XmlRoot("root")]
public class MyRoot
{
    [XmlElement("test")]
    public List<MyTest> Tests { get; } = new();
}
public class MyTest
{
    [XmlElement("testchild")]
    public List<MyChild> Children { get; } = new();
}

public class MyChild {
    public string? GetAttribute(string name)
        => attributes?.SingleOrDefault(x => x.Name == name)?.Value;
    public string? GetElement(string name)
        => elements?.SingleOrDefault(x => x.Name == name)?.Value;

    private List<XmlElement>? elements;
    private List<XmlAttribute>? attributes;

    [XmlAnyAttribute]
    public List<XmlAttribute> Attributes => attributes ??= new();
    [XmlAnyElement]
    public List<XmlElement> Elements => elements ??= new();
}
Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (2.5): please show code
  • RegEx Blacklisted phrase (3): Could you help me
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: Marc Gravell

79145817

Date: 2024-10-31 17:52:54
Score: 1.5
Natty:
Report link

The following paragraph also says (contradictory I think):

will be loaded, as its inherent width (480w) is closest to the slot size

That is in the Learn section, in the Docs section it says:

The user agent selects any of the available sources at its discretion.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#srcset

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Ray Wallace

79145816

Date: 2024-10-31 17:51:53
Score: 3.5
Natty:
Report link

Xudong Peng is right. It was permissions blocking.

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

79145796

Date: 2024-10-31 17:44:52
Score: 0.5
Natty:
Report link

Figured it out; replace drawImage in the tutorial with:

val painter = painterResource(R...)
val size = Size(width = ..., height = ...)
with(painter) {
  drawIntoCanvas { canvas ->
    val paint = Paint()
    paint.blendMode = BlendMode.DstIn
    canvas.withSaveLayer(Rect(Offset.Zero, size), paint) { draw(size) }
  }
}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: marq

79145788

Date: 2024-10-31 17:42:51
Score: 5.5
Natty:
Report link

I'm having the same problem ! It would be awesome to have this feature but I couldn't find any tool that has it. I tested rye, uv. I'm still checking for poetry but for it does not look promising.

I'm astonished how such a simple feature not developed in Python, especially when knowing the number of developers that uses it.

Fallback mechanisms on pip/poetry/rye/uv would make the process of multi-package development so clean.. But unfortunately nothing at my knowledge has been proposed for now :(

Reasons:
  • Blacklisted phrase (1): I'm having the same problem
  • Blacklisted phrase (1): :(
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same problem
  • Low reputation (1):
Posted by: G-Man

79145783

Date: 2024-10-31 17:40:50
Score: 1
Natty:
Report link

Nextjs 15 dynamic rendering works with this pattern

export default async function PostPage(params: { 
 params: Promise<{ slug: string }>;) {
  const slug = await(params).slug;
  return <Block slug={slug}/>
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dhanush Prabakaran

79145777

Date: 2024-10-31 17:37:50
Score: 1.5
Natty:
Report link
Sorry to disturb old answers but in the accepted answer there is some confusion.
( 1.5 + 2.5 + 3.5 ) / 3 = 2.5
Scool rounding: ( 2 + 3 + 4 ) / 3 = 3
'Bankers' rounding: (I'm confused how 1.5 and 2.5 becomes 2, 2)
                ( 1 + 2 + 3 ) / 3 = 2
And values are still correct. If we are to continue 
scool rounding 2.5 -> 3
bankers rounding 2.5 -> 2
So in the example there's no clear understanding why MidpointRounding.ToEven is used over AwayFromZero.
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Lindvorn

79145774

Date: 2024-10-31 17:35:49
Score: 2.5
Natty:
Report link

After further digging I can confirm it works, but there was a catch (at least for my case): i was using IP ranges for the non-proxy variables which was not working. I switched to hosts, e.g. *.svc.cluster.local and that fixed my issue.

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

79145773

Date: 2024-10-31 17:35:49
Score: 6.5
Natty: 7.5
Report link

What is the connectivity method you are using to get the data from GA4 ?

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

79145760

Date: 2024-10-31 17:31:48
Score: 3
Natty:
Report link

It seems like using Table is enough for Microsoft Word to open a document, but not enough if you want to use Apache POI to save a document containing the table as a PDF. You have to add the TableGrid Openxml object to the Table object.

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

79145750

Date: 2024-10-31 17:28:47
Score: 1
Natty:
Report link

Try export environment variable like this (in linux system):

export company_employeeNameList=Emp1,Emp2
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: M.S.

79145745

Date: 2024-10-31 17:27:47
Score: 2.5
Natty:
Report link

it seems you have not installed Android 35 SDK, or it's broken. Try:

  1. Open Android Studio.
  2. Go to Preferences > Appearance & Behavior > System Settings > Android SDK.
  3. Select the SDK Platforms tab.
  4. Select and install(click apply) Android 35 SDK version.

Open SDK Manager

enter image description here

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

79145744

Date: 2024-10-31 17:26:47
Score: 1
Natty:
Report link

I got it fixed and I will answer my own question, beacause this is absoluteley helpful for someone struggling with EF6 and the error message 'a call to SSPI failed' does really not give you any idea where top search for!
It ended up to be just a matter of configuration.
Several combinations of 'MySql for Visualstudio' and 'MySqlConnector' do not fit together and throw this exception when using the EF6 model creation wizard.
I tried this on a different PC, installed mysql server with all the drivers and could again reproduce this error for several combinations.
If you want to use EF6 with VS2017 for mySql server 8, please use the following setup:

MySql server 8
MySql for Visual Studio 1.2.9 (!)
MySql Connector/NET 9.0.0 (!)
NuGet package EntityFramework 6.44
NuGet package MySql.Data 9.0.0 (same version as MySql Connector/NET)
NuGet package MySql.Data.EntityFramework 9.0.0 ( " )


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

79145743

Date: 2024-10-31 17:26:47
Score: 1
Natty:
Report link

As @msanford said in the comments, remove the trailing commas from your values -- they are creating tuples.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @msanford
  • Single line (0.5):
  • High reputation (-2):
Posted by: Ethan Furman

79145734

Date: 2024-10-31 17:24:47
Score: 0.5
Natty:
Report link

If you're encountering the Docker rate limit, manually pulling images is a useful workaround. This approach involves waiting for a bit and then using the docker pull command to try pulling the image again.

docker pull <image-name>

Replace with the specific image you need, such as nginx or mysql:latest.

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

79145731

Date: 2024-10-31 17:23:46
Score: 1
Natty:
Report link

I will do my best to help you, because I see that you haven't received any help yet. Hope to be of help.

The first thing I would say is to check if you have to make changes to your code (link: way to connect to mongoDB in the current version) as you have updated the driver version (sometimes local tests are not good enough to fully test your code and maybe you have left out something important). Here you have a link in case something is deprecated. For example, I see the following in the exception you have passed com.mongodb.MongoClient which is now com.mongodb.client.MongoClient. So it looks your code is still compatible with 3.X version instead of the 5.X version.

Note: With the command mvn dependency:tree (link) you can see the dependency tree for your project and ensure if any library is bringing in any older version.

Reasons:
  • Blacklisted phrase (1): any help
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jos3lu

79145725

Date: 2024-10-31 17:22:44
Score: 9.5 🚩
Natty: 6.5
Report link

I have the same error , do you resolv??

Reasons:
  • RegEx Blacklisted phrase (1): I have the same error
  • Low length (2):
  • No code block (0.5):
  • Me too answer (2.5): I have the same error
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Javier Urquieta

79145724

Date: 2024-10-31 17:22:44
Score: 2.5
Natty:
Report link
  1. Develop an assembly code to verify if a given 16-bit number is a multiple of 5. If it is, store 1 in a variable called “MULT5”; otherwise, store 0 in a variable named “NOTMULT5.”
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Md.Rashedul Islam

79145713

Date: 2024-10-31 17:18:40
Score: 6 🚩
Natty:
Report link

Solved thanks to @Santiago Squarzon.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (2):
  • No code block (0.5):
  • User mentioned (1): @Santiago
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: HammerOfSweden

79145712

Date: 2024-10-31 17:17:40
Score: 2
Natty:
Report link

You can print it on your web page using JSON.stringify() and then copy it from the page. This way you don't need to setup anything.

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

79145700

Date: 2024-10-31 17:14:39
Score: 3
Natty:
Report link

mvn archetype:generate -DgroupId=com.example -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false

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

79145699

Date: 2024-10-31 17:14:39
Score: 2
Natty:
Report link

If you are using Android SDK 34 change the "Android SDK Build Tools" from 35 to 34.

You can simply go to Android Studio Settings --> Language and Frameworks --> Android SDK --> SDK Tools tab and tick "Show package details" in the bottom.

Then untick 35 and tick 34.

Apply and OK.

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

79145694

Date: 2024-10-31 17:13:38
Score: 2
Natty:
Report link

Basically is because there is no mysql installed on your computer. My teacher just told me to download workbench, but forgot completely to say, hey download MYSQL first.. After that, you won't have more crashes, it happened to me.

once is done try again, probably sure it will help you inmediately..

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

79145683

Date: 2024-10-31 17:11:38
Score: 1.5
Natty:
Report link

I found the solution.

git fsck && git gc --prune=now

which leads to many errors like this one: enter image description here

But it worked after reloading the IDE, here is the origin of this code: Why does git pull hang?

Reasons:
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-2): I found the solution
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: GTFTT

79145681

Date: 2024-10-31 17:10:38
Score: 3
Natty:
Report link

Do right-click on an blank space of the .Edmx and choose Model Browser option

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

79145659

Date: 2024-10-31 17:05:36
Score: 3
Natty:
Report link

Ive passed the --network host parameter when I run docker run but im still not seeing the can network in my container even though it is visible on the host machine. Im running this on a raspi 5

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

79145655

Date: 2024-10-31 17:03:36
Score: 0.5
Natty:
Report link

I knww this is a very old post but just wanted to add this in case anyone was interested. Two simple solutions for SQL 2017 and above and pre SQL 2017

/* SQL 2017 and above */
declare @str varchar(50) = 'dff dfdff   !"£$%^&*()_-+=@~#?/>.<   dfd dfd'

;WITH nums AS
(
  SELECT 1 AS Num
  UNION ALL
  SELECT num + 1 AS Num
  FROM nums
  WHERE Num + 1 <= LEN(@str)
)
  SELECT STRING_AGG(Val,'')
  FROM (
  SELECT *,SUBSTRING(@str,Num,1) AS val
  FROM nums) a
  WHERE val LIKE '%[A-Z]%'


/*Pre SQL 2017 */
  declare @str varchar(50) = 'dff dfdff   !"£$%^&*()_-+=@~#?/>.<   dfd dfd'

;WITH nums AS
(
  SELECT 1 AS Num
  UNION ALL
  SELECT num + 1 AS Num
  FROM nums
  WHERE Num + 1 <= LEN(@str)
)
  SELECT STUFF((SELECT '' +  Val AS [text()]
  FROM (
  SELECT *,SUBSTRING(@str,Num,1) AS val
  FROM nums) a
  WHERE val LIKE '%[A-Z]%'
  FOR XML PATH ('')),1,0,'')
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: David Wiltcher

79145651

Date: 2024-10-31 17:02:36
Score: 1.5
Natty:
Report link

In my case changing from Direct Query to Import solved the issue.

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

79145649

Date: 2024-10-31 17:02:36
Score: 2
Natty:
Report link

I owe this answer to @AlwaysLearning. Thanks!

Basically, with the exact same code in the original post, I only had to change Encoding.UTF8 to Encoding.Unicode.

var bytes = Encoding.Unicode.GetBytes(uncompressedString);

Now I can access the data in SSMS and decompress with

  SELECT [Id]
  ,[Name]
  ,[Surname]
  ,Info
  ,CAST(DECOMPRESS(Info) AS NVARCHAR(MAX)) AS  AfterCastingDecompression
  FROM [MCrockett].[dbo].[Player]
  WHERE Id = 9
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @AlwaysLearning
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: McCrockett

79145641

Date: 2024-10-31 17:00:35
Score: 2
Natty:
Report link

Using Bertrand Martel's answer and FlyingFoX's comment, I used

gh api repos/ORG/REP/collaborators | \
    jq '[ .[] | select(.permissions.admin == true) | .login ]'

which removed the need for a personal access token. This requires that GitHub CLI is installed and that you are authenticated with it.

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

79145638

Date: 2024-10-31 16:59:35
Score: 0.5
Natty:
Report link
    BullModule.forRoot({
  redis: {
    sentinels: [
      {
        host: process.env.redis_senti,
        port: Number(process.env.redis_senti_port),
      },
    ],
    name: 'mymaster',
    password: redis_pass,
    sentinelPassword: redis_pass,
    maxRetriesPerRequest: 100,
  },
}),

Hi, I finally ended up with this configuration.

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

79145630

Date: 2024-10-31 16:56:34
Score: 2
Natty:
Report link

On ubuntu 24.10 this helped with a JBR with JCEF Runtime:

https://youtrack.jetbrains.com/issue/JBR-6587/IDEA-crashes-on-opening-a-new-project

Disable this setting from the double shift -> Action-> Registry

ide.browser.jcef.sandbox.enable
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Oktay

79145628

Date: 2024-10-31 16:56:34
Score: 4
Natty: 4
Report link

https://marketplace.visualstudio.com/items?itemName=mgiesen.image-comments&ssr=false#qna

With this extension solve this problem

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

79145621

Date: 2024-10-31 16:55:33
Score: 0.5
Natty:
Report link

How about this.. Specify query parameters and body..

    public HttpRequestData HttpRequestDataSetup(Dictionary<String, StringValues> query, string body)
    {
         var queryItems = query.Aggregate(new NameValueCollection(),
            (seed, current) => {
                seed.Add(current.Key, current.Value);
                return seed;
            });

        var context = new Mock<FunctionContext>();
        var request = new Mock<HttpRequestData>(context.Object);
        var memoryStream = new MemoryStream(Encoding.UTF8.GetBytes(body));
        request.Setup(x => x.Body).Returns(memoryStream);
        request.Setup(x => x.Query).Returns(queryItems);

        return request.Object;
    }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): How
  • Low reputation (1):
Posted by: user2969756

79145613

Date: 2024-10-31 16:53:33
Score: 1
Natty:
Report link
  1. CancellationToken in ExecuteAsync will be triggered once your service gets shut down by the host, like when the entire app gets shuts down (usually gracefully). See BackgroundService base class
  2. Proper cancellation would be either via IHostApplicationLifetime(stops the entire app) or add CancellationTokenSource into the IoC container, resolve it in the service's constructor, and create a linked token source to monitor the cancellation signal in ExecutAsync
Reasons:
  • No code block (0.5):
  • Starts with a question (0.5): Can
Posted by: Kiryl

79145593

Date: 2024-10-31 16:46:31
Score: 1
Natty:
Report link

For solve my problem, I made the beginning of the wave from the previous frequency, and and because of this, the very claps that spoiled the sound disappeared. Solution in the code:

# we need to edit only append_sinewave function
audio = []
sample_rate = 44100.0
last_phase = 0  # a variable to save the phase between beeps

def append_sinewave(freq=440.0, duration_milliseconds=500):
    global audio, last_phase
    num_samples = int(duration_milliseconds * (sample_rate / 1000.0))
    
    # adding a signal while continuing the phase
    for x in range(num_samples):
        phase = last_phase + 2 * math.pi * freq * (x / sample_rate)
        sample = math.sin(phase)
        audio.append(sample)
    
    # save the phase so that the next frequency continues the wave
    last_phase += 2 * math.pi * freq * (num_samples / sample_rate)
    last_phase %= 2 * math.pi  # normalizing
    return

Thanks to OysterShucker for idea

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

79145585

Date: 2024-10-31 16:44:30
Score: 2
Natty:
Report link

As @gaston (I don't know how to @mention people here) pointed out and as I half suspected there were versioning issues as with all the other instances we see of this issues on SO. what I did to resolve it was

  1. Spark 3.4 works with Java 8/11/17. I in my daze followed some odd documentation, but in the end for this item I - Added Java 17 from Settings -> Project Settings -> Project -> SDK -> azul-17. Then udpated my source/target for the maven plugin to 17's. Then from the Maven Project view Reloaded the project

So now the project will compile with all the latest available for Spark 3.4
However that brings me to my next blocker..... (barf)

2024-10-30 17:14:14,980 ERROR ApplicationMaster [Driver]: User class threw exception: java.lang.NoClassDefFoundError: scala/collection/ArrayOps$

I'll be investigating this now, and perhaps another SO post..

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @gaston
  • User mentioned (0): @mention
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Tdawg90

79145574

Date: 2024-10-31 16:39:29
Score: 1.5
Natty:
Report link

Have you tried installing the compatible version of VS code and Tkinter?

If so then please check whether the version of Tkinter is updated and also try to run the command on cmd if, it is running on the system then your Tkinter is fine else uninstall vs-code and re-install it.

It will work fine.

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Himanshu Rana