Tsoding did a PB stream...

For everything that's not in any way related to PureBasic. General chat etc...
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Tsoding did a PB stream...

Post by Fred »

Looks cool, is it possible to detect the linux version to install the proper packages for it (and display an error (with a package list for an hint) if not the distro isn't supported) ?
Quin
Addict
Addict
Posts: 1124
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: Tsoding did a PB stream...

Post by Quin »

Seconding the suggestion for a setup.sh script, when I set up PureBasic on a Raspberry Pi to host my server application, I was surprised that I had to go manually hunt down packages myself and kept getting weird errors :twisted:
Eventually got it to work, but some sort of streamlining would definitely be good for PB :)
User avatar
chi
Addict
Addict
Posts: 1087
Joined: Sat May 05, 2007 5:31 pm
Location: Austria

Re: Tsoding did a PB stream...

Post by chi »

Fred wrote: Fri Sep 20, 2024 2:14 pm Looks cool, is it possible to detect the linux version to install the proper packages for it (and display an error (with a package list for an hint) if not the distro isn't supported) ?
With my ~10 hours of Linux experience I'm most likely not the best choice for this task, but something like this:

Code: Select all

#!/bin/bash

install_packages(){
	local distro="$1"
	local PACKAGE_LIST

	case "$distro" in
		debian)
			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
		;;
		redhat)
			PACKAGE_LIST=() #?
			for PACKAGE in "${PACKAGE_LIST[@]}"; do
				if ! rpm -q "$PACKAGE" &> /dev/null; then
					echo "Installing: $PACKAGE"
					sudo yum install -y "$PACKAGE"
				else
					echo "Installed: $PACKAGE"
				fi
			done
		;;
		fedora)
			PACKAGE_LIST=() #?
			for PACKAGE in "${PACKAGE_LIST[@]}"; do
				if ! rpm -q "$PACKAGE" &> /dev/null; then
					echo "Installing: $PACKAGE"
					sudo dnf install -y "$PACKAGE"
				else
					echo "Installed: $PACKAGE"
				fi
			done
		;;
		arch)
			PACKAGE_LIST=() #?
			for PACKAGE in "${PACKAGE_LIST[@]}"; do
				if ! pacman -Q "$PACKAGE" &> /dev/null; then
					echo "Installing: $PACKAGE"
					sudo pacman -Syu --noconfirm "$PACKAGE"
				else
					echo "Installed: $PACKAGE"
				fi
			done
		;;
	esac
}

if command -v apt &> /dev/null; then
	echo "This is a Debian-based distribution."
	install_packages "debian"
elif command -v yum &> /dev/null; then
	echo "This is a Red Hat-based distribution."
	install_packages "redhat"
elif command -v dnf &> /dev/null; then
	echo "This is a Fedora-based distribution."
	install_packages "fedora"
elif command -v pacman &> /dev/null; then
	echo "This is an Arch-based distribution."
	install_packages "arch"
fi
PACKAGE_LIST for redhat, fedora and arch are empty for now. I don't even know if the packages are the same OR if Purebasic even runs on these distros?! :oops:
Et cetera is my worst enemy
tj1010
Enthusiast
Enthusiast
Posts: 716
Joined: Mon Feb 25, 2013 5:51 pm

Re: Tsoding did a PB stream...

Post by tj1010 »

TI-994A wrote: Wed Sep 18, 2024 8:06 am
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.
On a positive note: This could potentially mean more revenue for PB, and if you get enough people even temporarily wildly trying to do stuff, then you'll probably get some bug fixes out of it..

A lot of the PB community seem to be fans of influencer culture. I hope the programming influencers are better than the reverse-engineering and security influencers..
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Re: Tsoding did a PB stream...

Post by fsw »

