79720220

Date: 2025-07-30 15:54:03
Score: 1
Natty:
Report link

Answering my own question: in iOS 26, the default browser setting is honored.

In SwiftUI for instance, opening a URL using the openURL @Environment property wrapper, opens the desired URL using the user-set default browser.

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

79720219

Date: 2025-07-30 15:49:58
Score: 7
Natty:
Report link

Existe site que faz isso pra você

Reasons:
  • Blacklisted phrase (3): você
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Carol Silva

79720216

Date: 2025-07-30 15:47:57
Score: 1.5
Natty:
Report link

Had the same problems with a VitePress site, using VSCode as editor including the included linters / link checkers.

[toc]:/
[[toc]] 

... did the trick for me.

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

79720208

Date: 2025-07-30 15:38:55
Score: 3
Natty:
Report link

Use library Toasty to solve this problem in all API versions.

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

79720206

Date: 2025-07-30 15:37:55
Score: 1.5
Natty:
Report link

I experienced the exact same a little over a year ago. If the whole program is formatted this way the you will just have to put aside a weekend where you don't write code and just format.

I setup a keyboard shortcut to join lines using Options-Environment->Keyboard. I set it to Ctrl+J, Ctrl+P. This only works across two methods.

enter image description here

Start your selection below the first curly brace that appears after the first method signature. Select over the next method and end your selection before the end curly brace of the second method as shown below

enter image description here

Use your shortcut to join lines. it will appear as below

enter image description here

Apply the Ctrl+K, Ctrl+D key combination. The outcome of this is shown below

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Dragan Radovac

79720192

Date: 2025-07-30 15:31:53
Score: 1
Natty:
Report link
SELECT tableName
FROM (SHOW TABLES IN {database})
WHERE tableName LIKE '%2008%'
  AND tableName LIKE '%animal%';
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Anson

79720183

Date: 2025-07-30 15:25:52
Score: 1.5
Natty:
Report link

import matplotlib.pyplot as plt

from PIL import Image

# تنظیم فونت

plt.rcParams['font.family'] = 'DejaVu Sans'

plt.rcParams['axes.unicode_minus'] = False

# ساخت تصویر لوگو

fig, ax = plt.subplots(figsize=(6, 2))

ax.set_facecolor('white')

ax.text(0.5, 0.6, 'سازه ارسام', color='#0D47A1', fontsize=28, ha='center', va='center', fontweight='bold')

