Page 2 of 4

Re: Tsoding did a PB stream...

Posted: Tue Sep 17, 2024 10:51 pm
by HeX0R
I didn't know that guy, I'm watching twitch usually only for some lets plays.
But I was really impressed by his incredible fast linux console skills.
On the other side... the guys in the chat told him since the beginning, that he is using the 32bit version of PB for his x64 linux, which he completely ignored until he finally recognized it.
When he then started blaming PB for his own stupidity, I switched off the video.

Re: Tsoding did a PB stream...

Posted: Wed Sep 18, 2024 7:26 am
by mk-soft
Fred wrote: Tue Sep 17, 2024 6:33 pm Why do you need another source for the libgtk on Ubuntu 24.04 ? If you use the package for 24.04 it should use the correct lib.
I have cleaned up my libwebkit* installation again.
There was probably an update from Ubuntu in between and PureBasic works even if only ‘libwebkit2gtk-4.1’ and 'libwebkit2gtk-4.1-dev' is installed
Also my WebGadget Extensions and MyWebKitGadget project ;)

Re: Tsoding did a PB stream...

Posted: Wed Sep 18, 2024 7:29 am
by Fred
Ha great ! Thanks 👍

Re: Tsoding did a PB stream...

Posted: Wed Sep 18, 2024 8:06 am
by TI-994A
HeX0R wrote: Tue Sep 17, 2024 10:51 pm When he then started blaming PB for his own stupidity, I switched off the video.
Exactly. Very distasteful, with such blatant profanities. :twisted:

He went apeshit because of his own unprepared ignorance. Hard to fathom such people could maintain a fan base.

Re: Tsoding did a PB stream...

Posted: Wed Sep 18, 2024 2:56 pm
by Fred
I updated the linux package to work as expected out of the box. Can some of you test the demos on a linux box while launching the IDE trough launch.sh ?

Re: Tsoding did a PB stream...

Posted: Wed Sep 18, 2024 3:44 pm
by Mijikai
TI-994A wrote: Wed Sep 18, 2024 8:06 am ...Hard to fathom such people could maintain a fan base.
Tsoding apologized in his YT-Video following the stream.
Dont take him too serious, he jokes and rants quite a bit (which i like).

Re: Tsoding did a PB stream...

Posted: Wed Sep 18, 2024 4:39 pm
by Little John
HeX0R wrote: Tue Sep 17, 2024 10:51 pm ... the guys in the chat told him since the beginning, that he is using the 32bit version of PB for his x64 linux, which he completely ignored until he finally recognized it.
When he then started blaming PB for his own stupidity, I switched off the video.
Thanks for reporting that. I knew I could save a lot of time by not watching any random half-baked video on the internet. :mrgreen:

Re: Tsoding did a PB stream...

Posted: Wed Sep 18, 2024 5:30 pm
by fsw
TI-994A wrote: Wed Sep 18, 2024 8:06 am ...because of his own unprepared ignorance.
I think this weird approach is by design, it seems he loves to break things.

Some programming languages he tested survived this kind of torture with flying colors.
The C3 programming language is one of them and IMHO it's good to fix things he finds; as Fred did... very commendable.

I'm sure if Fred would contact him to tell him that the things he found have been fixed, he would spend the time to retest it.

Who knows, if he retests it, he might find out why PureBasic is the best BASIC dialect out there.
TI-994A wrote: Wed Sep 18, 2024 8:06 am Exactly. Very distasteful, with such blatant profanities. :twisted:
Suppose it's his worldview of being cool.
It's not my worldview, or the worldview of my personal friends.

Re: Tsoding did a PB stream...

Posted: Wed Sep 18, 2024 7:18 pm
by chi
Watching a video of him insulting your favorite programming language / developer is probably not a good place to start, but if you're a person who's easily offended, he's not for you. Otherwise, it may take a few videos...

Fred wrote: Wed Sep 18, 2024 2:56 pm I updated the linux package to work as expected out of the box. Can some of you test the demos on a linux box while launching the IDE trough launch.sh ?
Thank you, Fred! I'm going to try the demos on some distros tomorrow.

Re: Tsoding did a PB stream...

