79150271

Date: 2024-11-02 08:48:36
Score: 6 🚩
Natty:
Report link

Can you please share your shortcode code ? the shortcode should have ob_start() & ob_get_clean() functions. please see the below shortcode syntax

function your_shortcode_function() {
    ob_start();
    ?>
    <div class="your-custom-shortcode-wrapper">
        <!-- Your output content here -->
    </div>
    <?php
    return ob_get_clean();
}
add_shortcode('your_shortcode', 'your_shortcode_function');

please let me know if it works

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you please share your
  • RegEx Blacklisted phrase (2.5): please let me know
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can you please share you
  • Low reputation (0.5):
Posted by: Shaikh Aejaz Ahmed

79150266

Date: 2024-11-02 08:44:35
Score: 4.5
Natty:
Report link

I was able to solve it by adding the mingw complier as the compiler in compile flags in the clangd config.yaml file.

Here is a the detailed medium post I made: https://medium.com/@adarshroy.formal/setting-up-neovim-on-windows-a-beginner-friendly-no-nonsense-guide-with-cpp-clangd-without-wsl-f792117466a0

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user28073209

79150261

Date: 2024-11-02 08:41:32
Score: 6.5 🚩
Natty: 6.5
Report link

Can you send me your modeling files to study? I'm currently studying this aspect, but I haven't found any relevant learning materials. Thank you. [email protected]

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (2.5): Can you send me your
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: Saber Mars

79150253

Date: 2024-11-02 08:36:31
Score: 2
Natty:
Report link

Implementing JSON source generation in .NET 9 Preview is a powerful way to boost efficiency in IoT systems. With built-in support for fast, real-time JSON serialization and deserialization, it minimizes latency and enhances data processing performance—crucial for IoT applications requiring rapid, reliable communication.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Chris A. Bell

79150249

Date: 2024-11-02 08:33:30
Score: 1
Natty:
Report link

Since 166.20 ≈ 581665650.50 / 3500000.00, I would guess that maybe you somehow changed the value of the "EBITDA last 4 quarters" column before you printed out that row.

Python dataframes are passed by reference, so any intermediate function that mutates the values within a dataframe that is passed in as an argument would also mutate the original dataframe itself.

If you paste your entire code snippet, we can help you debug further.

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

79150245

Date: 2024-11-02 08:31:27
Score: 13 🚩
Natty: 6
Report link

can you tell me how to install metaplex when i have only the old way available in a tutorial? You say its depricated - is this mean it wont work? i aim to create a fraqtuanized NFT with it. Sadly the code to install it with VSC is not working - only readme file in the zip file. I found this: https://github.com/metaplex-foundation/deprecated-clis so i want to ask if it will work for the installing of metaplex or not? I mean if its depricated isnt it means that it wont work ?

Also you say the new way is for candy machine - but i have no idea what is it - i just want to create a fraqtuanized solana nft - if its possible please clear my uncertainty and point me to the right direction. I am sorry if the question seems stupid to you - but i have been searching for it for about a week and havent found a good enough answer. May be i lack the nescessary skill to understand all - so any advice will be appriciated.

Please give me a pointer - you have my gratest gratitude.

Thank you all in advance for your understanding and helpfulness. Best wishes.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1.5): tell me how to
  • RegEx Blacklisted phrase (2.5): can you tell me how
  • RegEx Blacklisted phrase (2.5): Please give me
  • RegEx Blacklisted phrase (3): Thank you all in advance
  • RegEx Blacklisted phrase (1): i want
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): can you
  • Low reputation (1):
Posted by: LaptopOneProgramming

79150242

Date: 2024-11-02 08:29:27
Score: 3.5
Natty:
Report link

please try to use the Jira Spoke and webhook and existing OOTB sub-flow.

https://docs.servicenow.com/bundle/xanadu-integrate-applications/page/administer/integrationhub-store-spokes/task/setup-jira302-webhooks.html

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

79150237

Date: 2024-11-02 08:25:26
Score: 3
Natty:
Report link

I was facing this same issue, solved it by downgrading hadoop to 3.3.6. I think 3.4.0 is not compatible with windows.

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

79150235

Date: 2024-11-02 08:22:25
Score: 0.5
Natty:
Report link

You can add the run-name property to your workflow YAML:

run-name: ${{ github.event.workflow_run.head_commit.message }}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: johnnyaug

79150234

Date: 2024-11-02 08:22:25
Score: 0.5
Natty:
Report link

I got the error resolved by first installing xformers since it is not able to recognize the torch module which was already installed

pip3 install -U xformers --index-url https://download.pytorch.org/whl/cu124

then try installing mistral_inference

pip3 install mistral-inference
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: abhishek

79150225

Date: 2024-11-02 08:17:24
Score: 0.5
Natty:
Report link

Yes, events will synchronize with every command submitted before the signal and after the wait, provided that they match the pipeline stage. If you really want maximum independence here, you'd need to submit these sets of commands to different queues/queue families.

However, you should also keep in mind that just because the driver could schedule work in parallel, it doesn't necessarily do so - this depends on the size of your submissions and free hardware resources. Using multiple queues also isn't free, so you should benchmark whether that split is really worth it.

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

79150211

Date: 2024-11-02 08:10:22
Score: 1
Natty:
Report link

This issue mainly results from how class labels are encoded and loaded during training. Ensure that the labels are encoded and loaded the same way as you did during training so that the indexing is not messed up, that is if the classes are sorted during training make sure they are also sorted during inference. I hope this helps.

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

79150203

Date: 2024-11-02 08:04:21
Score: 2
Natty:
Report link

ran into the issue trying to locate UserRefID and found a solution. Apparently, when you follow their "OAuth2/Authorization Guide", you can get the needed data if you run GET call to this URL: user-iMac:Desktop user$ curl --location --request GET 'https://api.honeywell.com/v2/locations?apikey=' --header 'Authorization: Bearer '

The JSON that comes out has the UserID. So, it is indeed the UserRefID (2352951) :