ax.axhline(y=0

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mhmmd fazel Ehte

79720182

Date: 2025-07-30 15:24:51
Score: 4.5
Natty:
Report link

As @PeskyPotato pointed out, the info panel says that Event Source Mapping is only available for certain sources,

enter image description here

Which is incompatible with my use case. Looks like I will need to figure out something else.

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @PeskyPotato
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: A-Abe

79720177

Date: 2025-07-30 15:22:50
Score: 1
Natty:
Report link

I found the culprit thanks to furas' suggestion.

def minify(self, content, minify_css, minify_js):
    return minify_html.minify(
        content,
        do_not_minify_doctype=True,
        keep_spaces_between_attributes=True,
        minify_css=minify_css,
        minify_js=minify_js,
    )

It's located in pelican\plugins\minify\minify.py

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: AcidResin

79720159

Date: 2025-07-30 15:08:46
Score: 1
Natty:
Report link

Problem was on the consumer which was using default max.poll.records = 500

After increasing it, everything work as expected

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

79720146

Date: 2025-07-30 14:58:43
Score: 3.5
Natty:
Report link

This solution worked for me swipe-to-delete-on-a-tableview-that-is-inside-a-pageviewcontroller

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Jonas Mesquita

79720141

Date: 2025-07-30 14:56:42
Score: 0.5
Natty:
Report link

1.Why two methods?

to_python() is called in all contexts (DB reads, form validation, direct assignment like obj.field = "xyz").
from_db_value() is only called for DB reads (and only if defined—older Django versions relied solely on to_python() for DB values).

2.Why does to_python() check for Hand instances?

If you do obj.hand = Hand(...) in code, Django calls to_python() on that Hand instance. The check avoids re-parsing an already-correct object. However, from_db_value() never gets a Hand instance. Database values are always raw strings (e.g., "AKQJ..."). So it skips this check.

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

79720118

Date: 2025-07-30 14:31:36
Score: 2
Natty:
Report link

The issue is known and referenced in this issue https://github.com/projectlombok/lombok/issues/3883

There's a Pull Request waiting for merge that solves the issue https://github.com/projectlombok/lombok/pull/3888

The problem is that it solves the problem for the newer versions of eclipse and vscode-java but the older versions must also be supported as stated in this comment https://github.com/projectlombok/lombok/issues/3883#issuecomment-2910356061

You can download the artifact built by the 3888 PR here https://github.com/projectlombok/lombok/actions/runs/15284242422?pr=3888 (you must be logged in github to see the download link https://github.com/projectlombok/lombok/actions/runs/15284242422/artifacts/3207150165 )

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

79720107

Date: 2025-07-30 14:23:34
Score: 3
Natty:
Report link

Try adding a space at the end of a last value. If it doesn't help try some other solution and try the developer tools especially of Firefox to actually evalute!

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

79720101

Date: 2025-07-30 14:18:33
Score: 0.5
Natty:
Report link

I managed to do a search using wildcards by make a Query DSL.

It works wether the field is a keywork or text type.

{
  "wildcard": {
    "message": {
      "value": "*mystring*",
      "boost": 1,
      "rewrite": "constant_score_blended"
    }
  }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: romain ni

79720098

Date: 2025-07-30 14:16:32
Score: 3
Natty:
Report link

Your banner looks blurry because Paint distorts pixels when resizing. ResizerPhoto.com is an online tool that resizes PNGs smartly, keeping your content clear and high-quality.

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

79720086

Date: 2025-07-30 14:08:30
Score: 0.5
Natty:
Report link
  1. Use is_action_just_pressed().
  2. Currently your else executes all the time as long as “Toggle” isn’t pressed. See if you can make it so it only runs when it’s pressed.
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: BenderBoy

79720073

Date: 2025-07-30 13:59:28
Score: 1
Natty:
Report link

I think what you are looking for is exception developer page.

You can add this middleware

app.UseDeveloperExceptionPage();

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

79720052

Date: 2025-07-30 13:47:25
Score: 1
Natty:
Report link

You can add this "lint" script to your "scripts" in package.json

"scripts: {
    "lint": "eslint ./src",
}

and then run

npm run lint

This should give you a summary of all the errors & warnings in your project

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

79720051

Date: 2025-07-30 13:46:25
Score: 1.5
Natty:
Report link

Yes there is a npm library called ngx-orphan-cleaner(https://www.npmjs.com/package/ngx-orphan-cleaner) which can not only find variables but also functions from your .ts file also check if that variables is used in html somewhere and give you the list also it can remove the variables by remove command.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Prashant Singh

79720040

Date: 2025-07-30 13:42:24
Score: 0.5
Natty:
Report link

Instead of rxMethod<void> you could do something like rxMethod<{ onSuccess?: () => void; onError?: () => void }>.

In you tapResponse, you could then use onSuccess and onError.

tapResponse({
  next: (response) => {
    ...
    onSuccess?.();
  },
  error: () => {
    ...
    onError?.();
  },
})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Gana

79720032

Date: 2025-07-30 13:33:22
Score: 5
Natty:
Report link

@Max Los Santos can you plz tell if any possible solution for it

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Max
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Paresh Bhamare

79720028

Date: 2025-07-30 13:31:21
Score: 0.5
Natty:
Report link

I found, that using the pip-module instead of build "just works" -- because pip performs the build in situ, without performing a copy (an incomplete one!) into a temporary directory.

Newer packaging tools, which may have an alternative, all seem to require newer Python, but I need the same method to work with older servers running RHEL7, where the stock Python3 is 3.6.

Reasons:
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Mikhail T.

79720022

Date: 2025-07-30 13:26:16
Score: 8
Natty:
Report link

Are you able to solve it i am getting same errors

Reasons:
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1): i am getting same error
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i am getting same error
  • Single line (0.5):
  • Low reputation (1):
Posted by: milind yadav

79720000

Date: 2025-07-30 13:05:10
Score: 3
Natty:
Report link

It turned out to be the line endings. We changed from LF to CRLF line endings to fix the issue.

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

79719999

Date: 2025-07-30 13:04:10
Score: 2.5
Natty:
Report link

I know this is an old question, but for anyone still facing the same issue, here's a working solution.
(It might not be perfect, but it gets the job done.)

const wrapper = document.getElementById("address-autocomplete-wrapper");

// Create PlaceAutocompleteElement
const placeAutocomplete = new google.maps.places.PlaceAutocompleteElement();

// Set placeholder attribute
placeAutocomplete.Dg?.setAttribute('placeholder', 'Start typing address');

// Add into wrapper
wrapper.appendChild(placeAutocomplete);

The key here is that the internal input element can be accessed via placeAutocomplete.Dg, allowing you to manually set custom attributes like placeholder.

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

79719996

Date: 2025-07-30 13:00:08
Score: 4.5
Natty:
Report link

hi!I want to ask if this problem has been solved. I have also encountered this issue.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: wang yang

79719983

Date: 2025-07-30 12:53:06
Score: 1
Natty:
Report link

@AutoComplete in Redis OM Spring maps to Redis Query Engine suggestion dictionaries (backed by FT.SUGADD/FT.SUGGET).

Each @AutoComplete field = one dictionary.

So in your entity, code and name create two separate dictionaries.

Redis Query Engine itself can’t query two suggestion dictionaries in one call — you either:

For merging at query time:

@GetMapping("/search")
fun query(@RequestParam("q") query: String): List<Suggestion> {
    val codeResults = repository.autoCompleteCode(query, AutoCompleteOptions.get().withPayload())
    val nameResults = repository.autoCompleteName(query, AutoCompleteOptions.get().withPayload())

    return (codeResults + nameResults).distinctBy { it.string } // removes duplicates
}

If you want only one dictionary, store the values of name and code in a single @AutoComplete field instead.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @AutoComplete
  • User mentioned (0): @AutoComplete
  • User mentioned (0): @AutoComplete
  • User mentioned (0): @AutoComplete
  • Low reputation (1):
Posted by: Raphael De Lio

79719980

Date: 2025-07-30 12:50:06
Score: 1.5
Natty:
Report link

Try using single_utterance=true or manually half-close the stream when the API sends an END_OF_SINGLE_UTTERANCE response.

If this will not work, the issue needs to be investigated further. Please open a new issue on the issue tracker, describing your problem.

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

79719978

Date: 2025-07-30 12:47:05
Score: 0.5
Natty:
Report link

The root problem is in my circuitbreaker configuration on application.properties file.

resilience4j.circuitbreaker.instances.fallback.slow-call-duration-threshold.seconds=3
resilience4j.circuitbreaker.instances.fallback.slow-call-rate-threshold=50

My atuh-service is taking more than 3sec to respond thus circuitbreaker is triggering prematurely.

resilience4j.circuitbreaker.instances.authServiceBreaker.slow-call-duration-threshold.seconds=5
resilience4j.circuitbreaker.instances.authServiceBreaker.slow-call-rate-threshold=80
resilience4j.timelimiter.instances.authServiceBreaker.timeout-duration=6s
resilience4j.timelimiter.instances.authServiceBreaker.cancel-running-future=true

chaning this configurations solved my problem.

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

79719957

Date: 2025-07-30 12:31:01
Score: 4.5
Natty: 6
Report link

i need to required Dynamic schema for my website m-source

Reasons:
  • Blacklisted phrase (0.5): i need
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Msource

79719953

Date: 2025-07-30 12:29:00
Score: 0.5
Natty:
Report link

How about preventing this function from being bound as a method from the very beginning? You can wrap the function you're testing in a staticmethod.
This signals to Python that the function doesn't receive the instance as its first argument. As a result, you can call it directly, which simplifies your helper method and makes the type Callable perfectly accurate. Here is a example:

from typing import Callable, Any, Optional
import sys

# Assume this is your external library in mymodule.py
class mymodule:
    @staticmethod
    def myfunction(s: str) -> str:
        return f"processed: {s}"

# Your test framework
class MyTestCase:
    function_under_test: Optional[Callable[[str], Any]] = None

    def assert_something(self, input_str: str, expected_result: Any) -> None:
        if self.function_under_test is None:
            raise AssertionError(
                "To use this helper method, you must set the function_under_test "
                "class variable within your test class."
            )

        result = self.function_under_test(input_str)
        assert result == expected_result
        print(f"Assertion passed for input '{input_str}'!")


class FunctionATest(MyTestCase):
    function_under_test = staticmethod(mymodule.myfunction)

    def test_whatever(self) -> None:
        self.assert_something("foo bar baz", "processed: foo bar baz")
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How
  • Low reputation (1):
Posted by: shuqing feng

79719934

Date: 2025-07-30 12:16:57
Score: 1.5
Natty:
Report link

The solution above did not work for me either. What worked though is if you have auto increment pk, mysql maps the rows in the order it keeps the indices, therefore so far only this approach worked for me

Reasons:
  • Blacklisted phrase (1): did not work
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: erdysson

79719932

Date: 2025-07-30 12:15:56
Score: 3
Natty:
Report link

It is not necessary to know what happens inside the DLL; the main question is why reading works but writing does not. And this only happens in .NET 8 — because if I do this in .NET Framework, everything works fine.

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

79719931

Date: 2025-07-30 12:15:56
Score: 1.5
Natty:
Report link

It looks like you want to watch for query, not param:

watch: { 
  '$route.query.search': function(search) {
    console.log(search)
  }
}

When watching on the query you also do not need a deep: true as suggested as well in this StackOverflow. deep: true seems to work, but it is actually no the correct solution.

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vanessa Otto

79719930

Date: 2025-07-30 12:14:56
Score: 0.5
Natty:
Report link

I just ran the test on a newer machine with macOS 15.5 and everything worked. This must be a strange Apple bug which seems to be fixed in the latest versions of the OS.

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

79719926

Date: 2025-07-30 12:13:56
Score: 3
Natty:
Report link

Spring-data-redis supports Hash Field Expiration since 3.5.0, see the release notes for details.

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

79719921

Date: 2025-07-30 12:04:54
Score: 3
Natty:
Report link

For anyone ending up here as a result of googling, there is now a constexpr specifier in plain C. It's there since C23.

Also, this question looks a lot like another one:
Is there a constexpr in new standard C11 (not C++11) or planned in the future?

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Alexander Amelkin

79719915

Date: 2025-07-30 12:02:52
Score: 7.5
Natty:
Report link

Please help me with this issue, I recently publish an other app and ads is showing for this app but not for the two previous app quoted in the main message.

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Please help me
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Elhadj

79719914

Date: 2025-07-30 12:01:52
Score: 0.5
Natty:
Report link

Since the original question asked for future standards, and for the sake of those pondering a similar question in 2025+, I must say that there finally IS a constexpr specifier in plain C since C23:

https://cppreference.com/w/c/language/constexpr.html

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

79719908

Date: 2025-07-30 11:57:51
Score: 0.5
Natty:
Report link

Meanwhile, I have found a solution. You can see it here:

https://gispublic.stadt-ibb.de/xplanung/dist/

CSS:

@import "node_modules/ol/ol.css";
@import "node_modules/ol-ext/dist/ol-ext.css";
@import "node_modules/ol-ext/overlay/Popup.css";

html, body {
  margin: 0;
  height: 100%;
  font-family:Verdana, Geneva, sans-serif;
    font-size: 1em;
}
#map {
  position: relative;
  float:left;
  top: 0;
  bottom: 0;
    height:80%;
  width: 100%;
}


.container{
    

}

.hinweis {

    float:left;
 
    top: 0; /* Ganz oben */
    left: 0; /* Ganz links */
    font-size:0.7em;
    width: 60%; /* Volle Breite */

}


.treffer {
    float: left;
    top: 0; /* Ganz oben */
    left: 0; /* Ganz links */
    font-size:0.9em;

    width: 30%; /* Volle Breite */  
    
}



.info {


  
 
 
    left: 5px; /* Ganz links */
    height:1.4em;

}

.options {
    font-size:0.9em;
  position: absolute;
    border-radius: 14px;
padding:6px;

left:10px;
bottom:120px;
  width: 250px;
  height: 320px;
  background-color: white;
  z-index:1;
  border-width: 3px;
  border-style: solid;
  border-radius: 0.375rem;
  border-color: #dee2e6;


}



.ol-okk {
  margin:10px !important;

}

.ol-control.ol-select
{
display:none  !important;
}

   .ol-popup h1 {
      font-size: 1em;
      background-size: 2em;
      padding-left: 3em;
    }
    
    
       #suche_auffrischen {
  
      background-color:#13c023;
  padding:5px;
    font-size:0.9em;
    }
    
           #suche_auffrischen:hover {
  
      background-color:#5eb566;

    }
    
       #suche_auffrischen2 {
  
      background-color:#13c023;
  padding:5px;
  font-size:0.9em;
    }
    
           #suche_auffrischen2:hover {

      background-color:#5eb566;

    }

JS:

