79267157

Date: 2024-12-10 06:04:47
Score: 10 🚩
Natty: 6.5
Report link

Have you found any solution? I'm in the same situation

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2.5): Have you found any solution
  • RegEx Blacklisted phrase (2): any solution?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Xavier Rincon Rico

79267146

Date: 2024-12-10 05:56:44
Score: 0.5
Natty:
Report link

The error message you're encountering, indicates that your access to the SharePoint resource is being restricted by Conditional Access policies set within your organization. These policies may require specific conditions to be met, such as device compliance or multi-factor authentication (MFA), which can prevent token issuance when using non-interactive authentication methods.

AADSTS53003: Access has been blocked by Conditional Access policies.

By addressing the Conditional Access policies and potentially using app-only authentication, you should be able to resolve the access issues you're facing.

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

79267140

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

My Python script used to run on both machines (Windows/Mac), but today it suddenly works on Windows but not on Mac. The error on Mac was a 'no module' error. I spent a long time researching the issue, and finally, I realized it was because the Python versions in the two IDEs were different.

In the end, my solution was to uninstall and reinstall the Python extension in VS Code on Mac, and that solved the problem.

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

79267125

Date: 2024-12-10 05:48:42
Score: 2.5
Natty:
Report link

I just fixed this with this exact same technique, added a random comment to my api (for info the comment was #this should not have to be the solution)

And it worked. The Lambda - Appsync queries run now. How is this still a solution 10 years later?

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: HardBurn

79267123

Date: 2024-12-10 05:47:42
Score: 0.5
Natty:
Report link

UWP doesn't have a Windows product key. UWP apps are primarily distributed through the Microsoft Store. When a user installs an app from the Store, the licensing information is managed by the Store itself.

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

79267118

Date: 2024-12-10 05:44:41
Score: 0.5
Natty:
Report link

Am I getting this error because I am making a request from a secure site to a non-secure (SSL) location

The short answer is: no.

If you are using HTTP, there is no encryption in the request. So whether or not your process is a site that uses inbound SSL is not a factor. You can turn it off and try it to confirm.

What is really going on? A couple possibilities. You should manually send the request from curl or wget with verbose mode, and also look at the receiving server's logs.

Since you are using HTTP, you can also use telnet, if you are feeling very hands-on.

Reasons:
  • RegEx Blacklisted phrase (1): I getting this error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: benc

79267103

Date: 2024-12-10 05:32:39
Score: 2.5
Natty:
Report link

LoadModule rewrite_module modules/mod_rewrite.so

The above line was commented out in my httpd.conf for MAMP

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

79267096

Date: 2024-12-10 05:29:38
Score: 6
Natty: 7
Report link

A favor, I would want to consult about the following: on that a7670sa board, the pins UTX and URX working with 3.3v or 1.8V?.

How work the pins PWR-R and SLEEP?.

I thank you so much in advance for your help.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • RegEx Blacklisted phrase (3): thank you so much in advance
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: user20602609

79267094

Date: 2024-12-10 05:28:37
Score: 2.5
Natty:
Report link

I just remove @Lob and its works

@Column(name = "media", columnDefinition = "bytea", nullable = true)
 private byte [] media;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @Lob
  • Low reputation (1):
Posted by: Akdev

79267092

Date: 2024-12-10 05:27:37
Score: 3.5
Natty:
Report link

hello vijay kumar kya kar rhe ho apna kam kar lo

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

79267085

Date: 2024-12-10 05:25:36
Score: 3.5
Natty:
Report link

You can store claims in AspnetUserClaims table in database.

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

79267080

Date: 2024-12-10 05:23:36
Score: 0.5
Natty:
Report link

Recent versions of Firebase require at least Xcode 15.2.

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

79267078

Date: 2024-12-10 05:21:35
Score: 1.5
Natty:
Report link

You can use this for any websites:

window.location.href = window.location.href.split('?')[0] + '?cacheBuster=' + new Date().getTime();

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Kishan Patel

79267076

Date: 2024-12-10 05:20:35
Score: 2.5
Natty:
Report link

Hi Instead of log4j2 appender, i have installed aws cloudwatch agent on ec2 instance and pushed spark application logs on ec2 instance to Cloudwatch.

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

79267075

Date: 2024-12-10 05:20:35
Score: 1
Natty:
Report link

I had this exact same issue and solved it by using a entrypoint.sh executable file as follows: #!/bin/sh set -e # Exit immediately if a command exits with a non-zero status

echo "Running migrations..." python manage.py migrate

echo "Collecting static files..." python manage.py collectstatic --noinput

echo "Starting the application..." exec gunicorn sgrat_dms.wsgi:application --bind 0.0.0.0:8000

The trick here was that the Start Command in the Additional Configuration section of the AWS App Runner service had to be blank so that it would default to the entrypoint.sh file. The problem is that if you have already set this, it can't be unset. I had to create a new service and keep the Start Command blank and deploy from the original image. This actually worked and now runs migrations when a new container is deployed.

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

79267068

Date: 2024-12-10 05:17:35
Score: 1
Natty:
Report link

For users from an external provider, the username that works for me in admin_get_user is f"{identity provider ID}_{email}". It can also be seen in the username in the list of users in AWS Console's Cognito.

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

79267065

Date: 2024-12-10 05:15:34
Score: 1.5
Natty:
Report link

On my side it was something really simple, after cleaning the project, in run -> tomcat server -> Deployment, check the application context, often when creating deployment from scratch the context take _war_exploded prefix, so finally the deployment is done but you try to access with wrong application context

enter image description here

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

79267048

Date: 2024-12-10 05:04:32
Score: 1.5
Natty:
Report link

It appears that your project does not allow ES6+ imports. Try specifying "type": "module" in your package.json

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

79267044

Date: 2024-12-10 04:57:30
Score: 3
Natty:
Report link

provider in laravel 11 change to directory bootstrap/providers.php

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

79267037

Date: 2024-12-10 04:51:30
Score: 0.5
Natty:
Report link

To answer my own question,

This was the right method, however, ffmpeg needs a lot of input data to start receiving the stream and the test files were simply not long enough.

So for testing I have changed from test files to test desktop captures.

I will now describe the new process.

On my monitor, I have two web pages with gifs playing in a loop.

I capture these using ffmpeg ddagrab functionality example : -filter_complex "ddagrab=...

and they are cropped using the crop function example : crop=649:461:16:475

Here are the two full transmitter command lines, transmitting to udp://239.0.0.1:9991 and udp://239.0.0.1:9992

ffmpeg -hide_banner -filter_complex "ddagrab=framerate=30:output_idx=1:video_size=3840x2160,hwdownload,format=bgra,crop=649:461:16:475,scale=1280:720[out]" -map "[out]" -colorspace bt709 -chroma_sample_location left -c:v h264_nvenc -preset p1 -tune ull -bufsize 600k -g 15 -pix_fmt nv12 -flags low_delay -f mpegts udp://239.0.0.1:9991

ffmpeg -hide_banner -filter_complex "ddagrab=framerate=30:output_idx=1:video_size=3840x2160,hwdownload,format=bgra,crop=649:461:16:1500,scale=1280:720[out]" -map "[out]" -colorspace bt709 -chroma_sample_location left -c:v h264_nvenc -preset p1 -tune ull -bufsize 600k -g 15 -pix_fmt nv12 -flags low_delay -f mpegts udp://239.0.0.1:9992

I have also prepared two receiver test windows using ffplay as follows

ffplay -hide_banner -fflags nobuffer -flags low_delay -probesize 32 -analyzeduration 0 -max_delay 0 "udp://239.0.0.1:9991

ffplay -hide_banner -fflags nobuffer -flags low_delay -probesize 32 -analyzeduration 0 -max_delay 0 "udp://239.0.0.1:9992

and lastly the ffmpeg concatenation command as previously described

ffmpeg -hide_banner -i "udp://239.0.0.1:9991" -i "udp://239.0.0.1:9992" -filter_complex "[0:v:0][1:v:0]hstack=inputs=2" -c:v libx264 -preset ultrafast -f mpegts "udp://239.0.0.1:9990"

This command is being run on a separate computer on the same LAN, L2 segment

lastly, another ffplay command listening on udp://239.0.0.1:9990 will receive the final product


A demonstration of this process can be observed here

https://youtu.be/lVSAH_58VR4

Here are a few observations

1 It takes a while to start

2 Latency is high (multiple seconds)

3 Once started, if either of the streams goes out, the full stream is out

4 If you accidentally send two stream in port 9991, as I did at the beginning, the stream will alternate but still work a little and not crash, impressive !

5 And the worst part, when the stream stops because one input is stopped, the working stream will remain in buffer. This will increase delay and the stream will be permanently be desynced as the buffer is never dropped

Please supply alternative answers to alleviate these shortcomings

thanks !

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): youtu.be
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Shodan

