79392537

Date: 2025-01-28 01:01:33
Score: 2.5
Natty:
Report link

So found out the cause, I had the authorize middleware there, (config/nova.php file). It was copied from a old nova version configuration I had in other project and caused this issue. Just removing it solved.

image

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

79392535

Date: 2025-01-28 00:58:32
Score: 2
Natty:
Report link

Working on sliders and ranges these days, only javascript & css for now, no input range involved.

https://nicopowa.github.io/slider/

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

79392523

Date: 2025-01-28 00:50:31
Score: 1.5
Natty:
Report link

mmmdmdvdscs ssmsmsmsmssnss sgssmsmmms sg jsmsms ss sjsmsmsjs ss shs shs ssmsmss smss shs ssgs gs sssmsmsmss ss sg ssmsmss ss sgsbsvsssmsms sns ss msmsmsss ss shs sscscs scsjsmsmssgs sf mmmmsssss sh scsmmmmmsbvdcdfddmmsmsms sfs sfs ss ssss ss ss smmmms sbsvss s ss sgsmmmmssbs ssssscsdsd ss snmmmms ss ss sgs sgs s} xfscsfsvsfssmsmsmsssfsfssvss ss sgs s2143mmmmmsds ssksm scs sfsssjsmsmsmsmskkssk ssfs shs svss ss sfssmsmsmsjs ss ss sfsjsmskksksmssss s sgs 2332smsmsmsms sssdsjsmsmsnsgs sds sfssmsms sfs ss s sfssmsmsmsmsms sfs sgs ssscscscsmmmmmsbssgs ssvsffsnssmsms mmnsmsmsnh shs ss sfs sgs sfs sgs smsmmsssmcscsfssfs sssgsnsmsvsfsnmmmms sfssfsmsmsms ss sggs s ssmsmsmsmsms shs szdzcs sssnsjsmsssvsscss sssm

  1. List item

  2. List item

ssmsmsms sgs ssmms sfsbssmmms ss ss sfs

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: md fcssnsnms ss sfsjsmsv s f6

79392519

Date: 2025-01-28 00:47:31
Score: 0.5
Natty:
Report link

For me using legacy Play Console Certificate key's SHA1 solved problem.

https://github.com/invertase/react-native-firebase/discussions/7293

If you are developing in one flavor (only production), you have to create Android Client or add SHA1 two in the GCP Projects.

Same package name must be set in Android app and GCP Android Client. And Don't use same package name in other project or even in other project's iOS Client.

This is my blog: https://qiita.com/maztak/items/3a57aff20a2cfe50adfc

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

79392515

Date: 2025-01-28 00:44:30
Score: 2
Natty:
Report link

I am running into the exact same issue using Zscaler. 3.12.x was fine, 3.13.1 is broken. This can't be intended behavior, like what the **** is going on??? I don't get to choose the fact I have to pass the SSL certificate in order to connect to ANY https secured server (which is like... all of them), and I certainly don't have the authority to ask my large corporation to change the Basic Constraints of the root certificate to be strict. This is the error message I receive with a valid root certificate for Zscaler as of 3.13 (doesn't happen on 3.12):

httpcore.ConnectError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Basic Constraints of CA cert not marked critical (_ssl.c:1018)

This needs a fix ASAP. Whoever broke this so horrendously needs to explain themselves, because it can't be easily circumvented at all. Horrible bug, I literally cannot use 3.13.x at all on my company machine to do part of my job.

Reasons:
  • Blacklisted phrase (1): ???
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Nicholas Stommel

79392506

Date: 2025-01-28 00:37:29
Score: 2
Natty:
Report link

I got this issue within React Native project when cloned main target, created "abstract_target" in Podfile, and forgot to run

pod install

after :)

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

79392481

Date: 2025-01-28 00:11:24
Score: 1.5
Natty:
Report link

Zoom SDK Developer here, we have an official React Native Meeting SDK and Video SDK. We recommend using these since they are fully supported and are updated with the latest improvements, new features, bug fixes, etc.

You can get started here:

https://developers.zoom.us/docs/video-sdk/react-native/

https://developers.zoom.us/docs/meeting-sdk/react-native/

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

79392472

Date: 2025-01-28 00:02:22
Score: 1.5
Natty:
Report link

You may want to check out this open source API for building meeting bots: https://github.com/noah-duncan/attendee

If you look at the source code Attendee is using a combination of Selenium + WebRTC interception to interact with Google Meet. Since Google Meet has no API for ingesting the real time audio and video streams, the major companies like Otter.ai and Gong are likely doing something similar.

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

79392471

Date: 2025-01-28 00:02:22
Score: 1.5
Natty:
Report link

Mr. Google should have given you the links.

Here is a link for AMQ messages: https://www.ibm.com/docs/en/ibm-mq/latest?topic=codes-amq-messages-multiplatforms

Here is a link with both messages and reason codes: https://www.ibm.com/docs/en/ibm-mq/latest?topic=reference-messages-reason-codes

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

79392469

Date: 2025-01-28 00:00:22
Score: 0.5
Natty:
Report link

If I understood properly, you wanna compress one Byte of data. i.e. 8 bits.

No, if you can represent 8 bits into lesser bits let's say 7 bits, then atleast half of the 256 bit strings will map to some compressed bit pattern that already been mapped from some other 8 bits pattern. Thats pigeonhole principle.

The pigeonhole principle is a mathematical concept that states that if there are more items than containers, then at least one container will have more than one item.

Lets assume 8 bits can be represented into lesser bits, then that lesser bits can further be compressed to much lesser bits using the same technique, till left with 0 or 1. So, TeraBytes and GigaBytes of data could have stored in a single bit. AND IT HAPPENS. Thats called Hash like SHA256, MD5, SHA1 etc. can represent any data into fixed length hash e.g. SHA256 generates 256bits hash of any size of data.

But the hard part is when decompressing the data. from 1 bit it is almost impossible to generate 8 bits or GigaBytes of data.

So, YES YOU CAN compress but can't decompress.

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

79392459

Date: 2025-01-27 23:55:21
Score: 0.5
Natty:
Report link

class Solution: def merge(self, nums1: List[int], m: int, nums2: List[int], n: int) -> None: nums1[:] = nums1[:m] for i in range(n): nums1.append(nums2[i]) nums1.sort()

Reasons:
  • Whitelisted phrase (-2): Solution:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: MADHUPRIYA T AI-DS

79392444

Date: 2025-01-27 23:44:19
Score: 0.5
Natty:
Report link

Generally these concerns matter in a UI. This automatically means that the amount fetched is going to be very limited.

It might still pose a challenge if you want to support paging or virtual scrolling. But I generally believe in better filtering rather than better sorting.

Sorting is more meant for ranking. Now enums might still offer ranking values. However, these rankings are most likely not alphabetical. For example, bad=0, good=1, best=2, is hardly meaningful to sort on alphabetically. While it would make more sense to be sorted on based on the numerical value.

If the number of rows are small then the client can still easily sort the OData result based on the translated values.

In other words, filtering is better than sorting. Sorting on enums is generally not very meaningful. Unless enums are used for ranking, which means alphabetical sorting wouldn't make much sense. In the off case you do need sorting on enums, you can better do this client side.

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

79392443