import Map from 'ol/Map.js';
import LayerSwitcher from "ol-ext/control/LayerSwitcher"
import Select from "ol-ext/control/Select.js"
/*import SearchFeature from 'ol-ext/control/SearchFeature.js';
import SelectMulti from 'ol-ext/control/SelectMulti.js';
import SelectFulltext from 'ol-ext/control/SelectFulltext.js';
import SelectPopup from 'ol-ext/control/SelectPopup.js';
import SelectCheck from 'ol-ext/control/SelectCheck.js';
import SelectCondition from 'ol-ext/control/SelectCondition.js';*/
import PopupFeature from "ol-ext/overlay/PopupFeature.js"
import MultiPoint from 'ol/geom/MultiPoint.js';
import Point from 'ol/geom/Point.js';
import CircleStyle from 'ol/style/Circle.js';
import {boundingExtent} from 'ol/extent';
import {getCenter} from 'ol/extent';
//import Control from 'ol/control/Control.js';
import VectorSource from 'ol/source/Vector.js';
import VectorLayer from 'ol/layer/Vector.js';
import {singleClick} from 'ol/events/condition.js';
import Selecti from "ol/interaction/Select.js"
import View from 'ol/View.js';
import {easeIn, easeOut} from 'ol/easing.js';
import TileLayer from 'ol/layer/Tile.js';
import {fromLonLat} from 'ol/proj.js';
import OSM from 'ol/source/OSM.js';
import GeoJSON from 'ol/format/GeoJSON.js';
import Fill from 'ol/style/Fill.js';
import Icon from 'ol/style/Icon.js';
import Stroke from 'ol/style/Stroke.js';
import Style from 'ol/style/Style.js';
import RegularShape from 'ol/style/RegularShape.js';

import ImageLayer from 'ol/layer/Image.js';
import ImageSource from 'ol/source/Image.js';
import {createLoader} from 'ol/source/wms.js';
import ImageWMS from 'ol/source/ImageWMS.js';
import {defaults as defaultControls} from 'ol/control/defaults.js';
import ScaleLine from 'ol/control/ScaleLine.js';

const ibben = fromLonLat([7.716052,52.274762]);

const gruendken = fromLonLat([7.7945,52.2691]);


const kloster = fromLonLat([7.7154,52.2741]);
const tecklenburger_ost = fromLonLat([7.7305,52.2604]);

const nutzungsart = document.getElementById('nutzungsart');

  const wmsSource = new ImageWMS({
  url: 'https://gispublic.stadt-ibb.de/cgi-bin/qgis_mapserv.fcgi?MAP=/home/qgis/projects/xplanung/xplanung.qgs',
      params: {'LAYERS': 'baugebiet_gesamt,Gründkenliet_Nord,Klosterstraße,Tecklenburger_Damm_Ost'},
      ratio: 1,//    serverType: 'mapserver',
});
  const wmsSource2 = new ImageWMS({
  url: 'https://gispublic.stadt-ibb.de/cgi-bin/mapserv?map=XPLANUNG',
      params: {'LAYERS': 'teilflaechen'},
      ratio: 1,
      serverType: 'mapserver',
});
const wmsLayer = new ImageLayer({
  title: 'Bebauungspläne',
  source: wmsSource,
});


  const wmsSourceLubi = new ImageWMS({
  url: 'https://www.wms.nrw.de/geobasis/wms_nw_dop',
      params: {'LAYERS': 'nw_dop_rgb'},
      ratio: 1,//    serverType: 'mapserver',
});

const wmsLayerLubi = new ImageLayer({
  title: 'Luftbild',
  source: wmsSourceLubi,
   visible: false,
});






const view = new View({
  center: ibben,
  zoom: 11,

});




const map = new Map({
  target: 'map',
    controls: defaultControls().extend([
    new ScaleLine({
      units: 'metric',
    }),
  ]),
  layers: [
    new TileLayer({
         name: 'Hintergrundkarte',
      preload: 4,
      source: new OSM()
    }),wmsLayerLubi,wmsLayer
  ],
  view: view,
});

const switcher = new LayerSwitcher;
// You can add it to the map
map.addControl(switcher)



function onClick(id, callback) {
  document.getElementById(id).addEventListener('click', callback);
}





onClick('pan-to-gruendken', function () {
  view.animate({
    center: gruendken,
      zoom: 16,
    duration: 2000,
  });
});



onClick('pan-to-kloster', function () {
  view.animate({
    center: kloster,
      zoom: 18,
    duration: 2000,
  });
});



onClick('pan-to-tecklenburger_ost', function () {
  view.animate({
    center: tecklenburger_ost,
      zoom: 16,
    duration: 2000,
  });
});




//Attributabfrage per WMS
/*
map.on('singleclick', function (evt) {
  document.getElementById('info').innerHTML = '</br>';
  const viewResolution = view.getResolution();
  const url = wmsSource2.getFeatureInfoUrl(
    evt.coordinate,
    viewResolution,
    'EPSG:3857',
    {'INFO_FORMAT': 'text/html'},
  );

  if (url) {

    fetch(url)
      .then((response) => response.text())
      .then((html) => {

        document.getElementById('info').innerHTML = html;

      });
  }
}); */


map.on('pointermove', function (evt) {
  if (evt.dragging) {
    return;
  }
  const data = wmsLayer.getData(evt.pixel);
  const hit = data && data[3] > 0; 
  map.getTargetElement().style.cursor = hit ? 'pointer' : '';
});



  var vectorSource = new VectorSource({
    url: '../xplanung.geojson',
    format: new GeoJSON()
  });

  
  
  const styles = [

  new Style({
  /*  stroke: new Stroke({
      color: 'black',
      width: 1,
    }),*/
  fill: new Fill({
      color: 'rgba(0, 0, 255, 0.0)',
    }),
  }),
];
  
  
  
  map.addLayer(new VectorLayer({
    name: 'Suchergebnisse',
    source: vectorSource,
  style: styles,
  })); 
  

  

const selectStyle=new Style({ 
   stroke: new Stroke({ color: [255,128,0], width:15 }),
    fill: false,
       /* image: new RegularShape({
          radius:35,
          points: 35,
          fill: new Fill({ color: [255,128,0,.6] }),
          stroke: new Stroke({ color: [255,128,0], width:9 })  
        })*/
      })
      
      
      
      const selectStyle2=new Style({ 
   stroke: new Stroke({ color: [0,0,255], width:3 }),
    fill: null,
      })
      
    

//Style mit Symbol für Fläche
    const selectStyle3=  new Style({
    image: new Icon({

      src: "../b.png",
           width: 25,
           height:25
    }),
    geometry: function (feature) {
     const coordinates = feature.getGeometry().getInteriorPoints().getPoint(0).getCoordinates();
   return new Point(coordinates);
    },
  })
      

      
      
      
      
      
      
      
      
      
      
      
      

//Suche zeige.....
 // ******************************************************************************************************Select  interaction
//Setzt Filter auf Basis der Suchstrings, ermittelt Extent
function setzeFilter(wert) {

const meineFilter = [];
meineFilter.length = 0;

if (flaeche.value !=''){
  
  

meineFilter.push({attr: "flaeche", op: ">=", val:flaeche.value });

}

if (gfz.value !=''){
  
  

meineFilter.push({attr: "gfz", op: ">=", val:gfz.value });

}




if (grz.value !=''){
  
  

meineFilter.push({attr: "grz", op: ">=", val:grz.value });

}


if (nutzungsart.value !=''){

meineFilter.push({attr: "allgartnutztxt", op: "=", val:nutzungsart.value });

}

document.getElementById('treffer').innerHTML='';
 var a= selectCtrl.doSelect({conditions:meineFilter});


    
const anzahlObjekte = Object.keys(a).length;





document.getElementById('treffer').innerHTML='Insgesamt wurde/n '+anzahlObjekte+' Objekt/e gefunden.';
if (anzahlObjekte==0){
    
    
    return;

}

//Ermittlung der gefilterten FEatures
 var sources = selectCtrl.getSources();
 sources.forEach(function (s) {
  var meineFeatures= selectCtrl._selectFeatures(a, s.getFeatures(), meineFilter, true,true);
  const coords = meineFeatures.map((f) => {
  const polygon = f.getGeometry();
  return polygon.getExtent();

});

 const extentx = boundingExtent(coords);

extentx[0]=extentx[0]-500;
extentx[3]=extentx[3]+500;


var extentCoords = [
  [
    extentx[0]-1400,
    extentx[1]
  ],
  [
    extentx[2]+1400,
    extentx[3]
  ]
];

var extentNeu = boundingExtent(extentCoords);
//setViewExtent(extent);


if (wert!=0){
map.getView().fit(extentNeu, {duration: 2000});
}





     
     
   });





 
}




