Search Results

Search: Posts Made By: wisecracker
Forum: What is on Your Mind? 1 Week Ago
581
Posted By wisecracker
Hi Neo... Will we still need our old user...
Hi Neo...

Will we still need our old user and password for this site, because if it is read only then they are not really required.


Barry...
Forum: OS X (Apple) 3 Weeks Ago
663
Posted By wisecracker
A very basic Haar Discrete Wavelet Transform for Python 1.4.0 to 3.8.0...
Hi guys and gals...
(Apologies for any typos, etc...)

Another code snippet mainly for the AMIGA but works from Python 1.4.0 to 3.8.0 on just about any platform, hence the first upload here. I...
641
Posted By wisecracker
The usual questions: Which OS are you...
The usual questions:


Which OS are you using?
What are your preferred tools/utilities/shells/languages?


And most of all what have you tried?
Forum: Programming 3 Weeks Ago
345
Posted By wisecracker
If you are using one line it HAS to be: ...
If you are using one line it HAS to be:
MYURL=str(pattern.search(script.text).group(0)); MYURL=str.replace(MYURL, '\u002D', '-'); print(MYURL)
Forum: Programming 3 Weeks Ago
345
Posted By wisecracker
Hi bob123... Which version of python 3.x.x are...
Hi bob123...
Which version of python 3.x.x are you using, OS, and machine...

--- Post updated at 11:41 PM ---

I hope this does not attach itself to the previous...
It looks like you are using...
Forum: Programming 3 Weeks Ago
345
Posted By wisecracker
Hi bob123... I don't use BeautifulSoup but...
Hi bob123...

I don't use BeautifulSoup but you could try putting it into a variable, untested:
MYURL=str(pattern.search(script.text).group(0))
print(MYURL)
Forum: What is on Your Mind? 02-20-2020
750
Posted By wisecracker
Toshiba’s Optimization Algorithm Sets Speed Record for Solving Combinatorial Problems.
Enjoy...

'https://spectrum.ieee.org/tech-talk/computing/software/toshiba--optimization-algorithm-speed-record-combinatorial-problems'

Copy and paste URL less single quotes...
956
Posted By wisecracker
Hi jeo_fb... Assuming you are using...
Hi jeo_fb...

Assuming you are using Longitude and Latitude WRT Earth as a __sphere__ then it is not possible to create a rectangle as Euclidean geometry does not apply.

IF, however you just...
Forum: What is on Your Mind? 02-13-2020
1,334
Posted By wisecracker
Hi Scrutinizer... I must have been asleep as...
Hi Scrutinizer...

I must have been asleep as I have only just seen this...

Congrats matey, you helped me on my way to the *NIX shell environment when I first joined and started AudioScope.sh,...
Forum: What is on Your Mind? 02-07-2020
1,144
Posted By wisecracker
The worlds first classical Chinese program language.
WOW, just WOW...

It would be mighty interesting to see shell code translated to this. Kudos to the young guy who succeeded...
...
826
Posted By wisecracker
Hi Michele31416... Thanks for updating...
Hi Michele31416...


Thanks for updating your post with the answer...
4,048
Posted By wisecracker
Hi Ralph.. Is this what you are trying to do? ...
Hi Ralph..
Is this what you are trying to do?
#!/bin/bash
# Linux Mint 19, default bash terminal.
clear
echo ""
echo ""
printf "%b" "This is a test line.\033[s\n"
sleep 2
echo ""
echo ""...
4,048
Posted By wisecracker
I did quote early on in this thread that some...
I did quote early on in this thread that some terminals do not respond correctly to some terminal escape codes. Some of those escape codes will not work at all.

So in the first part the outside...
4,048
Posted By wisecracker
Hi Ralph... Take a look at the two command...
Hi Ralph...

Take a look at the two command below.
The first will give you your terminal size in lines, columns.
IF your terminal can do it, (xterm for example), the second will auto adjust it...
4,048
Posted By wisecracker
An example clearing the screen/window: while...
An example clearing the screen/window:
while true
do
printf "\033[2J\033[H\033[12;30fSome prompt: "
read -r text
doneEDIT:

You can omit the \033[H if you wish but some...
4,048
Posted By wisecracker
Hi Ralph... Some terminals don't always...
Hi Ralph...

Some terminals don't always follow terminal escape codes to the _letter_.
You could try and force the line prompt, force the cursor to the correct position and force clearing after...
Forum: Programming 01-31-2020
2,063
Posted By wisecracker
Way cool... Looking at your RSSI values they...
Way cool...

Looking at your RSSI values they are all inside the """blockbusting""", (strong), area.
I am used to working below -120dBm on BWs less the 3KHz wide, often down -130dBm on SSB for...
Forum: Programming 01-31-2020
2,063
Posted By wisecracker
Hi Neo... 25dBm for WIFI? That's around...
Hi Neo...

25dBm for WIFI? That's around 300mW from the PA, (Power Amplifier).
I thought the limit inside the ISM band(s) was 20dBm, 100mW for low powered gear.
However...
That antenna IS...
Forum: OS X (Apple) 01-30-2020
1,123
Posted By wisecracker
My original Python Campimeter code, originall for OSX 10.7.5.
Hi all...


This was the original code I created to expand a terminal on the fly using Python 2.6.x to the now 3.8.0 without modification under OSX 10.7.5.
I had no idea at the time that the MBP...
Forum: Programming 01-30-2020
1,356
Posted By wisecracker
Ha ha, thanks and corrected post #1... Barry...
Ha ha, thanks and corrected post #1...
Barry...
Forum: OS X (Apple) 01-30-2020
862
Posted By wisecracker
Thanks for the heads up Neo... Just updated...
Thanks for the heads up Neo...

Just updated my iMac to OSX 10.15.3 but not touched my MBP and left it at the final Mojave state.

Me too...
Forum: Programming 01-29-2020
1,356
Posted By wisecracker
Campimeter.sh for macOS
Hi Neo...
This is me too except for the attention span. As soon as I find a solution to something I let others better it.
And as for doing something different I have done some bizarre stuff on...
Forum: Programming 01-28-2020
2,319
Posted By wisecracker
Hi Neo... I was thinking about this type of...
Hi Neo...
I was thinking about this type of event but as I don't have the HW and code then I couldn't comment for certain.
Just one thing though, ensure whichever I/O pin you decide to use, make...
2,858
Posted By wisecracker
Hi nez... I do not like 'eval' but here goes...
Hi nez...
I do not like 'eval' but here goes and is also 'dash' compliant...
Last login: Tue Jan 28 14:17:35 on ttys000
AMIGA:amiga~> dash
AMIGA:\u\w> path="/var/talend/nat/cdc"
AMIGA:\u\w>...
2,858
Posted By wisecracker
Hi Ravinder... A fun approach but fully...
Hi Ravinder...

A fun approach but fully 'dash' compliant:
Last login: Tue Jan 28 14:17:35 on ttys000
AMIGA:amiga~> dash
AMIGA:\u\w> path="/var/talend/nat/cdc"
AMIGA:\u\w>...
Showing results 1 to 25 of 500

 

Featured Tech Videos

All times are GMT -4. The time now is 11:15 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy