79237140

Date: 2024-11-29 12:48:32
Score: 1.5
Natty:
Report link

At first, think of TS as something that helps with development, not the compiler or the browser (although it also matters for the compiler and browser, since it gets compiled into JavaScript.). Statically typed languages guarantee organization and a solid structure, making them very useful in the development environment. :)

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

79237128

Date: 2024-11-29 12:43:30
Score: 3
Natty:
Report link

Apparently OPENGROK_IGNORE_PATTERNS and INDEXER_OPT was once again changed. This time to INDEXER_JAVA_OPTS which works.

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

79237117

Date: 2024-11-29 12:39:29
Score: 4.5
Natty:
Report link

I think we have same problem and I found this

embedding_function = OllamaEmbeddings(model="llama3.2:3b")
evaluator = load_evaluator("pairwise_embedding_distance", embeddings=embedding_function)

instead asking for "llm" parameter, it should provide "embeddings" param

source: https://python.langchain.ac.cn/docs/guides/productionization/evaluation/comparison/pairwise_embedding_distance/

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): have same problem
  • Low reputation (1):
Posted by: Dehan

79237113

Date: 2024-11-29 12:37:28
Score: 5
Natty: 6
Report link

enter image description here

OMG! Why?! What have I done to VS Code or GetLens?! Why VS Code think I'm a dead man? Look at this face color! How can I change this horrible horrible thing? It's my corporate account but unfortunately my company doesn't allow using 3rd party resources like gavatar.com.

This repo is from Azure DevOps. But we have GitHub account under the umbrella/tenant of my company.

So, how can I regenerated avatars in VS Code locally?

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Blacklisted phrase (0.5): how can I
  • Blacklisted phrase (0.5): Why?
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Yury Shpakov

79237097

Date: 2024-11-29 12:30:25
Score: 1
Natty:
Report link

You can directly installed as well from PyPI and then install.

pip install numpy-<version>-<platform>.whl

You can also consider to version upgrade of python following pip as second option.

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

79237096

Date: 2024-11-29 12:30:25
Score: 1
Natty:
Report link

The code you've written has a logical issue because you are chaining Eloquent methods incorrectly. The orderBy and take methods should be used before the get method. The get method retrieves the results and ends the query building process.

$full = Fulls::orderBy('count', 'desc')->take(5)->get();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ilius Sagar

79237095

Date: 2024-11-29 12:29:25
Score: 2.5
Natty:
Report link

I FOUND OUT THAT IN ANY OF MODULE , VARIABLE DECLARATION WAS PENDING, THATS WHY IT WAS NOT ACCEPTING THE MACRO RECORDING,..MAKE SURE YOU HAVE 'CHECKED MACROS BY 'COMPILE VBA PROJECT' FIRST AND THEN TRY RECORDING OR RUNNING MACRO.

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

79237089

Date: 2024-11-29 12:28:24
Score: 12.5 🚩
Natty:
Report link

I am having the same issue. Did you find any fix?

Reasons:
  • RegEx Blacklisted phrase (3): Did you find any fix
  • RegEx Blacklisted phrase (1.5): fix?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mihai Boroş

79237088

Date: 2024-11-29 12:28:24
Score: 4.5
Natty:
Report link

I wish I could comment, but I still don't have permissions. It would be more helpful if you show your code, without code is not easy to identify the why.

I have assumption that you should add the viewport height (100vh) to the body, but that is just an guess, please provide code information

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

79237082

Date: 2024-11-29 12:26:23
Score: 2.5
Natty:
Report link

If your React app is showing a blank white screen on localhost:3000, it might be helpful to test your display using a Whitescreen background. This can help you confirm if the issue is related to your display hardware or rendering inconsistencies. Once that's ruled out, you can focus on debugging your code, such as checking for issues in your routes, components, or React setup.

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

79237071

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

The reason for this issue is that the aksusbd software needs to be started with the systemd daemon after installation,but Docker does not recommend starting the systemd process inside the container, and the official rockylinux image does not have the systemd image installed, My solution here is to manually create the "/run/systemd/system" directory before installing aksusbd. There will be warnings during the installation process but no errors. Then, when using the container, start aksusbd first and execute the required programs. My Dockerfile is as follows:

FROM centos:7.9.2009

