Do It Yourself Project Ideas

Started by bplus, March 24, 2025, 16:42:50

Previous topic - Next topic

bplus

(Not restricted to SmallBASIC, of course, it's just my goto place here at Syntax Bomb)

QuoteNothing beats the feeling of coding your own project successfully except maybe having a child, writing a book, painting a masterpiece, ... well I guess the list could be endless Smile

Here's an idea I worked on recently that I will save you from showing the code I came up with.

I wanted to practice meditation more and I always liked following your breath exercises so:

I started with what I call a "Tesla Breath" Tesla loved numbers 3, 6, 9
1. Inhale for count of 3
2. Hold count of 6
3. Exhale for count of 9

not exactly box breathing but we want to be genuii like Tesla right?

4. then I added mod to slow the counts down over time so that you breath significantly slower when you finish than from when you start.

5. then I added positive words list to display while counting out Inhales, Holds and Exhales. A randomly selected word for each count. This list is separate from bas source to edit whenever you like or maybe change the flavor of meditation with a whole different list.

6. next up in last session I realized I need to build in a timer for a minimum session length to set at start.

So that's my idea for a neat little project you can make All Your Own!
1 person likes this

bplus

spelling lesson: the plural of genius is genii not genuii, sorry.
1 person likes this

bplus

:) Here's an idea for stress relief:

Collect favorite one-liners and save in a Jokes.txt file, sample start of mine:
QuoteA computer once beat me at chess, but it was no match for me at kick boxing.
What did one ocean say to the other ocean? Nothing, they just waved.
A bank is a place that will lend you money, if you can prove that you do not need it.
What is faster, hot or cold? Hot, because you can catch a cold.
Whats the difference between a new husband and a new dog? After a year, the dog is still excited to see you.
Love may be blind, but marriage is a real eye-opener.
I say no to sweets, they dont listen.

Read the txt file into a string array.
Add some code to display one-liners in center of screen.
Maybe find some comical font and add colors...
Henny pecked.PNG

I added a voice to read the joke, nothing beats the monotone of computer voice for Steven Wright jokes! :D
Code I use in Windows for voice read jokes:
Code: BASIC
Sub speak (message As String) ' QB64
    Shell _Hide "Powershell -Command " + Chr$(34) + "Add-Type -AssemblyName System.Speech; (New-Object System.Speech.Synthesis.SpeechSynthesizer).Speak('" + message + "');" + Chr$(34)
End Sub

'  alternate way for speech
'Sub speak (message As String)
'    '''modifed from "Code" at JB forum
'    Open "sound.vbs" For Output As #1
'    Print #1, "Dim message, sapi"
'    Print #1, "message=" + Chr$(34) + message + Chr$(34) + " "
'    Print #1, "Set sapi=CreateObject(" + Chr$(34) + "sapi.spvoice" + Chr$(34) + ")"
'    Print #1, "sapi.Speak message"
'    Close #1
'    Shell "wscript sound.vbs"
'End Sub

There you have it, another Do-It-Yourself Project!
1 person likes this

Dabz

Three golf clubs walk into a bar, the barman asked the pitching wedge what he would like to drink, the pitching wedge asks for a pint of lager. The barman then asks the putter what he would like to drink, the putter asks for a house red. Finally, the barman asks the last club what he wants, the last club replies 

"Nothing for me, I'm the driver"

*** Jazz hands ***

Dabz

I'll get my coat
Dell Inspiron 16 Plus 7630 Laptop - 16.0-inch 16:10 2.5K Display, Intel Core i7-13620H Processor, 16 DDR5 RAM, 1, NVIDIA GeForce RTX 4060 GDDR6 Graphics, Windows 11 Piss Flap.

Baggey

A horse walks into the bar to order a drink.

The barman ask's. Why the long face ::)
Running a PC that just Aint fast enough!? i7 4Ghz Quad core 32GB ram  2x1TB SSD and NVIDIA Quadro K1200 on 2 x HP Z24's . DID Technology stop! Or have we been assimulated!

Windows10, Parrot OS, Raspberry Pi Black Edition! , ZX Spectrum 48k, C64, Enterprise 128K, The SID chip. Im Misunderstood!

bplus

1 person likes this

Dabz

Why ya nar the pair of you's! :D

A dyslexic walks into a bra!

:P

Dabz
Dell Inspiron 16 Plus 7630 Laptop - 16.0-inch 16:10 2.5K Display, Intel Core i7-13620H Processor, 16 DDR5 RAM, 1, NVIDIA GeForce RTX 4060 GDDR6 Graphics, Windows 11 Piss Flap.

Steve Elliott

A hamburger walked into a bar and the bartender said, "I'm sorry, we don't serve food here."   :))
Win11 64Gb 12th Gen Intel i9 12900K 5.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 4.4Ghz Nvidia RTX 2050 8Gb
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.6GHz Nvidia GeForce GTX 1050 2Gb
Linux Mint 8Gb Celeron 2.6Ghz UHD Graphics600
macOS 64Gb M4 Max 16C GPU 40C
Spectrum Next 2Mb

bplus

#8
A programmer walks into a bar and ask for a drink. The bartender says I'll give you a drink if you tell me a programmer joke. And he says: a programmer walks into a bar and ask for a drink. The bartender says I'll give you a drink if you tell me a programmer joke. And he says: a programmer walks into a bar and ask for a drink. So he gives the guy a drink, so he gives the guy a drink, so he gives the guy a drink.

...(continued): The bartender gives him a puzzled look and says, "I didn't get it", to which the programmer responds "To understand recursion you must first understand recursion."

I love recursion maybe because it's no joke.
1 person likes this

dawlane

I tried the all whisky diet. I've lost three days already.

Steve Elliott

QuoteI tried the all whisky diet. I've lost three days already.

Classic Tommy Cooper lol.  :))

How many optometrists does it take to change a lightbulb? 1, or 2? 1, or 2?  :))
Win11 64Gb 12th Gen Intel i9 12900K 5.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 4.4Ghz Nvidia RTX 2050 8Gb
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.6GHz Nvidia GeForce GTX 1050 2Gb
Linux Mint 8Gb Celeron 2.6Ghz UHD Graphics600
macOS 64Gb M4 Max 16C GPU 40C
Spectrum Next 2Mb

dawlane

Yeah Tommy Cooper. If I remember. He was a member of the magic circle.

iWasAdam


Derron

Seems you know that pixar short movie about the birds (which I think was very funny and well done).

I guess it is you who dubbed the birds? :)


bye
Ron

Tinine

Past, present and future walk into a bar....it was tense


Bono and Edge walk into a bar and the bartender says "oh not U2 again"