Search found 457 matches

by bbanelli
Sun Mar 03, 2024 1:53 pm
Forum: General Discussion
Topic: Haven't been here in a while, but to put PB on an ARM Chromebook... :)
Replies: 4
Views: 448

Re: Haven't been here in a while, but to put PB on an ARM Chromebook... :)

I've build myself a workstation for ARM development, based around NXP LX2160A (16c@2GHz), 64GB RAM, NVME disk and Radeon RX 550 graphics card, all on Ubuntu 23.10. However, I'm running in the following graphical IDE issue: https://i.imgur.com/nVUvLM2.png Haven't dig much, but does anyone have any cl...
by bbanelli
Sun Feb 11, 2024 7:31 pm
Forum: General Discussion
Topic: Haven't been here in a while, but to put PB on an ARM Chromebook... :)
Replies: 4
Views: 448

Haven't been here in a while, but to put PB on an ARM Chromebook... :)

Greetings to all, I haven't been using PB for quite some time now since I've been doing something entirely different in my professional career, so I have a lot of catching up to do version 6 wise, however, this "Raspberry Pi" version (I guess that's more of a publicity thing) really got me...
by bbanelli
Sun Jul 11, 2021 3:06 pm
Forum: Announcement
Topic: PureBasic 6.00 released !
Replies: 626
Views: 149053

Re: PureBasic 6.00 Alpha 3 released !

Wow!

PCI-Z (~7k LoC) runs smoothly (heavy WinAPI involved) and only gives less than 10% size overhead.

Great work, looking forward seeing "full" version! :)
by bbanelli
Sun May 03, 2020 1:39 pm
Forum: Feature Requests and Wishlists
Topic: Support of ARM CPU
Replies: 60
Views: 22533

Re: Support of ARM CPU

I shouldn't say it because it's way to early (no ETA, only very small programs works), but I'm actually working on it ! Now, back to code :) Well now, this makes sense. ARM works on Linux for ages, Windows also supports it solidly, and now Apple appears to be turning to it on desktops/laptops as we...
by bbanelli
Mon Nov 04, 2019 9:24 pm
Forum: Coding Questions
Topic: Error: Linker - without any additional message
Replies: 0
Views: 1174

Error: Linker - without any additional message

Greetings to all, I am not really sure what is going on here (bug?), however, I suppose some sort of error message is required to be produced after linker error. My case is here: https://www.purebasic.fr/english/viewtopic.php?f=12&p=544084#p544084 Everything works with dynamic library and relate...
by bbanelli
Mon Nov 04, 2019 8:47 pm
Forum: Tricks 'n' Tips
Topic: WebSocket Server
Replies: 41
Views: 23207

Re: WebSocket Server

Well, I got myself a third, dirty option. :) I used GoLang and Gorilla library to produce the following: package main import "C" import ( "github.com/gorilla/websocket" "net/url" "sync" ) //export NewWebSocketClientConnection func NewWebSocketClientConnection ...
by bbanelli
Mon Nov 04, 2019 4:17 pm
Forum: Tricks 'n' Tips
Topic: WebSocket Server
Replies: 41
Views: 23207

Re: WebSocket Server

Hi Dadido3 (and others), I have build TLS capable version of libwebsockets but I am completely clueless how to start doing something with PB. Using regular ws (non TLS) is basically useless for anything but internal prototyping. Only needing client side, though, since server is done in Golang, but l...
by bbanelli
Thu Jun 27, 2019 3:25 pm
Forum: Coding Questions
Topic: Numbers of lines in a text file
Replies: 29
Views: 6763

Re: Numbers of lines in a text file

The optimized PB version is not fully optimized :wink: This one seems to be only negligible faster than the former... PS C:\> Measure-Command {.\wc.exe -l .\text.txt} Days : 0 Hours : 0 Minutes : 0 Seconds : 0 Milliseconds : 489 Ticks : 4898609 TotalDays : 5,66968634259259E-06 TotalHours : 0,000136...
by bbanelli
Thu Jun 27, 2019 2:34 pm
Forum: Coding Questions
Topic: Numbers of lines in a text file
Replies: 29
Views: 6763

Re: Numbers of lines in a text file

Sorry for bringing such an old thread up, but I was wondering - how come "standard" wc (compiled for Windows!) is twice as fast as most optimized version here? File tested has ~500MB and exactly 2.5M lines of unique data. EnableExplicit Define *loc Define.i count3, filesize If ReadFile(0,&...
by bbanelli
Wed Jun 12, 2019 1:17 pm
Forum: Coding Questions
Topic: You must have a server running on localhost
Replies: 2
Views: 1247

Re: You must have a server running on localhost

In a nutshell, this is not how it works. MySQL is a client-server database, therefor, you ought to have a server installed somewhere. It can be, as said, installed on localhost, meaning you will be running your client connected to a database locally. You can most certainly find installation for MySQ...
by bbanelli
Thu Jan 31, 2019 9:04 am
Forum: Coding Questions
Topic: WaitWindowEvent() in DLL?
Replies: 0
Views: 894

WaitWindowEvent() in DLL?

Greetings to all, is it valid-legal-practical to use WaitWindowEvent() within a DLL? Use case it the following - I'd like to use another programming language for "logic" and remain on PB for GUI. Nothing much, basically, MessageRequesters, Inputs, ShellNotify menus and such. But can I depl...
by bbanelli
Fri Dec 14, 2018 1:39 pm
Forum: Announcement
Topic: PureBasic Interface to OpenCV
Replies: 885
Views: 653835

Re: PureBasic Interface to OpenCV

JHPJHP is live and kicking!!! :) :) :)

Thank you so much for maintenance!

Bruno
by bbanelli
Sun Nov 11, 2018 8:49 pm
Forum: Coding Questions
Topic: Multithreaded read/write/parsing of files
Replies: 4
Views: 1193

Multithreaded read/write/parsing of files

Greetings to all, I have a large file, 150GB+, that needs to be parsed. So, that probably excludes reading whole file to memory since it would require quite a machine. Would it be better to write chunks of file to memory and than let thread do the work while reading rest of the file and repeat proce...
by bbanelli
Mon Sep 24, 2018 8:54 pm
Forum: General Discussion
Topic: Compiling Questions
Replies: 5
Views: 2004

Re: Compiling Questions

vwidmer wrote:1. Is it possible to run a script (bash) automatically after "Create Executable"?
Tools -> Configure Tools.
by bbanelli
Fri Aug 24, 2018 12:44 pm
Forum: Off Topic
Topic: DDR3 1.65v @ 1.5v ?
Replies: 2
Views: 988

Re: DDR3 1.65v @ 1.5v ?

Read the manufacture name of the chip, get the datasheet and check operational voltages. The easiest way, but as always, YMMV according to the general (in)compatibility of your board with certain modules.