Date: 2025-01-27 23:43:18
Score: 2
Natty:
Report link

either execute $Env:_CE_M = $null; $Env:_CE_CONDA = $null on your powershell, or have these two lines in profile file fixed my problem.

echo $profile tells you where the file is stored.

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

79392439

Date: 2025-01-27 23:41:18
Score: 1.5
Natty:
Report link

I dont really see an answer for this except for just reducing the spreadsheets and dividing them so when you request for example spreadsheet 1(one that is too big) it is actually stored in an amount that can be handled so the program requests a part of spreadsheet 1 then the small piece can have like a tag or an ID that shows the other spreadsheets then you can have it merge them together so it does the same thing im not sure about this but this is what would i try first

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

79392421

Date: 2025-01-27 23:30:15
Score: 2
Natty:
Report link

Hostgator makes everything difficult. I had a lot of issues with a client. They told me to use phpmailer and added the client to the whitelist. It worked. Now I have another client and my file contact.php was not loading and returning 409. I changed all the id names with the word contact to form and the contact.php to mensagem.php and the file loaded. But not working yet. Maybe adding to whitelist once again. Tell you later.

Reasons:
  • Blacklisted phrase (1): But not working
  • Whitelisted phrase (-1): It worked
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Fabiane Almeida

79392416

Date: 2025-01-27 23:28:15
Score: 0.5
Natty:
Report link

Ah yes, the age old problem of "Update your stuff"

We were using the defacto-gcc but Qt needs the 10 toolset. Once we did that, WSL had problems with all these bytes but we're passed the issue in this thread.

RUN dnf install gcc-toolset-10 -y
ENV CXX=/opt/rh/gcc-toolset-10/root/bin/g++
ENV CC=/opt/rh/gcc-toolset-10/root/bin/gcc

WORKDIR /build/python-pyside/pyside-setup
python setup.py ... # Same as above
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: mccatnm

79392415

Date: 2025-01-27 23:27:15
Score: 2.5
Natty:
Report link

My account issues has been resolved by a specialist ethical hacker called Xiaospyplatform@ gmail They will provide legitimate recovery to you.

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

79392414

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

You can construct a new (flattened) dtype for the array and reinterpret the data based on the new type.

def flatten_dtype(dtype: np.dtype, join_char = '_'):
    if not dtype.fields:
        # Not a structured type
        return dtype
    fields = {
        'names': [],
        'formats': [],
        'offsets': [],
        'itemsize': dtype.itemsize
    }
    for field_name, (field_dtype, field_offset) in dtype.fields.items():
        flattened_dtype = flatten_dtype(field_dtype)
        if not flattened_dtype.fields:
            # Field is not a structured type, just add it as is
            fields['names'].append(field_name)
            fields['formats'].append(field_dtype)
            fields['offsets'].append(field_offset)
            continue
        for flattened_field_name, (flattened_field_dtype, flattened_field_offset) in flattened_dtype.fields.items():
            # Field is a structured type, so break it down into its subtypes
            fields['names'].append(f'{field_name}{join_char}{flattened_field_name}')
            fields['formats'].append(flattened_field_dtype)
            fields['offsets'].append(field_offset + flattened_field_offset)
    
    return np.dtype(fields)

In the given example, this could be used as follows:

import pandas as pd

# print(example)
# print(example.dtype)

flattened_example = example.view(flatten_dtype(example.dtype))
# print(flattened_example)
# print(flattened_example.dtype)

df = pd.DataFrame(flattened_example)

print(df)

which gives output as desired:

   state  variability  target  measured_mean  measured_low  measured_hi  var_mid  var_low  var_hi
0    4.0          0.0    0.51           0.52          0.41         0.68      0.6      0.2     0.2
1    5.0          0.0    0.89           0.80          0.71         1.12      0.6      0.2     0.2
2    4.0         -1.0    0.59           0.62          0.46         0.78      0.6      0.2     0.2
3    5.0         -1.0    0.94           1.10          0.77         1.19      0.6      0.2     0.2

This solution has the advantage of only operating on the type of the array, rather than its contents. This will likely be more efficient for large arrays than any solution that treats columns individually.

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

79392411

Date: 2025-01-27 23:26:15
Score: 2.5
Natty:
Report link

100000 might make things slow somewhere in the fetching process, Tableau also might not be able to handle them depending on how the Tableau Server is setup and how many instances of certain services are running..

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

79392408

Date: 2025-01-27 23:23:13
Score: 9.5
Natty: 8
Report link

what was the solve for the issue? I have the same problem with the verification.

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (1.5): solve for the issue?
  • 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): what was the solve for the is
  • Low reputation (1):
Posted by: Carlos Alfredo Tejeda Araujo

79392403

Date: 2025-01-27 23:21:13
Score: 2.5
Natty:
Report link

I made a similar project to you and was able to repro. I looked at the error and it seemed it was a 404 trying to get the <project_name>.styles.css. I am assuming you are getting the same issue. I did a quick google and found this GitHub Issue (it's for .NET 5 but it seems to apply to all them):

Static web assets are only enabled by default in the Development environment. If you are using a custom environment you need to call webhost.UseStaticWebAssets() to enable them explicitly.

The documentation to explicitly on how to do this can be found in the Microsoft Documentation

When running the consuming app from build output (dotnet run), static web assets are enabled by default in the Development environment. To support assets in other environments when running from build output, call UseStaticWebAssets on the host builder in Program.cs:

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): getting the same issue
  • Low reputation (1):
Posted by: jwenzel

79392384

Date: 2025-01-27 23:05:10
Score: 0.5
Natty:
Report link

So me not being able to SSH to my own server using the public IP address was indeed a NAT loopback/hairpin issue. All the online resources to test SSH servers would show that my server is accessible, and I managed to complete the challenge by changing the default shell of OpenSSH to Bash.

"New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Program Files\Git\bin\bash.exe"

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

79392383

Date: 2025-01-27 23:05:10
Score: 0.5
Natty:
Report link

As i understood the short casting comes from the HSSFWorkbook implementation. So what one needs for more rows is a bigger number then a short (i.e. int) AND XSSFWorkbook.

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

79392381

Date: 2025-01-27 23:02:09
Score: 0.5
Natty:
Report link

I wonder, is this more performant?

