79276526

Date: 2024-12-12 20:40:29
Score: 2
Natty:
Report link

For me this occurred after I had resized my emulator view. It began launching way off the screen. While it was partially off the screen I resized it again and it popped back onto the screen. Strange behavior but worth a shot

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

79276513

Date: 2024-12-12 20:36:28
Score: 2.5
Natty:
Report link

Change Ports: Make sure the client and server run on different ports, for example, client on port 3000 and backend on port 3001. To kill what’s on port 3000

kill $(lsof -ti:3000)

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

79276499

Date: 2024-12-12 20:30:27
Score: 3.5
Natty:
Report link

for complex and dynamic application helm is better otherwise kustomize is the best option

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

79276491

Date: 2024-12-12 20:29:27
Score: 2.5
Natty:
Report link

Still new to all this Still learning,Man like learning a whole new language...I remember when AOL came out retirement has allot of to learn.Thamks for your help

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

79276478

Date: 2024-12-12 20:24:25
Score: 1.5
Natty:
Report link

Use something like

$GLOBALS['TCA']['sys_redirect']['columns']['target']['config']['allowedTypes'] = "['page', 'file', 'url', 'record', 'yourlinkhandler']";

in your TCA/Overrides/somefile.php. Replace "yourlinkhandler" with the name of your linkhandler.

Thanks Stefan Bürk for the hint.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: t3fan

79276477

Date: 2024-12-12 20:24:25
Score: 2
Natty:
Report link

In the .razor file I had to add a script tag with type "text/template" and I moved the file to the 'scripts' folder as well.

<script src="scripts/MTD.xml" type="text/template"></script>

Interesting tidbit, for this to work the extension has to be .xml (albeit there may be other extensions that work but custom extensions I tried did not work).

Reasons:
  • Blacklisted phrase (1): did not work
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: BradB

79276473

Date: 2024-12-12 20:23:25
Score: 1.5
Natty:
Report link

this solution to registry the Microsoft.Compute , too it's works when is the first time creating the kubernetes service , and the quotas is empty in your account and the message to create the kubertenetes is for example

Preflight validation check for resource(s) for container service aksdemo1 in resource group aks-rg1 failed. Message: Insufficient regional vcpu quota left for location eastus. left regional vcpu quota 0, requested quota 32. Details:

(Code: ErrCode_InsufficientVCPUQuota)

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: edwin chantre velasco

79276466

Date: 2024-12-12 20:18:23
Score: 2
Natty:
Report link

As far as I can tell the compress/flate package also works for encoding data in the same format.

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

79276459

Date: 2024-12-12 20:15:23
Score: 2.5
Natty:
Report link

prefix your environment variable name with EXPO_PUBLIC_ and restart the development server. It's a name convention from Expo:

For exemple: SUPABASE_URL => EXPO_PUBLIC_SUPABASE_URL

https://docs.expo.dev/guides/environment-variables/

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

79276453

Date: 2024-12-12 20:12:22
Score: 2
Natty:
Report link

graph G { layout=neato; overlap=false; node [shape=rectangle]; 0 [label="Node 0"]; 1 [label="Node 1"]; 2 [label="Node 2"]; 3 [label="Node 3"]; 4 [label="Node 4"]; 5 [label="Node 5"]; 6 [label="Node 6"]; 7 [label="Node 7"]; 8 [label="Node 8"]; 9 [label="Node 9"]; 0 -- 1; 1 -- 2; 2 -- 3; 3 -- 4; 4 -- 5; 5 -- 6; 6 -- 7; 7 -- 8; 8 -- 9; 0 -- 4; 2 -- 6; 3 -- 8; 1 -- 5; }

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hassan AliAllah Elsayed

79276451

Date: 2024-12-12 20:11:22
Score: 1
Natty:
Report link

You need to specify which RailCars should be (in)visible. You need to add the method getCar(int i) after the Train agent (in your case, apparently the Headway agent), to get the RailCar agent that has the 3D object. The train agent should not have 3D objects representing RailCars, let the 3D representation of a RailCar only in the RailCar agent.

Reasons:
  • Whitelisted phrase (-1): in your case
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Matheus Martins

79276450

Date: 2024-12-12 20:10:22
Score: 1
Natty:
Report link

Add this permission in your apps manifest file:

<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" tools:ignore="QueryAllPackagesPermission" />
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Usman Arshad

79276444

Date: 2024-12-12 20:09:20
Score: 13.5 🚩
Natty:
Report link

I have the same problem. Did you fix it?

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): Did you fix it
  • RegEx Blacklisted phrase (1.5): fix it?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sophie

79276443

Date: 2024-12-12 20:09:20
Score: 3
Natty:
Report link

I have successfully installed openpose on ubuntu 22, python3.12. Here are some note to install openpose on ubuntu.
Highly recommend this blog to install openpose: https://amir-yazdani.github.io/post/openpose/

You also need to install cmake.

Important note: Check the gcc version and make sure it is version 8.. Make sure that install gcc version 8. To install gcc version 8. check this post: https://askubuntu.com/questions/1446863/trying-to-install-gcc-8-and-g-8-on-ubuntu-22-04.

when using ssh remote server, it cannot use the cmake-gui. But cmake-gui can work when you use the computer directly not through ssh remote server. After build openpose successfull. The result looks like this enter image description here

To run the openpose, you also need to download the model. check this post: https://github.com/CMU-Perceptual-Computing-Lab/openpose/issues/1602#issuecomment-641653411 And done !!!

Reasons:
  • Blacklisted phrase (1): this blog
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: anh khoa nguyễn

79276433

Date: 2024-12-12 20:06:19
Score: 7.5
Natty: 7
Report link

I HAVE VIDEO STREAMING USING RTSP NOW I WANT TO STREAM ON THE APP WHICH I BUILD USING KIWI. DO YOU HAVE IDEA HOW CAN I DO IT?

Reasons:
  • Blacklisted phrase (0.5): HOW CAN I
  • Blacklisted phrase (1): CAN I DO
  • RegEx Blacklisted phrase (1): I WANT
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user28757761

79276428

Date: 2024-12-12 20:03:16
Score: 7 🚩
Natty: 5.5
Report link

I know this is old, but I need to do something similar. My thought is to send a message to function, which puts message in storage queue and returns 200 to client, then queue trigger runs on durable function, which conducts the data and communication stuff (mail, text), then completes by updating the queue message and sending response email if needed.

So Blazor App > Message > HTTP trigger Function > Queue > Queue Durable Function > Step #1 > Step #2 > Step #3 etc.

Can this work for both OP and for my needs? Thanks in advance.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (3): Thanks in advance
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Sean Moran

79276412

Date: 2024-12-12 19:56:14
Score: 3.5
Natty:
Report link

I can not do it bro it said the label is too long

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: กรเอก พีรปัญญกุล07

79276409

Date: 2024-12-12 19:54:14
Score: 1
Natty:
Report link

The error results from not using the field fullName in your native query. It's the same situation as in Unable to find column position by name: column1 [The column name column1 was not found in this ResultSet. Remove the column from the class or add it to the native query.

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

79276406

