79425256

Date: 2025-02-09 16:37:16
Score: 1
Natty:
Report link

I was stupid and I was tagging the commit without it. Feel embarrassed

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

79425250

Date: 2025-02-09 16:33:14
Score: 2
Natty:
Report link

Нашел решение, нужно было написать свой загрузчик файлов для запросов через fetch, потому что capacitor блокирует XMLhttp запросы и поставить в upload как кастомный метод:

const handleCustomRequest = async ({ file, onSuccess, onError }, eventId) => {
console.log("Отправка файла вручную:", file);

if (!eventId) {
  console.error("Ошибка: eventId отсутствует");
  onError(new Error("Ошибка: eventId отсутствует"));
  return;
}

const formData = new FormData();

// Принудительно закодируем имя файла в UTF-8
const encodedFileName = new Blob([file], { type: file.type });

formData.append("file", encodedFileName, encodeURIComponent(file.name)); // Кодируем имя файла

try {
  const response = await fetch(
    `${process.env.REACT_APP_API_URL}/api/Photo?event_id=${eventId}`,
    {
      method: "POST",
      body: formData,
    }
  );

  if (!response.ok) throw new Error(`Ошибка: ${response.statusText}`);

  console.log("Файл успешно загружен!");
  onSuccess();
} catch (error) {
  console.error("Ошибка при загрузке файла:", error);
  onError(error);
}

};

<Upload
    customRequest={(options) => handleCustomRequest(options, event.id)}
    listType="picture-card"
    showUploadList={false}
    multiple={true}
    onChange={handleUploadChange(event.id)} // Обработчик изменения состояния загрузки
  >
    <button style={{ border: 0, background: "none" }} type="button">
      <PlusOutlined />
      <div style={{ marginTop: 8 }}>Добавить файлы</div>
    </button>
  </Upload>
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: Вадим Дементьев

79425247

Date: 2025-02-09 16:33:14
Score: 0.5
Natty:
Report link

Just add the key pixels with pure magenta color (255, 0, 255) or {1,0,1}: https://love2d.org/forums/download/file.php?id=23260

In this example glyphs are:

local glyphs = " abcdefghijklmnopqrstuvwxyz" ..
    "ABCDEFGHIJKLMNOPQRSTUVWXYZ0" ..
    "123456789.,!?-+/():;%&`'*#=[]\""

Just cut the line that you need to use.

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

79425242

Date: 2025-02-09 16:28:14
Score: 2.5
Natty:
Report link

Start training with:

python main.py

You can manually resume the training with:

python main.py --resume --lr=0.01

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tên Ko

79425234

Date: 2025-02-09 16:22:12
Score: 0.5
Natty:
Report link

