79358203

Date: 2025-01-15 12:31:07
Score: 2
Natty:
Report link

In case you don't want to trigger onChange event when onPaste is triggered... try event.preventDefault()

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

79358194

Date: 2025-01-15 12:28:06
Score: 1
Natty:
Report link

I had similar problems. In Visual Studio I didn't find a good way to check the file encoding and didn't want to save all the files just to make sure they have the right encoding.

I opened those files in Notepad++. There is the Encoding tab where you can check file encoding and also change it from the files it is needed. That fixed the problem for me and it was quite fast to check all files with it. Also set the configuration in VS so that documents is saved as Unicode when data cannot be saved in codepage as mentioned in the other aswer.

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

79358188

Date: 2025-01-15 12:26:05
Score: 2
Natty:
Report link

I had the same problem using spring boot 3.4.1 and fixed it by adding spring.test.database.replace=none in application.properties

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

79358185

Date: 2025-01-15 12:26:05
Score: 0.5
Natty:
Report link

If you're looking for a quick-fix, a rollback to a previous stable version will solve the problem.

<dependency>
        <groupId>ch.qos.logback</groupId>
        <artifactId>logback-core</artifactId>
        <version>1.5.12</version>
</dependency>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Reegz

79358183

Date: 2025-01-15 12:25:05
Score: 1
Natty:
Report link

to configure kubernetes locally in Virtual box make sure the cpu core is 2 then install docker , minikube and kubectl to get the server version and check

minikube logs for any specific errors and fix rerun i was missing the driver so installed podman

apt install containerd -y apt install -y docker.io docker-compose sudo systemctl enable docker sudo systemctl start docker sudo systemctl status docker curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.30/deb/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.30/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list

sudo apt update sudo apt install kubeadm kubelet kubectl -y sudo apt-mark hold kubeadm kubelet kubectl kubeadm version

sudo apt-get install -y podman minikube start --driver=podman

https://minikube.sigs.k8s.io/docs/start/?arch=%2Flinux%2Fx86-64%2Fstable%2Fbinary+download

https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/

finally got it working root@ubuntuos:~# kubectl version Client Version: v1.32.0 Kustomize Version: v5.5.0 Server Version: v1.31.0

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

79358178

Date: 2025-01-15 12:23:05
Score: 1
Natty:
Report link

In my case I have to temporarily disable the password protection of My PDF file to make it successfully load into Postman.

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

79358167

Date: 2025-01-15 12:18:04
Score: 1
Natty:
Report link

I unfortunately found the answer to my issue, but it is not a satisfying one.

The option does exist, under push protections in newer versions of github Docs

The issue here is, that the enterprise solutions do not have this option in all versions. Currently only available in Github Enterprise Server 3.15+

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Branchverse

79358162

Date: 2025-01-15 12:16:02
Score: 8.5 🚩
Natty: 5.5
Report link

i have a question about aws machine learning to you. Can you help me about this problem?

If you wanna text with me:

Email: [email protected] Instagram: isa.aydn

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1.5): i have a question
  • RegEx Blacklisted phrase (3): Can you help me
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: İsa Aydın

79358153

Date: 2025-01-15 12:12:01
Score: 3
Natty:
Report link

I required to add a redirection before rendering page and none of it was working. I just added an if condition for Auth-token and returned a "Navigate/>" just after render().

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

79358143

Date: 2025-01-15 12:05:00
Score: 3.5
Natty:
Report link

Load the images at component mounting phase.

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

79358140

Date: 2025-01-15 12:02:59
Score: 0.5
Natty:
Report link

For me the solution was to remove [http] and [https] sections which had proxy URLs. It was required earlier with Pulse Secure VPN but with Zscalar it is no more required.

 [https]
    proxy = https://x.y.z.a:80
[http]
    proxy = http://x.y.z.b:80
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: kingvittu

79358139

Date: 2025-01-15 12:02:59
Score: 3.5
Natty:
Report link

This works great, however I'd like to group 2 different checkboxes together to have total restrictions. How do I do this? I'm a php novice so am tinkering around with the code to try and get it to work. Reason I ask this is due to page formatting thats all. Rather than have 1 checkbox with 10 options, ive done two columns of 5 instead.

eg 'checkbox-2' & 'checkbox-5': 5,//[field-id]:[limit]

Reasons:
  • Blacklisted phrase (1): How do I
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Damien

79358133

Date: 2025-01-15 12:00:59
Score: 3.5
Natty:
Report link

Never mind... I had made a misstake when pushing to the branch.

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

79358124

Date: 2025-01-15 11:59:58
Score: 0.5
Natty:
Report link

Finally got it working, just need this 1 command-

    ws.send(JSON.stringify({
      id: 1,
      method: 'DOM.getDocument',
      params: { depth: -1, pierce: true }
    }));

Even DOM.enable isn't needed.

The documentation for DOM.getDocument says -

