79388174

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

On current version regarding this date, I am using the following to get text:

console.log($('#select_id').select2('data')[0].text);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Luis Lara

79388170

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

Download and install the latest versions of the Visual C++ Redistributables.

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

79388153

Date: 2025-01-26 07:42:22
Score: 0.5
Natty:
Report link

You can create an event that opens a port in a browser when the ports becomes bound. Add this to your devcontainer.json file

"portsAttributes": {
    "4200": {
        "label": "Angular App",
        "onAutoForward": "openBrowser"
    }
},
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: el-davo

79388152

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

This feature is called chained comparisons (you can read the brief description in the python docs here)

To be absolutely honest, I had no idea the first option was even possible and you absolutely won't be going wrong using the second option (anyone who tells you otherwise has never used any other programming language).

At the same time, I can't find anything with a quick google search that says something negative about chained comparisons, and PEP8 has nothing to offer on the topic either.

Basically that leaves it up to personal preference and style. The general guidelines are to:

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

79388150

Date: 2025-01-26 07:40:20
Score: 9 🚩
Natty:
Report link

Estamos interesados en Btnkumar.

Estamos interesados en hablar con vosotros para que Btnkumar pueda aparecer en prensa y logre una mejor posición en internet. Se crearán noticias reales dentro de los periódicos más destacados, que no se marcan como publicidad y que no se borran.

Estas noticias se publicarán en más de cuarenta periódicos de gran autoridad para mejorar el posicionamiento de tu web y la reputación.

¿Podrías facilitarme un teléfono para aplicarte un mes gratuito?

Muchas gracias.

Reasons:
  • Blacklisted phrase (1): ¿
  • Blacklisted phrase (2): gracias
  • Blacklisted phrase (2): crear
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: paola

79388146

Date: 2025-01-26 07:36:19
Score: 2.5
Natty:
Report link

Would you be willing to report your problem to JetBrains? Please find information on Reporting performance problems and How to get a thread dump when IDE hangs and doesn't respond. Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Marit

79388140

Date: 2025-01-26 07:30:18
Score: 1.5
Natty:
Report link

A few months late, but it might be because you called the this.context.getApplicationContext().getContentResolver().insert(Telephony.Mms.CONTENT_URI, mmsValues); before you added anything to the mmsValues variable, so it might've just inserted an empty ContentValues to the content resolver, so try moving that line to right above the smsManager.sendMultimediaMessage.
Also try these too.
https://github.com/klinker41/android-smsmms
https://github.com/aosp-mirror/platform_development/blob/master/samples/ApiDemos/src/com/example/android/apis/os/MmsMessagingDemo.java

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

79388137

Date: 2025-01-26 07:28:18
Score: 2.5
Natty:
Report link

From the IntelliJ IDEA documentation on GitLab integration:

"The integration supports GitLab Community Edition and GitLab Enterprise Edition versions 14.0 and later."

Does your version of GitLab meet these requirements?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Marit

79388134

Date: 2025-01-26 07:26:17
Score: 2
Natty:
Report link

Usually a CSRF token is bound to a session. So in addition to the CSRF token I would expect you also need to sustain the session, which is typically done by sustaining a session cookie in the HTTP header.

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

79388130

Date: 2025-01-26 07:23:17
Score: 2
Natty:
Report link

Use s3manager.Downloader in Go SDK v2 for fast, efficient multi-part downloads from AWS S3. It handles large files seamlessly.

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

79388128

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

As far as I can find by searching the docs & settings, it's not possible to keep the search results open. It is however, very straightforward to reopen them and the original search & results should be preserved. If you want to, you could file a feature request in YouTrack. It would help if you could explain your workflow; what are you trying to achieve that would require the search results to remain open?. Personally I use search to navigate somewhere and would not need to keep them open, so I am trying to understand why you would.

Reasons:
  • Blacklisted phrase (1): I am trying to
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Marit

79388123

Date: 2025-01-26 07:16:15
Score: 4
Natty: 4.5
Report link

i guess in this articel you will find the solution

How to block Node.js Api’s from 3rd party access.

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

79388120

Date: 2025-01-26 07:12:13
Score: 9.5 🚩
Natty:
Report link

Good afternoon, I ran into exactly the same problem, did you manage to find a solution?

Reasons:
  • Blacklisted phrase (1): Good afternoon
  • RegEx Blacklisted phrase (3): did you manage to find a solution
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29359784

79388119

Date: 2025-01-26 07:08:12
Score: 2
Natty:
Report link

In my case, I open live server settings in vs code and checked;

Live Server › Settings: Full Reload Live Server › Settings: Use Web Ext

Then started reload php serve and live server web extensions.

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

79388116

Date: 2025-01-26 07:06:12
Score: 1.5
Natty:
Report link

403 ERROR The request could not be satisfied. Bad request. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner. If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation. Generated by cloudfront (CloudFront)

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Naresh Tharu

79388114

Date: 2025-01-26 07:05:11
Score: 1
Natty:
Report link

This is a supplement to JvdV's answer:

I must admit it's impressive and enlightening. I guess I'm not the only one who always seeking for a general method to convert a string into 2-Dimensional array without looping and spliting substring populated by row delimiter. I've known that Application.Transpose will convert 1-D array which contains 1-D subarray as element into 2-D array, but I never realized that it can be combined with Index function in such an elegant way!

Now I extend this method to populate any customized size 2-D array in my project, only if I know the column number of that array, take an example:

