79660336

Date: 2025-06-10 11:31:07
Score: 0.5
Natty:
Report link

According to your requirements,to split each dataset row into two in Spark,flatMap transforms one row into two in a single pass, much faster than merging later. Just load your data, apply a simple function to split rows, and flatMap handles the rest. Then, convert the result back to a DataFrame for further use.

Below is the code snippets:

from pyspark.sql import SparkSession

spark = SparkSession.builder.appName("SplitRows").getOrCreate()
data = [("a,b,c,d,e,f,g,h",), ("1,2,3,4,5,6,7,8,7,9",)]

df = spark.createDataFrame(data, ["value"])
df.show()

def  split_row(row):
parts = row.value.split(',')
midpoint =  len(parts) //  2
return [(",".join(parts[:midpoint]),), (",".join(parts[midpoint:]),)]

split_rdd = df.rdd.flatMap(split_row)
result_df = spark.createDataFrame(split_rdd)
result_df.show()

enter image description here

Output:
enter image description here

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

79660334

Date: 2025-06-10 11:29:06
Score: 3.5
Natty:
Report link

check your dify_plugin version if satisfy the requirements.txt

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

79660328

Date: 2025-06-10 11:24:05
Score: 2.5
Natty:
Report link

One needs to set the randomization seed for the study object (trial) to make sure the random sequence of hyperparameters are repeatable. The "random_state" in Random Forest controls the procedures for Random Forest but not the imputed hyperparameters.

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

79660325

Date: 2025-06-10 11:21:05
Score: 1.5
Natty:
Report link

Just in case someone is looking for it.

formControlName=""
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: FrankAi

79660319

Date: 2025-06-10 11:18:03
Score: 5
Natty: 5
Report link

🙏 Thank you it really helped me

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): 🙏
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Adarsh S M

79660317

Date: 2025-06-10 11:15:03
Score: 2.5
Natty:
Report link

You should use QT_VIRTUALKEYBOARD_SCALE_FACTOR instead of QT_VIRTUALKEYBOARD_HEIGHT_SCALE. Because QT_VIRTUALKEYBOARD_HEIGHT_SCALE has been removed since version 6.2

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

79660316

Date: 2025-06-10 11:12:02
Score: 5
Natty:
Report link

Same problem. Found this info about the ongoing problem, which started today (06/10/25) morning: https://status.salesforce.com/generalmessages/10001540

Reasons:
  • RegEx Blacklisted phrase (1): Same problem
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: JiiT

79660314

Date: 2025-06-10 11:11:01
Score: 3
Natty:
Report link

Recently I required to migrate Office 365 one tenant to another tenant and I take the help of MailsDaddy solution to done this task. The MailsDaddy offer the impressive service to me. Thank You!

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

79660313

Date: 2025-06-10 11:11:01
Score: 1.5
Natty:
Report link

Please run 2 commands.

  1. composer clear-cache

  2. composer config preferred-install dist

    Note: May be you encountered an error for each dependency, prompting you to enable the .zip extension in the php.ini file. Once You enabled it, everything worked perfectly fine.

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

79660312

Date: 2025-06-10 11:11:01
Score: 0.5
Natty:
Report link

The Row and Column Level Security and Table ACLs defined in Databricks Unity Catalog do not carry over when exporting data to Azure SQL Database, regardless of whether the export is done via JDBC, pipelines, or notebooks.

The reason behind this is Unity Catalog’s security model is enforced only at query time within Databricks. The access rules are not stored as metadata within the data itself, so once the data is exported, it becomes plain data in Azure SQL DB, with no security context.

To maintain similar security in Azure SQL Database, you need to define access controls again, using native Azure SQL DB features.

Below I've shown an example how I manually added RLS in SQL database:

Firstly, I created RLS predicate function to ensure users only see rows matching their region:

enter image description here

Then, created the Security Policy:

enter image description here

Lastly, Simulated access for a specific region:

enter image description here

This ensures users only see the rows for their assigned region.

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

79660306

Date: 2025-06-10 11:08:00
Score: 0.5
Natty:
Report link

In addition for Yogesh Rewani's answer, in Jetpack Compose you can achieve it by:

import androidx.compose.ui.platform.LocalClipboardManager


val clipboardManager = LocalClipboardManager.current