Date: 2024-12-12 19:53:13
Score: 1
Natty:
Report link

Try using Shell

Shell is a context menu customizer that lets you handpick the items to integrate into Windows File Explorer context menu, create custom commands to access all your favorite web pages, files, and folders, and launch any application directly from the context menu. It also provides you a convenient solution to modify or remove any context menu item added by the system or third party software.

Shell is a portable utility, so you don’t need to install anything on your PC. All settings are loaded from config file "shell.nss".

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

79276394

Date: 2024-12-12 19:51:13
Score: 1.5
Natty:
Report link

I’m not entirely sure of your full workflow, so it’s a bit tricky to suggest the perfect solution. That said, based on my experience, the capabilities of Python libraries for Excel operations can be quite limited. Are you trying to do things like merging files, merging sheets, or adding sheets? If so, there’s an Excel automation tool called SheetFlash that might be worth looking into.

It works a bit like a Python notebook—you can set up each action as a card, and then simply press the “Run All” button to execute all the actions in one go. It’s an add-in that could potentially solve your issue.

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

79276367

Date: 2024-12-12 19:40:10
Score: 4
Natty: 6
Report link

po mano to tentando entender tbm tá ligado, n sei tbm brother

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

79276351

Date: 2024-12-12 19:31:08
Score: 5.5
Natty: 5.5
Report link

Hi I just wondered if your app is available on the App Store?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Brandon

79276326

Date: 2024-12-12 19:20:05
Score: 1
Natty:
Report link

This should help

$('body').on('keydown', function(e) {
   var code = (e.keyCode ? e.keyCode : e.which);
   if(code == 13) {
      var focusedLink = $('a:focus');
      console.log(focusedLink);
      focusedLink[0].click();
   }
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Matteo Gomez

79276318

Date: 2024-12-12 19:15:04
Score: 2
Natty:
Report link

we have started using www.recrew.ai - and are pretty happy with the accuracy and ease with which we were able to integrate it.

import http.client

conn = http.client.HTTPSConnection("backend.app.recrew.ai")

payload = "{\n "resume_base64": "File"\n}"

headers = { 'Content-Type': "application/json", 'X-Api-Key': "YOUR_TOKEN" }

conn.request("POST", "/api/cv-parser/v1", payload, headers)

res = conn.getresponse() data = res.read()

print(data.decode("utf-8"))

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

79276314

Date: 2024-12-12 19:13:02
Score: 6 🚩
Natty: 4
Report link

Greetings from the future. Thanks for this post, it helped me solve similar case. However, I'm getting error when I try to write a file in that volume:

root@nginx:/opt/platform-int/udm# echo test > test2

bash: echo: write error: Operation not permitted

Despite the error file actually gets created.

root@nginx:/opt/platform-int/udm# ls -la

total 0

drwxrwxrwx. 2 root root 2 Dec 12 19:03 .

drwxr-xr-x. 3 root root 17 Dec 12 19:03 ..

-rw-r--r--. 1 root root 0 Dec 12 18:06 test

-rw-r--r--. 1 root root 0 Dec 12 19:03 test2

My ceph subVolume and subVolumeGroup both have rwx permissions for all.My dest setup of PV and PVC is almost identical with yours. I don't see any errors in the seph provisioner or ceph nodeplugin. An ideas what's causing this error?

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1.5): m getting error
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: ariels

79276307

Date: 2024-12-12 19:11:01
Score: 1
Natty:
Report link

Use a subshell to delay the evaluation of $EPOCHREALTIME. This way, it will be evaluated each time the trap is triggered.

trap 'PS1_STARTTIME=$(echo $EPOCHREALTIME)' DEBUG
export PS1="\$(printf '%0.3f' \$(bc <<< \"\$EPOCHREALTIME - \$PS1_STARTTIME\")) \w \\$ "
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Silver Spade

79276306

Date: 2024-12-12 19:10:00
Score: 7 🚩
Natty:
Report link

How to download this please can you help

Reasons:
  • RegEx Blacklisted phrase (3): can you help
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: Rizwan Riaz

79276299

Date: 2024-12-12 19:06:59
Score: 1.5
Natty:
Report link

If you ever find this topic and the same issue. For me it was that Laravel was pointing to http and not https. Seems legit in a development environment... but not for production.

So whats the solution? This: https://stackoverflow.com/a/61313133/4892914

Your AppServiceProvider.php, boot() function should look like this:

public function boot(): void
{
    Vite::prefetch(concurrency: 3); // optional ofc

    if (env('APP_ENV') === 'production') {
        \Illuminate\Support\Facades\URL::forceScheme('https');
    }
}
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
Posted by: Adam

79276291

Date: 2024-12-12 19:05:59
Score: 3
Natty:
Report link

I had this same issue and it turned out to be a case problem. the file was named 'Client-1.svg' and in the code I wrote 'client-1.svg'. Works in dev but not in build.

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

79276288

Date: 2024-12-12 19:05:59
Score: 1.5
Natty:
Report link

For those who are also having the same issue, it seems that AdoNetAppender is now supported, as I was able to make it work with only the microsoft package "Microsoft.Extensions.Logging.Log4Net.AspNetCore".

What helped me finding the error was looking into the above mentioned MicroKnights.Log4NetAdoNetAppender github page. There they mention that the SqlConnection class changed place at some point. So changing the "connectionType" element value as their suggestion fixed the issue for me.

Before (not working): <connectionType value="System.Data.SqlClient.SqlConnection, Microsoft.Data.SqlClient, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

After (working): <connectionType value="Microsoft.Data.SqlClient.SqlConnection, Microsoft.Data.SqlClient, Version=1.0.0.0,Culture=neutral,PublicKeyToken=23ec7fc2d6eaa4a5"/>

The old not functional version I had copied from the log4net official docs: https://logging.apache.org/log4net/release/config-examples.html

Note: I am on .net8, and after checking the Microsoft.Data.SqlClient package, I updated the above to match the latest version: <connectionType value="Microsoft.Data.SqlClient.SqlConnection, Microsoft.Data.SqlClient, Version=5.0.0.0,Culture=neutral,PublicKeyToken=23ec7fc2d6eaa4a5"/>

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): also having the same issue
  • Low reputation (0.5):
Posted by: Fernando Wolff

79276285

Date: 2024-12-12 19:04:58
Score: 2
Natty:
Report link

import subprocess

Path to the .exe file

exe_path = r"C:....\player.exe"

Start the .exe program in a detached process

subprocess.Popen([exe_path], creationflags=subprocess.CREATE_NEW_CONSOLE)

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

79276282

Date: 2024-12-12 19:03:56
Score: 7 🚩
Natty:
Report link

Are you working on the project "Build a Duolingo Clone with Nextjs, React, Drizzle, Stripe (2024)"? If you have completed it, can you share this project with me?

Reasons:
  • RegEx Blacklisted phrase (2.5): can you share
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Phi Long Nguyen Ngoc

79276281

Date: 2024-12-12 19:02:55
Score: 6
Natty: 7
Report link

I have a stupid question, if i only want to do pairwise correlation with 1 column pairwise with the other columns, setting the value of nx=1 does not work.