Returns the root DOM node (and optionally the subtree) to the caller. Implicitly enables the DOM domain events for the current target.

I was assuming that DOM.enable was the explicit way of enabling DOM domain events, and so I kept calling it, but it looks like DOM.getDocument is special. Not sure if this is a bug or not.

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

79358122

Date: 2025-01-15 11:58:58
Score: 0.5
Natty:
Report link

MountainRiver modifies the source code to support their extensions. Mainline GCC doesn't support WCH QingKe RISC-V XW extension at the moment.

LLVM could be a good alternative. The recent clang (starting with LLVM 19.1.0) handles it nicely.

Just add the right key to the command line: "--target=riscv32 -march=rv32imac_xwchc".

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

79358121

Date: 2025-01-15 11:58:58
Score: 0.5
Natty:
Report link

You need to dynamically account for both speed and creation of the obstacle.

max_loops = int(16 / obstacle_manager.obstacle_speed)
if max_loops < 1:
    max_loops = 1

if loops >= max_loops:
    obstacle_manager.create_obstacle()
    scoreboard.score_up()
    loops = 0

obstacle_manager.move_obstacles()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Adel Alaa

79358115

Date: 2025-01-15 11:55:57
Score: 1
Natty:
Report link

For those that land on this question even 9 years after it was posted, to see the request rate in real time and on a graph:

Open Performance Monitor, click Performance Monitor, then click the green + icon. On the list on the top left, scroll until you see Web Service, then click Total Method Requests/sec. Click Add >> to move it to the added counters list, then click OK. Other graphs will show on there, but you can hide them.

To change the amount of time shown on the graph, right-click it, click Properties... and click General. Change the duration (max: sample rate * 1000) to how long you like, and maybe the sample rate if the duration exceeds the limit.

It will not automatically save, so you will have to go back and add it every time.

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

79358112

Date: 2025-01-15 11:55:57
Score: 2.5
Natty:
Report link

An update for new versions. This is a script that looks for the latest version of chromedriver, downloads it to the current directory, and deletes the downloaded zip files.

https://github.com/Ismola/linux-chromedriver-updater

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ismael Treviño

79358111

Date: 2025-01-15 11:54:57
Score: 1
Natty:
Report link

Increasing timeout up to 1 min helped me:

  spring:
    mvc:
      async:
        request-timeout: 60000

Note: Value -1 does not work for disabling timeout for spring-boot 3.4.1 !!!

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

79358095

Date: 2025-01-15 11:49:56
Score: 1
Natty:
Report link

For spring boot 3 need set recordsStats() to CacheManager

  CaffeineCacheManager cacheManager = new CaffeineCacheManager("cache");
    cacheManager.setCaffeine(Caffeine.newBuilder().recordStats());
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Алексей Тихонов

79358087

Date: 2025-01-15 11:46:55
Score: 2.5
Natty:
Report link

Use updated apache version

httpd-2.4.55-win64-VC16 httpd-2.4.58-win64-VS17

You can download the latest Apache version from here: Link

For more information, read this: Link

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

79358083

Date: 2025-01-15 11:45:55
Score: 2
Natty:
Report link

d=[]

