Search found 125 matches

by Janni
Thu Oct 12, 2023 2:43 pm
Forum: Announcement
Topic: PureBasic 6.03 LTS is released !
Replies: 184
Views: 67250

Re: PureBasic 6.03 LTS is released !

Thank you so much Fred and team for making PB better and better. :D
It's the very reason I love hobby-programming.
by Janni
Thu Sep 28, 2023 1:20 pm
Forum: Coding Questions
Topic: "Save as" dialog box
Replies: 13
Views: 1785

Re: "Save as" dialog box

The precision level on most progress bars is about as accurate as a weather forecast from a fortune cookie.

If task cannot be done in the background, one advice is to have simple animated spinner just showing "please wait"

Image
by Janni
Mon Sep 25, 2023 2:23 pm
Forum: Coding Questions
Topic: display image
Replies: 27
Views: 3458

Re: display image

There are two different types of computer programs -often with different purposes.

A console app is like a telegraph, where you send and receive messages in plain text, simple and efficient.
A GUI app is where you explore and interact with vibrant visuals, making the experience more engaging and ...
by Janni
Thu Sep 21, 2023 1:41 pm
Forum: Tricks 'n' Tips
Topic: ArrayList - Doubly-linked Dynamic Array Data Structure
Replies: 32
Views: 4996

Re: ArrayList - Doubly-linked Dynamic Array Data Structure

NicTheQuick:
Interesting and surprising to see how little difference there is on your powerful CPU compared too my old. In some cases I'm even faster...

Would also be interesting to see how this would perform in Python to compare.
by Janni
Wed Sep 20, 2023 5:38 pm
Forum: Tricks 'n' Tips
Topic: ArrayList - Doubly-linked Dynamic Array Data Structure
Replies: 32
Views: 4996

Re: ArrayList - Doubly-linked Dynamic Array Data Structure

Interesting stuff, here are my numbers on Linux Mint, cpu:I7-3770K (from 2012). 6.03 Beta 8

List creation: 0ms
List population: 451ms
List iteration: 126ms

Array creation: 266ms
Array population: 91ms
Array iteration: 92ms

ArrayList creation: 0ms
ArrayList population: 380ms
ArrayList iteration ...
by Janni
Tue Sep 19, 2023 9:17 pm
Forum: Coding Questions
Topic: beeps in linux
Replies: 7
Views: 1229

Re: beeps in linux

I think you have found the easiest way to be honest. The built in libraries for sound/music can playback almost all kind of audio formats.
by Janni
Mon Sep 18, 2023 7:36 am
Forum: General Discussion
Topic: Question: Demo version vs Paid version?
Replies: 9
Views: 1778

Re: Question: Demo version vs Paid version?

Price is great for a lifetime license model. As updates are coming all the time, It feels more like a a gift to the community at this point.

I very much agree with Kuron's kind words about Fred.
by Janni
Mon Sep 18, 2023 7:30 am
Forum: Applications - Feedback and Discussion
Topic: Big Products Updates
Replies: 3
Views: 1254

Re: Big Products Updates

Very cool to see your product suite all made with PB. No doubt you master it Phollyer.
Keep up the good work :D
by Janni
Fri Sep 08, 2023 10:19 pm
Forum: Tricks 'n' Tips
Topic: File Filter
Replies: 6
Views: 1360

Re: File Filter

Cool! thanks for sharing :D
by Janni
Fri Sep 08, 2023 7:46 am
Forum: Coding Questions
Topic: Purebasic and chat gpt (version 3.5)
Replies: 67
Views: 11116

Re: Purebasic and chat gpt (version 3.5)

I agree with Caronte3D. GPT3.5 API is dirt cheap!

Inspired by this thread I decided to make a program that uses the API. I now have a tray icon in my taskbar, when I click that I can input the question as text and a female voice speaks back the reply from Chatgpt.

I put 10$ on the account and ...
by Janni
Fri Sep 01, 2023 7:21 pm
Forum: Bugs - IDE
Topic: PB 6.03 Beta 5 Add Timestamp on Debug Output not deactivateable
Replies: 6
Views: 2031

Re: PB 6.03 Beta 5 Add Timestamp on Debug Output not deactivateable

Works fine on my Linux Mint machine (PB6.03 beta5).

The timestamp works as expected (show/not show) when I toggle the 'Add Timestamp' in the Debug Output setting
by Janni
Fri Sep 01, 2023 9:13 am
Forum: Coding Questions
Topic: updating preferences key/values
Replies: 3
Views: 1013

Re: updating preferences key/values

Hi and welcome to this forum and as a new PB user :)

I would skip CreatePreferences in your updatePrefs() procedure. Use OpenPreferences instead.
Documentation for CreatePreferences states: Creates a new empty preference file. If the file already exists, the file is erased.

PS! use the code tag ...
by Janni
Wed Aug 30, 2023 7:15 am
Forum: Coding Questions
Topic: Fetching JSON value
Replies: 5
Views: 1860

[SOLVED] Re: Fetching JSON value

wow you guys are great!
Love the module and also the structure approach. I can work with this.

Thank you very much Little John, Gérard and Paul :D
by Janni
Tue Aug 29, 2023 8:42 pm
Forum: Coding Questions
Topic: Fetching JSON value
Replies: 5
Views: 1860

Fetching JSON value

{
"id": "chatcmpl-abc123",
"object": "chat.completion",
"created": 1677858242,
"model": "gpt-3.5-turbo-0613",
"usage": {
"prompt_tokens": 13,
"completion_tokens": 7,
"total_tokens": 20
},
"choices": [
{
"message": {
"role": "assistant",
"content": "\n\nThis is a test!"
},
"finish ...
by Janni
Tue Aug 29, 2023 8:33 pm
Forum: Coding Questions
Topic: Purebasic and chat gpt (version 3.5)
Replies: 67
Views: 11116

Re: Purebasic and chat gpt (version 3.5)

what if you try

Code: Select all

RunProgram(url,"","",#PB_Program_Hide)