from collections import Counter
c = Counter(arr)
if any(x > 1 for x in c.values): return 'duplicate found'
myset = set(c.keys()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: KamilCuk

79392377

Date: 2025-01-27 23:00:08
Score: 1
Natty:
Report link

If you have password write back enabled with Azure AD Connect. The password change will be synced from either Active Directory or from Office 365. You have the option to use password reset from either Office 365 or Active Directory. Forced password reset is not synced. The tradeoff is that if you use Active Directory with forced password reset only a domain joined computer will be able to do the password reset. If you use Office 365 admin center to flag the forced password reset the user will only be asked to do the reset after logging into Office 365 via the browser and not after logging into the computer. If you only have intune joined devices and used Active Directory password reset they won't be able to login. If you have both Intune joined devices and Domain joined devices password resets from Active Directory will only work and be possible on domain joined devices. That leaves the best option when you have mostly intune joined devices is to only use the password reset from Office 365 admin center.

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

79392363

Date: 2025-01-27 22:53:07
Score: 1
Natty:
Report link

Logging is not compatible with gevent. Disable it via

litellm.disable_streaming_logging = True
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Miguel Salinas

79392349

Date: 2025-01-27 22:47:04
Score: 1
Natty:
Report link

No, and it has been rejected.

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: no comment

79392338

Date: 2025-01-27 22:42:03
Score: 2
Natty:
Report link

Based on following sources and reading several recommendations, I think this would be a good method to generate unguessable nonces.

`base64_encode(random_int(0,16).random_bytes(16));`

https://www.php.net/manual/en/function.uniqid.php

https://www.php.net/manual/en/function.random-int.php

https://www.php.net/manual/en/function.random-bytes.php

https://www.php.net/manual/en/function.bin2hex.php

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

79392337

Date: 2025-01-27 22:41:03
Score: 0.5
Natty:
Report link

i received a responsehttps://github.com/orgs/honojs/discussions/3504#discussioncomment-10926286 from maou-shonen here which solved this issue.

import { Hono } from "hono"
import { validator } from "hono/validator"
import { z } from "zod"

// This function was generated by ChatGPT. Please modify it as needed.
function parseQuery(query: Record<string, string | string[]>) {
  const result = {}

  for (const [key, value] of Object.entries(query)) {
    const keys = key.split(/[\[\]]+/).filter(Boolean)
    let current = result

    keys.forEach((nestedKey, index) => {
      if (index === keys.length - 1) {
        current[nestedKey] = Array.isArray(value) ? value[0] : value
      } else {
        current[nestedKey] = current[nestedKey] || {}
        current = current[nestedKey]
      }
    })
  }

  return result
}

const app = new Hono().get(
  "/",
  validator("query", (value) => {
    const schema = z.object({
      cursor: z.object({
        pk: z.string().optional(),
        sk: z.string().optional(),
      }),
      limit: z.string().optional(),
    })

    return schema.parse(parseQuery(value))
  }),
  async (c) => {
    const q = c.req.valid("query")
    return c.json(q)
  },
)

const cursor =
  "cursor[pk]=PAGE&cursor[sk]=PAGE#1728586654826-c2c67760-d28c-4abe-99f8-2286da2fc5b5"
const response = await app.request(`http://localhost:3000/?${cursor}&limit=1`)
const data = await response.json()

// data =
// {
//   cursor: {
//     pk: "PAGE",
//     sk: "PAGE#1728586654826-c2c67760-d28c-4abe-99f8-2286da2fc5b5",
//   },
//   limit: "1",
// }
Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: ALFmachine

79392335

Date: 2025-01-27 22:40:03
Score: 2.5
Natty:
Report link

For gcov, --relative-only will remove files(like compiler files for examples) from results.

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

79392328

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

In my only Kotlin file MainActivity.kt the line

package com.example.positionapp

at the start was missing.

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

79392320

Date: 2025-01-27 22:30:00
Score: 0.5
Natty:
Report link

Thanks to efeakaroz13's hint I adjusted my code to the following working solution.

Javascript:

function updateSourceState(sourceTypeId, sourceId, dataForUpdate) {
    $.ajax({
            url: '/update',
            data: {source_type_id: sourceTypeId, source_id: sourceId, data_for_update: JSON.stringify(dataForUpdate)},
            method: 'PUT',
            success: function (data) {
                console.log('Data updated successfully');
            },
            error: function(data) {
                console.log('Data update failed. Response: ' + data);
            }
        }).done(function() {
            console.log('DONE: data updated successfully');
        }).fail(function(msg) {
            console.log('FAIL: data update failed: ' + msg);
        }).always(function(msg) {
            console.log('ALWAYS message: ' + dataForUpdate + ', url: ' + url);
        });
}

Python/Flask "PUT" route:

@bp.route('/update', methods=["GET", "PUT"])
def update_source_state():
    source_id = request.form.get('source_id')
    source_type = request.form.get('source_type_id')
    dataForUpdate = request.form.get('data_for_update')

    # build endpoint url (could be done in route annotation too...)
    url = '{0}/{1}/source/{2}'.format(ARCHIVE_CONFIG_BASE_URL, source_type, source_id)

    response = requests.put( url=url
                            , data=dataForUpdate
                            , headers={'Content-Type': 'application/json', 'accept': 'application/json'}
                            )

        ...

Note that dataForUpdate is a JSON object. The code did not work before I stringified it.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): did not work
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: WolfiG

79392313

Date: 2025-01-27 22:24:59
Score: 2
Natty:
Report link

What else is running on your tableau server ? Does the Tableau server have enough resources like available RAM and cpu, are they the same or more as your local device ? are there other jobs running on Tableau server when you are pulling the data ? How many instances of backgrounder and other services are on your tableau server ?

It could be due to a lot of things. If it is an extract, the data should already be there on tableau server if you have an extract refresh schedule setup, shouldn't take long as it doesn't need to fetch the data. If the extract is old, maybe it's fetching new records and saving them on the Tableau server and that's could be while it's taking longer. Try setting up an extract refresh schedule and see if it helps.

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

79392312

Date: 2025-01-27 22:23:58
Score: 2
Natty:
Report link

In the exercise you need to add to the compile.

compile = ["swiftc", "-o", "main", "main.swift", "game.swift"]

here is a screengrab of what it should look like when you have edited the .replit compile function

enter image description here

Really confusing exercise....

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mark slater

79392307

Date: 2025-01-27 22:21:57
Score: 1
Natty:
Report link

As per Hans' comment above, I was able to update the script with the appropriate flags.

/mergetasks=!runcode,addcontextmenufiles,addcontextmenufolders,associatewithfiles,addtopath

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Nick Bull

79392306

Date: 2025-01-27 22:21:57
Score: 3.5
Natty:
Report link

This is an known problem with spark and databrick jdbc jar, and databrick has a workaround: https://kb.databricks.com/python/column-value-errors-when-connecting-from-apache-spark-to-databricks-using-spark-jdbc

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

79392304

Date: 2025-01-27 22:19:56
Score: 9.5 🚩
Natty: 5.5
Report link

Did you found a solution for this?

Reasons:
  • RegEx Blacklisted phrase (3): Did you found a solution
  • 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: ACA

79392296

Date: 2025-01-27 22:15:55
Score: 2.5
Natty:
Report link

@Robert Hijmans' answer fully addresses my question about using sf_use_s2() while cropping data. I'm adding an additional answer because I discovered that the whole problem can be avoided when using rnaturalearth with terra by importing the map object as a SpatVector rather than as an sf, and cropping using terra.

world <- ne_countries(scale = "small", returnclass = "sv")

europe <- terra::crop(world, ext(-20, 45, 30, 73))

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Robert
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Jaken

79392288

Date: 2025-01-27 22:11:54
Score: 3
Natty:
Report link

How about make overflow-y: auto, but hide the scrollbar?

.scroller
{
    overflow-y: auto;
    scrollbar-width: none;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): How
Posted by: Aace

79392284

Date: 2025-01-27 22:10:54
Score: 2.5
Natty:
Report link

I got this error once and then never again. I'm pretty sure I entered the right password as well, because incorrect passwords usually will block you from leaving the login screen.

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

79392278

Date: 2025-01-27 22:08:53
Score: 1
Natty:
Report link