nutzungsart.addEventListener('input', function () {

setzeFilter();
    
     // selectCtrl.addCondition( {attr: "allgartnutztxt", op: "=", val:nutzungsart.value });
}); 



flaeche.addEventListener('input', function () {

setzeFilter();

 //var waslos=selectCtrl.getConditions();
 //alert   (JSON.stringify(waslos));
     

}); 


gfz.addEventListener('input', function () {

setzeFilter();
    
     // selectCtrl.addCondition( {attr: "allgartnutztxt", op: "=", val:nutzungsart.value });
}); 


grz.addEventListener('input', function () {

setzeFilter();
    
     // selectCtrl.addCondition( {attr: "allgartnutztxt", op: "=", val:nutzungsart.value });
}); 




  


 // Select control
 
var selecti = new Selecti({
    hitTolerance: 5,
    style:selectStyle2,
    condition: singleClick
  });
  map.addInteraction(selecti);


 
 
 

 //Attributsuche
  var selectCtrl = new Select({

    source: vectorSource,
    addLabel: "Suche absenden",
    property: $(".options select").val()
  });



  selectCtrl.on('select', function(e) {


    selecti.getFeatures().clear();
    for (var i=0, f; f=e.features[i]; i++) {
        

      selecti.getFeatures().push(f);
        f.setStyle(selectStyle);
     
    }
  });
  //******************************************************************************************************************************
 //Darstellung von Infos in Popup 
    var popup = new PopupFeature({
    popupClass: 'default anim',
    select: selecti,
    canFix: true,

    template: {
        title: 
          // 'nom',   // only display the name
          function(f) {
        
        
            return "Id: "+f.get('fid')+' ('+f.get('gebiet')+')';
          },
        attributes: // [ 'region', 'arrond', 'cantons', 'communes', 'pop' ]
        {
          'allgartnutztxt': { title: 'Allgemeine Art der Nutzung:' },
          'besartnutztxt': { title: 'Besondere Art der Nutzung:' },
          'flaeche': { title: 'Fläche (m²):' },
          'gfz': { title: 'GFZ:' },
              'grz': { title: 'GRZ:' },

        }
    }
  });
  map.addOverlay (popup);
  
  
  onClick('suche_auffrischen', function () {
setzeFilter();
});

  onClick('suche_auffrischen2', function () {
setzeFilter(0);
});
Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Kai Behncke

79719907

Date: 2025-07-30 11:57:50
Score: 11.5
Natty: 7
Report link

Just curious, did you figure out any solution for this?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): did you figure out any solution
  • RegEx Blacklisted phrase (2): any solution for this?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Hariharan

79719902

Date: 2025-07-30 11:54:50
Score: 0.5
Natty:
Report link
$samasye = "SELECT atadaaidi
      FROM gelluonduhogu_kemuru_funf
      ORDER BY kramasankhye DESC LIMIT 1";//Add Kemuru
    $samasyephalitansa = $conn->query($samasye);
    $samasyesreni = mysqli_fetch_array($samasyephalitansa);
    //$samasyesreni['atadaaidi'] = 20240624010862;
    if(isset($samasyesreni['atadaaidi'])){
        $gadhipathuli = "SELECT ojana, ketebida
          FROM bajikattuttate_kemuru_funf
          WHERE kalaparichaya = ".$samasyesreni['atadaaidi']."
          ORDER BY parichaya DESC LIMIT 1";
        $gadhipathuliphala = $conn->query($gadhipathuli);
        $gadhipathulidhadi = mysqli_num_rows($gadhipathuliphala);
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: rahul

79719900

Date: 2025-07-30 11:54:50
Score: 1.5
Natty:
Report link

In the Windows Forms, calling Refresh() on ResizeEnd seems to fix the stripes, but will only work once the user lets go of the mouse button. However, I must note that my Form does not have any custom Paint implementation.

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

79719895

Date: 2025-07-30 11:50:49
Score: 4
Natty:
Report link

Try trouble-shooting or asking ChatGPT.

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

79719894

Date: 2025-07-30 11:49:48
Score: 2.5
Natty:
Report link

You had to reread the definitions. Everything follows easily from them.

a) f = n^2, g = n^3

b) none

c) none

d) f = n^3, g = n^2

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

79719890

Date: 2025-07-30 11:46:48
Score: 2.5
Natty:
Report link

This seems to be a bug in Flutter's bottom sheet, solved in https://github.com/flutter/flutter/pull/161696

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

79719882

Date: 2025-07-30 11:39:45
Score: 4
Natty:
Report link

I have this script but it does not map correctly. untill i map it explicitly - Can anyone help me where it is wrong:

Goal - Read the report.json file and map the test case name with name mentioned in zyphr tool and update status as mentioned in report file.

const fs = require('fs');
const axios = require('axios');

// === CONFIGURATION ===
const REPORT_PATH = ''; 
const ZYPHR_API_TOKEN = '';
const ZYPHR_BASE_URL = 'https://api.zephyrscale.smartbear.com/v2/testexecutions'; 
const PROJECT_KEY = ['DFB', 'DFI'];
const TEST_CYCLE_KEY = ['DFB-R2', 'DFI-4'];

// === HEADERS FOR AUTH ===
const zyphrHeaders = {
  Authorization: `Bearer ${ZYPHR_API_TOKEN}`,
  'Content-Type': 'application/json'
};


function readPostmanCollection() {
  const raw = fs.readFileSync(REPORT_PATH, 'utf-8');
  const json = JSON.parse(raw);
  return json.collection.item;
}


function determineStatus(events) {
  if (!events) return 'FAILED';

  const testScript = events.find(e => e.listen === 'test');
  if (!testScript || !testScript.script || !testScript.script.exec) return 'FAILED';

  const containsSuccessCheck = testScript.script.exec.some(line =>
    line.includes('pm.test') && line.includes('Status code is 200')
  );

  return containsSuccessCheck ? 'PASSED' : 'FAILED';
}


async function getTestCaseKeyByName(testName) {
  try {
    const res = await axios.get(`${ZYPHR_BASE_URL}/testcases`, {
      params: {
        projectKey: PROJECT_KEY,
        name: testName
      },
      headers: zyphrHeaders,
proxy: false
    });

    const match = res.data.find(tc => tc.name === testName);
    return match ? match.key : null;
  } catch (error) {
    console.error(`Error fetching test case key for "${testName}":`, error.message);
    return null;
  }
}


async function updateTestExecution(testCaseKey, status) {
  const statusName = status === 'PASSED' ? 'Pass' : 'Fail'; // Map to Zyphr-compatible values

  const payload = {
    projectKey: PROJECT_KEY,
    testCaseKey,
    testCycleKey: TEST_CYCLE_KEY,
    statusName
  };

  try {
    const res = await axios.post(`${ZYPHR_BASE_URL}/testexecutions`, payload, {
      headers: zyphrHeaders
    });
    console.log(`Successfully updated test case [${testCaseKey}] to [${statusName}]`);
  } catch (error) {
    console.error(`Failed to update test execution for ${testCaseKey}:`, error.response?.data || error.message);
  }
}


async function run() {
  const items = readPostmanCollection();

  for (const test of items) {
    const testName = test.name;
    const status = determineStatus(test.event);

    console.log(`\n Processing "${testName}" | Status: ${status}`);

    const testCaseKey = await getTestCaseKeyByName(testName);
    if (!testCaseKey) {
      console.warn(`Test case not found in Zyphr: "${testName}"`);
      continue;
    }

    await updateTestExecution(testCaseKey, status);
  }

  console.log('\n All test cases processed.');
}

run();
Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can anyone help me
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: shruti

79719872

Date: 2025-07-30 11:30:43
Score: 2
Natty:
Report link

For users using emulators, after changing GoogleService-Info.plist for IOS, I just rebuilt the app without closing it and the error occurs and it seems to be fixed be just uninstalling the app and restarting the emulator.

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

79719843

Date: 2025-07-30 11:08:37
Score: 1
Natty:
Report link

storing these three type of data

You don't. The information you store should be rarely changing. The actuator state should be determined by sensor reading for current state, not assuming that whatever in memory is accurately after whatever issues.

You mention ESP-IDF, the built in NVS library, and in micropython too, has wear leveling built in.

What you're asking for:

  1. Boot
  2. Read NVS(Management Config, User Config)
  3. Read Sensor State
  4. Do Thing as Needed Repeat from 3
  5. Update NVS if Management, or User Config is changed.

Improved Design:

Don't bother storing these things at all.

  1. Connect to server, reporting hard serial / machine id / MAC
  2. Download control logic
  3. Read sensor / actuator state off pin
  4. Perform action.
  5. Re-download control logic if notified.

Then all your controllers are programmed the same, centrally managed, easy to backup, easy to replace, no wear leveling to bother with, no local user input or ui to bother with.

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

