79636654

Date: 2025-05-24 10:19:33
Score: 1
Natty:
Report link

Apply This flex layout style

 table {
     width: 100%;
 }
 tr{
     display: flex;
     flex-direction: row;
     justify-content: space-evenly;
     text-align: center;
 }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: shady

79636649

Date: 2025-05-24 10:09:31
Score: 0.5
Natty:
Report link

This is to do with the way Csharp handles reference types when passed through a function interface - this article will hopefully explain it : https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/method-parameters

The relevant part is :

For reference (class) types, a copy of the reference is passed to the method. Parameter modifiers enable you to pass arguments by reference.

So a copy of the reference is given to the list. If you don't reassign point, both copies of the reference are aligned and pointing to the same object. When you reassign point, the reference of the resassigned one changes, but the copy (within the list) doesn't, hence it not reflecting the change.

Reasons:
  • Blacklisted phrase (1): this article
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Nick Pattman

79636639

Date: 2025-05-24 10:01:28
Score: 11.5 🚩
Natty: 5.5
Report link

Did you get a solution? I am facing the same issue right now?

Reasons:
  • RegEx Blacklisted phrase (3): Did you get a solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Enisco

79636620

Date: 2025-05-24 09:32:21
Score: 2
Natty:
Report link

I am upgrading the spring cloud version to 2024.0.1 and spring boot version to 3.4.5. i was able to configure **earlier **the SSL certificate and all by below code works

@FeignClient(name = "feign1", url = "//", configuration = A.class)
public interface AddressClient {

    @GetMapping("/address/{id}")
    public ResponseEntity<AddressResponse> getAddressByEmployeeId(@PathVariable("id") int id);

}
}

