-
Gave Reputation to ryantroop in (char*)str+3 is acting like str+2
That, sir, is a fantastic question. My assumption is that the inline cast to a `char *` is somehow mangling the memory space on the stack, or the assumption of … -
Replied To a Post in how to compare between memory address contents with const void * ?
fgets? That's not the topic from the top. If you want to start another discussion about fgets() problems, do that. -
Replied To a Post in cpu usage
Let me share a recent HIGH system idle CPU process and a non-responding Windows incident. I won't bore you with all the details but what was it? The HDD was … -
Began Watching cpu usage
My laptop shows cpu usage 100 percent and all programs stop responding i am feed up of it -
Replied To a Post in how to compare between memory address contents with const void * ?
When crafting wheels my advice is to look at existing wheels. Memory comparison is a stock function so let's see how it's done and be done with minor functions in … -
Replied To a Post in how to compare between memory address contents with const void * ?
I have to ask why since https://github.com/gcc-mirror/gcc/blob/master/libiberty/memcmp.c has what I think has been the accepted method for decades. -
Began Watching how to compare between memory address contents with const void * ?
just as the title says how to compare between memory addresses's contents?, my function will get two memory pointers and i want to compare their first "len" from what they're … -
Replied To a Post in Calculating Entropy Question (C++)
Is this the Shannon Entropy we see at https://rosettacode.org/wiki/Entropy -
Began Watching Calculating Entropy Question (C++)
Hello, all. I am trying to calculate entropy, and I cannot get the calculations correct, or match the results with the assigned if-statements. I get a number that differentiates a … -
Replied To a Post in how to handle multiple operator precedence in c++
So that just changes my search to multiple operator precedence calculator in c++ windows source or https://www.google.com/search?q=multiple+operator+precedence+calculator+in+c%2B%2B+windows+source The first hit is interesting since it writes "uses the same operator precedence … -
Replied To a Post in how to handle multiple operator precedence in c++
Be aware this is a well done app. https://www.google.com/search?q=windows+c%2B%2B+calculator+source+code finds both source and tutorials. -
Began Watching how to handle multiple operator precedence in c++
Hello, I am building a calculator in c++ windows application form, i want the calculator to handle multiple operator precedence (for example, 2+4*5/3). but i am not sure how to … -
Replied To a Post in Building a new computer
https://www.phoronix.com/scan.php?page=article&item=ryzen-linux-10way&num=7 seems to be a recent benchmark of Linux on Ryzen and Threadrippers. There are (today) three Intel builds at PCMR. -
Replied To a Post in Building a new computer
Ahh, gaming taps more than the CPU. My current fav build is kind of a monster. It's the usual i7, 16GB RAM, 1050 or better GPU and no hard disks. … -
Replied To a Post in Building a new computer
Something else would still have me update the BIOS then setup BIOS and then the OS. This isn't really a new thing but with Ryzens the BIOS can matter. It's … -
Replied To a Post in Building a new computer
About Ryzen builds. Be sure the BIOS is up to date before you commit to the OS install that you are going to run for a long time. That is, … -
Replied To a Post in Building a new computer
As to socket and chipset. I rarely find any gain in choosign chipsets but as you can guess, the socket, chipset and BIOS must list the CPU you choose. That … -
Replied To a Post in Windows 10 laptop
Sure. Here's a google so you can pick which you like best. https://www.google.com/search?q=windows+10+reset -
Replied To a Post in Building a new computer
I have to go with "I wouldn't do that." If I were to pick only boards with more than the usual 4 or so ports my choices get slim or … -
Replied To a Post in Keyboard Layout for French
OK, here's the deep dive on how all this works. Keep this link handy as I bet you'll have to go back from time to time. https://medium.com/@damko/a-simple-humble-but-comprehensive-guide-to-xkb-for-linux-6f1ad5e13450 I'd start small … -
Replied To a Post in Building a new computer
You had me till that many SATA ports. I think you should use some PCIe board for more ports if need be. About shopping boards, the socket changes with your … -
Began Watching Building a new computer
I'm wanting to build a new computer but I'm having trouble, it's been a long time since I've built one and my head is starting to spin just looking at … -
Replied To a Post in Windows 10 laptop
Slow down. Windows 10 has a menu pick where you can factory reset the machine and save yourself from driver hell. I'd do that first. -
Began Watching Windows 10 laptop
My brother has a Windows 10 laptop. I use Linux so I'm a little out of the loop when it comes to Windows. He's having problems and wants me to … -
Replied To a Post in Keyboard Layout for French
Hi Lewashby, I was pleasantly surprised a while back that I could plug in two keyboards via USB and both worked. Sitll had to select a keyboard layout but hey, … -
Replied To a Post in Keyboard Layout for French
Is this Mint or Windows? Also, if you want the real deal, go get a French keyboard. It is different. https://www.amazon.com/French-European-Language-Keyboard-Windows/dp/B0002JP05Y for example shows the AZERTY keyboard. Doing this with … -
Began Watching Keyboard Layout for French
Linux Mint So I'm trying to learn French but I'm running into some complications when it comes to finding a good keyboard layout. Here are the layouts that I've tried … -
Replied To a Post in what is the correct way of creating a member view page (profile page)
@divinity02. "Best" is achieved by stating what is best. The above fails one of the criteria of user login systems on a very basic item. Since you are asking for … -
Replied To a Post in what is the correct way of creating a member view page (profile page)
I think this must be one of those first times for the person who wrote that code. It breaks a rule about passwords in the database. In case you didn't … -
Began Watching what is the correct way of creating a member view page (profile page)
hi all what is the best possible way i can create a members view page (profile page) I am doing ths assignment where i have to create two pages, one … -
Replied To a Post in Final version of MicroAPL APLX available for free
By Final I take it's like the [Cookie Monster's Last Cookie](https://www.youtube.com/watch?v=tN3q-R23zvQ)? PS. Thanks for the story. -
Began Watching Final version of MicroAPL APLX available for free
APLX is a very complete implementation of the APL programming language from MicroAPL. The company stopped producing it in 2016 and it has been taken over by Dyalog. While Dyalog … -
Replied To a Post in Saas / Less
SAAS usually means Software As A Service. LESS in reference to CSS is a CSS extension. Some call it a pre-processor. You may want to correct your question because not … -
Began Watching Saas / Less
Ever heard Saas or Less? (for frontend developer) What is it for? I read the article and still do not understand the purpose. -
Replied To a Post in How many Handles did you find? I found over 906,000 on some app. (more.)
Let's put on our lab coat. We're going in. "Any process that has more than a ten thousand handles open at any given point in time is likely either poorly … -
Replied To a Post in PHP Enginee
Why not install a current XAMPP? https://www.apachefriends.org/index.html notes PHP 7.2.4 which is today's current stable version at http://php.net/downloads.php As to your first question, I feel you forgot some words. From … -
Began Watching PHP Enginee
What is PHP Enginee? If Xampp is the web server, then is the php enginee apart of the web server? http://www.php.net/downloads.php Can you upgrade the php enginee - to support … -
Replied To a Post in Making a Magic Mirror
So video calls? https://www.google.com/search?q=video+conferencing+raspberry+pi seems to note projects that have been kicking around for 4 or more years. My bet is you'll have to tailor such to your exact needs … -
Began Watching Making a Magic Mirror
I'm looking for software that will allow someone at one end to talk into a camera and stream to a Raspberry Pi on the other end. It's going to be … -
Gave Reputation to Reverend Jim in Can we use bing instead of Google?
I don't much care for Qwant's policy of serving up news I did not request. -
Replied To a Post in How many Handles did you find? I found over 906,000 on some app. (more.)
@ryantroop. Since I can't get into the driver and app's source code I can only speculate where the issue is. But since ripping out the old and installing the new … -
Created How many Handles did you find? I found over 906,000 on some app. (more.)
From Stardock's newsletter I read "Handles are killing your PC" and checked in on the apps and handles to discover the stock Killer Network app was way out there at … -
Began Watching How many Handles did you find? I found over 906,000 on some app. (more.)
From Stardock's newsletter I read "Handles are killing your PC" and checked in on the apps and handles to discover the stock Killer Network app was way out there at … -
Replied To a Post in simple js program
I think I see why. In program1 line 6 calls out an element "demo" and there is no such element. Answer? "Bum code does nothing." -
Began Watching simple js program
program1.php <html> <header> <script> function myFunction(p1, p2) { return p1 * p2; } document.getElementById("demo").innerHTML = myFunction(4, 3); </script> </header> <body> <div id="demo"></div> </body> </html> I don't understand why the above … -
Replied To a Post in simple php
In this example it's all about order of execution. Line will have to call Multiply() to make the output string and since your function echo'd something then your example shall … -
Began Watching simple php
program2.php <html> <header> </header> <body> <?php function Multiply($x, $y) { echo $x * $y; } echo 'Multiply : '.Multiply(2,3).'<br><br>'; ?> </body> </html> Why the result of the above program is … -
Gave Reputation to Reverend Jim in SQL Injection with ASCII
You are not protecting yourself by using a different delimiter. You protect yourself (one way) by using parameterized queries. For example, if you have a textbox on a form where … -
Gave Reputation to Reverend Jim in SQL Injection with ASCII
If you are just learning IT security then you should first learn the definitions of 1. ASCII 1. SQL Injection Attack before asing the question. ASCII is a mapping of … -
Gave Reputation to Reverend Jim in CUDA GPU Programming on AMD/Radeon
On reflection, I should have titled this thread **Cude-like GPU Programming on AMD Radeon**.
The End.