LaunchedEffect(Unit) {
 clipboardManager.nativeClipboard.addPrimaryClipChangedListener {
  // Your logic here
 }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Abokyy

79660302

Date: 2025-06-10 11:05:59
Score: 0.5
Natty:
Report link

I was able to get this to work. Instead of using my own sendBack function, i used the postMessage and WebMessageReceived.

JS code:

wWebView.CoreWebView2.ExecuteScriptAsync("window.addEventListener('message', function (event) {if (event.data && event.data.type === 'CPResponse') {window.chrome.webview.postMessage(JSON.stringify(event.data.data));}}, false);")

VB code:

Private Sub wWebView_WebMessageReceived(sender As Object, e As CoreWebView2WebMessageReceivedEventArgs) Handles wWebView.WebMessageReceived
        sendBack(e.TryGetWebMessageAsString())
    End Sub
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: dcme

79660296

Date: 2025-06-10 10:59:57
Score: 3
Natty:
Report link

There was an underlying issue in the dataset i was summing on, unfortunately i don't remember the specific details, but i think it was something with hidden decimals. I did get it to work in the end.

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

79660290

Date: 2025-06-10 10:54:56
Score: 3
Natty:
Report link

after Login in to Google Ad Manager,

Reasons:
  • Blacklisted phrase (2): crear
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Ajaykumar Mistry

79660273

Date: 2025-06-10 10:45:54
Score: 1.5
Natty:
Report link

Does it has to be a python package? Is an external program viable?

You got "Blender", which is 2D/3D modeling software. It full supports python and its functions. And its completely free.

You could create scripts there to render your objects and use intersection functions. Further modify or even export your work.
Blender is super python friendly. I belive you got full access to all features from script level in blender.

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

79660266

Date: 2025-06-10 10:38:51
Score: 1.5
Natty:
Report link

Gemini

2.5 Flash

Chat with Gemini in an app.

Now available on Google Play.

Try app

Conversation with Gemini

Google Analytics is not working as it used before, numbers went more than half down suddenly while I am pretty sure that I have more visitors than the

It's definitely frustrating when your Google Analytics data doesn't reflect your actual visitor numbers. This is a common issue and can stem from various causes. Since you've already tried changing the code and testing, let's go through a systematic approach to track down the problem:

1. Verify Your Google Analytics Setup (Most Common Issues)

Real-time Reports: The absolute first step is to check your Google Analytics Real-time report. Open your website in an incognito/private browser window (to avoid any cached data or extensions) and navigate a few pages. Then, go to your GA4 Real-time report (Reports > Realtime). Do you see your own activity reflected there immediately?

If you don't see your activity: This is a strong indicator that your GA4 tracking code is either not installed correctly, has errors, or is being blocked.

If you do see your activity (but numbers are still low in standard reports): This suggests data processing issues, filters, or other configuration problems.

Tracking Code Implementation:

Is it on every page? Ensure the GA4 tracking code (the G-XXXXXXXXXX ID) is correctly implemented on every page of your website.

Placement: The code should generally be placed in the <head> section of your website's HTML, just before the closing </head> tag.

Duplicate Codes: Check for any duplicate GA tracking codes. Having more than one can lead to skewed data.

Google Tag Assistant: Use the Google Tag Assistant Chrome extension to verify if your GA4 tags are firing correctly on each page of your website. It will highlight any errors or warnings.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Filler text (0.5): XXXXXXXXXX
  • Low reputation (1):
Posted by: Vishal Yadav

79660264

Date: 2025-06-10 10:36:51
Score: 2.5
Natty:
Report link

Dont use Beanshell sampler. Use JSR sampler and get the variables as usual like vars.get("variableName");

In Bean shell sampler it wont work.

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

79660262

Date: 2025-06-10 10:33:50
Score: 0.5
Natty:
Report link

It's fun that here comes a new answer after 14 years.

After searching around for more than a couple of hours, by referring to the comment at top of this topic:
https://stackoverflow.com/a/55255113/853191

I worked out a solution as below:


import android.content.Context;
import android.graphics.Matrix;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;

import androidx.appcompat.widget.AppCompatImageView;

public class ScaleMatrixImageView extends AppCompatImageView {

    public ScaleMatrixImageView(Context context) {
        super(context);
        init();
    }

    public ScaleMatrixImageView(Context context, AttributeSet attrs) {
        super(context, attrs);
        init();
    }

    public ScaleMatrixImageView(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
        init();
    }

    private void init() {
        setScaleType(ScaleType.MATRIX); // very important
    }

    @Override
    protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
        super.onLayout(changed, left, top, right, bottom);
        updateMatrix();
    }

    private void updateMatrix() {
        Drawable drawable = getDrawable();
        if (drawable == null) return;

        int dWidth = drawable.getIntrinsicWidth();
        int dHeight = drawable.getIntrinsicHeight();
        int vWidth = getWidth();
        int vHeight = getHeight();

        if (dWidth == 0 || dHeight == 0 || vWidth == 0 || vHeight == 0) return;

        // Compute scale to fit width, preserve aspect ratio
        float scale = (float) vWidth / (float) dWidth;
        float scaledHeight = dHeight * scale;

        Matrix matrix = new Matrix();
        matrix.setScale(scale, scale);

        if (scaledHeight > vHeight) {
            // The image is taller than the view -> need to crop bottom
            float translateY = 0; // crop bottom, don't move top
            matrix.postTranslate(0, translateY);
        } else {
            // The image fits inside the view vertically — center it vertically
            float translateY = (vHeight - scaledHeight) / 2f;
            matrix.postTranslate(0, translateY);
        }

        setImageMatrix(matrix);
    }


}

Use it in layout:

    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1"
        >
        <com.renren.android.chimesite.widget.ScaleMatrixImageView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:src="@drawable/watermark"
            />
        <androidx.recyclerview.widget.RecyclerView
            android:id="@+id/rv_messages"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            />
    </FrameLayout>

and it looks like: enter image description here

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
Posted by: LiuWenbin_NO.

79660257

Date: 2025-06-10 10:31:49
Score: 2
Natty:
Report link

GUI (without using terminal):
MacOS -> Sourcetree application -> Repository -> Repository Setting -> Advance tab -> Edit Config File

Add these inside the config file:

[http]
    postBuffer = 157286400

enter image description here

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

79660251

Date: 2025-06-10 10:28:48
Score: 1
Natty:
Report link

As far as I understand the code is of component OrdersTable. If you are using vue3, try to remove
lines

import OrdersTable from 'src/components/OrdersTable.vue'
components: { OrdersTable }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alexander Vasilev

79660243