Assume that I get a Recordset from ADO object by SQL query and retrieve data by .GetString Method (I can't use GetRows method becuz of Null value in the recordset), then divided the string into a N*4 size 2-dimensional array:

Dim adoCnnctn As New ADODB.Connection
Dim strRcrdSt As String
Dim arrRcrdSt As Variant
Dim arrFld1 As Variant, arrFld2 As Variant, arrFld3 As Variant, arrFld4 As Variant

strRcrdSt = adoCnnctn.Execute(strQry).GetString(adClipString, , ",", ",", "N/A")
arrRcrdSt = Split(Left(strRcrdSt, Len(strRcrdSt) - 1), ",")

With Application
    .ReferenceStyle = xlA1
    arrFld1 = Evaluate("=TRANSPOSE((ROW(1:" & (UBound(arrRcrdSt) + 1) / 4 & ")*4)-3)")
    arrFld2 = Evaluate("=TRANSPOSE((ROW(1:" & (UBound(arrRcrdSt) + 1) / 4 & ")*4)-2)")
    arrFld3 = Evaluate("=TRANSPOSE((ROW(1:" & (UBound(arrRcrdSt) + 1) / 4 & ")*4)-1)")
    arrFld4 = Evaluate("=TRANSPOSE((ROW(1:" & (UBound(arrRcrdSt) + 1) / 4 & ")*4)-0)")
    arrRcrdSt = .Transpose(Array( _
                .Index(arrRcrdSt, 1, arrFld1), _
                .Index(arrRcrdSt, 1, arrFld2), _
                .Index(arrRcrdSt, 1, arrFld3), _
                .Index(arrRcrdSt, 1, arrFld4)))
End With

Key points you must pay attetion to:

  1. Watch out the data type of those variables and arrays;
  2. Watch out the subscript of those arrays;
  3. The formula reference style must be xlA1,you can make this mandatory setting by VBA code or set it in the option menu by unchecking R1C1 reference style, otherwise Index function will return "Error 2015"

And thank you! @JvdV

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @JvdV
  • Low reputation (1):
Posted by: Meer Molix

79388106

Date: 2025-01-26 06:56:09
Score: 0.5
Natty:
Report link

If your password contains special characters like @, $ and &. Use url encoded version.

@ becomes %40 $ becomes %24 & becomes %26

replace with above characters. It should work

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

79388105

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

I faced the same error , if you use linux you can just add the command fnm env --use-on-cd | Out-String | Invoke-Expression to your profile of shell. Otherwise , just run it in shell and fnm list then you can choose from the installed ones.

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

79388095

Date: 2025-01-26 06:46:07
Score: 1.5
Natty:
Report link

This can be caused by the "Prefer 32-bit" flag being checking in the project settings.

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

79388089

Date: 2025-01-26 06:44:07
Score: 0.5
Natty:
Report link

You have to specify the build packs as mentioned in below reference:

You can get more information about buildpacks from below reference in the Build pack section:

Here is how you can achieve it, by modifying pom.xml

<build>
    <plugins>
        <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
            <configuration>
                <image>
                    <builder>paketobuildpacks/builder:base</builder>
                    <buildpacks>
                        <buildpack>gcr.io/paketo-buildpacks/amazon-corretto</buildpack>
                    </buildpacks>
                    <env>
                        <BP_JVM_VERSION>17</BP_JVM_VERSION>
                    </env>
                </image>
            </configuration>
        </plugin>
    </plugins>
</build>
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Syed

79388087

Date: 2025-01-26 06:42:07
Score: 2.5
Natty:
Report link

The issue likely comes from compatibility problems between Python versions, scikit-learn versions, or missing dependencies in your APK environment. Make sure the Python version used to train and save the model matches the one in your app. Also, check if all required libraries are correctly bundled in your APK.

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

79388085

Date: 2025-01-26 06:39:06
Score: 3
Natty:
Report link

Make sure you have installed AS "Mac with Apple chip" version.

Also, have you tried to install AS on the host (not VM)?

Reasons:
  • Whitelisted phrase (-1): have you tried
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: jokuskay

79388084

Date: 2025-01-26 06:39:06
Score: 0.5
Natty:
Report link

You need to add the following line with the channel name into your AndroidManifest.

<application
....
>
<meta-data android:name="CHANNEL" android:value="9apps_int"/>
...
</application>

P.S. I know it's an old question but yesterday this info would save me a lot of time :)

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

79388082

Date: 2025-01-26 06:37:05
Score: 1
Natty:
Report link

I had the same issue and switching to DGPU mode fixed it for me. Some bug with windows. Hope this helps :)

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Paul Wilson

79388071

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

there might be issues in with version compatibility or wsl is not restarting with installation of new software. you can try after shuting down with wsl --shutdown command. or check if node.js binary is in your path of ubuntu,or add it manually. update nodejs or use --force if necessary. hope this helps. mine worked after a shutdown.

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • No code block (0.5):
  • Low reputation (1):
Posted by: Pooja Patel

79388048

Date: 2025-01-26 06:16:58
Score: 9 🚩
Natty:
Report link

So sorry for jumpimg in but its urgent Hello my iphone was stolen and they got my apple id and changed every security details i got my company email when i bought a domain for google project and i can log into the du app but there is mo call log or option to call and msg forward to get my otp i have my iphone bill and i cant get mu apple id how can i make a divert before they close or change the simcard or how can i get the otb from du app please help thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): how can i
  • RegEx Blacklisted phrase (3): please help
  • RegEx Blacklisted phrase (2): urgent
  • RegEx Blacklisted phrase (1): i got my company email when i bought a domain for google project and i can log into the du app but there is mo call log or option to call and msg forward to get my otp i have my iphone bill and i cant get mu apple id how can i make a divert before they close or change the simcard or how can i get the otb from du app please
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29081132