for i in range(int(input()):

    d.append(int(input())

if len(d)%2==1:

    print(d[(len(d)+1)/2)

else:

    print((d[len(d)/2]+d[len(d)/2+1])/2)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Asim Ahmed

79358082

Date: 2025-01-15 11:45:55
Score: 3
Natty:
Report link

The solution is - yyyy must be in lowercase

https://support.pega.com/discussion/do-not-use-yyyy-uppercase-java-date-formatting

Reasons:
  • Whitelisted phrase (-1): solution is
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Altiy Zemlytskiy

79358070

Date: 2025-01-15 11:41:54
Score: 2.5
Natty:
Report link

I think the above solution is not Apt. The Link shared does not suite to the requirement. That link requires Windows Authentication. There is no LDAP authentication we can add to the SQL server Authentication.

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

79358067

Date: 2025-01-15 11:40:53
Score: 4
Natty:
Report link

I’m building a gun page and have successfully set up a chip like this: -One main image.

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

79358061

Date: 2025-01-15 11:38:52
Score: 4
Natty:
Report link

Your question about geotools librairy is incomprehensible.

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

79358055

Date: 2025-01-15 11:37:52
Score: 0.5
Natty:
Report link

After all other solutions still brought the warning, I moved the Docker.app from the downloaded DMG to Desktop, waited for the extraction completion and then moved it from there to the Applications-Folder. Now everything works.

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

79358048

Date: 2025-01-15 11:34:51
Score: 3.5
Natty:
Report link

in the beEF car there is a fix that execute a fake flash update with a Gray background and an image for flash update.

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

79358044

Date: 2025-01-15 11:32:50
Score: 4.5
Natty:
Report link

I don't think that popover is a way to go in your case, since it's purpose is different. Maybe tooltip component would work better? https://valor-software.com/ngx-bootstrap/old/8.0.0/#/components/tooltip?tab=overview

Reasons:
  • Whitelisted phrase (-1): in your case
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Alex Umanskiy

79358038

Date: 2025-01-15 11:31:50
Score: 3.5
Natty:
Report link

Deep is having this classical bear compilation error saying that I am neglecting the const property of an object.

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

79358028

Date: 2025-01-15 11:29:50
Score: 3.5
Natty:
Report link

It may be due to the List passed as a parameter: cast it like this WHERE l.id IN (CAST(ENCODE(:locationIds, 'hex') AS UUID))

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

79358027

Date: 2025-01-15 11:29:50
Score: 3.5
Natty:
Report link

I have a cell that I'd like to extrude and bend, following a gap of steps like: extrude 10mm, bend 30 deg, extrude 20mm, etc.

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

79358023

Date: 2025-01-15 11:28:49
Score: 1.5
Natty:
Report link

One thing to be careful of when using RAII is the size of what is being created, because it's created on the stack, and the stack typically has far less memory available than the heap.

If you're not sure what the size of something is, you might be better not using RAII and creating your object on the heap, being careful to destroy it.

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

79358019

Date: 2025-01-15 11:27:49
Score: 1.5
Natty:
Report link

2 things i would like to point out. Your zip package is way too big for this function, you should use .funcignore file to not send not necessary files (like .venv etc..) to azure. AzureWebJobsStorage is empty string, it might be problem as far as I know it requires for most of functions.

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

79358016

Date: 2025-01-15 11:26:48
Score: 1
Natty:
Report link

A colleague of mine pointed me to Scala documentation over here. The working Scala code then becomes

.withColumn("next_tbl_rn", lead($"tbl_rn", 1, null, true).over(Window.orderBy($"rn")))

in which the fourth argument does the trick.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: M.S.Visser

79358009

Date: 2025-01-15 11:25:48
Score: 1
Natty:
Report link

A virtual property encapsulating another virtual property? I think you are overengineering it. There's no good reason for backing field to be a virtual property. If someone wants to override the behavior, they already can by overriding Name. Just make it a field. It can even be a private field. You access it via base.Name.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: jaros

79358001

Date: 2025-01-15 11:22:47
Score: 2
Natty:
Report link

System.Management pose vraiment un problème. Il y a une quantité de versions. En compilant sous Net8.0-windows, dans le dossier de sortie il y a un dossier Runtimes/win/lib/Net8.0 avec les dll qui fonctionnent sous Net8.0. J'utilise celles-ci pour que cela fonctionne.

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

79358000

Date: 2025-01-15 11:22:47
Score: 2.5
Natty:
Report link

There is no permanently activation of the boarder line as I know. But you can set the color of it. For example with: "sash.hoverBorder": "#8db08e"

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

79357991

Date: 2025-01-15 11:18:46
Score: 2.5
Natty:
Report link

Another tiny thing to confirm is that you need to open a file that is about database entity to see the plugin shown in the sidebar.

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

79357990

Date: 2025-01-15 11:18:46
Score: 2
Natty:
Report link

For latest Next.js developers, please check if you have another file named favicon.ico in your public folder. If you do, removing it can solve this issue.

Hekmat's answer works for some scenarios but not for me. Before I rename the favicon.ico to icon.ico, I got this: enter image description here

And after rename: enter image description here

Although we don't have 500 error now but we also don't have the 200 log, which means Next.js doesn't request for the favicon.ico, not request it successfully.

And I am using Next.js 15 so I re-check my public folder, actually I copied another favicon.ico into the public folder by mistake, and that's the reason why I am receiving the 500 error.

After removing the favicon.ico in public folder without rename the app/favicon.ico to app/icon.ico: enter image description here

Reasons:
  • RegEx Blacklisted phrase (1): I am receiving the 500 error
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: LikeDreamwalker

79357988

Date: 2025-01-15 11:17:46
Score: 1
Natty:
Report link

Big thanks to @Botje, I have managed to make GLAD a SHARED lib (.dll) with this cmake:

cmake_minimum_required(VERSION 3.24.0)
project(ExternalGraphicsLibs)

set(CMAKE_BUILD_PARALLEL_LEVEL)
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# Find and configure OpenGL
find_package(OpenGL REQUIRED)

# GLFW options
set(GLFW_BUILD_DOCS OFF CACHE BOOL "Disable GLFW docs" FORCE)
set(GLFW_BUILD_TESTS OFF CACHE BOOL "Disable GLFW tests" FORCE)
set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "Disable GLFW examples" FORCE)
set(GLFW_INSTALL OFF CACHE BOOL "Disable GLFW install" FORCE)

# Add GLFW source code
add_subdirectory(glfw)

# Add GLAD source code
add_library(${PROJECT_NAME} 
    SHARED 
        ${CMAKE_CURRENT_SOURCE_DIR}/glad/src/gl.c
)

# Define GLM_DLL_EXPORT for exporting symbols
target_compile_definitions(${PROJECT_NAME} 
    PRIVATE 
        GLAD_API_CALL_EXPORT_BUILD
    PUBLIC 
        GLAD_API_CALL_EXPORT
)

target_include_directories(${PROJECT_NAME} 
    PUBLIC
        glfw/include
        glad/include
        glm/
        ${OPENGL_INCLUDE_DIRS}
)

target_link_libraries(${PROJECT_NAME} 
    PUBLIC
        glfw
        ${OPENGL_LIBRARIES}
)

P.S. note that ExternalGraphicsLibs subproject has GLFW and GLM directories in the same path as GLAD.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Botje
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: artas2357

79357985

Date: 2025-01-15 11:17:46
Score: 2.5
Natty:
Report link

How about this:make these classes inherit from an intermediate base class, Base2, which itself inherits from the original Base. This way, you can achieve the same effect by checking whether Base* p can be converted to Base2*.This also aligns with the concept of inheritance, as these classes do share specific common traits.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How
  • Low reputation (1):
Posted by: sheldon5

79357981

Date: 2025-01-15 11:16:45
Score: 4.5
Natty: 5.5
Report link

This answer is now totally obsolete because of this https://cwiki.apache.org/confluence/display/KAFKA/KIP-919%3A+Allow+AdminClient+to+Talk+Directly+with+the+KRaft+Controller+Quorum+and+add+Controller+Registration

FYI.

Regards.

Reasons:
  • Blacklisted phrase (1): Regards
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: musmil

79357973

Date: 2025-01-15 11:15:44
Score: 0.5
Natty:
Report link

$(window).resize(function(){
  var windowWidth = $(window).width();
  var imgSrc = $('#image');
  if(windowWidth <= 400){           
    imgSrc.attr('src','http://cdn.sstatic.net/Sites/stackoverflow/company/img/logos/so/so-icon.png?v=c78bd457575a');
  }
  else if(windowWidth > 400){
    imgSrc.attr('src','https://i.sstatic.net/oURrw.png');
  }
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div id="image-container">
  <img id="image" src="http://cdn.sstatic.net/Sites/stackoverflow/company/img/logos/so/so-icon.png?v=c78bd457575a" alt=""/>
</div>

position: relative;

width: 200vw;

height:

100vh;

overflow: hidden;

background: #E08183;

background-size: 30%;

overflow: hidden;

rent position: relative;

width: 200vw;

height:

100vh;

overflow: hidden;

background: #E08183;

background-size: 30%;

overflow: hidden; position: relative;

width: 200vw;

height:

100vh;

overflow: hidden;

background: #E08183;

background-size: 30%;

overflow: hidden;

rent

tab_index=emphasized text rent

tab_index= tab_index=

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

79357969

Date: 2025-01-15 11:13:44
Score: 1
Natty:
Report link

Even if there is a way to drop the connection, without any HTTP reply, this will not bring much, because the network handshake should be already completed in advance and this will anyway reveal the existance of the server. If it is to drop the connection and leave the other party waiting for response and using resources for reply that will not appear, this also will not bring much, because the current bots are multi threaded and even bot nets with internal balancers.

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

79357963

Date: 2025-01-15 11:11:42
Score: 12 🚩
Natty:
Report link

I have the same problem, did you found the solution?

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

79357959

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

You index using the symbol to get the vector:

q)t:([] A_1:1 4 7;A_2:2 5 8;A_3:3 6 9)
q)x:1
q)t`A_1
1 4 7
q)t`$"A_",string x
1 4 7

https://code.kx.com/q/kb/faq/#column-indexing

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

79357952

Date: 2025-01-15 11:07:40
Score: 1.5
Natty:
Report link

Unfortunately, Pure customer encryption is not supported as of now.

As of now only the the combination of a Snowflake-maintained key and a customer-managed key is supported which is trisecret.

If the customer-managed key in the composite master key hierarchy is revoked, your data can no longer be decrypted by Snowflake.

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

79357948

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

It seems like your CategoryController@update method isn't being executed. it could be due to a route mismatch or middleware or authorization issues. Could you paste your route file?

You also need to enable error debugging in your .env file by setting APP_DEBUG=true

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Motunrayo Koyejo

79357942

Date: 2025-01-15 11:05:40
Score: 1.5
Natty:
Report link

When going over the chaper where validation is set, you also add an argument Error error to your controller methods. Pay attention that error is immediately following your @Valid argument as in the example below. I placed it at first at the end of my args and kept receiving the Whitelable error.

Explanation: Spring matches the injected Errors arg with the preceding @Valid object. If the Errors arg isn’t directly after the @Valid arg, Spring won’t know which object the validation results belong to.

 @PostMapping
public String processTaco(**@Valid Taco taco,  Errors errors,** @ModelAttribute TacoOrder tacoOrder) {
    if(errors.hasErrors()) {
        return "design";
    }

    tacoOrder.addTaco(taco);
    log.info("Processing taco: {}", taco);
    return "redirect:/orders/current";
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Valid
  • User mentioned (0): @Valid
  • User mentioned (0): @Valid
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: lupudeni

79357940

Date: 2025-01-15 11:04:40
Score: 1
Natty:
Report link

A difficulty to answer is that there is only an image joint to the question. Data of the points lying on the border between the black area and the white area is difficult to obtain from scanning.

Your "fitted ellipse" (red curve on your joint image) seems with vetical axis. This supposes that your model equation if of this kind (Four parameters only) :

enter image description here

In fact the elipse appears slightly inclined. Thus the fitting is better in using the general equation of elliptic curve ( Five parameters ) :

enter image description here

enter image description here

Small deviation remain at low values of y, close to the staight part not drawn on the figure. The cause is probably that the "elliptic" part is not realy elliptic. May be it is a segment of inclined "fish curve" or even more general a quartic curve (14 parameters).

https://mathworld.wolfram.com/FishCurve.html

https://mathworld.wolfram.com/QuarticCurve.html

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
Posted by: JJacquelin

79357934

Date: 2025-01-15 11:03:38
Score: 8 🚩
Natty: 6.5
Report link

@Coder14 could you please share your full csproj file.

Reasons:
  • RegEx Blacklisted phrase (2.5): could you please share your
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Coder14
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: bawarim

79357932

Date: 2025-01-15 11:02:37
Score: 4.5
Natty: 4
Report link

You need to have a paid plan for that. You can refer to this https://api.slack.com/developer-program/sandboxes.

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

79357927

Date: 2025-01-15 11:01:37
Score: 1.5
Natty:
Report link

It is not intended to change objects names in BIRT.

What would be the purpose of renaming BIRT objects?

The names are used internally only, just like the IDs. In case of names in *.rptlibrary, the names are also used to reference the items in reports or other libraries.

BTW dropping objects also seems exotic. Shouldn't using a visibility expression suffice?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: hvb

79357925

Date: 2025-01-15 10:59:36
Score: 1.5
Natty:
Report link

You can remove the junk entry from the Intellisense configuration via editing the corresponding JSON file and reloading the project thereafter. The Intellisense configuration is normally located in .vscode/c_cpp_properties.json. Alternatively check the global Intellisense configuration JSON file at %APPDATA%/Code/User/.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: borealis-c

79357921

Date: 2025-01-15 10:57:35
Score: 0.5
Natty:
Report link

PowerVR have open source drivers: https://developer.imaginationtech.com/solutions/open-source-gpu-driver/

but basically, yes convert the API calls into HW specific state and convert shaders to HW cpecific instructions.

For APIs like D3D up to DX11, the API tries to tell the driver everything it can about what it wants to achieve and then the driver translates that into whatever is best for the HW.

For something like Vulkan, the API tries to tell the HW what it has to do, leaving it much less room to do things in the best way for the HW although this does mean that the driver has much less work do.

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

79357918

Date: 2025-01-15 10:55:34
Score: 4
Natty:
Report link

There are some examples on github page, you can check them here https://github.com/arduino-libraries/ArduinoBearSSL/tree/master/examples

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

79357911

Date: 2025-01-15 10:52:33
Score: 1.5
Natty:
Report link

It looks like "pydantic_core" is platform-specific. So, if you are building/packaging on macos and running on AWS arm64 for example, that will not work.

Try building/packaging lambda in the container and choose the build image that matches Lambda environonment.

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

79357910

Date: 2025-01-15 10:52:33
Score: 1
Natty:
Report link

It only worked with me when I wrote package at first and added --user

pip install <package-name> --user --trusted-host=pypi.python.org --trusted-host=pypi.org --trusted-host=files.pythonhosted.org
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Carol

79357905

Date: 2025-01-15 10:50:33
Score: 1
Natty:
Report link

var DestCell = "C" & String(22 + (i * 4) );

I see this as a javascript code, and in javascript for string concat, '+' is used. Where you have used '&'.

Update it to :

var DestCell = "C" + String(22 + (i * 4) );

And debug or console log DestCell to ensure you have the expected value.

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

79357888

Date: 2025-01-15 10:48:32
Score: 1.5
Natty:
Report link

I’ve experienced the exact same issue since this post was created. However, when I tested it again today, the AI Foundry worked as expected without any issues.

I recommend rechecking your flows to see if the problem has been resolved on your end as well. It’s possible that a recent update or fix may have addressed the issue.

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

79357887

Date: 2025-01-15 10:48:32
Score: 1.5
Natty:
Report link

you can annotate the method with this:

@EventListener(ContextRefreshedEvent.class)
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ali BOUHLEL

79357884

Date: 2025-01-15 10:47:32
Score: 3
Natty:
Report link

Even I'm seeing the same issue. But I have not used string in ID

    {
  "users": [
    {
      "id": 1,
      "name": "Sudhanshu",
      "age": 30,
      "email": "[email protected]"
    },
    {
      "id": 2,
      "name": "Varun",
      "age": 26,
      "email": "[email protected]"
    }
  ]
}

Body-

{
    "name": "abc",
    "age": 20,
    "email": "[email protected]"
}

Output-

{
"id": "51fd",
"name": "abc",
"age": 20,
"email": "[email protected]"

}

Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): I'm seeing the same issue
  • Low reputation (1):
Posted by: Sudhanshu Shekhar

79357881

Date: 2025-01-15 10:46:32
Score: 1
Natty:
Report link

This feature is called Sticky scroll. You can disable it in the Options > Text Editor > General:

enter image description here

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

79357880

Date: 2025-01-15 10:46:32
Score: 3
Natty:
Report link

Yes, you need to create discovery endpoint for the authorization server as well. See more details here: https://learn.microsoft.com/en-us/entra/identity/authentication/concept-authentication-external-method-provider#discovery-of-provider-metadata

There are more details on how to set up external authentication provider, including what endpoint it should implement (not only discovery endpoint, but also keys endpoint)

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

79357878

Date: 2025-01-15 10:45:31
Score: 4
Natty:
Report link

964326

Global

Blockquote


enter link descriptions here

1: https://Shivam game [ My love 😽 hdi

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

79357876

Date: 2025-01-15 10:43:30
Score: 4.5
Natty: 5
Report link

I don't have enough reputation to comment but after doing what Ziyang-Liu said it worked. It takes a while to see the 2 of them running

Reasons:
  • Blacklisted phrase (1): to comment
  • Whitelisted phrase (-1): it worked
  • RegEx Blacklisted phrase (1.5): I don't have enough reputation to comment
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Marc Garcia Rodriguez

79357858

Date: 2025-01-15 10:37:28
Score: 0.5
Natty:
Report link

Objects like stored procedures are "only available when the source and destination are different servers" [1].

What "at first blush" seems obvious is however with historical hindsight "a wrong turn".

What follows is my personal perspective and experience from following SQL Server's development since 1998.

Commands were much more prevalent historically and this new approach to use context menus were not a the foremind of programmers. CLI was The Thing originally.

Over the years Microsoft added the Copy Database Wizard, however the commands Backup and Restore were always there. And the best way to copy a whole database.

Where this fails is when only parts of a database need to be copied or just the data as safety copy. Primarily these requirements became the SSIS driven "Copy Database Wizard".

Source / References:

[1] https://learn.microsoft.com/en-us/sql/relational-databases/databases/use-the-copy-database-wizard?view=sql-server-ver16

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

79357850

Date: 2025-01-15 10:34:27
Score: 2
Natty:
Report link

I found out that putting them in the appropriate Resolution-aware image assets folder makes the loading instantaneous.

Although the image size in my case is 7mb. you can find the docs for it here: https://docs.flutter.dev/ui/assets/assets-and-images#resolution-aware

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

79357843

Date: 2025-01-15 10:31:25
Score: 8 🚩
Natty: 5.5
Report link

Did you ever solve this? I have just come to the same problem with the much superior 'Material-Table' to Datagrdid now being unsupported.

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever solve this
  • RegEx Blacklisted phrase (1.5): solve this?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (0.5):
Posted by: kevmull

79357837

Date: 2025-01-15 10:29:24
Score: 1
Natty:
Report link

In my case I had other Gradle version downloaded in project/android/.gradle/{version_number} so I deleted other versions different from the one I had in project/android/gradle/gradle-wrapper.properties

distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip

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

79357824

Date: 2025-01-15 10:26:23
Score: 1.5
Natty:
Report link

It's common practice to prevent security issues, if some third party possibly get your auth token they will be able to use your account permanently. Logout after sometime (in most cases it 1-2 weeks) will help in this case, because their stoled token will not be valid. So, you just need to try authorize again after getting Unauthorized exception, and if error is repeated then throw it to user.

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

79357822

Date: 2025-01-15 10:25:23
Score: 2.5
Natty:
Report link

The last version before version 5, which worked for me, was protobuf==4.25.5

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

79357815

Date: 2025-01-15 10:24:22
Score: 1
Natty:
Report link

while i can't directly give you the solution but you can try to find the exception or error messages from linux app service using one of the below methods:

  1. go to web app -> monitoring -> log stream, see if the console providing an error output.

enter image description here

  1. install VS Code, install azure app service extension. sign in your azure account, browse to your linux web app, finally try to access raw system log as shown in the screenshot. I found I have more success rate finding raw exception this way.

enter image description here

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

79357813

Date: 2025-01-15 10:24:22
Score: 1
Natty:
Report link

You can implement the logic inside the interface as default implementation. Thus, avoid duplicating it. Refer to https://www.baeldung.com/java-static-default-methods#why-interfaces-need-default-methods for more details.

e.g.

public interface Handler  {
 default Container createComponents(ar1, arg2, arg3) {
  // logic here
 }
}

public class DefaultHandler implements Handler {
}

@ViewScoped
public class SpecificHandler extends DefaultHandler {
}
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Arno

79357809

Date: 2025-01-15 10:22:22
Score: 1
Natty:
Report link

At the cost of a slight performance hit and some extra memory usage, you could go for something like

errorBuilder.Append($"{"Duplicated ID"},{"Invalid cost"},{"Unsupported Service for account"}");

in the interpolated string ($"") you can insert any variables with {} more info on performance and memory usage:

https://blog.ladeak.net/posts/string-interpolation-stringbuilder#:~:text=StringBuilder%20is%20used%20to%20append,the%20appended%20string%20to%20Builder.

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Stijn De Cat

79357802

Date: 2025-01-15 10:19:21
Score: 3.5
Natty:
Report link

Okay, I just need to add Rider to Developer tools to avoid security checks. Solved!

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

79357793

Date: 2025-01-15 10:16:21
Score: 0.5
Natty:
Report link

The issue lies in how TypeScript and JSDoc interact. Specifically, in JSDoc, expressing that this method should be a specific object like foo can be tricky, but it’s possible. To fix this issue and achieve proper IntelliSense and type inference, explicitly define the @this annotation using the exact object type.

Here’s how you can fix your code:

Solution

/**
 * @typedef {Object} Foo
 * @property {string[]} bar
 * @property {Baz} baz
 */

/**
 * @typedef {Object} Baz
 * @property {function(this: Foo, string): number} bing
 */

const foo = {
    /** @type {string[]} */
    bar: [],
    /** @type {Baz} */
    baz: {
        /**
         * @param {string} x
         * @returns {number}
         * @this {Foo}
         */
        bing(x) {
            this.bar.push(x);
            return 42;
        }
    }
};

// methods are invoked like so:
const method = "bing";
foo.baz[method].call(foo, "blah");

Explanation:

  1. Define a @typedef for Foo: This defines the type of the foo object. It specifies that foo has a bar property (an array of strings) and a baz property of type Baz.
  2. Define a @typedef for Baz: This describes the shape of the baz property, including the bing method, which is explicitly annotated to use this: Foo.
  3. Add @this {Foo} in bing: This ensures that the this context of the bing method is typed as Foo.

If you were to use @type {typeof foo}, IntelliSense often struggles because typeof foo cannot be fully resolved in the JSDoc context. Explicitly defining Foo and Baz gives TypeScript the clarity it needs

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @this
  • Low reputation (1):
Posted by: masoud khorshidi

79357785

Date: 2025-01-15 10:14:21
Score: 1.5
Natty:
Report link

To fix this, I added this style and my problem was solved

::ng-deep .mat-tab-list {
  width: 100%;
}

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

79357780

Date: 2025-01-15 10:13:20
Score: 5.5
Natty: 5.5
Report link

Rectangles of ALL sizes (including those which may be considered squares) must be counted. I am still counting and I have at least 60. Any correct answers?

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

79357774

Date: 2025-01-15 10:10:19
Score: 3.5
Natty:
Report link

After spending considerable time investigating this issue, I was unable to pinpoint the exact cause of the random data loss in Redis running on Azure Container Instances (ACI), even after trying different configurations of redis.conf. The problem persisted, and I couldn't achieve the stability needed for my use case.

To address this and make progress, I decided to deploy Redis on an Azure Virtual Machine (VM) within a private VNet (using terraform). This approach proved to be stable, and I was able to maintain a reliable Redis database. I chose this solution for two main reasons:

  1. Cost Efficiency: Running Redis on an Azure VM allowed better cost control compared to other managed solutions.
  2. Flexibility: It gave me full control to configure and manage the infrastructure according to my needs.

That said, for scenarios where quick deployment and minimal development effort are priorities, Azure Redis Cache could be a viable alternative. It offers a managed Redis service with built-in reliability and persistence, making it ideal for use cases that require minimal infrastructure management.

This solution might help others facing similar issues or looking for a balance between cost, control, and ease of use.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): facing similar issue
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: MFatn