What should i change?

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

79276268

Date: 2024-12-12 18:59:54
Score: 3
Natty:
Report link

Thanks @ChrisHaas for figuring it out. The solution was to use the fully qualified class name and since it was a static function the correct code was:

<?php 
add_action( 'wp_ajax_nopriv_run_cff_clear_feed', 'myCFFclearFeed');

function myCFFclearFeed() {
   require_once '/var/www/wp-content/plugins/custom-facebook-feed-pro/inc/Builder/CFF_Feed_Saver_Manager.php';
      require_once '/var/www/wp-content/plugins/custom-facebook-feed-pro/inc/CFF_Cache.php';
\CustomFacebookFeed\Builder\CFF_Feed_Saver_Manager::clear_single_feed_cache();
                }
?> 

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @ChrisHaas
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Mike Muller

79276262

Date: 2024-12-12 18:57:53
Score: 1.5
Natty:
Report link

This is a terrible solution to making a request over http for the website. This is not something that you shoudl do if you want to send a request to the website. The reason that there is a 403 - Forbidden is because 1.) they dont allow requests for any other routes other than their root route https://rentry.co 2.) they already have an api avaliable on their github.

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

79276259

Date: 2024-12-12 18:55:52
Score: 3.5
Natty:
Report link

Thank you Ayad for the answer. My camera was not showing the screen properly and adjusting the picturebox sizemode to "StretchImage" fixed the problem.

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

79276258

Date: 2024-12-12 18:55:52
Score: 0.5
Natty:
Report link

It turns out that useFormState works by adapting to the function you pass inside. So if you pass a test function with nothing inside of it yet, it would have no arguments expected. So the solution is to define the function with necessary arguments (e.g. "_: any, formData: FormData"), and when you pass an argument when you call formAction, it won't raise an error.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Pixtane

79276240

Date: 2024-12-12 18:47:50
Score: 2
Natty:
Report link

Ваш вопрос касается корректного изменения двоичного файла на основе смещений, которые вы получаете с помощью IDA и HxD. Проблема заключается в неправильном вычислении смещений, а также в том, как правильно записывать изменения в файл на основе этих смещений.

Чтобы помочь вам решить эту задачу, давайте разберем несколько ключевых аспектов:

1. Понимание смещений в двоичном файле

Смещения, которые вы получаете из IDA или HxD, скорее всего, являются логическими (виртуальными) адресами. Однако реальный файл может быть скомпилирован с различными механизмами, такими как статическая линковка, выравнивание данных, сегментирование и сдвиги для динамических библиотек (.so).

Когда вы работаете с двоичными файлами (.so), важно различать:

Чтобы корректно преобразовать виртуальные адреса в физические смещения, необходимо учитывать базовый адрес загрузки и возможные изменения, происходящие при компиляции или загрузке библиотеки.

2. Как вычислить физическое смещение

Если вы хотите изменить данные по виртуальному адресу, вам нужно вычислить физическое смещение с учетом загрузочного адреса.

Для этого:

Например, если базовый адрес вашей библиотеки равен 0x10000000, а смещение, которое вы получили из IDA или HxD, равно 0x173596, то физическое смещение будет:

physical_offset = virtual_offset - base_address
physical_offset = 0x173596 - 0x10000000 = 0x073596

Теперь вы можете использовать это физическое смещение для изменения файла.

3. Использование Python с mmap

Теперь, чтобы изменить файл с использованием Python и mmap, вы можете использовать следующий подход:

import mmap
import os

# Путь к вашему файлу
file_path = 'filetomodify.so'

# Получение физического смещения (например, 0x073596)
physical_offset = 0x073596

# Новый набор байтов для записи
new_data = bytes.fromhex("95 E5 0A 2F 66 1E 32 EE 4C B8 9A 6E BD EC 01")

# Открытие файла
with open(file_path, 'r+b') as f:
    # Маппинг файла в память
    mm = mmap.mmap(f.fileno(), 0)
    
    # Запись данных по физическому смещению
    mm[physical_offset:physical_offset + len(new_data)] = new_data

    # Закрытие mmap
    mm.close()

В этом коде:

4. Использование Bash (и dd)

Если вы хотите использовать Bash для этого, вот пример команды:

#!/bin/bash

# Файл для изменения
file="filetomodify.so"

# Физическое смещение (например, 0x073596)
offset="0x073596"

# Новые байты
data="95 E5 0A 2F 66 1E 32 EE 4C B8 9A 6E BD EC 01"

# Использование dd для записи
echo "$data" | xxd -r -p | dd of="$file" bs=1 seek=$offset conv=notrunc

Этот скрипт:

5. Использование PHP

Если вы хотите использовать PHP, то вот пример:

<?php
$file = 'filetomodify.so';
$offset = 0x073596;  // Физическое смещение
$new_data = hex2bin('95 E5 0A 2F 66 1E 32 EE 4C B8 9A 6E BD EC 01');

$fp = fopen($file, 'r+b');
if ($fp === false) {
    die('Unable to open file.');
}

fseek($fp, $offset);
fwrite($fp, $new_data);

fclose($fp);
?>

Этот код:

Заключение

Чтобы корректно изменить данные в двоичном файле, важно правильно вычислить физическое смещение. Используя вышеуказанные подходы для Python, Bash или PHP, вы сможете модифицировать файл на основе смещений, полученных через IDA или HxD.

Основной задачей здесь является правильная интерпретация виртуальных адресов и их преобразование в физические смещения, с учетом базового адреса и структуры ELF-файла.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • No latin characters (2.5):
  • Low reputation (1):
Posted by: user23851816

79276239

Date: 2024-12-12 18:47:50
Score: 2.5
Natty:
Report link

I am sorry in advance if my response is incorrect or unrelated to your query. However, I use React Loading Description, which is an excellent package for creating responsive skeletons. Maybe this will help you.

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

79276233

Date: 2024-12-12 18:43:50
Score: 0.5
Natty:
Report link