79388031

Date: 2025-01-26 05:59:55
Score: 3.5
Natty:
Report link

The solution was to use an Oauth app instead of a Github app!

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

79388028

Date: 2025-01-26 05:57:55
Score: 2
Natty:
Report link

isNaN ( number ) The isNaN function is the %isNaN% intrinsic object. When the isNaN function is called with one argument number, the following steps are taken:

  1. Let num be ? ToNumber(number).
  2. If num is NaN, return true.
  3. Otherwise, return false. more info refer doc

Number.isNaN ( number )

  1. If Type(number) is not Number, return false.

  2. If number is NaN, return true.

  3. . Otherwise, return false. More info ref the doc

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: subhransu sekhar mohanty

79388026

Date: 2025-01-26 05:56:54
Score: 0.5
Natty:
Report link

I actually just made a VS Code extension to solve this exact problem: Fold Single-Line Comments

It enables folding for consecutive single-line comments in Python (and other languages like Ruby, Shell, and YAML). To do this, it implements a FoldingRangeProvider that detects sequences of lines starting with '#':

if (trimmedText.startsWith('#')) {
    if (startLine === null) {
        startLine = i;
    }
    lastLine = i;
} else if (startLine !== null && lastLine !== null) {
    if (lastLine > startLine) {
        ranges.push(new vscode.FoldingRange(
            startLine, 
            lastLine,
            vscode.FoldingRangeKind.Comment
        ));
    }
}

Currently, it not will count empty lines as part of a foldable area, which is different from how VS Code officially supports it for JavaScript/TypeScript's single-line comments, but I personally thought it would be better that way. I'm not sure if there's enough demand to toggle it otherwise/set it as the default.

The extension automatically enables folding for consecutive single-line comments, and you can click the folding icon in the gutter (like in your C example) to collapse/expand them.

Here's a picture showing the gutter with Python code.

Here's how they look when folded.

You can also use the command "Fold Single-Line Comments" from the command palette to specifically fold only those single-line comments. There is currently no "Unfold Single-Line Comments," but it should not be too hard to add. The official Unfold All command will work with this, because we've simply consecutive single-line comments as viable folding areas.

Here's what that command looks like.

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

79388001

Date: 2025-01-26 05:31:49
Score: 2
Natty:
Report link

15 years later. How did it work out?

Also anyone now reading this in 2025. I would recommend a columnar database (snowflake, bigquery, clickhouse etc). And then let your visualization platform handle the semantic modeling

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Josh Pachner

79387999

Date: 2025-01-26 05:26:48
Score: 2
Natty:
Report link

React buddy waits for the dev server to expose the view at http://yourIPV4Address:5173/

but its not exposed to this address/network by default, you need to explicitly mention it in the script as answered by window10 rd.

in your package.json -> scripts change "dev": "vite" to "dev": "vite --host"

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

79387996

Date: 2025-01-26 05:22:47
Score: 1
Natty:
Report link

Here is a version that should work whatever the serialized contents are (whether they contain quotes, shell special characters or whatever):

  - name: Dump GitHub context
    run: |
      cat << 'EOF'
      ${{ toJSON(github) }}
      EOF
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: glandium

79387994

Date: 2025-01-26 05:15:47
Score: 1
Natty:
Report link

For colab:

!cp -r /usr/local/lib/python3.11/dist-packages/traitlets /usr/local/lib/python3.11/dist-packages/IPython/utils/

!mv /usr/local/lib/python3.11/dist-packages/IPython/utils/traitlets.py /usr/local/lib/python3.11/dist-packages/IPython/utils/traitlets.py.bkup
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kavinkumar M

79387988

Date: 2025-01-26 05:05:45
Score: 1.5
Natty:
Report link

No, the System.Speech type does work on PowerShell 7.6 preview.0. There's what I did:

Add-Type -AssemblyName System.speech
$PromptTTS = New-Object System.Speech.Synthesis.SpeechSynthesizer
$PromptTTS.Speak("Hello")

(but it does not returns something like in Windows PowerShell)

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

79387974

Date: 2025-01-26 04:43:41
Score: 13
Natty: 7.5
Report link

I have the same problem and the same question, can you help me?

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): can you help me
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Renato Nakamura

79387972

Date: 2025-01-26 04:38:40
Score: 3
Natty:
Report link

Turns out the error was elsewhere in my code - a hash table was only getting updated with the last label and associated data. So the issue was not with VoiceOver at all.

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

79387966

Date: 2025-01-26 04:28:39
Score: 1
Natty:
Report link

you can cast

var query = myContext.Mammals
    .Include(mammal => ((Dog)mammal).Tail)
    .Include(mammal  => ((Bat)mammal).Wing)
    .Include(mammal  => ((Buffalo)mammal).Horns)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Lenny Woods

79387965

Date: 2025-01-26 04:28:39
Score: 1.5
Natty:
Report link

modify tsconfig.json file