79357771

Date: 2025-01-15 10:10:19
Score: 2
Natty:
Report link

Sometimes, it's just a service issue on GitHub side.

So don't forget to check this dashboard out to see if anything has been posted there.

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

79357761

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

The only thing that helped me was "View" -> Open in "NbClassic" (see last option in the image) View options in Jupyter

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

79357752

Date: 2025-01-15 10:03:17
Score: 0.5
Natty:
Report link

It looks like you need a full outer join on Date and Name. The full outer join ensures that in your result you will also get Dates and Names that are only present in Table1 or Table2.

SELECT *
FROM Table1
FULL OUTER JOIN Table2
ON Table1.Date = Table2.Date AND Table1.Name = Table2.Name
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Bending Rodriguez

79357745

Date: 2025-01-15 09:59:15
Score: 4.5
Natty: 5
Report link

check this new package this helped me alot https://www.npmjs.com/package/vue-dynamic-localization?activeTab=readme

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

79357732

Date: 2025-01-15 09:55:14
Score: 3.5
Natty:
Report link

Solution from siggermannen, thanks! If I use Alter View, then it does not remove collate part.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Gyula Kulifai

79357723

Date: 2025-01-15 09:52:13
Score: 1
Natty:
Report link

Might be too late for this to be relevant for the OP but for anyone googling this it is to do with transaction vs tuple context.