Posted: Thu Sep 19, 2024 4:05 am
by kenmo
Fred wrote: Wed Sep 18, 2024 2:56 pm I updated the linux package to work as expected out of the box. Can some of you test the demos on a linux box while launching the IDE trough launch.sh ?
Works for me! On ElementaryOS 7.1 (Ubuntu 22). Works OK whether I launch by launch.sh or compilers/purebasic directly.


In case it helps anyone (previous versions of PB Linux), here is the modified launch script that worked well for me.

Code: Select all

# 2024-09-17 Get path of this script, via https://stackoverflow.com/questions/4774054/reliable-way-for-a-bash-script-to-get-the-full-path-to-itself
SCRIPT=$(realpath "$0")
SCRIPT_PATH=$(dirname "$SCRIPT")

# 2024-09-17 Set env vars, via https://github.com/fantaisie-software/purebasic/blob/devel/BuildEnv.sh
export PUREBASIC_HOME=$SCRIPT_PATH
export PATH="$PUREBASIC_HOME/compilers:$PUREBASIC_HOME:$PATH"

# Original launch.sh line
./compilers/purebasic

Re: Tsoding did a PB stream...

Posted: Thu Sep 19, 2024 6:43 am
by Fred
Thanks kenmo for the feedback ! Should be better for new linux users now 8)

Re: Tsoding did a PB stream...

Posted: Thu Sep 19, 2024 9:15 pm
by chi
I tested 'PureBasic free for Linux Ubuntu 20.04 or 22.04 (x64)' on Ubuntu-22.04.3 and Debian-12.7.0. Had to install build-essential gcc g++, dev libraries + for games to be able to run 3d examples and gadget.pb. Seems good!

Maybe silly question, but why isn't there a shell script that automatically downloads and installs all the required packages?

Re: Tsoding did a PB stream...

Posted: Fri Sep 20, 2024 12:52 am
by kenmo
chi wrote: Thu Sep 19, 2024 9:15 pm Maybe silly question, but why isn't there a shell script that automatically downloads and installs all the required packages?
I'm new to PB Linux (after years of Windows, and Mac, and recently RasPi :) ) and I think this would be helpful too... even if there was a different shell script for each supported distro.

Re: Tsoding did a PB stream...

Posted: Fri Sep 20, 2024 7:50 am
by Fred
chi wrote: Thu Sep 19, 2024 9:15 pm I tested 'PureBasic free for Linux Ubuntu 20.04 or 22.04 (x64)' on Ubuntu-22.04.3 and Debian-12.7.0. Had to install build-essential gcc g++, dev libraries + for games to be able to run 3d examples and gadget.pb. Seems good!

Maybe silly question, but why isn't there a shell script that automatically downloads and installs all the required packages?
There is the apt-get commands in the INSTALL file for your distro, dunno if it worth to do it automatically. May be a setup.sh file which handle all this ?

Re: Tsoding did a PB stream...

Posted: Fri Sep 20, 2024 10:45 am
by chi
Fred wrote: Fri Sep 20, 2024 7:50 am There is the apt-get commands in the INSTALL file for your distro, dunno if it worth to do it automatically. May be a setup.sh file which handle all this ?
Could be a nice addition. I had some struggles running the examples... GCC not found, Gadget.pb something about a switch not found and EntityAnimation.pb compiled, but no window was created.

Code: Select all

#!/bin/bash

install_packages(){

	PACKAGE_LIST=(
		"build-essential" "gcc" "g++" 
		"libxxf86vm-dev" "libxine2-dev" "unixodbc-dev" "libsdl1.2-dev" "libsdl2-dev" "libssl-dev" "libvlc-dev" "libgtk2.0-dev" "libgtk-3-dev"
	#	"libwebkit2gtk-4.0-dev"
		"libgl1-mesa-dev" "libgl1-mesa-glx"
	)

	for PACKAGE in "${PACKAGE_LIST[@]}"; do
		if ! dpkg -l | grep -q "$PACKAGE"; then
			echo "Installing: $PACKAGE"
			sudo apt update
			sudo apt install -y "$PACKAGE"
		else
			echo "Installed: $PACKAGE"
		fi
	done
	
}

install_packages