79404160

Date: 2025-01-31 23:17:41
Score: 1
Natty:
Report link

This is an old question. An alternative workaround is to use logs and exponentials, where product(y)=exp(sum(ln(y))). As SQL:

with
  d as (select 1 as x, 3 as y union all select 1 as x, 4 as y)
  select x, sum(y) as sum_y, exp(sum(ln(y))) as prod_y from d group by x;

1|7|12.0
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mclements

79404145

Date: 2025-01-31 23:00:38
Score: 0.5
Natty:
Report link
const clientCredentials = `&client_id=${process.env.SPOTIFY_CLIENT_ID}&client_secret=${process.env.SPOTIFY_CLIENT_SECRET}`;
const options = {
    method: "POST",
    body: `grant_type=client_credentials${clientCredentials}`,
    headers: { "Content-Type": "application/x-www-form-urlencoded" },
}
const response = await fetch("https://accounts.spotify.com/api/token", options);
const json = await response.json();
console.log("RESPONSE:", json);

can confirm this works...for now

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): can
  • Low reputation (0.5):
Posted by: kai_onthereal

79404143

Date: 2025-01-31 22:53:37
Score: 1.5
Natty:
Report link

So here’s what I ended up with, for now:

I’m using a “template” — an empty database instance that Room sets up with the schema it expects. Then, I compare the “template” with the incoming file using plain old SQL queries and remove columns from the incoming file that aren’t present in the expected schema.

But to me this looks like trying to fit a square peg into a round hole. I think, the proper approach might be one of the following:

  1. Drop Room in favor of a another solution that isn’t so strict with schemas. In my case, I can probably manage with just plain SQL queries.
  2. Change API to serve different files based on the client version.
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Dmytro

79404137

Date: 2025-01-31 22:50:36
Score: 1.5
Natty:
Report link

That package is unmaintained and has been archived by the owner you can use this library instead react-native-pdf-from-image

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: Benjamin Eruvieru

79404135

Date: 2025-01-31 22:48:35
Score: 3.5
Natty:
Report link

Upgrading to firebase-admin 13.0.2 solved it for me. I believe it was fixed in this commit.

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

79404130

Date: 2025-01-31 22:42:34
Score: 1
Natty:
Report link

I had the exact same issue. Your Java version in capacitor.build.gradle file is version 17. I downloaded jbr-17.0.12 from within the Android Studio. Then make sure your $JAVA_HOME, Java path in Android studio and (very important) in android/gradle.properties file all point to the same location for jbr.

Especially check the org.gradle.java.home value in android/gradle.properties. In my case, it was set to Android Studio java version. I changed it to jbr17 and project started compiling successfully.

#org.gradle.java.home=/Applications/Android Studio.app/Contents/jbr/Contents/Home org.gradle.java.home=/Users/xyz/Library/Java/JavaVirtualMachines/jbr-17.0.12/Contents/Home

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

79404127

Date: 2025-01-31 22:41:34
Score: 1
Natty:
Report link

I found the problem. I recently switched a security object from a singleton to scoped. A collection inside that object is, of course, now NULL whereas before it was not. The system never lies, it's just not good at telling you the full details of a problem sometimes.

Once I loaded the collection, everything works fine. I apologize for my horrible example code that should have shown the full markup. That way, some of you would have surely noticed the possibility of a problem.

Thanks, MrC, you taught me something today.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Mark Bonafe

79404126

Date: 2025-01-31 22:41:34
Score: 3.5
Natty:
Report link

Yes, at least if you have subfolders named like 'year=...', 'month=...', or 'day=...'

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

79404119

Date: 2025-01-31 22:35:33
Score: 2
Natty:
Report link

The correct parameter is generation_preset_name as shown in Generation Presets. This parameter is also referenced in Query API Definition that omitted _name from the syntax and I made the correction.

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

79404114

Date: 2025-01-31 22:32:32
Score: 5.5
Natty: 4
Report link

this is very useful code and much appreciated, only I am constantly running into the error of "list index out of range" im not sure what is exactly causing this error, it may be that the website doesnt fully load before the code looks for the spam_tag "api_id,api_hash=span_tag[0].text,span_tag[1].text" but i tried using both a proxy for connecting to the server as well as time.sleep() to let the page load, but I still get this error. Do you happen to know a way to fix it? Any advice is much appreciated

Reasons:
  • Blacklisted phrase (1): appreciated
  • RegEx Blacklisted phrase (1.5): fix it?
  • RegEx Blacklisted phrase (1): I still get this error
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Michae Burry

79404111

Date: 2025-01-31 22:31:31
Score: 1.5
Natty:
Report link

I've released open-source project — pgsyswatch 🛠 It's an extension for PostgreSQL that tracks system metrics (CPU, memory, disk, network) directly from your database.

What does it offer?

🔗 Link: https://github.com/psqlmaster/pgsyswatch

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

79404097

Date: 2025-01-31 22:19:29
Score: 1
Natty:
Report link

I was using a clean RabbitMQ instalation with my Spring Boot app, where I seted up a topic and a queue to be created.

i am thinking that queue should be created either during app start up or either sending a message to the rabbit

The last one happend to me, the resources and the connection data started to show up in the RabbitMQ management page after, and only after I sent the first message. That might be the cause if someone is experiencing something like it.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Diego dos Santos

79404080

Date: 2025-01-31 22:00:24
Score: 2
Natty:
Report link

In my case Xcode cloud workflow did "TestFlight (Internal Testing Only)" Distribution Preparation.

So I made a release branch and a new workflow attached on it with "App Store Connect" Distribution Preparation

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

79404073