"Although tuples are a lockable type of object, information about row-level locks is stored on disk, not in memory, and therefore row-level locks normally do not appear in this view. If a process is waiting for a row-level lock, it will usually appear in the view as waiting for the permanent transaction ID of the current holder of that row lock."

from https://www.postgresql.org/docs/17/view-pg-locks.html

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

79357718

Date: 2025-01-15 09:51:12
Score: 10
Natty: 7.5
Report link

@BlzFans Have to done that?? can u give me step by step guidance?

Reasons:
  • RegEx Blacklisted phrase (2.5): can u give me
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @BlzFans
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Gowtham Ram K

79357704

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

use :

npx localtunnel --port 8000

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tadele Kelayu

79357701

Date: 2025-01-15 09:44:10
Score: 2
Natty:
Report link

I encountered the same issue where the file would not respond when executed even after permissions were granted, and it could be run in the terminal. Later, I found out it was due to the file not being trusted. Please execute the following command to trust your file.

gio set file/path metadata::trusted true

I hope this solves your problem.

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

79357700

Date: 2025-01-15 09:43:10
Score: 0.5
Natty:
Report link

You can configure a custom email provider by handling the OTP Send event using your own API.

For more information, see Configure a custom email provider for one time passcode send events (preview).

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

79357696

Date: 2025-01-15 09:42:10
Score: 2
Natty:
Report link
UIImage(systemName: "faceid")
UIImage(systemName: "touchid")
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Low reputation (0.5):
Posted by: matsotaa

