79535359

Date: 2025-03-26 03:57:58
Score: 0.5
Natty:
Report link

This was happening to me using the Azure Cache for Redis Basic tier; the default version there as of time of this writing is 6.0.0. You cannot upgrade the Basic tier; only the Enterprise tier offers upgrades.

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

79535345

Date: 2025-03-26 03:45:56
Score: 4
Natty:
Report link

Updating docker fixed this for me.

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

79535335

Date: 2025-03-26 03:34:53
Score: 0.5
Natty:
Report link

Google AdSense Integration in Docusaurus Project

To integrate Google Adsense in Docusaurus, I have followed the below-mentioned steps

1. Get The Code From the Google Adsense

Adsense code will be provided by Google one your blog/website is monetized. It will look similar to the HTML code mentioned below.

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-XXXXXXXX" crossorigin="anonymous"></script>

Once you have the code then you can go to the step 2

2. Modify docusaurus.config.js

Modify your docusaurus.config.js file. Add the AdSense script to the scripts section. The configuration should look like this:

module.exports = {
  // Other configurations...

  scripts: [
    {
      src: 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-XXXXXXXX',
      async: true,
      crossorigin: 'anonymous',
    }
  ],
};

If you still confuse check the my github source code

The next question in mind would be how can I add the adsense to the specific page lets find that

3. Keeping Ads on Specific Page

For that you can create similar script on that page.

<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-XXXXXXXX"
     data-ad-slot="XXXXXXX"
     data-ad-format="auto"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>

In both the cases

Don't forget to replace ca-pub-XXXXXXXX with your actual Adsense ID

Reasons:
  • Blacklisted phrase (0.5): how can I
  • Long answer (-1):
  • Has code block (-0.5):
  • Filler text (0.5): XXXXXXXX
  • Low reputation (1):
Posted by: abhinav tiwari

79535333

Date: 2025-03-26 03:32:53
Score: 2
Natty:
Report link

Is it possible to switch button icon with Visual Studio extension toolbar?

I am afraid not. I think there is no built-in feature/class to switch button icon upon click event.

From looking at this document OleMenuCommand Class

If the command is added dynamically, it makes more sense to use OleMenuCommand, in order to implement the BeforeQueryStatus handler.

Looks like we can update the status of the menu command in this method OnBeforeQueryStatus by changing the Visible, Checked, and Enabled properties on the OleMenuCommand object.

You can change the text of a menu command by following this guide1

You can change the appearance of a command by following this guide2

However i would suggest you can also report this issue at Visual Studio Forum to double confirm if there is any available feature to achieve it. That will allow you to directly interact with the appropriate product group, and make it more convenient for the product group to collect and categorize your issue.

Reasons:
  • Blacklisted phrase (1): this guide
  • Blacklisted phrase (1): this document
  • Blacklisted phrase (1): Is it possible to
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is it
  • High reputation (-1):
Posted by: Dou Xu-MSFT

79535324

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

I tried multiple solution with jest setup file above but seems nothing works for every situation.

I read the code of winston and find we should mock Console Transport's log method like

import winston from 'winston';

winston.transports.Console.prototype.log = jest.fn();

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

79535302

Date: 2025-03-26 02:57:46
Score: 3.5
Natty:
Report link

This article should help fix problem with Docker on Jetson

Reasons:
  • Blacklisted phrase (1): This article
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: sosnus

79535296

Date: 2025-03-26 02:50:45
Score: 1.5
Natty:
Report link

Modify the nameservers of the domain to match the nameservers of the hosted zone.

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

79535294

Date: 2025-03-26 02:50:45
Score: 3
Natty:
Report link

You can fix this by installing the postcss language support extension

vs 扩展

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

79535293

Date: 2025-03-26 02:50:45
Score: 0.5
Natty:
Report link

Well, for example:

import cv2
ds = cv2.imread("path_to_file.png")
ds = ds[500:1500, 500:1500]
cv2.imwrite("path_to_file2.png", ds)

I just checked, everything is working.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Konstantin Makarov

79535291

Date: 2025-03-26 02:49:45
Score: 0.5
Natty:
Report link