This has been answered here (https://github.com/davidgohel/officedown/discussions/103) but took me some time to understand and implement, so I am summarising for you here. Basically, put this section after your 'setup' section:

```{r pagenumberingfix}

 #see https://stackoverflow.com/questions/67032523/when-using-officedown-changing-from-portait-to-landscape-causes-problems-with-pa

footer_default <- block_list(fpar(run_word_field(field = "PAGE"),
                                  fp_p = fp_par(text.align = "center") ))

block_section(prop_section(footer_default = footer_default))
```

In your 'setup' section above it, make sure your knitr options are set to prevent code, but not the results from appearing in the finished file - so that the above code code is not shown in the finished file. For some reason if you try to do it with '{r pagenumberingfix, include=FALSE}' as the header, it won't work. Your 'setup' section should look something like this:

knitr::opts_chunk$set(echo = FALSE)
library(officedown) # 0.3.0
library(officer) # 0.6.2

Hope this works for you!

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: befriendabacterium

79276232

Date: 2024-12-12 18:43:50
Score: 0.5
Natty:
Report link

F5 should utilize launch.json from your .vscode - folder so I assume that you are not utilizing the correct task. launch.json is usually generated automatically by vscode when you start to debug first time.

See more details from here

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

79276226

Date: 2024-12-12 18:41:48
Score: 4
Natty:
Report link

Use onPressOut instead of onPress

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

79276225

Date: 2024-12-12 18:41:48
Score: 1.5
Natty:
Report link

Finally, after some experiments, I found, that the DAC driver functions cannot work if they are inside class.

And the function dac_continuous_write_cyclically() must be called after the channels activation:

ESP_ERROR_CHECK(dac_continuous_new_channels(&cont_cfg_0, &handle_0));
ESP_ERROR_CHECK(dac_continuous_enable(handle_0));

// After
ESP_ERROR_CHECK(dac_continuous_new_channels(&cont_cfg_0, &handle_0));

The fully working code:

The main.cpp file:

#include <Arduino.h>

#include "DAC_Continuous_DMA.h"

void setup()
{
  Serial.begin(921600);

  dac_continuous_dma_config(1000);
}

void loop()
{
  // Just for testing
  Serial.printf("Free heap size: %d\n", esp_get_free_heap_size());
  Serial.printf("%s(), core: %d: Running time [s]: %d\n", __func__, xPortGetCoreID(), millis());

  vTaskDelay(pdMS_TO_TICKS(1000));
}

The DAC_Continuous_DMA.h file:

#pragma once
#ifndef DAC_Continuous_DMA_h
#define DAC_Continuous_DMA_h

#include "Arduino.h"
#include <math.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "soc/dac_channel.h"
#include "driver/dac_continuous.h"

#include "soc/sens_reg.h"

#define EXAMPLE_ARRAY_LEN 512     // Length of wave array
#define EXAMPLE_DAC_AMPLITUDE 255 // Amplitude of DAC voltage. If it's more than 256 will causes

#define CONST_2_PI 6.2832 // 2 * PI

_Static_assert(EXAMPLE_DAC_AMPLITUDE < 256, "The DAC accuracy is 8 bit-width, doesn't support the amplitude beyond 255");

dac_continuous_config_t cont_cfg;

uint8_t signal_wave[EXAMPLE_ARRAY_LEN]; // Used to store sine wave values
uint8_t amplitude = EXAMPLE_DAC_AMPLITUDE;

dac_continuous_handle_t cont_handle = NULL;

void generate_waves(void)
{
    for (int i = 0; i < EXAMPLE_ARRAY_LEN; i++)
    {
        signal_wave[i] = (uint8_t)(amplitude / 2 * (1 + sin(2 * M_PI * i / EXAMPLE_ARRAY_LEN)));
    }
}

void dac_continuous_dma_config(uint32_t frequency_Hz = 1000)
{
    generate_waves();

    cont_cfg = {
        .chan_mask = DAC_CHANNEL_MASK_ALL,
        .desc_num = 2,
        .buf_size = 2048,
        .freq_hz = EXAMPLE_ARRAY_LEN * frequency_Hz / 2,
        .offset = 0,
        .clk_src = DAC_DIGI_CLK_SRC_DEFAULT, // If the frequency is out of range, try 'DAC_DIGI_CLK_SRC_APLL'
        .chan_mode = DAC_CHANNEL_MODE_ALTER,
    };
    /* Assume the data in buffer is 'A B C D E F'
     * DAC_CHANNEL_MODE_SIMUL:
     *      - channel 0: A B C D E F
     *      - channel 1: A B C D E F
     * DAC_CHANNEL_MODE_ALTER:
     *      - channel 0: A C E
     *      - channel 1: B D F
     */

    ESP_ERROR_CHECK(dac_continuous_new_channels(&cont_cfg, &cont_handle));
    ESP_ERROR_CHECK(dac_continuous_enable(cont_handle));
    ESP_ERROR_CHECK(dac_continuous_write_cyclically(cont_handle, (uint8_t *)signal_wave, EXAMPLE_ARRAY_LEN, NULL));

}

#endif // DAC_Continuous_DMA_h

Despite the I get signals on the DAC outputs (the current question is answered), the main my goal, to generate two signals on the DAC channels of ESP32, the sine and cosine ones, thus shifted by 90 deg, is not achieved.

But it is another question. And if somebody interested in this and can help me, I created new question here.

Reasons:
  • Blacklisted phrase (1): another question
  • Blacklisted phrase (1): help me
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Andrei Krivoshei

79276219

Date: 2024-12-12 18:39:48
Score: 1.5
Natty:
Report link
/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{2,4})|(\d{4})[\/\-\.](\d{2})[\/\-\.](\d{2})|(\d{2})[\/\-\.](\d{2})[\/\-\.](\d{4})|(\d{2})[\/\-\.](\d{1,2})[\/\-\.](\d{1,2})|(Jan(uary)?|Feb(ruary)?|Mar(ch)?|Apr(il)?|May|Jun(e)?|Jul(y)?|Aug(ust)?|Sep(tember)?|Oct(ober)?|Nov(ember)?|Dec(ember)?)\s+(\d{1,2}),\s+(\d{4})|(\d{1,4})-(Jan(uary)?|Feb(ruary)?|Mar(ch)?|Apr(il)?|May|Jun(e)?|Jul(y)?|Aug(ust)?|Sep(tember)?|Oct(ober)?|Nov(ember)?|Dec(ember)?)-(([1-2][09][0-9]{2})|([0-9]{2}))|(0[1-9]|1[0-2])(0[1-9]|1[0-9]|2[0-9]|3[0-1])(([1-2][09][0-9]{2})|([0-9]{2}))|(([1-2][0-9]{3})|([0-9]{2}))(0[1-9]|1[0-2])(0[1-9]|1[0-9]|2[0-9]|3[0-1])/i
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: solcd

79276217

Date: 2024-12-12 18:39:48
Score: 2
Natty:
Report link

dynamically allocate an array using the malloc, calloc, or realloc functions, the size of the array isn’t stored anywhere in memory. Therefore, there’s no direct way to find the size of a dynamically allocated array. To manage the size of a dynamically allocated array, we must keep track of the size separately.

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

79276215

Date: 2024-12-12 18:37:47
Score: 1
Natty:
Report link

You no need to delete entire workspace, reports stores in .allure directory
So just delete this allure dir at start of your build, and you will see only reports from last build:

rm -rf .allure
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: artem_rrrrrr

79276207

Date: 2024-12-12 18:34:45
Score: 5
Natty:
Report link

I had a similar problem with 'allowedExtensions', found the solution here please give it a check:

file_picker allowedExtensions filter dosent work

Reasons:
  • RegEx Blacklisted phrase (2.5): please give
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: RNGsus

79276203

Date: 2024-12-12 18:33:45
Score: 1.5
Natty:
Report link

In case this is still of interest: I had a similar problem where I wanted to automate zipping files and Powershell and the zip-command from the context menu gave different results. this project on CodeProject really helped me. The goal is to hide the progress window while zipping, but it explanes really well how to use the win32 API to do the zipping.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: a.Programmer

79276173

Date: 2024-12-12 18:23:42
Score: 4.5
Natty: 5
Report link

