Search found 1531 matches

by the.weavster
Thu Mar 28, 2024 2:24 pm
Forum: Off Topic
Topic: Web Awesome
Replies: 0
Views: 51

Web Awesome

Web Awesome
Because when you've got a lovely new WebViewGadget you need some awesome web components to go with it :wink:
by the.weavster
Wed Mar 27, 2024 8:51 am
Forum: Coding Questions
Topic: IMA error with ExamineIPAddresses(#PB_Network_IPv4)
Replies: 9
Views: 259

Re: IMA error with ExamineIPAddresses(#PB_Network_IPv4)

Tranquil wrote: Wed Mar 27, 2024 6:28 am Anyway, a code snipping, that reproduces this behavior would be very useful.
The code snippet is in the first post but it only shows the behaviour if the VPN ( Private Internet Access ) app is running.
by the.weavster
Tue Mar 26, 2024 1:42 pm
Forum: Coding Questions
Topic: IMA error with ExamineIPAddresses(#PB_Network_IPv4)
Replies: 9
Views: 259

Re: IMA error with ExamineIPAddresses(#PB_Network_IPv4)

blueb wrote: Tue Mar 26, 2024 1:34 pm Just tried it using my VPN ...
Boom!
Thank you :D

I had a VPN App running on my PC, I shut that down and then the code works as expected.
by the.weavster
Tue Mar 26, 2024 10:49 am
Forum: Coding Questions
Topic: IMA error with ExamineIPAddresses(#PB_Network_IPv4)
Replies: 9
Views: 259

IMA error with ExamineIPAddresses(#PB_Network_IPv4)

MX Linux X86_64 PB 6.10 Beta 9 I'm getting an invalid memory access error here: Procedure.s _rpc_get_server_ip() Define.i IP Define.s ip$ = "" If ExamineIPAddresses(#PB_Network_IPv4) Repeat IP = NextIPAddress() ; *** Invalid Memory Access *** If IP : ip$ = IPString(IP) : EndIf Until IP = 0...
by the.weavster
Fri Mar 22, 2024 3:19 pm
Forum: Off Topic
Topic: The US government asks not to use C/C++ due to memory vulnerabilities.
Replies: 15
Views: 734

Re: The US government asks not to use C/C++ due to memory vulnerabilities.

It's not just the USA's government, this guidance has been published across all the Five Eyes.
by the.weavster
Wed Mar 20, 2024 11:17 am
Forum: Coding Questions
Topic: WebViewGadget deployment and other questions
Replies: 10
Views: 407

Re: WebViewGadget deployment and other questions

The dependencies for webview are detailed on github.
by the.weavster
Mon Mar 04, 2024 6:12 pm
Forum: Coding Questions
Topic: Can a structure be defined dynamically by csv headers
Replies: 24
Views: 872

Re: Can a structure be defined dynamically by csv headers

I think the JSON commands give you the closest thing to dynamically changing structures.
by the.weavster
Mon Feb 26, 2024 3:38 pm
Forum: Coding Questions
Topic: Audio out from Windows.
Replies: 10
Views: 395

Re: Audio out from Windows.

idle wrote: Mon Feb 26, 2024 11:36 am oh come on, that's just one more hoop to jump through! :lol:
Or is it one fewer compared to using a third-party library 🤔

Here's a nice tutorial to help get up and running 😉
by the.weavster
Mon Feb 26, 2024 11:12 am
Forum: Coding Questions
Topic: Audio out from Windows.
Replies: 10
Views: 395

Re: Audio out from Windows.

Something else to consider - PB 6.10 will have the new WebViewGadget which gives you the option of using the Web Audio API
by the.weavster
Mon Feb 26, 2024 11:07 am
Forum: Announcement
Topic: SQLite Server
Replies: 33
Views: 10617

Re: SQLite Server

tua wrote: Sat Jan 27, 2024 4:24 am @the.weavster: are copies of this still available somewhere?
Sorry but no. I'd forgotten this ever existed :lol:
PB now includes support for MariaDB which is a much better option anyway.
by the.weavster
Thu Jan 18, 2024 4:40 pm
Forum: Coding Questions
Topic: Monitoring errors in the WebViewGadget?
Replies: 3
Views: 545

Re: Monitoring errors in the WebViewGadget?

It's available in the webview library PB is using under the hood so it shouldn't be difficult for Fred to add the feature:

Code: Select all

webview_create(0, *window) ; no dev tools
webview_create(1, *window) ; has dev tools
by the.weavster
Wed Jan 17, 2024 11:12 am
Forum: Feature Requests and Wishlists
Topic: WebGadget Developer Tools
Replies: 7
Views: 780

WebGadget Developer Tools

Provide the ability to show developer tools ( console, etc.. ) in the WebGadget

Code: Select all

SetGadgetAttribute(#html, #PB_Web_DeveloperTools, #True)
by the.weavster
Mon Jan 15, 2024 2:31 pm
Forum: Bugs - Windows
Topic: [Done] JSON format to represent numbers with double precision
Replies: 3
Views: 525

Re: JSON format to represent numbers with double precision

+1 Particularly as PB doesn't provide a native way of copying one JSON object to the member of another and we can only test for a numeric data type using #PB_JSON_Number which means any recursive cloning method will be unreliable, e.g. this code by @mariosk8s would fail to clone a large integer corr...
by the.weavster
Mon Jan 15, 2024 1:29 pm
Forum: Coding Questions
Topic: [Done] How to stop a double getting mangled in JSON?
Replies: 2
Views: 441

[Done] How to stop a double getting mangled in JSON?

How do I stop a double getting mangled in JSON? Here's a very simple example: x.d = 140631120846632 Debug x If CreateJSON(0) y = SetJSONObject(JSONValue(0)) SetJSONDouble(AddJSONMember(y, "x"), x) Debug ComposeJSON(0, #PB_JSON_PrettyPrint) EndIf The output is: 140631120846632.0 { "x&q...
by the.weavster
Sun Dec 24, 2023 1:24 pm
Forum: Bugs - Linux
Topic: [Done] PB v6.10 b1 - BindWebViewCallback()
Replies: 2
Views: 747

[Done] PB v6.10 b1 - BindWebViewCallback()

Ubuntu 22.04
MX Linux

BindWebViewCallback() results in Invalid memory access error.