RUN export DOCKER_RES_URL=http://172.16.31.68:17637 && \
 rm -rf /etc/yum.repos.d/*.repo && \ 
 curl -o /root/hasp.rpm                    $DOCKER_RES_URL/aksusbd-8.53-1.x86_64.rpm && \
 curl -o /etc/yum.repos.d/CentOS-Base.repo $DOCKER_RES_URL/Centos-7.repo && \
 curl -o /etc/yum.repos.d/epel.repo        $DOCKER_RES_URL/epel-7.repo && \
 mkdir -p /run/systemd/system && \
 rpm -Uvh /root/hasp.rpm && rm -rf /root/hasp.rpm && \ 
 yum clean all && rm -rf /var/cache/yum/*

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: wind

79237069

Date: 2024-11-29 12:21:21
Score: 4
Natty: 5
Report link

I know this is an old post but had issue with slow imports recently and timeouts at 100%. This plugin helps to optimise wordpress SQL and really helped speed up my imports https://www.superspeedyplugins.com/

Reasons:
  • Blacklisted phrase (1): This plugin
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nigel Hughes

79237067

Date: 2024-11-29 12:21:20
Score: 5.5
Natty: 6.5
Report link

Sorry to do it so since i can't comment yet. But is there not a way to build the libiconv with :

Reasons:
  • RegEx Blacklisted phrase (1): can't comment
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Christophe Van Reusel

79237064

Date: 2024-11-29 12:19:19
Score: 5.5
Natty: 7
Report link

Thanks, @srk , you saved me ^^

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (2):
  • No code block (0.5):
  • User mentioned (1): @srk
  • Single line (0.5):
  • Low reputation (1):
Posted by: Maros

79237062

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

I had the same issue, and it turned out to be caused by having multiple accounts logged into Xcode. Some of these accounts were unnecessary. Once I removed the extra accounts from Xcode > Settings > Accounts, the team dropdown populated correctly. If you're facing this, try cleaning up the accounts and keeping only the ones you actually need.

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

79237058

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

Thanks to Yurii for letting me know the change of behavior at FastAPI 0.106.0. It seems impossible to extend the lifespan of object (or at least cannot be done in a clean way).

After some research I realize the best practice is still to serialize and cache the object before the end of endpoint, and start a new context in a background task. So there has to be a different context manager that doesn't load object from cache, but instead use an existing object, and still save it to the cache.

Here I give my modification for reference, just added an async context manager method autosave, and used it in the async generator. In this example it's equivalent to manually save, but this pattern can extend to more complicated scenarios.

    @asynccontextmanager
    async def autosave(self, cache: dict):

        yield 
        await self.save(cache)

    async def chat(self, msg: str, cache: dict):
        self.add_message(msg)

        async def get_chat():
            async with self.autosave(cache=cache):
                resp = []
                for i in range(random.randint(3, 5)):
                    # simulate long network IO
                    await asyncio.sleep(0.1)
                    chunk = f"resp{i}:{random.randbytes(2).hex()};"

                    resp.append(chunk)
                    yield chunk

                self.add_message("".join(resp))

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Cobalt Rimbo

79237055

Date: 2024-11-29 12:15:18
Score: 3
Natty:
Report link

I suspect that this may be more a classpath related issue on the EMR Cluster, than a Maven one, if you already checked that your artifact has any of that old dependencies.

Please check these other issues: Spark EMR job jackson error - java.lang.NoSuchMethodError - AnnotatedMember.getType()Lcom/fasterxml/jackson/databind/JavaType

How do I set my EMR Classpath

Also in those case, there was a conflict on a Jackson library that was provided in the cluster.

Reasons:
  • Blacklisted phrase (1): How do I
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
Posted by: Francesco Poli

79237052

Date: 2024-11-29 12:14:17
Score: 5
Natty:
Report link

did you guys fix that?

const secretKey = Hmac256Util.generateHmac( process.env.key, 'WebAppData', ); const dataHex = Hmac256Util.generateHmac(dataCheckString, secretKey);

Reasons:
  • RegEx Blacklisted phrase (1.5): fix that?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: jt Trịnh

79237048

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

Meta data and title are correctly visible on inspect tab but not visible on page source view. How can fix this issue.

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

79237019

Date: 2024-11-29 12:04:15
Score: 1.5
Natty:
Report link

. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.. Write a program that reads the number of feet from the user, followed by the number of inches. Once these values are read, your program should compute and display the equivalent number of centimetres, rounded to 1 decimal place.

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

79237007

Date: 2024-11-29 12:01:13
Score: 7.5 🚩
Natty: 6
Report link

Невыгодно показывать рекламу тот кто даже не может прочитать ее из другой страны

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

79237004

Date: 2024-11-29 12:00:12
Score: 1
Natty:
Report link

URLs List: Your urls variable is a set, but you're treating it like a list. Sets are unordered collections, so iterating over them won't maintain the original order of the URLs. You should use a list instead.

URL Formatting: Ensure that all URLs are correctly formatted and accessible. Sometimes, the issue might be with the URLs themselves.

Error Handling: You're catching RequestException, which is good, but you're printing the error message and continuing. This might be causing the invalid formats or none of the pictures being downloaded. Consider handling specific exceptions or retrying the download.

Image Extension Handling: The way you're extracting the file extension might not be robust. For example, URLs might not have a file extension or might have query parameters after the extension.

Retry Mechanism: Implementing a retry mechanism could help in cases where the download fails due to temporary issues.

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

79237002

Date: 2024-11-29 11:59:11
Score: 1
Natty:
Report link

I also stumbled upon this exact same error when I wanted to profile a Spring web app running on a Tomcat. It also crashed my IDE (IntelliJ IDEA 2024.2.3 (Ultimate Edition)) each time I tried to stop the profiler.

I found that if you want to stop the profiler when you want, you have to launch Tomcat normally, THEN attach a profiler on its thread. You can then stop the attached profiler without issues and read results.

To attach the profiler on a running Tomcat, follow these steps :

  1. Launch Tomcat normally (NOT with "Profile Tomcat" option)
  2. Go to the Profiler pane, in Home tab right click on the process tied to Tomcat and select Attach IntelliJ profiler (for me it's org.apache.catalina.startup.Bootstrap)
  3. The profiler is running in a second tab
  4. At this point you can stop the attached profiler anytime and check its results.

This doc page from jetbrains helped me found this feature : https://blog.jetbrains.com/idea/2021/10/5-best-features-for-profiling-java-code/#easy_run_fast_results

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

79236991

Date: 2024-11-29 11:55:11
Score: 1
Natty:
Report link

I use 'onDragStarted' and then get something like

function onDragStarted(evt) {
   if(evt.target.attributes['col-id'].nodeValue === 'my-target-col') {
      evt.api.dragAndDropService.eGhostIcon.nextElementSibling.innerHTML = 'my new header';
   }
 }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: sun-rock-2022

79236983

Date: 2024-11-29 11:53:10
Score: 1.5
Natty:
Report link

Why it fails is revealed by the print in:

    r = requests.get(urlImmagine, allow_redirects=True)
    img_data=r.content
    print('X:',indice,r.reason)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): Why it
  • Low reputation (0.5):
Posted by: Hannu

79236979

Date: 2024-11-29 11:52:10
Score: 1
Natty:
Report link

If you still wanting to use the old deprecated Butter Knife, you can opt to use this fork version:

implementation 'com.github.JakeWharton:butterknife:butterknife-parent-7.0.1'

Refer to this project package documentation.

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

79236978

Date: 2024-11-29 11:52:09
Score: 7 🚩
Natty: 6
Report link

This is not an answer, more a question to @lavoizer: I've written similar code to yours, which works for Classic Custom Log Tables. However, it does not work for Modern Custom Log Tables. It looks like a DCR maybe required. Have you got this working with Modern Custom Log Tables?

Reasons:
  • Blacklisted phrase (1): not an answer
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @lavoizer
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: GJ-Hardie

79236975

Date: 2024-11-29 11:51:09
Score: 3
Natty:
Report link

use new Chartist.PieChart('#MyChart', this.chartData, this.chartOptions);

instead of .pie

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sajid Mulani

79236971

Date: 2024-11-29 11:49:07
Score: 6.5 🚩
Natty: 5
Report link

I am also facing the same issue and I have allowed access from anywhere in my cluster. Still I am facing the same issue.

Reasons:
  • Blacklisted phrase (1): I am also facing the same issue
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am also facing the same issue
  • Me too answer (0): I am facing the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Yrjd Fans

79236970

Date: 2024-11-29 11:49:07
Score: 4.5
Natty:
Report link
m => m.Intervals(c => c
.Field(new Field(fieldName, null, null))
.Match(ma => ma
.Query(queryValue)
.MaxGaps(0)
.Ordered(true)
                                                    
)
)

I am using Intervals to filter the records basis on fieldname and fieldvalue which is passing in queryvalue parameter , i am facing one problem in this , i dont find any solution to pass multiple fields with different queryvalue per field . In this Intervals function , how to pass multiple fields with different values,as collection of fields with values.

Please provide me any solution

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2.5): Please provide me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Ashish

79236962

Date: 2024-11-29 11:46:06
Score: 0.5
Natty:
Report link

Hi @HaripriyaSathiish,

This issue seems related to either database corruption during migration or compatibility with PHP 8.0 and MySQL 8.0. As @phucbm pointed out, checking the wp_posts table is a good start. Ensure it has proper AUTO_INCREMENT and primary key configurations.

Additionally, check these if -

Disable Plugins - Rename plugins and mu-plugins to rule out plugin-related errors, as @HowardE mentioned.

Database Re-import - Re-import the database using the --force flag to bypass incomplete logs.

Test Compatibility: Switch to earlier version of PHP that 7.4 temporarily to see if the issue is resolved.

For detailed steps on WordPress migrations, check this https://www.wpbeginner.com/beginners-guide/ultimate-wordpress-migration-guide/ let me know if all works

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @HaripriyaSathiish
  • User mentioned (0): @phucbm
  • User mentioned (0): @HowardE
  • Low reputation (0.5):
Posted by: Jack D

79236956

Date: 2024-11-29 11:44:05
Score: 4
Natty: 5
Report link

I had a similar problem and this solved it. Thank you.

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

79236955

Date: 2024-11-29 11:43:05
Score: 0.5
Natty:
Report link

Unless you want to learn how to implement LinkedList in rust, you can just use LinkedList from std::collections

It has been in rust since 1.0.0 (As per the documentation)

Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Mandar Vaze

79236954

Date: 2024-11-29 11:42:04
Score: 2.5
Natty:
Report link

The solution for me was that I had forgotten to mock some dependencies used in the child component in the test for the parent component (Next image service).

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

79236946

Date: 2024-11-29 11:39:03
Score: 2
Natty:
Report link

Unit tests with full stack traces help identify errors in both front-end and back-end code during testing. Stack traces provide detailed information about where and why a test fails, showing the specific file and line number. This makes debugging easier, ensuring smooth development in full-stack applications.

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

79236940

Date: 2024-11-29 11:37:03
Score: 0.5
Natty:
Report link

Try using this approach:

const text = `1066000;Byggnation plats bron;Byggnation allmän plats;"5501;5501112076";2000-03-11;2000-03-17;Överlämni;Ej startat;`;
const regex = /(?<=\")[^\"\r\n]*;[^\"\r\n]*(?=\")/g;
const matches = text.match(regex);
console.log(matches);  // ["5501;5501112076"]

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Trushaba B. Jadeja

79236939

Date: 2024-11-29 11:36:03
Score: 1.5
Natty:
Report link

Oh frustrating one , but it usually stems from either resource constraints or issues like session termination or corruption. As @Anduin Xue mentioned, common causes include disk space problems, tempdb contention, or corrupted indexes.

To fix it, start with DBCC CHECKDB to confirm there’s no corruption. If no issues are found, check the tempdb configuration—it might need more space or additional files for better performance. Also, try running the index creation in single-user mode to avoid potential locking issues.

For a full troubleshooting guide, check this https://learn.microsoft.com/en-us/troubleshoot/sql/database-engine/database-file-operations/troubleshoot-dbcc-checkdb-errors. Let me know if it all works .

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @Anduin
  • Low reputation (0.5):
Posted by: Jack D

79236935

Date: 2024-11-29 11:36:03
Score: 2.5
Natty:
Report link

you must add this keyboardShouldPersistTaps="handled" on all ancestors or as mentioned on Documentation

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

79236922

Date: 2024-11-29 11:30:01
Score: 0.5
Natty:
Report link

You can download the PDF standard for free here:

https://pdfa.org/resource/iso-32000-2/#

Once you've read all the objects in the PDF, finding and extracting the embedded files is easy. The first part isn't, though.

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

79236917

Date: 2024-11-29 11:30:01
Score: 3.5
Natty:
Report link

You can checkout this css-tricks doc.

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

79236916

Date: 2024-11-29 11:30:01
Score: 2.5
Natty:
Report link

reading online and asking around it seems the issue was this file: /opt/tomcat10/webapps/name_of_/WEB-INF/lib/log4j-slf4j2-impl-2.21.1.jar after deletion it started.

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

79236913

Date: 2024-11-29 11:29:01
Score: 2.5
Natty:
Report link

You can create a Makefile where you can set flags for the specific version. I am guessing since you are new you won't be needing more than one source file. So writing your own Makefile won't be difficult.

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

79236900

Date: 2024-11-29 11:27:00
Score: 0.5
Natty:
Report link

So if you have only these two conditions then you can try this solution

Solution

  1. This will target only the child of p tag

    p>em { color: #ff0000; font-size:30px; }

  2. If em is below

    tag then this code will target every em that is below

    tag

    p+em { color: #ff0000; font-size:30px; }

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Sahil Palad

79236894

Date: 2024-11-29 11:23:59
Score: 2.5
Natty:
Report link

It worked finally but apparently with local files it is important to use /// slashes rather than backslashes \ which automatically paste when copied from a local path.

Reasons:
  • Whitelisted phrase (-1): It worked
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Adam

79236893

Date: 2024-11-29 11:23:59
Score: 2
Natty:
Report link

For me the solution was to acknowledge the fact that I'm not just printing the content but also storing it in the device, and for that android permissions were needed ("permissions": [ "NOTIFICATIONS",
"WRITE_EXTERNAL_STORAGE", "READ_EXTERNAL_STORAGE"] ).

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Matko Milić

79236889

Date: 2024-11-29 11:22:59
Score: 1
Natty:
Report link

I have problem for converting to API string number to int then i use

<circle-progress
[percent]="progressPercent(class.complete_status)"
...
></circle-progress>

And create a function in .ts file

progressPercent(per:any){
 return +per;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dharmendra Singh Patel

79236888

Date: 2024-11-29 11:21:58
Score: 1.5
Natty:
Report link

If nestedScrollEnabled is not working, try to replace react native's ScrollView to components provided by react-native-gesture-handler

import { ScrollView, FlatList } from 'react-native-gesture-handler';
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alpenmilch

79236882

Date: 2024-11-29 11:20:58
Score: 3.5
Natty:
Report link

pls just show me your build.gradle, app/build.gradle and settings.gradle code

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

79236875

Date: 2024-11-29 11:17:57
Score: 2
Natty:
Report link

first of all, verify that the ADB is running, open the terminal, and check adb devices if you don't see the devices list then try to run these adb kill-server adb start-server

try to reboot the device as well

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

79236873

Date: 2024-11-29 11:17:57
Score: 1.5
Natty:
Report link

If you need to list after building, you can run docker-compose exec <img> pwd or docker-compose exec <img> ls.

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

79236869

Date: 2024-11-29 11:15:56
Score: 3
Natty:
Report link

First, please open your emulator from Android Studio, after that try again.

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

79236868

Date: 2024-11-29 11:15:56
Score: 1
Natty:
Report link

The coordinate mapping between camera feed and overlay can be tricky. While you could adjust your mapBoundingBoxToView logic, you might want to consider using a commercial solution if this is for a production app. For example, the Scanbot SDK provides bounding box overlays out of the box, which could save you time debugging these coordinate mapping issues. You can check out their documentation at https://docs.scanbot.io/barcode-scanner-sdk/android/barcode-scanner/ready-to-use-ui/#ar-overlay (full disclosure: I work with Scanbot).

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: j-s-g-shvaa

79236866

Date: 2024-11-29 11:13:56
Score: 2
Natty:
Report link

Parcheamos la importación de Hashable e Iterator

import collections from collections.abc import Hashable, Iterator

Aseguramos que el módulo 'collections' tenga las referencias correctas

setattr(collections, 'Hashable', Hashable) setattr(collections, 'Iterator', Iterator)

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: bastian alexis mamani yucra

79236865

Date: 2024-11-29 11:13:56
Score: 4.5
Natty:
Report link

you should check this bro: this is a good example to use koin

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

79236863

Date: 2024-11-29 11:13:56
Score: 3
Natty:
Report link

It would seem quite intuitive for the performance profiler of Chrome to respect whatever the currently selected frame is from within the console drawer, for example. Firefox here handles this much more on the user-friendly and intuitive side.

In Chrome, it's likely a by-product of the way in which the performance profiler operates against the default "active" frame, favoring the top-level window unless manually forwarded. Annoyingly, Chrome doesn't seem to automatically adjust itself when a context is selected from within the console drawer for performance profiling.

A few points and some possible explanations behind this design decision follow.

Why Chrome Defaults to Top-Level Window Profiling

  1. Historical Design Choices: Chrome DevTools was initially built with a focus on the top-level document for profiling. Explicitly profiling iframes likely required additional mechanisms to isolate and record data from nested frames.

  2. Cross-Origin Security Concerns: Profiling of nested iframes, especially cross-origin ones, is complex due to the browser security models. Chrome may default to the top-level window intentionally to avoid accidentally violating security boundaries or accessing data that is restricted.

  3. Resource Management: Profiling deeply nested or multiple iframes could be quite resource-intensive for the browser. By defaulting to the top-level frame, Chrome avoids the risk of capturing excessive, irrelevant data when the user isn't explicitly targeting an iframe.

Steps Forward for Chrome

Given the obvious advantages of Firefox's behavior, Chrome's DevTools team may fix this inconsistency at some point in the future. You can help make that by create a pull request in the Chrome DevTools GitHub repository.


Workarounds for Chrome Today

  1. Isolate the iframe: Open the iframe in a new tab or use "Inspect Frame" to open a DevTools session specifically for the iframe. This will force Chrome to focus only on that frame when it profiles.

  2. Use Firefox: If you need to profile nested frames as an integral part of your workflow, and you want a smoother experience, then Firefox's performance profiler may be a better tool for you.

  3. Third-Party Tools: For more complicated iframe configurations, consider third-party utilities like Lighthouse or running custom Puppeteer scripts.

Reasons:
  • RegEx Blacklisted phrase (3): You can help
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Adam Basha

79236861

Date: 2024-11-29 11:12:55
Score: 1
Natty:
Report link

Try commenting out the use of relocate.

    shadowJar {

        
//        relocate("co.aikar.commands", "com.angel.mc.lib.acf")
//        relocate("co.aikar.locales", "com.angel.mc.lib.locales")
    }

The reason is unknown, perhaps PaperMC already uses co.aikar.commands or co.aikar.locales internally.

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

79236854

Date: 2024-11-29 11:11:55
Score: 1
Natty:
Report link

Change this:

<sw-text-editor
    v-model="blockContent"
    :allow-inline-data-mapping="true"
    sanitize-input
        @element-update="onElementUpdate">
</sw-text-field>

to this:

<sw-text-editor
    v-model="blockContent"
    :allow-inline-data-mapping="true"
    sanitize-input
        @element-update="onElementUpdate">
</sw-text-field>

you use the open tag of "sw-text-editor" but you close with "sw-text-field".

Or you look at the base components: https://github.com/shopware/shopware/blob/ab564a66dbaa112dfa20099881a718a80813c482/src/Administration/Resources/app/administration/src/module/sw-cms/elements/text/component/sw-cms-el-text.html.twig#L10

Here:

<sw-text-editor
    v-else
    v-model:value="element.config.content.value"
    :disabled="disabled"
    :vertical-align="element.config.verticalAlign.value"
    :allow-inline-data-mapping="true"
    :is-inline-edit="true"
    sanitize-input
    sanitize-field-name="app_cms_block.template"
    enable-transparent-background
    @blur="onBlur"
    @update:value="onInput"
/>
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Johannes Fischer

79236853

Date: 2024-11-29 11:11:55
Score: 3.5
Natty:
Report link

I am getting this error while evaluating the expression in vs code : Cannot evaluate because of java.lang.IllegalStateException: Project abc cannot be found..

my launch.json is as below;

{ "version": "0.2.0", "configurations": [
{ "type": "java", "name": "Debug-AEM 4502", "projectName": "abc", "request": "attach", "hostName": "localhost", "port": 5005, "timeout": 30000 } ] }

Reasons:
  • Blacklisted phrase (1): I am getting this error
  • RegEx Blacklisted phrase (1): I am getting this error
  • No code block (0.5):
  • Low reputation (1):
Posted by: Punit Muddebihal

79236851

Date: 2024-11-29 11:10:55
Score: 1
Natty:
Report link

Check diff in all files from specific directory between eg. develop branch and feature/my_feature branch:

git checkout develop
git diff feature/my_feature: src/main/
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: matt91t

79236849

Date: 2024-11-29 11:09:55
Score: 1
Natty:
Report link

the working library for Exoplayer is now

implementation 'androidx.media3:media3-exoplayer:1.5.0'

adjust your dependency in build.gradle (app level) accordingly.

Refer to the AndroidX Media documentation and latest releases here.

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

79236844

Date: 2024-11-29 11:06:54
Score: 1
Natty:
Report link

Let us know the database you are using.

Here is an example I used in Postgres

Fiddle

  SELECT  TO_TIMESTAMP('01.01.2024 00:06:09.125', 'DD.MM.YYYY HH24:MI:SS.MS') 
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: samhita

79236829

Date: 2024-11-29 11:02:53
Score: 0.5
Natty:
Report link

No, borrowed_range does not imply view, for example, std::ranges::owning_view is not a borrowed range as the life time of elements is tied to the life time of the view.

#include <ranges>
#include <vector>

int main() {
    std::vector vec{1,2,3};
    std::ranges::owning_view s(std::move(vec));
    static_assert(!std::ranges::borrowed_range<decltype(s)>);
}

I'm still not sure if there is any other view that is not a std::ranges::borrowed_range

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

79236824

Date: 2024-11-29 10:59:52
Score: 2
Natty:
Report link

For anyone wondering, I gave up with Electron.

At the end I made I simple WPF desktop app with C# with a WebView in it. So much more flexible and much more less work required to get it working properly. Probably this is not the right solution for everyone, but since I needed to run it only on desktop Windows environment, for me this was perfect.

Reasons:
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: IFrank

79236807

Date: 2024-11-29 10:55:52
Score: 2
Natty:
Report link

No, .NET 8 does not support ASPX and ASCX files. ASPX and ASCX are part of the ASP.NET Web Forms technology, which is considered legacy and is not actively developed or supported in newer versions

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

79236800

Date: 2024-11-29 10:53:51
Score: 0.5
Natty:
Report link

An important update to make this thread up to date.

The Guild took part of GraphQL Mesh and turned it into a GraphQL gateway called Hive Gateway - here's a blog post about it.

GraphQL Mesh is now using GraphQL Federation under the hood to compose different APIs (gRPC, OpenAPI, Swagger, databases etc.) into a Supergraph served by Hive Gateway.

Right now the difference between GraphQL Mesh and Apollo Federation is that GraphQL Mesh turns any API into GraphQL that can be served as Apollo Federation subgraph. In short, GraphQL Mesh extends Apollo Federation, it takes it to the next level.

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

79236791

Date: 2024-11-29 10:50:50
Score: 3
Natty:
Report link

removing 'use_modualar_headers!' at top of my podfile solved the issue for me after hours of searching for a solution.

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

79236785

Date: 2024-11-29 10:49:50
Score: 4
Natty:
Report link

If I read your code correctly then your init.sql is not used anywhere, that why there is no tables.

Check this example how to initialize DB:

How can I initialize a MySQL database with schema in a Docker container?

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
Posted by: os11k

79236784

Date: 2024-11-29 10:49:50
Score: 1.5
Natty:
Report link

If you are using vs code the consolas font is installed:

<span style="font-family:consolas">0</span>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: MemoryGuy

79236778

Date: 2024-11-29 10:48:49
Score: 3
Natty:
Report link

If you want to have something up and running quickly I recommend to combine Hive Gateway that will act as the entrypoint to you graph with GraphQL Mesh that will turn your REST APIs into subgraphs.

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

79236771

Date: 2024-11-29 10:45:49
Score: 1.5
Natty:
Report link

I’m not really sure this is the issue you are facing but I faced loss of reactivity too on reusable components before. This was due to props destructuring removing reactivity, so try to use your component without destructuring it.

Check this out here: https://www.solidjs.com/tutorial/props_defaults

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

79236768

Date: 2024-11-29 10:44:48
Score: 0.5
Natty:
Report link

I managed to have some luck with this. My code looks similar to yours OP, but my compose entry looks a bit different, and I wonder if your issue was simply related to network: host. Shouldn't it be network_mode: host and outside of build?

services:
  avahi:
    build:
      context: ./config/avahi
      dockerfile: DockerFile
    network_mode: host
    cap_add:
      - NET_ADMIN
      - NET_BROADCAST

On another note, I'm running into hostname conflicts between Avahi in the container and the host. Need to confirm, but setting disable-publishing=yes in the host avahi-daemon.conf is showing promise, in case it helps anyone else and is suitable for your use case.

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

79236765

Date: 2024-11-29 10:42:48
Score: 0.5
Natty:
Report link

I fixed the issue running Visual Studio as Administrator

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Nicola Di Lillo

79236764

Date: 2024-11-29 10:42:48
Score: 3
Natty:
Report link

var dropzone2Instance = Dropzone.forElement("#upload_name"); // Get the Dropzone instance by the element ID dropzone2Instance.removeAllFiles();

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

79236762

Date: 2024-11-29 10:41:48
Score: 1
Natty:
Report link

Unfortunately Netflix's Gateway is not open source, but you have nowadays many options to choose from. I created an audit to test them all and how well they support Apollo Federation: https://the-guild.dev/graphql/hive/federation-gateway-audit

To my knowledge, the gateway of Netflix is tailored to their specific needs and their way of working with Apollo Federation (v1).

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

79236752

Date: 2024-11-29 10:38:47
Score: 0.5
Natty:
Report link

in order to solve this issue. You can simply use the not selector to select every em element not a child of a p element.

If you have issues with this answer or if I didn’t totally answered it, let me know !

:not(p) > em {
    properties
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Johan

79236740

Date: 2024-11-29 10:36:46
Score: 0.5
Natty:
Report link

Check Variable Lifetimes and Optionals selectedHashtag Optional: You mentioned that selectedHashtag is an optional and it's nil when the view appears. Make sure that wherever this variable is initialized or set, it's done correctly and in a way that's consistent with how the HashtagSearchView expects it. If the HashtagSearchView is relying on this variable not being nil and you're passing nil without proper handling in the view's initialization code, it could lead to crashes. For example, if the view is trying to access properties or call methods on the selectedHashtag object that's nil, it will cause issues. You might want to add some conditional checks in the HashtagSearchView's init method (or wherever it uses the selectedHashtag) to handle the nil case gracefully, like this: openHashtag Binding: The isPresented: $openHashtag binding is used to control the presentation of the navigationDestination. Check if the openHashtag property (assuming it's a @State or @Binding variable) is being updated and managed correctly. If it's being set or toggled in an unexpected way, it could cause issues with the presentation and lead to the crash. For example, make sure it's only set to true when you actually want to present the HashtagSearchView and that it's set back to false when appropriate. You can add some print statements to debug when and how openHashtag is changing, like this:

Button("Toggle Hashtag Search") {
    print("Toggling openHashtag, current value: \(openHashtag)")
    openHashtag.toggle()
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @State
  • User mentioned (0): @Binding
  • Low reputation (1):
Posted by: 蓝小坤

79236738

Date: 2024-11-29 10:35:46
Score: 2
Natty:
Report link

Simply:

ggsurvplot(fit, palette = c("#C83296", "#009EA0"), pval = "My custom p-value", legend = c(0.84, 0.8), legend.title = "", ggtheme = theme_kcl)

for details look https://github.com/kassambara/survminer/issues/189

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

79236735

Date: 2024-11-29 10:34:46
Score: 1.5
Natty:
Report link

Instead TreeSet I would able to achieve using HashSet.

Set<TestFoo> existingItems = readsFromDb(syncGuid);

Set<TestFoo> newItemsSet = new HashSet<newItems>;


if (!newItemsSet.equals(existingItems)) {
  
}

In TestFoo Pojo I have just override the equals and hash method

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

79236732

Date: 2024-11-29 10:33:45
Score: 1
Natty:
Report link

In Python 3.8 and higher there is a feature for cases like this - assignment expression.

test = {
    'x' : (x_val := 1),  # this can be something complex, 
                         # like function call or whatever
    'y' : x_val + 1,
}

So basically, you assign value of 'x' to some variable and then just use it.

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

79236724

Date: 2024-11-29 10:31:45
Score: 5
Natty: 4.5
Report link

Is there any other alternative available. I'm also looking to find an SDK which will help me build AR applications for Linux. Currently ARToolKit is the only one I could find, but it looks very hard to use since there is very less Documentation about the SDK.

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): Is there any
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Is there any
  • Low reputation (1):
Posted by: stephinmat

79236720

Date: 2024-11-29 10:30:44
Score: 0.5
Natty:
Report link

So the problem was that in the child, the parent is fetch eagerly. And Hibernate is too stupid to deal with it.

See Spring Data JPA : Repository DeleteById method not working

So

@ManyToOne(fetch = FetchType.LAZY)
private Study study;

And deal with the "could not initialize proxy" errors with @Transactionnal.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Transactionnal
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Julien

79236718

Date: 2024-11-29 10:30:44
Score: 0.5
Natty:
Report link

You need to register the scalar, give it a context:

extend schema @link(url: "https://my-whatever-spec--the-address-does-not.matter/json/v1.0", import: ["JSON"])

scalar JSON

type User {
  details: JSON @shareable
}

And in your other subgraphs, you do the same @link thing.

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

79236705

Date: 2024-11-29 10:26:43
Score: 2
Natty:
Report link

I'm not using Powershell, but I had a look in the .net documentation and found that error code 155 = "A null value was passed in where a null value is not allowed" . seems you are passing null somewhere, hope that helps.

Screenshot Error codes

Reasons:
  • Whitelisted phrase (-1): hope that helps
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Alain

79236698

Date: 2024-11-29 10:24:42
Score: 3
Natty:
Report link

Another solution for this error is to install this Session Manager plugin for AWS CLI, if you do not already have it. So you do not have to modify manually the AWS configuration.

Source: https://repost.aws/questions/QUNltQgbVpTtGkR1dZ3mJcTA/error-user-cannot-terminate-their-own-ssm-session-when-trying-to-use-scp

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

79236696

Date: 2024-11-29 10:23:42
Score: 2
Natty:
Report link

To perform calculations via sql server

For days SELECT DATEDIFF(DAY,'2024-11-01','2024-11-28') AS days_difference;

For months SELECT DATEDIFF(MONTH,'2024-11-01','2024-11-28') AS months_difference;

For years For days SELECT DATEDIFF(YEAR,'2024-11-01','2024-11-28') AS years_difference;

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

79236694

Date: 2024-11-29 10:22:42
Score: 2
Natty:
Report link

5xx Implies unexpected server failures that are not actionable by client, hence they're not added to the spec most of the time

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

79236685

Date: 2024-11-29 10:20:41
Score: 1
Natty:
Report link

you need add JsonFormWriter bean to your feign config for send Java object as json in request part:

@Bean
public JsonFormWriter jsonFormWriter() {
    return new JsonFormWriter();
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: tahirhasanov

79236684

Date: 2024-11-29 10:20:41
Score: 2.5
Natty:
Report link

There are a few alternative GraphQL gateways (free) nowadays, check the audit I did to measure how compatible they are with Apollo Federation spec: https://the-guild.dev/graphql/hive/federation-gateway-audit

I would say it's hard to build your own gateway, because of the complexity of the Apollo Federation spec and there are literally 0 libraries that will help you build one. When I say it's complex, I mean it, just look at the tests I created for the audit (it's open source).

You could potentially use Apollo's query planner (JavaScript, but soon also in Rust) to generate a Query Plan, that you will execute in Python, but is it worth the effort when you have so many options that have good plugin system?

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

79236683

Date: 2024-11-29 10:20:41
Score: 0.5
Natty:
Report link

In the days of 4.1 I used this github project as a start:

https://github.com/Dinkh/elmasse-bundle

With this you can switch the language, though it does not update the current view.

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

79236675

Date: 2024-11-29 10:18:41
Score: 0.5
Natty:
Report link

As mentioned by DarkBee and melvio, the question is very vague and needs clearer specification.

That said, what you are talking about is either a so-called ragged hierarchy or an unbalanced one, or both. It's impossible to say from the description provided. If a hierarchy has no children the drilldown will not be rendered by default. If you do have children the drill-down will be rendered. Having children but stopping the drilldown is non-sensical with regards to how hierarchies work.

Reasons:
  • Blacklisted phrase (1): regards
  • No code block (0.5):
  • High reputation (-1):
Posted by: Chris

79236673

Date: 2024-11-29 10:17:40
Score: 3.5
Natty:
Report link

This MR fix the issue, just to wait the merge https://github.com/primefaces/primeng/pull/16826

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

79236665

Date: 2024-11-29 10:14:39
Score: 2
Natty:
Report link

Disable this Editor: Show Unused (Controls fading out of unused code.)

Also i had to restart SSH connection before the setting kicked in on a remote file; but sure enough fixed it for me.

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

79236660

Date: 2024-11-29 10:14:39
Score: 3.5
Natty:
Report link

Providing additional link to documentation for Timus's answer

Here is a link to the documentation which explains groupby on categorical dtypes:

https://pandas.pydata.org/pandas-docs/stable/user_guide/groupby.html#handling-of-un-observed-categorical-values

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

79236655

Date: 2024-11-29 10:13:39
Score: 1.5
Natty:
Report link

Here is the gerrit document's description regarding ACK:

Comments can be unresolved (something should be changed) or resolved (informational). If you have addressed an unresolved comment in a next patchset, you can quickly resolve the comment by clicking "Done" (if it was resolved in a next patchset) or "Ack" (if you acknowledge the comment, but don’t want to make changes).

https://gerrit-review.googlesource.com/Documentation/user-review-ui.html

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

79236646

Date: 2024-11-29 10:11:38
Score: 0.5
Natty:
Report link

This is bash script for above answer. Change codeql-custom-queries-javascript if needed.

# https://stackoverflow.com/questions/76334385/how-do-i-display-full-string-in-a-codeql-exported-result

# curl https://raw.githubusercontent.com/github/codeql/refs/heads/main/javascript/extractor/src/com/semmle/js/extractor/TextualExtractor.java > TextualExtractor.java

# sed -i 's/if (str.length() > 20)/if (str.length() > 20 \&\& true)/g' TextualExtractor.java

extractor="$(codeql resolve extractor --language=javascript-typescript)/tools/extractor-javascript.jar"
echo "$extractor"
javac -cp "$extractor" TextualExtractor.java
rm -rf temp || true
mkdir temp
cd temp
jar xf "$extractor"
cd ..
cp TextualExtractor.class temp/com/semmle/js/extractor/
jar cf extractor-javascript.jar -C temp .
rm -rf temp
mv "$extractor" "$extractor.bak"
cp extractor-javascript.jar "$extractor"
cd codeql-custom-queries-javascript
codeql pack install --force
cd ..
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Vadym Holoveichuk

79236644

Date: 2024-11-29 10:11:38
Score: 1
Natty:
Report link

I tried to cover this topic (what GraphQL Federation is and when to use it) on my page.

In short, when you have a big monolithic GraphQL API, every team has to contribute their domain in one language and one tech stack (framework). The deployment queue may get longer and it will have an impact on productivity (speed of iteration). Also, when everyone contribute to the same codebase, to the same GraphQL server, then there's a chance that a change with a performance regression slips through, or something that causes a runtime exception that may kill your server.

GraphQL federation helps you solve those issues. When you break down your monolithic GraphQL API into smaller parts, called subgraphs, each team work on their domain independently and deploy at their own pace.

Thanks to the process called schema composition, the integrity of those subgraphs is validated and their schemas are combined into one unified schema, the supergraph, this way the distributed system feels like a monolithic API to the end GraphQL consumer.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Kamil Kisiela

79236642

Date: 2024-11-29 10:10:38
Score: 3
Natty:
Report link

Vue wrapped the variable in a proxy that made it unable for the TwilioVoiceSDK to properly function. Using markraw by Vue for the variable to not be wrapped as a proxy was the solution.

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

79236635

Date: 2024-11-29 10:08:36
Score: 14.5 🚩
Natty: 6.5
Report link

How did you solve the problem?

Did you manage to have the @Model class confirm to AppEntity, or do you convert between them when going to the persistence layer?

Reasons:
  • RegEx Blacklisted phrase (3): did you solve the problem
  • RegEx Blacklisted phrase (3): Did you manage to
  • RegEx Blacklisted phrase (1.5): solve the problem?
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Model
  • Starts with a question (0.5): How did you solve the
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Clemens Auer

79236632

Date: 2024-11-29 10:07:36
Score: 1.5
Natty:
Report link

You might be confusing the SDK version with the Android version. The Play Store requires apps to be compiled with the latest SDK version, which is currently SDK version 34. This means your compile Sdk and target Sdk should be set to 34. The minimum Sdk version must be at least 23, as that's a requirement for using SDK 34 (You can refer here)

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Vishnu S Dharan

79236624

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

Arcquillina Chameleon is no capable to run on Java 11 since 2.2.0.Final wildfly-arquillian-container-managed

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