Ok I found my answer after digging through some old issues in GRPC-Gateway Github. This issue called out a similar situation to mine. Once it was added it pointed to the correct spot in the documentation: https://github.com/grpc-ecosystem/grpc-gateway/issues/707

https://cloud.google.com/service-infrastructure/docs/service-management/reference/rpc/google.api#httprule

Under special notes https://cloud.google.com/service-infrastructure/docs/service-management/reference/rpc/google.api#special-notes I found the field for responseBody

In my RPC definition, I was able to add a responseBody field which pulls out my array to the top level JSON:

option (google.api.http) = {
      get: "/test/v1/test"
      response_body: "example"
    };

This then left me with the JSON I needed.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Kyle

79392274

Date: 2025-01-27 22:06:53
Score: 0.5
Natty:
Report link

SVG is a XHTML JS method so best used here in a Browser. Then that can be converted into PDF using A Quality "Top of Range Convert 2 PDF utility like PDFium as developed by Foxit and used in Chromium's (including Headless shell).

enter image description here

enter image description here

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

79392273

Date: 2025-01-27 22:06:53
Score: 3.5
Natty:
Report link

I got a notification on my mail concerning suspicious attempt on my account, immediately i tried logging my account and i realized that the details has been changed, at that moment i was in deep pain cause i got lot of memories in there.... every blessed day i have to do a research for a specialist recovery assistance that will help me in recovering it back hopefully i found "Xiaospyplatform@ gmail with their WhatsApp +44 7950 630372". when i wrote them they responded after some couple of minutes and assisted me massively the way i couldn't believe. I'm so thankful for their legitimate recovery they rendered to me.

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): i have to do
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Lincoln J

79392265

Date: 2025-01-27 22:02:51
Score: 7.5 🚩
Natty: 6
Report link

Where can i fix it? Im new and i dont know where to change it

Reasons:
  • RegEx Blacklisted phrase (1.5): fix it?
  • RegEx Blacklisted phrase (1.5): Im new
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Where can i fix it
  • Low reputation (1):
Posted by: Alejandra Álvarez

79392264

Date: 2025-01-27 22:00:50
Score: 2
Natty:
Report link

Any help will be greatly appreciated.

I am able to reproduce your actual simulation result for final_result on different simulators. That means the discrepancy is not due to the Vivado simulator.

You can verify this yourself by running your code on other free simulators on EDA Playground. You will see that the simulators are just doing what you told them to do with your Verilog code.

You need to review the algorithm you used in your code (the bit shift, the XOR, etc.).

Also, to debug your code, you can temporarily add some $display statements inside the for loop to show the intermediate values of p as a function of i. For example:

        for (i = 0; i < N; i = i + 1) begin
            if (a[i] == 1'b1) begin
                p = p ^ (b << i); // XOR and shift
                $display($time, "   i=%02d      p=%b 34: 0", i, p[34:0]);
                $display($time, "   i=%02d      p=%b 69:35", i, p[69:35]);
            end
        end
Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): Any help
  • RegEx Blacklisted phrase (3): Any help will be greatly appreciated
  • Long answer (-0.5):
  • Has code block (-0.5):
  • High reputation (-2):
Posted by: toolic

79392258

Date: 2025-01-27 21:56:49
Score: 1.5
Natty:
Report link

Use any online PHP profilers like these ones:

Magento has a built-in profiler but its features are limited.

Once you hook it up with a profiler, analyze callgraphs to see if any function calls are slow.

You can always try and do a 3rd-party extension audit. From my experience, 90% of all performance issues come from some custom plugin. Try turning them all off and see if it makes any difference. If it does, turn them back on one by one and find that abuser(s).

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Konstantin G - goivvy.com

79392253

Date: 2025-01-27 21:55:49
Score: 1
Natty:
Report link

the issue is the design of the module used.

so, local_cache properly implements the save_minions function. which saves all of the minions that are expected to return.

prosgres has the function. but doesn't do anything in it.

if you want it to work exatly alike i suggest you take a look at what local_cache is doing and rewrite postgres into a custom master_job_cache to do something alone the same lines.

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

79392248

Date: 2025-01-27 21:52:48
Score: 2
Natty:
Report link

_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|_13FD8E9B4949DA23507B4C51538D4AB2B0F5A8D5051B2639857FE3EE0A08DA03B92C866E8231DC600BFD5C44AD78645E4EA1FF62D106B3995CE1EDC96647BFCC72074315097D2270AD4F21C3840F6632112EF2C25DC55C7DBC36038E04E70511CAF657EDE70508CF7B2F78C13D397B313CC908128D0B90E898872D95AD27B56E06E69B4BC8474A10557A7AA793349066455F15948DCA7EDC2DC9BFB17DD3B9611405E427CDA91B395494D01F9527A29222AB4306D1D05F3D6ED0EEFA7F3361067A82163F5323681EAC182085652FB4793683A43F04A63B4151AA336B0403909E747DB5C61319E76BC5EB76DAE09D2F5D0FF30DAFCE90CD7D5FBB2BBC2EF843BFD86CE817AF745660DA0D752A7FC8D4A37B55023CF8BDC1828941179550EB4BD8EBB0BDAB7B014014960907E082CD03EA2859C102BD21D8B6DCE0AE7A7CD6F574CF3F2DD4B1F494A023A804663C9C80F40374271C0D9E8CC02FFC108271724FF56E3CC0D56DC1845B7622E5F426B869193A8123FE4FA9649F4867F8697A01010AA360841E3D04DD3DF99797CF440B6B06CC8456AE6BDAE3BB257FF54F60B4327103699A39609717108D250757F907599B55A4FFBE721E9B30A4E45DDE4F4A0922B199FE50B65EE81E8AC92CFC63357864201D86D070BB85E1EACCC77AF970100CE8F2CCA43E63E7AFD7C40280F811922F9BA3DD4BF33A5F38F1923E194334CF4D850BE0CA6351E5EA44D064596B053AAF25F0A83B65FE0C60761548C9E68E5A3B3379AACA89BC2BE1FB6A519FE41AFF2D02538251BFDF7A55334E0B3D01C5116E4657AE79B1DC9298188A1FBA385C113081586D423644187C0E1E045BE8FE65C940ADB401522053D8EC0832848EDA6517C351AC1F6F36AA146D778921A98EE2B69C67DBA71E3DE4E7C526F991A6ADBD9E2C303211BA3F4639F7C49D387D5DC6AD06FF49AAB0C87793327D6C528F4118EC58239586A676D04FE2A2A2D7E3ED5EC3AD99A000DE41440ACD0FF645446283A866E6BF296F2E83C1B21AB058F7536E1523E6FD6FCAF82F58C1397B0018A60D19EBE8EB51A4C9DB57306D5C9364E9F3AED217119B646DB4DAB463B27A351F452CE65B4709DC6C269C2D5BF92A0F1B4624EBC4175C

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kolya

79392245

Date: 2025-01-27 21:51:48
Score: 4
Natty:
Report link

The solution was to use the wordobject.Selection as Tim suggested.

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

79392244

Date: 2025-01-27 21:50:47
Score: 0.5
Natty:
Report link

As with any data service you will need to deal with some kind of fee and/or rate-limiting to retrieve real-time data. Generally there are different approaches:

An example bash script performing this task with ratelimiting and only sending changes to an own API:

#!/usr/bin/env bash

# poll an API and post updates to own service only on changes
pricecheck() {
    declare -r log="pricecheck $1 ${2^^}:" currency="${2:-usd}"
    declare -r url="https://api.coingecko.com/api/v3/simple/price?ids=$1&vs_currencies=$currency"
    declare -i max_attempt=5 attempt_delay_sec=12 attempt=0
    declare -gx pricecheck_previous=0 pricecheck=0
    local res http_code content

    local -r apiKeyHeader="x-cg-pro-api-key" apiKey="" # pay for key
    local post_url="" # where to post data if price changed

    local req=( "curl --silent --insecure --location --user-agent 'Mozilla/5.0'"
              "-H accept:application/json -w %{http_code}"
              "--url $url" )
    [ "$apiKey" ] && req+="-H \"$apiKeyHeader: $apiKey\""

    while [ $attempt -lt $max_attempt ]; do
        res=$( ${req[*]} ) || { >&2 echo -e "\033[31m$log Error #$?\033[0m"; return 1; }
        http_code="${res: -3}" && content="${res:0:${#res}-3}"
        if [ "$http_code" -eq 200 ]; then
            pricecheck="${content##*"$currency\":"}" && pricecheck="${pricecheck%%\}*}"
            if [ "$pricecheck_previous" != "$pricecheck" ]; then
                >&2 echo -e "\033[33m$log changed from $pricecheck_previous to $pricecheck \033[0m"
                pricecheck_previous="$pricecheck"
                echo "$pricecheck"
                [ "$post_url" ] && curl -sk --json "$content" "$post_url"
            else
                >&2 echo -e "\033[32m$log no change\033[0m"
            fi
            attempt=1 && sleep $attempt_delay_sec
        elif [ "$http_code" -eq 429 ]; then
            attempt=$(( ++attempt ))
            echo "$log rate limited (status $http_code). Retrying in $attempt_delay_sec seconds..."
            sleep $attempt_delay_sec
        else
            printf "%s" "$log $http_code $url\n $content" && return 2
        fi
    done
    echo "$log: too many retries" && return 3
}

pricecheck solana usd || echo failed with statuscode $?
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
Posted by: Ian Carter

79392237

Date: 2025-01-27 21:46:46
Score: 4.5
Natty: 4.5
Report link

I used vs code, xcode 16.2,and create new maui empty project in net 9. I see the {} but i can't set the debugger target.i install the last maui sdk. What do i miss?

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

79392230

Date: 2025-01-27 21:43:45
Score: 3
Natty:
Report link

Bat group join pepole as Mani income generated by artificial intelligence

Tool are nat allowed on stock overflow

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

79392229

Date: 2025-01-27 21:42:44
Score: 4
Natty:
Report link

I managed to figure it out by applying the same concept I used in inserting a group of columns. I don't know what this is called in the SQL documentation, it doesn't have a name, just a couple of parenthesis...

select * from table1 where (col1,col2) in (select col1,col2 from table2);

This creates a set of columns, and compares it to a list of set columns. The equivalent of:

select * from table1 where (col1,col2) in ( (2,1), (1,2), (2,3), (1,4) );

Does somebody know the formal name of this? Is it grouping?

Reasons:
  • RegEx Blacklisted phrase (2): Does somebody know
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ed K

79392227

Date: 2025-01-27 21:40:43
Score: 3.5
Natty:
Report link

If you refer to this answer, at the bottom in bold the user points out that you require double slashes in the scope.

scopes: [
    "https://service.flow.microsoft.com//User", // Note the double slash before User
]

I came across your question first, had a similar issue and had a single slash in my scope, then I found that answer and added the slash (whether using .default or User) and it started working.

(I was going to add this as a comment, not an answer, but I need more reputation first, hopefully this qualifies as an answer)

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): not an answer
  • RegEx Blacklisted phrase (1.5): reputation
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: baconbum

79392223

Date: 2025-01-27 21:36:42
Score: 3
Natty:
Report link

To update, run: C:\Users\USER_FOLDER_NAME\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\python.exe -m pip install --upgrade pip

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

79392220

Date: 2025-01-27 21:35:42
Score: 0.5
Natty:
Report link

It seems I have found the solution with the help of this answer:

type Foo = Record<string, any>;
type FuncGenericReturn<T> = () => T;

const untypedFunction = () => {
    const test = {};
    // ...
    return test;
}
const funcReturnsFoo: FuncGenericReturn<Foo> = untypedFunction;

const myObject = funcReturnsFoo(); // myObject is typed as Foo
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: AnJ

79392216

Date: 2025-01-27 21:33:42
Score: 2
Natty:
Report link

If your inspecting grid elements, the extend grid lines under Layout tab will create a long line down the document to true up other elements.

https://developer.chrome.com/docs/devtools/css/grid

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

79392212

Date: 2025-01-27 21:30:41
Score: 1.5
Natty:
Report link
Just like you, this is the line I was seeing in an older visual studio when I would debug:
FTH: (18348): *** Fault tolerant heap shim applied to current process. This is usually due to previous crashes. ***

If you look back on the trace mine says this:
Loaded 'C:\Windows\SysWOW64\combase.dll', no matching symbolic information found.
Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', no matching symbolic information found.
Loaded 'C:\Windows\SysWOW64\setupapi.dll', no matching symbolic information found.
Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll', no matching symbolic information found.
Loaded 'C:\Windows\SysWOW64\bcrypt.dll', no matching symbolic information found.
Loaded 'C:\Windows\SysWOW64\mpr.dll', no matching symbolic information found.
Loaded 'C:\Windows\SysWOW64\sfc.dll', no matching symbolic information found.
Loaded 'C:\Windows\SysWOW64\winspool.drv', no matching symbolic information found.
Loaded 'C:\Windows\SysWOW64\SHCore.dll', no matching symbolic information found.
Loaded 'C:\Windows\SysWOW64\sfc_os.dll', no matching symbolic information found.
FTH: (18348): *** Fault tolerant heap shim applied to current process. This is usually due to previous crashes. ***

I renamed sfc_os.dll and the performance went up what seemed like an order of magnitude.    This is the only change I made.  Renaming the file can be a bit challenging.  Look for directions to change a file that has TrustedInstaller security, in case the following link dries up in the future:

https://www.lifewire.com/how-to-get-permission-from-trustedinstaller-in-windows-10-4780469

Cheers,
Bob
Reasons:
  • Blacklisted phrase (1): Cheers
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: BobC

79392203

Date: 2025-01-27 21:26:39
Score: 5.5
Natty:
Report link

I am having the same problem, it always occurs with package starting with react-*

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same problem
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: aa bb

79392201

Date: 2025-01-27 21:25:39
Score: 1
Natty:
Report link

I tested it here, and by removing the type from the body, the payload worked for me.

I used this body request:

{
    "messaging_product": "whatsapp",
    "recipient_type": "individual",
    "to": "<phone_number>",
    "type": "interactive",
    "interactive":{
            "type": "location_request_message",
            "body": {
              "type": "text",
              "text": "Please provide your location"
            },
            "action": {
              "name": "send_location" 
            }         
 }
}
Reasons:
  • Whitelisted phrase (-1): worked for me
  • RegEx Blacklisted phrase (2.5): Please provide your
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: mitaharumi