79267036

Date: 2024-12-10 04:50:29
Score: 1
Natty:
Report link

This issue affects PC's using Bitdefender Advanced Threat Defense and Gradle version greater than 8.5

The workaround involves

No other changes were necessary

This is all discussed on the Gradle issue tracker here.

One user suggests creating a separate version of Java, but since Android Studio ships with its own implementation it seems to be overkill (please correct me if that is incorrect)

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

79267030

Date: 2024-12-10 04:45:28
Score: 4.5
Natty: 4
Report link

Spreadsheet.getSheetById(gid) this exist now

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

79267026

Date: 2024-12-10 04:44:27
Score: 1
Natty:
Report link

Update your Program.cs or Startup.cs to add Newtonsoft.Json support

builder.Services.AddControllers()
.AddNewtonsoftJson(options =>
{
    options.SerializerSettings.ContractResolver = new 
    CamelCasePropertyNamesContractResolver();
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Raza Sarwar

79267024

Date: 2024-12-10 04:43:27
Score: 1.5
Natty:
Report link

In my case, I forgot to add the database connection strings to the .env file I hope it will help

Reasons:
  • Whitelisted phrase (-1): hope it will help
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: JOEGREEN

79267005

Date: 2024-12-10 04:25:23
Score: 4.5
Natty: 5
Report link

answered here: https://bettersolutions.com/excel/formulas/return-the-value-from-the-cell-above.htm

=INDIRECT(ADDRESS(ROW() - 1, COLUMN() ) )

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

79267001

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

Does a single-indexed DataFrame use hash-based indexing?

ans No, Pandas does not use hash-based indexing for single-indexed DataFrames. Instead, it relies on array-based lookups or binary search when the index is sorted. If the index is unsorted, Pandas performs a linear scan, which is less efficient.

ans 2 :
If the DataFrame is sorted using sort_index(), Pandas can leverage a binary search to achieve faster lookups. Without sorting, lookups default to a linear scan.

ans 3: Hash-based indexing is more challenging for multi-indexes due to the hierarchical nature of the index. Instead, Pandas relies on binary search (for sorted indexes) or linear scan (for unsorted indexes) because these methods handle hierarchical indexing efficiently. Hash-based indexing would introduce additional overhead and complexity when working with multiple levels.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Harshiddhsinh Vaghela

79266999

Date: 2024-12-10 04:21:22
Score: 1
Natty:
Report link

I encountered this one today, it was because something had uninstalled the SSM agent, but since the existing processes were still running, I could still attempt to connect.

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

79266996

Date: 2024-12-10 04:19:21
Score: 2
Natty:
Report link

try using share_plus , Easy to use

Function crossed out , That is, it is no longer used or is about to be removed. Must be careful in use

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

79266980

Date: 2024-12-10 04:05:17
Score: 6 🚩
Natty: 5.5
Report link

I cant get this to work in viewer versión 7, can anyone help?

I have build my app on nextJS 14, but i have also forced dynamic rendering

Reasons:
  • RegEx Blacklisted phrase (3): can anyone help
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Gabriel Jordan

79266974

Date: 2024-12-10 04:00:16
Score: 2
Natty:
Report link

Can it help? This is my code:

class Person {
    public var attachValue: Any?
    func setAttachValue<T>(_ obj: T) {
        self.attachValue = obj
    }
    func getAttachValue<T>() -> T? {
        return attachValue as? T
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can it help
  • Low reputation (1):
Posted by: Weizhen Liu

79266970

Date: 2024-12-10 03:57:15
Score: 4
Natty:
Report link

Make sure you have synced your project with the gradle files first.

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: Phecda.S

79266968

Date: 2024-12-10 03:56:15
Score: 2.5
Natty:
Report link

use conda solve my problem on macos: conda install cairo pango

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

79266967

Date: 2024-12-10 03:56:15
Score: 3
Natty:
Report link

I installed Mozilla Firefox for Android off the Google Play Store. The first pdf opens without a download prompt without any tweaking.

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

79266964

Date: 2024-12-10 03:54:14
Score: 3.5
Natty:
Report link

did you see 'the output is truncated' below your current output? just click the link near that, then you might see the summary of ARIMA/SARIMAX.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: szumin

79266947

Date: 2024-12-10 03:46:13
Score: 1
Natty:
Report link

set template True e.g:


class MenuBarApp(rumps.App):
    def __init__(self):
        super(MenuBarApp, self).__init__("App Name", icon='icon.png', template=True)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mustafa Candan

79266945

Date: 2024-12-10 03:39:12
Score: 1
Natty:
Report link
  1. WebClient considers response with error status codes (eg: 4xx, 5xx) as an exception.
  2. Because of throwing an exception (in this case), the exception handler of spring will return status code 500.

If you want to handle a specific WebClient response status code, use ExchangeFilterFunction to customize it with your exception type. (see this)

Then define the exception handler (scope spring) for this exception. (see this)

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

79266937

Date: 2024-12-10 03:32:10
Score: 0.5
Natty:
Report link

The delayed update and timestamp issue in Google Sheets you experienced while in China could have been caused by several factors, primarily related to network connectivity, restrictions, and syncing mechanisms. Here’s a breakdown of the possible causes:

  1. Internet Restrictions (Great Firewall of China): Google services, including Google Sheets, are often blocked or heavily restricted in China. If you accessed Sheets through a VPN or proxy, it may have caused delays due to: Unstable or throttled connections. Difficulty establishing a continuous link to Google servers.
  2. Network Connectivity Issues: Weak or inconsistent internet connectivity can prevent real-time updates in cloud-based services. Changes made offline are typically queued and synced when the connection stabilizes. This syncing could have taken longer due to connectivity challenges.
  3. Offline Mode in Google Sheets: If you enabled offline access, your edits would be saved locally and synced to the cloud when you regained internet access. The delay in syncing could have caused the changes to appear with a delayed timestamp once the update reached Google’s servers.
  4. Time Zone Discrepancy: If your device or Google account settings were in a different time zone than the Google Sheets file's default timezone, the timestamps might reflect the server's time when the update was received, not when it was made.
  5. Google Servers or App-Specific Delays: Temporary issues with Google's syncing services or server processing times could cause updates to be delayed. Suggestions to Prevent Such Issues: Use a Reliable VPN:

Ensure you have a high-quality VPN if accessing Google services in regions with restrictions. Verify Offline Access:

Enable offline editing in Google Sheets before traveling, so edits are saved and synced seamlessly. Stable Internet Connection: Use a stable and reliable network to minimize syncing delays.

Check Time Zone Settings: Ensure your Google account and Sheets file are set to the same or desired time zone to avoid timestamp confusion. Would you like help troubleshooting or preparing for future use cases like this?

Here are actionable steps to ensure smoother usage of Google Sheets and other cloud-based services while in restricted regions like China:

Before Traveling to China:

Enable Offline Access in Google Sheets: Open Google Drive or Google Sheets. Go to Settings > General > Turn on Offline. This allows you to edit files offline, and changes will sync automatically when you're back online.

Set Up a Reliable VPN: Research and subscribe to a VPN known to work in China (e.g., NordVPN, ExpressVPN, or Surfshark). Install and test the VPN on all your devices before traveling. Configure the VPN for auto-connect on startup to avoid interruptions.

Check Time Zone Settings: Update your Google account timezone under Google Account Settings > Personal Info > Date & Time. Verify the spreadsheet’s timezone under File > Settings in Google Sheets.

Download Mobile Apps: Ensure the Google Sheets app is installed and up-to-date on your phone or tablet. Install additional tools, such as Google Drive, for better file management. While in China: Use the VPN:

Connect to your VPN before accessing Google Sheets. Select a server location near China but outside its borders (e.g., Hong Kong, Japan).

Avoid Public Wi-Fi:

Public networks may have stricter blocks or unstable connections. Use mobile data or a personal hotspot when possible. Keep Files Small:

Avoid working on large or heavily collaborative sheets, as syncing might be slower in restricted environments. Backup Data Locally:

Regularly download a copy of your spreadsheet (e.g., in Excel or CSV format) as a backup. To do this: File > Download > Microsoft Excel (.xlsx) or Comma-separated values (.csv). After Returning or Reconnecting: Force a Manual Sync:

Open Google Sheets and ensure the VPN is active. Reload the page or app to trigger a sync. Check the Last Edit Details to confirm all changes were successfully synced. Resolve Conflicts:

If you edited a file offline, and someone else also worked on it online, Google Sheets may prompt you to merge changes. Carefully review the conflict resolution prompts to avoid overwriting critical edits.

Verify Timestamp Accuracy:

Review the Version History in Google Sheets (File > Version History > See Version History) to ensure all edits are recorded properly. Long-Term Solution: Consider using an alternative service that operates without restrictions in China, such as Microsoft Excel with OneDrive or Zoho Sheets, which may face fewer connectivity issues in restricted regions. Would you like a walkthrough of setting up offline editing or using VPNs? Or perhaps assistance with any other tools?

Reasons:
  • Whitelisted phrase (-2): Solution:
  • Long answer (-1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Tech Tycoone

79266932

Date: 2024-12-10 03:28:09
Score: 3.5
Natty:
Report link

The code in the top-voted answer doesn't work for me. So I want with @HadiAkbarzadeh's answer, which is "handle playback-stopped and play again."

Here's how that looks with NAudio; note that you need to "rewind" the stream to position zero to replay. (Sorry, it's pseudocode-ish, for berevity.)

_waveOut = new WaveOutEvent();
_reader = new VorbisWaveReader("path/to/someAudioFile.ogg");
_waveOut.PlaybackStopped += (sender, args) => {
    _reader.Seek(0, SeekOrigin.Begin);
    _waveOut.Play();
};

That's it! It seamlessly replays after the audio completes.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • RegEx Blacklisted phrase (2): doesn't work for me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @HadiAkbarzadeh's
  • Low reputation (0.5):
Posted by: nightblade9

79266931

Date: 2024-12-10 03:28:09
Score: 0.5
Natty:
Report link

I think I found the way to meet my needs.

  1. Since the build host is opensuse, the first thing to remove optimize options is to modify /usr/lib/rpm/rpmrc,find lines related to your build host arch and modify the flags as below:
optflags: x86_64 -O0 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables
optflags: amd64 -O0 -g
  1. I noticed that while building the output shows that an Makefile.PL was run before make so I modified spec file. Add OPTIMIZE="-g3 -O0" at the end of lineperl Makefile.PL --bundled-libsolv

After these 2 steps, you can see the optimization level is set to 0. But where to find the default option for perl module ExUtils::MakerMaker is sitll unknown

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

79266930

Date: 2024-12-10 03:26:09
Score: 2
Natty:
Report link

I want to say more, but essentially I've found the following project provides a great recipe for Dask + Django integration:

https://github.com/MoonVision/django-dask-demo

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: blong

79266926

Date: 2024-12-10 03:23:08
Score: 4
Natty:
Report link

Caching and read-replica are different technologies that solve similar problems. Their nuances and pros/cons dictate when to use what.

In general,

This article sums it up nicely:

https://medium.com/@avishek1210/database-cache-or-read-only-replicas-choosing-the-right-approach-for-your-project-0b92cec7b985#:~:text=Heavy%20Analytical%20Queries%3A%20Offload%20resource,ideal%20for%20real%2Dtime%20systems.

Reasons:
  • Blacklisted phrase (1): This article
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Avishek Kumar

79266925

Date: 2024-12-10 03:21:07
Score: 2
Natty:
Report link

This is very vital information to Traders who have been scammed before, my advice is for you to be wise before you invest in any binary options trade or broker, I was scammed for $122,000USD by an online broker but at last, I found someone who helped me to recover all my lost funds back from a scam that shocked my capital with an unregulated broker, If you need assistance with regards of your lost funds from your broker or maybe your broker manager is asking you to make more deposit before you could make a withdrawal or your account has been manipulated by your broker manager or your broker has blocked your account just because they need you to make more deposit to your account. If you're interested in getting all your lost funds back kindly get in contact with Recovery Expert, He was the one who helped me to bring back my lost funds, contact him Via email:(recoveryexpert326 at Gmail dot com ) He will guide you on the steps I took in getting all my refunds and bonuses back. Good Luck to you

Reasons:
  • Blacklisted phrase (1): regards
  • Long answer (-1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: robert webb

79266921

Date: 2024-12-10 03:20:06
Score: 4
Natty: 4
Report link

In VBA stop the macro and the References option will be available.

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

79266908

Date: 2024-12-10 02:59:03
Score: 1
Natty:
Report link
Route::middleware(['auth:sanctum', 'can:view customers'])->group(function () {
    Route::get('/customers', [CustomerController::class, 'index'])->name('customer.index');
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: PHPer

79266898

Date: 2024-12-10 02:50:01
Score: 0.5
Natty:
Report link

For anyone landing here late, If you're using type script you can add it to a globa type definition

//global.d.ts
declare module '*.cypher' {
  const content: string;
  export default content;
}

then you can just do

import cypher from './mycypher.cypher'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: fridaystreet

79266896

Date: 2024-12-10 02:46:01
Score: 1
Natty:
Report link

if you are just deleting all data in some tables in postgresql ...

you can truncate the 2 tables together like :

truncate table table1, table2;

otherwise you can see the other answers

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

79266888

Date: 2024-12-10 02:37:59
Score: 0.5
Natty:
Report link

Using Excel 365 (not sure if it's going to work for other versions):

=IF(SUM(IF((B4:E4="D")*(OFFSET(B4:E4,0,-1)="D"),1,0))>0,"Demotion","n/a")

enter image description here

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

79266876

Date: 2024-12-10 02:28:58
Score: 1.5
Natty:
Report link

As suggested by Simon Urbanek, this problem may be solved by changing the default font:

CairoFonts(regular="sans:style=Regular")

https://github.com/s-u/Cairo/issues/49

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

79266875

Date: 2024-12-10 02:27:57
Score: 1.5
Natty:
Report link

I think Tim's answer will handle your specific use case. There are additional recipes for adding and changing spring property values and these recipes will make changes to both properties and yaml formatted files.

The best way to get an idea of how these recipes work is to take a peek at the tests:

AddSpringPropertyTest

ChangeSpringPropertyTest

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Tyler Van Gorder

79266867

Date: 2024-12-10 02:20:55
Score: 5.5
Natty:
Report link

Please check this issue and try again. https://github.com/ionic-team/capacitor/issues/7771

Reasons:
  • Blacklisted phrase (1): Please check this
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Bá Dũng

79266857

Date: 2024-12-10 02:14:54
Score: 1
Natty:
Report link

Instead of iterating over all queries for every item in idx, iterate through qs as the outermost and only for loop, adding each query to toc[q.title[0]] (and creating the list if needed).

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

79266856

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

I answered here (using jQuery): https://stackoverflow.com/a/79266686/11212275

It works with React as well; just copy the "responsive" array.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Luis Lobo

79266854

Date: 2024-12-10 02:10:52
Score: 4
Natty: 4
Report link

If your laptop is connected to a vpn, disconnect and retry it.

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

79266843

Date: 2024-12-10 02:03:51
Score: 2.5
Natty:
Report link

Alternatively, add .npmrc file at the root of the project (same level you expecting to run 'npm install') and add the:

registry=https://registry.npmjs.org

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

79266832

Date: 2024-12-10 01:55:48
Score: 0.5
Natty:
Report link

What I'm guessing is going on (but can't know without seeing the data) is that your explanatory variables are highly correlated with each other. The significance of each variable is calculated based on how much additional variance is explained when you add that variable to a reduced model with all the variables except that one. So if your explanatory variables are collinear, adding another one isn't going to explain much variance that the others haven't.

Also, definitely too many predictors for the data you have. That could, quite possibly, be the sole reason your explained deviance is so high. For only 12 data, you probably don't want more than one or two predictors (though read elsewhere for other opinions).

One possible way forward would be to do a principal component analysis of your explanatory variables, or of a subset of your explanatory variables that would naturally group together. If one or two principal components explain a large proportion of the variance in your explanatory variables, then use those principal components as your predictors instead.

Another possibility would be to jettison any predictors that seem less important a priori (emphasis on the a priori part).

Also, you will probably get better answers than this on Stats.SE.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Starts with a question (0.5): What I
  • Low reputation (0.5):
Posted by: Eonema

79266830

Date: 2024-12-10 01:52:48
Score: 1
Natty:
Report link

When moving diagonally, you're applying an offset of magnitude speed in two directions at once for a total diagonal offset of sqrt(speed^2 + speed^2) = sqrt(2) * speed ≈ 1.414 * speed. To prevent this, just normalize the movement to have a magnitude of speed. You can store the offset in a vector and use scale_to_length to do so, or you can just divide the x and y offsets by sqrt(2) if a horizontal and vertical key are both pressed.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: tenuki

79266828

Date: 2024-12-10 01:50:47
Score: 0.5
Natty:
Report link

For Postfix regexp_table(5):

/^From: DHL <.*@([-A-Za-z0-9]+\.)*[Dd][Hh][Ll]\.[Cc][Oo][Mm]>$/i  DUNNO
/^From: DHL </i                                                   REJECT

For postfix pcre_table(5):

/^From: DHL <.*@(?!(?i)([-a-z0-9]+\.)*dhl\.com>$)/i  REJECT
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: fumiyas

79266827

Date: 2024-12-10 01:48:47
Score: 2
Natty:
Report link

I did exactly the same thing that all the responses to this post are saying.

But I achieved a solution with a simple command, in addition to the previous solutions

In the script you need to put "--files"

"scripts": { "dev": "ts-node-dev --respawn --env-file=.env --files src/index.ts",

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

79266810

Date: 2024-12-10 01:22:41
Score: 1
Natty:
Report link

So many years without right answer... Of course, you can!

Just stop PG, make copy of your cluster data directory (PGDATA) with thoroughly saved permissions and change in your PG`s postgresql.conf "data_directory" parameter pointing to the new location, start PG.

I.e.

/etc/postgresql/11/main/postgresql.conf

data_directory = '/mnt/other_storage/new_cluster_location'

It was tested many times under Debian and Ubuntu environments without any problems. Just works as it expected: fast and reliable (PG versions 9-16).

data_directory in pg_catalog->pg_settings changes automatically after server restarts.

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

79266807

Date: 2024-12-10 01:21:41
Score: 2.5
Natty:
Report link

Have a look at selectize input that will start searching for the options that partially match the string typed.

enter image description here

As mentioned, best to just have the search value i.e. select one or more of; 'setosa', 'versicolor', 'virginica'. I would add slider inputs to filter numeric columns

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

79266801

Date: 2024-12-10 01:19:40
Score: 3
Natty:
Report link

My key was invalid. tried with different file and it worked!

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

79266800

Date: 2024-12-10 01:18:40
Score: 2.5
Natty:
Report link

OutlinedSecureTextField is designed for password field (available since material3 1.4.0).

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

79266792

Date: 2024-12-10 01:13:39
Score: 1.5
Natty:
Report link

The easiest way to solve this would be to delete local master and checkout origin master. That way you would have a healthy master you can use to branch from it and start clean.

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

79266769

Date: 2024-12-10 00:48:34
Score: 3.5
Natty:
Report link

this might be the date and time not synced between nodes

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

79266762

Date: 2024-12-10 00:43:33
Score: 1.5
Natty:
Report link

This worked:

@Composable()
fun IconImage(modifier: GlanceModifier = GlanceModifier) {
    val assetPath : String = "assets/test.png"
    val loader = FlutterInjector.instance().flutterLoader()
    val assetLookupKey = loader.getLookupKeyForAsset(assetPath)
    val inputStream: InputStream = LocalContext.current.assets.open(assetLookupKey)
    val bitmap = BitmapFactory.decodeStream(inputStream)
    Image(
      ImageProvider(bitmap), modifier = modifier, contentDescription = null
    )
}
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Dario Digregorio

79266759

Date: 2024-12-10 00:41:33
Score: 2.5
Natty:
Report link

Use pip install sanfis instead of anfis, it worked to me for python3

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Daniel A. Loaiza Trujillo

79266758

Date: 2024-12-10 00:39:32
Score: 1
Natty:
Report link

Try to send audio stream with video, even dummy. Some streaming services like youtube, etc, may require audio stream with video. Something like that:

const ffmpeg = spawn('ffmpeg', [
    '-i', 'pipe:0',
    '-f', 'lavfi',
    '-i', 'anullsrc',
    '-c:v', 'libx264',
    '-preset', 'veryfast',
    '-maxrate', '3000k',
    '-bufsize', '6000k',
    '-pix_fmt', 'yuv420p',
    '-g', '50',
    '-c:a', 'aac',
    '-f', 'flv',
    'rtmp://a.rtmp.youtube.com/live2/MY_KEY'
  ]);
Reasons:
  • Blacklisted phrase (1): youtube.com
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: alexb

79266737

Date: 2024-12-10 00:17:29
Score: 1
Natty:
Report link

Not saying from knowledge, but I'm almost sure at this point Valkey and Redis still behave the same in MULTI. Maybe in the next releases differences will be introduced, but I think it's too soon for such difference.

I guess your question is regarding standalone server?

Let's distinguish between two concepts used with the same term -

  1. Client simply as a connection to the server.
  2. Client as a managed connection by some library.

As for connection, yes, if you start multi, all the commands the client connection send are sent as part of the multi. If other connections send commands, they won't be served until the multi ends.
That's what multi is trying to guarantee, some kind of atomic behavior, all happens together and nothing else.

At this point comes the need for management, which is why client libraries exist.
At ValKey-Glide we use multiplexing connection, as the third option mentioned in the prev answer. That means, in simple words, that all the commands you want for the multi will be aggregated and will be sent together. Meaning you have plenty of commands in flight, the multi commands count as one all together, and it lands at the server as one. It's important to emphasize that if you decide to use multi, it means that you want to have a strict order of commands, so it's not supposed to be a friend of multithreading.

So the multiplexer behavior makes sense — you get the best of the resources, but you don't break the logic when you require it. But, as mentioned, if you would like to use blocking commands in the multi, you should have another multiplexer; otherwise, it will stay blocked forever.

Did you mean to ask about multithreaded server?

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

79266728

Date: 2024-12-10 00:08:27
Score: 1
Natty:
Report link

In your code you tried to create MP4 container format output file instead AVI: when you've provided short name in av_guess_format as first parameter, it has more weight for decide output format than file name extension (https://www.ffmpeg.org/doxygen/0.6/libavformat_2utils_8c-source.html#l00198).

MP4 container does not support PCM data including G.711. Please look on this page for details https://en.wikipedia.org/wiki/Comparison_of_video_container_formats

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

79266706

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

The self.lock.__enter__() looked suspicious without exiting, so I changed it to become the following and it rolled back as expected

        with transaction.atomic(savepoint=True):
            signals.task_started.send(sender=self.flow_class, process=self.process, task=self.task)

            self.process.save()

            lock_impl = self.flow_class.lock_impl(self.flow_class.instance)
            self.lock = lock_impl(self.flow_class, self.process.pk)
            # self.lock.__enter__()
            with self.lock:
                self.task.process = self.process
                self.task.finished = now()
                self.task.save()

                signals.task_finished.send(sender=self.flow_class, process=self.process, task=self.task)
                signals.flow_started.send(sender=self.flow_class, process=self.process, task=self.task)

                self.activate_next()

@kmmbvnr can you please verify? Is there going to be any unintended consequences after this change?

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @kmmbvnr
  • Self-answer (0.5):
  • Looks like a comment (1):
  • High reputation (-2):
Posted by: James Lin

79266702

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

I want to run

from tests import test_user_credentials, test_team_site_url

instead of

from office365.sharepoint.webs.web import Web

which is stated in my original question. Sorry for the confusion .

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Jen

79266695

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

Automatic Call to Parent Constructor: If a constructor does not explicitly call a parent class constructor, most programming languages will automatically call the no-argument constructor of the parent class. 2. Explicit Call: You can explicitly call a parent class constructor using keywords like super (in Java, Python, etc.) or base (in C#). 3. Order: The chaining always moves from the top of the hierarchy (the most distant parent) down to the most derived class. Test

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

79266694

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

A succinct way of accomplishing this in modern (2024) Elixir is as follows:

def find_indexes(lst, elem) do
  for {x, i} <- Enum.with_index(lst), x == elem, do: i
end
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: slondr

79266693

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

Try removing hx-post="slacktest/ui" hx-swap="outerHTML" from your form element, and updating your button to:

<button type="button" class="btn btn-primary" hx-post="slacktest/ui" hx-swap="outerHTML" hx-target="#counter"> Click me </button>

This is because, by default a button on a form is of type submit, and submit defaults to a GET request if the url is defined on the form...

Your HTMX is intercepting the form submission payload, but not the submit execution. By defining the button as type button you are now intercepting the default execution, and the hx-post and hx-target are intercepting the payload.

If this still doesn't work, please post the body of your program.cs which contains your APIs.

Reasons:
  • RegEx Blacklisted phrase (2.5): please post
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kevin

79266684

Date: 2024-12-09 23:31:19
Score: 1
Natty:
Report link

Just supply your HTML tags to the Trans component. Where the key in the component object matches the HTML tag within your translation JSON. Modify as you see fit.

<Trans i18nKey="yourKey" components={{table: <table></table>, tr: <tr></tr>, td: <td></td>}}/>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: oreos

79266676

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

I ran into this issue today. I found that my problem was the following in the csproj

<RuntimeIdentifier>win-x64</RuntimeIdentifier>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: cSharpNoobie

79266675

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

It could be that the model name is different on the config.json Verify by example "model": "granite-code:34b", "title": "Granite Code", With "tabAutocompleteModel": { "title": "granite-code 34b", "provider": "ollama", "model": "granite-code:34b"

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: CARLOS BARRON ROMERO

79266668

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

I'm a maintainer of ValKey-Glide, part of ValKey org. First, go to ValKey-Go and open an issue, I believe the community will put effort to implement what missing.

Moreover, this one is important for me, :) ValKey-Glide is soon will go Beta with glide for Go, and by Feb/March we will go GA. If you would like to be a Beta user, we would love to hear! And I recommend staying tuned for the GA, I think Glide will become the golden standard of the clients.

If this is something which is significant for you to have, please open an issue at Glide repo as well, even if you use another client. We highly appreciate and looking to get users' needs, on top of what we bring from many years of working on clients.

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

79266667

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

You can write out the 000-099, 100-129, 130-138, 200-999 cases separately and then OR them

0[0-9]{2}|1[0-2][0-9]|13[0-8]|[2-9][0-9]{2}

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

79266664

Date: 2024-12-09 23:19:16
Score: 5
Natty:
Report link

IDK if Rig might be any help here, but it simplifies Rust apps with LLM integrations, so could be worth checking out rig rs etc. if you're deep into Rust dev projects.

Ever worked with LLMs in Rust before?

Reasons:
  • Blacklisted phrase (1): any help
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Mentio co

79266646

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

i cannot change my wordpress theme, and when people view the cart page via mobile, you cannot see the image. it looks more like a list. I've tried plugins, css coding. and i just can't figure it out..

Reasons:
  • Blacklisted phrase (0.5): i cannot
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: mich

79266641

Date: 2024-12-09 22:54:10
Score: 14 🚩
Natty: 5
Report link

spells, I have the same problem getting the error message "ModuleNotFoundError: No module named 'tests'". How can I copy 'tests' from https://github.com/vgrem/Office365-REST-Python-Client/tree/master/tests in Python? Could you share an example code? Thank you!

enter image description here

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): How can I
  • Blacklisted phrase (1): I have the same problem
  • Blacklisted phrase (1): enter image description here
  • RegEx Blacklisted phrase (2.5): Could you share
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Jen

79266638

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

HTTP 405 usually signifies that you are trying to call an endpoint on your server with an incorrect HTTP method i.e You are trying to call an endpoint that is a POST with a GET. Confirm that you are indeed using the right HTTP method and try it again

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

79266633

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

Reinstalling the node modules did the trick for me.

rm -rf node_modules
npm install
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Codey McBugfix

79266624

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

As above, but I did have to do an extra step of allowing the container access to the server (I think that's the right way to say it?). I am using arch linux and I had to do this step of running xhost +local:docker.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mike Tawfik Edubas

79266623

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

To enable password authentication, ensure that you comment out all other authentication methods (I meant everything else) and set PasswordAuthentication to yes in the sshd_config file.

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

79266614

Date: 2024-12-09 22:34:05
Score: 4
Natty:
Report link

Likely need to add flag for portability instance for proper finding. Link to potential fix -> https://stackoverflow.com/a/72791361/22085464

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 辛いだるま

79266611

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

Yes this is possible - dbt Labs provides a JSON Schema representation of dbt's YAML files. When this extension is installed in your VS Code environment, you can associate the schemas and get autocomplete and type checking.

Full installation instructions are in the above-linked GitHub repo's readme

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

79266610

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

I am not sure if you have the same problem, but for me it was because the path to the exe contained non ASCII characters. This is why it works in most systems but crashes on others. There is an open pull request to fix that https://github.com/rougier/freetype-py/pull/177.

Here is an easy way to reproduce; the exe worked fine until I added non ASCII characters to its parent folder. To be clear, a non-ASCII character will cause this regardless of where it is in the path (for example, if the exe is inside the user's folder and the username has non ASCII characters)

Parent folder with appended unicode characters

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): have the same problem
  • Low reputation (1):
Posted by: anass elimrani

79266609

Date: 2024-12-09 22:32:04
Score: 3
Natty:
Report link
  • Do you have a clue why this is happening?

Many things are all running on your system at the same time. The system shares available resources (CPU, memory bandwidth, device I/O) among them.

Your script does not have unconditional first priority for system resources. In fact, there are probably some occasional tasks that have higher priority when they run, and plenty of things have the same priority. It is not surprising that every once in a while, one of your transfers has to wait a comparatively long time for the system to do something else. If you need guarantees on how long your script might need to wait to perform one of its transfers, then you need to make appropriate use of the features of a real-time operating system.

  • How can I fix this, or speed up the code?

You probably cannot prevent occasional elapsed-time spikes, unless you're prepared to install an RT OS and run your code there. Details of what you would need to do are a bit too broad for an SO answer.

With sufficient system privileges, you may be able to increase the priority of a given running job. That might help some. Details depend on your OS.

The usual general answer to speeding up Python code that is not inherently inefficient is to use native code to run the slow bits.

  • Are there some general Python settings to prevent this behavior?

I don't believe so. The spikiness you observe is not Python-specific.

  • How would you debug this?

I wouldn't. What you observe doesn't seem abnormal to me.

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Blacklisted phrase (1): How would you
  • Blacklisted phrase (1): How can I fix this
  • RegEx Blacklisted phrase (2.5): Do you have a
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: John Bollinger

79266608

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

Color as the 4th Dimension! It's not time, which can be thought of as the last dimension due to it iterating all that came before it. 3Dimension(X,Y,Z)(Macro), Color(R,G,B)(Micro). I'm working on this myself, it's nice to see someone proceded me.

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

79266606

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

Wouldn't three properly formatted columns allow you to have a figure appear visually between chunks of text on a page while in fact simply being in line with all of the text? In other words, in the horizontal visual layout, text in column one appears at the left side of the page, the figure appears in the center, and text in column three appears at the right side of the page.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Brian Balk

79266602

Date: 2024-12-09 22:26:02
Score: 4
Natty:
Report link

npm install react@canary react-dom@canary

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: Wisdom

79266589

Date: 2024-12-09 22:19:00
Score: 0.5
Natty:
Report link

The quote from Design Patterns: Elements of Reusable Object-Oriented Software, p. 94 relates to a Maze design example.

Notice that the MazeFactory is just a collection of factory methods. This is the most common way to implement the Abstract Factory pattern.

Also, the Abstract Factory chapter never provides or even mentions a composition-based implementation.

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

79266586

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

In my case I'm implementing an On Demand Module (https://developer.android.com/guide/playcore/feature-delivery/on-demand) and all resources missing were inside a 3rd party SDK dependency I needed to add inside the On Demand Module...strings, styles and xml files were missing. To solve this I simply added the missing things empty inside the main module as suggested here:

https://alecstrong.com/mytalks/edfm/

Inside the video check the minute 25: Gotcha 2 Manifest Merging.

Here's the web page mentioned inside those slides:

https://medium.com/androiddevelopers/a-patchwork-plaid-monolith-to-modularized-app-60235d9f212e

Check the subtitle: "Styling issues"

Thank u Alec Kazakova and Ben Weiss for sharing the struggle...I wish Google did more with this kind of issues... troubleshoot their messy solutions is a nightmare

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (0.5): medium.com
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Ramiro G.M.

79266573

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

In your handleSubmit function just reset the formData state:

 function handleSubmit(event){
           event.preventDefault();
           send(formData);
           setFormData({ fullName: "",emailAddress: ""})
   }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Arr

79266571

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

As Sampath said, I have to set up webhooks to get this to work. I needed a whole day to get this to work with the authentication but eventually, the key settings were

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

79266567

Date: 2024-12-09 22:10:58
Score: 2.5
Natty:
Report link

Using transactional annotation with framework like springboot jpa will change autocomit behaviour , because setting for this feature can be within different scopes like per session or globally , so springboot should use transactional annotation to handle tranaction management by itself

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

79266550

Date: 2024-12-09 21:59:56
Score: 4
Natty:
Report link

postman can actually do the job

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

79266534

Date: 2024-12-09 21:52:54
Score: 3.5
Natty:
Report link

Nâng cấp cấu hình hệ tương thì phải làm thế nào...

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