Mr. Tsoding is testing PureBasic again!
(just started watching, don't even know the outcome...)

EDIT:
Bottom line: He likes PB very much, but not sure if he would pay 79 Euros for it.
What he did not understand is that he gets Lifetime Updates!
Even though I do not use PB that much, I think that PB is a bargain for what it offers.
Won't misss it in my toolbox.

I am to provide the public with beneficial shocks.
Alfred Hitshock
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Tsoding did a PB stream...

Post by Fred »

Ha, glad it went better this time :lol:
User avatar
mk-soft
Always Here
Always Here
Posts: 6204
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Tsoding did a PB stream...

Post by mk-soft »

I watched the 2024 video. Although I can't speak English and the commentary had subtitles,
it was very embarrassing what I saw there.

Some comments
- Take the 64 bit version
- You should know the difference between 32bit and 64 bit

Where is the new contribution from him.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
Mijikai
Addict
Addict
Posts: 1517
Joined: Sun Sep 11, 2016 2:17 pm

Re: Tsoding did a PB stream...

Post by Mijikai »

YoutTube Video on Purebasic (from Twitch stream):
I tried a $100 IDE for BASIC in 2025
User avatar
jacdelad
Addict
Addict
Posts: 1992
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: Tsoding did a PB stream...

Post by jacdelad »

This is pain to watch, and I don't mean his accent...
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
Quin
Addict
Addict
Posts: 1124
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: Tsoding did a PB stream...

Post by Quin »

Yeesh...and I thought I swear a lot...
This guy is next level.
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Re: Tsoding did a PB stream...

Post by fsw »

Yeah, I know what you mean.
Had to make breaks and watch it 20 minutes at the time.

However, his unusual approach is exposing inconsistencies in programming language syntax and compiler tooling.
Most of the time he's spot on.

With PB he liked the consistency of the syntax.
Without reading the manual before starting to play with PB, he managed to get a small 3D app working.

The funny thing: he never managed to learn what '#' means in front of a identifier.
Used it anyway, especially #PB_Any.
Reading the 'We start programming' in the PB help would have eased his pain...

What I learned in this video about PB is that a tilde '~' in front of a literal string will allow for escape sequences inside the string.

COOL!

I am to provide the public with beneficial shocks.
Alfred Hitshock
User avatar
Piero
Addict
Addict
Posts: 865
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: Tsoding did a PB stream...

Post by Piero »

Was this "killed" because of "big" executables?  ;P
https://openxtalk.org/OXTDownloads.html
User avatar
jacdelad
Addict
Addict
Posts: 1992
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: Tsoding did a PB stream...

Post by jacdelad »

fsw wrote: Sun Jun 08, 2025 6:14 pm COOL!
No. Not cool. Just another video of someone talking about something he doesn't know anything about. And some people will watch this and think this is a well done review. Just awful. Look at the comments, someone even said you can use % as a variable type identifier. No thinking, no simple watching the video, just being part of something at all costs.

As a IPC-A-610 certified specialist I know a lot about soldering. In my last job I was programming machines which inspect solder joints. Whenever I see one of these well done instruction videos created by one of these "I can teach you everything" guys, I can tell you...I bet!...these solder joints wouldn't pass my inspection.

So what I want to say: Just because someone is saying a lot, doesn't mean he has something meaningful to say. Keep the things with the professionals, or people who know about it. Btw: He could have simply read the help file, there's a good passage for starters...
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
User avatar
Kiffi
Addict
Addict
Posts: 1485
Joined: Tue Mar 02, 2004 1:20 pm
Location: Amphibios 9

Re: Tsoding did a PB stream...

Post by Kiffi »

jacdelad wrote: Sun Jun 08, 2025 11:10 pmJust another video of someone talking about something he doesn't know anything about.
+1
Hygge
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Re: Tsoding did a PB stream...

Post by fsw »

jacdelad wrote: Sun Jun 08, 2025 11:10 pm
fsw wrote: Sun Jun 08, 2025 6:14 pm COOL!
No. Not cool. Just another video of someone talking about something he doesn't know anything about. And some people will watch this and think this is a well done review. Just awful. Look at the comments, someone even said you can use % as a variable type identifier. No thinking, no simple watching the video, just being part of something at all costs.

As a IPC-A-610 certified specialist I know a lot about soldering. In my last job I was programming machines which inspect solder joints. Whenever I see one of these well done instruction videos created by one of these "I can teach you everything" guys, I can tell you...I bet!...these solder joints wouldn't pass my inspection.

So what I want to say: Just because someone is saying a lot, doesn't mean he has something meaningful to say. Keep the things with the professionals, or people who know about it. Btw: He could have simply read the help file, there's a good passage for starters...

Please do not assume you get everything right:

Actually my `COOL` was because of PB allowing `~` in front of a literal string for escape sequences inside the string.

Also, if you would have read my post you would have seen that I said:
Reading the 'We start programming' in the PB help would have eased his pain...
:mrgreen:

I am to provide the public with beneficial shocks.
Alfred Hitshock
Post Reply