Search found 829 matches

by Baldrick
Fri Feb 04, 2022 1:10 pm
Forum: Off Topic
Topic: running win apps in linuex? Wine? Does it works well?
Replies: 9
Views: 3153

Re: running win apps in linuex? Wine? Does it works well?

Just a FWIW.
I have been using wine with Ubuntu for many years for my CCTV clients ( Synology Surveillance Station) and has always worked quite well. wine 6.0.2 was as close to prefect as I could have ever asked for. But after all these years, they bring out wine 7.0 and it has broken my CCTV ...
by Baldrick
Mon Oct 11, 2021 10:35 am
Forum: General Discussion
Topic: Wondering if anybody might be able to point me to a way with PB to Encode / Decode Tones
Replies: 8
Views: 4300

Re: Wondering if anybody might be able to point me to a way with PB to Encode / Decode Tones



I used DTMF with skypeIN so I could do a few things from the phone with button pushes and activate voice recognition for more specific things. It only became a problem when the telco doing the actual crossover from landline to voip literally clipped out the DTMF tones. I surmised it was to stop ...
by Baldrick
Sun Oct 10, 2021 12:09 pm
Forum: General Discussion
Topic: Wondering if anybody might be able to point me to a way with PB to Encode / Decode Tones
Replies: 8
Views: 4300

Re: Wondering if anybody might be able to point me to a way with PB to Encode / Decode Tones

@ kenmo,
Thanks for your input. It is really the sound creation / encoding and decoding that has me a little stumped atm. The mapping and everything else should be relatively easy even for a bloke as rusty as me.
@Idle, I will take a good look at your DTMF code as I was actually thinking along those ...
by Baldrick
Sat Oct 09, 2021 1:49 pm
Forum: General Discussion
Topic: Wondering if anybody might be able to point me to a way with PB to Encode / Decode Tones
Replies: 8
Views: 4300

Wondering if anybody might be able to point me to a way with PB to Encode / Decode Tones

Hi all,
Long long time since I have fired up PB and am now so far away from coding, I feel like a complete beginner again..... :(
I am thinking of starting into a little project to programmatically create sound tones and decode them again.
The idea pretty much being able to take say the ansii ...
by Baldrick
Thu Apr 15, 2021 1:30 pm
Forum: Linux
Topic: ubuntu 20.04 - 4 x dependencies no longer in repository
Replies: 2
Views: 4652

Re: ubuntu 20.04 - 4 x dependencies no longer in repository

Thanks Mk-soft.
Seems to have been quite a few of these with the 20.04 iteration.
A lot them do seem to have work arounds that I have run into so far.
E.g. python-is-python3
No doubt it will all fall into place over time and as I say, I do very little coding these days, so am in no rush.
by Baldrick
Wed Apr 14, 2021 1:08 pm
Forum: Linux
Topic: ubuntu 20.04 - 4 x dependencies no longer in repository
Replies: 2
Views: 4652

ubuntu 20.04 - 4 x dependencies no longer in repository

Hi All,
Been years since I have posted on these forums......
Just updated my laptop with a nice little nvme drive and installed dual boot win10 and Ubuntu 20.04.
I have PB 5.73 LTS (Linux - x64) installed now and all seems to be working fine. I did encounter from the install check script 4 x ...
by Baldrick
Fri Nov 13, 2020 2:28 pm
Forum: Off Topic
Topic: Raspberry Pi now Runs Ubuntu !
Replies: 3
Views: 2598

Re: Raspberry Pi now Runs Ubuntu !

Dunno much about rasberry pi, but I recently bought 1 of these. Currently have it running ubuntu 18.04 alongside win10.
Never use w10 and in fact kinda got my calculations a bit wrong re-partitioning the emmc drive on it which leaves me only about 2GB for W10 data...... (yeah ok, fixable, but why ...
by Baldrick
Mon Apr 17, 2017 3:52 pm
Forum: Linux
Topic: Serial port functions require raised priveleges
Replies: 3
Views: 3098

Re: Serial port functions require raised priveleges

Many thanks for this tip Oma! :D

Code: Select all

sudo chmod o+rw /dev/ttyUSB0
has worked, so again thank you.
Much I have to learn about Linux, especially now that I very rarely ever do any programming these years.
by Baldrick
Mon Apr 17, 2017 9:21 am
Forum: Linux
Topic: 5.22LTS & 5.44LTS are there access privilege differences
Replies: 0
Views: 1750

5.22LTS & 5.44LTS are there access privilege differences

As the topic says, I am a little confused as to why I need "su" privileges to access a serial port on /dev/ttyUSB0 with my machine running PB 5.44LTS, but on my other machine running 5.22LTS I can access the serial device no problem at all from my normal user (administrator) priveleges.
Both ...
by Baldrick
Sat Apr 15, 2017 1:03 am
Forum: Linux
Topic: Serial port functions require raised priveleges
Replies: 3
Views: 3098

Re: Serial port functions require raised priveleges

It's ok, just worked out I need to run purebasic its'self as sudo... :oops:

Code: Select all

sudo /home/baldrick/purebasic/compilers/purebasic
by Baldrick
Sat Apr 15, 2017 12:49 am
Forum: Linux
Topic: Serial port functions require raised priveleges
Replies: 3
Views: 3098

Serial port functions require raised priveleges

Hi, been a long long time since I have done any programming at all now, so a stupid question........ :oops:
I am wanting to do some serial port work but find in Linux it appears I need sudo access or else the device access is just simply denied.
How do I do that from my source so i can run in debug ...
by Baldrick
Tue Feb 09, 2016 11:53 am
Forum: General Discussion
Topic: subnetting aka firing up PB after a long break
Replies: 10
Views: 4694

Re: subnetting aka firing up PB after a long break

hi again Michael,
Took me a little bit to work out why you had the anding in your procedure "&FFFFFFFF", then it dawned on me it was because your were passing the value into it as a standard PB signed long 32 bit where the Bin function takes & returns as a quad, so feeding a long with a negative ...
by Baldrick
Mon Feb 08, 2016 8:26 am
Forum: General Discussion
Topic: subnetting aka firing up PB after a long break
Replies: 10
Views: 4694

Re: subnetting aka firing up PB after a long break

Excellent suggestion Michael.
I have ended up using a "." to make it a sort of Dotted Binary Notation which matches the ddn & it really does make it easier to read for these guys. nice pick up!
I will update the code in the 1st post once I have tested on windows. :)
by Baldrick
Sun Feb 07, 2016 8:13 am
Forum: General Discussion
Topic: subnetting aka firing up PB after a long break
Replies: 10
Views: 4694

Re: subnetting aka firing up PB after a long break

Thanks michael,
I will look at doing that.
Your little sample codes are actually quite similar to my way using the bit shifting, etc & when I get back up to speed I might redo in that format as I just like that way much better personally. I was planning on doing it this way, but it is just ...
by Baldrick
Sat Feb 06, 2016 12:11 pm
Forum: General Discussion
Topic: subnetting aka firing up PB after a long break
Replies: 10
Views: 4694

Re: subnetting aka firing up PB after a long break

Thanks huys, I have actually picked up on what it was. I missed a parameter, so by changing: net2$=RemoveString(netadd$,"0",#PB_String_NoCase,netlength) to net2$=RemoveString(netadd$,"0",#PB_String_NoCase,netlength,hostlength) all fixed.
still seems odd to me though as the missed parameter is ...