Comments (5)
See also 3b9b5e7
from rtorrent-ps.
I create 2 new methods that should work like math.*
commands (accepting both string and number but not list), what shall I call the group?
data.*
or chars.*
or ... ?
- exposing
u8_chop
:chars.chop
(accepts max 3 params)print=(chars.chop, "1234567", 3, 1)
->12…
chars.pad
(accepts max 4 param)print=(chars.pad, "123", 5, "0", 1)
->00123
These can be chained together as well:
print=(chars.pad, (chars.chop, "1234567", 3), 5, "x")
->123xx
This group suppose to deal with "strings" and do some manipulation on them, but it behaves differently than the string.*
group.
They can be used to display something on the UI or during logging (log.execute
).
Thanks
Edit: I picked chars.*
from rtorrent-ps.
Here's the usage examples for the chars.*
group, I extended your idea of logging.
Thanks for this as well!
from rtorrent-ps.
A string is a list of chars, I don't see the need for a new group name. That they implicitly convert values is not enough ‘different’ for me. Things are complicated enough, and adding a stink of PHP doesn't help. ;)
from rtorrent-ps.
:D :D :D You can rename them in ps, and I will rename it in ch if the setup project will reach 1.0 (I want to do couple of nontrivial things until then). That's why I asked for your opinion back then. It matters for me!
from rtorrent-ps.
Related Issues (20)
- DHT unusable on armhf, need help recompiling HOT 2
- Typo in xmlrpc-c-advanced-2954/common.mk
- Latest, unable to build centos 6.5. HOT 4
- Deleting files, or make large changes makes ruTorrent/rTorrent time out HOT 1
- Bad method Key Error
- Weird issue - seeds "frozen" or not killed based on slots.. not re-added to the queue HOT 2
- rtorrent-ps with pyroscope... HOT 1
- Read past initial payload after incoming encrypted handshake. HOT 1
- See schedules already set HOT 1
- Bug in libtorrent (rakshasa) <0.9.8 HOT 1
- Buildscript does not work on arch linux HOT 2
- rtorrent status in terminal window's title
- Is this still in maintenance? HOT 1
- Feature: Add load.import command
- xmplrpc-c does not build on Debian Bullseye aarch64 (via Docker)
- bintray binaries unavailable HOT 2
- Migrate from rtorrent to rtorrent-ps
- Specifying `--json -o active` along with `--start` generates a python dict related error
- Will there ever be new binaries? HOT 1
- Unable to build rtorrent-ps on ODROID-HC4 (Debian 10) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtorrent-ps.