Date: 2025-06-10 10:23:47
Score: 0.5
Natty:
Report link

There is something ambiguos in the question - if we look your code

CASE WHEN v.status IN ('ACTIVE', 'PENDING') THEN 'ACTIVE' ELSE 'INACTIVE' END

... then it looks like you want the status column to be either 'ACTIVE' or 'INACTIVE'

If that is the case then one of the options is to use reverse logic - testing the 'INACTIVE' (or null) status and puting everything else as 'ACTIVE':

Select  Distinct
           c.owner_id, c.pet_id, c.name, c.address, 
           DECODE(Nvl(v.STATUS, 'INACTIVE'), 'INACTIVE', 'INACTIVE', 'ACTIVE')  as status 
From       CUSTOMERS_TABLE c
Left Join  VISITS_TABLE v ON(v.owner_id = c.owner_id And v.pet_id = c.pet_id)
Order By   c.owner_id, c.pet_id
OWNER_ID PET_ID NAME ADDRESS STATUS
1 1 Alice 1 The Street ACTIVE
2 2 Beryl 2 The Road ACTIVE
3 3 Carol 3 The Avenue INACTIVE

fiddle

However, in your expected result there are three statuses (PAID, ACTIVE, INACTIVE) which is inconsistent with the code and raises the question of how many different statuses are there and how they should be treated regarding activity/inactivity - we know from the code about PENDING but there could be some other statuses too ?

Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: d r

79660237

Date: 2025-06-10 10:21:46
Score: 3.5
Natty:
Report link

For future developers: you can now use media_drm_id to get a non-resettable, hardware-backed Android ID

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

79660224

Date: 2025-06-10 10:15:44
Score: 3.5
Natty:
Report link

Try by removing refresh and update methods

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

79660216

Date: 2025-06-10 10:09:43
Score: 2
Natty:
Report link

install it anyway.

pip install imap
Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: chrischma

79660214

Date: 2025-06-10 10:07:42
Score: 0.5
Natty:
Report link

Once viewing a (any) diff, to view files side-by-side or inline, there is the Compare: Toggle Inline View command that does just that, as @rio was on to above. I wanted to clarify what the command is called (and a comment does not allow images, nor snippets, hence this answer).

So, if you get a diff in inline view and want to view it side-by-side, just hit that command, here in the vs code command palette (ctrl-shift-p):

vs code command palette opened showing Compare: Toggle Inline Viewenter image description here

Command name for keybindings.json is toggle.diff.renderSideBySide:

{
    "key": "ctrl+alt+f12",
    "command": "toggle.diff.renderSideBySide",
    "when": "textCompareEditorVisible"
}

Hope this helps someone that came looking for this!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @rio
  • Low reputation (0.5):
Posted by: mawi

79660210

Date: 2025-06-10 10:05:41
Score: 1.5
Natty:
Report link

Solved it, temporarily, by using the param use_cache for the Composer instance.
We have many dags and each dag uses many Variables: this results in the Composer instance to re-parse each dag with all the variables associated.

Really bad legacy pattern.

Waiting for the right time to change this structure, the use_cache param set to True makes parsing faster and the propagation of the Variables' changes slower - fine by me!
The parsing time dropped from almost 10 minutes to 10 seconds, no jokes.

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

79660209

Date: 2025-06-10 10:05:41
Score: 4.5
Natty:
Report link

Since Vuetify 3.6 you have the v-date-input component that allows setting the format: https://vuetifyjs.com/en/components/date-inputs/

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

79660208

Date: 2025-06-10 10:04:40
Score: 0.5
Natty:
Report link

You could try MeshLab. It is an open-source 3D triangular meshes processing and editing software, with Python scripting capabilities through PyMeshLab. It supports boolean operations between meshes: difference, intersection & union.

These operations rely on the libigl C++ geomtry processing library. According to Meshlab, the intersection algorithm is based on the following paper: Zhou, Q., Grinspun, E., Zorin, D., & Jacobson, A. (2016). Mesh arrangements for solid geometry. ACM Transactions on Graphics (TOG), 35(4), 1-15.

I'm afraid that if you goal is beyond (triangular) mesh/mesh intersection, you'd need to implement the intersection algorithm yourself.

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

79660207

Date: 2025-06-10 10:01:40
Score: 3.5
Natty:
Report link

we coclude the happiness in the form of xxyy

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

79660203

Date: 2025-06-10 10:00:39
Score: 2.5
Natty:
Report link

No need to store output in txt file directly dump it to CER (.cer). Later if you want to convert to other format use openssl x509

echo | openssl s_client -connect www.openssl.org:443 -showcerts > out.cer (echo will avoid waiting for you to terminate the connection)

You can import this certificate to your keystore/ truststore

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

79660199

Date: 2025-06-10 09:59:39
Score: 1.5
Natty:
Report link

I recommend using jlowin/fastmcp (FastMCP2) on the server side instead of the FastMCP class from the modelcontextprotocol/python-sdk, as the latter just crashes when the client behaves unexpectedly.

(Current as of 2025)

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

79660197

Date: 2025-06-10 09:57:39
Score: 3.5
Natty:
Report link

you can try to use @socket.io/pm2 instead

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

79660193

Date: 2025-06-10 09:54:38
Score: 2.5
Natty:
Report link

call layoutIfNeeded at view before making image

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

79660189

Date: 2025-06-10 09:51:37
Score: 1.5
Natty:
Report link

Use:

