Search found 27 matches
- Tue May 20, 2025 6:39 pm
- Forum: Tricks 'n' Tips
- Topic: NSIS plugin example
- Replies: 2
- Views: 525
Re: NSIS plugin example
Whoa, now that is cool. Thanks for sharing!
My pleasure. Happy to contribute. In fact so happy that it took me less than 10 minutes from testing it to posting it. ;)
If you want to compete with the sizes of other NSIS-plugins, try a version <4 or PureBasic and you should get a really small DLL ...
- Tue May 20, 2025 11:03 am
- Forum: Tricks 'n' Tips
- Topic: NSIS plugin example
- Replies: 2
- Views: 525
NSIS plugin example
Noticed that there's a "half-done" example to be found in the forum (thanks for the jumpstart, sepp!) so I tinkered a little and managed to accomplish this to fully support the return values as well in NSIS:
; Minimal PureBasic NSIS plugin for stack handling test
; In this example compiled with ...
; Minimal PureBasic NSIS plugin for stack handling test
; In this example compiled with ...
- Sat Aug 13, 2022 2:21 pm
- Forum: Linux
- Topic: PlayMovie() from console?
- Replies: 0
- Views: 1240
PlayMovie() from console?
Been trying to figure this one out for a bit. Considering that we use libvlc for PlayMovie() on Linux as far as I understood now, could we then somehow play movies without X server, or do we still have to depend on X server for this functionality? I'm planning on buying a few Pi Zero 2 W and running ...
- Thu Feb 06, 2020 4:03 pm
- Forum: Coding Questions
- Topic: Basic Authentication from FastCGI
- Replies: 2
- Views: 1853
Re: Basic Authentication from FastCGI
Just wanted to give an update on this.
The trick is simply to verify the auth from the same place that you send the 401. If an auth has been entered, the "Authorization"-header is passed on. There might be some conditions, and therefor I'm writing down my settings here.
In the server section inside ...
The trick is simply to verify the auth from the same place that you send the 401. If an auth has been entered, the "Authorization"-header is passed on. There might be some conditions, and therefor I'm writing down my settings here.
In the server section inside ...
- Wed Feb 05, 2020 8:35 pm
- Forum: Coding Questions
- Topic: Basic Authentication from FastCGI
- Replies: 2
- Views: 1853
Basic Authentication from FastCGI
So today I was doing a bit of custom code for a project and needed a way to authenticate less sensitive parts of a reverse proxy using only nginx and PB. I found the subrequest stuff quite interesting and got a bit curious if I could trigger the HTTP Basic Authentication features in the browser ...
- Fri Aug 31, 2018 8:31 am
- Forum: Announcement
- Topic: Pres3D source
- Replies: 43
- Views: 21229
Re: Pres3D source
infratec: You're the best. You probably also just saved me a couple of hours, approximately 3 keyboards and possibly a monitor (depending on frustration/rage if I'd have tried to do it myself).
Edit: Worked like a charm to compile. Just had to remember to switch to x86 due to the inline asm ...
Edit: Worked like a charm to compile. Just had to remember to switch to x86 due to the inline asm ...
- Thu Aug 30, 2018 4:59 pm
- Forum: Announcement
- Topic: Pres3D source
- Replies: 43
- Views: 21229
Re: Pres3D source
infratec: I know this is old by now, but I was just looking for some inspiration to text effects and tried downloading this. Seems the page is not active anymore. Would you happen to have this somewhere to share yet again?
Edit: While I'm at it. This is quite a brilliant piece of code. if anyone ...
Edit: While I'm at it. This is quite a brilliant piece of code. if anyone ...
- Sun Dec 17, 2017 10:41 pm
- Forum: Announcement
- Topic: PureBasic Interface to OpenCV
- Replies: 885
- Views: 729893
Re: PureBasic Interface to OpenCV
Exceptional doesn't even begin to cover it. I had no hopes at all for this when I stumbled upon it.
My lack of experience does however make it a bit hard to use. I would really love to see ready to use functions for example locating faces using all those different methods (Eigenfaces, Fisherfaces ...
My lack of experience does however make it a bit hard to use. I would really love to see ready to use functions for example locating faces using all those different methods (Eigenfaces, Fisherfaces ...
- Sun Mar 24, 2013 11:27 pm
- Forum: Coding Questions
- Topic: broken c port of Ec25519 key exchange
- Replies: 15
- Views: 3352
Re: broken c port of Ec25519 key exchange
This might actually solve all of my current problems. Using the code above, especially since Danilo made it insanely fast, combined with the code demivec completed (http://www.forums.purebasic.com/english/viewtopic.php?p=253838#p253838) it should be possible to implement ECDSA (http://en.wikipedia ...
- Sun Mar 24, 2013 2:55 am
- Forum: Coding Questions
- Topic: broken c port of Ec25519 key exchange
- Replies: 15
- Views: 3352
Re: broken c port of Ec25519 key exchange
If I had ovaries you would be the future father of my children. Safe key exchange - check. Safe DSA in pure PB - maybe soon. 

- Sat Mar 23, 2013 9:51 pm
- Forum: Coding Questions
- Topic: broken c port of Ec25519 key exchange
- Replies: 15
- Views: 3352
Re: broken c port of Ec25519 key exchange
Danilo, Peter H said he fixed it.
I had tried to redo the code via structures so it was identical to the c code but it didn't work!
If you can take peter's code and make that work without the peeks and pokes that would be great.
I tried and failed!
I second that. I'd be very grateful for a ...
I had tried to redo the code via structures so it was identical to the c code but it didn't work!
If you can take peter's code and make that work without the peeks and pokes that would be great.
I tried and failed!
I second that. I'd be very grateful for a ...
- Thu Mar 21, 2013 11:48 pm
- Forum: Coding Questions
- Topic: broken c port of Ec25519 key exchange
- Replies: 15
- Views: 3352
Re: broken c port of Ec25519 key exchange
Insanely hard to do without PB but finally I'm sure where the problem is and I sent it to a friend who verified it to be working. Unfortunately it cannot be used to securely sign stuff for validation, so I'm still waiting for a working (in acceptable speed) 2048+ bit RSA before buying PB. Enjoy the ...
- Thu Mar 14, 2013 2:09 pm
- Forum: Coding Questions
- Topic: Bignum library - a must
- Replies: 14
- Views: 2974
Re: Bignum library - a must
@PeterH:
If you only need a code for memory arithmetic (add, multiply, divide ... by unlimited memory blocks, binary without conversion to decimal system) then I can give you an include (based on ASM) of me. (PN me)
For example:
MemoryArithmetic_Multiplication(*Destination, *Source1, 24 ...
If you only need a code for memory arithmetic (add, multiply, divide ... by unlimited memory blocks, binary without conversion to decimal system) then I can give you an include (based on ASM) of me. (PN me)
For example:
MemoryArithmetic_Multiplication(*Destination, *Source1, 24 ...
- Mon Mar 11, 2013 11:55 pm
- Forum: Coding Questions
- Topic: Bignum library - a must
- Replies: 14
- Views: 2974
Re: Bignum library - a must
jack: I would prefer not using an external library just so that it could be compiled for other operating systems as well in the future. If inlineasm, then at least it'll compile on operating systems of the same architecture. Built-in commands will just be way easier, but possibly not fast enough for ...
- Mon Mar 11, 2013 10:05 pm
- Forum: Coding Questions
- Topic: Bignum library - a must
- Replies: 14
- Views: 2974
Re: Bignum library - a must
PeterH:
Will any of the routines in my post help you?
http://www.purebasic.fr/english/viewtopic.php?f=27&t=52813
I, too would like Bignum but I am not skilled enough to write a wrapper nor strong enough to twist the arms of another!
Actually, that one was one that I've experimented the most ...
Will any of the routines in my post help you?
http://www.purebasic.fr/english/viewtopic.php?f=27&t=52813
I, too would like Bignum but I am not skilled enough to write a wrapper nor strong enough to twist the arms of another!
Actually, that one was one that I've experimented the most ...