October 22, 2024
Chicago 12, Melborne City, USA
CSS

Layout Overflow in my WEB Page of About US: Resolving Extended Page Width Beyond Content Area in Web Page of ABOUT US PAGE

Part 1: Problem Overview In the About Us page of the project, after the "Let’s create something together" section, there is a visual issue with the layout. Specifically, the page’s width extends beyond its intended limit, and the height of the page continues to grow unnecessarily. The div containing the text and the "Email me"

Read More
C++

C Program ending after printf()

I’m making a mini system for personal educational purposes, but I’m not having success in this part. After executing a printf(), the program simply returns: Process returned -1073741819 (0xC0000005) const char* nomePastaContas = "contas"; char *ibanPessoal; char *passwordPessoal; void loginMenu(){ system("cls"); printf("\n\n IBAN: "); scanf("%s", &ibanPessoal); printf("\n\n Password: "); scanf("%s", &passwordPessoal); printf("Debug"); verificarConta(ibanPessoal, passwordPessoal); }

Read More
jQuery

php readfile() problem on download content (i read all related posts before send it)

I’m having trouble creating a secure download on my site, it’s not uploaded yet and it’s currently being tested on the xampp server on my PC. It should be noted that my operating system is Windows 11 this is my code: user click on a download link (jquery): $(document).on('click','.downfile',function(e){ e.preventDefault(); var reqfile=$(this).next().val(); $.post('php/downloadfile.php',{ reqfile:reqfile },function(data){});

Read More
HTML

Drag-and-drop action is being interpreted as a click, bypassing the confirmation dialog

We’ve got an EF6 MVC3 codeFirst-site. And recently i learned that if you click it, the confirm dialog works fine, but if you click and try to undo it by drag the link somewere and let go, you would assume that the click is cancelled. That works fine on my dev-environment but in production the

Read More
Android

Android 15. Edge to edge mode hide a top View

I have a Pixel 6 device and updated today Android version to 15. I test a simple activity for Android 15 and see that a part of top TextView is hiden. I guess this is a bug of edge-to-edge mode. How to disable this mode or fix this problem? I tryed many ways to show

Read More
PHP

Fix for “Attempt to read property “nodeValue” on null”

I’m using the following to get content from a list of feeds (in my example below only 2): $urlarray = array( array( 'name' => 'feed1', 'url' => 'https://example.com/feed1/rss'), array( 'name' => 'feed2', 'url' => 'https://example.com/feed2/rss'), ); Then to extract the entry details (title, description) with this: foreach ( $urlarray as $url ) { $rss->load( $url['url']

Read More
C#

Packing multiple writes into single TCP packet

I have a sequence of send() calls to write bytes to a TCP socket. Is it possible to force the socket to only send TCP packets when they are either full (exceeding the MTU) or I explicitly indicate that I’m done sequentially calling send()? Specifically, I have some code like: // these are user-provided, I

Read More
java

Java Plugin not recognized by Eclipse Committers

I implemented a plugin for Eclipse (Developers and Committers) which resolves variables in my Custom-Templates in a certain way. The Plug in (a simple Plug-In Project as .jar file) is in the dropins folder of eclipse. There it is being recognized and listed under "Installed Plug-Ins" within Eclipse. Anyways, my template-context dropdown menue is not

Read More
python

stdout output of shell command in python is truncated

I have a simple command where I’m processing a file and generating an output that is 25,000 lines. sh some_command.sh > foo.txt | wc -l Returns me a number showing that amount. Opening the file, I can see it also contains the same. I am trying to replicate this in a python command: First I

Read More
javascript

/usr/bin/chromium-browser NOENT error arises when calling puppeteer.launch

I am working on a project with Nest.js with a feature to generate PDF document. I am using puppeteer library to generate the PDF by the API https://pptr.dev/api/puppeteer.page.pdf It works well locally with the docker OS as Ubuntu. The chromium path I set is /usr/bin/chromium-browser. However, when I deploy to production with docker OS as

Read More