79719842

Date: 2025-07-30 11:08:37
Score: 3
Natty:
Report link

It happens, when you have only forward declaration of protocol, but no real include to it.

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

79719839

Date: 2025-07-30 11:05:37
Score: 1
Natty:
Report link

If you want to use a field from the returned table in a local variable you can use the following:

SELECT Top 1 @Name=[Name] from [dbo].FN('Some text')

I have a similar problem in that I have a TVF that takes a latitude and longitude and returns a location as an Easting/Northing pair and I need to extract each value in turn. This is how I solved accessing the individual fields.

Reasons:
  • Blacklisted phrase (1): I have a similar problem
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-2): I solved
  • Whitelisted phrase (-1.5): you can use
  • Has code block (-0.5):
  • Me too answer (2.5): I have a similar problem
  • Low reputation (1):
Posted by: Rarius

79719837

Date: 2025-07-30 11:05:37
Score: 3.5
Natty:
Report link

disabling default YAML formatter fixed it for me:enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Aurimas Stands with Ukraine

79719829

Date: 2025-07-30 10:56:34
Score: 0.5
Natty:
Report link

Google recently (May 2025) changed their free tier to include 10,000 free Geocoding API calls per month ($50 value) down from 40,000 calls per month ($200 value). What happened is they went from a flat monthly $200 credit for all APIs to about $50 credit per API e.g. Places API, Nav SDK, GMPRO etc to encourage people to try out different APIs.

source: https://blog.afi.io/blog/a-practical-guide-to-the-google-geocoding-api/

Reasons:
  • No code block (0.5):
Posted by: theprof

79719821

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

I would recommend to use generics if this suits your need. See example below.

class Processor<Output> {
    // This closure holds the specific logic for processing data into the desired 'Output' type.
    private let processingLogic: (Data) async -> Output

    init(processingLogic: @escaping (Data) async -> Output) {
        self.processingLogic = processingLogic
    }

    func process(_ data: Data) async -> Output {
        return await processingLogic(data)
    }
}

class Downloader {
    func processData<Output>(from url: URL, with processor: Processor<Output>) async -> Output {
       ////
    }
}

func fetchData() async {
    let downloader = Downloader()
    let url = URL(string: "https://example.com")!
    
    // --- Create an image processor instance ---
    let imageProcessor = Processor<UIImage>(processingLogic: { data in
        // Logic to turn data into a UIImage
        return UIImage(systemName: "photo.artframe") ?? UIImage()
    })
    
    // The result is known to be a UIImage at compile time.
    let image: UIImage = await downloader.processData(from: url, with: imageProcessor)
    print("Success! Got a UIImage: \(image)")
    
    
    // --- Create a text processor instance ---
    let textProcessor = Processor<String>(processingLogic: { data in
        // Logic to turn data into a String
        return "This is the processed text result."
    })
    
    // The result is known to be a String at compile time.
    let text: String = await downloader.processData(from: url, with: textProcessor)
    print("Success! Got a String: \(text)")
}

Why is this better? Well, first its easy to scale it, for a new type to be supported you just have to create a new processor, but the best part is that compiler will know when you call Processor<UIImage> that the type is exactly UIImage so no need of type casting, results in better performance.

Reasons:
  • RegEx Blacklisted phrase (0.5): Why is this
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Benjamin

79719819

Date: 2025-07-30 10:48:32
Score: 3.5
Natty:
Report link

It is easier and cheaper to use veoapi org

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

79719816

Date: 2025-07-30 10:44:31
Score: 1.5
Natty:
Report link

16.5 years after the original post, N++ v. 8.8.x is out, and there's still someone with the same question (including myself :-) ).

Now the Tab/Space setting has moved to Settings-> Preferences -> Indentation (not sure of when it happened, however). The working is pretty similar to the original, I guess.

enter image description here

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Max1234-ITA

79719815

Date: 2025-07-30 10:43:31
Score: 4
Natty:
Report link

I know people mostly try to avoid using third-party apps here. However, Elfsight's Google Reviews widget provides an opportunity to pull reviews for a business without a physical address.

Just in case someone is interested, there is a guide on how to adjust that: https://help.elfsight.com/article/1056-google-reviews-how-to-add-reviews-of-a-business-with-no-physical-address

Regards,

Elfsight Team

Reasons:
  • Blacklisted phrase (1): Regards
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Elfsight

79719809

Date: 2025-07-30 10:37:29
Score: 0.5
Natty:
Report link

Adding this event handler solved my issue. Process is stopped crashing, just print the error

ffmpeg.stdin.on('error', (stdinError: any) => {
                    // This error means ffmpeg's stdin pipe closed unexpectedly.
                    cleanup(true, new Error(`FFmpeg stdin error: ${stdinError.message}`));
                });

Now in logs I see something like this:

Failed to get replay gain volume of the audio file Error: FFmpeg stdin error: write EPIPE

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

79719806

Date: 2025-07-30 10:36:29
Score: 1
Natty:
Report link

Some of the issues have turned out to be unrelated to each other. I think the page animation issue is related to the MVVM framework I'm using.

However, the answer to the question of what is slower between Xamarin and MAUI, in this case, is SecureStorage.

This is a github issue (https://github.com/dotnet/maui/issues/18817) regarding SecureStorage calls that don't resolve in the App constructor (which has nothing to do with my issues as far as I know). Further down the discussion there are some posts that mention the poor performance of SecureStorage.GetAsync. So far, I've seen marked improvements in areas where (admittedly because of laziness) a GetAsync call was on a hot path. This issue also seems to explain why the MAUI performance in the emulator was similar to Xamarin, as opposed to on the physical device, in addition to only affecting Android.

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

79719803

Date: 2025-07-30 10:35:29
Score: 2.5
Natty:
Report link

You can try clicking the link and making it editable to temporarily disable the link preview.
like this

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

79719791

Date: 2025-07-30 10:25:26
Score: 1
Natty:
Report link

I've copied your code and tried to make it work and it worked well.

Link - is the source which I've used. Can you check the code, and review your code again.

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

79719776

Date: 2025-07-30 10:15:24
Score: 1.5
Natty:
Report link

I think your specs are really low and are not providing enough resources for the AVD to work with.

I used to have a 2GB Ram setup too a while back and it used to take monstrous amounts of time to run AVD so I switched to USB or Wireless Debugging in my physical device.

Also, If the AVD doesn't get enough resources, all kinds of bugs and crashes show up.

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

79719765

Date: 2025-07-30 10:12:23
Score: 2
Natty:
Report link

The join will treat b as a single item and that's why the result is a nested tuple. You have to convert a and b to vectors, join them and then convert back to tuple.

a = (1,2,3) b = (4,5,6)

re = tuple(join(vector(a), vector(b)))

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

79719759

Date: 2025-07-30 10:06:21
Score: 5
Natty:
Report link

There has been a bug that evaluation metrics created by make_genai_metric_from_prompt cannot be used for mlflow.evaluate. A PR (https://github.com/mlflow/mlflow/pull/16960) has been filed to fix the issue, which should be included in the next minor release. Sorry for the inconvenience, and thank you for the report. From now one, we would appreciate it if you could file an issue at https://github.com/mlflow/mlflow/issues when you find an issue. Thank you!

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1.5): would appreciate
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tomu Hirata

79719757

Date: 2025-07-30 10:04:20
Score: 3
Natty:
Report link

You need to add a product description https://docs.stripe.com/api/products/object#product_object-description. This will be displayed to the customer on the Checkout Session.

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

79719756

Date: 2025-07-30 10:03:19
Score: 4
Natty: 6
Report link

For linux use "" instead " example exclude=TABLE:\""IN ('yourtable')\""

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

79719748

Date: 2025-07-30 09:59:18
Score: 3.5
Natty:
Report link

This commit introduced this bug since version 8.0.23 https://github.com/mysql/mysql-workbench/commit/b3c198f6a50dd44793860eaa6d3165eaeb2cbe72

It hard-codes the encoding to UTF-8, which is not Windows' default.

Apply this patch to fix the problem https://github.com/mysql/mysql-workbench/commit/c71cab7340ed4497faef65ed9bf99a5b90fe6897

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

79719738

Date: 2025-07-30 09:54:17
Score: 3
Natty:
Report link

Since Oracle 21c there is a new set operator EXCEPT and the ALL clause is also added to INTERSECT, MINUS and EXCEPT to complement the existing UNION ALL functionality

https://youtu.be/hDw0kxyZpQw

Like this you can account for duplicates and not bother sorting the data

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: mikdundee

79719735

Date: 2025-07-30 09:53:16
Score: 5
Natty:
Report link

is there a way to automate user consent, user consert code is valid for 10min only

Reasons:
  • Blacklisted phrase (1): is there a way
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): is there a
  • Low reputation (1):