Date: 2025-01-31 21:54:23
Score: 2.5
Natty:
Report link

Just in case you are still looking for a .NET Standard 2.0 / .NET Core compatible port of Microsoft Solver Foundation library I made one from the last known one and uploaded it to nuget. Feel free to try it out and report occuring issues.

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

79404071

Date: 2025-01-31 21:52:23
Score: 2
Natty:
Report link

Extension CSS Semicolon Fix seems to do the trick

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

79404061

Date: 2025-01-31 21:48:22
Score: 0.5
Natty:
Report link

Hello! Duda from Weaviate here.

There seems to be an update that was not yet released to pypi that is preventing on using simsimd on python3.13, as per this issue: https://github.com/langchain-ai/langchain-weaviate/issues/212

Meanwhile, if for development, you can install it directly from source with

pip install -e "git+https://github.com/langchain-ai/langchain-weaviate.git/#egg=langchain-weaviate&subdirectory=libs/weaviate"

or you can run Python3.12

Hope we can have that released soon.

Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Duda Nogueira

79404060

Date: 2025-01-31 21:47:22
Score: 3
Natty:
Report link

You can do it on Windows with Wireshark , just select USBPcap when install and filter like thie usb.src == "2.8.2" || usb.dst == "2.8.2"

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

79404058

Date: 2025-01-31 21:47:22
Score: 2.5
Natty:
Report link

The Classroom API does support rubrics management now https://developers.google.com/classroom/rubrics/getting-started

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

79404055

Date: 2025-01-31 21:45:21
Score: 1
Natty:
Report link

If you see this error while SWITCHING to ESBUILD, you probably have a @angular path in your tsconfig.

REMOVE this option now, and it will fix the issue.