The following link explains the steps to be followed:

https://javaworklife.wordpress.com/2020/11/02/running-console-commands-from-intellij-plugin-actions/

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

79276160

Date: 2024-12-12 18:18:41
Score: 1
Natty:
Report link

This is the solution:

$ git clone https://github.com/TA-Lib/ta-lib-python.git

$ cd ta-lib-python

$ python setup.py install

Try it out! 👍

Reasons:
  • Whitelisted phrase (-2): solution:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Supardin Waly

79276155

Date: 2024-12-12 18:16:40
Score: 0.5
Natty:
Report link

Klocwork checker NUM.OVERFLOW.DF can report the issue if there are possible cases of numeric overflow or wraparound in an arithmetic operation.

When performing subtraction (e.g., Coord1 - Coord2), no negative values are allowed in unsigned arithmetic. If Coord2 is greater than Coord1, the subtraction will result in a wraparound (underflow), leading to unexpected large values. uint16 is an unsigned 16-bit integer with a range of 0 to 65535. in this case i believe the Static code analysis tool you are using (Klocwork) has reported a valid issue.

To resolve this, you may consider to cast the uint16 variables to a signed type (e.g., int32) during the subtraction to ensure that underflow doesn't occur, then convert back if necessary.

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

79276149

Date: 2024-12-12 18:13:39
Score: 2.5
Natty:
Report link

Did you check if the base url for your server is correct? looks like the https%3A%2F%mydomain-name.com%2Fimages%2Foutsource%2Ftest.jpeg is worng encoded.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Francisco Aviles

79276147

Date: 2024-12-12 18:13:39
Score: 1
Natty:
Report link

I had the same error when restoring from a much older subversion to the latest version on a new server using:

svnadmin load 'path to new repo' < 'svn dump file'

It was caused by trying to use an existing directory and solved by creating the new repo directory structure with the 'svnadmin create' command

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

79276143

Date: 2024-12-12 18:12:39
Score: 0.5
Natty:
Report link

Yes, this possible with Azure Powershell

Microsoft's documentation has an example for this

$webapp=Get-AzWebApp -ResourceGroupName <group-name> -Name <app-name>

# Set default / path to public subdirectory
$webapp.SiteConfig.VirtualApplications[0].PhysicalPath= "site\wwwroot\public"

# Add a virtual application
$virtualApp = New-Object Microsoft.Azure.Management.WebSites.Models.VirtualApplication
$virtualApp.VirtualPath = "/app2"
$virtualApp.PhysicalPath = "site\wwwroot\app2"
$virtualApp.PreloadEnabled = $false
$webapp.SiteConfig.VirtualApplications.Add($virtualApp)

# Save settings
Set-AzWebApp $webapp
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hekku2

79276139

Date: 2024-12-12 18:10:39
Score: 2
Natty:
Report link

with regards to @pseudocubic answer, I want to add an answer where you can include boundary condition too. the method adds, using shapely >> touches and instead of appending eligible points, excluding ineligible points, and at the end removing all empty points for both dimensions:

import numpy as np
from shapely.geometry import LineString, Polygon, Point

gridX, gridY = np.mgrid[0.0:10.0, 0.0:10.0]
poly = Polygon([[1,1],[1,7],[7,7],[7,1]])
stacked = np.dstack([gridX,gridY])
reshaped = stacked.reshape(100,2)
points = reshaped.tolist()
for i, point in enumerate(points):
        point_geom = Point([point])
        if not poly.contains(point_geom) and not poly.touches(point_geom): ## (x != x_min and x != x_max and y != y_min and y != y_max):  # second condition ensures within boundary
            points[i] = ([],[])  # Mark the point as None if it's outside the polygon

mod_points = [[coord for coord in point if coord] for point in points]  
mod_points = [point for point in mod_points if point is not None and point != []]

And for plotting,

#plot original points
fig = plt.figure()
ax = fig.add_subplot(111)
# Extract the x and y coordinates of polygon
poly_x, poly_y = poly.exterior.xy
ax.plot(poly_x, poly_y, c = "green")
#ploting modified points
ax.scatter(gridX,gridY)
mod_x, mod_y = zip(*mod_points)
ax.scatter(mod_x,mod_y , c = 'red')
plt.show()

points inside polygon

Reasons:
  • Blacklisted phrase (1): regards
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @pseudocubic
  • Low reputation (0.5):
Posted by: hamflow

79276129

Date: 2024-12-12 18:07:38
Score: 0.5
Natty:
Report link

A related issue is how to communicate a CSS value from JavaScript to CSS in real time (including for animation). Approach: use a property value ("variable") associated with the body element. Inherit it everywhere desired.

JS:

document.body.style.setProperty('--width1', '30px');

CSS:

#divA {width: var(--width1);}

Reasons:
  • No code block (0.5):
Posted by: David Spector

79276120

Date: 2024-12-12 18:03:37
Score: 1.5
Natty:
Report link

You could use &autoplay=true at the end of your URL. If you don't want your video to start muted, you can use &autoplay=true&smartAutoplay=true.

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

79276106

Date: 2024-12-12 17:58:36
Score: 3
Natty:
Report link

pict.resize(); pict.resize(0.1, 0.1); The Problem: When the top-left corner of the picture is in the very first row (Row1 = 0) or the very first column (Col1 = 0), the resizing logic gets confused and does not calculate the size of the picture correctly.

Why does Picture.resize() fix it? When you call Picture.resize() first, it makes sure the picture is placed correctly in its cell and calculates the bottom-right position properly. This step "fixes" any confusion about the picture's position.

Why does scaling (resize(double scaleX, double scaleY)) work after that? Once the picture has a correct starting position and bottom-right corner, the scaling logic has the right reference points to resize the picture.

Reasons:
  • RegEx Blacklisted phrase (1.5): fix it?
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Sangita Bhattarai

79276103

Date: 2024-12-12 17:56:36
Score: 3
Natty:
Report link

I know this is old but all you need to do is add the dependencies to the package instead of the project.

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

79276102

Date: 2024-12-12 17:56:36
Score: 1
Natty:
Report link
  1. Precision loss you described is expected. Always normalize quaternions when using "Eigen" library.

  2. To optimize transformations multiplication of the form "t1.inverse() * t2" in terms of precision, you can implement a custom function t1.inverseMul(t2).

qr = q1.inverse()q2; pr = qr(p2-p1);

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

79276101

Date: 2024-12-12 17:56:36
Score: 1.5
Natty:
Report link

Open Terminal. Run the command lsof -i : (make sure to insert your port number) to find out what is running on this port. Copy the Process ID (PID) from the Terminal output. Run the command kill -9 (make sure to insert your PID) to kill the process on port.

maybe you can find the process for it and kill it instead of control c

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

79276100

Date: 2024-12-12 17:55:35
Score: 0.5
Natty:
Report link