{
  "compilerOptions": {
    "paths": {
      "@/*": [
        "./*"
      ]
    },
    //other options go here
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: rukonbd

79387961

Date: 2025-01-26 04:24:38
Score: 1.5
Natty:
Report link
const list = paddle.subscriptions.list();
const result = []; 

for await (const item of list) {
    result.push(item); 
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: chengfeng wang

79387954

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

dear friends please note the provided tutorial NOT WORKS maybe this used to work before, but as for Windows 10 22H2 this doesnt help in any way, i spent 3 hours tryung to replicate the process with no luck

instead, please reffer to this tutorial if you want to succeed

what is the main diference anyway ?

the syntax

the given here advice says

"C:\Users\MYNAME\Desktop\Win7AppId1.1.exe" C:\Users\MYNAME\Desktop\Xbox.lnk Microsoft.GamingApp_8wekyb3d8bbwe!Microsoft.Xbox.App

instead you need to cut the full adress and get rid of brackets of first object and provide brackets for next objects so the command now would look this

Win7AppId1.1 "Xbox.lnk" "Microsoft.GamingApp_8wekyb3d8bbwe!Microsoft.Xbox.App"

and now IT WORKS

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Blacklisted phrase (1): no luck
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Dell Latitude

79387951

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

what about delaying the reading of the target.attribute value with setTimeout, works rather consistently for me:

const observer = new MutationObserver(records => {
    for (const record of records) {
        if (record.type !== 'attributes') continue

        setTimeout( 
            function(delayedRecord) { 
                handleAttributeChange(
                    delayedRecord.attributeName!,
                    delayedRecord.oldValue,
                    delayedRecord.target.attributes.getNamedItem (delayedRecord.attributeName).value
                )
            }, 0, record )
    }
})

I've found that setting the timeout delay for 0ms runs the code in the next tick - usually when the attribute value has been updated.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): what
  • Low reputation (1):
Posted by: Sp8cestation Crew

79387941

Date: 2025-01-26 03:57:31
Score: 6.5 🚩
Natty:
Report link

Please provide more details of your code where you use <ConfigProvider> component?

Reasons:
  • RegEx Blacklisted phrase (2.5): Please provide
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Saleh Alikhani

79387940

Date: 2025-01-26 03:56:29
Score: 6.5 🚩
Natty:
Report link

I have the same issue and i already have done all the way you did . it might be a gitlab registry issue to get the image but sill have no clue.

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Atabak

79387929

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

Basic function for your operation is as follows:

template<typename L, typename R>
std::any Add(std::any l, std::any r) {
    return std::any(std::any_cast<L>(l) + std::any_cast<R>(r));
}

Note that above function uses c++ rules for finding a common type. You may wish to look at std::common_type or specializations.

Other than that, this problem is related to multiple dispatch. Popular languages usually don't bother with it and use single dispatch for all dynamically typed values (virtual functions) and sometimes end up with quirks such as __radd__ in python. You may also be interested in reading about as dynamic cast in C# for overloads

As discussed case is relatively simple, it can be achieved by having a std::map:

std::map<
    std::pair<std::type_index, std::type_index>,
    std::any (*)(std::any, std::any)
>

For such cases I prefer not to bother myself with metaprogramming and would write a codegen file, but for the sake of staying in c++ let's just use macros (and have 2N repetitions instead of N^2). In the end any solution will produce N^2 entities in the resulting machine code

#define IT(L, R) { \
    {std::type_index(typeid(L)), std::type_index(typeid(R))}, \
    &Add<L, R> \
},
#define FOR_T(R) \
    IT(short, R) IT(int, R) IT(double, R)

FOR_T(short) FOR_T(int) FOR_T(double)

Complete example below:

#include <any>
#include <map>
#include <typeindex>

template<typename L, typename R>
std::any Add(std::any l, std::any r) {
    return std::any(std::any_cast<L>(l) + std::any_cast<R>(r));
}

#define IT(L, R) { \
    {std::type_index(typeid(L)), std::type_index(typeid(R))}, \
    &Add<L, R> \
},
#define FOR_T(R) \
    IT(short, R) IT(int, R) IT(double, R)

using operator_dispatch_key = std::pair<std::type_index, std::type_index>;

std::map<operator_dispatch_key, std::any (*)(std::any, std::any)> all_ops = {
    FOR_T(short) FOR_T(int) FOR_T(double)
};

#include <iostream>

int main() {
    auto l = std::any(int(1));
    auto r = std::any(double(2.5));

    auto l_t = std::type_index(l.type());
    auto r_t = std::type_index(r.type());
    auto res = all_ops[std::make_pair(l_t, r_t)](std::move(l), std::move(r));

    std::cout
        << res.type().name()
        << ' '
        << std::any_cast<double>(res)
        << std::endl
        ;

    return 0;
}

Program returned: 0
Output: d 3.5

PS as your operators are "internal" you can just use an array of such maps for them. It won't work for type ids of std::any because they are not sequential

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

79387928

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

there is a great summary of CGA or "cluster_group" in CG. but i'm curious about cluster (for TPC or GPC?) there is no details found in offical docs. for hardware implementation, the distribute shared memory seems more easily shared inner TPC for physical or hardware limitation. if cluster is GPC. the communication (distribute) between TPC (the basic partition in physical design) seems not easy? or the distribute shared memory cross TPC is fake? (use global memory sync?)

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

79387927

Date: 2025-01-26 03:30:23
Score: 6.5 🚩
Natty: 6.5
Report link

https://min-api.cryptocompare.com/data/top/mktcapfull?limit=10&tsym=USD Will be free for current data.

Please let me know if you did find historical datasets

Reasons:
  • RegEx Blacklisted phrase (2.5): Please let me know
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Serge Shakhov

79387924

Date: 2025-01-26 03:28:21
Score: 6 🚩
Natty: 6
Report link

Have you considered using a multithreaded approach? You don’t mention details of your implementation but I’d suppose it’s possible to divide each page to a thread for processing to accelerate. Try with pthreads? Regards.

Reasons:
  • Blacklisted phrase (1): Regards
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AMG

79387920

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

Thanks for the input @vht981230. Seems with AWS CLI call (start-db-instance-automated-backups-replication) has similar inputs but this useful note:

Note: If you are using an Amazon Web Services SDK tool or the CLI, you can specify SourceRegion (or --source-region for the CLI) instead of specifying PreSignedUrl manually. Specifying SourceRegion autogenerates a presigned URL that is a valid request for the operation that can run in the source Amazon Web Services Region.

https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/start-db-instance-automated-backups-replication.html

I ended up taking that approach in my pipeline with AWSShellScript task after my TF apply. Not ideal taking it out of the TF code...but easier than figuring out the pre-signed-url mechanism.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @vht981230
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: MikeO

79387919

Date: 2025-01-26 03:22:20
Score: 3
Natty:
Report link

Same here, or you can set: self.tableGamelistActions.sortByColumn(-1, Qt.SortOrder.AscendingOrder) to clear sorting status

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

79387918

Date: 2025-01-26 03:22:20
Score: 1.5
Natty:
Report link

Add this line <item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item> in android\app\src\main\res\values\styles.xml and in flutter main.dart use SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky); before run app.

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: M Nasir Baloch