Posted by: madhu chilukuri

79719723

Date: 2025-07-30 09:46:14
Score: 2.5
Natty:
Report link

"Visual Studio Keymap" works for me ! perfect !

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Barancan GENÇ

79719720

Date: 2025-07-30 09:39:12
Score: 9
Natty: 5
Report link

how did you solved the issue I am also having exact same issue

Reasons:
  • RegEx Blacklisted phrase (3): did you solved the
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am also having exact same issue
  • Single line (0.5):
  • Starts with a question (0.5): how did you solve
  • Low reputation (0.5):
Posted by: Tousif

79719719

Date: 2025-07-30 09:39:12
Score: 2.5
Natty:
Report link

Here's a clear comparison between pip and uv:

---

🔹 What is pip?

pip is the default Python package installer.

It's widely used and comes pre-installed with Python (since v3.4+).

Installs packages from PyPI.

Slower compared to some modern alternatives.

Command:

pip install <package>

---

🔹 What is uv?

uv is a blazingly fast Python package manager created by Astral (the team behind Rye).

Built in Rust for high performance.

Meant to be a drop-in replacement for pip + virtualenv + pip-tools.

Can install, lock, and resolve dependencies much faster than pip.

Also handles virtual environments automatically.

Command:

uv pip install <package>

---

⚙️ Feature Comparison

Feature pip uv

Speed Slower Much faster (Rust-based)

Virtualenv support Separate tool (virtualenv) Built-in

Dependency resolution Basic Advanced + fast

Lock file support No native support Yes (uv pip compile)

Cross-platform Yes Yes

Used by Standard Python users Power users, performance-focused devs

Offline install support Limited Better caching

---

🔹 When to Use

Use pip if:

You want the standard, battle-tested installer.

You work in a team and need compatibility.

Use uv if:

You care about speed.

You want built-in virtualenv and lockfile handling.

You're experimenting with modern Python tooling.

---

Want help setting up uv or comparing install speed in real-time?

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

79719715

Date: 2025-07-30 09:38:11
Score: 4
Natty:
Report link

الله الله يا بابا

اسلام مالک مرحبا

کابلِ جان، ای خانه‌ی ما

پُر از نور، پُر از صفا

الله الله، صحن مسجد

با صدای نرمِ مؤذّن‌

صبحِ جمعه، آب وضو

روی دست پدر، پر از سخن

الله الله، نان و قاق

در قفسه، با شیشه‌ی خاک

خواهرم شانه زد گیسو

در دلش بود آرزو پاک

کوچه‌ی پُر خط و خاکی

زیر باران، پُر از سرما

کودکی با کفشِ پاره

می‌کشید دستِ خود با دعا

گلدان‌های پشتِ بام

با گلِ جعفری و سلام

مادرم آب‌شان می‌داد

زیر آن آفتابِ آرام

الله الله، ظهرِ سست

برگ‌ها روی حوضِ پُر از دوست

بوی قورمه از پنجره

می‌رسید از دلِ خانه به پوست

در دلِ شب، بوی دود

قصه‌ها با چراغِ زود

هر کجایش که یاد کردم

دیدم آنجا هنوز بود

الله الله، کوه شاهی

پُر ز آواز و باد و ماهی

می‌دویدیم با دلِ سبک

می‌خندیدیم بی‌گناهی

از قنات و کوزه‌ی گِل

آبِ سرد و لبِ پر از دل

خواهرم داد جرعه‌ای

گفت: «بخور، تا بمانه این پل»

کابلِ زیبا، ای بهشت

در دلت جنگ بود و سرشت

لیک هنوزم صدایت هست

چون نوای سحر، در سرشت

الله الله، ای نگاه

در غریبی همیشه همراه

دوری‌ات زخمِ جانم است

بی‌تو خاموشم و بی‌پناه

سال‌ها رفت و من هنوز

در دلِ خاکِ غربت، سوز

هر کجا رفتم از تو دور

ریشه‌ام بود این‌جا، امروز

الله الله، گدی‌پران

پا می‌دویم بر روی شان

با خنده و ترسِ کودکی

می‌پریم از سنگ تا بان

تشله‌بازی، دست‌ها

می‌چرخید با شور و شَده

شوری که در دل می‌جوشید

در کوچه‌های کهنه‌زده

توپ‌دنده، صدای غژ

می‌خورد به سنگ و حیاطِ رُخ

بچه‌ها می‌دوند دوان دوان

دلشاد با هر پرش و کوک

دنده‌کیلک، بازی‌مان

با پا می‌زدیم ضربه‌زن

دل‌ها پر از امید و شور

در کوچه‌های خاکی و خرد

الله الله، غرسی‌بازی

یک لنگه می‌دویدیم ما

بچه‌ها غلت می‌خوردند

با خنده و شور بی‌پناه

از نانوایی، بوی نان

گرم و تازه، پر از جان

نان‌های داغ و ترد و نرم

زیر دست نانوا با جان

قصاب سر گذر ایستاده

چاقو به کتف زده، هواد

گوشت تازه می‌فروشد

با مشتری خنده‌زاده

ترکاری‌فروش هزارگی

می‌ریزد سبزی و تره‌گی

گوجه، پیاز، بادمجان

با رنگی، شاد، بی‌تکلفی

کاکا کریم دکان‌دار

ماست گاوی، ترش و بار

با لبخندی پر مهر

دوست بچه‌های زار

کاکا ایشان کنار دکان

خربزه‌های قلانی‌اش

خوش‌رنگ، شیرین و تازه

می‌بخشد بوی بهاران

الله الله، کاکا سلامی

او را همه با عشق می‌دیدی

می‌داد قیران، پول فلزی

دل‌ها را با مهربانی می‌دیدی

کودکان شرم و حیا داشتند

لبانشان پر از راز بود

در برابر نگاه‌های او

می‌خندیدند با ساز بود

کاکا دگروال، مردِ زور

کوچه از ترسش وا می‌رفت

بچه‌ها کم به آن طرف‌ها

می‌رفتند که دیده نشوند سخت

کاکا انجنیر مهربان

با کاغدپران در دست‌ها

می‌آموخت به ما بازی‌ها

نوازش می‌کرد با مهربانی‌ها

الله الله، بچه‌ها در کوچه

با خنده و ترس در آغوش

زیر سایه‌ی درختان سبز

بازی می‌کردند با گوش

کاکا سلامی می‌خندید

می‌داد قیران به دست‌های کوچک

بچه‌ها شرمنده، پنهان

می‌رفتند زیر سایه‌های خوش

کاکا دگروال، سخت و جدی

صدای پاهایش می‌آمد

کوچه‌ها تنگ و باریک بود

بچه‌ها کم راه می‌رفتند

کاکا انجنیر، مهربان

با کاغدپران در دست‌ها

می‌آموخت به ما بازی‌ها

نوازش می‌کرد با مهربانی‌ها

الله الله، روزها گذشت

کوچه‌ها هنوز یادگار است

بچه‌های دیروز بزرگ شدند

ولی دل‌ها هنوز در کنار است

الله الله، شبِ مهتاب

کوچه‌ها خاموش، ولی خواب

در دل‌ها روشنای یاد

از روزهای گرم و ناب

کابل، ای سایه‌ی مهر

با دل پر از غم و شکر

تو همیشه بودی خانه

برای هر کودک و پدر

دست‌های کوچکی که رفتند

برگشتند به دل خاک تو

با یاد تو همیشه زنده

با قلبی پر از خاکرو

الله الله، ای وطن

در دوری یا در نزدیکی

عشق تو همیشه مانده

در دل ما، در تپش تپش زنگی

---

🔹 ترجیع‌بند پایانی:

های های های

می‌زنم بوسه بر خاکت، یا بابا

هر چه دیدم، تو را دیدم، یا بابا

کابلِ جان، تویی ما را صدا

باز برگردم به کوچه‌ات، یا بابا

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: Nusrat Niazi

79719712

Date: 2025-07-30 09:36:11
Score: 0.5
Natty:
Report link

The InvalidArgumentError has occurred because of stateful scikit-learn objects (MinMaxScaler, PolynomialFeatures) within your tf.data.Dataset generator, causing race conditions. To fix this, replace these with stateless TensorFlow operations or tf.py_function for robust, parallel processing. Please refer to this gist where I addressed the issue with dummy data.

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

79719711

Date: 2025-07-30 09:35:10
Score: 4.5
Natty:
Report link

