* Posts by Skwn

6 publicly visible posts • joined 16 May 2022

DARPA suggests turning old C code automatically into Rust – using AI, of course

Skwn

Re: pointers to functions

Let's allocate a mem for a string that also includes a space for the terminator null pointer and memset the allocation to nulls. Now use strncpy to copy a string of smaller size that the allocated space. Now because the space is pre-memset to nulls it is a valid instruction step. Most compilers would spew empty warning about it for no reason. Now if there is real memory address tracking embedded in the compilers even at a cost of pushing out entire virtualization of the physical memory to do such tracking and all during compile time then you should have a robust memory management system right from the compile time and not worry about during runtime.

Skwn

Re: Impossible

As currently is yes but if built from scratch to provide the same C syntax I do not see any hindrance to building such compiler. Would not be different from building any other memory safe language. Most C coders do have their own memory management library functions above C to manage their coding requirements. Most of the exploits are coming from direct usage of direct C memory management functions.

NASA engineers scratch heads as Voyager 1 starts spouting cosmic gibberish

Skwn

Format

Looks some bypasser tried the C:\FORMAT command. Next will be sending messages back.

IBM says GenAI can convert that old COBOL code to Java for you

Skwn

Wondering about the same

Does the AI actually understand the programer logic Deon the procedural Cobol and turn it into OO programing inferring classes Or is just another interpreter?

The sad state of Linux desktop diversity: 21 environments, just 2 designs

Skwn

Re: The curse of overchoice

Would it work for you to install headless Linux with VM support using something like VirtualBox and installing on top the Windows 11? Or the features that windows 11 is asking can not be emulated by the versions of the VM hosts?

Ad-tech firms grab email addresses from forms before they're even submitted

Skwn

And I thought I was getting old

Recently I was filling out a form and by mistake momentarily filled a work email and I corrected to my personal one before submitting and paying the order. The order was a digital delivery and got stuck apparently because tapparenty to the seller he payment email and the order email. But I was in sure that I put the right personal email on both. Then it hit to my mind the work email may have been submitted via async calls on input text loosing focus and then I thought may be I am just getting old and nothing else .... No this is a whole new threat for online purchases security. Not bad having a dedicated card with small maximum amount to mitigate the risk.