"paths": {
      "@angular/*": ["./node_modules/@angular/*"], <--- DELETE THIS
      ...
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @angular
Posted by: RyanSand20

79404048

Date: 2025-01-31 21:42:20
Score: 3
Natty:
Report link

Deleting node_modules folder from disk and npm install helped.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Iván Kollár

79404043

Date: 2025-01-31 21:39:19
Score: 0.5
Natty:
Report link

In a browser window, window and self are both accessor properties on the global object and both return the globalThis value of the relevant realm. I.e window==self//true

However running Object.getOwnPropertyDescriptor() on them yields different results. As you can see below, Object.getOwnPropertyDescriptor(window, 'window') returns {configurable: false, get: get(), set: undefined}, while Object.getOwnPropertyDescriptor(window, 'self') returns {configurable: true, get: get(), set: set()} where set() is a setter that overwrites self with the given value.

console.log({
    window: Object.getOwnPropertyDescriptor(globalThis, 'window'),
    self: Object.getOwnPropertyDescriptor(globalThis, 'self')
});

According to the spec, as properties of the main global object, window is [LegacyUnforgeable] and self is [Replaceable] In practice what that means is that unlike window, self can be deleted or overwritten. It doesn't make any sense then that self is a "read-only property" of the window object as it says in the spec.

Workers

In workers window is undefined and will throw a ReferenceError, while self is a local variable rather than a property on the global object and cannot be overwritten as it can in a browser window.

Conclusion

Both self and window return the same object in a browser window however unlike window, self can be deleted or replaced.

Only self can be safely referenced in both a browser window and a worker.

globalThis was added to ES2020 to create a uniform way of getting the global object. But as it still doesn't work in many browsers, you're better off using self in browser environments.

Reasons:
  • RegEx Blacklisted phrase (2): it still doesn't work
  • Long answer (-1):
  • Has code block (-0.5):
Posted by: PHP Guru

79404037

Date: 2025-01-31 21:34:19
Score: 0.5
Natty:
Report link

I ran into this with:

az extension add --name storage-preview

Fixed with:

$ cat $HOME/.config/pip/pip.conf
[install]
user = false
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: barakbd

79404034

Date: 2025-01-31 21:31:18
Score: 0.5
Natty:
Report link

This question reminds me about a dimensional model for data marts.

Let's say for simplicity that we use a relational database. In this case datetime and users are dimensions. And creation is a fact that joins these two dimensions. This is quite powerful schema that may provide answers to many questions like yours.

But if YAGNI and you need a projection specifically for this single question, then a single table with two columns, user_id and registered_at, would be enough. It is easy to iterate over all UserCreated (or UserRegistered?) events and to hydrate such projection.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
Posted by: iTollu

79404026

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

After some digging, I found that the Amazon app is sharing "text" type instead of a link since they are trying to include the name of the item and other information. Therefore, I can have my app be an option by including the following in my Info.plist:

<key>NSExtensionActivationSupportsText</key>
<true/>

However, it should be noted that I'll now need to parse what is coming in to find the URL since it is embedded among other items.

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

79404019

Date: 2025-01-31 21:21:16
Score: 1.5
Natty:
Report link

In my case I had already restarted and adb was not running.

Cold booting worked for me.

In the device manager tab click the 3 dots and then cold boot.

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

79403998

Date: 2025-01-31 21:12:14
Score: 1.5
Natty:
Report link

In assets/app.js file you should be able to simply import it like this:

import 'bootstrap';
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nexotap

79403993

Date: 2025-01-31 21:05:12
Score: 2
Natty:
Report link

disallowed_useragent تفاصيل الطلب: access_type=offline response_type=code redirect_uri=http://localhost:38677 client_id=833042598497.apps.googleusercontent.com scope=https://www.googleapis.com/auth/drive https://www.googleapis.com/auth/userinfo.profile prompt=consent استعادة جميع البرامج الأساسية الإفتراضية مجاني مدى الحياة تثبيت تلقائي

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: حميد احمد

79403977

Date: 2025-01-31 20:56:10
Score: 0.5
Natty:
Report link

Thanks everyone for your help! Below is my new, complete working code:

Sub ReplaceRangeText(rng As Object, placeHolder As String, txt As String)
With rng.Find
    Do While .Execute(FindText:=placeHolder)
        rng.Text = txt
    Loop
End With
End Sub

Sub Send_email_from_template_my_code_1()

Dim EmpID As String, Lastname As String, Firstname As String
Dim VariableType As String, UserID As String
Dim EmailID As String, Toemail As String, FromEmail As String

Dim mailApp As Object, mailItem As Object
Set mailApp = CreateObject("Outlook.Application")

Dim olInsp As Object, wdDoc As Object, oRng As Object
Dim sText As String, r As Long, template As String

r = 2
Do While Sheet1.Cells(r, 7) <> ""
    
    VariableType = Sheet1.Cells(r, 4)
    If VariableType = "Type A" Then
        template = "TestTemplate.msg"
        sText = "Your Information is ready - "
    ElseIf VariableType = "Type B" Then
        template = "TestTemplateB.msg"
        sText = "Different Subject - "
    Else
        template = ""
    End If

    If template <> "" Then
        With Sheet1
            EmpID = .Cells(r, 1)
            Lastname = .Cells(r, 2)
            Firstname = .Cells(r, 3)
            UserID = .Cells(r, 5)
            EmailID = .Cells(r, 6)
            Toemail = .Cells(r, 7)
        End With

    With mailApp.CreateItemFromTemplate("filepath" + template)
        .Display
        .Subject = sText + Firstname + " " + Lastname
        .To = Toemail
        
        Set wdDoc = .GetInspector.WordEditor
        ReplaceRangeText wdDoc.Range, "[NAME]", Firstname + " " + Lastname
        ReplaceRangeText wdDoc.Range, "[EmpID]", EmpID
        ReplaceRangeText wdDoc.Range, "[EmailID]", EmailID
        ReplaceRangeText wdDoc.Range, "[UserID]", UserID
    End With
        
        
    End If
    r = r + 1
Loop
Set mailApp = Nothing
End Sub
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ahamann

79403971

Date: 2025-01-31 20:52:09
Score: 2
Natty:
Report link

Make the following changes in app.component.ts file.

  1. standalone: false
  2. Remove imports
Reasons:
  • Low length (1.5):
  • No code block (0.5):
Posted by: Sanushi Salgado

79403970

Date: 2025-01-31 20:52:09
Score: 1.5
Natty:
Report link

This should be put

import {Octokit} from "https://esm.sh/@octokit/[email protected]";

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

79403964

Date: 2025-01-31 20:49:09
Score: 2
Natty:
Report link

Turns out the correct declaration for the solve result is Matrix3f. It gets 3 columns, each equal to the 3-component solution.

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

79403951

Date: 2025-01-31 20:39:07
Score: 0.5
Natty:
Report link

You need to add enableCors as others have suggested. However, you can fine tune it to your needs to make it more secure:

app.enableCors({
  credentials: true,
  methods: ["post"],
  origin: process.env.YOUR_CLIENT_URL,
})
    ```
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jorge Ramirez Zamora

79403949

Date: 2025-01-31 20:37:06
Score: 3.5
Natty:
Report link

you can add max-w-fit to the parent div.

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

79403944

Date: 2025-01-31 20:34:04
Score: 11 🚩
Natty: 6.5
Report link

Did you ever figure this out? I have the same problem

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): Did you ever figure this out
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Tony Bob

79403943

Date: 2025-01-31 20:33:03
Score: 2.5
Natty:
Report link

I found the issue in line 1 I should have written import 'package:esosba_app/Hauptmenü.dart instead of import 'package:esosba_app/Hauptmenü.dart.dart

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

79403939

Date: 2025-01-31 20:32:03
Score: 3.5
Natty:
Report link

I am having the same issue. Running a web application that is .NET Framework version 4.8, and the NuGet package for "System.Memory" is 4.6.0. I have a binding redirect in the Web.config file too:


name="System.Memory"... oldVersion="0.0.0.0-4.6.0.0" newVersion="4.6.0.0"


And the log indicates this is found, but there is something with the "minor version"??


LOG: Redirect found in application configuration file: 4.0.2.0 redirected to 4.6.0.0.

LOG: Post-policy reference: System.Memory, Version=4.6.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51

LOG: Attempting download of new URL file:///C:/Users/{user}/AppData/Local/Temp/Temporary ASP.NET Files/vs/bc0c9a9c/50678048/System.Memory.DLL.

LOG: Attempting download of new URL file:///C:/Users/{user}/AppData/Local/Temp/Temporary ASP.NET Files/vs/bc0c9a9c/50678048/System.Memory/System.Memory.DLL.

LOG: Attempting download of new URL file:///{project_/bin/System.Memory.DLL.

WRN: Comparing the assembly name resulted in the mismatch: Minor Version


What on earth is going on...Google and ChatGPT are no help!

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Dave Busch

79403938

Date: 2025-01-31 20:31:03
Score: 2
Natty:
Report link

In 2025, the WinForm event you are looking for is in the window 'Properties' -> Events -> Misc -> Closing Closing event in VS

Double click on the cell next to the name of the event to generate a Form_Closing method. The method will be called when the form is closing.

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

79403924

Date: 2025-01-31 20:25:01
Score: 13 🚩
Natty: 5.5
Report link

I'm having the exact same problem in my C++ application, were you able to solve the problem?

Reasons:
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve the problem?
  • RegEx Blacklisted phrase (3): were you able
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the exact same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Martinelle

79403922

Date: 2025-01-31 20:24:00
Score: 3
Natty:
Report link

Thanks to jasonharper's comment I was able to solve the problem:
The string for the name has to end with a null caracter that counts into the length of the string. That caracter needs to be appended.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Shadow of eagle

79403916

Date: 2025-01-31 20:20:59
Score: 1.5
Natty:
Report link

You simply need to set

searchBarOpen.value = true

(or false)

The value property in Vue refs is needed for reactivity internally.

In templates however, your reference to searchBarOpen is correct without value, because the value property will be unwrapped under the hood.

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

79403913

Date: 2025-01-31 20:17:59
Score: 2.5
Natty:
Report link

error: cannot find symbol [in Driver.java] List ret = new Solution().spiralOrder(param_1); ^ symbol: method spiralOrder(int[][]) location: class Solution

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

79403906

Date: 2025-01-31 20:13:57
Score: 1.5
Natty:
Report link

Does this work for you?

Let ([
    // test input. Put your real input here:
    ~serial = "12345P382M45" ;

    ~stripped = Right ( ~serial ; Length ( ~serial ) - 6 ) ;
    ~letter = Left ( Filter ( ~stripped ; "qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM" ) ; 1 ) ;
    ~pos = Position ( ~stripped ; ~letter ; 1 ; 1 ) ;
    // I'm not sure what you want to happen if there are no letters
    // but this will return EVERYTHING after the first 6 digits in
    // the absense of letters(~pos == 0)
    ~res = If (
        ~pos > 0 ;
        Left ( ~stripped ; ~pos - 1 ) ;
        ~stripped
    )
];
    GetAsNumber ( ~res )
)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: bruderdog

79403899

Date: 2025-01-31 20:07:56
Score: 1
Natty:
Report link

I think I have formed a plan.

I bind a connection using HTTP to 8080, and allow an auth route and a certificate route (protected by auth token).

Each instance encrpyts the certificate using the hashed password

The hashed password is used on the auth root to get an access_token

The instnace can then use this access_token to send its encrypted certificate to the other server, which gets put into the other servers truststore, allowing https to be used going forward.

I think this solves the concerns with a) shipping the same RootCA and b) sending unencrypted certificates via http.

I will implement this over the next couple of days. If someone spots any security concerns I have potentially missed with this, please comment otherwise I will mark it as the answer when I have tested it works.

Reasons:
  • RegEx Blacklisted phrase (1): I have potentially missed with this, please
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Kris Rice

79403896

Date: 2025-01-31 20:06:56
Score: 3.5
Natty:
Report link

You might wanna check if you are already usinb Bun v.1.1.43

https://bun.sh/blog/bun-v1.1.43#html-bundler

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

79403851

Date: 2025-01-31 19:43:51
Score: 2
Natty:
Report link

Good afternoon, I have a similar situation, and your post helped me a lot. However, my code presents an error when I do not select "COMPANenter code hereY". If you can, give me a tip on how to improve or correct my IF and ELSE. Thanks.

empresas = st.sidebar.multiselect('EMPRESAS', df_vendasveiculos['NotaFiscal_EmpresaNom'].unique(), df_vendasveiculos['NotaFiscal_EmpresaNom'].unique())

vendedores = df_vendasveiculos['NotaFiscal_UsuNomVendedor'].unique() estoques = df_vendasveiculos['NotaFiscal_EstoqueDes'].unique()

if empresas !=[]: vendedores = st.sidebar.multiselect('VENDEDORES', df_vendasveiculos[df_vendasveiculos['NotaFiscal_EmpresaNom'].isin(empresas)]['NotaFiscal_UsuNomVendedor'].unique(), df_vendasveiculos[df_vendasveiculos['NotaFiscal_EmpresaNom'].isin(empresas)]['NotaFiscal_UsuNomVendedor'].unique()) else: st.write("SELECIONE UMA EMPRESA!")

if vendedores !=[]: estoques = st.sidebar.multiselect('ESTOQUES', df_vendasveiculos[df_vendasveiculos['NotaFiscal_UsuNomVendedor'].isin(vendedores)]['NotaFiscal_EstoqueDes'].unique(), df_vendasveiculos[df_vendasveiculos['NotaFiscal_UsuNomVendedor'].isin(vendedores)]['NotaFiscal_EstoqueDes'].unique()) else: st.write("SELECIONE UM VENDEDOR!")

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): Good afternoon
  • Blacklisted phrase (1): helped me a lot
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ALAN JONES

79403850

Date: 2025-01-31 19:42:51
Score: 0.5
Natty:
Report link

From your description it definitely looks like it's an issue with running multiple tests in parallel. If you are using jest, you can use the --runInBand flag to run them all sequentially.

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

79403848

Date: 2025-01-31 19:40:50
Score: 2
Natty:
Report link

You can search a 2d space efficiently with quadtrees. Essentially it's like a binary search of a 1d space expanded to 2 dimensions. For each point you're searching it should take log(n) time to search for which hexagon it goes to if you first build a quadtree out of the n hexagons that tesselate your search area.

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

79403841

Date: 2025-01-31 19:36:48
Score: 6 🚩
Natty:
Report link

why are you trying to access https from localhost?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): why are you
  • Low reputation (1):
Posted by: Code28

79403825

Date: 2025-01-31 19:27:44
Score: 8.5 🚩
Natty:
Report link

Did you get this working. I have this same task on a backlog and would be great to learn what you ended up doing?

Reasons:
  • RegEx Blacklisted phrase (3): Did you get this
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Damian Flynn

79403824

Date: 2025-01-31 19:26:43
Score: 9.5 🚩
Natty: 5.5
Report link

Did you ever found more datasets?

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever found
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: João Mesquita

79403809

Date: 2025-01-31 19:20:41
Score: 1.5
Natty:
Report link

I have a tip that I don't know if it will work for you guys.

ThreadPool.QueueUserWorkItem(_ => Process.GetCurrentProcess().Kill());
Console.ReadKey();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: lalaki

79403807

Date: 2025-01-31 19:19:41
Score: 3
Natty:
Report link

Indentation matters a lot. I changed the indentation from 2 spaces to 4 spaces, and it got resolved.

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

79403805

Date: 2025-01-31 19:18:41
Score: 0.5
Natty:
Report link

Not exactly an ideal solution, but adding the following target seems to work:

<Target Name="DisableStyleCop" BeforeTargets="CoreCompile">
  <ItemGroup>
    <Analyzer Remove="@(Analyzer)" Condition="'%(Filename)' == 'StyleCop.Analyzers' OR '%(Filename)' == 'StyleCop.Analyzers.CodeFixes'" />
  </ItemGroup>
</Target>

Thanks to this answer for setting me on the right track.

This workaround would not be not needed if the referenced project had set PrivateAssets="all" when referencing StyleCop. Whether or not this was an oversight or due to heavy-handed stylistic opinions is not clear.

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

79403793

Date: 2025-01-31 19:13:39
Score: 1.5
Natty:
Report link

This is the culprit.

<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Tristan

79403787

Date: 2025-01-31 19:10:37
Score: 6.5
Natty: 7
Report link

PXUIFieldAttribute.SetEnabled<SOOrder.customerID>(Base.Document.Cache, null, isEnabled: false); i tried to disable the edit on customer field from graph extension but still see the edit icon. Do i need to add document allowupdate to false in extension graph?

Reasons:
  • Blacklisted phrase (0.5): i need
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: freeshmann

79403781

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

Following the hint given by @Lundis, in debian/ubuntu system i fixed this by installing build-essential package:

sudo apt-get install build-essential
Reasons:
  • Whitelisted phrase (-2): i fixed
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @Lundis
  • Low reputation (1):
Posted by: mgasp

79403776

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

AWS support got back to me, and asked me to run this to get a list of the old transactions across all nodes:

SELECT server_id, IF(session_id = 'master_session_id', 'writer', 'reader') AS ROLE, replica_lag_in_msec, oldest_read_view_trx_id , oldest_read_view_lsn from mysql.ro_replica_status;

That told me that a reader was holding a transaction. Found a select statement on that reader that had been stuck for several days. Killed that query and the problem is resolved.

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

79403768

Date: 2025-01-31 19:00:35
Score: 0.5
Natty:
Report link

After the update, the same thing happened to me in C#. I Solved it by changing the Code Snippet Manager back to C#.

Here is a screenshot to show what I mean:

Code Snippet Manager settings showing C# selected

Reasons:
  • Whitelisted phrase (-2): I Solved
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Nev

79403763

Date: 2025-01-31 18:58:34
Score: 0.5
Natty:
Report link

Mentioned above, but here is the answer:

var app = Host.CreateApplicationBuilder();
app.ConfigureContainer(new DefaultServiceProviderFactory(new ServiceProviderOptions
{
    ValidateOnBuild = false,
    ValidateScopes = true
}));
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: brendonparker

79403762

Date: 2025-01-31 18:58:34
Score: 0.5
Natty:
Report link

Upgrading pip is what worked for me

pip install --upgrade pip

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: A Simple Programmer

79403761

Date: 2025-01-31 18:57:34
Score: 3.5
Natty:
Report link

have the issue on AWS ELB instance with amazon-linux-2023

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

79403760

Date: 2025-01-31 18:56:34
Score: 0.5
Natty:
Report link
overflow: "clip",
overflowClipMargin: "2px",

Use clip instead of hidden to gain access to the overflowClipMargin. You can add a bit of margin that won't affect the element's layout, but will allow more of the content to be visible before overflow is hidden.

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

79403756

Date: 2025-01-31 18:55:33
Score: 1
Natty:
Report link
retailPRICE$cheapestSTORE = colnames(retailPRICE)[apply(retailPRICE, 1, which.min)]

This should do it. You will get some warnings due to the names and missing values but would get the result you want.

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

79403738

Date: 2025-01-31 18:50:32
Score: 0.5
Natty:
Report link

Here is the fix.

Edit this file path:

$HOME\Documents\PowerShell\Microsoft.PowerShell_profile.ps1

Add below line in it.

$Env:_CE_M = $Env:_CE_CONDA = $null

Save the file. Now all conda commmands work.

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

79403724

Date: 2025-01-31 18:45:31
Score: 2
Natty:
Report link

When comparing complex object graphs in Java, hash codes can sometimes be misleading due to the order of objects. The "DeepEquals" utility from the java-util GitHub project can help by providing a detailed comparison of object graphs and highlighting differences. This can be particularly useful in ensuring semantic equality. For more information, you can refer to the java-util GitHub project.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: John DeRegnaucourt

79403721

Date: 2025-01-31 18:43:31
Score: 1.5
Natty:
Report link

This issue can also occur if you use a path alias like "@*": ["./*"], in your tsconfig.json or jest.config.ts. When using wildcard path aliases, Jest may fail to resolve modules correctly because it doesn't know how to map the alias to the actual file paths.

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

79403711

Date: 2025-01-31 18:37:29
Score: 0.5
Natty:
Report link

In situations where you need to compare complex object graphs in Java, the "DeepEquals" utility from the java-util GitHub project can be very helpful. It provides a way to compare two object graphs and reports a breadcrumb trail to the differences. This utility can handle cyclic references and offers a more comprehensive comparison than the default equals() method. You can find more information and the implementation details on the java-util GitHub project page.

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

79403705

Date: 2025-01-31 18:34:29
Score: 2.5
Natty:
Report link

There is a very useful fork for python-docx the maker of which created an add_footnote() function. Works like a charm on some of my projects:

https://pypi.org/project/bayoo-docx/

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

79403699

Date: 2025-01-31 18:30:28
Score: 1.5
Natty:
Report link

Never use setDate, setMonth and setYear in this way to instantiate a date. If the current month has less than 31 days, and you try to set a date on the 31st of a month, when you set the day, it will roll over to the 1st of the next month. Conversely if you were to invert the order of the calls, if you create your date on the 31st of a month, for a month with less than 31 days, when you set the month, it will roll over to the next month. Use the constructor, or at the least use setFullYear(year, month, day).

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

79403694

Date: 2025-01-31 18:27:26
Score: 7.5 🚩
Natty:
Report link

I am experiencing the same issue. Have you been able to find a solution yet? (some ancient scripts that were working fine do not work anymore...)

Thank you very much in advance Colline

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1.5): Have you been able to
  • RegEx Blacklisted phrase (3): Thank you very much in advance
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Colline Brassard

79403677

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

Seems all the above solutions are pretty valid. Anyway you could just:

Enum.map(%{:a => 2}, fn {k, v} -> {k, v + 1} end) |> Map.new()

Enum parses maps in a list of tuples of {k, v} pair, so Map can handle it back. Same logic is applied with Keyword.

Eg

iex(3)> [{:a, 1}, {:b, 2}] |> Keyword.new() [a: 1, b: 2]

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

79403659

Date: 2025-01-31 18:12:22
Score: 3.5
Natty:
Report link

content://org.telegram.messenger.provider/media/Android/data/org.telegram.messenger/files/Telegram/Telegram%20Files/2025%20deep%20new%20quotex%20live%20software.html

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

79403657

Date: 2025-01-31 18:11:22
Score: 3
Natty:
Report link

2025 answer to a similar question: https://stackoverflow.com/a/79403643/1115220

(modification to your .csproj file)

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: JasonS

79403650

Date: 2025-01-31 18:09:21
Score: 1.5
Natty:
Report link

Turns out my suspicions were correct and all I had to do was update the WindowManager when appropriate! In this case I had a WindowCallback class that implemented Window.Callback and I could perform the update to the window manager there. The callback was called anytime the device orientation changed so the WindowManager object was always updated when the height and width flipped. A little annoying this is only an issue on newer versions of android (I think 30+) but glad it's resolved.

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

79403642

Date: 2025-01-31 18:07:20
Score: 6 🚩
Natty: 3
Report link

So, for example my folder is setup as such

tc. Now I want to place the same folder under those so: d.Programming 1.intro a.Raw b.Final

So for each of those sub sub folders, I want to place raw and final in them. How could I do that?

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Sean Lake

79403639

Date: 2025-01-31 18:04:19
Score: 1.5
Natty:
Report link

Bigquery supports batch loading Avro files directly as long as it is compressed using a supported codec (snappy, deflate, zstd). Since you are using gzip, creating a function that will fetch the files and decompress the contents is indeed the nearest solution, but the issue you’ve encountered when using a function might be due to network bandwidth and maximum execution time since the process involves decompressing a lot of files. As mentioned by @somethingsomething, it would be helpful to post your code so that we can take a closer look at what went wrong.

You can take a look at this thread about loading a jsonl.gz file from GCS into Bigquery using Cloud Function.

However, given your scale (75GB of files daily), Dataflow might be a better solution since there is a template that decompresses a batch of files on GCS.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @somethingsomething
  • Low reputation (0.5):
Posted by: yannco

79403630

Date: 2025-01-31 18:00:18
Score: 3
Natty:
Report link

If you don't apply clrDgField and clrDgSortOrder in the clr-dg-column than you will not be able to sort columns just remove these two attributes from your column

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

79403611

Date: 2025-01-31 17:54:16
Score: 3
Natty:
Report link

Try adding set auto-load no in ~/.gdbinit

https://sourceware.org/gdb/current/onlinedocs/gdb.html/Auto_002dloading-safe-path.html

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

79403605

Date: 2025-01-31 17:52:16
Score: 1
Natty:
Report link

After further investigation, I've found why the kernels are being run in serial. By default, after cuda 12.2, a setting called CUDA_MODULE_LOADING is set to lazy. The cuda C++ programming guide outlines issues with lazy CUDA_MODULE_LOADING with respect to concurrent execution of kernels:

https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#concurrent-execution

Concurrent execution of kernels is described by the guide as an anti-pattern, but a workaround is to set the environment variable: CUDA_MODULE_LOADING=EAGER

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

79403595

Date: 2025-01-31 17:47:15
Score: 3
Natty:
Report link

should n_informative less than n_features, if it possible to be equal, I try to set they are equal but it doesn't work.

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

79403590

Date: 2025-01-31 17:46:15
Score: 0.5
Natty:
Report link
let my_map: DashMap<String, String> = DashMap::new();

//keys
my_map.iter().map(|ref_multi| ref_multi.key().clone())

//values
my_map.iter().map(|ref_multi| ref_multi.value().clone())
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Josh

79403588

Date: 2025-01-31 17:46:15
Score: 0.5
Natty:
Report link

In my case works with:

onChange={
   handleChange("email") as (e?: NativeSyntheticEvent<any>) => void
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Leandro Ariel

79403572

Date: 2025-01-31 17:42:13
Score: 1
Natty:
Report link

I'm not sure which documentation you were referring to, or what words you didn't understand, but a Google Search came up with Waveshare's product page, from which I got to the wiki link.

I haven't used LVGL before, but from the content in the wiki link, they appear to have some support for LVGL in Python. Maybe start with the Getting Started section for MicroPython, and see if you can get the LVGL demo working using the corresponding section on the Wiki.

I wouldn't go and try to find solutions from somewhere other than Waveshare because it's their product, and they did say something about not installing generic firmware.

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

79403566

Date: 2025-01-31 17:40:13
Score: 1
Natty:
Report link

As @AndreasWenze Pointed out The HTTP newline is actually \r\n not \n.

Updated code:

void receiveHTTP(int clientSockfd, char *buff, size_t __n, int __flags)
{
    int bytes = recv(clientSockfd, buff, __n, __flags);
    printf("%s",buff);
    for (int i = 0; i < bytes; i++)
    {
        if (buff[i+1] != '\n' && buff[i] != '\n' ){
            printf("%c", buff[i]);
        }
    }
    printf("\n");
}

Output:

GET /1 HTTP/1.1
user-agent: got (https://github.com/sindresorhus/got)
accept-encoding: gzip, deflate, br
cookie: PHPSESSID=37f65v1f9dcbmq3nbvqvev6bf4
Host: localhost:8080
Connection: close

GET /1 HTTP/1.1user-agent: got (https://github.com/sindresorhus/got)accept-encoding: gzip, deflate, brcookie: PHPSESSID=37f65v1f9dcbmq3nbvqvev6bf4Host: localhost:8080Connection: close

Which is correct.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @AndreasWenze
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Mehan Alavi

79403549

Date: 2025-01-31 17:31:10
Score: 1
Natty:
Report link

Problems like that happened many times in the past. The best you can do is to file an issue via official UPX GitHub repo. Eventually, you can try using some older version of UPX.

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

79403547

Date: 2025-01-31 17:30:10
Score: 1
Natty:
Report link

I see @types/googlemaps in your package.json. That package moved to @types/google.maps

npm uninstall @types/googlemaps
npm install -D @types/google.maps
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: JCollins

79403546

Date: 2025-01-31 17:30:10
Score: 2
Natty:
Report link

After spending some time in searching about my error i found different solutions such as clear cache, logout and then login in to your shopify partners acoount and try private tab and disable all the extensions of your browser.

in my case, i have disabled all the extension and found out one of my browser extension is corrupted.

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

79403543

Date: 2025-01-31 17:30:10
Score: 2.5
Natty:
Report link

1 week ago I built my code by starting visual studio as Administrator... since then if i open the studio as non admin I get above build error... now the build error is gone after I run studio as admin again

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

79403511

Date: 2025-01-31 17:19:06
Score: 13.5 🚩
Natty: 6.5
Report link

how did you solve it? I have the same problem

Reasons:
  • Blacklisted phrase (1): how did you solve it
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): did you solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): how did you solve it
  • Low reputation (1):
Posted by: Robert lll

79403504

Date: 2025-01-31 17:18:05
Score: 1.5
Natty:
Report link
# find /usr/lib/ -name cqlshlib
/usr/lib/python3.6/site-packages/cqlshlib
# echo 'export PYTHONPATH=/usr/lib/python3.6/site-packages/' >> ~/.bashrc
# source ~/.bashrc
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Paulo Ramos

79403492

Date: 2025-01-31 17:15:05
Score: 2
Natty:
Report link

Its a bug, termination protection is suppose to overide AutoScaling and lauch configurations. Confimred by AWS support, open a ticket to get it fixed faster.

" since AutoScaling ignores that setting and will terminate your instances even if its enabled. You would have to use a launch template, and at that point I don't see much point in using beanstalk if your customizing everything." is not accurate, full of prejudice and lacks the understanding of the original question.

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

79403486

Date: 2025-01-31 17:14:03
Score: 6.5 🚩
Natty:
Report link

Thinking of perhaps using LAMBDA and apply it on the range A2:A? However, I am not too sure how to apply it to my original formula. Any thoughts?

Reasons:
  • Blacklisted phrase (1.5): Any thoughts
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Eric Trometer

79403482

Date: 2025-01-31 17:12:03
Score: 2.5
Natty:
Report link

When you run,

app.run()

it should be the final piece of code, if you would like to confirm that the website works, then try to connect to it via HTTPS with "http://127.0.0.1:5000". If all works, the console should display that connected via HTTPS & Should show your IP address.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: CubingNerd

79403476

Date: 2025-01-31 17:10:02
Score: 5.5
Natty: 5
Report link

The answer from @sytech does not work due to the following bug in Gitlab: https://gitlab.com/gitlab-org/gitlab/-/issues/349538

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @sytech
  • Single line (0.5):
  • Low reputation (1):
Posted by: Fepaje

79403472

Date: 2025-01-31 17:08:01
Score: 2
Natty:
Report link

there are two solutions:

  1. nginx.conf

you have to change nginx.conf Try_files directs all requests to index

  1. change index.php

first of index.php get the url and return require_once('contact.php')

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

79403469

Date: 2025-01-31 17:06:00
Score: 1
Natty:
Report link

Yes, it's possible, but it's application dependent.  The RFC allows for any number of attribute=value parameters, and provides some example ideas as well.  Thunderbird does respect a filename=<file.ext> parameter but Firefox does not.  Try testing it yourself.  Here is the stackoverflow logo in svg format from wikimedia commons base64-encoded and formatted in the data URL scheme:

data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjAgMTIwIj48c3R5bGU+LnN0MHtmaWxsOiNiY2JiYmJ9LnN0MXtmaWxsOiNmNDgwMjN9PC9zdHlsZT48cGF0aCBjbGFzcz0ic3QwIiBkPSJNODQuNCA5My44VjcwLjZoNy43djMwLjlIMjIuNlY3MC42aDcuN3YyMy4yeiIvPjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0zOC44IDY4LjRsMzcuOCA3LjkgMS42LTcuNi0zNy44LTcuOS0xLjYgNy42em01LTE4bDM1IDE2LjMgMy4yLTctMzUtMTYuNC0zLjIgNy4xem05LjctMTcuMmwyOS43IDI0LjcgNC45LTUuOS0yOS43LTI0LjctNC45IDUuOXptMTkuMi0xOC4zbC02LjIgNC42IDIzIDMxIDYuMi00LjYtMjMtMzF6TTM4IDg2aDM4LjZ2LTcuN0gzOFY4NnoiLz48L3N2Zz4=

You can copy/paste that into your address bar and you should see stackoverflow's logo rendered.  Try and save it and, in Firefox, it will default to Untitled.svg.

Now, add a filename parameter:

data:image/svg+xml; filename=Stack_Overflow_icon.svg; base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjAgMTIwIj48c3R5bGU+LnN0MHtmaWxsOiNiY2JiYmJ9LnN0MXtmaWxsOiNmNDgwMjN9PC9zdHlsZT48cGF0aCBjbGFzcz0ic3QwIiBkPSJNODQuNCA5My44VjcwLjZoNy43djMwLjlIMjIuNlY3MC42aDcuN3YyMy4yeiIvPjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0zOC44IDY4LjRsMzcuOCA3LjkgMS42LTcuNi0zNy44LTcuOS0xLjYgNy42em01LTE4bDM1IDE2LjMgMy4yLTctMzUtMTYuNC0zLjIgNy4xem05LjctMTcuMmwyOS43IDI0LjcgNC45LTUuOS0yOS43LTI0LjctNC45IDUuOXptMTkuMi0xOC4zbC02LjIgNC42IDIzIDMxIDYuMi00LjYtMjMtMzF6TTM4IDg2aDM4LjZ2LTcuN0gzOFY4NnoiLz48L3N2Zz4=

I added spaces too to make it easier to read, which are also valid.  Copy/paste that to your address bar and, in Firefox at least, it will still try to save it as Untitled.svg.

Finally, in Thunderbird, start composing a new HTML message and go to Insert > HTML and give it an img tag with that data: URL for the src attribute:

<img src="data:image/svg+xml; filename=Stack_Overflow_icon.svg; base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjAgMTIwIj48c3R5bGU+LnN0MHtmaWxsOiNiY2JiYmJ9LnN0MXtmaWxsOiNmNDgwMjN9PC9zdHlsZT48cGF0aCBjbGFzcz0ic3QwIiBkPSJNODQuNCA5My44VjcwLjZoNy43djMwLjlIMjIuNlY3MC42aDcuN3YyMy4yeiIvPjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0zOC44IDY4LjRsMzcuOCA3LjkgMS42LTcuNi0zNy44LTcuOS0xLjYgNy42em01LTE4bDM1IDE2LjMgMy4yLTctMzUtMTYuNC0zLjIgNy4xem05LjctMTcuMmwyOS43IDI0LjcgNC45LTUuOS0yOS43LTI0LjctNC45IDUuOXptMTkuMi0xOC4zbC02LjIgNC42IDIzIDMxIDYuMi00LjYtMjMtMzF6TTM4IDg2aDM4LjZ2LTcuN0gzOFY4NnoiLz48L3N2Zz4=" />

After you click insert you should see the lovely stackoverflow logo.  Now, just save the message in your Drafts and then head over to it so you can view it as a written e-mail. Right-click on the stackoverflow logo and Save Image as... and what do you know? it will default to saving it as Stack_Overflow_icon.svg for you.

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

79403442

Date: 2025-01-31 16:57:58
Score: 2.5
Natty:
Report link

If you mean one sink for when it is live in production and one for when developing on your local computer, you could have an appsettings.development.json and an appsettings.development.json, and keep the appsettings.json for configurations that should apply to both.

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

79403438

Date: 2025-01-31 16:56:58
Score: 1
Natty:
Report link

I know this is an old one but nothing above works, but I found that this does:

{{ (0 | currency:'USD':'symbol-narrow')!.split('0')[0] }}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Steven Price

79403435

Date: 2025-01-31 16:55:57
Score: 1
Natty:
Report link

I recognize that this is probably a relatively expensive option, but it looks like Azure OpenAI service using GPT-4o can handle this. I submitted an incorrectly rotated image and the following prompt and got the below response. Prompt: Is this image rotated incorrectly? Response: Yes, the image is rotated incorrectly. It appears to be 90 degrees counterclockwise from its correct orientation. The floor should be at the bottom of the image.

This could probably be improved by using structured outputs, so subsequent code can handle the actual rotation if needed. https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/structured-outputs?tabs=python-secure

In terms of where to run the code for this, triggering Azure functions using the addition of a new blob to storage is generally well-documented both by Microsoft and/or blogs, if you have any specific questions do not hesitate to ask!

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

79403431

Date: 2025-01-31 16:54:57
Score: 3.5
Natty:
Report link

I see no answer to this question in 4 month. I am new to Cursor.ai. I found this way to let Cursor see all python environment: in start page (or this page will appear when you close all your workspace), click Open Project. In the pop up window called "Oper Folder", you will see all available venv that you created in command line.

Reasons:
  • RegEx Blacklisted phrase (1.5): I am new
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Joann Hsu