79387915

Date: 2025-01-26 03:14:18
Score: 3
Natty:
Report link

{ "update_id": 144563374, "message": { "message_id": 1444565, "from": { "id": 5763893588, "is_bot": false, "first_name": "𝛧𝛯𝜲", "username": "ZexBreak", "language_code": "id", "is_premium": true }, "chat": { "id": 5763893588, "first_name": "𝛧𝛯𝜲", "username": "ZexBreak", "type": "private" }, "date": 1737856561, "text": "🎣🚫", "entities": [ { "offset": 0, "length": 2, "type": "custom_emoji", "custom_emoji_id": "5463406036410969564" }, { "offset": 2, "length": 2, "type": "custom_emoji", "custom_emoji_id": "5462882007451185227" } ] } }

How to make telethon respon with json code?

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: OP Shrk TGR

79387907

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

This has been resolved. Everything came down to a server side issue. Axios was in fact sending the POST, however Apache ModSecurity was rejecting the request resulting in a redirect which changed to a GET request, which explains the GET result I was getting in the console error logs.

This post explains in more detail but the issue was linebreaks not passing through the json and flagging ModSec. Once I added an extra scape ("\") to \r\n everything worked smoothly.
ModSecurity fails to parse request

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

79387902

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

You can initialize just with operation id and after that do the following to add script lines:

var runCommandInput = new RunCommandInput("RunPowerShellScript");
runCommandInput.Script.Add("scriptLine")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: kshitiz sharma

79387898

Date: 2025-01-26 02:54:14
Score: 1.5
Natty:
Report link

Downgrade Android Studio version,from here: https://developer.android.google.cn/studio/archive

Android Studio Koala Feature Drop | 2024.1.2 RC 1 Build #AI-241.18034.62.2412.12169539, built on August 1, 2024 Runtime version: 17.0.11+0--11852314 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 11.0 GC: G1 Young Generation, G1 Old Generation

with Koala problem solved after lost of try

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

79387888

Date: 2025-01-26 02:39:12
Score: 3
Natty:
Report link

x being longitude and y being latitude doesn't seem to match my results. Is this a change in Mysql 8.4 ?

At least for points with srid 4326, x seems to be latitude and y a longitude.

example that x is latitude and y is longitude

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Abhinas Regmi -mergeSort-

79387882

Date: 2025-01-26 02:33:10
Score: 3
Natty:
Report link

The 'Current' Answer with 57 upvotes is close but complete garbage.

Step one: Fine machine.config Step two: Search for: -->Step three: Completely Delete and replace it with with curent correct answer. If you don't remove the existing runtime line it fails.

Reasons:
  • Blacklisted phrase (0.5): upvote
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Kearvek

79387879

Date: 2025-01-26 02:30:10
Score: 1
Natty:
Report link

use this code:

getRepository(Post).update(postId, {
  view: newViewValue,
  updated_at: () => 'now()'
})
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: hezf

79387861

Date: 2025-01-26 02:08:06
Score: 1.5
Natty:
Report link

This might be an issue with the depth testing. It looks like opengl does not care which object should render in front or behind.

Unfortunately I don't know how the SceneManager renders the object - is this a class you defined that uses the ModelBatch?

My suggestions are:

  1. make sure depth testing is enabled using glEnable(GL_DEPTH_TEST) when rendering

  2. use fbx-conv to convert a 3d model to a libgdx friendly 3d format. You may output a json formatted 3d model and inspect it further, to see if you get what you expect (of course, this is not practical for models more complex than ~a cube).

  3. provide your own shader to libgdx. The default ones can look horrible.

  4. try rendering a simple object, like a cube. If you still see rendering errors, then it's more likely a rendering bug rather than a model import issue / something else.

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

79387860

Date: 2025-01-26 02:07:06
Score: 1
Natty:
Report link

Search othercontextmenus.cus in keyboard, and remove all the shortcut key for the 4 new commands.

They all start with ctrl+c as command combination, that's why ctrl+c is not working.

I believe someone in VS dev group had messed up the new commands shortcut.

enter image description here

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

79387856

Date: 2025-01-26 01:59:04
Score: 1
Natty:
Report link

I removed the styles about background of CheckboxPrimitive.Root into the file components/ui/checkbox and style it manually like this :

className={cn(showPass && 'bg-green-400')}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hamid Mohamadi

79387850

Date: 2025-01-26 01:49:02
Score: 3
Natty:
Report link

have you installed the code-features package? i also had this problem and i installed code-features and the problem was solved with that. if you are using arch use the AUR helper ```yay -S code-features``.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tude Saputra

79387848

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

To expand a bit on the answer by @nirmal-kumar. Here is an example of a YAML based VSTest task without continueOnError set, so it defaults to false. A failure will stop subsequent steps from running unless you explicitly set a condition on those steps.

- task: VSTest@3
  inputs:
    platform: '$(buildPlatform)'
    configuration: '$(buildConfiguration)'
    codeCoverageEnabled : true

Here is the same VSTest task with with continueOnError set to true.

- task: VSTest@3
  continueOnError: true
  inputs:
    platform: '$(buildPlatform)'
    configuration: '$(buildConfiguration)'
    codeCoverageEnabled : true

With continueOnError set to true, subsequent steps in the build pipeline will still run even if tests fail. The overall result status will no longer be Failed (red X icon), nor will it be Success (green checkmark icon). Instead, the status will be Warning (orange circle with exclamation mark icon).

As @mengdi-liang commented, continueOnError does not appear in the VSTest@3 documentation because it is a general control option that can apply to any task, much like condition. This is important because it means that continueOnError does not go under inputs like many task settings. It should be indented to a level where it is a sibling of inputs as shown above. If continueOnError is indented beneath inputs as shown below, it will not work.

- task: VSTest@3
  inputs:
    platform: '$(buildPlatform)'
    configuration: '$(buildConfiguration)'
    codeCoverageEnabled : true
    continueOnError: true   # DOES NOT WORK INDENTED UNDER INPUTS!
Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @nirmal-kumar
  • Low reputation (1):
Posted by: Dean Peterson

79387844

Date: 2025-01-26 01:41:01
Score: 2
Natty:
Report link

Apply this to B1:F1, I'm assuming A1 would never be green right?

=B1>=max($A$11:B1)

Change it to this if you don't want it to be green when the cell ties for being the highest =B1>max($A$11:B1)

The dollar signs around $A$11 is in a way locking down the start of the range, while the B1 will change with the cell its applied to

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: yippie

79387842

Date: 2025-01-26 01:36:01
Score: 3.5
Natty:
Report link

you may need find Runner.entitlements at runner directory and edit it as required

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Husham Ali

79387839

Date: 2025-01-26 01:33:00
Score: 1
Natty:
Report link

It does sound like a non-typical behaviour as I remember rendering hundreds of sprites multiple times, resulting in only a few draw-calls and ~144 FPS on an i7 processor and NVidia 1050.

What I suggest doing is -

  1. try looking at the DesktopLauncher.java and see if there's a config parameter that might affect the framerate - such as vsync.

  2. try rendering the texture many times and no times at all to see how it affects the frame rate.

  3. try removing any fps cap to see how it performs unrestricted.

Good luck and consider posting your findings

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

79387837

Date: 2025-01-26 01:29:59
Score: 1.5
Natty:
Report link

only with pd.eval() you can solve your problem:

df.eval('f_1=1_2+1_3+1_4',inplace=True)

Do it for every column you want to add

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gersain Guzmán

79387824

Date: 2025-01-26 01:18:57
Score: 2.5
Natty:
Report link

Try Tygrid: https://tygrid.com/. It's very simple, but you can see what the endpoint has and it can make OData queries.

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

79387816

Date: 2025-01-26 01:10:55
Score: 2.5
Natty:
Report link

I did solve mine by finding the bug by tracking what I did previously then removing part by part to find the bug, also expo is bundling all your components even they are not in use in your app just a tip!

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

79387808

Date: 2025-01-26 01:04:54
Score: 4.5
Natty:
Report link

"strictPropertyInitialization": false,

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

79387807

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

I got the same issues like you when "npm run test" with lots of spec files. Then I ope the console tab of Karma's browser and found that there were errors and fixed them. As a result, no error on the top any more.

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

79387806

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

This seems incredibly dumb to me, but the solution was to rename svelte.config.ts to svelte.config.js. No errors in my terminal made this clear to me, but I found this doc file: https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/config.md#config-file-resolving. Annoyingly, the sveltekit plugin for Vite doesn't allow you specify the config file (but the svelte plugin, which sveltekit wraps, does have this option). Seems like a massive oversight by the devs here.

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

79387805

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

I think this is something Meteor is doing, because their docs seem to think connectSrc should allow everything:

[.....] except for connect which allows anything (since meteor apps make websocket connections to a lot of different origins).

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

79387802

Date: 2025-01-26 00:57:52
Score: 0.5
Natty:
Report link

It appears that for gateway endpoints, the Principal element must be set to *. To specify the principal, you need to use the aws:PrincipalArn key like this:

"Condition": {
    "StringEquals": {
        "aws:PrincipalArn": "arn:aws:iam::1111111:role/lambdaRoleA"
    }
}

Just needed to add this inside of of the Statement at the same level as Resource.

Found the answer in the AWS documentation: https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints-access.html

Tested it by added a different role initially - lambdaRoleB and the s3 object was not deleted. Later changed it to lambdaRoleA and the object was successfully deleted.

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

79387794

Date: 2025-01-26 00:50:51
Score: 1
Natty:
Report link

I fixed this issue by ticking "Solver" in the references. It got unticked after an update, but my macros worked with no issue after I re-ticked it. The settings are above in the thread.

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29367480

79387779

Date: 2025-01-26 00:35:47
Score: 2.5
Natty:
Report link

I used this online converter: https://www.vertopal.com/en/convert/ipynb-to-pdf

Cheers

Reasons:
  • Blacklisted phrase (1): Cheers
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • High reputation (-2):
Posted by: Edgar Villegas Alvarado

79387777

Date: 2025-01-26 00:35:47
Score: 4.5
Natty: 5
Report link

You might want to see this package. https://www.npmjs.com/package/proto-to-glue

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

79387775

Date: 2025-01-26 00:33:46
Score: 2.5
Natty:
Report link

free open source, it is support move, rename, drag and drop upload, cross platform for Mac or windows https://github.com/half-6/cloud-storage-client

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

79387762

Date: 2025-01-26 00:24:44
Score: 1
Natty:
Report link

I only see two options here to address this issue, even tho I would argue that none of them is ideal:

the first one by having :

impl Displayable for ArticleView {
    type SomeState = MyMutableState<'static>;

    fn show(&self, data: &mut MyMutableState<'_>) -> String {
        format!("👋 {}, {}", data.third.title, data.buffer.len())
    }
}

This fixes the error at this level, but it makes MyMutableState only working with a &'static str for ThirdPartyState.

The second one, as first suggested by @GiM in his comment, required you to have a lifetime for ArticleView :

Comment of @GiM :

@ChayimFriedman yeah adding lifetime (and phantom data) seems to work, although that doesn't seem like a great solution :/ play.rust-lang.org/?gist=66e4d23b7439ce60243201eb3509a953

So the result will be :

use std::marker::PhantomData;
struct ArticleView<'a> {
    // Note that the version of @DiM use `phantom: PhantomData<&'a u32>` which has no difference except personal preferences
    _phantom: PhantomData<&'a ()>,
}