This has been answered here (https://github.com/davidgohel/officedown/discussions/103) but took me some time to understand and implement, so I am summarising for you here. Basically, put this section after your 'setup' section:

```{r pagenumberingfix}

 #see https://stackoverflow.com/questions/67032523/when-using-officedown-changing-from-portait-to-landscape-causes-problems-with-pa

footer_default <- block_list(fpar(run_word_field(field = "PAGE"),
                                  fp_p = fp_par(text.align = "center") ))

block_section(prop_section(footer_default = footer_default))
```

In your 'setup' section above it, make sure your knitr options are set to prevent code, but not the results from appearing in the finished file - so that the above code code is not shown in the finished file. For some reason if you try to do it with '{r pagenumberingfix, include=FALSE}' as the header, it won't work. Your 'setup' section should look something like this:

knitr::opts_chunk$set(echo = FALSE)
library(officedown) # 0.3.0
library(officer) # 0.6.2

Hope this works for you!

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: befriendabacterium

79276096

Date: 2024-12-12 17:54:35
Score: 0.5
Natty:
Report link

Adding on the existing answers, note that you can override GitLab CI variables like CI_PIPELINE_SOURCE = 'merge_request_event' to specifically trigger your MR pipeline against a branch.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Wayne Kaskie

79276090

Date: 2024-12-12 17:50:35
Score: 2.5
Natty:
Report link

I managed to solve this problem by changing

<AndroidPackageFormat>aab</AndroidPackageFormat>

to

<AndroidPackageFormat>apk</AndroidPackageFormat>

In project settings.

See also: https://developercommunity.visualstudio.com/t/Visual-Studio-1710-MAUI-NET-8-Android:/10707962

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

79276087

Date: 2024-12-12 17:50:35
Score: 1.5
Natty:
Report link

In my case after change parameters for each one of the sources I could fix this issue. For some reason it started considering fix IP and disabled parameters, I edited it via PBI Desktop, remove the fix IP and add parameters (server and database).

from = PostgreSQL.Database("111.111.111.111:PORT", db_prod) to = PostgreSQL.Database(Server_IP, Database)

enter image description here

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

79276085

Date: 2024-12-12 17:50:35
Score: 3.5
Natty:
Report link

There's a book called The art of assembly language the second edition by Randall Hyde, Which is dedicated to HLA, I recommend you to see it.

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

79276070

Date: 2024-12-12 17:44:33
Score: 3.5
Natty:
Report link

Try setting browserstackLocal as true in the BrowserStack.yml file and to make sure that the browserstack local is running you can check localhost:45454 and see if the UI loads.

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

79276065

Date: 2024-12-12 17:41:32
Score: 1.5
Natty:
Report link

The directory is owned by root. Change the ownership to your user macmini before modifying permissions:

sudo chown macmini:staff ServerBacku

Retry then verify with ls -le.

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

79276063

Date: 2024-12-12 17:39:30
Score: 11 🚩
Natty: 4.5
Report link

I'm having the same problem. I'm trying to configure new environment including TATHU ( Trancking and Analysis of Thunderstorms) module and use it in Spyder. I Installed the last version of Anaconda and create a new environment including TATHU module and Spyder kernel and I also install GDAL package from ANACONDA. I activated it and set it as preferred kernel on Spyder. When I try to import gdal using the command from osgeo import gdal I receive the following message:

ModuleNotFoundError: No module named '_gdal'

It Interesting is that when check if GDAL is installed using the command CONDA SEARCH gdal I receive the following list:

Name Version Build Channel

gdal 2.2.2 py27h58389d3_1 pkgs/main gdal 2.2.2 py35h202a4aa_1 pkgs/main gdal 2.2.2 py36hcebd033_1 pkgs/main gdal 2.3.2 py36h16ee443_0 pkgs/main gdal 2.3.2 py36hc52aedc_0 pkgs/main gdal 2.3.2 py37h16ee443_0 pkgs/main gdal 2.3.2 py37hc52aedc_0 pkgs/main gdal 2.3.3 py36hdf43c64_0 pkgs/main gdal 2.3.3 py37hdf43c64_0 pkgs/main gdal 2.3.3 py38hdf43c64_0 pkgs/main gdal 3.0.2 py310h3243524_6 pkgs/main gdal 3.0.2 py36hb978731_1 pkgs/main gdal 3.0.2 py36hdf43c64_0 pkgs/main gdal 3.0.2 py37hb978731_1 pkgs/main gdal 3.0.2 py37hb978731_2 pkgs/main gdal 3.0.2 py37hb978731_3 pkgs/main gdal 3.0.2 py37hb978731_4 pkgs/main gdal 3.0.2 py37hb978731_5 pkgs/main gdal 3.0.2 py37hb978731_6 pkgs/main gdal 3.0.2 py37hdf43c64_0 pkgs/main gdal 3.0.2 py38hb978731_1 pkgs/main gdal 3.0.2 py38hb978731_2 pkgs/main gdal 3.0.2 py38hb978731_3 pkgs/main gdal 3.0.2 py38hb978731_4 pkgs/main gdal 3.0.2 py38hb978731_5 pkgs/main gdal 3.0.2 py38hb978731_6 pkgs/main gdal 3.0.2 py38hdf43c64_0 pkgs/main gdal 3.0.2 py39hb978731_1 pkgs/main gdal 3.0.2 py39hb978731_2 pkgs/main gdal 3.0.2 py39hb978731_3 pkgs/main gdal 3.0.2 py39hb978731_4 pkgs/main gdal 3.0.2 py39hb978731_5 pkgs/main gdal 3.0.2 py39hb978731_6 pkgs/main gdal 3.4.1 py310h0fae465_0 pkgs/main gdal 3.4.1 py37h9b7a543_0 pkgs/main gdal 3.4.1 py38h9b7a543_0 pkgs/main gdal 3.4.1 py39h9b7a543_0 pkgs/main gdal 3.6.0 py310ha7264f1_0 pkgs/main gdal 3.6.0 py310ha7264f1_1 pkgs/main gdal 3.6.0 py311h4eb7e23_0 pkgs/main gdal 3.6.0 py37h36fb4bc_0 pkgs/main gdal 3.6.0 py37h36fb4bc_1 pkgs/main gdal 3.6.0 py38h36fb4bc_0 pkgs/main gdal 3.6.0 py38h36fb4bc_1 pkgs/main gdal 3.6.0 py39h36fb4bc_0 pkgs/main gdal 3.6.0 py39h36fb4bc_1 pkgs/main gdal 3.6.2 py310h1c2bfe4_1 pkgs/main gdal 3.6.2 py310h3565590_3 pkgs/main gdal 3.6.2 py310h7670e6c_3 pkgs/main gdal 3.6.2 py310h7670e6c_4 pkgs/main gdal 3.6.2 py310h7670e6c_5 pkgs/main gdal 3.6.2 py310h7670e6c_6 pkgs/main gdal 3.6.2 py310h7670e6c_7 pkgs/main gdal 3.6.2 py310ha7264f1_0 pkgs/main gdal 3.6.2 py310hf6e6a5b_2 pkgs/main gdal 3.6.2 py311h0fa4dd5_2 pkgs/main gdal 3.6.2 py311h4e7b5b2_3 pkgs/main gdal 3.6.2 py311h4e7b5b2_4 pkgs/main gdal 3.6.2 py311h4e7b5b2_5 pkgs/main gdal 3.6.2 py311h4e7b5b2_6 pkgs/main gdal 3.6.2 py311h4e7b5b2_7 pkgs/main gdal 3.6.2 py311h4eb7e23_0 pkgs/main gdal 3.6.2 py311ha692538_1 pkgs/main gdal 3.6.2 py311hdc74492_3 pkgs/main gdal 3.6.2 py312h8827949_3 pkgs/main gdal 3.6.2 py312h8827949_4 pkgs/main gdal 3.6.2 py312h8827949_5 pkgs/main gdal 3.6.2 py312h8827949_6 pkgs/main gdal 3.6.2 py312h8827949_7 pkgs/main gdal 3.6.2 py38h3565590_3 pkgs/main gdal 3.6.2 py38h36fb4bc_0 pkgs/main gdal 3.6.2 py38h7670e6c_3 pkgs/main gdal 3.6.2 py38h7670e6c_4 pkgs/main gdal 3.6.2 py38h7670e6c_5 pkgs/main gdal 3.6.2 py38h9eae49a_1 pkgs/main gdal 3.6.2 py38hf6e6a5b_2 pkgs/main gdal 3.6.2 py39h3565590_3 pkgs/main gdal 3.6.2 py39h36fb4bc_0 pkgs/main gdal 3.6.2 py39h7670e6c_3 pkgs/main gdal 3.6.2 py39h7670e6c_4 pkgs/main gdal 3.6.2 py39h7670e6c_5 pkgs/main gdal 3.6.2 py39h7670e6c_6 pkgs/main gdal 3.6.2 py39h7670e6c_7 pkgs/main gdal 3.6.2 py39h9eae49a_1 pkgs/main gdal 3.6.2 py39hf6e6a5b_2 pkgs/main

Someone knows how to solve this problem?

Thank you

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): I'm having the same problem
  • Blacklisted phrase (1): how to solve
  • RegEx Blacklisted phrase (1.5): how to solve this problem?
  • RegEx Blacklisted phrase (2): knows how to solve
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same problem
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Marco Aurelio Faial Rodrigues