Hello/\I will*/money<>is>?the{}campeny][myL:about|{ceo+)campeny*help^^^you~`to(*make^|more//money/^fromYUnow)(on.<{?do:"you want>:to?}invest|@with>}me}{+sir<

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/react/18.3.1/umd/react.production.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react-dom/18.3.1/umd/react-dom.production.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/3.4.3/vue.global.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/knockout/2.1.0/knockout-min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/7.8.2/d3.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.8.0/angular.min.js"></script>color green
yes

.>and.money is earth

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Black adam Pink goo

79425233

Date: 2025-02-09 16:21:12
Score: 3
Natty:
Report link

I had a silly bug in that the ProcessPoolExecutor was getting recreated for each request and I believe that was causing the hanging problem as a new request could disrupt one that is already running. Make sure the pool is created only once and reused by multiple requests.

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

79425220

Date: 2025-02-09 16:17:11
Score: 0.5
Natty:
Report link

In my case, github failed when I was connected to a VPN. On disconnecting my VPN and then killing and rerunning the clone again it worked

Lots of sites seem to dislike bitdefender VPN servers

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Eloise

79425215

Date: 2025-02-09 16:13:10
Score: 0.5
Natty:
Report link

Let me offer a solution that works even if the bash script ends with new line and the directory it resides in also does.

src=$(readlink -f -- "${BASH_SOURCE[0]}"; echo -n .); src="${src%??}"; src=$(dirname "$src"; echo -n .); src="${src%??}"; cd "$src"

or more verbose

src=$(readlink -f -- "${BASH_SOURCE[0]}" && echo -n .)
src="${src%??}"
src=$(dirname "$src" && echo -n .)
src="${src%??}"
cd "$src"

The echo -n . ensures the new lines do not get stripped by the command substitution "$(…)". The src="${src%??}" removes that extra dot and the last new line, which will be added by both readlink and dirname, thus leaving only the real path, even with new lines at the end.

Many thanks to everyone else who pointed out the use of "${BASH_SOURCE[0]}" instead of "$0". Are there any corner cases I am missing here (except readlink and dirname not being available)?

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Doncho Gunchev

79425214

Date: 2025-02-09 16:11:09
Score: 5.5
Natty: 4
Report link

In this video, it is explained clearly, if it can help https://www.youtube.com/watch?v=DrmxYYC_hbo

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): this video
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: silvanasono

79425212

Date: 2025-02-09 16:11:09
Score: 2.5
Natty:
Report link

I'm guessing mixing different link-layer type into a single pcap_dumper_t is probably not a good idea

"Not a good idea" as in "impossible", to be precise.

A pcap_dumper_t can have only one link-layer type because it writes out a pcap file, which has only one link-layer type recorded in the file's header. That means that all packets in that file will be interpreted by programs reading that file (tcpdump, Wireshark, etc.) as if they had the link-layer type. For example, if the type is LINKTYPE_ETHERNET/DLT_EN10MB, all packets will be interpreted as if they were Ethernet packet, even if they aren't, so all non-Ethernet packets, such as LINKTYPE_LINUX_SLL/DLT_LINUX_SLL packets, will be misinterpreted.

is there any good practices for my use case ? For instance should I check that all my interfaces uses the same link-layer to prevent dump issues ?

Yes, you should.

is there a way to convert a packet into a particular link-layer format before dump ?

No simple way. If your software knows the format of the link-layer headers for all the link-layer format, you may be able to remove non-matching link-layer headers and add a matching link-layer header. It might be straightforward to convert LINKTYPE_ETHERNET/DLT_EN10MB packets to LINKTYPE_LINUX_SLL/DLT_LINUX_SLL packets, for example.

would the pcapng format be useful in my case ?

Yes.

but it seems libpcap is only able to read pcapng and not write it.

Yes. You would have to write your own code to write pcapng files.

Reasons:
  • Blacklisted phrase (1): is there a way
  • Blacklisted phrase (1): is there any
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user29571306

79425200

Date: 2025-02-09 16:05:07
Score: 1
Natty:
Report link

For your logs the problem is import error of _ctypes the same thing with this stack question

from the answers there's no need to uninstall your operating system According to mbdev installing libffi-dev and python 3.7 this would resolve the problem

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

79425198

Date: 2025-02-09 16:03:07
Score: 2.5
Natty:
Report link

Thank you! This worked for me.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-1): This worked for me
  • Whitelisted phrase (-1): worked for me
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tad Osborn

79425197

Date: 2025-02-09 16:00:06
Score: 0.5
Natty:
Report link

I had a very similar issue which came down to Webstorm's type narrowing. I was using neverthrow in a Turbo monorepo. To fix, I had to direct WebStorm to my tsconfig base file.

  1. Go to Settings -> languages & frameworks -> Typescript
  2. add -p ./packages/typescript-config/base.json (or the location to your base tsconfig file) in the Options

With IntelliJ I found that often the idea gets confused and I need to either restart ide or invalidate cache...

Hope this helps anyone who was in the same boat as me

Reasons:
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-1): Hope this helps
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: James

79425196

Date: 2025-02-09 16:00:06
Score: 1
Natty:
Report link

Another way to do it in pyspark:

import pyspark.sql.functions as F

df.select(F.expr("* EXCEPT( COLUMN 1, COLUMN 2)")))

or

df.selectExpr("* EXCEPT( COLUMN 1, COLUMN 2))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dhruv

79425195

Date: 2025-02-09 15:59:06
Score: 1
Natty:
Report link

Another way to do it in pyspark:

import pyspark.sql.functions as F

df.select(F.expr("* EXCEPT( COLUMN 1, COLUMN 2)"))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dhruv

79425194

Date: 2025-02-09 15:59:05
Score: 6 🚩
Natty:
Report link

@Koen, thank you for suggestion. Since Oracle does not support lookahead nor lookbehind, as pointed out by @Fravodona, we implemented APEX_DATA_PARSER and this did the trick. Thanks All.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Koen
  • User mentioned (0): @Fravodona
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Day

79425192

Date: 2025-02-09 15:59:05
Score: 1.5
Natty:
Report link

Add the following lines to analysis_options.yaml:

linter:
  rules:
    prefer_const_constructors: true
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sujay Paul

79425185

Date: 2025-02-09 15:56:04
Score: 0.5
Natty:
Report link

You don't need to override MappingAerospikeConverter bean, it is enough to use customConverters() method if there is custom conversion logic involved.

You can use configuration properties directly with less boilerplate code.

No need to create AerospikeClient bean, it is created by Spring Data Aerospike. You set ClientPolicy through getClientPolicy() method in your configuration class.

This is what the configuration you posted can look like:

@Configuration
@EnableAerospikeRepositories(basePackageClasses = {CacheableFileEntityRepository.class})
public class AerospikeConfig extends AbstractAerospikeDataConfiguration {


@Override
protected ClientPolicy getClientPolicy() {
    ClientPolicy clientPolicy = super.getClientPolicy(); // applying default values first
    clientPolicy.readPolicyDefault.replica = Replica.MASTER;
    clientPolicy.readPolicyDefault.readModeAP = ReadModeAP.ONE;
    clientPolicy.writePolicyDefault.commitLevel = CommitLevel.COMMIT_ALL;
    clientPolicy.readPolicyDefault.socketTimeout = readTimeout;
    clientPolicy.readPolicyDefault.totalTimeout = totalTimeout;
    clientPolicy.writePolicyDefault.socketTimeout = writeTimeout;
    clientPolicy.writePolicyDefault.totalTimeout = totalTimeout;
    clientPolicy.maxSocketIdle=maxSocketIdle;
    clientPolicy.timeout=connectionTimeout;
    return clientPolicy;
}

@Override
protected List<Object> customConverters() {
    // return List of converters instances here if needed
}

@Bean
public AerospikeCacheManager cacheManager(AerospikeClient aerospikeClient) {
     AerospikeCacheConfiguration defaultConfiguration = new AerospikeCacheConfiguration("tax_registration");
     return new AerospikeCacheManager(aerospikeClient, mappingAerospikeConverter, defaultConfiguration);
     }
}

Can you provide a link to a sample project on GitHub maybe? I was able to run a sample demo with both Redis 3.4.2 and Aerospike 5.0.0.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • RegEx Blacklisted phrase (2.5): Can you provide
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: nrp

79425176

Date: 2025-02-09 15:51:03
Score: 2
Natty:
Report link

This change to the headers object did the trick!

responseType: 'json' as 'json'
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Darren Gates

79425164

Date: 2025-02-09 15:41:01
Score: 1
Natty:
Report link

Based on answere by Pierre Burton Without named const:

L.marker(//...)
   .on('add', (e) => e.target.getElement().setAttribute('id', customId));

Can be used also for data attributes.

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

79425160

Date: 2025-02-09 15:39:00
Score: 2
Natty:
Report link

Maybe, you have to make sure range%stepSize=0[in your exp(800-100)%200 = 100] If it is not divisible, it will be counter-intuitive to the user, maybe you should consider whether to modify the product design

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

79425156

Date: 2025-02-09 15:37:00
Score: 1.5
Natty:
Report link

I had the same problem after I run "Git add ." I lose all the files and here's how i restored lost files with this command :

git stash apply stash@{0}

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Soufiane Fathaoui

79425152

Date: 2025-02-09 15:34:58
Score: 10 🚩
Natty:
Report link

I have the same problem, on the device or simulator the application starts but after eas builds the abb file and uploads it to google in the application testing phase. After downloading and running on the phone a white screen starts with an icon in the middle and does not want to go further. I use expo 52.0.31i react native 76.6 because on 76.7 the application does not want to be built by eas on the expo account. This is related to this introduced splash screen. I do not know how to solve it in android.

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Blacklisted phrase (1): how to solve
  • RegEx Blacklisted phrase (2): I do not know how to solve
  • RegEx Blacklisted phrase (2): know how to solve
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Impact

79425151

Date: 2025-02-09 15:32:58
Score: 3.5
Natty:
Report link

It will definitely help you it sonveed even nested array and object json to convert it in mongoose schema https://craftydev.tools/json-node-mongoose-schema-converter

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

79425148

Date: 2025-02-09 15:32:58
Score: 3
Natty:
Report link

I have the same issue with Dialog associated to Dropdown component.

Here is the error code I get in console :

Blocked aria-hidden on an element because its descendant retained focus. The focus must not be hidden from assistive technology users. Avoid using aria-hidden on a focused element or its ancestor. Consider using the inert attribute instead, which will also prevent focus

And I see in elements inspector than the body element receive this after closing Dialog :

style: "pointer-events: none;"

My code here :

    const renderDialogContent = () => {

    if(!action) return null;

    const { value, label } = action

    return (
        <DialogContent className="shad-dialog button">
            <DialogHeader className="flex flex-col gap-3">
                <DialogTitle className="text-center text-light-100">{label}</DialogTitle>
                {value === "rename" && (
                    <div className="flex flex-row">
                        
                        <InputRenameLeft
                            type="text"
                            value={name}
                            onChange={(e) => setName(e.target.value)}
                        />
                        <InputRenameRight
                            type="text"
                            value={"."+file.extension}
                            disabled
                            className="!cursor-default !select-none"
                        />

                    </div>

                )}

                {value === "details" && (
                    <FileDetails file={file} />
                )}

                {value === "share" && (
                    <ShareInput users={users} file={file} onInputChange={setEmails} onRemove={handleRemoveUser} isRemoving={isRemoving} id={id} isSubmitted={isLoading}/>
                )}

                {value === "delete" && (
                    <p className="delete-confirmation">
                        Are you sure to delete {` `}
                        <span className="delete-file-name">{file.name}</span>&nbsp;?
                    </p>
                )}
            </DialogHeader>
            {value === "share" && (
                <DialogFooter className="flex flex-col gap-3 md:flex-row">
                    <Button onClick={closeAllModals} className="modal-cancel-button">
                        Cancel
                    </Button>
                    <Button onClick={handleAction} className="modal-submit-button" disabled={isLoading || emails.length === 0}>
                        <p className="capitalize">{value}</p>
                        {isLoading && (
                            <Image src="/assets/icons/loader-white.png" alt="loader" width={24} height={24} className="animate-spin"/>
                        )}
                    </Button>
                </DialogFooter>
            )}
            {value === "rename" && (
                <DialogFooter className="flex flex-col gap-3 md:flex-row">
                    <Button onClick={closeAllModals} className="modal-cancel-button">
                        Cancel
                    </Button>
                    <Button onClick={handleAction} className="modal-submit-button" disabled={isLoading || name === file.name.replace(`.${file.extension}`, '')}>
                        <p className="capitalize">{value}</p>
                        {isLoading && (
                            <Image src="/assets/icons/loader-white.png" alt="loader" width={24} height={24} className="animate-spin"/>
                        )}
                    </Button>
                </DialogFooter>
            )}
            {value === "delete" && (
                <DialogFooter className="flex flex-col gap-3 md:flex-row">
                    <Button onClick={closeAllModals} className="modal-cancel-button">
                        Cancel
                    </Button>
                    <Button onClick={handleAction} className="modal-submit-button" disabled={isLoading}>
                        <p className="capitalize">{value}</p>
                        {isLoading && (
                            <Image src="/assets/icons/loader-white.png" alt="loader" width={24} height={24} className="animate-spin"/>
                        )}
                    </Button>
                </DialogFooter>
            )}
        </DialogContent>
    )
}

return (
    <Dialog open={isModalOpen} onOpenChange={(isOpen) => { setIsModalOpen(isOpen); if (!isOpen) closeAllModals(); }}>
        <DropdownMenu open={isDropdownOpen} onOpenChange={setIsDropdownOpen}>
        <DropdownMenuTrigger className="shad-no-focus transition-all duration-200 hover:text-brand"><IoEllipsisVertical /></DropdownMenuTrigger>
        <DropdownMenuContent>
        <DropdownMenuLabel className="max-w-[200px] truncate">{file.name}</DropdownMenuLabel>
        <DropdownMenuSeparator />
        {actionsDropdownItems.map((actionItem) => (
            <DropdownMenuItem key={actionItem.value} className="shad-dropdown-item" onClick={() => {
            setAction(actionItem)

            if(["rename", "share", "delete", "details"].includes(actionItem.value)) {setIsModalOpen(true)}
            }}>

            {actionItem.value === "download" ?
            (<Link href={constructDownloadUrl(file.bucketFileId)} download={file.name} className="flex items-center gap-2">
                <Image src={actionItem.icon} alt={actionItem.label} width={30} height={30}/>
                {actionItem.label}
            </Link>)
            :
            (
                <div className="flex items-center gap-2">
                <Image src={actionItem.icon} alt={actionItem.label} width={30} height={30}/>
                {actionItem.label}
                </div>
            )
            }
            </DropdownMenuItem>
        ))}
        </DropdownMenuContent>
        </DropdownMenu>

        {renderDialogContent()}
    </Dialog>
    
)
Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (1):
Posted by: Empty iOS

79425141

Date: 2025-02-09 15:25:56
Score: 1.5
Natty:
Report link

Hot restarts can lead to multiple active listeners or streams if they're not properly managed, resulting in duplicated data.

When you perform a hot restart, the Flutter framework destroys and recreates the widget tree but doesn't automatically dispose of existing streams or listeners. This behavior can cause multiple streams or listeners to remain active, leading to duplicated data in your application.

u can read more about this issue #33678

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

79425140

Date: 2025-02-09 15:21:55
Score: 5
Natty: 6.5
Report link

Just install this plugin to your wordpress and set the limit to the one you want: https://wordpress.org/plugins/wp-maximum-upload-file-size/

Reasons:
  • Blacklisted phrase (1): this plugin
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Cipri

79425121

Date: 2025-02-09 15:11:51
Score: 7 🚩
Natty:
Report link

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

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

79425117

Date: 2025-02-09 15:09:50
Score: 0.5
Natty:
Report link

The launchMissilesAt example would in F# be something like:

type Country = BigEnemy | MediumEnemy | PunyEnemy | TradePartner | Ally | BestAlly

let launchMissilesAt country =
    printfn "bombed %A" country

(*
GFunc
type GFunc<'R> =
    abstract Invoke : 'T -> 'R
*)

// inspired by GFunc 
type ElementPicker =
    abstract Pick : 'T list -> 'T

let g =
    {new ElementPicker with
        member this.Pick(xs) = xs |> List.head }    // or something alike

//let g =
//    {new ElementPicker with
//        member this.Pick(_) = BestAlly }
//This expression was expected to have type
//    ''a'    
//but here has type
//    'Country'    

let f = launchMissilesAt <| g.Pick [BigEnemy; MediumEnemy; PunyEnemy]
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Ed van Gageldonk

79425112

Date: 2025-02-09 15:06:49
Score: 2
Natty:
Report link

It appears that caching is a big problem in pytest. I needed to run the command with --cache-clear to fix my issues. pytest test_project.py -v -s --cache-clear

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

79425110

Date: 2025-02-09 15:05:48
Score: 5.5
Natty:
Report link

I heard of this lib recently check it out https://www.npmjs.com/package/eventar

Reasons:
  • Blacklisted phrase (0.5): check it out
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Aryan

79425092

Date: 2025-02-09 14:52:46
Score: 2
Natty:
Report link

To use adb with an IPv6 address, you need to properly format the address. Since expects an IPv6 address to be enclosed in square brackets ([]):

adb -H [ffff:1111:1111:1:1:111:111:111] -P 27231 devices
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: rozsazoltan

79425069

Date: 2025-02-09 14:38:43
Score: 1
Natty:
Report link

You can use a querySelector for the component you want to interact inside a iframe from the doom after Iframe gets loaded in that way you can wrap an iframe and customize it, in this case you could listen to the events you desire.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mentasuave01

79425068

Date: 2025-02-09 14:35:43
Score: 2
Natty:
Report link

open form1.h (or your own form file) as code < >, copy namespase from it ( CppCLRWinFormsProject , as example ) find the project file (.vcproj) in project folder --> open it with Notepad --> find tag --> change value to copied namespase --> save and reload this file in Visual Studio (or reopen your project).

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Олександр Добржанський

79425067

Date: 2025-02-09 14:34:43
Score: 1.5
Natty:
Report link

A more easy way is to pipe that command

find ./* | grep trickplay | xargs rm -rf

this command will delete all trickplay folders

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

79425051

Date: 2025-02-09 14:26:41
Score: 2.5
Natty:
Report link

On Android 14 (not sure about older versions), there is a 'First day of week' setting under System -> Languages -> Regional preferences.

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

79425022

Date: 2025-02-09 14:04:36
Score: 3.5
Natty:
Report link

@RequestBody List<@Valid CompanyTag> categories;

instead of focusing on @Valid List, focus on the object itself like List.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @RequestBody
  • User mentioned (0): @Valid
  • Low reputation (1):
Posted by: Ashar Shahab

79425019

Date: 2025-02-09 14:02:36
Score: 1.5
Natty:
Report link

In my case was enough to add namespace

use function Illuminate\Support\defer;
.
.
defer()

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

79425018

Date: 2025-02-09 14:02:36
Score: 0.5
Natty:
Report link

You can change the app's heap space by changing the launch configuration. You can add in the VM options the -Xmx7000m.

The change you did before in the studio.vmoptions is for the IDE itself.

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

79425011

Date: 2025-02-09 13:56:35
Score: 1.5
Natty:
Report link

for people stumbling here - it must have been recently but Google Docs support markdown pasting now.

https://support.google.com/docs/answer/12014036

  1. Copy the Markdown content to your clipboard
  2. On your computer, open a document in Google Docs.
  3. Right-click and select Paste from Markdown. The Markdown will be converted to Google Docs content and be pasted.
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: zuber

79425008

Date: 2025-02-09 13:53:34
Score: 1
Natty:
Report link

It seems to have been a problem with Google Play's signing...

I released an app update to play store on on feb 6th, which crashed on Android 12 devices.

It also crashed when downloaded from Firebase App Distribution as AAB. But worked well as APK.

Even building from older commits that has worked before, gave me the same issue.

Today, feb 9th, I tried to upload the same build again to Firebase App Distribution as AAB, and now it works on Android 12 devices.

Apparently, they have fixed the issue, but the apps that were uploaded when the issue was present, are still affected until you upload a new build.

Where can we expect to read a statement from google about this?

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Esben von Buchwald

79425004

Date: 2025-02-09 13:53:34
Score: 1
Natty:
Report link

Install n: npm install n from npm

After installing n successfully, install node 14:

sudo n download 14

Checkout to node 14:

sudo n and choose node 14.

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

79424996

Date: 2025-02-09 13:52:34
Score: 2
Natty:
Report link

Both of the following lines of code will return the file name with its extension including the full path of the file on the client.

FileUpload1.PostedFile.FileName;

Directory.GetFiles();

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: TAN YEW MENG

79424991

Date: 2025-02-09 13:47:33
Score: 0.5
Natty:
Report link

The following worked for me on macOS.

brew services restart mongodb-community
Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Baboucarr Badjie

79424987

Date: 2025-02-09 13:46:33
Score: 1
Natty:
Report link

iam using nativewind with expo and i had the error as well. after hours of debugging. i downgraded some packages and it worked. i just didnt recognized because the updates were done weeks ago and i just tested the web version which was somehow working.

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

79424985

Date: 2025-02-09 13:45:32
Score: 1
Natty:
Report link

Thanks to Elli's idea:

def find_all_indices(string, find):
  return [i for i in range(len(string)) if string[i:i+len(find)] == find]

print(find_all_indices('How much wood would a wood chuck a wood chuck wood?', 'wood'))
# [9, 22, 35, 46]
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ehsan Paknejad

79424981

Date: 2025-02-09 13:42:32
Score: 1.5
Natty:
Report link

I originally came here because I had the same question.

Yes, logging.level.org.springframework.boot.context.config: trace is a good answer, but it's verbose: its output contains much more than this question asks for.

I'm not complaining. The additional information, such as which files would have been loaded if they'd existed ("Skipping missing resource file"), is interesting to me.

Still, for what it's worth, if you want something closer to just the "list of loaded properties files":

@Component
@Slf4j
public class ConfigFileLogger {
    @EventListener
    public void handleContextRefresh(ContextRefreshedEvent event) {
        final Environment env = event.getApplicationContext().getEnvironment();
        final MutablePropertySources sources = ((AbstractEnvironment) env).getPropertySources();
        sources.stream()
            .filter(ps -> ps instanceof OriginTrackedMapPropertySource)
            .forEach(ps -> log.info("{}", ps.getName()));
    }
}

Example output:

Config resource 'file [config/application.yaml]' via location 'config/application.yaml'

Yeah: that whole line, "Config resource ... via location ...", is the name of the property source.

Before you say, "Well, I'm just gonna use a regex to extract the location from that line", here's another example, for a config file that is embedded in the Spring Boot application JAR file:

Config resource 'class path resource [application.yaml]' via location 'optional:classpath:/'

If anyone knows a better, "cleaner" way to get a list of file paths that offers the same context about the location, please post your answer.

OriginTrackedMapPropertySource ?

In case you're wondering how I knew to filter property sources by instanceof OriginTrackedMapPropertySource, I first listed all property sources:

sources.stream()
    .forEach(ps -> log.info("{}", ps));

Example output:

ConfigurationPropertySourcesPropertySource {name='configurationProperties'}
SimpleCommandLinePropertySource {name='commandLineArgs'}
PropertiesPropertySource {name='systemProperties'}
OriginAwareSystemEnvironmentPropertySource {name='systemEnvironment'}
RandomValuePropertySource {name='random'}
OriginTrackedMapPropertySource {name='Config resource 'file [config/application.yaml]' via location 'config/application.yaml''}
OriginTrackedMapPropertySource {name='Config resource 'class path resource [application.yaml]' via location 'optional:classpath:/''}
Reasons:
  • Blacklisted phrase (1): anyone knows
  • Whitelisted phrase (-1): I had the same
  • RegEx Blacklisted phrase (2.5): please post your answer
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: Graham Hannington

79424977

Date: 2025-02-09 13:41:32
Score: 2
Natty:
Report link

You install a debug apk isn't proper flow, You first realse apk generate and after installing reals.apk file install any device so fix this problem without error!, Step :- In the menu bar, click Build > Generate Signed Bundle/APK. Genrate reale.apk and install any device

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

79424963

Date: 2025-02-09 13:34:29
Score: 5
Natty: 6.5
Report link

"I managed to make it work with fedora 389. I created an "enabled" attribute as String and created the corresponding mapper in the federation configuration as "user-attribute-ldap-mapper". Now when I change the "enabled" switch in keycloak the change is propagated to ldap"

Can you please describe how you did this? Thank you. (@kikkauz)

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (2.5): Can you please describe how you
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Lelandi

79424962

Date: 2025-02-09 13:34:29
Score: 0.5
Natty:
Report link

android:fitsSystemWindows

If true, adjusts the padding of this view to leave space for the system windows.

You can manually do that using WindowInsetsListener.

ViewCompat.setOnApplyWindowInsetsListener(appBar) { view, windowInsets ->
    val insets = windowInsets.getInsets(WindowInsetsCompat.Type.statusBars())
    // Apply the insets as padding to the view. Here, set all the dimensions
    // as appropriate to your layout. You can also update the view's margin if
    // more appropriate.
    view.updatePadding(insets.left, insets.top, insets.right, insets.bottom)

    // Return CONSUMED if you don't want the window insets to keep passing down
    // to descendant views.
    WindowInsetsCompat.CONSUMED
}

please refer to:

https://developer.android.com/develop/ui/views/layout/edge-to-edge#system-bars-insets

https://developer.android.com/reference/android/view/View#attr_android:fitsSystemWindows

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ibrahim Zulfiqar

79424956

Date: 2025-02-09 13:29:28
Score: 3.5
Natty:
Report link

Hijyhggjbg4634[enter code here][1]

enter code here Seyam enter code here enter link description here `

Bodnd8

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Seyam Halim

79424949

Date: 2025-02-09 13:27:28
Score: 2
Natty:
Report link

You have to import @RestController and @RequestMapping from:

org.springframework.web.bind.annotation.RequestMapping;
org.springframework.web.bind.annotation.RestController;

Additionally, you need to set the main class properly:

mainClass.set('webserver.blog.BlogApplication');

As you can see below, my Spring app has been started successfully without any errors.

enter image description here

my build.gradle file

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • User mentioned (1): @RestController
  • User mentioned (0): @RequestMapping
  • Low reputation (0.5):
Posted by: Syed

79424947

Date: 2025-02-09 13:26:27
Score: 1.5
Natty:
Report link

As @Robin Winslow said,

RequestHeader set X-Forwarded-Proto "https"
RequestHeader set X-Forwarded-Port "443"

resolve the problem, below haproxy eqivalent:

backend jenkins_backend
    mode http
    option forwardfor
    http-request set-header X-Forwarded-Proto https
    http-request set-header X-Forwarded-Port 443
    server jenkins 192.168.xxx.xx:10082 chec
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Robin
  • Low reputation (1):
Posted by: Maciej Iwan

79424945

Date: 2025-02-09 13:22:26
Score: 2
Natty:
Report link

The Error shows that TensorFlow hasn't been installed correctly on your system. Please double-check that you've followed the step-by-step installation instructions provided in the Tensorflow Documents, Ensuring they align with your system's OS.

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

79424944

Date: 2025-02-09 13:21:25
Score: 4
Natty:
Report link
resource "aws_cloudwatch_log_subscription_filter" "lambda_error_filter" {
  name            = "LambdaErrorLogFilter"
  log_group_name  = "${var.lambda_job}"
  filter_pattern  = "?ERROR ?Error ?Exception"
  

destination_arn = aws_lambda_function.sns_email_lambda.arn
}

created with following resource of cloudwatch log subscription filter but getting below error can you please guide me to resolve this error

putting CloudWatch Logs Subscription Filter (uat-dps-unify-pipeline-lambda-error-logfilter): operation error CloudWatch Logs: PutSubscriptionFilter, https response error StatusCode: 400, RequestID: ef62c984-7789-47e4-8af8-56aae46def30, InvalidParameterException: Could not execute the lambda function. Make sure you have given CloudWatch Logs permission to execute your function.

Reasons:
  • Blacklisted phrase (1): guide me
  • RegEx Blacklisted phrase (2.5): can you please guide me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: raghu

79424942

Date: 2025-02-09 13:19:25
Score: 2
Natty:
Report link

I could never get MTAdmob to work in my .Net 8 MAUI app but I did find this other solution which worked effortlessly.

https://github.com/marius-bughiu/Plugin.AdMob

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

79424940

Date: 2025-02-09 13:18:25
Score: 1
Natty:
Report link

If your Eclipse project is not running on the BlueStacks emulator, follow these steps to fix the issue:

Check ADB Connection: Ensure BlueStacks is detected by running adb devices in the command prompt. If it's not listed, restart ADB using adb kill-server and adb start-server.

Enable Developer Mode: Go to BlueStacks settings and enable "ADB Debugging."

Correct Run Configuration: In Eclipse, ensure the target device is set to BlueStacks.

Check App Compatibility: Verify that your app supports the BlueStacks Android version.

Restart BlueStacks & Eclipse: Restart both to refresh connections.

Source of answer: - bluestacks vps

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

79424937

Date: 2025-02-09 13:16:24
Score: 1
Natty:
Report link

Check Signing Key: Ensure the APK is signed with the correct key. For distribution, always sign your app with a release key.

Uninstall Previous Versions: Remove any app with the same application.

Use Compatible SDK: Verify that the devices have Android versions between your minSdk (21) and targetSdk (30).

Generate Release APK: You can create a signed release APK via Android Studio (Build > Generate Signed Bundle / APK).

Enable Installation from Unknown Sources: Ensure the devices allow installing apps from unknown sources.

Test on Multiple Devices: Verify compatibility across various devices.

try to install the file from the file manager.

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

79424932

Date: 2025-02-09 13:10:23
Score: 1.5
Natty:
Report link

We can you css for that

.cropper-crop-box, .cropper-view-box {
     border-radius: 50%;
 }

.cropper-view-box {
   box-shadow: 0 0 0 1px #39f;
   outline: 0;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mohammed Shibin c p

79424928

Date: 2025-02-09 13:08:22
Score: 8
Natty: 7
Report link

I found the Error -3008 is also showing at FireFox and Chrome browser. Even using different port using -H 192.168.1.7 -p 3000 is not solving my problem. Can anyone help?

Reasons:
  • RegEx Blacklisted phrase (3): Can anyone help
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Shams Arefin Khan

79424925

Date: 2025-02-09 13:05:21
Score: 2
Natty:
Report link

In this link they solved it withs:

Platform.OS == 'ios' ? require('../path/FileName.pdf') : {uri:'bundle-assets://FileName.pdf'}

[https://github.com/wonday/react-native-pdf/issues/386]

Reasons:
  • Blacklisted phrase (1): this link
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Reetta Välimäki

79424908

Date: 2025-02-09 12:57:19
Score: 4
Natty: 3
Report link

Easiest way to get any user id: tg-user.id

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

79424902

Date: 2025-02-09 12:52:17
Score: 1
Natty:
Report link

Authentication vs. Authorization

Authentication: This is the process of verifying a user's identity. For instance, when Alice logs in with her username and password, the server uses the password to authenticate her.

Authorization: This process determines if an authenticated user is permitted to perform a specific action. For example, Alice may have permission to retrieve a resource but not create one.

Microsoft provides some essential tools like claims, roles, and policies to implement authorization, but a significant part of the work must be customized to your specific needs for your application.

For more detailed information and practical examples, you can visit Microsoft's official documentation on ASP.NET Core Security. see here

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

79424894

Date: 2025-02-09 12:46:16
Score: 1
Natty:
Report link

Optimized Approach

1.Use NumPy's einsum for Batch Computation: Instead of iterating over all matrices with a list comprehension, use einsum for better performance.

2.Leverage Parallel Processing with joblib: The computation for each sparse matrix is independent, so parallelization can help.

Code:

import numpy as np

from scipy.sparse import csr_matrix

from joblib import Parallel, delayed

def func_optimized(a: np.ndarray, b: np.ndarray, sparse_matrices: Tuple[csr_matrix]) -> np.ndarray:

"""
Optimized function using parallelization with joblib.
"""
return np.array(
    Parallel(n_jobs=-1)(
        delayed(lambda M: a @ (M @ b))(sparse_matrices[k]) for k in range(len(sparse_matrices))
    )
)

Why This is Faster?

Parallel Execution: joblib.Parallel runs computations across multiple CPU cores.

Efficient Computation: Avoids explicit .dot() calls in a loop.

CSR Efficiency: CSR format remains optimal for matrix-vector multiplication.

Further Optimizations:

Convert Tuple to NumPy Array: Storing matrices in a NumPy array instead of a tuple can improve indexing speed.

GPU Acceleration: Use cupy or torch.sparse if a GPU is available.

Batch Computation: Stack matrices and compute in a single operation if memory allows.

🚀 Supercharge Your Python Skills! Want to master DevOps and AWS for deploying high-performance applications? Join Pisqre and level up your expertise in cloud computing and scalable development. 🌍🔥

Visit Pisqre now! 🚀

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

79424888

Date: 2025-02-09 12:42:15
Score: 3.5
Natty:
Report link

The same we could add headings to each screenshot via comment box as user input like below -

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

79424876

Date: 2025-02-09 12:31:13
Score: 0.5
Natty:
Report link

According to the official documentation:

If the app targets VANILLA_ICE_CREAM or above, the color will be transparent and cannot be changed.

This means that if your app targets android 15 or higher, the system bars (status bar and navigation bar) will automatically match the background color of your view since edge-to-edge is enforced.

If you only want to change the color of the status bar, you could create a spacer view with full width and no height. Apply WindowInsets as padding to match the status bar height.

please refer to:

https://developer.android.com/reference/android/view/Window#setStatusBarColor(int)

https://developer.android.com/develop/ui/views/layout/edge-to-edge#system_bar_protection

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

79424872

Date: 2025-02-09 12:25:11
Score: 4
Natty:
Report link

In your GitHub project, the value you use for the quarkus.native.resources.includes attribute does not target the good location.

For resources from your own project, you should not type the resources folder's name, as stated in the documentation.

For resources from third-party jar (from direct or transitive dependencies), you should use a full path, but without a leading / character.

quarkus.native.resources.includes = helloWorld.dat,helloWorld.dfdl.xsd,helloWorld.xslt,org/apache/daffodil/xsd/XMLSchema_for_DFDL.xsd

With this current value, the mvn install -Dnative still generates errors due to the xerces' use of reflection and xerces' missing resources files.

As stated in the documentation, "The easiest way to register a class for reflection is to use the @RegisterForReflection annotation" (see link below).

package org.acme;

import io.quarkus.runtime.annotations.RegisterForReflection;

@RegisterForReflection(targets={ org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl.class, org.apache.xerces.impl.dv.xs.SchemaDVFactoryImpl.class})
public class MyReflectionConfiguration {
}

You need to update your application.properties file too to include xerces' missing resources files.

quarkus.native.resources.includes = helloWorld.dat,helloWorld.dfdl.xsd,helloWorld.xslt,org/apache/daffodil/xsd/XMLSchema_for_DFDL.xsd,org/apache/xerces/impl/msg/XMLSchemaMessages*.properties

At this step, your project should compile, generate a native image and trigger test for the hello endpoint.

What I see now is an error due to your dfdl schema (your code reach a System.exit(1); call) with this text in your test.txt file.

Schema Definition Error: Error loading schema due to src-resolve: Cannot resolve the name 'dfdl:anyOther' to a(n) 'attribute group' component.

It seems that even in plain java, your project contains errors ?

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • User mentioned (1): @RegisterForReflection
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: ub50

79424869

Date: 2025-02-09 12:22:10
Score: 2.5
Natty:
Report link

I have successfully got tailwind 4 working with blazor using the cli in vs2022. The github demo is here: https://github.com/coderdnewbie/FluentUITailwind4Demo

The only thing that does not work well is hot reload, and am still waiting for intellisense to become tailwind 4 compatible.

I was using the fluentui template with interactive server options, but should work the same with default template. Leave a star if it works for you, I am trying to guage the interest.

Reasons:
  • Blacklisted phrase (1): I am trying to
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jay Tandon

79424857

Date: 2025-02-09 12:10:08
Score: 2
Natty:
Report link

I found out that issue was iOS 18, not iPhone 11. Apple somehow changed the behavior with iOS 18.

Here is a workaround for this issue which worked for me:

https://github.com/feedback-assistant/reports/issues/542

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

79424850

Date: 2025-02-09 12:04:07
Score: 1
Natty:
Report link

In addition to above answers, for any dealing with issues on servic account creation restriction.

what worked for me is;

gcloud resource-manager org-policies disable-enforce iam.disableServiceAccountKeyCreation
--organization=ORG_ID

But then you need to login through gcloud, install gcloud and auth first

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

79424824

Date: 2025-02-09 11:34:01
Score: 2
Natty:
Report link

List_one = [1. Without a Warning - 0:01 2. Wake Me Up - 4:18 3. After Hours - 7:20 4. Too Late - 10:55 5. Take My Breath - 11:56 6. Sacrifice - 15:37 7. How Do I Make You Love Me? - 19:06 8. Escape From LA - 22:00 9. Take Me Back to LA - 25:26 10. Dancing in the Flames - 30:10 11. FE!N - 35:08 12. Timeless - 38:54 13. São Paulo - 42:36 14. Heartless - 49:12 15. Repeat After Me (Interlude) - 51:23 16. The Abyss - 52:51 17. Faith - 54:50 18. Alone Again - 57:49 19. Runaway - 1:00:49 20. Out of Time - 1:04:11 21. Is There Someone Else? - 1:07:40 22. Hardest to Love - 1:10:38 23. Scared to Live - 1:13:41 24. Save Your Tears - 1:17:02 25. Less Than Zero - 1:20:07 26. Blinding Lights - 1:24:14 27. In Heaven (Lady in the Radiator Song) - 1:28:27

List_two = [00:00 Mike Dean (Starting) 27:44 Opening (Every Angel Is Terrifying) 28:40 Fades to Black 30:52 After Hours 34:02 Too Late (Interlude) 35:35 Take My Breath 39:00 Sacrifice 42:13 How Do I Make You Love Me? 45:46 Can’t Feel My Face 49:07 Lost in the Fire 52:16 Hurricane Transition 54:22 The Hills 58:11 Kiss Land 1:00:15 Often 1:02:48 House of Balloons 1:05:02 Starboy 1:08:50 Party Monster 1:12:00 High for This (Live Debut) 1:14:18 Faith 1:17:03 One of the Girls (Live Debut) 1:20:24 São Paulo 1:23:47 Heartless 1:25:57 Repeat After Me Transition 1:26:52 Low Life 1:28:17 Reminder 1:30:45 Creeping 1:33:20 Popular 1:35:08 In Your Eyes 1:37:44 I Feel It Coming 1:42:12 Die For You 1:45:50 Is There Someone Else 1:48:53 I Was Never There 1:51:40 Wicked Games 1:54:15 Call Out My Name 1:58:15 Save Your Tears 2:01:14 Less Than Zero 2:06:11 Blinding Lights 2:10:27 In Heaven 2:13:36 Dancing in the Flames 2:17:57 Open Hearts (New Unreleased Song) 2:21:28 Moth to a Flame 2:26:25 After the concert 2:26:50 Outro

Reasons:
  • Blacklisted phrase (1): How Do I
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Francis Tavarez fjtt15

79424822

Date: 2025-02-09 11:31:00
Score: 1.5
Natty:
Report link

Tkinter is designed for computer operating systems, and interacts with the computer to produce native widgets (which is why programs look different on different OS). Unfortunately for you, Tkinter cannot render on smartphones.

Your current best bet, if you wish to use Python and on a phone, is to build a web app using Flask or Django. Or if the learning curve is too steep for your timeframe, try using NiceGUI.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Muhammad Hamza Naveed

79424812

Date: 2025-02-09 11:24:58
Score: 5
Natty:
Report link

same issue in production report

Reasons:
  • RegEx Blacklisted phrase (1): same issue
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: hatajie

79424808

Date: 2025-02-09 11:21:58
Score: 1
Natty:
Report link

After exploring an alternative payment method, I realized there might be a bug or an issue between GCP and my credit card provider related to the GOOGLE_TEMPORARY payment method, which is meant to verify credit card validity.

To resolve this, go to your Google Cloud Billing page. In the "You have credit..." section, click "Make a payment" and process it manually. This will trigger an automatic withdrawal from your credit card wallet, and your credit will be reflected accordingly.

For example, if you manually pay $500, your credit will show as - $500 instead of simply displaying your available funds +$500. Don't panic—this is just how their UI presents it, even though the balance is correctly applied.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Alifa Al Farizi

79424796

Date: 2025-02-09 11:12:55
Score: 4
Natty: 4.5
Report link

This issue is still open or or closed ? Actually i have solution for that

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

79424789

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

i found the cause of my problem.

npm installed an old version of sveltestrap.

So i uninstalled and reinstalled the package. Now it works without any problem.

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

79424787

Date: 2025-02-09 11:03:53
Score: 1.5
Natty:
Report link

OK i added

 "overrides": {
      "react": "^19.0.0",
      "react-dom": "^19.0.0"
    }

to package.json and seems to be working but not sure if it right soultion

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

79424781

Date: 2025-02-09 11:01:52
Score: 1
Natty:
Report link

The issue indicates that there may not be a legitimate entry point in the playfab-web-sdk package.JSON.

  1. Running "npm list playfab-web-sdk" or "cat node_modules/playfab-web-sdk/package.json" will allow you to verify this.

If "main" or "module" are absent or misspelled, the package may not be set up correctly for direct import.

  1. Employ a Direct Import Path (Short-Term Solution) Try importing the module using a relative path as the package might not expose a correct module entry:

import * as PlayFab from "./node_modules/playfab-web-sdk/PlayFabClientApi";

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

79424779

Date: 2025-02-09 10:57:52
Score: 1.5
Natty:
Report link

I had the same problem, this import helped me: pip install -q --no-deps xformers trl peft accelerate bitsandbytes

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: entfane

79424777

Date: 2025-02-09 10:56:51
Score: 1.5
Natty:
Report link

add_settings_section( 'devsoul_psbsp_email_settings_fields', '', // Title to be displayed on the administration page. '', // Callback used to render the description of the section. 'devsoul_psbsp_email_settings_sections' );

// Email CSV Sale by Product add_settings_field( 'devsoul_psbsp_email_csv_sales_by_product_enable', esc_html__('Enable Email CSV Sale by Product', 'sales-report-by-state-city-and-country'), function () { $enable = get_option('devsoul_psbsp_email_csv_sales_by_product_enable'); ?> <input type="checkbox" name="devsoul_psbsp_email_csv_sales_by_product_enable" value="yes" >

<?php }, 'devsoul_psbsp_email_settings_sections', 'devsoul_psbsp_email_settings_fields' );

// Register settings for "Email CSV Sale by Product" register_setting( 'devsoul_psbsp_email_settings_fields', 'devsoul_psbsp_email_csv_sales_by_product_enable', array( 'type' => 'string', 'sanitize_callback' => 'sanitize_textarea_field', ) );

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

79424772

Date: 2025-02-09 10:52:51
Score: 1.5
Natty:
Report link

Had exactly the same problem that the container ran into troubles when starting on my NAS and worked locally. The root cause is that because of the lower performance the elasticsearch cluster is not ready when doing the first queries. This has to be fixed in photon itself as they have to increase the timeout to wait until the embedded elasticsearch is in yellow state.

Created a pull request with the fix. If that gets approved should work also in your scenario.

https://github.com/komoot/photon/pull/866

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

79424762

Date: 2025-02-09 10:45:48
Score: 4
Natty: 4.5
Report link

First of all, your are loading the scripts twice. If you have it installed through npm, then why add the CDN in the layout file again?

There are several ways, but, just follow this tutorial on YouTube. It is Livewire 2, but will also work with version 3. https://www.youtube.com/watch?v=cLx40YxjXiw

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Blacklisted phrase (1): youtube.com
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Abel Chipepe

79424759

Date: 2025-02-09 10:44:47
Score: 1
Natty:
Report link

You can replace mongodb-mongosh package with mongodb-mongosh-shared-openssl3 without deleting all mongodb-org-* packages.

dnf swap -y mongodb-mongosh mongodb-mongosh-shared-openssl3
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: M. Sheremet

79424744

Date: 2025-02-09 10:29:45
Score: 3.5
Natty:
Report link

I managed to install Emgu.CV.runtime.windows just by setting install and update options to ignore

enter image description here

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

79424739

Date: 2025-02-09 10:26:44
Score: 3
Natty:
Report link

I had an issue rolling the code to production server. The solution was configuring a proxy server. Check with the hosting support.

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

79424735

Date: 2025-02-09 10:25:44
Score: 2
Natty:
Report link

I am using React Nactive and got the same issue. Google Play is too troublesome and imposes unjustified checks.

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

79424734

Date: 2025-02-09 10:25:44
Score: 1.5
Natty:
Report link

This is a symbolic math problem, R typically deals with numerical solutions. For symbolic algebra there is a library called caracas that can be used for symbolic calculations. You will need however a python installation since the caracas library uses calls to sympy python routines to do the symbolic calculation.

You can find more information about how to use the package in https://journal.r-project.org/articles/RJ-2023-090/

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

79424733

Date: 2025-02-09 10:24:43
Score: 1
Natty:
Report link

I think that it's not necessary touch docker-compose. It's possible to add python packages in ./Docker/requirements-local.txt, like pymssql. When executing docker compose up, the builder executes requirements-local.txt to install other package.

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

79424732

Date: 2025-02-09 10:22:43
Score: 1
Natty:
Report link

with orbax checkpoint version '0.5.3'

with ocp.CheckpointManager(ckpt_dir, options=check_options, item_names=('state', 'metadata')) as mngr:
  mngr.save(...)

I got

TypeError: 'CheckpointManager' object does not support the context manager protocol

So I wander if your solution is still valid or if it is for future version??

Reasons:
  • Whitelisted phrase (-1): solution is
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Jean-Eric

79424731

Date: 2025-02-09 10:22:43
Score: 3.5
Natty:
Report link

here the 2.64.7 version of the extension in vsix format : https://drive.google.com/file/d/1Sw0v64f4kEi2lcEmCcXdsvXDa7J4FIci/view?usp=sharing I build it from the source code because microsoft doesn't provide the vsix file anymore.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Omar Zakaria Ben Mustapha

79424726

Date: 2025-02-09 10:18:41
Score: 4
Natty:
Report link

Same issue, noticed after updating to Next.js 15 + React 19

Reasons:
  • RegEx Blacklisted phrase (1): Same issue
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: smokeelow

79424725

Date: 2025-02-09 10:17:41
Score: 0.5
Natty:
Report link

below worked

"use client";

import { ReactNode, useEffect } from "react";
import Lenis from "@studio-freight/lenis";

export default function SmoothScroll({ children }: { children: ReactNode }) {
  useEffect(() => {
    const lenis = new Lenis({
      duration: 1.2,
      easing: (t) => Math.min(1, 1.001 - Math.pow(2, -10 * t)),
      orientation: "vertical",
      lerp: 0.1,
      smoothWheel: true,
      touchMultiplier: 2,
    });

    function raf(time: number) {
      lenis.raf(time);
      requestAnimationFrame(raf);
    }

    requestAnimationFrame(raf);

    return () => {
      lenis.destroy();
    };
  }, []);

  return <>{children}</>;
}

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

79424723

Date: 2025-02-09 10:13:40
Score: 1
Natty:
Report link

I occasionally cannot retrieve the column 'Adj close' when using the yfinance (version 0.2.50). It works after I explicitly set False to 'auto_adjust'.

tickers = ["META", "NFLX"]
data = yf.download(tickers, auto_adjust=False)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: T. Elvis

79424702

Date: 2025-02-09 09:58:37
Score: 2.5
Natty:
Report link

If pandas is missing for the Python version being used, explicitly install it:

python2.7 -m pip install pandas

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

79424700

Date: 2025-02-09 09:53:37
Score: 3
Natty:
Report link

If someone already has aws-elasticbeanstalk-ec2-role role and still facing the issue, recreating the role correctly did the trick for me.

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

79424697

Date: 2025-02-09 09:51:36
Score: 3
Natty:
Report link

This problem started for me when I installed Windows 11. Upgrading Office from the 2007 version I was using fixed it for me.

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

79424693

Date: 2025-02-09 09:49:36
Score: 2.5
Natty:
Report link

so, I redid everything more careful

=> I managed to get same error, idk how (I managed to solve it)

Bootstrap failed: 5: Input/output error Try re-running the command as root for richer errors. Error: Failure while executing; /bin/launchctl bootstrap gui/501 /Users/username/Library/LaunchAgents/homebrew.mxcl.httpd.plist exited with 5.

AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using username-macbook-air.local. Set the 'ServerName' directive globally to suppress this message Syntax OK

=> enviornment : httpd in homebrew

Now localhost is accesing my document root directory with the projects in it, it’s working (to acces localhost, it sees all folders/files), but I tried to create a .htaccess file to redirect every request to index.php and is not working

error log is showing (/opt/homebrew/var/log/httpd/error_log) : AH01630: client denied by server configuration: /Users/username/Code/.htaccess

=> Error still exists, so the problem is that the htaccess file isn’t working

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): get same error
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Cosmin Condur

79424687

Date: 2025-02-09 09:43:34
Score: 4.5
Natty: 4.5
Report link

Read here

Resolving npm Installation Errors: EACCES Permission Denied

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

79424683

Date: 2025-02-09 09:39:33
Score: 0.5
Natty:
Report link

You would use key-int-max property of x264enc such as:

... ! x264enc key-int-max=30 ...

for having at least a key frame each 30 frames.

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

79424653

Date: 2025-02-09 09:18:29
Score: 3
Natty:
Report link

I believe that your e-mail provider is blocking the e-mail or the servers at your e-mail provider at the time were not available to your device.

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