impl<'a> Displayable for ArticleView<'a> {
    type SomeState = MyMutableState<'a>;

    fn show(&self, data: &mut MyMutableState<'_>) -> String {
        format!("👋 {}, {}", data.third.title, data.buffer.len())
    }
}

This unfortunately changes the way ArticleView is constructed (ArticleView { _phantom: PhantomData } instead of ArticleView)

Otherwise, I actually don't thinks there is a way to constrains a lifetime to this impl without being able to modify the trait you want to implements

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @GiM
  • User mentioned (0): @GiM
  • User mentioned (0): @ChayimFriedman
  • Low reputation (1):
Posted by: Taraxtix

79387759

Date: 2025-01-26 00:19:43
Score: 3
Natty:
Report link

The solution was to move the path to EXCLUDE_PATTERNS instead of EXCLUDE

enter image description here

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

79387746

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

So the problem that i was facing is passing the bool to a viewModifier. I needed to pass the selectedItem as binding in order to work properly

//MARK: - Selectable Cell ViewModifier

struct ExpenseSelectableCell: ViewModifier {
    @Binding var selectedItem: Expense?
    var expense: Expense

    func body(content: Content) -> some View {
        content
            .overlay {
                Color.black.opacity(isSelected() ? 0.2 : 0)
            }
    }