[item_content, item_price, item_link]
db.session.add_all([item_content, item_price, item_link])
db.session.commit()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Андрей Изотов

79660188

Date: 2025-06-10 09:51:37
Score: 4
Natty: 5
Report link

If someone still interesting, see A/B testing (choose cluster runtime by eg. HttpContext request condition like user claim) https://learn.microsoft.com/en-us/aspnet/core/fundamentals/servers/yarp/ab-testing?view=aspnetcore-9.0

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

79660186

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

You can make HTTP GET to <host>/mcp and accept incoming events. That's all about streaming.

https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#listening-for-messages-from-the-server

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

79660178

Date: 2025-06-10 09:43:34
Score: 1.5
Natty:
Report link

If you are only checking the data integrity at server level then Hash (includes the Salt/Token) mechanism is okay for you. If you need data security, the data/info should not be leaked then use Crypto (e.g. Asymmetric etc.)

Also, your client side and server side hash is not matching because the pattern of the data concatenation to generate the hash is different on client & server. Kindly check the logic once.

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

79660177

Date: 2025-06-10 09:43:34
Score: 0.5
Natty:
Report link

This works:

import tensorflow.compat.v1 as tf # compatible only for multilingual USE, large USE, EN-DE USE, ...
#import tensorflow as tf # version 2 is compatible only for USE 4, ..
import tensorflow_hub as hub
import spacy
import logging
from scipy import spatial

logging.getLogger('tensorflow').disabled = True #OPTIONAL - to disable outputs from Tensorflow

# elmo = hub.Module('path if downloaded/Elmo_dowmloaded', trainable=False)
elmo = hub.load("https://tfhub.dev/google/elmo/3")

tensor_of_strings = tf.constant(["Gray",
                                 "Quick",
                                 "Lazy"])
elmo.signatures['default'](tensor_of_strings)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Sarka

79660174

Date: 2025-06-10 09:42:34
Score: 2.5
Natty:
Report link

Add to the data source of the report an additional field where you define the value based on your grouping criteria. Use this field than for grouping of the report.

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

79660169

Date: 2025-06-10 09:37:33
Score: 3
Natty:
Report link

Автоматизируй свой бизнес с Plati-Market-Shop.pw 🔧 Программы, боты и скрипты для продвижения и парсинга: 📌 Товары: Бот накрутка пф для Яндекс Карты, Парсер чатов Telegram по ключевым словам (Python), Авторегер аккаунтов Яндекс (ZennoPoster), Софт для рассылки в Telegram по чатам, Скрипт индексации ссылок в Google, Парсер контента с Telegram-каналов, Программа рассылки писем на Email (ZennoPoster), Спам-бот WhatsApp (ZennoPoster), Генератор дорвеев на Pinterest, Бот рассылки сообщений в Telegram (Python), Генератор HTML-дорвеев (ZennoPoster), Накрутка PF в Яндексе (бот), Дорвей на WordPress с шаблоном автопостинга, Бот автопостинга в VK по комментариям, Авторегер аккаунтов Gmail/Google, Парсер заголовков сайтов из Google, Многопоточный парсер Telegram-каналов, Парсер email-адресов с сайтов, Перевод аудио в текст, Программа сокращения ссылок, Конвертер PDF в Word, Программа индексации ссылок в Google (Python) 🌐 Заходи сейчас: https://plati-market-shop.pw

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (1.5):
  • Low reputation (1):
Posted by: Богдан Демидов

79660160

Date: 2025-06-10 09:30:31
Score: 3.5
Natty:
Report link

It was vim-match plugin issue. The moment I removed it, all was okay

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

79660159

Date: 2025-06-10 09:30:31
Score: 0.5
Natty:
Report link

Fluent Bit uses inodes to track files in the filesystem. If the log file is deleted and recreated, the new file has a different inode, even if it has the same name. Fluent Bit sees this as a new file and starts reading from the beginning — which causes duplicate log forwarding.

Solutions to avoid re-sending full files:

1. Use Refresh_Interval with Ignore_Older and Skip_Long_Lines:
Helps Fluent Bit ignore old files and reduce re-reading risk.
2. Use Rotate_Wait:
Tells Fluent Bit to wait for a rotated file to finish writing before processing the new.
3. Try Path_Key or Key_Include:
You can tag each log line with the file path or other metadata for downstream de-duplication.
4. Log rotation policy change:
Instead of recreating files, append to existing logs to maintain the inode.
5. Use Mem_Buf_Limit and Storage.type filesystem:
Helps maintain state across restarts so Fluent Bit doesn't reprocess everything.

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

79660155

Date: 2025-06-10 09:29:31
Score: 0.5
Natty:
Report link

Correcting the order of building more than one project in visual studio solved the problem.

In my case, One project output binaries is references files for another project. When i changed the order, compilation was successful, but getting this error during the run time. Had all the necessary package, still getting the error. Later, it was found out and focused on the order of projects compilation in VS and avoided "Error: Cannot load file or assembly netstandard, Version=2.1.0.0" during the runtime.

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

79660152

Date: 2025-06-10 09:28:30
Score: 4
Natty:
Report link

I got an answer for it by the creator on github.

https://github.com/colinhacks/zod/issues/4654#event-18065855866

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

79660151

Date: 2025-06-10 09:27:30
Score: 1
Natty:
Report link

maybe this helps
https://forum.posit.co/t/find-the-name-of-the-current-file-being-rendered-in-quarto/157756/2

from @cderv's answer :