79276054

Date: 2024-12-12 17:36:29
Score: 3
Natty:
Report link

this solution worked to me

<domain includeSubdomains="true">127.0.0.1</domain>
        <domain includeSubdomains="true">localhost</domain>
        <domain includeSubdomains="true">10.0.2.2</domain>
        <domain includeSubdomains="true">10.0.3.2</domain>

https://stackoverflow.com/a/63286158/1308590

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: famfamfam

79276053

Date: 2024-12-12 17:35:29
Score: 3.5
Natty:
Report link

get_permalink, needs an id as a parameter, get_the_permalink uses the current post id. https://developer.wordpress.org/reference/functions/get_permalink/ https://developer.wordpress.org/reference/functions/get_the_permalink/

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

79276040

Date: 2024-12-12 17:32:28
Score: 3
Natty:
Report link

I had same problem for my old project and I tried other solution but it is not working for me.

Solution worked for me:

Reasons:
  • Whitelisted phrase (-1): worked for me
  • RegEx Blacklisted phrase (3): not working for me
  • Low length (0.5):
  • No code block (0.5):
Posted by: Nitin Patel

79276035

Date: 2024-12-12 17:30:28
Score: 1.5
Natty:
Report link

An example with Pandas:

df = pd.DataFrame({"DT_CLS": ["date1", "date2", np.nan, np.nan, "date3"]})
df["OPEN_CLS_STS"] = df["DT_CLS"].map(lambda x: "C" if x is not np.nan else "O")
display(df)

res

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

79276026

Date: 2024-12-12 17:28:28
Score: 1
Natty:
Report link

To differentiate between an AddressSanitizer (ASan) error and a program exit, set ASAN_OPTIONS=halt_on_error=0 to allow the program to continue running after an ASan error. Then check the logs or output for ASan-specific error messages rather than relying solely on the exit code. Unfortunately, exitcode in ASAN_OPTIONS doesn't work as expected in all cases due to tool limitations. A more robust approach is to wrap your program in a script that captures ASan output for analysis.

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

79276022

Date: 2024-12-12 17:27:27
Score: 1.5
Natty:
Report link

Remove the @:

    Public Sub OnGet()
        Dim query = $"
Today is {DateTime.Today} 
and it is a {DateTime.Today.DayOfWeek}
"
    End Sub

More info: How to do a verbatim string literal in VB.NET?

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Andrew Morton

79276010

Date: 2024-12-12 17:22:26
Score: 1
Natty:
Report link

MUI Date Picker V7: If you're using react hook useForm you'll need to set the register function inside the textfield object of the slotProps.

<DatePicker ...
    slotProps={{
     textField: {
      ...register('propertyName'),
      error: !!errors?.propertName?.message,
      helperText: errors?.propertyName?.message
     },
    }}
...  />
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Kyra

79276003

Date: 2024-12-12 17:20:25
Score: 5.5
Natty: 5.5
Report link

Any Swift UIKIt Alternative LIbrary now a days?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Aftab Alam

79275994

Date: 2024-12-12 17:17:24
Score: 1.5
Natty:
Report link

We changed our project's dependencies to leverage pyproject.toml instead of the setup.py which caused the same issue where the Cython (.pyx) files were not recognized by PyCharm's editor, but everything was built correctly. Every import from a Cython file showed squiggly red lines.

After upgrading from PyCharm Community 2024.3 to PyCharm Professional 2024.3, the squiggly red lines disappeared and the Cython files seemed to integrate properly.

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

79275985

Date: 2024-12-12 17:14:23
Score: 1.5
Natty:
Report link

Return an object as the title prop on your Tag instead of a string. Then you can add any styles you want to it.

<Tab title={<span className="text-dark-blue">Website</span>}>

The problem with your current approach is that NextUI is adding the class you've given it to an element above the one that sets the text color by default, so your text color style is overridden. Check out this documentation to get a better understanding of how it works.

Reasons:
  • Blacklisted phrase (1): this document
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Garrett Roberts

79275982

Date: 2024-12-12 17:13:23
Score: 2
Natty:
Report link

Just use groupby:

gp = df.groupby(["univertcity", "country", "sector"])
for key, item in gp:
    print(gp.get_group(key), "\n\n")

res

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

79275979

Date: 2024-12-12 17:12:23
Score: 2
Natty:
Report link

Different compilers produce different computer commands that is a reason for different results. By the way, did you use the same com computer for calculations? Also, some "standard" library functions do have different implementations. Also, and it is well known that even the same compiler with different optimization levels produces slightly (or may be not) calculation results. Just, because of the rounding errors are different for different commands sequence. So, different results are not obligatory a mistake.

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

79275971

Date: 2024-12-12 17:10:22
Score: 1
Natty:
Report link

@bb1's solution works great and answers the question, and I wanted to add details for future visitors by LaTeX users:

Summary of Brace Usage

Input String Output String Purpose
f"{{value}}" {value} Escapes {} for literal braces
fr"$x^{{2}}$" $x^{2}$ LaTeX grouping braces
fr"$x^{{{value}}}$" $x^{2}$ Dynamic Python value inside LaTeX
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @bb1's
  • Low reputation (0.5):