@Configuration
public Class A
{
@Bean
public Client feignClient() throws Exception {
    log.info("Configuring SSL Context for Feign Client");
    return new Client.Default(createSSLContext(), SSLConnectionSocketFactory.getDefaultHostnameVerifier());
}

but now its started giving error as Failed to instantiate [feign.Client] i am not getting it what changes has been made. so i remove @Configuration from Class A so no issue aise

So if i want the @Configuration annotation what additional dependency/code need to write. please assist.

Reasons:
  • RegEx Blacklisted phrase (1): i want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Configuration
  • Low reputation (1):
Posted by: Anup V

79636608

Date: 2025-05-24 09:21:18
Score: 5
Natty:
Report link

Web for more details: https://instrid.sk/

Article: https://instrid.sk/vino/

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Lukáš Fabian

79636605

Date: 2025-05-24 09:15:16
Score: 2
Natty:
Report link

At the end I found the error, the component was inherited from page not from ContentView.

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

79636597

Date: 2025-05-24 09:09:15
Score: 2.5
Natty:
Report link

RFC 2045 says a message body can have one Content-Type per entity, i.e. except multipart or types like `image/svg+xml`.

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

79636595

Date: 2025-05-24 09:06:14
Score: 1.5
Natty:
Report link

ich habe seit gestern den selben Fehler gehabt. Ich habe mit ChatGPT herausgefunden, dass das Skript welches ich lade ein anderes venv verwendet als ich dachte. ChatGPT konnte mit dem Inhalt des Skripts welches den Fehler schmeißt herausfinden in welches venv die Pakete installiert werden mussten und jetzt habe ich den Fehler nicht mehr. In meinem individuellen Problem war es der:
'./installer_files/env/bin/pip install python-docx' Befehl, der es am Ende richtig installiert hat.

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

79636593

Date: 2025-05-24 09:05:14
Score: 0.5
Natty:
Report link

debugPrint

Purpose: Designed for simple, throttled console output, especially to avoid log loss on Android when printing many lines quickly.

Best Use: Quick debugging messages, especially when output volume is high.

Limitations: No log levels, categories, or structured data. Not ideal for advanced logging needs.

developer.log()

Purpose: Advanced logging with support for log levels, categories, and structured data.

Best Use: When you need to:

Limitations: No output throttling, so very frequent logs could be dropped by the system on some platforms.

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

79636590

Date: 2025-05-24 09:01:13
Score: 2.5
Natty:
Report link

Learn from:Generate Function with Vector Input Arguments

X = sym('X', [3, 3])
F=det(X)+X(1,1)

func = matlabFunction(F,"Vars",{X})

func(rand(3))
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Start-4

79636587

Date: 2025-05-24 08:58:12
Score: 2.5
Natty:
Report link

To debug the application we need argument values and we can set the values to arguments directly in debug screen.

Then by debugging you can check if the correct values, formats etc handled.

enter image description here

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

79636586

Date: 2025-05-24 08:57:11
Score: 2
Natty:
Report link

I experienced the same issue running Arch Linux, turned out that this is caused by nvidia-container-toolkit 1.17.7-1. Downgrading to libnvidia-container-1.17.6-1 and nvidia-container-toolkit-1.17.6-1 solved the issue. See also this issue on Github: link

The way i downgraded these packages was by using the downgrade package (yay -S downgrade): sudo downgrade nvidia-container-toolkit libnvidia-container.

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

79636575

Date: 2025-05-24 08:48:09
Score: 0.5
Natty:
Report link

2025 Swift 6.2

You can also use String(describing: )

For instance:

This:

Self.logger.debug("*** Chat Message Sent ***\n\n\(chatMessage)\n")`

Becomes this:

Self.logger.debug("*** Chat Message Sent ***\n\n\(String(describing: chatMessage))\n")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Christopher

79636573

Date: 2025-05-24 08:44:08
Score: 2.5
Natty:
Report link

This is how to make the text_editor grow to fill the empty space:

text_editor(&self.log).height(iced::Length::Fill)

enter image description here

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

79636570

Date: 2025-05-24 08:41:08
Score: 3.5
Natty:
Report link

Run your terminal with user administrator, and try it again. it's work

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

79636561

Date: 2025-05-24 08:32:05
Score: 3
Natty:
Report link

The answer from @RokoC.Buljan about WAAPI Works great for animation where we don't care about reversing from in between and then the comment specifies taking the progress of the animation and then interpolating the new value. Thanks for the motivation.

After testing different stuff I came up with this solution that makes the animation similar to the CSS Transitions' animation. Below is the Code with explanation in comments:

<div class="container">
  <div class="box"></div>
  <button class="button">Click Me</button>
</div>
* {
  box-sizing: border-box;
  margin: 0;
}

body {
  overflow: hidden;
}

.container {
  background-color: black;
  display: flex;
  gap: 1.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.button {
  background-color: #33b864;
  border: none;
  padding-inline: 2rem;
  padding-block: 1rem;
  scale: 1;
  box-shadow: 0 0 0 0 #00000060;
  transition: scale 100ms ease-in, box-shadow 100ms ease-in;
}
.button:hover {
  scale: 1.05;
  box-shadow: 0 0 3px 1px #00000060;
}
.button:touch {
  scale: 2;
}
.button:active {
  scale: 0.9;
}

/* Code that matters  */
.box {
  background-color: blue;
  border: 2px solid red;
  aspect-ratio: 1;
  width: 200px;
}






/* .box-hover {
  border: 6px solid green;
  width: 250px;
  background-color: purple;
} */
// Getting everything
const button = document.querySelector('.button');
const box = document.querySelector('.box');

// Keyframes
const keyframes = [
  { border: '2px solid red', width: '200px', backgroundColor: 'blue', offset: 0 },
  { border: '6px solid green', width: '250px', backgroundColor: 'purple', offset: 1 },
];

// Options
const options = {
  duration: 800,
  easing: 'ease-in',
  fill: 'both',
};

// Creating animation and instantly pausing it.
const anim = box.animate(keyframes, options);
anim.pause();

// The play state automaticaly changes from finished to
// running even if only the sign of playbackRate is changed.
setInterval(() => {
  console.log(anim.playState);
}, 100)


document.querySelector('.button').addEventListener('click', () => {
  // Playing the animation for the first click and then
  // After first iteration only setting the Animation.playbackRate *= -1
  // or saying Animation.reverse() would make the animation change direction
  // mid animation and also after the animation would be finished.
  if(anim.playState === 'paused') {
    anim.play();
  } else {
    anim.playbackRate *= -1;
    // same as:
    // anim.reverse();
  }
});

PS @RokoC.Buljan Please let me know if my question was vague and/or if I can further improve the code above. Thanks :)

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): Please let me know
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Muhammad Abdullah

79636546

Date: 2025-05-24 08:05:59
Score: 1.5
Natty:
Report link

My ISP doesn't support IPv6. I enabled dns port in tor and docker used it for its dns queries, which leaded to OP wget error in alpine containers, but not in debian ones. Host's nslookup returned NXDOMAIN error for IPv6 addresses and IPv4 were fine. On host I installed dnsmasq and configured it to query tor's dns, and "tuned" docker to dnsmasq for all new containers. nslookup still errors IPv6 but alpine error has gone.

Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user30623264

79636543

Date: 2025-05-24 07:56:57
Score: 3
Natty:
Report link

How do u delete my delta I been doing this many times to delete my delta if I didn't remove my delta my account will get banned for many many days and im not gonna get my account back again.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How do
  • Low reputation (1):
Posted by: Krisha jenielle Perias

79636541

Date: 2025-05-24 07:54:56
Score: 1.5
Natty:
Report link

If the original problem was that the project wasn't producing installable output or wasn't placing it in the right location, explicitly setting CMAKE_INSTALL_PREFIX ensured that cmake --install . knew exactly where to place files.

This pattern avoids cluttering the source directory and ensures a clean separation between source, build artifacts, and install files.

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

79636538

Date: 2025-05-24 07:51:56
Score: 1
Natty:
Report link

In this version(mine is 1.6.1) of yup, you should use arrow functions for then and otherwise.

For Example:

then: () => yup.number().min(0).max(100).required(),
otherwise: () => yup.number().nullable().transform(emptyToNullTransform),

I just added ()=> to the code

the source that explained it: This page

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

79636532

Date: 2025-05-24 07:44:54
Score: 0.5
Natty:
Report link

This answer is a bit late, but I guess it might still help someone.

The implementation of CalendarContract has many flaws which never seem to be fixed in new Android versions and which are not documented.

In my experience, there's not much difference between limited and infinite recurrences, but the instances table might have more problem with infinite ones.

For all day events, the EXDATE should be just yyyymmdd, otherwise UTC time in yymmddThhmmssZ format. Comma-separated if more than one.

If it doesn't work, there might be something else that needs to be done differently, especially if EXDATE is set on an already existing event.

Recurring events must have DURATION set, non-recurring shoud set DTEND instead.

When updating an event, the update must include DTSTART, RRULE, DURATION (not sure if duration is really necessary), where DTSTART must be the same but RRULE MUST BE DIFFERENT!

If you update an event to add an EXDATE without changing RRULE, then RRULE is removed from the event so it becomes non-recurring (not immediately afterwards, wait a whole minute before checking). This seems to happen to calendars from a Google account, but not all types of account.

Just appending a ';' to RRULE in the update seems to work.

(Exceptions can also be created by adding a separate event referring to the recurring one instead of adding an EXDATE. I've never tried that)

The instances table has many flaws:

It may refuse to expand some recurring events or it may take hours to update.

It only seems to expand recurrences one year ahead.

It doesn't include the last instance of an all day event with end date (this might be different in eastern/western hemisphere)

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

79636529

Date: 2025-05-24 07:40:53
Score: 2
Natty:
Report link

Go to Window > Preferences > Text Editors

Unflag "Use find/replace Overlay

Version: 2024-09 (4.33.0)

Build id: 20240905-0614

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

79636525

Date: 2025-05-24 07:35:51
Score: 1
Natty:
Report link

401 “unauthorized_client” means that Google does not accept your attempt because the client_id and secret you are trying to post either do not correspond to the application which generated this refresh token or this token is no longer valid. Check that you are applying the right client (all .apps.googleusercontent.com id and its secret), the application is not in Test mode, or obtain a new token by executing the consent flow again, and provide the credentials one time. either through the body of the form or “Authorization” header, not both.

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

79636515

Date: 2025-05-24 07:25:48
Score: 5.5
Natty: 4
Report link
Hi Drew, can you share details about the weight assigned to the Tag property of the column containing the value. Thank you.
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (2.5): can you share
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kadir

79636513

Date: 2025-05-24 07:23:47
Score: 0.5
Natty:
Report link

Further investigation showed that it is noy possible to throttle CPU. There are applications that do, but they call Windows undocumented API `NtSuspendProcess`. Very good article Anatomy of the thread suspension mechanism in Windows. Solution is to use external application to suspend/resume proces (If suspending process from itself, you are cutting branch on which you sit)

Reasons:
  • Whitelisted phrase (-1): Solution is
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: zdenko.s

79636507

Date: 2025-05-24 07:11:44
Score: 3
Natty:
Report link

Solved.

Silly error: typo of one character that sneaked in while copy/pasting.

Ktor is doing exactly what it should do:

Sending the Token plain if you pass an empty password.

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

79636503

Date: 2025-05-24 07:08:43
Score: 1.5
Natty:
Report link

I've tried this and it doesn't work, v-container is to contain stuff so the image for the backdrop would be shrink. The right way for me is to just wrap the container with v-img component and set src from the css. We can apply gradient from both css and v-img component. Working with position relative and absolute to achieve does not work properly with vuetify.

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

79636498

Date: 2025-05-24 07:03:42
Score: 1.5
Natty:
Report link

For windows open php.ini file then find extension=curl and remove the semicolon (;)

;extension=curl -> extension=curl
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: manikandan

79636493

Date: 2025-05-24 06:58:41
Score: 3
Natty:
Report link

Your code is not complete, this is just my guess.

setup() is vue3 syntax, also called combinatorial api, data(){} is an early vue2 function, you seem to be mixing it up here. I'm not sure what the outermost return{} means?

You can visit the link below to know a little bit about the usage in setup. By the way of course this is one of the ways to write vue

https://stackblitz.com/edit/vitejs-vite-gbsseybj?file=src%2FApp.vue

Reasons:
  • Blacklisted phrase (1): the link below
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: jinmokai

79636491

Date: 2025-05-24 06:50:39
Score: 2.5
Natty:
Report link

import pyodbc import sys unicode = str conn = pyodbc.connect('DSN=MYDSN') conn.setencoding(encoding='utf-8', ctype=pyodbc.SQL_CHAR) conn.setdecoding(pyodbc.SQL_CHAR,encoding='utf-8', ctype=pyodbc.SQL_CHAR) cursor = conn.cursor() cursor.execute("select * from my_table") for row in cursor: <TAB>print(row)

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

79636488

Date: 2025-05-24 06:42:37
Score: 0.5
Natty:
Report link

because Subject and BehaviorSubject dont have set method
use below

export class SvelteSubject<T> extends BehaviorSubject<T> {
  public set(value: T): void {
    super.next(value);
  }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: hassan zarghami

79636487

Date: 2025-05-24 06:39:36
Score: 1.5
Natty:
Report link

When switching your IIS application pool to 32-bit mode, the handler mappings for .html to be processed as classic ASP may stop working because IIS uses a separate 32-bit pipeline and module set (%SystemRoot%\SysWOW64\inetsrv) instead of the 64-bit one.

To fix this:

  1. Reconfigure the handler mapping after enabling 32-bit mode. Go to Handler Mappings for your site or application in IIS Manager.

  2. Ensure you're referencing the 32-bit asp.dll, which is typically located at:

    C:\Windows\SysWOW64\inetsrv\asp.dll

  3. Make sure the application pool is set to Classic Managed Pipeline Mode if you're using classic ASP with custom extensions.

  4. Also verify that ASP is enabled under “Turn Windows features on or off” > IIS > World Wide Web Services > Application Development Features.

This should restore .html to be processed as classic ASP under 32-bit mode.

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

79636481

Date: 2025-05-24 06:29:33
Score: 2
Natty:
Report link

The problem was Nvidia drivers "corrupting" the .wsx files from v3.11.2.

So the take away is that this particular light.exe error can be caused by bad .wsx files in v3.11.2 even if they are well formed xml.

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

79636477

Date: 2025-05-24 06:24:31
Score: 0.5
Natty:
Report link

Did you try to run the Lighthouse report from the developer console in Google Chrome? If not, you could try this. Just open your page in Chrome, press F12, go to the Lighthouse tab and click 'Analyze page load'. It will check your page regarding SEO, accessibility, performance etc. and will give you a score and tell you quite detailed what you need to add/update to make it score higher. I did that for my own website https://teamquiz.dk and it gave me a lot of hints to missing tags in the head section of pages etc.

Reasons:
  • Whitelisted phrase (-1): try this
  • Whitelisted phrase (-2): Did you try
  • Contains signature (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: teamquiz.dk

79636474

Date: 2025-05-24 06:17:30
Score: 2
Natty:
Report link

I would respectfully like to contribute to this very interesting and rich thread which has already been running very long. However, I would like to ask all other contributors I they could possibly give

The subject of permutations seems to be of immensely general interest and the internet is full of articles explaining the concept and giving nice examples in virtually all known programming languages.

Special thanks go to @le_m whose answer not only explicitly mentions the name of Heap's method, but also provides a fine benchmark over all other algorithms proposed in the thread.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @le_m
  • Low reputation (0.5):
Posted by: Hubert Kauker

79636472

Date: 2025-05-24 06:02:27
Score: 1
Natty:
Report link
  1. You must put this launch.json file in your project (at least, you must put the 'debug server-side' part into your launch.json file): https://code.visualstudio.com/docs/debugtest/debugging-configuration

  2. When starting your app in VSCode, you must do it from the "Run and Debug" button, and click the 'debug server-side' option.

Then breakpoints in server-side scripts should work.

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

79636470

Date: 2025-05-24 05:59:26
Score: 1.5
Natty:
Report link

To resolve the CMake build error, I disabled the new architecture by setting newArchEnabled=false in the gradle.properties file.

newArchEnabled=false
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vipin singh

79636459

Date: 2025-05-24 05:21:19
Score: 1.5
Natty:
Report link

finally after a long struggle i found a way for this.

while adding remote git repository in terminal using VS code (as i have done) include token like below

https://[email protected]/xxxyyy/repository-name

when you give the command git remote -v

then you should be able to see token included in the repository name.

then give git push origin main

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: MADDI LAKSHMI NARAYANA

79636455

Date: 2025-05-24 05:14:17
Score: 1
Natty:
Report link

Instead of import, use #include like this:

#include<iostream>

Or you could turn off Intellisense if you still want to use import, because Intellisense doesn't affect the code compilation, it just makes the coding process easier and faster.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Đỗ Quốc Khánh

79636453

Date: 2025-05-24 05:13:17
Score: 2
Natty:
Report link

Passing the token that is generated at the time of creating the video conference worked for me

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

79636451

Date: 2025-05-24 05:10:16
Score: 1
Natty:
Report link

Currently the easiest way is to exclude the ActiveMQAutoConfiguration, see https://docs.spring.io/spring-boot/reference/using/auto-configuration.html#using.auto-configuration.disabling-specific for more details.

@SpringBootApplication(exclude = { ActiveMQAutoConfiguration.class })
public class MyApplication {
}

Another option is to use properties, e.g. in your application.properties:

spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jms.activemq.ActiveMQAutoConfiguration
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: xtermi2

79636448

Date: 2025-05-24 04:58:13
Score: 3
Natty:
Report link

check your error.log, in from the hosting administrator, I could give you more information, some conflict with a plugin for example.

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

79636440

Date: 2025-05-24 04:44:10
Score: 2.5
Natty:
Report link

This one is working as well but when I have more than one key with the same value, It just shows only one. The text that I have tried is has two character with the same value like this: (E:6:S:6) I want to show a result for each of them. Like: The character E has repeated 6 times in the string The character S has repeated 6 times in the string I just have The character E has repeated 6 times in the string. I have tried to make it work, but not yet, it seems like i need to do some special trick, so if you have some int, on how i can do that feel free to provide it to me please.

const frequentChar = str =>{
    const {max, ...counts} = str.toLowerCase().replace(/\s/g, "").split("").reduce((start, val) =>{
        start[val] = start[val] ? start[val]+1 : 1;
        start.max = start.max < start[val]? start[val] : start.max;
        return start;
    }, {max: 0});

    const result = [...Object.entries(counts).filter(([key, val]) => val === max)]
    const finalResult = result.join(",").replace(/,/g, ":").toUpperCase()
    console.log(finalResult);
    return `The character ${finalResult[0]} has repeated ${finalResult[2]} times in the string`
}

console.log(frequentChar(text))
Reasons:
  • Blacklisted phrase (0.5): i need
  • RegEx Blacklisted phrase (1): I want
  • RegEx Blacklisted phrase (1): i can do that feel free to provide it to me please
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: DAVE LOVE

79636439

Date: 2025-05-24 04:42:10
Score: 3.5
Natty:
Report link

I just deleted node_modules and package-lock.json and again done npm install

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

79636438

Date: 2025-05-24 04:39:09
Score: 3
Natty:
Report link

ubuntu24.04

pip install keyboard

sudo apt install python3-keyboard

i couldnt install keyboard module

i tried

download module (https://files.pythonhosted.org/packages/79/75/c969f2258e908c39aadfc57d1cb78247dc49e6d36371bb3a48c194640c01/keyboard-0.13.5.zip)

cd /home/user/Download/keyboard-0.13.5

sudo python3 setup.py install

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

79636437

Date: 2025-05-24 04:39:09
Score: 3
Natty:
Report link

Thanks, I got some tts mp3 from GitHub but I wasnt sure of where to store them so they can be accessible by google TTS voice data.

You guys are the BESSST

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Dr. Precious Thankis Malete

79636434

Date: 2025-05-24 04:35:08
Score: 2
Natty:
Report link

Can you please check which version of WebdriverIO you are using? This was a known issue and was fixed in one of the latest versions.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can you please
  • High reputation (-1):
Posted by: wswebcreation

79636419

Date: 2025-05-24 03:59:00
Score: 2
Natty:
Report link

原文链接:https://linkcli.com/index.php?rp=/knowledgebase/16

请ssh进入机器

!!!请谨慎操作确保 vdb1 里面没有数据!一键脚本会格式化硬盘。

不清楚的建议ssh进去输入命令:lsblk 截图给客服 @LINKCLi_bot

命令行直接粘贴一下命令并回车:

cat << 'EOF' > mount_home.sh

#!/bin/bash

set -e # 出错即退出

DEVICE="/dev/vdb"

PARTITION="${DEVICE}1"

MOUNT_POINT="/home"

# 检查是否已经有分区

if ! lsblk | grep -q "${PARTITION##*/}"; then

echo "[*] 分区不存在,开始创建分区..."

echo -e "n\np\n\n\n\nw" | sudo fdisk $DEVICE

sleep 2

fi

# 创建文件系统

echo "[*] 格式化分区 $PARTITION..."

sudo mkfs.ext4 -F $PARTITION

# 创建挂载点

echo "[*] 创建挂载点 $MOUNT_POINT..."

sudo mkdir -p $MOUNT_POINT

# 挂载

echo "[*] 挂载 $PARTITION 到 $MOUNT_POINT..."

sudo mount $PARTITION $MOUNT_POINT

# 清空挂载后的/home(危险操作)

echo "[*] 清空 $MOUNT_POINT 下内容..."

sudo rm -rf ${MOUNT_POINT:?}/*

# 获取 UUID

UUID=$(sudo blkid -s UUID -o value $PARTITION)

FSTAB_LINE="UUID=$UUID $MOUNT_POINT ext4 defaults 0 2"

# 写入 /etc/fstab(防止重复)

if ! grep -q "$UUID" /etc/fstab; then

echo "[*] 写入 /etc/fstab 自动挂载配置..."

echo "$FSTAB_LINE" | sudo tee -a /etc/fstab

fi

# 验证挂载

echo "[*] 执行 mount -a 检查挂载..."

sudo mount -a

df -h | grep $MOUNT_POINT

echo "[✔] 已挂载并设置为开机自动挂载。"

EOF

# 添加权限并执行

chmod +x mount_home.sh

echo "[✔] 脚本 mount_home.sh 已生成并赋予执行权限。正在运行..."

sudo ./mount_home.sh

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @LINKCLi_bot
  • Low reputation (1):
Posted by: user30621886

79636418

Date: 2025-05-24 03:56:00
Score: 2
Natty:
Report link

in functions.php, i commented out these two lines. This worked but i'm not sure what the downline effects might be.

//include_once _DIR_ .'/vendor/owasp/csrf-protector-php/libs/csrf/csrfprotector.php';

//csrfProtector::init();

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

79636416

Date: 2025-05-24 03:53:59
Score: 3.5
Natty:
Report link

i think convert to hexa decimal and then comparison the command code is good solution.

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

79636410

Date: 2025-05-24 03:46:57
Score: 1.5
Natty:
Report link

No need to write any code. Just put %category% in Category base field.

WordPress Category Base Field

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

79636409

Date: 2025-05-24 03:42:56
Score: 3
Natty:
Report link

In my case the suggestions given here helped me. The final section regarding firewall changes for virtual network integrated function app fixed it.

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

79636402

Date: 2025-05-24 03:25:53
Score: 2.5
Natty:
Report link

The solution has a problem: The WindowsFormsHostEx solution works until you try using the Measure / Arrange overrides. Then, there is a conflict somewhere in their (MSFT) code and what you're attempting to do. But, I'm finding it works as long as you're careful about what those overrides are doing.

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

79636399

Date: 2025-05-24 03:19:51
Score: 2.5
Natty:
Report link

请ssh进入机器

!!!请谨慎操作确保 vdb1 里面没有数据!一键脚本会格式化硬盘。

不清楚的建议ssh进去输入命令:lsblk 截图给客服 @LINKCLi_bot

命令行直接粘贴一下命令并回车:

cat << 'EOF' > mount_home.sh

#!/bin/bash

set -e # 出错即退出

DEVICE="/dev/vdb"

PARTITION="${DEVICE}1"

MOUNT_POINT="/home"

# 检查是否已经有分区

if ! lsblk | grep -q "${PARTITION##*/}"; then

echo "[*] 分区不存在,开始创建分区..."

echo -e "n\np\n\n\n\nw" | sudo fdisk $DEVICE

sleep 2

fi

# 创建文件系统

echo "[*] 格式化分区 $PARTITION..."

sudo mkfs.ext4 -F $PARTITION

# 创建挂载点

echo "[*] 创建挂载点 $MOUNT_POINT..."

sudo mkdir -p $MOUNT_POINT

# 挂载

echo "[*] 挂载 $PARTITION 到 $MOUNT_POINT..."

sudo mount $PARTITION $MOUNT_POINT

# 清空挂载后的/home(危险操作)

echo "[*] 清空 $MOUNT_POINT 下内容..."

sudo rm -rf ${MOUNT_POINT:?}/*

# 获取 UUID

UUID=$(sudo blkid -s UUID -o value $PARTITION)

FSTAB_LINE="UUID=$UUID $MOUNT_POINT ext4 defaults 0 2"

# 写入 /etc/fstab(防止重复)

if ! grep -q "$UUID" /etc/fstab; then

echo "[*] 写入 /etc/fstab 自动挂载配置..."

echo "$FSTAB_LINE" | sudo tee -a /etc/fstab

fi

# 验证挂载

echo "[*] 执行 mount -a 检查挂载..."

sudo mount -a

df -h | grep $MOUNT_POINT

echo "[✔] 已挂载并设置为开机自动挂载。"

EOF

# 添加权限并执行

chmod +x mount_home.sh

echo "[✔] 脚本 mount_home.sh 已生成并赋予执行权限。正在运行..."

sudo ./mount_home.sh

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @LINKCLi_bot
  • No latin characters (0.5):
  • Low reputation (1):
Posted by: user30621886

79636396

Date: 2025-05-24 03:17:50
Score: 1
Natty:
Report link

Finally found the fix. The way the current node transform is computed was wrong.
Happens inside the BaseModel::processNode method.
This is wrong:

const aiMatrix4x4 accTransform = node->mTransformation * transform
Need to be changed to  

const aiMatrix4x4 accTransform = transform * node->mTransformation;

And things work properly :)

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

79636391

Date: 2025-05-24 03:05:48
Score: 0.5
Natty:
Report link
CLSID clsid;
HRESULT hr = CLSIDFromProgID(L"CATIA.Application", &clsid);
CComPtr<IUnknown> pCatiaSession;
hr = GetActiveObject(clsid, NULL, &pCatiaSession);
CATIAApplication * pApp = NULL;
hr = pSession->QueryInterface(IID_CATIAApplication, (void**) &pApp);
CATIADocument * pDocument = NULL;
hr = pApp->get_ActiveDocument(pDocument);

// Get the CATDocument pointer from the CATIADocument pointer.
CATBaseUnknown * pJunk = pDocument->GetImpl();
pCATDocument = (CATDocument*)pJunk;

// Do something with the CATDocument pointer
CATDocumentServices::SaveAs(*pCATDocument, strFilePath);
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: SomeCallMeTim

79636375

Date: 2025-05-24 02:10:37
Score: 7.5
Natty: 7.5
Report link

@Twinkle were you successful?

I am trying to figure out how to create a custom payment processor - would you be willing to provide some guidance please?

Reasons:
  • Blacklisted phrase (1): I am trying to
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Twinkle
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: David hay

79636372

Date: 2025-05-24 02:08:36
Score: 0.5
Natty:
Report link

You can do this by adding a qualifier with the following format to your search query:

[-]created:<comparison operator>@today[+|-<duration quantity><duration unit>]

where the components are:

So if you want to get issues created less than 7 days ago, you would add this qualifier to your search query:

created:>@today-7d

Unfortunately this feature is not mentioned in the relevant documentation, so this related documentation for GitHub Projects is the closest thing to an authoritative reference:

https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects#filtering-for-when-an-item-was-last-updated

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

79636370

Date: 2025-05-24 02:07:36
Score: 0.5
Natty:
Report link

You can do this by adding a qualifier with the following format to your search query:

[-]created:<comparison operator>@today[+|-<duration quantity><duration unit>]

where the components are:

So if you want to get issues created less than 7 days ago, you would add this qualifier to your search query:

created:>@today-7d

Unfortunately this feature is not mentioned in the relevant documentation, so this related documentation for GitHub Projects is the closest thing to an authoritative reference:

https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects#filtering-for-when-an-item-was-last-updated

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

79636369

Date: 2025-05-24 02:06:35
Score: 4
Natty:
Report link

I mean, if you're going to burn a register, then why not just sD to remove the top value from the stack?

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mario Nigrovic

79636355

Date: 2025-05-24 01:48:30
Score: 6.5 🚩
Natty: 5.5
Report link

after ive gotten the column copied, is there a way to be able to sort the column in sheet 2 seperately from that of sheet 1?

Reasons:
  • Blacklisted phrase (1): is there a way
  • 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: user30621579

79636352

Date: 2025-05-24 01:41:28
Score: 1.5
Natty:
Report link

You can do this by adding the following qualifier to your search query:

created:@today

Unfortunately this feature is not mentioned in the relevant documentation, so this related documentation for GitHub Projects is the closest thing to an authoritative reference:

https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects#filtering-for-when-an-item-was-last-updated

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

79636351

Date: 2025-05-24 01:40:28
Score: 0.5
Natty:
Report link

After version 106, you have to specify a full path to a chrome profile through the --user-data-dir argument and it cannot be the default profile at all.

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

79636335

Date: 2025-05-24 01:10:21
Score: 2
Natty:
Report link

A good way of building dashboards in Jupyter is with Voila combined with ipywidgets.
https://github.com/voila-dashboards/voila

Ipywidgets can also load images and voila can be used for the whole dashboard component.

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

79636334

Date: 2025-05-24 01:10:21
Score: 0.5
Natty:
Report link

can i updte text on tkinter without interacting with the ui? (using as a display only)

Here is script:

import tkinter as tk
import RPi.GPIO as GPIO

# Setup GPIO
GPIO.setmode(GPIO.BCM)
button_pin = 18   
GPIO.setup(button_pin, GPIO.IN, pull_up_down=GPIO.PUD_UP)

def check_button():
    if GPIO.input(button_pin) == GPIO.LOW:  # Button pressed
        update_display()
    root.after(100, check_button)  # Check every 100 ms

def update_display():
    # Update your Tkinter display here
    label.config(text="Button Pressed!")

root = tk.Tk()
label = tk.Label(root, text="Waiting for button press...")
label.pack()

# Start checking for button presses
check_button()

root.mainloop()

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): can i
  • Low reputation (0.5):
Posted by: Adios Gringo

79636331

Date: 2025-05-24 01:04:20
Score: 2
Natty:
Report link
from fpdf import FPDF

# Create a PDF class
class PDF(FPDF):
    def header(self):
        self.set_font("Arial", "B", 12)
        self.cell(0, 10, "", ln=True)

    def footer(self):
        self.set_y(-15)
        self.set_font("Arial", "I", 8)
        self.cell(0, 10, f"Page {self.page_no()}", 0, 0, "C")

# Create the cover letter PDF
pdf = PDF()
pdf.add_page()
pdf.set_auto_page_break(auto=True, margin=15)

pdf.set_font("Arial", size=12)
text = """Mohamed Ebrahim El-Said
Zagazig, Egypt
+20 112 686 3737
[email protected]
May 24, 2025

Recruitment Team
Deloitte

Dear Hiring Team at Deloitte,

I am writing to express my interest in joining Deloitte. I recently graduated from Zagazig University with a degree in Accounting, where I achieved an Excellent academic standing and a GPA of 3.6.

During my time at university, I developed strong analytical and problem-solving skills through both coursework and practical projects. My academic performance reflects my commitment to excellence, and I am eager to bring that same level of dedication to your esteemed firm. Deloitte’s global reputation for innovation, professional growth, and integrity makes it an ideal environment for me to begin my professional journey.

I am particularly drawn to Deloitte’s collaborative culture and its focus on continuous development. I am confident that my educational background, combined with my enthusiasm for learning and growth, makes me a strong candidate for your team.

Thank you for considering my application. I would welcome the opportunity to discuss how my skills and ambitions align with Deloitte’s goals. Please find my CV attached for your review.

Sincerely,
Mohamed Ebrahim El-Said
"""

# Add the text to the PDF
for line in text.split("\n"):
    pdf.multi_cell(0, 10, line)

# Output the PDF to a file
pdf_path = "/mnt/data/Mohamed_Ebrahim_El-Said_Cover_Letter_Deloitte.pdf"
pdf.output(pdf_path)

pdf_path
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (1.5): reputation
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30621432

79636330

Date: 2025-05-24 01:04:20
Score: 3.5
Natty:
Report link

its work fine. change style for mobile as well.

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

79636327

Date: 2025-05-24 00:55:17
Score: 5
Natty:
Report link

I believe this could be done using tkinter / customtkinter and utilizing the Canvas widget / CTkImage for handling the the image and intractability alongside the Tabview widget for the steps.

Please refer to How can I load an image into a tkinter window/canvas? and this tutorial for more info.

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Blacklisted phrase (1): this tutorial
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Alireza Aliz

79636326

Date: 2025-05-24 00:54:17
Score: 2
Natty:
Report link

Here's a super quick rust script (if speed is an issue) that supports hoisted node_modules for workspaces defined using the "workspaces" package.json attribute: https://github.com/jsimonrichard/node-module-version-checker-rs

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

79636321

Date: 2025-05-24 00:35:12
Score: 2
Natty:
Report link

This just drove me nuts also and I wish someone else had responded here... It appears that via the Clone Repo > Github it only shows personal repos. Instead, copy your Organization repo URL from Github and paste it into the Repository URL tab on Android Studio. It will then prompt you to login or use your access token and voila!

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

79636320

Date: 2025-05-24 00:32:11
Score: 0.5
Natty:
Report link
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Jobs;

public class CustomConfig : ManualConfig
{
    public CustomConfig()
    {
        // Starts with an empty config adding only the jobs you want
        AddJob(Job.Default.WithCustomBuildConfiguration("Benchmarks"));
    }
}
 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Charles Henington

79636319

Date: 2025-05-24 00:30:10
Score: 2.5
Natty:
Report link

This stack overflow answer helped me:

Expo eas build error: Xcode 16.3 and undefined template 'std::char_traits<unsigned char>' prevent building the app

I didn't realize that when I use EAS to build my app, EAS uses a specific Mac OS and Xcode version as specified in my app's eas.json file. Because I had the production iOS image set to "latest", EAS was using Xcode 16.3 to compile my app.

I was thinking that when I used EAS to build my app, it sent the version of Xcode that I had on my local computer to EAS to build with that.

This documentation was helpful to learn about the image options available when using EAS to build an app:

https://docs.expo.dev/build-reference/infrastructure/

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

79636317

Date: 2025-05-24 00:25:09
Score: 0.5
Natty:
Report link
I put this in a javascript file that is called in every page on my site.
I tested it with Chrome & Firefox.

  var ADS_URL = 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js';
    function checkAdsBlocked(callback) {
        var xhr = new XMLHttpRequest();
        xhr.onreadystatechange = function () {
            if (xhr.readyState == XMLHttpRequest.DONE) {
                callback(xhr.status === 0 || xhr.responseURL !== ADS_URL);
            }
        };
        xhr.open('HEAD', ADS_URL, true);
        xhr.send(null);
    }
    
    checkAdsBlocked(function(adsBlocked) {
        if (adsBlocked) {alert ('\n\nPlease Disable Your Ad Blocker\nThere are no annoying ads or popups on this site.\nSome features here are not available with your ad blocker on.\nThanks!\n\n');}
    });
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Robert Finnan

79636315

Date: 2025-05-24 00:23:08
Score: 0.5
Natty:
Report link

For anyone coming across this in future, this error occurs when you haven't accepted the Xcode license on your terminal.

To do that, run:

sudo xcodebuild -license

The license agreement will be displayed, and you need to type "agree" then enter.

Do a bazel clean --expunge, and then rebuild.

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

79636306

Date: 2025-05-24 00:01:02
Score: 2.5
Natty:
Report link

You should use 'dotall' modifier. Often it is 's' in other languages and here 'n', it's easy to miss it in documentation.

By the way, why you're using NOT is it some trick for optimizer?

SELECT CASE WHEN REGEXP_LIKE(MYSTRING, '^[a-zA-Z0-9]*$', 'n') THEN 'valid'
       ELSE 'invalid'
       END 
FROM DUAL
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Sergey Soltanov

79636287

Date: 2025-05-23 23:16:52
Score: 2
Natty:
Report link

You can use this link to evaluate a Xml Path :

https://jsonxmlkit.com/xpath-tester

You can use it also to search for a path.

Reasons:
  • Blacklisted phrase (1): this link
  • Whitelisted phrase (-1.5): You can use
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: makertoo

79636283

Date: 2025-05-23 23:09:50
Score: 0.5
Natty:
Report link

Not sure why Bluetooth support has still not been added to Termux or their official Termux API apps!

Be advised that the main Search Results for this do NOT work as I tried, waste of time: https://www.samgalope.dev/2024/09/09/how-to-automate-bluetooth-tasks-with-termux/
It seems like he has not tested the solutions he posted / AI auto generated content:
https://www.samgalope.dev/2024/12/02/fixing-the-unable-to-locate-package-bluez-termux-error-a-step-by-step-guide/
Don't bother with these steps as they do not work due to lack of bluetooth support in Termux itself.

The solution provided above now has issues due to updates:

Thus, since the apk in Termux-app-bluetooth is based on the version 0.64 of the Termux project you must install a more recent version of it.

However, ~~after September~~ when I get some free time, I will try to work on a new version of Termux-app-bluetooth that supports update or installation of packages.

Not updated for 5 years as @steven-salazar-molina is busy.

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

79636281

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

I realized the issue was happening due to the incorrect jdk version being installed. I completely uninstalled java from my computer <https://www.java.com/en/download/help/mac_uninstall_java.html> along with the jdk <https://docs.oracle.com/javase/8/docs/technotes/guides/install/mac_jdk.html#uninstall>. Then installed jdk 21 (jdk 24 is not compatible with kotlin) and the build succeeded

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

79636277

Date: 2025-05-23 23:02:48
Score: 0.5
Natty:
Report link

I managed to get it work by install by click Other when selecting the Operating System. Then select the iso image of windows iso.

During the boot, there is a time range you should press any key to boot from CD/DVD. After the installation, you don't need to press again.

Select at least 4 cores and 8g memory works for me as well.

Reasons:
  • Whitelisted phrase (-1): works for me
  • No code block (0.5):
  • Low reputation (1):
Posted by: Lucar

79636273

Date: 2025-05-23 22:49:46
Score: 2.5
Natty:
Report link

This means that if you imagine memory as the flat Earth and your array lays close to the edge, then beyond it there is a place for at least one additional element. ;•)

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

79636271

Date: 2025-05-23 22:48:45
Score: 3
Natty:
Report link

Problem is solved !

I needed to add the property ref={field.ref} to the <Input />

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Lucas Mahé-Boisneau

79636268

Date: 2025-05-23 22:46:45
Score: 2
Natty:
Report link

To change the language of std::filesystem::filesystem_error messages, adjust the system locale to your native language. But I think this method depends on your operating system.

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

79636266

Date: 2025-05-23 22:42:44
Score: 1.5
Natty:
Report link

Though I would update with my current best solution based on the responses. Thanks to @Jérôme Richard for the detailed analysis, I've re-implemented in a way that I think incorporates the most impactful suggestions:

cimport numpy as cnp

ctypedef cnp.npy_uint32 UINT32_t

from libc.math cimport exp
from libc.stdlib cimport malloc, free

cdef inline UINT32_t DEFAULT_SEED = 1
cdef enum:
    # Max value for our rand_r replacement (near the bottom).
    # We don't use RAND_MAX because it's different across platforms and
    # particularly tiny on Windows/MSVC.
    # It corresponds to the maximum representable value for
    # 32-bit signed integers (i.e. 2^31 - 1).
    RAND_R_MAX = 2147483647

##################################################################

cdef class FiniteSet:
    """
    Custom unordered set with O(1) add/remove methods
    which takes advantage of the fixed maximum set size
    """

    cdef:
        int* index     # Index of element in value array
        int* value     # Array of contained element
        int size       # Current number of elements
        
    def __cinit__(self, cnp.ndarray[int] indices, int maximum):
        self.size = len(indices)
        
        # Allocate arrays
        self.index = <int*>malloc(maximum * sizeof(int))
        self.value = <int*>malloc(maximum * sizeof(int))
        
        if not self.index or not self.value:
            raise MemoryError("Could not allocate memory")
        
        # Initialize index array to -1 (invalid)
        cdef int i
        for i in range(maximum):
            self.index[i] = -1
            
        # Set up initial values
        for i in range(self.size):
            self.value[i] = indices[i]
            self.index[indices[i]] = i 

    def __dealloc__(self):
        """Cleanup C memory"""
        if self.index:
            free(self.index)
        if self.value:
            free(self.value)

    cdef inline bint contains(self, int i) nogil:
        return self.index[i] >= 0 

    cdef inline void add(self, int i) nogil:
        """
        Add element to set
        """
        # if not self.contains(i):
        if self.index[i] < 0:
            self.value[self.size] = i
            self.index[i] = self.size
            ## Increase
            self.size += 1

    cdef inline void remove(self, int i) nogil:
        """
        Remove element from set
        """
        # if self.contains(i):
        if self.index[i] >= 0:
            self.value[self.index[i]] = self.value[self.size - 1]
            self.index[self.value[self.size - 1]] = self.index[i]
            self.index[i] = -1
            self.size -= 1

cdef class XORRNG:
    """
    Custom XORRNG sampler that I copied from the scikit-learn source code
    """

    cdef UINT32_t state

    def __cinit__(self, UINT32_t seed=DEFAULT_SEED):
        if (seed == 0):
            seed = DEFAULT_SEED
        self.state = seed

    cdef inline double sample(self) nogil:
        """Generate a pseudo-random np.uint32 from a np.uint32 seed"""
        self.state ^= <UINT32_t>(self.state << 13)
        self.state ^= <UINT32_t>(self.state >> 17)
        self.state ^= <UINT32_t>(self.state << 5)

        # Use the modulo to make sure that we don't return a values greater than the
        # maximum representable value for signed 32bit integers (i.e. 2^31 - 1).
        # Note that the parenthesis are needed to avoid overflow: here
        # RAND_R_MAX is cast to UINT32_t before 1 is added.
        return <double>(self.state % ((<UINT32_t>RAND_R_MAX) + 1))/RAND_R_MAX

def xorrng_py(int seed=1):
    cdef XORRNG prng = XORRNG(seed)
    return prng.sample()

###############################################################

cdef XORRNG prng = XORRNG()

def spgreedy(cnp.ndarray[double, ndim=2] J, 
             cnp.ndarray[double, ndim=1] h,
             FiniteSet s,
             double temp,
             ):

    cdef int d
    d = J.shape[0]

    cdef int j, k
    cdef double dot, curr, prob

    for j in range(d):

        s.remove(j)

        dot = h[j]
        for k in range(s.size):
            dot += J[j, s.value[k]]

        curr = dot / temp

        if curr < -100:
            prob = 0.0
        elif curr > 100:
            prob = 1.0
        else:
            prob = 1.0 / (1.0 + exp(-curr))

        if (prng.sample() < prob):
            s.add(j)

    return s

which is now better than the dense algorithm (in the problems I've tested on). It also takes a similar amount of time as numpy's matrix multiplication (just doing J@s+h) which is both reassuring, since that code is very optimized I assume, but a bit disappointing because I don't get much benefit from the sparsity after all. I also don't know much about Cython so it's very possible I did something silly in this implementation as well!

average run time of each function on synthetic data as in the original question

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Jérôme
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Matteo Alleman

79636265

Date: 2025-05-23 22:42:44
Score: 4
Natty:
Report link

Not saying this will work but, here's some instructions that is online...

https://www.smackcoders.com/blog/how-to-install-wamp-and-xampp.html

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

79636257

Date: 2025-05-23 22:26:40
Score: 1
Natty:
Report link

This is due to how sql and spark execute these functions differently.

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

79636239

Date: 2025-05-23 21:51:31
Score: 0.5
Natty:
Report link

Let understand with examples, you are trying to send and receive messages between parts of your app — like one part says, "Hey, a new order came in!" and another part listens for that and does something (like sending an email).

What is a Message Bus?

A message bus is like a middleman that helps parts of your app talk to each other without knowing about each other directly. It's like a delivery service: you drop off a message, and it makes sure the right person gets it.

What is MassTransit?

MassTransit is a tool (or framework) that helps you use a message bus more easily in your .NET apps. It gives you a friendly, consistent way to send and receive messages.

But MassTransit doesn’t deliver messages itself — it uses real delivery services behind the scenes.

What’s the Messaging Library?

This is the actual delivery service — like:

-RabbitMQ

-Azure Service Bus

-Amazon SQS

MassTransit connects to one of these behind the scenes and handles the setup, sending, and receiving for you.

So yes — you're right:

MassTransit is a message bus framework that works on top of real messaging systems (like RabbitMQ or Azure Service Bus). It lets you switch between those systems easily without changing much of your code.

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

79636235

Date: 2025-05-23 21:46:30
Score: 3.5
Natty:
Report link

try using the so file
or go through the repo if you feel that there is a need for more files, especially for AWS.

https://github.com/avinashmunkur/pyodbc-py310/tree/master/python-py310

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

79636234

Date: 2025-05-23 21:45:30
Score: 0.5
Natty:
Report link

Must use custom ISqlGeneratorHelper:
builder.Services.AddEntityFrameworkMySql();

builder.Services.AddSingleton<ISqlGenerationHelper, CustomMySqlSqlGenerationHelper>();

then

public sealed class CustomMySqlSqlGenerationHelper : MySqlSqlGenerationHelper
{
    public CustomMySqlSqlGenerationHelper(
        RelationalSqlGenerationHelperDependencies dependencies,
        IMySqlOptions options)
        : base(dependencies, options)
    {
    }

    public override string GetSchemaName(string name, string schema)
        => schema; // <-- this is the first part that is needed to map schemas to databases
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Sergey Or

79636230

Date: 2025-05-23 21:39:28
Score: 9 🚩
Natty: 5
Report link

is it resolved ? i am facing the same issue

Reasons:
  • RegEx Blacklisted phrase (1.5): resolved ?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i am facing the same issue
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): is it
  • Low reputation (1):
Posted by: jatin arora

79636228

Date: 2025-05-23 21:38:27
Score: 1
Natty:
Report link
Hi, since you already have the driver file/inf, then have gander with this
    #find device
    $Device = Get-PnpDevice -FriendlyName "Name of your device"
    #update driver
    Update-PnpDevice -InstanceId $Device.InstanceId -Driver $DriverPath
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: xavier Scott

79636227

Date: 2025-05-23 21:37:27
Score: 1.5
Natty:
Report link

Hy after hover do :active for the user click

.dropdown:active .dropdown-content { 

display: block; }

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

79636216

Date: 2025-05-23 21:28:24
Score: 4
Natty: 4.5
Report link

Pull Handles & Finger Plates Clearance Bargains https://www.frelanhardware.co.uk/Products/turns-releases

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

79636210

Date: 2025-05-23 21:23:23
Score: 3.5
Natty:
Report link

Getting help for ai you will get it brother. Wverthink can make you right

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

79636208

Date: 2025-05-23 21:22:22
Score: 4
Natty:
Report link

which search algorithm is more likely to find a solution in an infinite space state

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): which
  • Low reputation (1):
Posted by: zayn Farrag

79636204

Date: 2025-05-23 21:15:21
Score: 1.5
Natty:
Report link

Thanks to everyone who tried to help.

Somehow, YouTube video playback suddenly stopped working. While searching for a solution, I stumbled upon this thread: https://bbs.archlinux.org/viewtopic.php?id=276918 , and found that running

pacman -Syu pipewire-media-session

did the trick.

Not only did YouTube start working again, but I also started hearing sound from my device — the volume meter began responding too.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Владимир Горин

79636201

Date: 2025-05-23 21:14:20
Score: 4.5
Natty:
Report link

Please feel free to check out the Closed Caption Converter API. https://www.closedcaptionconverter.com

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

79636197

Date: 2025-05-23 21:11:19
Score: 1
Natty:
Report link

Event library that you must use:
package0 and replication.
Inside the replication library, you can find events related to the agents, including the distribution agent.
Key event for your case:
replication.agent_message.
This event captures messages that the replication agents (snapshot, log reader, distribution) generate. It is useful because many times the distribution agent writes to its output when the execution mode or the number of threads changes.
You can filter messages containing things like:
“Switching to single thread”
“Switched from multi-threaded to single-threaded”.
SQL Server doesn't have a direct event that says “switched from multi-threaded to single-threaded”, but the agent messages (which are captured with replication.agent_message) do reflect that behavior internally, and that's what you can track.

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

79636172

Date: 2025-05-23 20:42:12
Score: 0.5
Natty:
Report link

Have you tried setting the domain of the cookies to your API URL, e.g.:

ctx.SetCookie(..., "/", "api.azurecontainerapps.io", true, true)
Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: RecursionError

79636170

Date: 2025-05-23 20:40:11
Score: 3.5
Natty:
Report link
  1. rm -rf android/ ios/
  2. npx expo prebuild
Reasons:
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: AndrewS

79636166

Date: 2025-05-23 20:39:10
Score: 4
Natty: 4
Report link

Did anyone notice the typo of attachements instead of attachments?

Not certain, but I think that was the actual problem here... or at least part of the problem.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): Did anyone not
  • Low reputation (1):
Posted by: Nick