79392197

Date: 2025-01-27 21:23:38
Score: 0.5
Natty:
Report link

Looking at your log, it looks like you are working on an Arm GPU. I work for Arm, so I had a rummage in the driver source to see what could be going wrong.

The only reason that I can see that GL_INVALID_OPERATION is going to get returned for glDrawTex*() is when you try to use it from an OpenGL ES 2.x or later context. If your GLES 1.1 context still current when you call this?

Reasons:
  • Blacklisted phrase (1): what could be
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: solidpixel

79392194

Date: 2025-01-27 21:22:38
Score: 2.5
Natty:
Report link

the short of it is , someone you trusted installed this on your device, and ever since than, they can see everything you do on your device in real time. they get notifacations before you if they allow you to get yhem at all. Let this set in your head!

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

79392187

Date: 2025-01-27 21:18:37
Score: 1
Natty:
Report link

Tried a few approaches, and I settled on

indices = np.where(
    array.rolling(...)
    .mean()
    .notnull()
)

This was able to handle the large array without using more than a few GB of RAM when the array is on disk. It used even less when the array is backed by dask. Credit goes to ThomasMGeo on the Pangeo forum. I suspect that calling .construct() isn't actually using that much memory, but a .stack() call I had in an earlier version was using a lot of memory.

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

79392185

Date: 2025-01-27 21:17:36
Score: 2
Natty:
Report link

There is only one way to find out - profile the search query with any online PHP profilers (tideways, newrelic, black fire etc).

It will show a callgraph like this one where you can easily spot the problem:

Profile Callgraph

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Konstantin G - goivvy.com

79392182

Date: 2025-01-27 21:15:36
Score: 3.5
Natty:
Report link

I confirm it happens on latest version as well

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

79392181

Date: 2025-01-27 21:15:36
Score: 2
Natty:
Report link

You don't stop the original while loop from continuing, even after the folder is found in a deeper level of the recursion.

To fix this issue, you need to handle the result of the recursive call and break out when a match is found like this:

function buscarCarpeta(origen, curso) {
    curso = curso.toString();
    var folders = origen.getFolders();
    
    while (folders.hasNext()) {
        var folder = folders.next();
        var name = folder.getName();
        var scr = name.search(curso);
        
        if (scr > -1) {
            Logger.log("Encontrado");
            return folder; // Exit on folder found
        }
        
        // Recursive call on subfolders
        var found = buscarCarpeta(folder, curso);
        if (found) {
            return found; // Return the folder
        }
    }
    
    return null; // no folder founded
}

Hope this was helpfull; happy coding!

Reasons:
  • RegEx Blacklisted phrase (2): Encontrado
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andrea

79392168

Date: 2025-01-27 21:06:35
Score: 3
Natty:
Report link

None of the links in the previous thread of responses are working. I am in a similar position where someone else who is learning unreal engine, checked out a file and forgot to submit. They are now doing other things and I need access to the file.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Robert Grasso

79392161

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

Modules cannot depend on each other in a circular way. With traditional header files, you can solve that with forward declarations, but with modules you can't because you cannot forward declare things in a way that makes it clear that the declared entity is owned by another module.

The way to do what you want to do is to use "module partitions". In that case, you can put everything into one module, but the declarations and implementations of the two classes are split into different partitions. Within a partition, then, you can forward declare classes that are declared/defined in the other partition because everything that is part of different partitions is still owned by the same module.

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

79392156

Date: 2025-01-27 20:58:33
Score: 0.5
Natty:
Report link

I fixed this issue by adding the following to requirements.txt:

google-cloud-bigquery[pandas]

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Renae Carr

79392154

Date: 2025-01-27 20:58:33
Score: 0.5
Natty:
Report link

SSH over Session Manager 


vi ~/.ssh/config

Copy the below command to your ssh config file.

host i-* mi-*
ProxyCommand sh -c "aws ssm start-session --target %h --document-name AWS-StartSSHSession --parameters 'portNumber=%p'"

View ssh.config file to confirm the changes:

cat ~/.ssh/config

Connect to your EC2 instance:

ssh <instance-id>
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Duru Cynthia Udoka

79392150

Date: 2025-01-27 20:56:33
Score: 1
Natty:
Report link

Check your local listener

SQL>show parameter local_listener; 

and change when need

SQL>alter system set local_listener='(address=(protocol=tcp)(host=<you hostname or ip>)(port=1521))' scope=both sid='*';
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dmitry Ivanov

79392140

Date: 2025-01-27 20:53:32
Score: 1.5
Natty:
Report link

I hope I didn’t arrive too late. The definitive solution to my problem was to create a pre-build script that deletes the path. In Solution Explorer, search for the project name -> properties -> build -> build events. And write:

if exist "$(ProjectDir)bin\x64\Debug\app.publish" ( rmdir /s /q "$(ProjectDir)bin\x64\Debug\app.publish" )

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Josè Bravo

79392132

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

Thank you so much for this excellent question, nowhere to be found elsewhere on stackoverflow.

Here is the answer:

$result=$db->query($Sql);
$Row=$result->fetch(); 
$TableNameFound=$Row['TABLE_NAME'];
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Cymro

79392118

Date: 2025-01-27 20:44:29
Score: 11
Natty: 7.5
Report link

Did you manage to fix this already?

Reasons:
  • RegEx Blacklisted phrase (3): Did you manage to fix this
  • RegEx Blacklisted phrase (1.5): fix this already?
  • 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: Matias Berrios

79392110

Date: 2025-01-27 20:42:28
Score: 1
Natty:
Report link

The big-o notation for an arbitrary switch case structure depends on the implementation details used in the lookup.

The only real answer for your question can be achieved by either defining the question more carefully or by writing a lookup using a given tool and then testing how it scales.

Both O(1) and O(N) can reasonably be argued for if no further constraints are given.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Markus Hirsimäki

79392108

Date: 2025-01-27 20:40:27
Score: 6.5 🚩
Natty:
Report link

Looks like you have another process locking your databasechangelog table. This should not happen while running liquibase because of the lock table logic. By any chance do you have anything else acessing liquibase changelog tables?

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

79392101

Date: 2025-01-27 20:35:25
Score: 2
Natty:
Report link

Try this https://idata.ws Service included ocr. Support doc, docx,pdf,txt,rtf jpg, png.

Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Yurka Pritsker

79392100

Date: 2025-01-27 20:35:25
Score: 2
Natty:
Report link

Liquibase already does 1 using Fastcheck: here and here. That's something relatively new. But the accepted answer is also good!

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

79392098

Date: 2025-01-27 20:33:25
Score: 0.5
Natty:
Report link

A major website's continuous migration is a sophisticated operation that needs to be carefully planned and carried out to minimize interruptions and guarantee a seamless transfer or free website migration. Here's how to go about doing this:

  1. Evaluate the infrastructure and architecture as it stands. Recognize the Current Configuration: Diagram the present architecture of the website, taking into account the content management systems (CMS), databases, server environments, APIs, and other third-party interfaces. Dependencies on Documents: Enumerate every part, feature, or service that interacts with your website. This will assist you in comprehending the possible effects of migration. Describe the Scope: Divide the migration into manageable portions. Determine which parts (such as the front-end, back-end, and databases) may be moved independently.

  2. Establish an Ongoing Migration Plan

