β prev | next β
martito 2022-08-17 16:47:54
armanhrshaikh 2022-08-17 09:45:14
Done !
“Thank you. It works.” sounds better than a plain “Done !” IMHO π
moogiwaraa 2022-08-17 17:28:08
https://www.youtube.com/watch?v=GNyQxXw_oMQ
Coffee with Brian Kernighan – Computerphile –
YouTubeWelcoming back the legend that is Professor Brian Kernighan! Professor Brailsford invites Brian for coffee and a chat.
https://www.facebook.com/computerphile
This video was filmed and edited by Sean Riley.
Computer Science at the University of Nottingham: https://bit.ly/nottscomputer
Computerphile is a sister project to Brady Haran’s Numberphile. More at http://www.bradyharan.com
moogiwaraa 2022-08-17 17:29:47
Newer stuff coming in AWK π
armanhrshaikh 2022-08-17 18:06:17
martito 2022-08-17 16:47:54
“Thank you. It works.” sounds better than a plain “Done !” IMHO π
/dev/null is not there on termux so I managed
theoooooooooooooooooo 2022-08-17 18:07:58
armanhrshaikh 2022-08-17 18:06:17
/dev/null is not there on termux so I managed
/dev/null doesn’t exist in termux? i sure can access it here
armanhrshaikh 2022-08-17 18:08:33
Equivalent?
martito 2022-08-17 18:08:34
Things change fast, one day it does not exist then it does
Fibonakki 2022-08-17 18:12:15
martito 2022-08-17 18:08:34
Things change fast, one day it does not exist then it does
Don’t think that’s how it works. π
smol_mazunki 2022-08-17 18:26:34
Kueppo 2022-08-16 13:08:06
[(or test) doesn’t support decimals, use expr
expr “$vol” ‘>’ 0.50 >/dev/null && icon=”fafaz” || icon=”dda”
$(( “$vol” > “0.50” )) is posix btw
thecatvoid 2022-08-17 18:38:54
armanhrshaikh 2022-08-17 18:06:17
/dev/null is not there on termux so I managed
use 2>&-
neovoidtk 2022-08-17 18:39:34
smol_mazunki 2022-08-17 18:26:34
$(( “$vol” > “0.50” )) is posix btw
isnt it bash the (( ?
smol_mazunki 2022-08-17 18:44:30
neovoidtk 2022-08-17 18:39:34
isnt it bash the (( ?
$( … ) is to evaluate commands, $(( … )) is posix arithmetics
smol_mazunki 2022-08-17 18:45:04
[[ is bash test, (( is bash maths
neovoidtk 2022-08-17 18:45:28
ohhh
neovoidtk 2022-08-17 18:46:04
smol_mazunki 2022-08-17 18:44:30
$( … ) is to evaluate commands, $(( … )) is posix arithmetics
so i could do decimal arithmetics without using expr?
smol_mazunki 2022-08-17 18:46:20
neovoidtk 2022-08-17 18:46:04
so i could do decimal arithmetics without using expr?
yes
neovoidtk 2022-08-17 18:46:38
hmm gotta try it
moogiwaraa 2022-08-17 21:10:14
GitHub – Piturnah/gex: Git Explorer: cross-platform git workflow improvement tool inspired by Magit
https://github.com/Piturnah/gex
GitHub – Piturnah/gex: Git Explorer: cross-platform git workflow improvement tool inspired by Magit –
GitHubGit Explorer: cross-platform git workflow improvement tool inspired by Magit – GitHub – Piturnah/gex: Git Explorer: cross-platform git workflow improvement tool inspired by Magit
Kueppo 2022-08-17 22:26:33
smol_mazunki 2022-08-17 18:26:34
$(( “$vol” > “0.50” )) is posix btw
Wait, are floats supported? I don’t think so, as far as I know $(()) only work with integers and results after arithmetic evaluation are always truncated.
smol_mazunki 2022-08-17 23:14:35
Kueppo 2022-08-17 22:26:33
Wait, are floats supported? I don’t think so, as far as I know $(()) only work with integers and results after arithmetic evaluation are always truncated.
oh, you might be right
neovoidtk 2022-08-18 08:47:34
If I USB tether my phone with a PC and then share the same phoneβs WiFi with a laptop, does that mean they are in one network now?
raytracer9 2022-08-18 08:51:08
neovoidtk 2022-08-18 08:47:34
If I USB tether my phone with a PC and then share the same phoneβs WiFi with a laptop, does that mean they are in one network now?
You can try it yourself and tell by checking the ip address and network prefix for both interfaces on your pc
neovoidtk 2022-08-18 08:57:40
raytracer9 2022-08-18 08:51:08
You can try it yourself and tell by checking the ip address and network prefix for both interfaces on your pc
i checked both showing similar ip (only last digit is different) and subnet but unable to ping
neovoidtk 2022-08-18 09:01:35
these are the ips
PC: 192.168.32.70/24 192.168.32.255
Laptop: 192.168.33.70/24 192.168.33.255
raytracer9 2022-08-18 09:04:27
neovoidtk 2022-08-18 09:01:35
these are the ips
PC: 192.168.32.70/24 192.168.32.255
Laptop: 192.168.33.70/24 192.168.33.255
For network prefix /24, host address portion (that is 255 here) shows that it’s a broadcast address
raytracer9 2022-08-18 09:05:30
What are you trying to ping (from and to) ?
neovoidtk 2022-08-18 09:05:45
raytracer9 2022-08-18 09:05:30
What are you trying to ping (from and to) ?
i trying to ping one other
raytracer9 2022-08-18 09:06:05
neovoidtk 2022-08-18 09:01:35
these are the ips
PC: 192.168.32.70/24 192.168.32.255
Laptop: 192.168.33.70/24 192.168.33.255
Here, pc and laptop are in seperate network
neovoidtk 2022-08-18 09:06:34
how can i make them come under one network ?
raytracer9 2022-08-18 09:10:28
The address are provided via dhcp and I don’t know of anyway that you can change the dhcp server setting in android (like setting a range and stuff, not even heard of this in custom ROMs too). If someone knows this, then they can help
marcotrosi 2022-08-18 22:12:55
https://github.com/smmr-software/mabel
GitHub – smmr-software/mabel: A fancy BitTorrent client for the terminal –
GitHubA fancy BitTorrent client for the terminal. Contribute to smmr-software/mabel development by creating an account on GitHub.
mendel7 2022-08-18 22:59:23
https://github.com/dylanaraps/torque
GitHub – dylanaraps/torque: π A TUI client for transmission written in pure bash. –
GitHubπ A TUI client for transmission written in pure bash. – GitHub – dylanaraps/torque: π A TUI client for transmission written in pure bash.
mendel7 2022-08-18 22:59:43
there’s this too for something more simplistic
marcotrosi 2022-08-18 23:22:09
https://github.com/icholy/ttygif
GitHub – icholy/ttygif: Convert terminal recordings to animated gifs –
GitHubConvert terminal recordings to animated gifs. Contribute to icholy/ttygif development by creating an account on GitHub.
marcotrosi 2022-08-18 23:23:40
https://github.com/lukechilds/gifgen
GitHub – lukechilds/gifgen: Simple high quality GIF encoding –
GitHubSimple high quality GIF encoding. Contribute to lukechilds/gifgen development by creating an account on GitHub.
β prev | next β