79357683

Date: 2025-01-15 09:38:07
Score: 6 🚩
Natty:
Report link

How do you Access the EnemyInteractions class? Like @BugFinder mentioned, yo have the wron instance. So it would help to know how you access the instance.

Reasons:
  • Blacklisted phrase (1): How do you
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @BugFinder
  • Single line (0.5):
  • Starts with a question (0.5): How do you
  • Low reputation (1):
Posted by: Julius Weber

79357681

Date: 2025-01-15 09:38:07
Score: 2
Natty:
Report link

I have checked line endings and they are all LF but I spotted that the working docker file was as ASCII text and the non working ones were in Unicode UTF-8 when I changed them to ASCII encoding it started to work OK.

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

79357673

Date: 2025-01-15 09:35:07
Score: 0.5
Natty:
Report link

If non of the solutions above worked for you, here it is:

Define the MYSQL_CLIENT_FLAGS constant before

require_once(ABSPATH . 'wp-settings.php');

And defining will be

define('MYSQL_CLIENT_FLAGS', MYSQLI_CLIENT_SSL);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: utkuyceng

79357662

Date: 2025-01-15 09:33:06
Score: 2
Natty:
Report link

Here's how you can properly attach the ThrottleMiddleware with parameters

use GrahamCampbell\Throttle\Http\Middleware\ThrottleMiddleware;