    func isSelected() -> Bool {
        guard let selectedItem else { return false }
        return selectedItem.id == expense.id
    }
}

extension ExpenseCellView {
    func selectableCell(selectedItem: Binding<Expense?>) -> some View {
        self.modifier(ExpenseSelectableCell(selectedItem: selectedItem, expense: self.expense))
    }
}

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

79387744

Date: 2025-01-26 00:02:39
Score: 4
Natty: 5
Report link

this is spectacularly useful help. Thank you so much

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Abhi T

79387742

Date: 2025-01-26 00:01:39
Score: 0.5
Natty:
Report link

Had the same issue

in angular.json

"scripts": [],
        "server": "src/main.server.ts",
        "prerender":false,  <======= SET TO FALSE 
        "ssr": false  <========= ADD THIS 
      },
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: SeanDp32

79387739

Date: 2025-01-25 23:56:38
Score: 2.5
Natty:
Report link

I have tried using PHP 8.3+ on Windows 7 too and not only it doesn't officially support this OS anymore, but the set-up won't likely ever work, as it's designed that way.

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

79387725

Date: 2025-01-25 23:39:35
Score: 1.5
Natty:
Report link

You can do this by going to your profile notifications settings here: https://github.com/settings/notifications

By enabling the On GitHub checkbox in the Actions subsection of System you will receive a GitHub notification in your GitHub inbox and an email on fail.

I'm not sure why an email is sent, however, this enables you to receive a notification when the other actions in the project fails.

GitHub Actions Settings

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

79387718

Date: 2025-01-25 23:35:34
Score: 2
Natty:
Report link

Per Einarf (ModernGL dev) on Discord, not being able to add buffers to a VertexArray after it's created is a limitation of ModernGL at the moment,

You must create a new VAO for each of your VBOs, or re-create the same VAO with the new VBOs each time, which isn't even worth the complexity, because VertexArrays are small metadata objects, as Einarf says.