"users": [ { "userID": 2352951, "username": "[email protected]", "firstname": "G", "lastname": "D", "created": 16335504, "deleted": -6213596800, "activated": true, "connectedHomeAccountExists": true, "locationRoleMapping": [ { "locationID": 37316221, "role": "Adult", "locationName": "Home", "status": 1 } ], "isOptOut": "False", "isCurrentUser": true }, {

I hope someone finds this useful.

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

79150198

Date: 2024-11-02 08:01:20
Score: 1.5
Natty:
Report link

Customizing styles with classNames is more better.

For example:

<AccordionItem 
 ...
 classNames={{
    title: "text-white",
    trigger: "bg-green-500",
  }}
/>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ashmakov

79150194

Date: 2024-11-02 07:59:19
Score: 0.5
Natty:
Report link

I came across your query regarding implementing client-side encryption with WebAuthn as a second factor in a PWA project. It resonates well with a recent article I wrote about integrating biometric authentication using the WebAuthn API.

In your case, you’re looking to encrypt a randomly generated key while ensuring that the server remains oblivious to client details. One potential approach is to leverage the public key generated during the WebAuthn registration process to encrypt your symmetric key. Although you noted that the public key changes with each login attempt, you can store the initial public key during the registration phase and use that for encryption, as it is unique to the user and the authenticator.

Here’s a simplified outline of how you could structure the encryption process:

Registration Phase:

Generate a key pair for WebAuthn (public and private). Store the public key securely in your database along with any user identifier. Encryption Phase:

When you need to encrypt your database key, use the stored public key to perform asymmetric encryption. Store the encrypted symmetric key on the server, while keeping the decryption private key on the client side. Authentication Phase:

Upon user authentication, retrieve the corresponding public key and use it for decryption. This approach ensures that the server doesn't have access to the private key, keeping your encryption strategy client-side.

For further details, you can refer to my article on Medium about WebAuthn, where I provide code snippets and practical steps for implementing biometric authentication. It may offer additional insights into working with WebAuthn effectively. Implementing Biometric Authentication in PWA

If you have any specific questions or need help with the implementation details, feel free to ask!

Best, soroush alipasand

Reasons:
  • Whitelisted phrase (-1): In your case
  • Contains signature (1):
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: soroush alipasand

79150192

Date: 2024-11-02 07:58:19
Score: 1.5
Natty:
Report link
class="link-underline link-underline-opacity-0 link-underline-opacity-100-hover"

Simply add this class to each link you want to style like Bootstrap 4.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Васил Тошков

79150156

Date: 2024-11-02 07:32:11
Score: 10 🚩
Natty: 5
Report link

I have the same issue, I hope you solve it anyone can help

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (3): anyone can help
  • RegEx Blacklisted phrase (0.5): anyone can help
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (1):
Posted by: user28098431

79150153

Date: 2024-11-02 07:30:11
Score: 3
Natty:
Report link

Manually Clearing Cached DNS Records The following three websites will help you clear out previously cached DNS records to speed up the worldwide. Simply visit each site and run the cache clear:

  1. OpenDNS: https://cachecheck.opendns.com/
  2. Cloudflare: https://1.1.1.1/purge-cache/
  3. Google: https://developers.google.com/speed/public-dns/cache

source: https://gridpane.com/kb/speeding-up-dns-propagation-manually-clearing-out-cached-records/

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

79150151

Date: 2024-11-02 07:28:10
Score: 3
Natty:
Report link

Got it myself. It was me renaming some .py files, and not deleting pickle-based cache file. Old module names got stuck in file, and pickle tried to import those old module names which no longer exist.

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

79150150

Date: 2024-11-02 07:28:10
Score: 3
Natty:
Report link

I just had the same issue with deleteDoc! Removing the await solved my problem. I don't know why this is the case.

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

79150140

Date: 2024-11-02 07:15:08
Score: 0.5
Natty:
Report link
import cv2 as cv
 
img = cv.imread('src.png', cv.IMREAD_GRAYSCALE)
height, width = img.shape 
blur = cv.blur(img, (width // 4, height // 4))
cv.imwrite('dst.png', blur)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Konstantin Makarov

79150137

Date: 2024-11-02 07:14:08
Score: 1.5
Natty:
Report link

Just go to providers and disable phone confirmation even if phone provider is disabled. Then you will get it in errors field. That user_already_exists

https://supabase.com/docs/reference/javascript/auth-signup

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

79150132

Date: 2024-11-02 07:07:06
Score: 1
Natty:
Report link

All these answers use a backslash after the drive:colon. Works without one:

if exist C: (
echo Yay C:
)
) else (
echo Nah
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Laurie Stearn

79150130

Date: 2024-11-02 07:07:06
Score: 1.5
Natty:
Report link
let backgroundImageView: UIImageView = {
    let imageView = UIImageView(image: #imageLiteral(resourceName:  "background"))
    imageView.contentMode = .scaleAspectFill
    imageView.clipsToBounds = true
    return imageView
}()

Adding imageView.clipsToBounds = true resolved problem

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

79150121

Date: 2024-11-02 07:02:05
Score: 1
Natty:
Report link

Samsung Smart TV apps are built specifically for the Tizen operating system (or older versions use Orsay). These apps are tailored to the Samsung Smart TV ecosystem, meaning that IPTV apps developed for Samsung Smart TVs might not function on other platforms unless adapted.

Understanding IPTV Compatibility: Samsung Smart TVs: Only run apps developed or ported for Tizen (or Orsay). Common IPTV apps available include IPTV Smarters, SET IPTV, and Ibo Player.

General IPTV Apps: Apps like Relax Play and Bob Player are designed to work across various devices but may require adaptation or a specific version for Samsung TVs. Can These Apps Work on Other IPTV Devices?

Not all IPTV apps for Samsung TVs will run on other smart TV platforms like LG (WebOS), Android TVs, or generic IPTV boxes. Cross-compatibility depends on whether the app developer has made versions for different operating systems.

Key Points to Remember:

Check App Compatibility: Ensure that the IPTV app supports the target device's OS. Use Multi-Platform Apps: Some apps, like IPTV Smarters, have versions for multiple platforms, including Android and smart TVs.

Installing Non-Store Apps: Sideloading may be an option for advanced users but isn't always straightforward and may have limitations.

For a detailed guide on IPTV apps like IPTV Smarters, Bob Player, Ibo, SET IPTV, and Relax Play, visit this resource to explore more options for IPTV services and their compatibility with various devices.

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

79150109

Date: 2024-11-02 06:55:03
Score: 1
Natty:
Report link

ForrunnerDB has been a good fit over the years. It can run in the browser and works well in Cordova.

With its MongoDB like API, it can store and find any JSON data. It even works well with storing images as Base64 in its JSON documents.

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

79150107

Date: 2024-11-02 06:53:02
Score: 1
Natty:
Report link

In jupyter, Kernel > Restart kernel help,

Reference https://github.com/ipython/ipython/issues/11027 .

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

79150098

Date: 2024-11-02 06:45:01
Score: 0.5
Natty:
Report link

What will happen with old memory block place?

This question was not yet answered. The answer is simple, it is easy to check in your code. In my case, when realloc returns the same address (usually if I reduce the block size), calling free with old address produce no error, which is true since it is also a new address. When it returns different address, calling free with old address fails.

So, it does free the old block when it is reallocated:

void* location = realloc(arr, NEW_SIZE);
// do not delete arr, it points to the same or freed block
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: dmitrycello

79150093

Date: 2024-11-02 06:43:01
Score: 0.5
Natty:
Report link

When you submit the form, if there is an error (for example, if ModelState.IsValid is false), the form is re-rendered with the View(model); statement in the Create action.

this causes the view to include the existing partial views for each Mfo, including any appended ones, resulting in duplicates because the client-side javascript also appends additional partials.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: Ashkan Afsharpour

79150079

Date: 2024-11-02 06:28:58
Score: 1.5
Natty:
Report link

That's easy. Just trim and check the value. You could add a short-if statement like (splitLine[2].toString() != "2" ? "1" : "2") Or check (string.IsNullOrEmpty(splitLine[2]) ? "1" : "2") is null or empty. But to be honest... Adding values like this way is very very bad. You know, every person has his own idea about entering values and this will almost always causing problems. I would recommend using a Textbox for every column and after pushing the 'Apply' or 'Insert' button, check every input from the textboxes if they contain the values you would like to accept.

The most errors occurs with user input! What if somebody enters four instead of 4?

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

79150064

Date: 2024-11-02 06:12:55
Score: 2.5
Natty:
Report link

Yes, JavaScript can experience race conditions, especially in environments where asynchronous code execution is involved, such as with promises, callbacks, or web APIs like setTimeout, fetch, or event listeners.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nha Thuoc Do Minh Duong

79150055

Date: 2024-11-02 06:06:54
Score: 3
Natty:
Report link

I switched browsers. previously i was using arc but when i switched to chrome i chrome i could see the scrollbars. and on mac u cant see any visible scrollbars on any browser by default

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

79150051

Date: 2024-11-02 05:58:52
Score: 3.5
Natty:
Report link

how you are passing the token? you need to put bearer word before the token in Authorization header

bearer {{token}}

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): how you are
  • Low reputation (1):
Posted by: ahmmad aswad

79150048

Date: 2024-11-02 05:57:52
Score: 2
Natty:
Report link

Had the same issue, so I've created a Chrome extension for doing such automation download for multiple files (support also folders and pagination)

S3 Multi File Downloader

you are welcome to try and give feedbacks :)

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

79150045

Date: 2024-11-02 05:54:51
Score: 0.5
Natty:
Report link

bro,I'm a chinese man,when i see your problem, in this sentence '$( ".counter" ).append ("answer")' ,you should use {} to append answer not put the string "anwser" in it.

If you want to use JQuery,there is answer for you:
$(document).ready(function() {
    // 初始化计数器
    let counter = 0;
    
    // 显示计数的元素
    const $counterDisplay = $('.counter');
    
    // 点击按钮时的处理
    $('.clickme').on('click', function() {
        // 增加计数
        counter++;
        // 更新显示
        $counterDisplay.text(counter);
    });
});
 
if you want to contact with me,welcome to answser me

    enter code here
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: A_CHN_MAN

79150043

Date: 2024-11-02 05:52:50
Score: 4
Natty: 4.5
Report link

mongosh has to be installed using the instruction provided in the docs https://www.mongodb.com/docs/mongodb-shell/install/

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

79150030

Date: 2024-11-02 05:35:44
Score: 7.5 🚩
Natty: 4.5
Report link

Did you find a solution about this? I am facing the same challenge.

Reasons:
  • RegEx Blacklisted phrase (3): Did you find a 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 a solution
  • Low reputation (1):
Posted by: rt2000

79150026

Date: 2024-11-02 05:29:42
Score: 2
Natty:
Report link

Clerk currently offers a restriction option under Configure > Restrictions -> Sign-up mode.

This mode disables sign ups and sign ins by users who are not currently in the users list or don't have an invite.

Clerk disable sign ups option

Results of activating restriction

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

79150024

Date: 2024-11-02 05:27:42
Score: 1
Natty:
Report link

The answer from @OriDrori would address the question.

The following is an alternate solution, not based on ref. Certainly it comes at a cost of an extra state and a separate useEffect statement.

Coding highlights

a. An extra state for sorting

  const [prevSorting, setPrevSorting] = useState();

b. Two separate useEffect invocations

The first useEffect will invoke for every render, but the logic inside will be applied with respect to the changes in sorting state.

The second useEffect will invoke only on the changes in sorting state, and will keep preSorting state in synch.

  useEffect(() => {
    if (sorting !== prevSorting) {
      loadEntries(sorting, searchParameters);
    }
  }); 


  useEffect(() => {
    setPrevSorting(sorting);
  }, [sorting]);

Code - full listing:

App.js

import { useState, useEffect } from 'react';

function loadEntries(sorting, searchParameters) {
  console.log(`loadEntries executed with : ${sorting},${searchParameters}`);
}

export default function App() {
  const [searchParameters, setSearchParameters] = useState('');
  const [sorting, setSorting] = useState();
  const [prevSorting, setPrevSorting] = useState();

  // update searchParameters if the user enters someting
  function handleChangeSearchParameters(newValue) {
    setSearchParameters(newValue);
  }
  // update sorting if the user clicks on a column in the table
  function handleClickSorting(newValue) {
    setSorting(newValue);
  }

  // PROBLEM: I only want to call loadEntries() if sorting changes, but I need searchParameters for it too!
  useEffect(() => {
    if (sorting !== prevSorting) {
      loadEntries(sorting, searchParameters);
    }
  });

  useEffect(() => {
    setPrevSorting(sorting);
  }, [sorting]);

  return (
    <>
      <button onClick={() => handleClickSorting(Math.random())}>
        Click sorting
      </button>
      <br />
      <label>searchParameters</label>
      <br />
      <input
        value={searchParameters}
        onChange={(e) => handleChangeSearchParameters(e.target.value)}
      ></input>
    </>
  );
}

Test runs

A search parameter newly entered

It did not invoke useEffect for the changes in Sorting, please see there is nothing logged in the console

Browser display - A search parameter newly entered

A change in Sorting by clicking the button

It did invoke useEffect for the changes in Sorting, please see there is something logged in the console.

Browser display - A change in sorting

A change in the search parameter

It did not invoke useEffect for changes in Sorting, please see there is nothing newly logged in the console.

Browser display - A change in search parameter

A change in Sorting by clicking the button

It did invoke useEffect for changes in Sorting, please see there is something newly logged in the console.

Browser display - Another change in sorting

Reasons:
  • Blacklisted phrase (0.5): I need
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @OriDrori
Posted by: WeDoTheBest4You

79150022

Date: 2024-11-02 05:22:41
Score: 1.5
Natty:
Report link
mkdir $HOME/.ccachetmp
export CCACHE_DIR=$HOME/.ccachetmp

You can additionally add

export CCACHE_DIR=$HOME/.ccachetmp

In ~/.bashrc

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

79150018

Date: 2024-11-02 05:17:40
Score: 2.5
Natty:
Report link

the helper function (CheckBusinessHours) will not have context,event and callback as it is helper function. Replace it with the param that you want to pass.

Ref link below

Twilio docs

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

79150014

Date: 2024-11-02 05:15:39
Score: 1
Natty:
Report link

Used a small library because browsers/OS's don't reliably work with the built in smooth scroll.

npm install --save zenscroll

import zenscroll from 'zenscroll';

zenscroll.setup();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: The Jared Wilcurt

79150008

Date: 2024-11-02 05:11:38
Score: 0.5
Natty:
Report link

You have to include the trailing slash / otherwise the path will get stripped:

baseURL: 'https://example.com/',

Looks like a known issue: https://github.com/microsoft/playwright/issues/21864

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

79149994

Date: 2024-11-02 04:55:35
Score: 2
Natty:
Report link

I think. It is because Docker is not more a part of kubernetes installation. Just google about it. For example. https://kodekloud.com/blog/kubernetes-removed-docker-what-happens-now/

Most likely you have another CRI containerD. Just take another base image. some alphine or ubuntu.

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

79149988

Date: 2024-11-02 04:51:34
Score: 2.5
Natty:
Report link
<?php
$array = ['One', 'Two', 'Three', 'Four', 'Five'];
$length = count($array);
var_dump($length);
?>

See Instraction Read More

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

79149977

Date: 2024-11-02 04:41:32
Score: 0.5
Natty:
Report link

I was working on a project using Firebase functions and tried implementing Multer, but it kept throwing the same error.

I ended up using this dependency express-multipart-file-parser https://github.com/cristovao-trevisan/express-multipart-file-parser, and I was finally able to process files in multipart/form-data requests.

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

79149963

Date: 2024-11-02 04:28:29
Score: 5
Natty: 4
Report link

Recently published a blog trying to explain the above https://medium.com/@ankush13777/the-hidden-optimization-behind-sparks-mappartitions-28983541df18

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: ankush1377

79149957

Date: 2024-11-02 04:25:27
Score: 2.5
Natty:
Report link

Analyze your flutter apk in as and you will find that it has a directory structure like this

enter image description here

Now suppose I need to load pic_app_logo.png, then the code should be like this

context.assets.open("flutter_assets/packages/pkg_res/assets/images/common/login/pic_app_logo.png")
Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): enter image description here
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: 蒋明洁

79149946

Date: 2024-11-02 04:12:25
Score: 1.5
Natty:
Report link

Years ago IDE Insight was added to allow searching the IDE for settings. It is the small text box in the upper right. Seaching for save brings up a bunch of settings one of which describes what you want. Becoming familar with IDE Insight is worthwhile.

Dephi IDE Insite showing results of searching for save

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

79149944

Date: 2024-11-02 04:09:24
Score: 2.5
Natty:
Report link

Seems like you have not set the OPEN_API_KEY variable in your .env file. You can try following this to set your environment variables: https://stackoverflow.com/a/64881524/12248084

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: nabil.adnan1610

79149938

Date: 2024-11-02 04:01:23
Score: 3.5
Natty:
Report link

Buy Verified Cash App Accounts $220.00 – $560.00

Buy Verified Cash App Accounts is a convenient and secure way to access the benefits of Cash App quickly and effectively. Are you looking to buy verified Cash App accounts so you can start using the popular mobile payment app right away?

Features of Cash App Accounts ➤ 100% Satisfaction & Recovery Guaranteed ➤ Email login & Number access ➤ 100% BTC Withdrawal Enabled ➤ 4k 15k 25k accounts ➤ Real Gmail used USA, UK and other countries ➤ 100% secure and full verified accounts ➤ Bank & Card Verified ➤ Bank details ➤ Driving License Scan Copy ➤ Date of Birth Provided

If you want to more information just contact now. 24 Hours Reply/Contact E-mail: [email protected] Telegram: @Seo2Smm Skype: Seo2Smm

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Seo2Smm
  • Low reputation (1):
Posted by: Buy Verified Cash App Accounts

79149937

Date: 2024-11-02 04:00:23
Score: 0.5
Natty:
Report link

It seems like python and pip packages are corrupted. Try the following :

  1. Uninstall any python or pip package installed on your system
  2. Reinstall the python and pip and all the package and modules as well.

Let me know if it works. I installed 'scratch' but i encountered exactly same error.Then I did this and it ran smoothly.

Reasons:
  • Whitelisted phrase (-1): Try the following
  • No code block (0.5):
  • Low reputation (1):
Posted by: DREAMBOYYY26

79149933

Date: 2024-11-02 03:57:22
Score: 1
Natty:
Report link

tensorflow 2.9 -- 2.12 does not exist for M2 processors. More precisely, Google did not build and publish the packages on PyPI. You can see this for yourself: https://pypi.org/simple/tensorflow/ (Look for packages of the form macosx_*_arm64). My understanding is that at the time when tensorflow 2.9 was published (cca 2022), M1, M2 chips didn't exist, or at least they were not popular, and so Google didn't build tensorflow for these processors. Later Google didn't bother to publish these packages and assumed that people would use newer version of tensorflow instead.

Your best bet is to install a later version of tensorflow, i.e., 2.13 or later. Do not install tensorflow-macos -- that is just a bandaid.

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

79149928

Date: 2024-11-02 03:53:21
Score: 1
Natty:
Report link
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Gab

79149927

Date: 2024-11-02 03:53:21
Score: 2
Natty:
Report link

after several hours of research I found this works perfectly fine

df = (spark.read.option(Constants.SERVER, "server_name.sql.azuresynapse.net").option(Constants.DATABASE, "db_name").synapsesql("select [Job Title] as JobTitle from dbo.TableName) )

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

79149924

Date: 2024-11-02 03:52:21
Score: 2.5
Natty:
Report link

You can use webagentdriver for ios. Documentation is here https://appium.github.io/appium-xcuitest-driver/4.25/wda-custom-server/

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

79149917

Date: 2024-11-02 03:45:19
Score: 0.5
Natty:
Report link

This could be because the app wasn't permanently deleted yet

"When you remove an app from your Firebase project, the app is scheduled to be automatically permanently deleted after 30 days. During that 30 days, you can restore the removed app before it's permanently deleted. After the permanent deletion, though, you cannot restore the app.

Therefore, before removing an app from your Firebase project, make sure that permanent deletion of the app from your project is what you really intend."

"How to immediately and permanently delete an app from a Firebase project

If you need to immediately delete an app from a Firebase project, you can do so anytime before Firebase automatically deletes it (which happens 30 days after it's been removed). If you immediately delete an app, the app will be permanently deleted and cannot be restored.

Note that you have to remove the app from your project first and then perform an additional set of actions to delete it immediately.

Follow the instructions above to Remove an app. After removing the app, go back to the Your apps card, and then click Apps pending deletion. In the row for the app that you want to delete immediately, click DELETE NOW. Confirm the changes that will occur with the permanent deletion of the app. Click Delete app permanently."

Remove, restore, or permanently delete an app

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

79149910

Date: 2024-11-02 03:37:18
Score: 3.5
Natty:
Report link

I did download certs for registry using openctl and now it is working fine.

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

79149908

Date: 2024-11-02 03:35:18
Score: 1.5
Natty:
Report link

There is a difference between functional, where functions are first class objects that can be created at run time at any scope in the code, vs pure functional where functions have no side effects.

Regarding the first case, think of C. You can pass around function pointers but all functions are instantiated at compile time and in the global scope; i.e. they are static objects. In Python, at difference, you can create instances of functions anywhere. To do that, the language needs to support the creation of closures.

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

79149901

Date: 2024-11-02 03:24:16
Score: 1.5
Natty:
Report link

The first formula uses (n-1)/(n-k) as the adjustment factor. This does not correctly account for degree of freedom in the denominator, which should be adjusted for both intercept and predictor. The second formular (n-1)/(n-(n+k)) correctly accounts for the degree of freedom, hence gives a more accurate estimate of R-squared.

The second formular aligns with the calculations performed by statsmodels, and other statistical software. This explains why it aligns with your answer.

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

79149895

Date: 2024-11-02 03:21:15
Score: 3.5
Natty:
Report link

What ended up solving this for me was reverting back to an earlier version of node. I had to go from version 22.11.0 to version 20.6.0

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: William Green

79149889

Date: 2024-11-02 03:17:14
Score: 0.5
Natty:
Report link

Pretty late! But if anyone will ever need it, this answer shines a ray of light on it. When RSA encryption is used, then d2i_PUBKEY is used. More rare types of PKCS1 are used with d2i_PublicKey. For future reference, you could look up their GitHub files and try to notice anything there too.

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

79149878

Date: 2024-11-02 03:07:13
Score: 0.5
Natty:
Report link

"WRITE_EXTERNAL_STORAGE is deprecated (and is not granted) when targeting Android 13+. If you need to write to shared storage, use the MediaStore"

As of Android 13, if you need to query or interact with MediaStore or media files on the shared storage, you should be using instead one or more new storage permissions:

  • android.permission.READ_MEDIA_IMAGES
  • android.permission.READ_MEDIA_VIDEO
  • android.permission.READ_MEDIA_AUDIO

Looks like your device is running Android 13+ and that's why you cant request "WRITE_EXTERNAL_STORAGE"

MANAGE_EXTERNAL_STORAGE supersedes WRITE_EXTERNAL_STORAGE & allows broad access to external storage. You don't need WRITE_EXTERNAL_STORAGE if you already have MANAGE_EXTERNAL_STORAGE permission granted.

To publish apps with MANAGE_EXTERNAL_STORAGE permission, you'll need clear justification for requesting it, otherwise the app will be rejected. Since you're not publishing the app on Google Play, it's fine. But those who think MANAGE_EXTERNAL_STORAGE is the alternative to WRITE_EXTERNAL_STORAGE, they're wrong. If they can't clearly justify the need to request MANAGE_EXTERNAL_STORAGE (which most apps can't), their apps will be rejected. Their choice should be either app specific external storage (Android/data/package-name) access or the ones described in documentation above

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

79149877

Date: 2024-11-02 03:06:10
Score: 9 🚩
Natty: 5
Report link

I have a same problem. Are you solved this issue?

Reasons:
  • RegEx Blacklisted phrase (1.5): solved this issue?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have a same problem
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: dongwoo Kwak

79149873

Date: 2024-11-02 03:03:10
Score: 3.5
Natty:
Report link

'ctype'=>'knoxbruhh11' 'cvalue'=>'xybcxaxx' `password'=>'sunnysideup1'

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: Solana marie Sorio

79149870

Date: 2024-11-02 02:59:09
Score: 3
Natty:
Report link

ok, I answer it myself after long time no response. I don't know why, but it works after I delete pnpm-lock.yaml.

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

79149869

Date: 2024-11-02 02:58:08
Score: 2.5
Natty:
Report link

As Apple suggest in their docs, you should call AAAttribution.attributionToken() to generate a token then make API call to their server to retreive attributes

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

79149868

Date: 2024-11-02 02:55:08
Score: 0.5
Natty:
Report link
myslide.Shapes.AddOLEObject Filename:=fpath & v1, link:=msoFalse, Displayasicon:=msoTrue, Iconlabel:=summ, IconIndex:=1, IconFileName:="C:\Windows\Installer\{90160000-000F-0000-1000-0000000FF1CE}\xlicons.exe"

This was the set of code that created the objects, but the problem wasn't this. I had some errors in the file names the code was trying to access, like incorrect extension or missing some other separator in the dates of the file name. The only thing I don't understand is why the icon installer was using 2 different icons when it was using the same icon with this path: "C:\Windows\Installer{90160000-000F-0000-1000-0000000FF1CE}\xlicons.exe". That's the one thing I don't understand.

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

79149867

Date: 2024-11-02 02:54:07
Score: 1
Natty:
Report link

from expo site : The SDK 52 beta period begins today and will last approximately two weeks. The beta is an opportunity for developers to test out the SDK and ensure that the new release does not introduce any regressions for their particular systems and app configurations. We will be continuously releasing fixes and improvements during the beta period, some of these may include breaking changes.

SDK 52 beta includes React Native 0.76.0. The full release notes for SDK 52 won't be available until the stable release, but you can browse the changelogs in the expo/expo repo to learn more about the scope of the release and any breaking changes. We'll merge all changelogs into the root CHANGELOG.md when the beta is complete.

https://expo.dev/changelog/2024/10-24-sdk-52-beta

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

79149860

Date: 2024-11-02 02:51:07
Score: 0.5
Natty:
Report link

When you created the new data directory, MongoDB didn't automatically migrate the existing data from the old directory. This is because MongoDB stores its data in a specific directory, and it expects the data to be in the correct format.

mongod --repair
mongodump -d your_database_name
mongorestore -d your_database_name /path/to/backup
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: Ajibola Bello

79149859

Date: 2024-11-02 02:50:06
Score: 0.5
Natty:
Report link

you can also achive this with Stream :

IntStream.rangeClosed(1, 10)
.forEach(i -> {
    System.out.println(
        Collections.nCopies(i, String.valueOf(i))
            .stream()
            .collect(Collectors.joining(" "))
    );
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mohamed amine ben hassen

79149858

Date: 2024-11-02 02:48:06
Score: 2
Natty:
Report link

Elementor - 3.25.3

You just need to head to Elementor's Settings > Features tab > Section: Stable Features and disable the option named Inline Font Icons

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

79149856

Date: 2024-11-02 02:47:06
Score: 0.5
Natty:
Report link

There are two issues associated with your post:

  1. Corrupted Package Files: The CondaVerificationError suggests some files expected within Pytorch are either missing or corrupted. It is either the package installation process was interrupted or incorrectly downloaded.
  2. **Path Conflict: ** The error ClobberError suggest that there is an issue with the file path used. Such error occurs when two try to install files to the same location. In this case the conflict is between jpeg and lipjpeg-turbo, both of which want to use the bin and include folders or directories.

Please take the following steps to resolve the issues:

  1. Clear conda package cache to remove potentially corrupted files. Use the code (bash) conda clean --all
  2. To ensure that you using the latest version of conda, use the update Conda using this code: (bash) conda update conda . This is likely to fix the compatibility issues.
  3. Attempt the installation again by reinstalling with the original command. This is the code conda install pytorch==2.2.0 torchvision==0.17.0 pytorch-cuda=12.1 -c pytorch -c nvidia
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Oladimeji Kazeem

79149854

Date: 2024-11-02 02:46:05
Score: 2.5
Natty:
Report link

Try adding an @ComponentScan(basePackages = {"com.xx.xx"}) scan to the entry xxxApplication class of the module reporting the error. I guess the error is caused by not scanning classes or interfaces in other modules.

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

79149830

Date: 2024-11-02 02:28:02
Score: 0.5
Natty:
Report link

A weak symbol will yield "Missing ELF symbol" in gdb. In my case, I linked a binary A against a shared lib B, in which A references weak symbol g_var which defined in B. The unexpected behavior is: the linker auto removed B from the linking libs.

My solution was to add -Wl,--no-as-needed to link options.

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

79149828

Date: 2024-11-02 02:25:01
Score: 1
Natty:
Report link

I think you just have to grant access to your tables or extensions, this has worked for me. GRANT SELECT, INSERT, UPDATE, DELETE ON ALL TABLES IN SCHEMA public TO authenticated; GRANT SELECT, INSERT, UPDATE, DELETE ON ALL TABLES IN SCHEMA public TO anon;

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

79149820

Date: 2024-11-02 02:11:59
Score: 1
Natty:
Report link

windows console doesn't support Georgian symbols, you can try run your code in built-in console in your ide (i'm using Jetbrains CLion) using next code.

#include <iostream>
#include <windows.h>

int main() {
    SetConsoleOutputCP(CP_UTF8);
    std::cout << "შეიყვანე პირველი ციფრი : ";
    return 0;
}

image description here

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

79149819

Date: 2024-11-02 02:09:58
Score: 0.5
Natty:
Report link

The idea is in order, however you could apply this approach:

  1. Group Level 1 - Group by number of rows: This is straight - forward and effective. It helps ensures that the sample includes dataframes of different lengths, which could represent various intervals or scales.
  2. Group Level 2 - Group by days using DBSCAN: DBSCAN clustering for days is a good choice because of its robustness for non-uniform data distribution, including arbitrary shapes.
  3. Group Level 3 - Group by parameter values using DBSCAN: Your choice on this is also good. DBSCAN will capture clusters of similar parameter values. Feature scaling be applied (you may try MinMaxScaler) to ensure that each parameter p1, p2, p3 are treated equally in terms of clustering influence. Note that DBSCAN is sensitive to the scale of the input data.
  4. Group Level 4 - Sampling from GL3 Groups: Use Random Sampling for GL3 group to ascertain broad representation. In order to prevent oversampling from certain clusters, diversity could be a choice. To achieve this, you could stratify with additional metadata (you could possibly use avearage or range of days within each GL3 group).
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Oladimeji Kazeem

79149807

Date: 2024-11-02 01:57:56
Score: 3.5
Natty:
Report link

echo "Secret: "${{ secrets.My_Seceret }} | base64

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

79149805

Date: 2024-11-02 01:55:55
Score: 0.5
Natty:
Report link

For Xcode 16

~/Library/Developer/Xcode/UserData/Provisioning Profiles

Remove Update

rm -rf ~/Library/Developer/Xcode/UserData/Provisioning\ Profiles

Ref:https://github.com/xamarin/xamarin-macios/issues/20771

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

79149795

Date: 2024-11-02 01:43:54
Score: 2.5
Natty:
Report link

Velo Credit Loan App Customer Care Helpline Number =(O)}((+7439822246=))℅+/{+9346281901+} Call meVelo Credit Loan App Customer Care Helpline Number =(O)}((+7439822246=))℅+/{+9346281901+} Call me

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

79149794

Date: 2024-11-02 01:42:53
Score: 3.5
Natty:
Report link

This is a bug and anyone getting this please open a bug report

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

79149788

Date: 2024-11-02 01:31:52
Score: 0.5
Natty:
Report link

Theres no configuration in airflow.cfg to make this act like Apache Kafka, Until Airflow decide to add a config for log retention policy, I usually try not to make things in Airflow complicated to maintain so I pick this easy route so Systems team or Data Analysts in the team can maintain it with less of a senior developer experience.

Usually you go for deleting logs or obsolete DAG_RUN deletion to save space or make Airflow load dags faster and for that you need to make sure Airflow's integrity is not harmed(learned the hard way), while you make unorthodox changes.

Logs in Airflow can be in 3 places, backend DB, log folder(dag logs, scheduler logs, etc) , remote location(not needed in 99% of times).

Make sure to delete old DAG RUNS first and in Database, mine is Postgres and bellow SQL has a purpose and thats to keep me latest 10 "runs" and delete the rest.

Step 1: Deleting data in Backend database(to make airflow faster in loads)

   WITH RankedDags AS (
        SELECT id,  
               ROW_NUMBER() OVER (PARTITION BY dag_id ORDER BY execution_date DESC) AS rn
        FROM public.dag_run
        WHERE (state = 'success' OR state = 'failed')
    )
    DELETE FROM public.dag_run
    WHERE id IN (
        SELECT id
        FROM RankedDags
        WHERE rn > 10
    );

You can also pick a date and instead of above, use the result of a select query like bellow to only delete the old ones, I usually dont do this as I have dags that run each year or month and I want to know how those looked in their first run:

 SELECT *
FROM public.dag_run f
WHERE (f.state = 'success' OR f.state = 'failed')
  AND DATE(f.execution_date) <= CURRENT_DATE - INTERVAL '15 days';

Step 2: remove the scheduler logs(these are the logs that waste so much space and dont worry, nothing is gonna happen) Just dont delete the folder that has 'latest' shortcut

root@airflow-server:~/airflow/logs/scheduler# ll
drwxr-xr-x 3 root root 4096 Sep 24 20:00 2024-09-25
drwxr-xr-x 3 root root 4096 Sep 25 20:00 2024-09-26
drwxr-xr-x 3 root root 4096 Sep 26 20:00 2024-09-27
drwxr-xr-x 3 root root 4096 Sep 30 10:57 2024-09-30
drwxr-xr-x 7 root root 4096 Oct 31 20:00 2024-11-01
lrwxrwxrwx 1 root root   10 Oct 31 20:00 latest -> 2024-11-01

# rm -rf 2024-09-*

Now you have at least 80% of your logs deleted and must be satisfied, but if you want to go further you can write a bash script to traverse through your /root/airflow/logs/dag_id* to find folders or files within those that have old modified data. even if you past the Step 1 and 2 and you delete the dirs mentioned you only lose the details of logs within each task instance logs.

Also you can take measures like changing all log levels to 'ERROR' inside airflow.cfg to lighten the app.

You can always make above steps into an ETL to run automatically, but as disk is cheap and 30GB disk can easily store more than 10,000 complex dag_runs with heavy spark logs, you really just need to spend 30 minutes every other month to clean the scheduler logs.

Reasons:
  • Blacklisted phrase (1): I want to know
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
Posted by: Aramis NSR

79149787

Date: 2024-11-02 01:31:52
Score: 2
Natty:
Report link

For somebody facing the same issue at this day and age (been 9 years since the question was asked), JScript has a builtin Array.prototype.at() that serves that exact purpose, so, from the OP's code:

For i = 0 To myArray.length - 1
    Response.Write(myArray.at(i))
Next

Without any need for extra-do's. I think this should have worked back when the question was asked as I believe the implementation hasn't changed ECMA edition since then.

For what Microsoft claims, JScript is an implementation of ECMAScript3 (web archive), so hopefully anything in MDN that claims to be ECMAScript3 compatible should work in JScript and even nowadays MDN is a great (and up-to-date!) reference for JScript syntax.

Maybe the very best, maintained, and specific documentation for ECMAScript edition 3, or ECMA-262 is available at https://tc39.es/ecma262/

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

79149784

Date: 2024-11-02 01:30:51
Score: 2
Natty:
Report link

I wrote a small C program that lists all Windows locales, LCID, and associated character encodings (and windows code pages).

The code is available on Github: https://github.com/lovasoa/lcid-to-codepage

The resulting exhaustive mapping between LCID and charset is visible here as a CSV: https://github.com/lovasoa/lcid-to-codepage/blob/main/windows_locales_extended.csv

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

79149773

Date: 2024-11-02 01:15:49
Score: 1.5
Natty:
Report link

Currently, the View() function in R does not have the ability to show id when you scroll to the right But if you really need it, you can duplicate the id column and put it in a later column order

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

79149772

Date: 2024-11-02 01:12:48
Score: 2.5
Natty:
Report link

This helps specially to those Delphi beginners learning the cloud storage and its accessibility. And at the same time providing further direction to actual video reference on how to actually complete the task.

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

79149770

Date: 2024-11-02 01:12:48
Score: 3
Natty:
Report link

It's working for me after I removed my phone number from phone numbers for testing (optional) from sign-in methods and also my plan is Blaze.

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

79149757

Date: 2024-11-02 00:56:46
Score: 4
Natty:
Report link

The Milvus Java SDK has it https://milvus.io/api-reference/java/v2.4.x/v2/Client/MilvusClientV2.md

Either option is a good option.

I created an issue in the langchain4j project, please add to it.

https://github.com/langchain4j/langchain4j/issues/2020

Reasons:
  • RegEx Blacklisted phrase (1): I created an issue in the langchain4j project, please
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Tim Spann

79149756

Date: 2024-11-02 00:55:46
Score: 3.5
Natty:
Report link

https://gitlab.alpinelinux.org/alpine/aports/-/issues/9191

Alpine uses musl, which does not implement required bindings for gprof

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

79149718

Date: 2024-11-02 00:20:40
Score: 1.5
Natty:
Report link

sagemaker.huggingface.HuggingFaceModel can handle S3 path for the model_data argument, as explained in this sample.

As you are using custom image with image_uri, it is likely that the image is not compatible with the SageMaker, and it is not trying to handle entry point script you specified.

To isolate the problem, please try to change your code to use SageMaker's official image. Then investigate why your custom image is not loading the entry point script.

See also:

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): can
  • Low reputation (0.5):
Posted by: Tomonori Shimomura

79149703

Date: 2024-11-02 00:05:38
Score: 2
Natty:
Report link

That message usually suggests that you have a problem with your cache or cookies, so try pressing Ctrl + F5 to load all website files from the source, ignore the cache, or clear the browser cache.

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

79149702

Date: 2024-11-02 00:05:38
Score: 2.5
Natty:
Report link

Did you set a minimum instance? If so, even if you are under the free tier, you need to add a valid billing account.The new version, are basically cloud run functions in GCP, when you upgrade you need to have a valid billing account.

Details: https://firebase.google.com/docs/functions/version-comparison

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (0.5):
Posted by: Chaotic Pechan

79149690

Date: 2024-11-01 23:57:36
Score: 0.5
Natty:
Report link

I suggest double-checking the permissions for your target project.

roles/cloudsql.editor (or roles/cloudsql.admin): Confirm this role is assigned to your service account in the target project (preprod_id). This role is crucial for creating new Cloud SQL instances.

If you are sure this is done correctly, review whether you have VPC access controls and grant necessary access within the perimeter.

You can review the permissions of a project:

gcloud projects get-iam-policy $preprod_id --flatten="bindings[].members"
--format='table(bindings.role:sort=1, bindings.members)'

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

79149686

Date: 2024-11-01 23:54:36
Score: 2
Natty:
Report link

I decided the best solution to this problem was to refresh the project workspace but this solution didn't get to the bottom of the issue why the tests were not running in Intellij.

The steps I took were:

  1. Checked in my code changes into the project on GITHub.
  2. Deleted the project from my workspace.
  3. Restored the project workspace from the GITHub.
  4. Checked out the project branch I was working on.

This has resolved the problem and Intellij tests now run.

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

79149683

Date: 2024-11-01 23:50:33
Score: 6.5 🚩
Natty: 5.5
Report link

Yep, that works... but what if there are 8000 items?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Ibra

79149681

Date: 2024-11-01 23:49:32
Score: 4.5
Natty: 4
Report link

Ain't no way Darth Vader in that class

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

79149677

Date: 2024-11-01 23:44:29
Score: 7 🚩
Natty: 4.5
Report link

We do not have the mode set as a developer, and the setup is the same as described here: developer.apple.com/library/archive/documentation/General/… but it still does not work for enterprise. Has anyone ever found a solution?

Reasons:
  • RegEx Blacklisted phrase (3): Has anyone ever
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Dragon123

79149674

Date: 2024-11-01 23:43:28
Score: 2
Natty:
Report link

Have you tried adding 1 to the binary indicators (so that they're 1/2 respectively)? Not sure if the same applies here, but LCA models that I've run in poLCA have issues with zeros in the dataset.

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: MRW

79149670

Date: 2024-11-01 23:41:28
Score: 2
Natty:
Report link

Try using route.request

def handle_request(route):
    headers = route.request.headers
    if "match_string" in route.request.url:
        headers['custom_header_1'] = 'value_!23'
    route.continue_(headers=headers)

See also this sample from the official documentation:

https://playwright.dev/python/docs/network#modify-requests

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