Route::get('summary/{topicid}/{issueid}', [App\Http\Controllers\SummaryController::class, 'show']) ->middleware([ThrottleMiddleware::class . ':10,30']);

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Imam Hosen Emon

79357661

Date: 2025-01-15 09:32:04
Score: 8 🚩
Natty:
Report link

and what if I want to see a text if that particular category is not present, for example "category does not contain products"

I'm trying to do something similar, I have a list that I want to divide into different categories, I created the tab to navigate the various categories, and I used this code to filter the categories, only I would like to see a text where there are no products in the category, the category does not contain products, but for now I have not yet managed to do it, can anyone help me?

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): can anyone help me
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Marco

79357660

Date: 2025-01-15 09:32:04
Score: 2
Natty:
Report link

h=int(input())

f=[]
for e in range(h):
    f.append(int(input())
if f%2==0:
    print((e[f/2]+e[f/2+1])/2)
else:
    print(e[(f+1)/2])
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Pin Side

79357658

Date: 2025-01-15 09:31:03
Score: 0.5
Natty:
Report link

In actual versions you can find this settings in

File > Settings > Editor > General > PHP > Smart Keys

Check "Select variable name without '$' sign on double click" It's done

PHPStorm PHP samrt keys settings

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

79357650

Date: 2025-01-15 09:29:03
Score: 1
Natty:
Report link

This statement updates your column to the first 22 characters of its content.

UPDATE SampleTable
SET SampleField = LEFT(SampleField, 22)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Bending Rodriguez