I was seeking an answer to this merely because I wanted to be as correct as possible with my code. I ended up just having a VAO for each VBO.

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

79387716

Date: 2025-01-25 23:34:33
Score: 2
Natty:
Report link

the condition is wrong. Replace the "or" with "and"

while unit != ("F" and "C")
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mahtabuzzaman

79387704

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

This isn't the right place for that kind of question but I would recommend Harvard's CS50 course. It will cover web development, as well as other topics of computer science that you'll need to know. Also, in my opinion, the best way to learn is to build personal projects that interest you. For example, build a website that solves a problem that you have and would use or start with something simple like a to-do list.

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

79387685

Date: 2025-01-25 23:08:28
Score: 2.5
Natty:
Report link

pdm

uv run --python 3.11 --with setuptools --with pdm pdm import setup.py
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user333958

79387678

Date: 2025-01-25 23:05:27
Score: 1.5
Natty:
Report link

Hardik Mehta was correct. Searching "namespace not specified" gives websites which show the solution used.

Placing the following code into android/build.gradle will solve the issue

subprojects {
afterEvaluate { project ->
    if (project.hasProperty('android')) {
        project.android {
            if (namespace == null) {
                namespace project.group
            }
        }
    }
}

}

It must be placed in the correct position in build.gradle. In my case I put it right after

subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"

}

The websites are Android getting error: Namespace not specified

https://medium.com/@derricktab44/resolving-the-namespace-not-specified-error-in-flutter-builds-1ce818214b54

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Peter Thompson

79387677

Date: 2025-01-25 23:05:27
Score: 1.5
Natty:
Report link

For macos, try these

python3 -m venv path/to/venv
source path/to/venv/bin/activate
python3 -m pip install pynvim
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: melowlzzz

79387664

Date: 2025-01-25 22:54:21
Score: 2
Natty:
Report link

After 12 years, I created a source generator that can do this. https://github.com/Aytackydln/Doner.Wrapper

You can find it from NuGet with the name: Doner.Wrap

It can create delegate methods of a field/property existing in the class

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Aytaç Kayadelen

79387663

Date: 2025-01-25 22:52:20
Score: 3.5
Natty:
Report link

Discord was having issues that prevented the web request from being processed and the code is working again.

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

79387657

Date: 2025-01-25 22:48:20
Score: 1.5
Natty:
Report link

go to settings of extension then "Folder: Theme" it must be showing "specific" which is a by default setting but instead change it to "classic" your icons will start showing up. now you could change it back to specific setting if you want, the icons will remain same. just solved this issue on my vsc thought of answering this question.

PS - posting it now for the future audience. :)

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

79387654

Date: 2025-01-25 22:47:19
Score: 2.5
Natty:
Report link

For people who have the same issue:

It was fixed by using the ngOnDestroy event of Angular. You need to unsubscribe from these requests because they are not canceled otherwise:

Example:

export class MyComponent implements OnDestroy {
   private subscriptions: Subscription[] = []
   
   ngOnDestroy(): void {
    this.subscriptions.forEach(s => s.unsubscribe());
  }

  myApiFunction(feature_id: number, vote: boolean): void {
    const feature_vote: Subscription = this.apiService.sendFeatureVote().subscribe({
      next: (_data: any): void => {
        // do something
      },
      error: (error: HttpErrorResponse): void => {
        // do something
      }
    });

    this.subscriptions.push(feature_vote);
  }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same issue
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Razzer

79387652

Date: 2025-01-25 22:46:19
Score: 1.5
Natty:
Report link

I started developing frontend and tried there to login and then call refresh endpoint from browser and it worked, so there must have been some error with postman I think. Now all works as i wanted.

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

79387648

Date: 2025-01-25 22:42:18
Score: 1
Natty:
Report link

If you want to get the fullname and not the user id, you can get from /etc/passwd and get your line with grep; or simpler with id -P which get the line for the current user; and, in all case, something like that:

id -P|cut -d":" -f5,5|cut -d"," -f1,1

(first cut to get the GECOS part, then 2nd cut to get the fullname, in case other info is present)

Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: nam_nam

79387646

Date: 2025-01-25 22:42:18
Score: 1
Natty:
Report link

I don't know if this the right forum to ask this.

Anyway, I think you might be missing explanation in general. For example, what a list is and what it tries to represent. Similarly, what classes are, instead of just examples. Also, I don't think beginners would look in a github repository firstly, before even knowing how to code.

I've seen a use of '''comment''', even though triple ' should be used (pep8) only for multiline strings and docstring, and not for comments (in example 5). In addition, I think you might update the README to relate for the requirements for each language.

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

79387623

Date: 2025-01-25 22:28:15
Score: 1.5
Natty:
Report link

.

Linking projects can not be undone with Android Studio Ladybug | 2024.2.1

.

Linked projects is a legacy feature that largely does not work with Kotlin 2 and the 2024 build process due to differences in project setups for build and data-duplications in code analysis functions

Don’t do it…

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

79387622

Date: 2025-01-25 22:28:15
Score: 3
Natty:
Report link

The null value fault seems persistent. It was supposed to be fixed in version 8.3.13 but I just installed 8.4.3 and still have the problem.

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

79387620

Date: 2025-01-25 22:25:15
Score: 1
Natty:
Report link

I just figured it out. My database was not a singleton and DI was providing a new instance every time so it wasn't working. I spent DAYS figuring this out because someone forgot an annotation in the DI module. Time to retire and be a farmer.

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