knitr has knitr::current_input() function. This will return the filename of the input being knitted. You won't get the original filename because it gets processed by Quarto and an intermediate file is passed to knitr but it is just a matter for extension so this would give you the filename

please note that the name of the intermediate file has spaces and parentheses replaced with hyphens (-), so something like Ye Olde Filename (new) becomes Ye-Olde-Filename--new-

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @cderv's
  • Low reputation (1):
Posted by: Bogdan Micu

79660141

Date: 2025-06-10 09:22:28
Score: 2.5
Natty:
Report link

you just have to add Dashboard UID and Panel ID, it should be present there by default so, not deleting it will fix the issue.

screenshot

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

79660133

Date: 2025-06-10 09:19:27
Score: 4.5
Natty:
Report link

i also have this error but still i can't solve the problem

Reasons:
  • RegEx Blacklisted phrase (1): i also have this error
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Esmatullah

79660132

Date: 2025-06-10 09:18:26
Score: 1.5
Natty:
Report link

Hashes are not reversible. They do allow collisions.

So using compression is the best idea. If it does not work, you have to accept that sometimes it's not possible.

What may be possible is to make the string generation shorter ; or split the string and transmit parts one at a time.

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

79660128

Date: 2025-06-10 09:16:26
Score: 1
Natty:
Report link

Starting with Xcode 15 and later, Apple introduced visionOS support, and some React Native libraries (including react-native-safe-area-context) have updated their podspecs to include visionos as a target platform. However, if your CocoaPods version, Expo SDK, or Xcode setup is outdated or misconfigured, it may not recognize this method, leading to the error. As your question is not having much details I can suggest you to do these and try.

  1. Update Expo CLI and SDK

  2. Update CocoaPods

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

79660114

Date: 2025-06-10 09:02:21
Score: 1
Natty:
Report link

I don't think there's a way to have that information.
The reason is, that the filesystem does not necessarily support that notion. Typically, how would a NFS drive work with that ? It would need to redirect the calls to the remote server.

A problem can be, that the physical drive has internal caches that are NOT flushed on request, and therefore data is still NOT actually written after the OS made the flush request.
In other cases, one drive is replicated into 2 others, with them being used as check, so if the data is written in the first one but not yet in the replicate, then the data is not actually stored.

This notion is the base of the "durability" issue in databases. That's why DB system are so difficult to manage, and some system show huge performance gain … simply because they ignore it.

More info : https://en.wikipedia.org/wiki/Durability_(database_systems)

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

79660109

Date: 2025-06-10 09:00:21
Score: 1
Natty:
Report link

Although it's not automated (but perhaps could be), another option is to open the file of interest in vim and simply type g;, which will jump you to the last location in that file.

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

79660108

Date: 2025-06-10 08:59:20
Score: 2.5
Natty:
Report link

Unfortunately, based on the available documentation and actual API responses from GetVehAvailRQ 2.0, there is no specific rate preference (RatePrefs) parameter that guarantees the return of both SubtotalExcludingMandatoryCharges and MandatoryCharges alongside ApproximateTotalPrice.

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

79660098

Date: 2025-06-10 08:51:18
Score: 1
Natty:
Report link

Since the order of evaluation of the arguments at the call site is indeterminate, I need guarantees that filename.wstring() does not modify errno.

The C++ standard does not give you this guarantee.

@BoP Thanks, I know. This would require additional lines of code that I want to avoid if they can be avoided easily.

– j6t

I am afraid it is the only way. **(Lines of source code != more code in executable.)**

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @BoP
  • High reputation (-2):
Posted by: 0___________

79660096

Date: 2025-06-10 08:49:18
Score: 0.5
Natty:
Report link

DSA Complexity means how much time and space (memory) a Data Structure or Algorithm (DSA) needs to solve a problem.


💡 Imagine this:

You're solving a puzzle.


📦 Types of Complexity:

  1. Time Complexity

    • How fast an algorithm runs as the input gets bigger.

    • Example:

      • If you check each number in a list of 10 elements, it takes 10 steps.

      • For 100 elements, it takes 100 steps.

      • This is called O(n) — "linear time".

  2. Space Complexity

    • How much extra memory the algorithm uses while running.

    • Example:

      • If your code stores 5 numbers no matter how big the input is, the space is fixed → O(1)

🔢 Common Time Complexities:

Complexity Meaning Example

O(1) Constant time Accessing one item from an array

O(log n) Logarithmic Binary search

O(n) Linear time Loop through an array

O(n²) Quadratic Nested loops (e.g., bubble sort)

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

79660095

Date: 2025-06-10 08:48:18
Score: 1
Natty:
Report link
Step Action
1 Ensure GPU (CUDA) runtime
2 Install dependencies:
pip install imagebind llama-index vllm
3 Download LLaMA weight files (from HF or Meta office)
4 Download ImageBind “huge” model checkpoint
5 Point your script’s paths to both checkpoints
6 Run again in GPU environment
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: CJWang

79660092

Date: 2025-06-10 08:46:17
Score: 3.5
Natty:
Report link

According to documentation it should be present as a "Redirect input from" option.

enter image description here

https://www.jetbrains.com/help/idea/run-debug-configuration-java-scratch.html#run_config_main_options

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

79660083

Date: 2025-06-10 08:43:16
Score: 1
Natty:
Report link
  1. yum remove mariadb mariadb-server

  2. rm -rf /var/lib/mysql If your datadir in /etc/my.cnf points to a different directory, remove that directory instead of /var/lib/mysql

  3. rm /etc/my.cnf the file might have already been deleted at step 1

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