Posted by: Toonia

79275967

Date: 2024-12-12 17:09:22
Score: 1.5
Natty:
Report link

The problem is apparently @hotwired/stimulus ^3.0. It may be required directly in package.json or e.g. by the new version of stimulus-use. I removed it from package.json and updated the stimulus-use: ^0.24.0-1. After yarn install --force everything works as it should.

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

79275959

Date: 2024-12-12 17:06:21
Score: 0.5
Natty:
Report link
from sklearn.decomposition import LatentDirichletAllocation
from sklearn.utils.extmath import randomized_svd
from tqdm import tqdm
import numpy as np

n_components = 12
n_iter = 10  

lda_model = LatentDirichletAllocation(
    n_components=n_components,
    max_iter=1,  # We'll manually control iterations
    random_state=42,
    learning_method='online'
)

progress_bar = tqdm(total=n_iter, desc="LDA Training Progress")

for _ in range(n_iter):
    lda_model.partial_fit(count_data)  
    progress_bar.update(1)

progress_bar.close()

lda_topics = lda_model.components_
lda_feature_names = count_vectorizer.get_feature_names_out()

for topic_idx, topic in enumerate(lda_topics):
    print(f"Topic {topic_idx}:")
    print(" ".join([lda_feature_names[i] for i in topic.argsort()[-10:]]))

enter image description here

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

79275956

Date: 2024-12-12 17:04:19
Score: 7.5 🚩
Natty: 6
Report link

IN case of invalid reference in SNow caller field , when I am creating an incident using business contact from devops , SNow is updating as blank, instead I want to hardcode it so that caller is there before marking the state to done.

Can you please share the script on how to do so?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you please share
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Sandeep Singh

79275948

Date: 2024-12-12 17:01:19
Score: 1
Natty:
Report link

Using .agg with columns that are not string

Combining a few answers in this thread, I found this worked quite well when encountering columns that are not strings whilst avoiding slow lambda functions and allowing delimiters.

df['Period'] = df[['Year', 'Quarter']].astype(str).agg('-'.join, axis=1)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user28755543

79275943

Date: 2024-12-12 17:00:18
Score: 5.5
Natty:
Report link

Please refer:
https://stackoverflow.com/help/how-to-ask\ https://stackoverflow.com/questions/33001677/the-differences-between-the-operator-and\ https://pandas.pydata.org/docs/reference/api/pandas.isnull.html

As a new contributor it is important you follow the implicit guidelines that every other developer here does as it helps represent information most efficiently

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Blacklisted phrase (1): stackoverflow.com/help
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: kay

79275936

Date: 2024-12-12 16:56:17
Score: 2
Natty:
Report link

I had the same problem, i just had to delete client:load from my .astro component and the error disappear. :)

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

79275927

Date: 2024-12-12 16:51:16
Score: 2.5
Natty:
Report link

Almost 2025, any way to automate opening up the add-in?

We too have a usecase where we log some fixed data for each email our clients open. Having to first open up the email, then click on the add-in is a bottleneck at this point for our clients.

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

79275922

Date: 2024-12-12 16:51:16
Score: 1.5
Natty:
Report link

Looking into this, I start to believe that on every sort action, you need to sort your entire entity list and recreate the groups with your groupBy function.

Best example of what I have found: Stackblitz

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

79275921

Date: 2024-12-12 16:51:16
Score: 2
Natty:
Report link

Postgres 17 introduced the MAINTAIN privilege which allows you to refresh a materialized view.

GRANT MAINTAIN ON materiview FOR user;

https://www.postgresql.org/docs/17/ddl-priv.html

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

79275916

Date: 2024-12-12 16:50:15
Score: 0.5
Natty:
Report link

Exit code 3221225725 is 0xC00000FD in hex, which is STATUS_STACK_OVERFLOW.

Essentially, your initializer list is too large. This is a known problem P2752R3, as explained here.

But the fix is currently supported only in GCC v14, see cppreference.

Anyway, as people have mentioned in comments to your question, never #include <bits/stdc++.h>, because the standard C++ does not have that header, see Why should I not #include <bits/stdc++.h>?.

Also, don't use using namespace std;, certainly never in headers, but preferably not in source code as well, see What's the problem with using namespace std;?.

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: heap underrun

79275912

Date: 2024-12-12 16:49:15
Score: 1.5
Natty:
Report link

I know this is an old post but here's the extremely short answer... The line in proper CSV format should be "Samsung U600 24""","10000003409","1","10000003427" Following the 24 you should have 3 double quotes. The first 2 double quotes will make the one double quote in the actual field. The third double quote ends the field started by the doublequote in front of Samsung.

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

79275909

Date: 2024-12-12 16:48:15
Score: 1
Natty:
Report link

The following line is causing the issue:

ax3.plot(bp_phase_snd_cycle, rp_mag, 'o', markersize=7, markerfacecolor="#ffa500", markeredgewidth=1, markeredgecolor='black')

Both ax1 and ax3 are using the same setting bp_phase_snd_cycle. Perhaps you meant rp_phase_snd_cycle.

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

79275907

Date: 2024-12-12 16:48:15
Score: 2.5
Natty:
Report link

Same here, since one windows update. Windows Version 10.01.19045

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Antonio Cunha Santos

79275903

Date: 2024-12-12 16:46:14
Score: 3
Natty:
Report link

I just did this because (IF(ISBLANK)) formulas:

=COUNTA(range)-COUNTBLANK(range)

So, something like: =COUNTA(A1:A100)-COUNTBLANK(A1-A100)

This will give you an accurate count.

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

79275900

Date: 2024-12-12 16:44:14
Score: 1
Natty:
Report link

def check(phone_number): try: contact = InputPhoneContact(client_id = 0, phone = phone_number, first_name="سوسو", last_name="last_test") contacts = client(functions.contacts.ImportContactsRequest([contact])) username = contacts.to_dict()['users'][0]['username'] dell = client(functions.contacts.DeleteContactsRequest(id=[username])) return username

except:
    res = "__err__"
    return res
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28755378

79275897

Date: 2024-12-12 16:43:14
Score: 3.5
Natty:
Report link

trading bot for the world and make big profit

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

79275878

Date: 2024-12-12 16:38:12
Score: 0.5
Natty:
Report link

This will do the trick

library(dplyr)

test <- data.table::data.table(name = c(rep(1,20), rep(2,20), rep(3,20)), type = c(rep("apple",10), rep("pear",10), rep("apple",15), rep("pear",5), rep("pear",20)))

test %>%
  group_by(name) %>%
  summarise(diff = sum(type == "apple") - sum(type == "pear"))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: thekangaroofactory

79275873

Date: 2024-12-12 16:38:11
Score: 8 🚩
Natty: 5.5
Report link

Did you manage to resolve the error? I have something similar, the CFHid_GetUsbCount method always returns a zero and I can't find a possible solution.

Reasons:
  • RegEx Blacklisted phrase (3): Did you manage to resolve the
  • RegEx Blacklisted phrase (1.5): resolve the error?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: LunaticROY