PureBasic 5.50 final is out !

Developed or developing a new product in PureBasic? Tell the world about it.
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: PureBasic 5.50 beta 1 is out

Post by walbus »

B64 on PB works worry free !
Last edited by walbus on Sun Jun 26, 2016 9:50 am, edited 3 times in total.
Fred
Administrator
Administrator
Posts: 16681
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.50 beta 1 is out

Post by Fred »

wilbert wrote:
Keya wrote:Im just wondering about a situation where for example i read a full .EML file with its base64-encoded attachments into an AllocateMemory(Lof(hFile)) buffer, and then use wilberts FindData module to quickly locate the position of each attachment in the buffer. If Base64Decoder expects a string I would need to make a str=PeekS copy from the buffer? wouldnt be good with large attachments (slower + duplicated memory), especially with base64 sizes being +33% ?
If you need to decode big attachments, you could build you own high speed decoder. The Base64 specification is not that complicated.
For small attachments, the impact on memory and speed probably isn't that big.
Allocation and copy will probably not matter compared to the decode/encode operation. You shouldn't worry on such micro optimisation nowaday, modern OS provides extremly fast alloc and block copy operations.
Little John
Addict
Addict
Posts: 4527
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: PureBasic 5.50 beta 1 is out

Post by Little John »

Fred wrote:Yes, that's it. It would be something like that:

Code: Select all

Result = Base64Decoder(Input$, *OutputBuffer, OutputSize)
Result$ = Base64Encoder(*InputBuffer, InputSize [, Flags])
I see. That would make Base64 encoding and decoding simpler.
User avatar
Keya
Addict
Addict
Posts: 1891
Joined: Thu Jun 04, 2015 7:10 am

Re: PureBasic 5.50 beta 1 is out

Post by Keya »

Fred wrote:Allocation and copy will probably not matter compared to the decode/encode operation. You shouldn't worry on such micro optimisation nowaday, modern OS provides extremly fast alloc and block copy operations.
My customers deserve the best though, I won't have them waiting extra time just for my app to make a duplicate copy of a large buffer just to convert it to a string type because i'm too unprofessional to use an existing buffer! :) but I understand if it will make use of the function easier for beginners albeit at the expense of flexibility, so I will look to use other base64 decode functions, i know there are fortunately several existing implementations PB'ers have posted over the years which probably already fit the bill so we're probably already spoiled for choice! :)
DontTalkToMe
Enthusiast
Enthusiast
Posts: 334
Joined: Mon Feb 04, 2013 5:28 pm

Re: PureBasic 5.50 beta 1 is out

Post by DontTalkToMe »

Keya wrote: My customers deserve the best though
Awww, everyone selling a product should have a sign like that at the office and probably inside their fridge too.
User avatar
Keya
Addict
Addict
Posts: 1891
Joined: Thu Jun 04, 2015 7:10 am

Re: PureBasic 5.50 beta 1 is out

Post by Keya »

each to their own :)
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8433
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: PureBasic 5.50 beta 1 is out

Post by netmaestro »

Some signs at one of my actual workplaces:

Our customers deserve the best - so what the hell are you doing here?

Prices subject to change according to your attitude

Here every day is free coffee tomorrow

No whining

Menu choices: You can take it or leave it
BERESHEIT
Fred
Administrator
Administrator
Posts: 16681
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.50 beta 1 is out

Post by Fred »

Beta 2 is out ! It does includes a bunch of fixes and updated SQLite lib to 3.13.0.
Lebostein
Addict
Addict
Posts: 807
Joined: Fri Jun 11, 2004 7:07 am

Re: PureBasic 5.50 beta 1 is out

Post by Lebostein »

Fred wrote:Beta 2 is out ! It does includes a bunch of fixes and updated SQLite lib to 3.13.0.
Great work! Thanks for the Mac OS X fixes!!!!

With Windows XP in Virtual Machine I get an error because the compiler could not be loaded.... :?:
This installation was copied as a zip archive to the Virtual Machine after installing and zipping on an other machine. I had never problems before with that routine....
Fred
Administrator
Administrator
Posts: 16681
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.50 beta 2 is out

Post by Fred »

A new quick fix version has been pushed on the server. If you already downloaded before this post, please download it again, sorry for the inconvenience !
User avatar
skywalk
Addict
Addict
Posts: 3997
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PureBasic 5.50 beta 2 is out

Post by skywalk »

Thanks for the SQLite update to latest v3.13.0 :D
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
kenmo
Addict
Addict
Posts: 1967
Joined: Tue Dec 23, 2003 3:54 am

Re: PureBasic 5.50 beta 2 is out

Post by kenmo »

Fred, why does PB 5.50 create a folder in my Temp directory every time I compile/run??

I currently have 158 folders called "PureBasic#######"
They are only ~1 MB each, but it seems like extra clutter.

Running PB Win x86 on Win 7 x64
Lebostein
Addict
Addict
Posts: 807
Joined: Fri Jun 11, 2004 7:07 am

Re: PureBasic 5.50 beta 2 is out

Post by Lebostein »

kenmo wrote:Fred, why does PB 5.50 create a folder in my Temp directory every time I compile/run??

I currently have 158 folders called "PureBasic#######"
They are only ~1 MB each, but it seems like extra clutter.

Running PB Win x86 on Win 7 x64
Same problem here with XP. The Temp directory is full of PB subfolders... and the "no compiler loaded" error in the virtual machine persists...
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Re: PureBasic 5.50 beta 2 is out

Post by NoahPhense »

Fred wrote:A new quick fix version has been pushed on the server. If you already downloaded before this post, please download it again, sorry for the inconvenience !
Hi Fred,

I just noticed this update and am reinstalling. I have subscribed to this thread as well. Is there where beta 3 will be "announced" as well? Or will it be a separate thread?

Cheers!

- np
User avatar
thyphoon
Enthusiast
Enthusiast
Posts: 327
Joined: Sat Dec 25, 2004 2:37 pm

Re: PureBasic 5.50 beta 2 is out

Post by thyphoon »

hi Fred,

thanks for All. I love to use PB at work or for my pleasure. But Pleeeeeeeeeeeeaaaaaaase ! Add Proxy support to http lib ! Some solution (curl or my own http include file) can't be used if we want to make a module.

Pity ! Pity ! Pity !
Post Reply