Someone pointed out to me that accessing my demo from their Chrome worked fine and, when I tried it, it did too. So it had to be my DEV box. I decided to leave the question up as it may help others but the answer was a simple reboot :-(

As this is my development machine I was going to localhost so, not sure if that affected things but, I simply couldn't clear out something Chrome was seeing from earlier tests.

As mentioned, I tried: -

  1. Deleting browser hostory
  2. Couldn't delete cache as it said there was none
  3. Unregistered any ServiceWorkers
  4. Started a new Chrome window

Anyway, all's well that ends.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: McMurphy

79535290

Date: 2025-03-26 02:49:45
Score: 0.5
Natty:
Report link

Make sure your client project references the assembly that contains your JournalTransactionRequestInfo class (and any other shared contracts). This ensures the client get the class you want to reuse.

You can also try adding a service reference using VS by following these steps :

  1. In your client project, right-click on the project and choose Add Service Reference.

  2. Enter the service URL and click Go.

  3. Before clicking OK, click the Advanced… button.

  4. In the Advanced Settings dialog, locate the Reuse types in referenced assemblies option.

  5. Ensure that your shared contract assembly is referenced by the client and that it appears in the list of assemblies to reuse types from. Check the box to reuse types found in these assemblies.

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

79535288

Date: 2025-03-26 02:46:44
Score: 2
Natty:
Report link

If you're building your app with Docker, ensure that all variables with the NEXT_PUBLIC_ prefix are included in the Docker build step, typically by defining them in the .env.production file.

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

79535286

Date: 2025-03-26 02:45:44
Score: 2.5
Natty:
Report link

You need to save the user's device id information to the database. Only when they call the logout API will they log out, otherwise when you open the app, you check if the device id has been logged in on the database.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Trần Anh Tú

79535284

Date: 2025-03-26 02:41:44
Score: 1
Natty:
Report link

Try using the coalesce() function

Reasons:
  • Probably link only (1):
  • Low length (2):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Yoni L.

79535279

Date: 2025-03-26 02:38:43
Score: 1.5
Natty:
Report link
@Bean
GenericContainer<?> nginxContainer() {
    return new GenericContainer<>(DockerImageName.parse("nginx:latest"))
            .withExposedPorts(80);
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: bir

79535265

Date: 2025-03-26 02:25:40
Score: 2
Natty:
Report link

SharePoint's REST API does not automatically append or prepend symbols to numeric values; it returns the data as it is stored in the list. Currently, there is no specific REST endpoint that modifies the returned numeric values to include formatting symbols directly.

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

79535260

Date: 2025-03-26 02:18:39
Score: 1.5
Natty:
Report link
pip install grad-cam 

worked for me.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (2):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: shahid muneer

79535255

Date: 2025-03-26 02:13:38
Score: 2.5
Natty:
Report link

At ankushmagotra.in, we are more than just a marketing agency in Delhi—we are your growth partners. Whether you need expert services from a digital marketing agency in New Delhi or require a full-scale strategy from the best digital marketing company in Delhi NCR, we are here to deliver results.

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

79535253

Date: 2025-03-26 02:10:37
Score: 1.5
Natty:
Report link

After asking around, I found out that my employer uses a webproxy. I set up the webproxy in XRMToolbox in "Settings" -> "Proxy" -> then you set "Selection: Use Custom proxy", then you can enter your custom proxy address (remember to include the http:// prefix). That solved the problem. It was also not connecting to the Tool Library, that was also solved.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: Gideon

79535239

Date: 2025-03-26 01:57:35
Score: 1.5
Natty:
Report link

This has now been fixed in duckdb/duckdb#16397. Release version 1.2.1 includes the fix. The issue was two identically named macros were conflicting. The solution was to rename one of them.

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

79535235

Date: 2025-03-26 01:55:34
Score: 1
Natty:
Report link

It seems like there was a discussion here.

It seems like one of vite's dependency does not support file changes of mounted directory which in this case is the laravel project.

Hope this helps.

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

79535231

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

A more detailed stack trace that includes all local variables at each level can be achieved by utilizing the stack-snapshot library.
Firstly, use pip install stack-snapshot command to install this library, then just put one line in your code:

import stack_snapshot; stack_snapshot.init()

An example:

import stack_snapshot

def inner(x, y):
    return x / y

stack_snapshot.init()

x = 1; y = 0
print(inner(x, y))

When stack snapshotting is not enabled:

Traceback (most recent call last):
  File "PyStackSnapshot\test.py", line 9, in <module>
    print(inner(x,y))
  File "PyStackSnapshot\test.py", line 4, in inner
    if y == 0: raise ZeroDivisionError
ZeroDivisionError

After enabling stack snapshotting, it is easier and more convenient to to pinpoint the issue while knowing the values of x and y:

-------------------- Error: --------------------
Traceback (most recent call last):
  File "PyStackSnapshot\test.py", line 9, in <module>
    print(inner(x,y))
  File "PyStackSnapshot\test.py", line 4, in inner
    if y == 0: raise ZeroDivisionError
ZeroDivisionError

Local variables of inner (test.py):
x = 1
y = 0

Global variables of <module>:
__file__ = 'PyStackSnapshot\\test.py'
__name__ = '__main__'
...
inner    = <function inner at 0x03221810>
x        = 1
y        = 0

-----------------------------------------------

Exceptions can also be manually output:

import stack_snapshot

def inner(x, y):
    return x / y

stack_snapshot.init()
try:
    print(inner(1, 0))
except Exception as err:
    if hasattr(err, "stack_snapshot"):
        print("Stack depth: ", len(err.stack_snapshot)) # When taking snapshot is enabled, all exception objects automatically have a stack_snapshot attribute added
    stack_snapshot.trace_error()

It works by just modifying the __new__ method such as ValueError.__new__, or redirecting the function call to the exception class such as ValueError.

Additionally, traced variable information can be pasted into generative AI tools including ChatGPT to let them generate more precise codes.

More detailed usage and how it works can be seen here: PyStackSnapshot · GitHub, and I'm the developer of stack-snapshot library.

Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: qfcy

79535225

Date: 2025-03-26 01:45:32
Score: 2
Natty:
Report link

The C++ compiler does not write run-time checks on array indexing. Once the array is passed to the C++ compiler it is accessed using C++ rules. You can expect buffer overflow checking if you pass an Ada subprogram handling the array to the C++ compiler. The Ada compiler will generate the subprogram with the expected run-time checks.

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

79535221

Date: 2025-03-26 01:37:31
Score: 3
Natty:
Report link

In my case, when I added chain of drop(column) methods on the Dataset() then I noticed huge impact from GC caused failure of Spark application due to timeout.

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

79535216

Date: 2025-03-26 01:33:30
Score: 4
Natty:
Report link
  1. https://vt.tiktok.com/ZSr8Qt1wq/
header 1 header 2
cell 1 cell 2
cell 3 cell 4 8
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Muhammad Hasnain

79535214

Date: 2025-03-26 01:32:29
Score: 2
Natty:
Report link

A settings file only applies to one workspace.

But you could vote the request: https://github.com/Microsoft/vscode/issues/32693

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Minxin Yu - MSFT

79535211

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

@sawa said: Of course these are objects, and have to belong to some class. I am asking why they cannot be instances of the Object class.

@sawa The Ruby interpreter evaluates conditional expressions as either truthy or falsey. Since everything in Ruby is an object, the evaluation of a conditional expression results in an object.

All objects in Ruby except false and nil evaluate as truthy. So, all other objects like true, [] (an empty array,) 0 (the Integer ordinal zero,) even an empty String object, etc., evaluate as truthy. This means that when the expression is a comparison, the resultant object of the evaluation will be either true, false or nil. The interpreter does not need to do anything more with the result in order to make a decision as to code flow (i.e., execute the if or the else clause, etc.)

But if instead true, false and nil were bare instances of Object, then this would mean that class Object would have to have true? and false? query methods and every object (since everything is a descendant of Object,) would need to hold a Boolean and Nilness state variables, which just creates overhead.

Now think about the interpreter when it comes to evaluating each conditional expression. Instead of the simple "is it nil or false, otherwise true" test, it would have to call a Boolean query method upon the result object of each expression. Method calls take time and this would just add slow down execution.

It also would force programmers to state the truthiness / falsehood of their classes when the define them or of instance objects when instantiated which I can imagine would be convoluted or some new syntax in the argument list.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @sawa
  • User mentioned (0): @sawa
  • Low reputation (1):
Posted by: Dan Rathbun

79535210

Date: 2025-03-26 01:23:27
Score: 1.5
Natty:
Report link

You need to change the following values on mysql database table wp_options

option_name option_value Example
siteurl your site url with https:// https://visitsrilanka.lk
home your site url with https:// https://visitsrilanka.lk
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Supun Ayeshmantha

79535200

Date: 2025-03-26 01:16:26
Score: 2.5
Natty:
Report link

I am wondering ,what if I initiate a doubly linked list with a head and tail pointers and I traverse the linked list with one pointer starting from the head and the other pointing from the tail , loop until both pointers meet? I undestand that the time complexity is still O(n). but can't there be a way to use like 4 pointers

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Daniel Kpatamia

79535199

Date: 2025-03-26 01:16:26
Score: 2.5
Natty:
Report link

Not sure what you mean with "YouTube v3 API". Maybe you meant the YouTube Data API v3. But that doesn't give you the data you want. For that you may use the YouTube analytics API.

https://developers.google.com/youtube/analytics

And in particular

https://developers.google.com/youtube/analytics/channel_reports#video-reports

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

79535197

Date: 2025-03-26 01:11:25
Score: 2.5
Natty:
Report link

There's jre4Android available for android 5.0+. It works and also has supports GUI for java ui l²ibrary° swing

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

79535195

Date: 2025-03-26 01:07:24
Score: 1
Natty:
Report link

When nodes enter the Scene Tree, they become active and receive the _enter_tree() callback, which executes after _init() and before _ready():

Called when the node enters the SceneTree (...). If the node has children, its _enter_tree() callback will be called first, and then that of the children.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: liggiorgio

79535190

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

to solve this you can easily go to preferences>Editors>SQL Editor>Code Editor and enables this check box!

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

79535182

Date: 2025-03-26 00:52:22
Score: 1
Natty:
Report link

I encountered similar issue recently, where my date column contains blank and null values. SSIS seems to struggle with Excel date columns that contain blank cells and throws "The value could not be converted because of a potential loss of data" error when you try to convert the excel column to date [DT_DATE] format as SSIS data flow output.

My work around is disabling the error outputs on these particular date columns. Right click the Excel source in your data flow -> Edit. Find the date column that is anticipated to contain null values. Under "Truncation" tab, set value to "Ignore failure".

Ensure your table destination accepts null for date value.

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

79535176

Date: 2025-03-26 00:51:21
Score: 2
Natty:
Report link

Okay, so the issue seems to be with apparmour

I stopped, disabled app armour with systemctl, and restarted my computer, and it seems to work now.

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

79535173

Date: 2025-03-26 00:50:20
Score: 6.5 🚩
Natty: 4.5
Report link

ช่วยเป็นพยานในชั้นศาลของสหราชอณาจักร และ ศาลสหภาพยุโรปและศาลรัฐบาลกลางสหรัฐอเมริกา ว่ามีการปลอมแปลงและเปลี่ยนแปลงข้อมูลในการส่งและรับของระบบต่างๆในการเข้าใช้บัญชีภายใต้ชื่อ(นาย อนุรักษ์ ศรีจันทรา)ด้วยครับ "องค์กรสเเต็ค"ขอบพระคุณอย่างสูงครับ

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: อนุรักษ์ ศรีจันทรา

79535171

Date: 2025-03-26 00:50:20
Score: 1
Natty:
Report link

I just found a solution for delay pagination skeleton not visible issue:
I added a key={${categorySlugDecoded}-${page}} inside Suspense.

  <Suspense fallback={<PLPSkeleton />} key={`${categorySlugDecoded}-${page}`}>
    <ProductsLoader apiParameters={apiParameters} />
  </Suspense>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Abhishek kamal

79535161

Date: 2025-03-26 00:38:18
Score: 1.5
Natty:
Report link

Using your existing pipeline activites this is probably the simplest approach.

1. Do your lookup exactly how you are

2. In your Set Variable Activity use this dynamic content expression:


@formatDateTime(activity('Lookup1').output.firstRow.xdate, 'yyyy-MM-dd')

enter image description here

3. Your Script Activity can be simplified to just this:

delete from dbo.temp_paycor_payroll
where [Check Date] = '@{variables('xdate')}'

enter image description here

This should do it! Cheers!

Reasons:
  • Blacklisted phrase (1): Cheers
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: Trent Tamura

79535159

Date: 2025-03-26 00:37:18
Score: 3
Natty:
Report link

I think the element is needed to form the >not body.Without the element the characteristic flow to even acquire the body is then non existent

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

79535154

Date: 2025-03-26 00:30:16
Score: 1
Natty:
Report link

If you want to keep regular expressions enabled by default, do it like this


controller = editor.getContribution('editor.contrib.findController');
controller._state.change({ isRegex: true});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dev Umair

79535145

Date: 2025-03-26 00:26:16
Score: 1.5
Natty:
Report link

I forgot to declare my buttons at the top before my main class.

...
import javax.swing.*;

private JButton button1 = new JButton();

public class Main extends JFrame implements ActionListener{
...
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: RRS

79535136

Date: 2025-03-26 00:20:14
Score: 0.5
Natty:
Report link

It's hard to understand what's happening without seeing the code.

Anyway, I don't see why you discarded Laravel-Excel (text is missing), but I think it supports every feature you mentioned, also, as others said, it's a wrapper of phpSpreadsheet, which is the most complete library for this kind of files available.

Check the "Concerns" part in the documentation, every case is covered with examples.

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

79535130

Date: 2025-03-26 00:16:14
Score: 2.5
Natty:
Report link

This should get you exactly what you need and no need for an entire Data Flow. This is a simple ADF Copy activity.

1. Test File

enter image description here

2. ADF COPY SOURCE
enter image description here

3. ADF SINK
enter image description here

4. ADF MAPPING (IMPORTANT)
enter image description here

5. Output (Note: If you don't expand the column, it will visually show the 1.5E+08, I will show what I mean below)
enter image description here

Example of it not expanded on the column and visual of it in VS Code (not Excel Desktop):
enter image description hereenter image description here

Cheers!

Reasons:
  • Blacklisted phrase (1): Cheers
  • Probably link only (1):
  • No code block (0.5):
Posted by: Trent Tamura

79535121

Date: 2025-03-26 00:10:12
Score: 2.5
Natty:
Report link

You can use model_dump( {nested_modeL_name: {fields_to_exclude} } )

https://github.com/pydantic/pydantic/discussions/9382

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

79535118

Date: 2025-03-26 00:07:11
Score: 8.5 🚩
Natty:
Report link

Hi did you solve this issue, i am experiencing the same?

i would appreciate any help

Reasons:
  • Blacklisted phrase (1): any help
  • Blacklisted phrase (1.5): would appreciate
  • RegEx Blacklisted phrase (3): did you solve this
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: inly

79535115

Date: 2025-03-26 00:02:10
Score: 1
Natty:
Report link

const run = () => { requestAnimationFrame(run); let e = elems [0]; const ax = (Math.cos(3 * frm) * rad * width) / height; const ay = (Math.sin(4 * frm) * rad e.x += (ax + pointer.x e.x) / 10; e.y += (ay + pointer.y - e.y) / 10; for (let i = 1; i < N; i++) { * height) / width; 22 let e = elems[i]; let ep = elems[i - 1]; const a = Math.atan2(e.y ep.y, e.x ep.x); e.x += (ep.x - e.x + (Math.cos(a) * (100 - i)) / 5) / 4; e.y += (ep.y - e.y + (Math.sin(a) * (100 - i)) / 5) / 4; const s = (162 + 4 * (1 - i)) / 50; e.use.setAttributeNS( (180 / Math.PI) * a null, "transform", `translate(${(ep.x + e.x) / 2}, ${(ep.y + e.y) / 2}) rotate(${ }) translate(${0},${0}) scale(${s},${s})

List item

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

79535108

Date: 2025-03-25 23:57:08
Score: 7 🚩
Natty: 5.5
Report link

sorry to bump an old thread, but this is driving me mad. do you have any idea how to remove this orange bar at the top of every embedded player, by any chance?

https://imgur.com/a/3B97ytF

Reasons:
  • RegEx Blacklisted phrase (2.5): do you have any
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: user30062095

79535107

Date: 2025-03-25 23:57:08
Score: 2.5
Natty:
Report link

So, yesterday I did import tkinter, and it said that my Python might not be configured for tk. So... that's the answer.

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

79535099

Date: 2025-03-25 23:51:06
Score: 1.5
Natty:
Report link

Unfortunately, if you're used to QtDesigner's light theme, which doesn't change even when Windows has a dark theme for applications, the version that comes with PySide 6 (QtDesigner 6.8.2) automatically adapts to the Windows dark theme. There's no option to switch to the light theme without changing the Windows theme. On the other hand, the version that comes with pyqt6-tools (QtDesigner 6.4.3) still retains the light theme regardless of the Windows theme, but with the latest versions of Python (e.g. 3.12 or 3.13) there's an error when running pip install pyqt6-tools (although it works with Python 3.9 if you're interested in that version).

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

79535093

Date: 2025-03-25 23:48:05
Score: 1.5
Natty:
Report link

Might be a little late to the thread, but the source code is here: https://python.langchain.com/api_reference/_modules/langchain_chroma/vectorstores.html#Chroma

When persist_directory is provided, Chroma will set is_persistent=True.

Hope this helps!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: StatisticianWhoCodes2000

79535090

Date: 2025-03-25 23:40:04
Score: 3
Natty:
Report link

you might try sth like:

import requests
    
short_url = "https://maps.app.goo.gl/wsmXZrYfP8V3ur2RA"
session = requests.Session()
resp = session.head(short_url, allow_redirects=True)
print(resp.url)

giving at least me:

https://www.google.com/maps/search/29.996966,+68.748251?entry=tts&g_ep=EgoyMDI0MDUyOC4wKgBIAVAD**https://www.google.com/maps/search/29.996966,+68.748251?entry=tts&g_ep=EgoyMDI0MDUyOC4wKgBIAVAD**https://www.google.com/maps/search/29.996966,+68.748251?entry=tts&g_ep=EgoyMDI0MDUyOC4wKgBIAVAD

which I consider the correct coordinates.

Regards,

ak

Reasons:
  • Blacklisted phrase (1): Regards
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andreas K.

79535088

Date: 2025-03-25 23:39:04
Score: 1.5
Natty:
Report link

Had a similar error with SVG image. Replacing <div> with <span> resolved the hydration error.

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

79535087

Date: 2025-03-25 23:37:04
Score: 0.5
Natty:
Report link

It's generally not safe to share your entire .git folder without checking its contents first. While Git doesn't store credentials directly in the .git folder, it may contain sensitive information like local configuration details or private repository URLs. Before sharing, review your .git/config for any personal or sensitive data, and sanitize your commit history if necessary. If you're unsure, it's safer to share your project by excluding the .git folder entirely, ensuring only the project files are shared.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nabil Bin Billal

79535077

Date: 2025-03-25 23:32:02
Score: 2
Natty:
Report link

After three days I was unable to solve the problem. The problem was solved only when I created a fresh WPF project and migrated all files to the new project. Only then did the event appear in the developer interface.

While solving the problem, I tried several times:

All these methods did not allow the event to be displayed in the Visual Studio Event tab.

Image from new WPF project:

Event IpTextChanged shown in new WPF project

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

79535076

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

KjjjjjufgjjhryryiryryfyfykdydydyfykfyfyrykryfyfyfykfyfykfyffyfyroyyfryfyfyfyfylguyyfytupuutuufhfhnfyluflyfufllfuufyfuilflfkflfjflffffyoyfyffyyfuoryoyruriuriyrrryroyfrrrrttttttyyyyfyffiyyyfiyfsddffffffffffffffffffffffffffffffffffffffFjdfdtkekdykdgekdydgddddndkdkghkddddddlerlyrrylerylfddddfljjmhhhiktdydyyoryorylyfkfkddyrddydydydydydyrykrlyrylrylryorylrylfrrrrkereerryryryyryryyryr6or6o46o446646464466iryetddhedtdtkrykryrhkddydhkdydykrkyryor

Reasons:
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Filler text (0.5): ffffffffffffffffffffffffffffffffffffffF
  • Low reputation (1):
Posted by: Aimran Mohamed

79535066

Date: 2025-03-25 23:28:02
Score: 0.5
Natty:
Report link

I was able to figure out the parameters finally. Here are the solutions:

CsvConfiguration config = new CsvConfiguration(CultureInfo.InvariantCulture)
{
    HasHeaderRecord = true,
    MissingFieldFound = (args) => AddMissingFieldParseError(args.Context.Reader.HeaderRecord, args.Context.Reader.Parser.Row, args.Index),
    BadDataFound = (args) => AddBadDataFoundParseError(args.Field, args.Context.Reader.Parser.Row)
};
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: T. J. Fan

79535063

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

Use --dart-define= and --dart-define-from-file= to resolve this.

Flutter requires the variables during build and not runtime. Either add .env file to assets and use dotenv library or use the above mentioned to define variables during flutter build web --dart-define-from-file=env.json.

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

79535062

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

For compressing files, I would suggest setting both ZipEntry.Size = 0 and ZipEntry.CompressedSize = 0 after creating the ZipEntry with the ZipEntryFactory. I have found that sometimes neither or just one property is set to zero for a factory-generated file entry and I have never had a problem when I set them both to zero explicitly. I suppose this could mess things up if you rely upon ZipEntry.Size for something before the entry is added to the Zipfile, but in that case you could always get the file size from the uncompressed file. Once the entry has been added to the Zipfile, if you retrieve the entry it's compressed size will be correct. I agree with Shingo, it seems like a bug. Minor as bugs go, and it isn't worth complaining about in a free library.

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

79535056

Date: 2025-03-25 23:22:00
Score: 1.5
Natty:
Report link

Resolved this after some debugging. As it turns out, fully_qualified_name was actually a null value causing this issue, to resolve I manually constructed the fully_qualified_name. The docs imply that this should be an accessible field but it appears not. I didn't confirm, but I suspect it's related to the fact that I'm making these changes as part of an upgrade from a legacy version (0.54) to a newer version (1.1.3).

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

79535054

Date: 2025-03-25 23:21:00
Score: 0.5
Natty:
Report link

You can use the walrus operator := to specify how the value changes with each iteration inside the list comprehension, to achieve the following:

a = [1, 2, 20, 3, 30, 300]
count = 0
b = [sum(a[count:(count := count + i)]) for i in range(1,4)]
print(b)

This should give you

[1, 22, 333]

Which is the desired outcome.

Edit: Apparently walrus operator is a really controversial feature in python that a lot of people hate it because it goes against a lot of Zen of Python rules. So I guess use it with caution?

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Dawith Lim

79535052

Date: 2025-03-25 23:20:00
Score: 3.5
Natty:
Report link

I just ended up here by using old fashioned google, and the upvoted answer worked well for me (when checking the bookmarked line option), thanks!

It appears however I also have a 'remove non-bookmarked lines' option in the search -> bookmark menu. That did the same trick for me and would combine step 2 and 3.

I'm not able to comment, so just sharing it here.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): to comment
  • Blacklisted phrase (0.5): upvote
  • No code block (0.5):
  • Low reputation (1):
Posted by: samcera

79535039

Date: 2025-03-25 23:08:57
Score: 1
Natty:
Report link

Add the following to the module build.gradle.kts file:

implementation(libs.ui.tooling)
debugImplementation(libs.ui.tooling)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Alan Larimer

79535038

Date: 2025-03-25 23:08:57
Score: 3
Natty:
Report link

Use this for CPU intensive tasks: ExecutorService executor = Executors.newFixedThreadPool(cores);

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

79535025

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

SiddheshDesai is right, you need automatic upgrades ... but you no longer need to create a new Uniform scale set to use it :) you can now use upgrade_mode = "Automatic" on Flex scale sets!
https://techcommunity.microsoft.com/blog/azurecompute/general-availability-upgrade-policies-on-virtual-machine-scale-sets-with-flexibl/4287334

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

79535020

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

Flutter usually points at a specific java var in the environment not the javac command, i think its JAVA_HOME or something, so usually its locate and package within android studio.

You can download and install Flutter using only android-sdk (cli). I did it a lot because i hate Android Studio. It's easier than it looks.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Bruno Bee Nahorny

79535018

Date: 2025-03-25 22:53:54
Score: 2
Natty:
Report link

Have you checked the results of "grails dependency-report command" ?

You have to know which lib is adding this transitive library and then excluding it with the exclude closure.

For example, for a Grails 2.5.5 project, I want to use the itext 2.1.7 and the plugin rendering is using an older version. So, I did this:

dependencies {
       runtime 'com.lowagie:itext:2.1.7'
}

plugins {
        compile (":rendering:1.0.0") {
            excludes 'itext'
        }
}
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Jordi Romero

79535016

Date: 2025-03-25 22:49:53
Score: 3.5
Natty:
Report link

Can you verify the version of Java JAVA_HOME is pointing to? Hbase 2.5 supports Java 8 and 11.

https://hbase.apache.org/2.0/book.html

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

79535015

Date: 2025-03-25 22:49:53
Score: 3.5
Natty:
Report link

I encountered the same issue where I couldn't debug using just mouse hover. To resolve this, I cleared the local cache in Visual Studio:
https://learn.microsoft.com/en-us/answers/questions/1221136/visual-studio-2022-clear-local-caches

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

79535012

Date: 2025-03-25 22:47:53
Score: 1.5
Natty:
Report link

Ensure IdP Sends : Update the IdP settings to return the correct value.
Check Session Timeout: Ensure the SAML request ID is not expiring before the response arrives.
Validate Metadata Sync: Reconfigure metadata in both Salesforce and the IdP to ensure proper communication.
Enable Debug Logging: Capture and analyze logs to troubleshoot further discrepancies.

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

79535010

Date: 2025-03-25 22:44:52
Score: 2.5
Natty:
Report link

well after struggling a bit... I found the issue in MY context. In case it helps someone...

My issue was that I was just adding the CNAMEs which is something I have to do… but my DNS Records in Cloudflare didn’t included this configuration, that is needed for AWS to be able to generate the certificate

So after I configured 2 records per url (1 for wildcare, 1 for literal) for each of this domain:

The issue seems to be gone!

Reasons:
  • Blacklisted phrase (1): I have to do
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Juan

79534999

Date: 2025-03-25 22:36:51
Score: 0.5
Natty:
Report link

You should update your angular.json

`"styles": [
  "node_modules/ngx-sharebuttons/themes/circles.scss",
  "node_modules/ngx-sharebuttons/themes/modern.scss",
  "src/styles.scss"
],`

You don't need to convert the code to css to get if you are using angular

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

79534997

Date: 2025-03-25 22:34:50
Score: 1
Natty:
Report link

If you are building a website, specifically an ashx "processRequest" .net and have setup your local pc to have its own name in the hosts file like mysite.local edit c:\windows\system32\drivers\etc\hosts and make sure the entry for mysite.local is linked to the correct ipconfig ipaddress.

Now the reason for a hosts entry is so you can create a self signed cert for mysite.local so you can test https from the visual studio debugger.

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

79534996

Date: 2025-03-25 22:33:50
Score: 3.5
Natty:
Report link

Why are you not simply defining Quotes as a map of key: Stock ?

type Stock struct {
    ID    string `json:"id"`
    Quote struct {
        USD struct {
            Price float64 `json:"price"`
        } `json:"USD"`
    } `json:"quote"`
}

type Quotes struct {
    Data map[string]Stock `json:"data"`
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Why are you not
  • Low reputation (1):
Posted by: jguillaumeso

79534994

Date: 2025-03-25 22:32:50
Score: 2
Natty:
Report link

I am using a motorola g 5. When running adb devices on the terminal, nothing would show up. Here is what fixed it for me:

on Phone > Settings > Developer Options > Enabled USB Debugging

After that, I could see my phone in the terminal.

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

79534993

Date: 2025-03-25 22:30:50
Score: 1.5
Natty:
Report link

You need these permissions, different from whats used for posting. My issue was lack of these.

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

79534992

Date: 2025-03-25 22:30:50
Score: 1
Natty:
Report link

If you ever forget, add --dry-run. Subversion will tell you what will be merged without executing the merge.

$ svn merge -r1752:1765 [YOUR BRANCH] --dry-run
--- Merging r1753 through r1765 into '.':

In my case I'm reminded that the first revision doesn't start on 1752, it starts on 1753! If that isn't what I want, I can change it and when the results look right, I will remove --dry-run and run it again for the actual merge.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Shogo Yahagi

79534989

Date: 2025-03-25 22:29:49
Score: 0.5
Natty:
Report link

I'll use that PL/SQL :)

DECLARE
    v_file UTL_FILE.FILE_TYPE;
    v_text CLOB;
    v_buffer VARCHAR2(32767);
    v_amount PLS_INTEGER := 32767;
    v_pos PLS_INTEGER := 1;
BEGIN
    FOR rec IN (SELECT doc_id, doc_text FROM votre_table) LOOP
        -- create file
        v_file := UTL_FILE.FOPEN('EXPORT_DIR', rec.doc_id || '.xml', 'W');

        v_text := rec.doc_text;
        v_pos := 1;

        -- write
        WHILE v_pos <= DBMS_LOB.GETLENGTH(v_text) LOOP
            v_buffer := DBMS_LOB.SUBSTR(v_text, v_amount, v_pos);
            UTL_FILE.PUT_LINE(v_file, v_buffer);
            v_pos := v_pos + v_amount;
        END LOOP;

        -- close it
        UTL_FILE.FCLOSE(v_file);
    END LOOP;
END;
/

I'll test it...it should work

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

79534988

Date: 2025-03-25 22:28:49
Score: 2
Natty:
Report link

For anybody facing a similar problem in React Web, you may need to add this to your handler function:

event.preventDefault();

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Me too answer (2.5): facing a similar problem
  • High reputation (-1):
Posted by: Forrest

79534985

Date: 2025-03-25 22:27:49
Score: 2.5
Natty:
Report link

I think it's due to a problem with the packages. I have found a workaround. You should downgrade Microsoft.Maui.Controls and Microsoft.Maui.Compatibility to version 9.0.40 from version 9.0.50 and try to run your project again.

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

79534983

Date: 2025-03-25 22:26:49
Score: 3.5
Natty:
Report link

Function (); xy= ab or function xy=z or backwards works too

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

79534979

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

also

print(f"{(3**2 + 5**2)**(1/3) = }")

output:

(3**2 + 5**2)**(1/3) = 3.239611801277483

doubling Jerrybibo's comment that generally eval is evil! (and thanks for mentioning about not eval()'ing an input) if you need to reuse the string of b_equation and / or the result b, then eval() seems legit

b_equation = "(3**2 + 5**2)**(1/3)"
b = eval(b_equation)
print(f"{b_equation} = {b}")

# use b_equation and / or b for stuff
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: the-citto

79534967

Date: 2025-03-25 22:11:46
Score: 1.5
Natty:
Report link

The horizontal text alignment problem is due to:

    case(Qt::TextAlignmentRole):
        return Qt::AlignLeft;  // Not aligned

if I change Qt::AlignLeft to Qt::AlignCenter or nothing, it's aligned

    case(Qt::TextAlignmentRole):
        return Qt::AlignCenter; // Aligned

It's not aligned with Qt::AlignRight too. Why AlignLeft and AlignRight push the text up?

Still crashing when sorting columns

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

79534964

Date: 2025-03-25 22:08:45
Score: 1
Natty:
Report link

Even though the path property in refine() accepts an array, it will only display the error if you set just one path.

To show multiple paths, you need to use .superRefine() instead of .refine(). See Display error messages in multiple locations using zod.

You can also chain .refine() calls, which I recommend in this situation. You can have two errors one for "At least one warehouse..." and one for "At least on cluster...".

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

79534942

Date: 2025-03-25 21:52:42
Score: 1.5
Natty:
Report link

It seems that GridDB´s REST API doesn't currently support a key-value pair to set a column´s nullity, such as "nullable": False. A workaround for that is to use the query editor of GridDB´s management website to create the table, using a regular CREATE TABLE SQL statement:

Create table Orders (
Order_ID INTEGER NOT NULL PRIMARY KEY,
Order_Date TIMESTAMP NOT NULL,
Client_ID INTEGER NOT NULL,
Order_NF STRING NOT NULL)

Create Orders table

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

79534930

Date: 2025-03-25 21:42:39
Score: 9 🚩
Natty: 6.5
Report link

hey guys i really need your help. I've been trying to create an app instance for messaging on amazon chime sdk but I've never seen anything to lead me to achieve this. kindly help me guys on how to achieve this.

thanks.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (3): kindly help
  • Blacklisted phrase (1): how to achieve
  • RegEx Blacklisted phrase (1): hey guys
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: adebaba

79534928

Date: 2025-03-25 21:41:39
Score: 3
Natty:
Report link

The getdate function is only available for ZK devices that support SOAP. get_date is not available for ZKLib UTP 4370.

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

79534926

Date: 2025-03-25 21:38:38
Score: 10
Natty: 8
Report link

Hey I'm trying to do the same. did you figure it out?

Reasons:
  • Blacklisted phrase (1): trying to do the same
  • RegEx Blacklisted phrase (3): did you figure it out
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user30061307

79534924

Date: 2025-03-25 21:37:38
Score: 1.5
Natty:
Report link

In case someone else runs into this issue:

There is a setting on your Twilio account (which seems to default to requiring authentication), which you can disable. It's under Voice > Settings > General

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

79534922

Date: 2025-03-25 21:35:37
Score: 2.5
Natty:
Report link

Cmake 4.0.0 is a release candidate and not finally released. Did you try the latest official Release 3.31.6 or earlier?

Reasons:
  • Whitelisted phrase (-2): Did you try
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Martin Fischer

79534919

Date: 2025-03-25 21:34:37
Score: 1
Natty:
Report link

This looks like it was just a version issue, which makes sense, as I was fixing my requirements file at some point, and my venv would not have reset when I rolled back.

This issue was resolved by updating the following libraries:

databricks-sql-connector==4.0.0
databricks-sqlalchemy==2.0.5
SQLAlchemy==2.0.39
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Robert Riley

79534908

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

@Learner DotCom,
This seems like a half-assed solution by the GitLab team. start_in: xyz should permit a variable, otherwise it's more-or-less useless.

TY for posting your solution, it got me thinking how to approach this in several other ways, none ideal... yet... blah.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Learner
  • Low reputation (1):
Posted by: Michal Rysanek

79534898

Date: 2025-03-25 21:19:34
Score: 3.5
Natty:
Report link

The first param for MockMultipartFile should match name of @RequestParam param in controller

https://stackoverflow.com/a/62684310/11488500

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: FishAndFork

79534895

Date: 2025-03-25 21:18:34
Score: 1.5
Natty:
Report link

What works for me is turning "UI Smooth scrolling" off.

Go to "Help" >> "Find Action" >> type "UI Smooth scrolling" and turn it off.

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: SadHak

79534890

Date: 2025-03-25 21:16:33
Score: 1
Natty:
Report link

Double clicking the Resources.resw file on the Solution Explorer should add a column on the table.

Resources.resw

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

79534886

Date: 2025-03-25 21:15:33
Score: 0.5
Natty:
Report link

Another alternative could be this formula. This formula can be entered in any cell and dragged down.

=SUM(INDIRECT(ADDRESS(21+(ROW(A1)-ROW($A$1))*20,5,,,"Daily!")):INDIRECT(ADDRESS(40+(ROW(A1)-ROW($A$1))*20,5,,,"Daily!")))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user22566114

79534883

Date: 2025-03-25 21:14:33
Score: 1.5
Natty:
Report link

The fastest minimalist log2(x) code that I know of uses a union to reinterpret an IEEE754 FP number representation as a scaled integer proxy for the log function. It is very specific to the IEEE754 binary representation. I think that it may be originally due to Kahan. It can be very fast if you skip the error checking. I only bother to check for x>0 here (various error cases are covered in another answer).

This is a quick implementation for the simplest linear interpolation and up to cubic forms.
The first return gives the linearised log2 version equivalent to @chux implementation.
Essentially it works by subtracting off the exponent offset from the biased exponent and then making the rather gross approximation that log2(1+x) ~= x. Exact for x=0 and x=1 but poor near x=0.5.

This is the sample log2 code with a minimal test framework:


#include <iostream>

// *CAUTION* Requires IEEE754 FP 32 bit representation to work!
// Pade rational float implementation on x = 0 to 1 is good to 3 sig fig

union myfloat { float f32; int i32; };

float mylog2(float x)
{
    myfloat y, z;
    z.f32 = y.f32 = x;
    if (x > 0.0)
    {
        y.i32 -= 0x3f800000;            // subtract off exponent bias
//        return (float) y.i32/(1<<23); // crude linear approx max err ~ 0.086

        y.f32 = (y.i32)>>23; // y now contains the integer exponent

        z.i32 &= 0x3fffffff;
        z.i32 |= 0x3f800000; // mask argument x to be of form 0 <= 1+x < 1
        z.f32 -= 1.0;
//       z.f32 = 1.2 * z.f32 * (1 - z.f32 * (0.5 - z.f32 / 3.0));            // naive cubic Taylor series around x=0 with  max err ~ 0.083
//       z.f32 = 1.5 * z.f32 - z.f32 * z.f32 * (0.81906 - z.f32 * 0.3236);   // optimised cubic polynomial (not monotonic) max err ~ 0.00093
//       z.f32 = z.f32 * 10 * (6 + z.f32) / (42 + 28 * z.f32);                      // naive Pade rational approximation    max err ~ 0.0047
        z.f32 = z.f32 * (36 + 4.037774 * z.f32) / (24.9620775 + 15.070677 * z.f32); // optimised Pade for this range 0 to 1 max err ~ 0.00021
                                                                                    // naive int coeffs were 36, 4, 25, 15 respectively
    }
    return y.f32+z.f32;
}

void check_log(float x)
{
    printf("%-9g : %-9g %-9g\n", x, log2(x), mylog2(x));
}

void test_log()
{
    float x = 0.0625;
    while (x < 33)
    {
        check_log(x * 0.9999); // to check monotonicity at boundary
        check_log(x);
        check_log(x * 1.0001);
        check_log(x * 1.1);
        check_log(x * 1.5);
        check_log(x * 1.75);
        x += x;
    }
}

int main()
{
    test_log();
}

This TI designers notes on [fast 'log(x)'](https://www.ti.com/lit/an/spra218/spra218.pdf?ts=1742833036256) tricks is also worth a look at for inspiration. You really need to decide how accurately do you want the result. Speed vs accuracy is always a trade off. How much is enough?

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

79534879

Date: 2025-03-25 21:13:33
Score: 1.5
Natty:
Report link

The CPython deque is implemented as a doubly linked list (https://github.com/python/cpython/blob/v3.8.1/Modules/_collectionsmodule.c#L33-L35).

It's noted in the code docs (https://github.com/python/cpython/blob/v3.8.1/Modules/_collectionsmodule.c#L1101-L1107) that insert is implemented in terms of rotate (i.e. insert at index n is equivalent to rotate(-n), appendLeft, rotate(n)). In general, this is O(n). While insertion at a node is O(1), traversing the list to find that node is O(n), so insertion in a deque in general is O(n)

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

79534874

Date: 2025-03-25 21:10:32
Score: 3.5
Natty:
Report link

La función get_date solo esta disponile para dispositivos zk que soporta SOAP.

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

79534867

Date: 2025-03-25 21:06:31
Score: 2
Natty:
Report link

You may have antivirus software that quarantines the executable, and in that case, you should create an exception in that antivirus. In my case, Avast was quarantining Rterm.exe because it incorrectly identified it as a threat.

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

79534866

Date: 2025-03-25 21:06:31
Score: 1.5
Natty:
Report link

Giving full rights to the queue to the "Everyone" user didn't work for me. I had to add the "ANONYMOUS LOGIN" user, which gets "Send Message" permission by default. I then restarted the MSMQ windows service. That did the trick for me.

This is in Windows 10 Pro.

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