Recent posts

#51
PureBasic Tipps and Tricks / Re: Why does Powerbasic crash ...
Last post by Charles Pegge - September 13, 2023, 11:08:57 AM
With CDECL and MS64, and all variadic calls, the caller performs the stack dis-allocation. It's a bit more error tolerant, and easier to trace errors.
#52
PureBasic Tipps and Tricks / Re: Why does Powerbasic crash ...
Last post by Theo Gottwald - September 12, 2023, 10:05:09 PM
Its like with the human Brain, Computers can not check their integrity on this level.
#53
OxygenBasic / Critical GitHub Vulnerability ...
Last post by Theo Gottwald - September 12, 2023, 05:25:59 PM
QuoteA new vulnerability disclosed in GitHub could have exposed thousands of repositories at risk of repojacking attacks, new findings show.

The flaw "could allow an attacker to exploit a race condition within GitHub's repository creation and username renaming operations," Checkmarx security researcher Elad Rapoport said in a technical report shared with The Hacker News.

"Successful exploitation of this vulnerability impacts the open-source community by enabling the hijacking of over 4,000 code packages in languages such as Go, PHP, and Swift, as well as GitHub actions."

Following responsible disclosure on March 1, 2023, the Microsoft-owned code hosting platform has addressed the issue as of September 1, 2023.

Critical GitHub Vulnerability Exposes 4,000+ Repositories to Repojacking Attack
#54
PureBasic Tipps and Tricks / Re: Why does Powerbasic crash ...
Last post by Charles Pegge - September 12, 2023, 03:12:55 PM
With the STDCALL calling convention the called function adds the assumed parameter space allocation  to the stack pointer when it returns. Adding to the stack pointer is how local space is dis-allocated.

Unused OPTIONAL parameters always push a value onto the stack, a null when unspecified by the caller.

So in this case, without the optional parameter,  the caller loses the last 4 bytes of its local space after making the call.
#55
PureBasic Tipps and Tricks / Why does Powerbasic crash when...
Last post by Theo Gottwald - September 12, 2023, 12:11:42 PM
To day I had the case that a Subprogram from a DLL (made in Purebasic)
was wrongly declared on the Powerbasic Side.

The declaration missed 1 Parameter (that was added later).

Was before:
DECLARE FUNCTION ELabs_GetMP3_TTS LIB "U1.DLL" ALIAS "ELabs_GetMP3_TTS" (BYVAL TEXT AS WSTRING, BYVAL mp3_fn AS WSTRING) AS LONG 


Should be:
DECLARE FUNCTION ELabs_GetMP3_TTS LIB "U1.DLL" ALIAS "ELabs_GetMP3_TTS" (BYVAL TEXT AS WSTRING, BYVAL mp3_fn AS WSTRING, OPTIONAL BYVAL modeln AS LONG) AS LONG 

Result:
The Powerbasic Program crashed after it reached the "EXIT SUB".
It never returned from that Sub.

So if you have the case that a Powerbasic SUB does not continue to run after
you call external DLL Functions, check your Declarations.
 
The problem has to do with the fact that Parameters as well as the return address from SUB's are placed on the stack. If things do not match perfectly this is what happens.
#56
General Discussion / Computational Creativity / NDC
Last post by Charles Pegge - September 12, 2023, 08:24:52 AM
Computational Creativity - Dylan Beattie - NDC Oslo 2021
NDC Conferences
12 jan 2022

#57
Shocking and Astonishing Possibilities With Astral Projection | Jade Shaw

Wisdom From North
24 august 2023

#58
The contrast of the color and black and white photos is a crude manipulation. You are not going to convince anyone with a mental age greater than four years old with those tactics.
#59
For you, possibly because your Information is different from mine.

I've taken a look at the sick leave statistics for the summer, and there's a significant increase in people who are so ill they can't go to work. The primary causes are respiratory illnesses and infections. This suggests that many people are contracting severe illnesses during the summer that are typically not prevalent during this season. Additionally, it's well-known that spike proteins can be harmful to the body. And the vaccinated people produce them on a regular basis.
While I have mainly german sources you may not be able to read.

Immundestrtoy2.jpg
Immunfolge34.jpg
Numbers.jpg

Immunity23.png

#60
On April 27, 2022 you did say "Say GOODBYE to those who got 3 Vaxxinations". Since your prediction has failed miserably, now you want to give it another twist. They look like those predictions about the end of the world. They fail more than a fairground shotgun.