Phased Approach: Assemble parts gradually. This makes it possible to test at every level and make changes gradually. As an illustration, begin with non-essential elements (such as static assets and individual microservices). Move user-facing features or APIs gradually. Last, move the database and other important components. Rolling Deployment: Make use of rolling deployments, which include progressively deploying updated versions of the website or service across several servers or environments. This guarantees the temporary coexistence of old and new systems. Hybrid Environment: Throughout the transition, operate the old and new environments simultaneously. This reduces downtime and enables parallel testing of new and existing systems.

  1. Create CI/CD and Version Control Pipelines Source Control: Verify that version control, such as Git, is applied to the entire codebase. This will assist in handling website modifications throughout the conversion process. CI/CD: To automate code testing and deployment, set up continuous integration and deployment (CI/CD) pipelines. With an automated rollback in the event of failure, this guarantees that every migration step goes well. Make use of resources such as GitHub Actions, Jenkins, CircleCI, and GitLab CI. Add deployment scripts, integration tests, and unit tests to the pipeline. Feature Toggles: Toggle which features or sections of the website are always active by using feature flags or toggles. Users won't be impacted when you test and switch between the old and new versions.

  2. Optimization and Post-Migration

Monitor & Improve: To make the system better after the migration is finished, keep an eye on user comments, error rates, and performance. Scale Up: Expand the new environment to accommodate higher traffic volumes after stability has been confirmed. Decommission Old System: Make sure no data or functionalities are lost by gradually decommissioning old components after the new system is completely stable.

  1. Tools & Technologies to Take Into Account Microservices/Containerization:

To facilitate incremental migration, if you haven't already, think about dividing your website into microservices or containerized apps (using Docker or Kubernetes). Database conversion Tools: Flyway, Liquibase, and AWS DMS (Database Migration Service) are some examples of tools that can assist with data transfer and schema modifications for a smooth database conversion. Feature Flagging: During migration, features can be toggled with the use of programs like LaunchDarkly or Flagsmith. Load balancers: For traffic routing during phased deployments, use solutions such as NGINX, HAProxy, or cloud-based load balancers.

By using this strategy, you can guarantee a managed, low-risk migration process that maintains user access to your website as you progressively switch to the new system.

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

79392097

Date: 2025-01-27 20:33:25
Score: 3
Natty:
Report link

How about this?

/* https://www.liedman.net/leaflet-routing-machine/tutorials/integration/ */
.on('routesfound', function(e) {
    GeoJsonCode = L.Routing.routeToGeoJson(e.routes[0]);
    //console.log(GeoJsonCode);

})       



    function ExportGPX(){
    let outputGpxText;
    let sp2 = '  ';
    let fileName = 'abcdefg';
    let ackName = 'hijklml';
    let elevFlag = false;

    if(typeof GeoJsonCode !== "undefined"){ // undefined check!
        //ファイルの中身をJSON形式に変換する
        let track = JSON.parse(GeoJsonCode);

            // https://stackoverflow.com/questions/51397890/how-to-use-polyline-decorator-in-leaflet-using-geojson-line-string
            track.features
                .filter(function (feature) { return feature.geometry.type == "LineString" })
                .map(function (feature) {

                    let textGpx = '<?xml version="1.0" encoding="UTF-8"?>' + '\n' +
                    '<gpx xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.topografix.com/GPX/1/0" version="1.1" author="signpost - https://signpost.mydns.jp/">' + '\n' +
                    '<metadata></metadata>' + '\n' +
                    '<trk>' + '\n' +
                    '<name>' + trackName + '<name>' + '\n' +
                    '<desc></desc>' + '\n' +
                    '<trkseg>' + '\n';
          
                    let coordinates = feature.geometry.coordinates;
            
                    if (elevFlag) {  // 標高が有る場合                     
                        coordinates.forEach(function (coordinate, i) {
                            textGpx = textGpx + sp2 + '<trkpt lat="' + coordinate[1] + '" lon="' + coordinate[0] + '">';
                            textGpx = textGpx + '<ele>' + coordinate[2] + '</ele>';
                            textGpx = textGpx + '</trkpt>' + '\n';
                        })
                    } else{ // 標高が無い場合
                        coordinates.forEach(function (coordinate, i) {
                            textGpx = textGpx + sp2 + '<trkpt lat="' + coordinate[1] + '" lon="' + coordinate[0] + '">';
                            textGpx = textGpx + '<ele></ele>';
                            textGpx = textGpx + '</trkpt>' + '\n';
                        })
                    }
                    textGpx = textGpx + '</trkseg></trk>' + '\n' + '</gpx>'

                    //console.log(textGpx);
                    outputGPXstyle = textGpx;
                })

            // Code Export >>>>>
            /* https://qiita.com/kerupani129/items/99fd7a768538fcd33420
            ※ [0].click():jQuery オブジェクトの [0] は HTMLElement オブジェクト。HTMLElement.click() を呼んでいる 
            https://www.sejuku.net/blog/67735              
            ----------------------------------------------*/
            $('<a>', {
                href: window.URL.createObjectURL(new Blob([outputGPXstyle], {type : 'text/plain'})),
                download: fileName + '.gpx'
            })[0].click();  // ※ [0].click()*/
    } else {
        alert('There is no auth to export');
    }              
};
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): How
  • Low reputation (1):
Posted by: shin2

79392084

Date: 2025-01-27 20:24:22
Score: 7.5 🚩
Natty: 4.5
Report link

Did you find the solution ? I have the same case.

Reasons:
  • RegEx Blacklisted phrase (3): Did you find the solution
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find the solution
  • Low reputation (1):
Posted by: Bartosz M.

79392080

Date: 2025-01-27 20:22:20
Score: 6 🚩
Natty: 5
Report link

cant post comment or upvotes yet, but thank you for the solution! @Mark

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): upvote
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Mark
  • Single line (0.5):
  • Starts with a question (0.5): can
  • Low reputation (1):
Posted by: Mus'ab Hajabi

79392076

Date: 2025-01-27 20:21:20
Score: 0.5
Natty:
Report link

You may have more luck with the checked attribute instead of state.

  cy.get('[id=input1]')
  .invoke('attr', 'checked') 
  .then((checked) => { 
    if (checked) { 
       console.log('checked') 
    } 
    else { 
       console.log('not checked') 
    } 
  })
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: K.Morassi

79392075

Date: 2025-01-27 20:21:20
Score: 0.5
Natty:
Report link

Migrating an existing Android widget to use Glance Compose and ensuring that users with the existing widget automatically get updated to the new version can be a bit tricky. Unfortunately, there isn't a straightforward way to automatically update the existing widgets to the new Glance Compose version without some manual intervention from the users.

Here are a few steps and considerations that might help you in this process:

  1. Update the Widget Provider Ensure that your new Glance Compose widget uses the same android:name and android:provider as the existing widget. This will help in maintaining the widget on the user's home screen.

  2. Handle Widget Updates You can try to handle widget updates programmatically by sending an update broadcast to the existing widgets. This can be done using the AppWidgetManager to update the widget with the new Glance Compose layout.

  3. Fallback Mechanism Implement a fallback mechanism in your widget provider to check if the widget is using the old layout and update it to the new Glance Compose layout if necessary.

  4. User Notification Consider notifying your users about the update and guiding them to manually add the new widget if the automatic update doesn't work as expected.

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