I think this functionality is no more :(
GitLab changed the way it presents Compare revisions view by adding some new features.
Therefore old method for automatic file scroll using #SHA is no more.

I noticed in Gitlab version GitLab Enterprise Edition 18.3.0-pre 9aa8f0e5c6d
You can easily notice whether you have this feature in Code -> Compare revisions view by seeing this file browser. Does anyone has a way around it?
enter image description here

Reasons:
  • Blacklisted phrase (1): :(
  • RegEx Blacklisted phrase (3): Does anyone has a way
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: krzakov

79719688

Date: 2025-07-30 09:15:04
Score: 4.5
Natty: 4
Report link

pip install --only-binary :all: scrypt

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

79719684

Date: 2025-07-30 09:05:00
Score: 7
Natty: 5
Report link

It may be late (10 years lol), but I was wondering. You said you already had a list of games before using libGDX, so, what did you use before that ?

Reasons:
  • Blacklisted phrase (2): was wondering
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nathan MICONI

79719681

Date: 2025-07-30 09:00:59
Score: 0.5
Natty:
Report link

PROMPT 1

Create A vibrant, high-quality product advertisement featuring the Clean & Clear Foaming Face Wash, using the exact packaging details from the reference image (shape, label design, colors, and text). The bottle is placed in the center, standing upright with realistic water droplets on the surface for a fresh, hydrating feel.

The background is a bright, clean gradient of white and aqua blue with dynamic splashes of water and floating bubbles around the product, symbolizing freshness and oil control. Use high-end studio lighting with soft shadows and glossy reflections to make the bottle look premium and eye-catching. Add minimalistic text overlay in bold, modern font: "Say Goodbye to Oil & Pimples" and include the Clean & Clear logo at the top right corner. Photorealistic, ultra-detailed, 8K resolution, glossy finish, professional skincare ad aesthetic, perfect for social media and digital campaigns.

PROMPT 2

Create A vibrant, high-quality product advertisement featuring the Clean & Clear Foaming Face Wash, using the exact packaging details from the reference image (shape, label design, colors, and text). placed on stacked soft round cushion props in gradient shades of purple and orange. The background is a smooth pastel gradient blending light peach, lavender, and soft orange tones to match the product's colors. Transparent soap bubbles float around the scene, reflecting subtle purple and orange highlights. Lighting is bright, clean, and diffused for a glossy, modern skincare ad feel.

No extra props just cushions, bubbles, and the product.

PROMPT 3

Create A transparent orange Clean & Clear foaming face wash bottle with a purple cap and label placed upright at the center(use the reference image). The background is a soft pastel peach or light orange gradient to complement the product color. White foamy bubbles and lather surround the base of the bottle, dripping slightly down a smooth platform. Transparent floating bubbles of various sizes are scattered around, adding a fresh, clean skincare feel. Soft, even lighting highlights the glossy texture of the bottle, with subtle reflections enhancing its transparent liquid content.

PROMPT 4

A top-down flat lay shot featuring the Clean & Clear Foaming Face Wash bottle (use exact packaging details from the reference image: orange transparent bottle with purple cap and Clean & Clear branding) placed on a smooth, pastel lavender surface. Surround the product with aesthetic props like fresh white towels, green palm leaves, small lavender flowers, and glossy soap bubbles for a clean, refreshing vibe. Add a few water droplets around the product for a hydrating effect. Soft, natural studio lighting with subtle shadows for depth and realism. Minimalistic, bright, premium skincare aesthetic. Photorealistic, ultra-detailed, 8k resolution

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

79719656

Date: 2025-07-30 08:33:53
Score: 3.5
Natty:
Report link

Here is a Vue3 Playground without SortableJS but respecting nested headers

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

79719638

Date: 2025-07-30 08:18:49
Score: 0.5
Natty:
Report link

I encountered this error in Flutter after upgrading Gradle. Cleaning the Gradle build resolved the issue. To fix it, run the following commands in your terminal:

cd android/ && ./gradlew clean && cd ..

Then run:

flutter clean
flutter pub get
flutter run
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: pradeepo7

79719637

Date: 2025-07-30 08:15:48
Score: 1
Natty:
Report link

Later, I found out that the interception was caused by different sources caused by iframe. I used the default introduction method of GA to solve it. I needed to configure cookie_flags: 'SameSite=None;Secure'

  useEffect(() => {
    if (!gaId) return;

    const script1 = document.createElement("script");
    script1.async = true;
    script1.src = `https://www.googletagmanager.com/gtag/js?id=${gaId}`;
    document.head.appendChild(script1);

    const script2 = document.createElement("script");
    script2.innerHTML = `
      window.dataLayer = window.dataLayer || [];
      function gtag(){ dataLayer.push(arguments); }
      gtag('js', new Date());
      gtag('config', '${gaId}', {
        cookie_flags: 'SameSite=None;Secure'
      });
    `;
    document.head.appendChild(script2);

    return () => {
      document.head.removeChild(script1);
      document.head.removeChild(script2);
    };
  }, [gaId]);
Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Teeeeee

79719631

Date: 2025-07-30 08:03:45
Score: 1.5
Natty:
Report link

JAXBContext implementation is required and designed to be thread safe, you can find official confirmation here in jakarta docs https://jakarta.ee/specifications/xml-binding/4.0/jakarta-xml-binding-spec-4.0

JAXBContext class is designed to be immutable and thus thread-safe. Given the amount of dynamic processing that potentially could take place when creating a new instance of JAXBContxt, it is recommended that a JAXBContext instance be shared across threads and reused as much as possible to improve application performance.

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

79719629

Date: 2025-07-30 08:01:44
Score: 3
Natty:
Report link

Right click the CMakeLists.txt and select import as a cmake project. This bug happened to me after the last update of CLion

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

79719621

Date: 2025-07-30 07:56:43
Score: 2
Natty:
Report link

Use

['timestamp', null]

or

['timestamp', '=', null]
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Александр Потапов

79719614

Date: 2025-07-30 07:49:41
Score: 3
Natty:
Report link

for this issue add deafultValue prop in TextInput , and remove value props only so it will work , main idea behind it to resolve I will have to make it uncontrolled component .

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

79719602

Date: 2025-07-30 07:40:39
Score: 0.5
Natty:
Report link

Your code looks fine to me, I can only speculate for reasons.

Could you try it with the -NoHeader option? This is available only after Powershell version 7.4 so pls make sure you have the version requirement.

if (-Not (Test-Path $CSVFile)) {
    $logEntries | Export-Csv -Path $CSVFile -NoTypeInformation
} else {
    # Append with the -NoHeader option
    $logEntries | Export-Csv -Path $CSVFile -NoTypeInformation -Append -NoHeader
}
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Simon

79719600

Date: 2025-07-30 07:39:38
Score: 5.5
Natty:
Report link

Thank you for sharing your feedback.
We encourage you to have a look at our articles on how to better configure guidelines for Junie.

Please refer to the YouTrack article about the code 400 issue. Regarding the issue with the controllers, it is known to our team, please upvote and follow the YouTrack ticket on Junie not validating all the controllers for updates regarding this issue. 
Best Regards,
Oleksandr

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): Best Regards
  • Blacklisted phrase (1): Regards
  • Blacklisted phrase (0.5): upvote
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Oleksandr Kliushyn

79719597

Date: 2025-07-30 07:37:37
Score: 0.5
Natty:
Report link

@model List<Airline.Models.Seat>

@{

ViewBag.Title = "Select Seat";

var price = ViewBag.Price ?? 1000; // Price comes from BookingController

var flightId = ViewBag.FlightId;

var selectedClass = ViewBag.Class;

}

<style>

.seat-grid {

    display: inline-block;

    margin: 30px auto;

    text-align: center;

}

.seat-row {

    display: inline-block;

    white-space: nowrap;

}

.seat {

    width: 50px;

    height: 50px;

    background-color: #2196F3;

    border-radius: 6px;

    text-align: center;

    line-height: 50px;

    color: white;

    font-weight: bold;

    cursor: pointer;

    position: relative;

    display: inline-block;

    margin: 5px;

}

.seat:hover::after {

    content: attr(data-price);

    position: absolute;

    top: -28px;

    left: 50%;

    transform: translateX(-50%);

    background: #000;

    color: #fff;

    padding: 2px 6px;

    font-size: 12px;

    white-space: nowrap;

    border-radius: 4px;

    z-index: 2;

}

.seat.unavailable {

    background-color: #ccc;

    cursor: not-allowed;

}

.seat.booked-by-user {

    background-color: green;

}

.seat.window {

    background-color: #4CAF50;

}

.seat.selected {

    border: 3px solid yellow;

}

.continue-btn {

    margin-top: 20px;

    display: flex;

    justify-content: center;

}

.continue-btn button {

    background-color: purple;

    color: white;

    border: none;

    padding: 10px 20px;

    border-radius: 6px;

    font-size: 16px;

    cursor: pointer;

}

h2 {

    text-align: center;

    margin-top: 20px;

}

</style>

<h2>Select Your Seat - @selectedClass Class</h2>

<div class="seat-grid">

@for (int i = 0; i \< Model.Count; i += 6)

{

    \<div class="seat-row"\>

        @for (int j = 0; j \< 6 && (i + j) \< Model.Count; j++)

        {

            var seat = Model\[i + j\];

            var seatClass = "seat";

            if (!seat.IsAvailable)

            {

                seatClass += " unavailable";

            }

            if (seat.IsWindow)

            {

                seatClass += " window";

            }

            if (seat.IsBookedByUser)

            {

                seatClass += " booked-by-user";

            }

            var seatPrice = seat.IsWindow

                ? "Window Seat - ₹" + (Convert.ToInt32(price) + 100)

                : "₹" + price;

            \<div class="@seatClass"

                 data-seat="@seat.SeatNumber"

                 data-price="@seatPrice"

                 onclick="selectSeat(this)"

                 title="Seat @seat.SeatNumber"\>

                @seat.SeatNumber

            \</div\>

        }

    \</div\>

}

</div>

<div class="continue-btn">

\<form action="/Booking/ConfirmBooking" method="post"\>

    \<input type="hidden" id="selectedSeat" name="seatNumber" /\>

    \<input type="hidden" name="flightId" value="@flightId" /\>

    \<input type="hidden" name="class" value="@selectedClass" /\>

    \<button type="submit"\>Continue\</button\>

\</form\>

</div>

<script>

let selected = null;

function selectSeat(el) {

    if (el.classList.contains('unavailable')) return;

    if (selected) selected.classList.remove('selected');

    el.classList.add('selected');

    selected = el;

    document.getElementById("selectedSeat").value = el.getAttribute("data-seat");

}

</script>

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @model
  • User mentioned (0): @selectedClass
  • Low reputation (1):
Posted by: Bhavika Poddar

79719594

Date: 2025-07-30 07:35:36
Score: 4.5
Natty: 4.5
Report link

set(CMAKE_AUTORCC ON) действительно работает!

Оба метода предложенные EL96cpp ниже рабочие.

Это лучшее решение которое я нашел в интернете!

Reasons:
  • Low length (1):
  • No code block (0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: Coljoy

79719592

Date: 2025-07-30 07:34:36
Score: 3
Natty:
Report link

Just add dependency apache.poi.ooxml version 5.2.2, then issue will be resolved. I tried this and it's woking for me

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

79719587

Date: 2025-07-30 07:28:34
Score: 2.5
Natty:
Report link

Some time issues are getting due to missed .htaccess files from pub and static folders.

Please check your pub and pub/static .htaccess

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

79719575

Date: 2025-07-30 07:16:31
Score: 1.5
Natty:
Report link

WebSocket is just a communication protocol. it gives you a bi-directional connection, nothing more. It's very low-level and doesn't define app-specific logic like "rooms", "users", or "events".

How to Implement Rooms in WebSocket (Node.js)

Here’s the conceptual workaround:

  1. Maintain a rooms object on the server.

  2. When a client wants to join a room, you add their socket to that room array.

  3. When sending a message to a room, iterate over the clients in that room and send the message manually.

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

79719572

Date: 2025-07-30 07:14:30
Score: 4
Natty:
Report link

@user19685697 I think your question is spot on. You are talking about this right?

//here the function call is not a callback function like: 
//                              onChange={(e)=>updateName(e)}
import React, {useState} from 'react';
 
function MyComponent(){

    const [name, setName] = useState("Robin Hood");

    const updateName = e => setName(e.target.value); //here there is a parameter



    return(
            <>
            <input value={name} onChange={updateName}/> 


            <p>Name: {name}</p>
            </>
    );

}

export default MyComponent
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @user19685697
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Anjanee Wijewardana

79719569

Date: 2025-07-30 07:13:30
Score: 1
Natty:
Report link

public ActionResult SeatSelection(int flightId, string @class)

{

var seats = new List\<Seat\>();

for (int i = 1; i \<= 30; i++)

{

    seats.Add(new Seat

    {

        SeatNumber = i,

        SeatClass = @class,

        IsAvailable = i \<= 10,

        IsWindow = (i % 6 == 1 || i % 6 == 0),

        IsBookedByUser = false

    });

}

ViewBag.FlightId = flightId;

ViewBag.Class = @class;

switch (@class)

{

    case "Economy":

        ViewBag.Price = 1000;

        break;

    case "BusinessClass":

        ViewBag.Price = 5000;

        break;

    case "FirstClass":

        ViewBag.Price = 8000;

        break;

    default:

        ViewBag.Price = 0;

        break;

}

return View(seats); // make sure SeatSelection.cshtml exists

}

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @class
  • Low reputation (1):
Posted by: Bhavika Poddar

79719561

Date: 2025-07-30 07:06:28
Score: 1.5
Natty:
Report link

No, it's not even trying to read the file.

Parse the YAML file into a Python dictionary: you'll need a YAML parsing library like PyYAML or whatever method you like.

Pass that dictionary to your Settings model's constructor: Pydantic will then take this dictionary and validate its contents against your model.

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

79719558

Date: 2025-07-30 07:05:28
Score: 1
Natty:
Report link

Thank you to Siddharth Rout for suggesting for me to move the rows to another worksheet. It works wonderfully now. I decided to hide the rows, then copy and paste all the values in a new sheet, then proceeded with the AutoFilter stuff that I needed to do.

 Dim wsActive As Worksheet
    Set wsActive = ActiveWorkbook.ActiveSheet
    
    'フィルターを設定
    wsActive.AutoFilterMode = False
    Rows("1:1").Select
    Selection.AutoFilter
    
'追加条件:A列が"*"有りエンドユーザーを隠します。
    
    Dim hideRow As Long
    hideRow = ActiveSheet.Cells.SpecialCells(xlLastCell).row

    For Each cell In ActiveSheet.Range("A3:A" & hideRow)
        If cell.value = "*" Then
            cell.EntireRow.Hidden = True

            Dim hiddenvalue As Variant
            hiddenvalue = ActiveSheet.Range("G" & cell.row)

            For Each othercell In ActiveSheet.Range("G3:G" & hideRow)
                If othercell.value <> "" And othercell.value = hiddenvalue Then
                    othercell.EntireRow.Hidden = True

                End If
            Next othercell

        End If
    Next cell
    
    Dim sourceWS As Worksheet
    Dim resultWS As Worksheet

    Set sourceWS = ActiveWorkbook.ActiveSheet
    Set resultWS = Worksheets.Add(After:=Sheets(Sheets.Count))

    With sourceWS
        rowEnd = .Cells.Find(What:="*", SearchOrder:=xlByRows, SearchDirection:=xlPrevious).row
        columnEnd = .Cells.Find(What:="*", SearchOrder:=xlByColumns, SearchDirection:=xlPrevious).Column

        Set visRange = .Range("A1", .Cells(rowEnd, columnEnd)).SpecialCells(xlCellTypeVisible)
        visRange.Copy Destination:=resultWS.Range("A1")
    End With

Headache reduced thanks to the people that helped me through this.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Anpo Desu

79719556

Date: 2025-07-30 07:03:27
Score: 1.5
Natty:
Report link

You can record VoIP calls on Android one-sided. Use third-party VoIP call recording apps like Cube ACR or TheOneSpy, OgyMogy, which support platforms like WhatsApp, Telegram, Viber, WeChat, and Facebook Messenger. On a rooted or non-rooted device, these apps provide more stable and high-quality recordings by accessing the Mic or camera. Some apps use accessibility services or screen recording with audio or video to capture VoIP calls. Always ensure recording is legal in your region for parental control or business.

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

79719552

Date: 2025-07-30 06:57:26
Score: 0.5
Natty:
Report link

Not a solution, but the best I could come up with in SwiftUI is to split the text into paragraphs and allow copying each one individually:

let text = """
    Multiple URLs here, such as https://stackoverflow.com
    or https://www.google.com
    """

LazyVStack(alignment: .leading, spacing: 0) {
    let texts = text.split(separator: "\n", omittingEmptySubsequences: false)
    ForEach(Array(texts.enumerated()), id: \.offset) { _, text in
        Text(LocalizedStringKey(String(text)))
    }
}
.textSelection(.enabled)

Sadly the .textSelection(.enabled) only allows selecting everything at once on iOS.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: fer0n

79719551

Date: 2025-07-30 06:55:25
Score: 0.5
Natty:
Report link

You could try by overriding the Base.show() method in julia like so:

import Printf

function Base.show(io::IO, f::Float64)
    Printf.@printf(io, "%.4f", f)
end
    

After executing this code, any Float64 value printed to the terminal will be rounded to four decimal places.

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