79660080

Date: 2025-06-10 08:41:15
Score: 4
Natty:
Report link

let me search and i will inform you.

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

79660068

Date: 2025-06-10 08:35:12
Score: 16 🚩
Natty: 6
Report link

Did you find any solution? I have the exact same problem 3 years later and can't find a solution online :(

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (1): :(
  • RegEx Blacklisted phrase (3): Did you find any solution
  • RegEx Blacklisted phrase (2): can't find a solution
  • RegEx Blacklisted phrase (2): any solution?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the exact same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find any solution
  • Low reputation (1):
Posted by: Andreas K

79660066

Date: 2025-06-10 08:31:11
Score: 2
Natty:
Report link

One effective way, delete the following files.

YourProject/.idea/gradle.xml

Then reselect the association.

gradle.xml

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

79660064

Date: 2025-06-10 08:30:10
Score: 1.5
Natty:
Report link

I tested the same code that you have pasted on my machine and it did work on my machine (windows 11). Now there could be two reasons. I would like you to go through the listed options below.

1. Add this two lines in your app.py: and build the image again to test
if _name_ == "_main_":

app.run(debug=True, host="0.0.0.0", port=5000)

2. Check your firewall settings

And if it still doesn't work, please go through the below Docker forum link:
https://forums.docker.com/t/docker-curl-56-recv-failure/54172/6

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

79660059

Date: 2025-06-10 08:24:09
Score: 2.5
Natty:
Report link

My solution for replacing multiple characters is this one
txt= txt.replaceAll(String.valueOf((char)(8239)), " ");

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

79660055

Date: 2025-06-10 08:22:09
Score: 2
Natty:
Report link

You can go to the model page on Hugging Face, click on "Files and versions," and check the config.py file. In the architectures field, you will find that the model "nreimers/MiniLM-L6-H384-uncased" is based on the "BertModel".

For example, you can refer to the config.json here: https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2/blob/main/config.json#L4

To view the class definition and understand its full implementation, you can visit Hugging Face’s GitHub repository at the following link: https://github.com/huggingface/transformers/blob/v4.52.3/src/transformers/models/bert/modeling_bert.py

Additionally, for more detailed information about the BERT model, you can check the official Hugging Face documentation here: https://huggingface.co/docs/transformers/model_doc/bert

This documentation will give you a better understanding of the model's structure, parameters, and usage.

Reasons:
  • Blacklisted phrase (1): This document
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sean Wu

79660054

Date: 2025-06-10 08:20:08
Score: 3.5
Natty:
Report link

This was fixed for me after upgrading flutter to the newest version (3.32.2).

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

79660045

Date: 2025-06-10 08:13:06
Score: 1
Natty:
Report link

i did it using

use Native\Laravel\Facades\ChildProcess;

ChildProcess::start(
    ['php', 'artisan', 'reverb:start'],  // $cmd
    'reverb',                            // $alias
    null,                                // $cwd (optional, set current dir)
    null,                                // $env (optional)
    true                                 // $persistent
);
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: eman_invok05

79660042

Date: 2025-06-10 08:11:05
Score: 1.5
Natty:
Report link

enter image description here

I was having an old iOS version installed it was 18.1.

I just selected and clicked on - to delete it using Xcode

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

79660041

Date: 2025-06-10 08:11:05
Score: 0.5
Natty:
Report link

There are many use cases where additional processing happens after the main request handling is complete, typically in web servers, APIs, or distributed systems:

For example -

  1. Logging - Record request/response data after handling

  2. Analytics -  Send metrics to Prometheus, Datadog, etc.

  3. Security Auditing - Capture actions for regulatory compliance

  4. Asynchronous Notification - Trigger follow-up actions in background like publlishing messages to Message Queues like Kafka.

  5. Resource Cleanup - Clean up resources related to request

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

79660038

Date: 2025-06-10 08:09:05
Score: 1.5
Natty:
Report link

In my case a Citrix icaclient installation caused the issue.

Affected applications were Thunderbird and VLC

sudo dpkg --purge icaclient

fixed the issue, no reboot was required.

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

79660033

Date: 2025-06-10 08:07:03
Score: 7 🚩
Natty:
Report link

Снеси с помощью Биоса все и установи все как тебе удобно,для себя

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: Серёжа

79660008

Date: 2025-06-10 07:46:59
Score: 1.5
Natty:
Report link

So I found a solution, by removing this line

Driver.Manage().Window.Maximize();

the problem has now vanished.

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

79660007

Date: 2025-06-10 07:42:58
Score: 4
Natty:
Report link

Use Ctrl-B and it should show up

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

79660006

Date: 2025-06-10 07:42:58
Score: 0.5
Natty:
Report link

translate() function at config time, use a static i18n object for label

label: {
  en: 'Color',
  de: 'Farbe',
  fr: 'Couleur',
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Ravi Chauhan

79660002

Date: 2025-06-10 07:40:57
Score: 2.5
Natty:
Report link

It seems that using localhost is not allowed. its current Microsoft answer :


Valid website URL required (e.g. contoso.com, www.contoso.com, contoso.site)

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

79659993

Date: 2025-06-10 07:32:55
Score: 2.5
Natty:
Report link

Hi I've tried multiple options but still falls back to the error 'smtpclientauthentication' is disabled for this tenant. ... please visit .../smtp_auth_disabled...

But when I spoke to the IT, they told me Microsoft is ending this later 2025.

So I went back to the MailKit discussion and there they told me to add the right smtp permissions.

So now I am totally confused..

I connect using the scope https://outlook.office365.com/.default.

I have added Graph (user.read, smtp.send, offline_access, openid, profile) and Office 365 Exhange online (Mail.send SMTP.sendasapp).

There I see IT administrator didn't grant smtp.sendasapp yet.

But again.. I should be able to connect by oauth2.. or are there other permissions to configure?

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: John Schellingerhout

79659987

Date: 2025-06-10 07:28:54
Score: 2
Natty:
Report link

How to Open Excel Without Running Workbook_Open Macro

  1. Open Excel → Go to Trust Center → Disable macros with notification.

  2. Or, hold Ctrl while opening Excel to launch in Safe Mode.

  3. Then open your file safely—macros won’t auto-run.

ESA Yacht Party Dubai

Enjoy luxury yacht rentals, thrilling Jet Ski dubai rides, and relaxing Dhow Cruises. Over 30 yachts for unforgettable events on Dubai’s waters.

Reasons:
  • Contains signature (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: ESA Yacht Party Dubai

79659976

Date: 2025-06-10 07:20:52
Score: 2
Natty:
Report link

You can use webview flutter to inject your js code

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

79659968

Date: 2025-06-10 07:16:51
Score: 3
Natty:
Report link

If you are not on a plan that supports direct link, I imagine Vimeo would check (and block it) before loading direct link, even if you format it correctly.

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

79659965

Date: 2025-06-10 07:16:51
Score: 0.5
Natty:
Report link

adjust paths as needed.

choco install strawberryperl
REM add to path C:\Strawberry\perl\bin
REM set PKG_CONFIG_PATH C:\vcpkg\installed\x64-windows\lib\pkgconfig
REM ensure VCPKG_ROOT is set C:\vcpkg
REM update pc files.
vcpkg.exe integrate install 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dave Horner

79659961

Date: 2025-06-10 07:13:50
Score: 1
Natty:
Report link

In my case, installing the following package solved the problem:

Microsoft.EntityFrameworkCore.Tools

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

79659957

Date: 2025-06-10 07:12:50
Score: 3
Natty:
Report link

This is a bad design, why use the same lambda to poll different queues?

There is no cost when the lambda is not running, why not create separate lambdas for queue A and queue B

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

79659954

Date: 2025-06-10 07:10:49
Score: 0.5
Natty:
Report link

Can't run php artisan reverb:start manually in an .exe.

Use Native::backgroundProcess('php artisan reverb:start')->run(); in launch() to auto-start Reverb silently when the app starts.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): Can't
Posted by: Ravi Chauhan

79659950

Date: 2025-06-10 07:08:49
Score: 2.5
Natty:
Report link

First: try to upgrade your sdk and flutter: mv android android2

Second: flutter create --platform android .

Third: flutter pub get

hope this clear things

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

79659943

Date: 2025-06-10 07:03:47
Score: 4
Natty:
Report link

You can read this for more understanding

https://medium.com/@sdycode/event-channel-method-channel-in-flutter-e6f697472189

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

79659935

Date: 2025-06-10 06:56:44
Score: 6.5 🚩
Natty: 4.5
Report link

As you said i tried the lowering the swd frequency in stm32cubeprogrammer from 4 Mhz to lower. Its now connected. but what is the reason it goes disconnected as of my application and what are the ways to get rid of it here after. kindly help me with that

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (3): kindly help
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Santhosh

79659934

Date: 2025-06-10 06:56:44
Score: 1
Natty:
Report link

When you insert into an table it returns to you INSERT oid count

The oid is the object identifier of the newly inserted row and count is the number of the rows inserted. Since the PostgresSQL 12, oid's are deprecated that's way it always returns zero.

If you want to use oids then it will only work in PostgresSQL < 12

and do so create the table as below

CREATE TABLE users (
    id SERIAL PRIMARY KEY,
    username VARCHAR(50) UNIQUE NOT NULL,
) WITH OIDS;
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When you in
  • Low reputation (1):
Posted by: yash gorde

79659928

Date: 2025-06-10 06:50:43
Score: 2.5
Natty:
Report link

This is maybe because your flutter version is not configured with compatible gradle version.

  1. Try changing the gradle version in gradle-wrapper.properties file.
  2. Use fvm
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jainam Barbhaya

79659923

Date: 2025-06-10 06:46:42
Score: 2.5
Natty:
Report link

For me, the issue was leaving "Based on dependency analysis" checked by default. Once I unchecked it, the dSYM started uploading.

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

79659920

Date: 2025-06-10 06:45:41
Score: 5
Natty: 6
Report link

Do you know if the filter and/or search functionality was finally implemented in ActiveCollab?

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

79659913

Date: 2025-06-10 06:42:40
Score: 1
Natty:
Report link

Delete cache file in flutter/bin/ And run flutter key word in terminal or cmd. This will reconfigures dart.

It worker for me ✅.

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

79659909

Date: 2025-06-10 06:38:39
Score: 1
Natty:
Report link

Delete cache file in flutter/bin/ And run flutter key word in terminal or cmd. This will reconfigures dart.

It worker for me ✅.

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

79659898

Date: 2025-06-10 06:35:38
Score: 0.5
Natty:
Report link

1. Does every app that wants to stay logged in longer than 15 minutes need a refresh token? Short answer: Yes, if you want short-lived access tokens (e.g., 15 minutes) and users to stay logged in longer, you need refresh tokens.

Why 15 minutes? JWTs are usually short-lived for security reasons:

If a JWT is stolen, it can be used until it expires.

A 12-hour token is risky: an attacker who steals it has a long window to act.

Why refresh tokens help:

Stored securely (e.g., HttpOnly cookie)

Used to request new access tokens after expiry

Can be revoked or rotated

Reduces risk if access tokens are short-lived

So is revocation the only reason? No. There are two core advantages to refresh tokens:

Revocation: Allows you to block compromised sessions.

Token Renewal Pattern: Allows access tokens to stay short-lived while keeping users logged in.

By keeping the refresh token in an HttpOnly cookie, and access token in memory, you reduce attack surface. That is a security advantage, not just an implementation detail.

So yes — you’re right — the reduced exposure of the access token is a key advantage of using refresh tokens, even if often under-emphasized.

2. Can refresh tokens be stateless by including identity claims? Is giving up revocation a security flaw? Yes, technically you can make refresh tokens stateless, just like JWTs:

Encode user ID, issued at, etc. inside the refresh token.

Verify and issue a new access token without hitting the DB.

But... this is a security tradeoff.

Pros: Fully stateless system: Fast, scalable, simple.

No DB dependency for token validation.

Cons: You can’t revoke refresh tokens (i.e., no session management).

If the refresh token is stolen, it’s valid until it expires.

You can’t detect token reuse (which can signal theft).

So yes, it is a security flaw, but whether it’s acceptable depends on your threat model. If you can tolerate the risk (e.g., internal tools, low-impact systems), it may be fine. But in public-facing or high-value systems, revocation is typically essential.

3. If I’m not revoking, is there a reason to use refresh tokens at all? If you never revoke, and don't plan to store refresh tokens, then:

You could just issue new access tokens each time a request comes in.

But that has some major caveats:

You need to validate the current access token to know it's legit before issuing a new one.

You’re encouraging long-lived sessions without real control over them.

Refresh tokens offer these benefits even without revocation:

A separate channel/token for renewing access (i.e., don’t need to expose credentials or long-lived access tokens).

A safe way to handle silent re-authentication (e.g., SPA rehydrating session on page load).

Reduced attack surface: access token can live only in memory, refresh token in cookie.

So even without revocation, refresh tokens help segregate responsibilities: access = use the app; refresh = renew session. That separation is inherently valuable.

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

79659894

Date: 2025-06-10 06:31:37
Score: 1.5
Natty:
Report link

Make sure you added a shebang at the top of your file

#!/bin/bash
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: luQ

79659892

Date: 2025-06-10 06:30:37
Score: 2
Natty:
Report link

You need to upgrade your Minimum Deployments in Xcode.

For me it was 12.0

enter image description here

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

79659873

Date: 2025-06-10 06:13:33
Score: 1.5
Natty:
Report link

In Settings > Project Structure you can set folders as Sources, which means the modules in those folders would be importable.
https://i.sstatic.net/IY8y7eFW.png

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

79659866

Date: 2025-06-10 06:09:32
Score: 0.5
Natty:
Report link

When python loads the modules, it doesn't loads main block. Hence when you try to import celery_app in other file, it logs none.

Fix:

control_plane/app.py

def create_celery(app=None):
    # your celery config
    return celery

celery_app = create_celery(app)

if __name__ == "main":
    print("Celery app initialized::::::::::::::::::", celery_app)
    app.run(debug=True)

execution_plane/tasks.py

from control_plane.app import celery_app
from celery.signals import task_prerun, task_postrun
from control_plane.extensions import db

print("Celery app initialized::::::::::::::::::", celery_app)

Now, when you try to import the celery_app in another file, it should work as expected

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Niral Ajmera

79659862

Date: 2025-06-10 06:07:30
Score: 7 🚩
Natty: 6
Report link

I'm also encountering this issue but I can't get pass it. Can you share a more detailed answer on the fix you did? The WDIO automatic handling of dialog introduced in v9 does not seem to work on my end.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you share
  • RegEx Blacklisted phrase (1.5): fix you did?
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kenneth Kim

79659856

Date: 2025-06-10 05:58:27
Score: 6.5 🚩
Natty: 5.5
Report link

Did any of these solutions work?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did any of these solution
  • Low reputation (1):
Posted by: Sreenitti Sankar

79659852

Date: 2025-06-10 05:51:25
Score: 0.5
Natty:
Report link

Thanks to all the help in the comments, specially @Shawn, I figured out it was that the string had literal single quotes, so it wasn't a path per-se. I found another answer to remove the quotes using eval. So now I add eval image_file=$image_file right after inputting the file and we are all set! It also works with paths that don't have spaces, so ready to run!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-2): I figured out
  • Has code block (-0.5):
  • User mentioned (1): @Shawn
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: ecotechie

79659847

Date: 2025-06-10 05:46:23
Score: 1
Natty:
Report link

You can reference the bean explicitly in your SQL endpoint like this:

to("sql:insert into camel_test (msgid, dlr_body) VALUES ('some_id','test')?dataSource=#dataSource")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Waheed Khan

79659846

Date: 2025-06-10 05:45:23
Score: 2.5
Natty:
Report link

Visual Studio Code
Do you use Visual Studio Code for this project? You may try this:

Reasons:
  • Whitelisted phrase (-2): try this:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: khewdev