79392062

Date: 2025-01-27 20:12:17
Score: 6.5 🚩
Natty:
Report link

@Brad, do your way and it's working . Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Brad
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: mike

79392059

Date: 2025-01-27 20:12:17
Score: 4.5
Natty:
Report link

I am having the exact same issue since we started with DLT 6 months ago. I was hoping someone else would write a bug report to Databricks, but no luck yet :)

What i successfully did in that regard in my personal tenant (not fully verified in real world use cases): define the column as "not nullable" in the provided schema.

This lead in my small test case to an error on the initial run, but then i could just start the pipeline again (without full refresh!) and on the second run it then worked correctly.

As i said, i still need to verify this properly, but if it works that would be an acceptable workaround in my project (for now). Full refresh is in this project a real risk and usually prevented via: "pipelines.reset.allowed": "false".

Reasons:
  • Blacklisted phrase (1): no luck
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the exact same issue
  • Low reputation (1):
Posted by: Thomas

79392052

Date: 2025-01-27 20:09:16
Score: 2.5
Natty:
Report link

Schtasks is assuming that Python is in %systemroot%\System32 (C:\Windows\System32).

Replace 'py' with the full path to Python.

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

79392051

Date: 2025-01-27 20:09:16
Score: 1
Natty:
Report link

It could be because the element is not yet visible. You could try to sleep for few seconds. But as an extra see if the scroll into view works.. This has worked for me one time, though i havent known why exactly. Check if ActionChains works too. Its all a try and see approach in these scenarios.

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

79392049

Date: 2025-01-27 20:09:15
Score: 9 🚩
Natty: 5.5
Report link

did you find any solution for that

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): did you find any solution
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you find any solution for that
  • Low reputation (1):
Posted by: Alabbas Alhaj Ali

79392031

Date: 2025-01-27 20:03:12
Score: 1.5
Natty:
Report link

My problem is solved, the path to the index.php was the issue, I just replaced this:

try_files $uri $uri/ /index.php?$args; 

by

try_files $uri $uri/ /wordpress_site/index.php?$args; 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Lara

79392025

Date: 2025-01-27 20:00:12
Score: 2
Natty:
Report link

I have this extension installed:

Language Support for Java(TM) by Red Hat

I had to uninstall it and install it back again, and the debug and compile tab worked again.

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

79392011

Date: 2025-01-27 19:55:11
Score: 1.5
Natty:
Report link

Whenever I want to parallelize something in Clojure, I find that the Claypoole library is the best way to go.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Alan Thompson

79392010

Date: 2025-01-27 19:55:11
Score: 1.5
Natty:
Report link

By default, Laravel prefixes API routes with /api. So when you define routes in routes/api.php, you must access them like /api/auth/register

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

79392008

Date: 2025-01-27 19:55:11
Score: 3.5
Natty:
Report link

To access files in base general folder, you may not specify the drive Id as below. https://graph.microsoft.com/v1.0/sites/{site-id}/drive/root:/{path-to-folder-encoded}:/children

But to get the files from a non base folder, that is not in 'shared documents', you need to use, https://graph.microsoft.com/v1.0/drives/{drive-id}/root:/{path-to-folder-encoded}:/children

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

79391994

Date: 2025-01-27 19:50:09
Score: 1
Natty:
Report link

I know you asked for a vba answer years ago; I'm putting this here because there's a better way to do it now with recursive lambda functions. Essentially just define a formula called "ConsecuCheck" in Name Manager as follows:

=LAMBDA(text,spot, IF(LEN(text)<spot, 0, IF(AND(MID(text, spot, 1)=MID(text, spot-1,1),MID(text, spot, 1)=MID(text, spot-2,1)),1, ConsecuCheck(text,spot+1))))

This works for 3 or more consecutive characters. The use would be "=ConsecuCheck(A1, 3)" The second parameter must be 3 (or higher, if you don't want to check the entire value for some reason). It returns a 1 if there are 3 consecutive characters which are the same.

Benefits: faster than VBA, do not have to ship macro-enabled excel files Drawbacks: not quite as flexible as a regex

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

79391989

Date: 2025-01-27 19:49:09
Score: 1
Natty:
Report link

If you're using a Mac with an M3 chip, here's how you can set up JDK 7 for iReport 4.7.1 :

Download JDK 7: You can download it from the Oracle JDK 7 archive.

Locate the iReport configuration file:

  1. Go to Applications.
  2. Right-click on the iReport icon and select "Show Package Contents".
  3. Navigate to: Contents/Resources/ireport/etc/.
  4. Edit the ireport.conf file:
  5. Open the file ireport.conf in a text editor, Find the line starting with jdkhome.
  6. Update it to point to your JDK 7 installation path. For example:
  7. jdkhome=".../JavaAppletPlugin.plugin/Contents/Home/"
  8. Save the changes, and iReport should now use JDK 7.
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: victor ponce

79391972

Date: 2025-01-27 19:39:06
Score: 5.5
Natty:
Report link

getting the same error on google collab A100 with bitsandbytes version 0.45.1 , can't seem to find a solution

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): getting the same error
  • Single line (0.5):
  • Low reputation (1):
Posted by: taparang

79391967

Date: 2025-01-27 19:38:06
Score: 4.5
Natty: 5
Report link

I can recommend this post, very useful for creating thumbnails: https://dev.to/victor_hugogasparquinn_/how-make-thumbnails-on-javafx-8h1

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: victor hugo gaspar quinn

79391965

Date: 2025-01-27 19:38:05
Score: 0.5
Natty:
Report link

Just thought I'd post my solution, I'm thinking it's verbose, but it works. I'll gladly receive any tips on how to reduce the bloat.

I included a little foreach loop which builds a list of IDs from usernames as I feel this would make more sense to anyone looking at this in future.

<?php
// Removes specified users
add_action( 'bp_ajax_querystring', 'user_remove_mem_directory', 20, 2 );
function user_remove_mem_directory( $query, $object ) {
    if ( 'members' != $object ) {
        return $query;
    }
    $usernames = array('Admin1', 'Admin2');
    foreach ($usernames as $username) {
        $user = get_user_by('login', $username);
        $excluded_users[] = $user->ID;
    } // Build array of user IDs from login usernames
    $args = wp_parse_args( $query ); // Merges user query into array.
    if ( ! empty( $args['exclude'] ) ) {
        $args['exclude'] = $args['exclude'];
        foreach ($excluded_users as &$id) {
             $args['exclude'] .= ',' . $id; // Loop through building an array
        }
    } else {
        $args['exclude'] = $excluded_users;
    }
    $query = build_query( $args );
    return $query;
}
Reasons:
  • Blacklisted phrase (1): any tips
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: morgyface

79391961

Date: 2025-01-27 19:35:03
Score: 9.5 🚩
Natty: 5.5
Report link

Did you succeed or gave up on this?

Reasons:
  • Blacklisted phrase (3): Did you succeed
  • 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: E.R.Z.